1 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3 * gst/gst.c: (ensure_current_registry_forking):
4 Use a pipe pair to receive status results from the forked child, and
5 ignore the result from waitpid. Fixes #355499
7 2006-10-02 Wim Taymans <wim@fluendo.com>
9 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10 (gst_ghost_pad_suite):
13 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
16 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
18 2006-10-02 Edward Hervey <edward@fluendo.com>
20 * docs/design/part-block.txt:
21 Further explain the use of flushing on blocked pads.
22 * docs/gst/gstreamer-sections.txt:
23 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
26 Added new GstPadFlag : GST_PAD_BLOCKING.
27 Adds the notion of pads really blocking, which enables to properly
28 handle FLUSH_START/FLUSH_STOP events on blocked pads.
30 API: gst_pad_is_blocking()
31 API: GST_PAD_IS_BLOCKING() macro
32 API: GST_PAD_BLOCKING GstPadFlag
34 2006-10-02 Wim Taymans <wim@fluendo.com>
36 Patch by: mrcgran <mrc.gran at gmail dot com>
38 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
39 Filter the proxied caps against the padtemplate if we have one.
41 * gst/gstquery.c: (gst_query_new_segment):
42 Add include for gstinfo.h so that compilation with
43 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
45 2006-10-02 Wim Taymans <wim@fluendo.com>
47 Patch by: Alessandro Decina <alessandro at nnva org>
49 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
50 (gst_file_sink_set_location), (gst_file_sink_open_file),
51 (gst_file_sink_close_file), (gst_file_sink_event),
52 (gst_file_sink_render):
53 Set file to NULL when closing filesink so that we can set a new filename
54 in READY. Fixes #358613.
56 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
58 Patch by: Alessandro Decina <alessandro at nnva org>
60 * gst/gstevent.c: (_gst_event_copy):
61 Fix gst_mini_object_make_writable() and gst_event_copy() for events
62 with event structures by setting the parent refcount address of the
63 copied structure to the address of the refcount member of the newly
64 copied event rather than the address of the refcount member of the
65 original event. Fixes #358737.
67 * tests/check/gst/gstevent.c: (GST_START_TEST):
68 Unit test for the above.
70 2006-09-29 Stefan Kost <ensonic@users.sf.net>
72 * docs/design/Makefile.am:
75 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
77 * tests/check/libs/controller.c: (GST_START_TEST),
78 (gst_controller_suite):
79 Add test for the previous fix; add some more tests
80 for correct refcounting behaviour; fix a few leaks
81 in test cases; call gst_controller_init() at start
84 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
86 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
87 (gst_controller_set_from_list):
88 Don't g_return_val_if_fail() on timed values with invalid timestamps
89 inside a critical section without unlocking the mutex. Spotted by
90 René Stadler. (#357617)
91 Also, fix up refcounting properly: when returning an existing
92 controller, we should increase the reference only once and not
93 once per property and when trying to control a property again
94 we should also increase the refcount.
96 2006-09-29 Wim Taymans <wim@fluendo.com>
98 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
99 * libs/gst/net/gstnettimeprovider.c:
100 (gst_net_time_provider_thread):
101 Stop reading commands when EOF as well.
103 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
104 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
105 * plugins/elements/gstidentity.c: (gst_identity_class_init):
106 Unify description of the dump property.
108 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
110 * tests/examples/manual/.cvsignore:
111 OK, so it's actually cvsignore that needs changing. Stop laughing.
113 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
115 * tests/examples/manual/Makefile.am:
116 Gah, declare vars *before* using them
118 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
120 * gst/gst.c: (init_pre), (scan_and_update_registry),
121 (ensure_current_registry_nonforking),
122 (ensure_current_registry_forking), (ensure_current_registry),
123 (init_post), (gst_debug_help), (gst_deinit):
125 * gst/gstregistry.c: (gst_registry_finalize),
126 (gst_registry_remove_features_for_plugin_unlocked),
127 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
128 (gst_registry_scan_path),
129 (_priv_gst_registry_remove_cache_plugins),
130 (_priv_gst_registry_cleanup):
132 Re-commit the registry changes, along with an extra fix:
133 When a cached plugin is encountered at a different file path,
134 update the stored path in the registry cache so that the parent
135 process knows where it actually is now when it re-reads the registry
136 cache. Fixes the thing that broke distcheck with the previous commit.
138 * tests/check/Makefile.am:
139 Clean up files named 'core' too when running make clean.
141 * tests/examples/manual/Makefile.am:
142 Set up a registry path for running these tests, and clean it properly
145 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
148 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
149 want gmodule-no-export-2.0.pc instead so that we don't drag in
150 --export-dynamic on every project that links to GStreamer.
152 Also, make our export regex only match the start of symbols, rather
153 than any symbol that contains '_gst' somewhere.
155 * libs/gst/check/Makefile.am:
156 The libgstcheck we build does however need export-dynamic, as it
157 produces some symbols that don't match our _gst... style regex.
160 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
162 * gst/gst.c: (init_pre), (scan_and_update_registry),
163 (ensure_current_registry_nonforking),
164 (ensure_current_registry_forking), (ensure_current_registry),
165 (init_post), (gst_debug_help), (gst_deinit):
167 * gst/gstregistry.c: (gst_registry_finalize),
168 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
169 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
170 (_gst_registry_cleanup):
172 Revert previous change until I figure out why it breaks distcheck.
174 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
176 * gst/gst.c: (init_pre), (scan_and_update_registry),
177 (ensure_current_registry_nonforking),
178 (ensure_current_registry_forking), (ensure_current_registry),
179 (init_post), (gst_debug_help), (gst_deinit):
181 Make init_pre and init_post take the full complement of GOptionFunc
182 args so they can return useful GErrors. Make the registry updating
185 Call _priv_gst_registry_remove_cache_plugins after scanning files to
186 ensure that the registry we're about to write out doesn't contain
187 stale information about old-deleted plugin files.
189 Make _priv_gst_registry_remove_cache_plugins return a boolean so
190 that deletion of plugin files is considered a registry change.
193 * gst/gstregistry.c: (gst_registry_finalize),
194 (gst_registry_remove_features_for_plugin_unlocked),
195 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
196 (gst_registry_scan_path),
197 (_priv_gst_registry_remove_cache_plugins),
198 (_priv_gst_registry_cleanup):
200 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
201 by adding _priv prefix, so that they won't appear in the global
202 symbol table. They still do atm though because of #318031. Move the
203 prototypes to gst_private.h
205 When removing a plugin, remove all features for that plugin too.
208 2006-09-27 Wim Taymans <wim@fluendo.com>
210 * docs/random/moving-plugins:
211 Make it clear that the "compiled-in descriptions" really mean
214 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
215 (gst_base_sink_wait_preroll):
218 * docs/libs/gstreamer-libs-sections.txt:
219 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
220 (gst_base_src_get_range), (gst_base_src_activate_push):
221 * libs/gst/base/gstbasesrc.h:
222 Added function to block while waiting for PLAYING, this function
223 is used by live sources that block on the clock.
224 API: gst_base_src_wait_playing()
226 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
228 Patch by: Peter Kjellerstedt <pkj at axis com>
231 gst-element-check.m4 is generated and should therefore be
232 copied from the build dir rather than the source dir (#357593).
233 'make distcheck' hasn't noticed this because we were disting
234 the file as well, so stop doing that.
236 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
238 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
239 Add some tests for gst_caps_intersect().
241 * tools/gst-launch.c: (event_loop):
242 Print all buffering percentages we get, even the 100% one.
244 2006-09-26 Wim Taymans <wim@fluendo.com>
246 * tools/gst-inspect.c: (print_element_properties_info),
248 Fix printing of flags to match the look of enums.
250 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
252 * gst/gstelementfactory.c:
253 Fix typo in docs blurb.
255 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
257 * gst/gsturi.c: (search_by_entry):
258 Don't assert/crash here if a uri handler doesn't return any
259 supported protocols. The list of protocols could be generated
260 dynamically at runtime or at plugin registration, and an error
261 in the underlying library shouldn't be fatal (#353301).
263 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
266 Fix warning if HAVE_PRINTF_EXTENSION is undefined
267 (spotted by Peter Kjellerstedt).
269 2006-09-23 Wim Taymans <wim@fluendo.com>
271 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
273 * libs/gst/base/gstbasesrc.c:
274 (gst_base_src_default_check_get_range), (gst_base_src_start),
275 (gst_base_src_activate_push), (gst_base_src_activate_pull),
276 (gst_base_src_change_state):
277 Match _start/_stop calls in the activate functions. Remove redundant
278 _stop call from the state change function. Fixes #356910.
279 Turn failure DEBUG into ERROR.
281 2006-09-22 Wim Taymans <wim@fluendo.com>
283 * docs/design/part-buffering.txt:
284 * gst/gstmessage.c: (gst_message_new_buffering),
285 (gst_message_parse_buffering):
286 Update docs about buffering.
288 * docs/design/part-trickmodes.txt:
291 2006-09-22 Stefan Kost <ensonic@users.sf.net>
293 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
294 (gst_controller_new_list):
295 Ref instances when returning them again (fixes #357180)
297 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
299 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
300 Don't forget to release proxy lock when there's an error.
302 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
305 Add extra initialisers for Caps things, to fix some plugin warnings
308 2006-09-18 Wim Taymans <wim@fluendo.com>
310 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
311 Also set template on the internal pad so that a getcaps from the
312 target pad returns the template caps.
314 2006-09-18 Wim Taymans <wim@fluendo.com>
316 * gst/gstelement.c: (gst_element_post_message),
317 (gst_element_dispose):
318 Use _DEBUG_OBJECT some more.
320 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
323 * tools/gst-launch.c: (main):
324 If the toplevel element is not a GstPipeline, it must be put in a
325 pipeline so that a bus and clock is selected.
327 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
329 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
330 JITTER, RATE, and LATENCY query should be handled by the
331 default case and not by the CONVERT query code.
333 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
335 * gst/gstformat.c: (gst_format_register):
336 Fix locking order (must take lock before using n_values).
338 * gst/gstvalue.c: (gst_value_serialize_enum),
339 (gst_value_deserialize_enum_iter_cmp),
340 (gst_value_deserialize_enum):
341 Fix serialisation/deserialisation of custom registered GstFormats.
343 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
344 Unit test for custom format serialisation/deserialisation.
346 2006-09-17 Stefan Kost <ensonic@users.sf.net>
348 * docs/pwg/building-boiler.xml:
349 * plugins/elements/gstcapsfilter.c:
350 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
353 2006-09-16 Edward Hervey <edward@fluendo.com>
355 * libs/gst/base/gstbasetransform.c:
356 (gst_base_transform_buffer_alloc):
357 Check if requested caps are the same as the sinks caps IF
358 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
360 This fixes the renegotiation issues stated in #352827.
362 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
365 * docs/manual/advanced-autoplugging.xml:
366 * tests/examples/Makefile.am:
367 * tests/examples/manual/.cvsignore:
368 * tests/examples/manual/Makefile.am:
369 * tests/examples/manual/extract.pl:
370 Extract the manual examples again like we used to do.
373 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
375 * win32/common/config.h:
378 2006-09-16 Stefan Kost <ensonic@users.sf.net>
381 Documents how to receive errors.
383 2006-09-15 Wim Taymans <wim@fluendo.com>
385 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
386 (event_loop), (main):
387 Added some comments here and there.
388 Post an application message when an interrupt is caught instead of doing
389 an uncontrolled state change.
390 Clean up the event loop.
391 Handle buffering messages, pause/resume the pipeline.
392 Make shutdown because of an interrupt more reliable.
394 2006-09-15 Wim Taymans <wim@fluendo.com>
396 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
397 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
398 (gst_base_sink_preroll_object):
399 Make sure that our internal state is correct when we commit our state
400 asynchronously. This solves a race where a state change to PLAYING
401 could cause the sink to remain blocked in preroll in some situations.
403 2006-09-15 Wim Taymans <wim@fluendo.com>
405 * tools/gst-inspect.c: (print_element_properties_info),
407 List flags as hex so it's easier to deal with.
409 2006-09-15 Wim Taymans <wim@fluendo.com>
411 * docs/libs/gstreamer-libs-sections.txt:
412 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
413 (gst_base_sink_do_sync):
414 * libs/gst/base/gstbasesink.h:
415 Expose logic to wait for preroll so that subclasses such as audiosink
416 can also use this method.
417 API: gst_base_sink_wait_preroll()
419 2006-09-15 Wim Taymans <wim@fluendo.com>
421 * gst/gstobject.c: (gst_object_set_parent):
422 * gst/gstpipeline.c: (do_pipeline_seek):
423 Small cleanups in docs and code.
425 * gst/gstsegment.c: (gst_segment_clip):
426 * tests/check/gst/gstsegment.c: (GST_START_TEST):
427 if stop == start and start is in the segment, no clipping should be
428 done. Also add a test for this.
430 2006-09-15 Wim Taymans <wim@fluendo.com>
432 * docs/design/part-buffering.txt:
433 * docs/gst/gstreamer-sections.txt:
434 * gst/gstmessage.c: (gst_message_new_buffering),
435 (gst_message_parse_buffering):
437 Added methods to create and parse BUFFERING messages.
438 Added preliminary docs about buffering.
439 API: gst_message_new_buffering
440 API: gst_message_parse_buffering
442 2006-09-06 Wim Taymans <wim@fluendo.com>
445 Update documentation.
447 * gst/gstelement.c: (gst_element_class_init),
448 (gst_element_release_request_pad), (gst_element_set_clock),
449 (gst_element_get_index), (gst_element_add_pad),
450 (gst_element_remove_pad), (gst_element_get_random_pad),
451 (gst_element_send_event), (gst_element_get_query_types),
452 (gst_element_query), (gst_element_post_message),
453 (gst_element_message_full), (gst_element_continue_state),
454 (gst_element_lost_state), (gst_element_save_thyself),
455 (gst_element_restore_thyself):
456 Documentation updates.
457 Rename last bit of the new-pad -> pad-added signal rename.
458 Fix the case where an element query would only work if the source
460 Avoid some useless type checking in message handling.
465 Documentation updates.
467 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
469 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
470 add an INFO line for when we actually update the fd
472 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
477 === release 0.10.10 ===
479 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
482 releasing 0.10.10, "Pais"
484 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
486 * docs/manual/advanced-position.xml:
487 Fix typo in sample code.
489 2006-09-05 Wim Taymans <wim@fluendo.com>
491 * libs/gst/net/gstnetclientclock.c: (inet_aton),
492 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
493 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
494 * libs/gst/net/gstnetclientclock.h:
495 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
496 * libs/gst/net/gstnettimepacket.h:
497 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
498 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
499 (gst_net_time_provider_thread), (gst_net_time_provider_new):
500 * libs/gst/net/gstnettimeprovider.h:
501 Make stuff compile on windows. Fixes #345295.
503 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
505 * gst/gst.c: (ensure_current_registry_forking):
506 Print better details when child was terminated by signal.
508 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
510 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
511 Print a warning rather than g_assert() if a plugin feature
512 is a URI handler but returns no protocols (#353976).
514 2006-09-02 Stefan Kost <ensonic@users.sf.net>
516 * docs/random/moving-plugins:
519 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
521 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
522 Fix locking order, handle NULL function values properly.
527 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
528 Initialise variable before using it and fix debug statement to
529 print the address of the function rather than the address of the
530 variable on the stack holding the address of the function.
532 2006-09-01 Wim Taymans <wim@fluendo.com>
534 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
535 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
536 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
537 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
538 (gst_ghost_pad_parent_unset),
539 (gst_ghost_pad_internal_do_activate_push),
540 (gst_ghost_pad_internal_do_activate_pull),
541 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
542 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
543 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
544 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
545 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
546 (gst_ghost_pad_new_no_target_from_template),
547 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
549 Avoid needless typechecking in macros.
550 Since the internal pad is always present and never changes, there is
551 no need to locking or ref when retrieving it.
552 Improve debugging a bit.
553 Handle link errors when setting the target. Fixes #341029.
555 2006-09-01 Wim Taymans <wim@fluendo.com>
557 * docs/libs/gstreamer-libs-sections.txt:
558 * docs/plugins/gstreamer-plugins-sections.txt:
561 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
562 (gst_collect_pads_event):
563 * libs/gst/base/gstcollectpads.h:
564 Documentation updates.
565 Free queued buffer when removing a pad.
567 2006-08-31 Michael Smith <msmith@fluendo.com>
569 * gst/gstutils.c: (gst_element_link_pads),
570 (gst_element_link_pads_filtered):
571 Ensure that we set a capsfilter to NULL if we failed to link it
572 when doing filtered linking, to avoid criticals.
574 No need to check for unreffing srcpad, which is explicly NULLed
575 above (a trivial code cleanup).
577 2006-08-31 Wim Taymans <wim@fluendo.com>
579 * docs/design/part-gstghostpad.txt:
580 Update ascii art in documentation.
582 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
583 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
584 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
585 (gst_ghost_pad_internal_do_activate_push),
586 (gst_ghost_pad_internal_do_activate_pull),
587 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
588 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
589 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
590 (gst_ghost_pad_set_target):
591 Small cleanups and leak fixes.
592 Remove some checks now that the internal pad is never NULL.
593 Fix the case where linking pads without a target would create nasty
594 criticals. Fixes #341029.
595 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
596 value of _set_target().
598 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
599 (gst_ghost_pad_suite):
600 Some more tests for creating and linking untargeted ghostpads.
602 2006-08-31 Edward Hervey <edward@fluendo.com>
604 * docs/gst/gstreamer-sections.txt:
605 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
606 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
607 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
608 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
609 (gst_ghost_pad_new_from_template),
610 (gst_ghost_pad_new_no_target_from_template):
612 Refactored *_new() functions.
613 Templates are now used as a g_object_new() parameter.
614 Use template in _do_getcaps() if we don't have a target.
615 Small documentation cleanups.
616 Added two new constructors:
617 gst_ghost_pad_new_from_template()
618 gst_ghost_pad_new_no_target_from_template()
619 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
620 (gst_ghost_pad_suite):
621 Added tests for new ghostpad instanciation functions.
623 API additions: gst_ghost_pad_new_from_template,
624 gst_ghost_pad_new_no_target_from_template
626 2006-08-30 Stefan Kost <ensonic@users.sf.net>
628 * docs/random/ensonic/profiling.txt:
629 Ideas about qos profiling.
631 2006-08-29 Wim Taymans <wim@fluendo.com>
633 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
637 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
640 Improve and detypofy docs.
642 * tests/check/Makefile.am:
643 * tests/check/gst/.cvsignore:
644 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
645 Add a basic test suite for GstXML.
647 2006-08-29 Wim Taymans <wim@fluendo.com>
649 * gst/gstelement.c: (activate_pads), (clear_caps),
650 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
651 Clear the pad caps when the element shut down all of the pads and
652 is not streaming data that could modify the caps.
655 2006-08-28 Michael Smith <msmith@fluendo.com>
657 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
658 Revert previous change; I misunderstood single-segment mode.
660 2006-08-28 Michael Smith <msmith@fluendo.com>
662 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
663 Unset DISCONT on buffers when using single-segment mode.
665 2006-08-28 Wim Taymans <wim@fluendo.com>
667 * gst/gstcaps.c: (gst_caps_merge_structure):
669 Fix docs and indentation again.
671 * tests/check/gst/gstquery.c: (GST_START_TEST):
672 Fix leak in tests and add some more tests.
674 2006-08-28 Edward Hervey <edward@fluendo.com>
676 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
677 Inform GstSegment of the last stop position in order for the current
678 segment to have a proper duration if it doesn't have a specific stop
679 position from which a duration could be calculated.
680 This bug was noticeable when a non-flushing, non-update new segment was
681 followed by another segment (all buffers from the new segment were being
684 2006-08-28 Wim Taymans <wim@fluendo.com>
686 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
687 Small comment update.
689 * plugins/elements/gstidentity.c: (gst_identity_class_init),
690 (gst_identity_transform_ip):
691 Drop-probability is broken, mention this in the code with a
692 FIXME and also in the property description.
693 Make silent also be silent about the drop messages.
695 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
697 * docs/manual/appendix-win32.xml:
698 Remove mention of popt, we don't depend on that any
699 longer (#353136). Add some comments pointing out that
700 this section is slightly outdated.
702 2006-08-28 Wim Taymans <wim@fluendo.com>
704 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
706 * gst/gstquery.c: (gst_query_new_segment):
707 * tests/check/gst/gstquery.c: (GST_START_TEST):
708 Initialize variables when creating a new segment query.
711 2006-08-28 Wim Taymans <wim@fluendo.com>
713 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
715 * gst/gstelement.c: (gst_element_get_bus):
716 * tests/check/gst/gstelement.c: (GST_START_TEST):
717 Check for NULL before _reffing the bus. Fixes #353122.
719 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
721 * docs/manual/basics-bus.xml:
722 Docs update: fix wrong callback return value explanation; add
723 some lines about the implicit relationship between main loop
724 and main context; remove duplicate main loop variable declaration.
726 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
728 * tests/check/gst/gstcaps.c: (GST_START_TEST):
729 Don't leak caps in unit test; add a few more simple
732 2006-08-24 Stefan Kost <ensonic@users.sf.net>
734 * docs/gst/gstreamer-sections.txt:
735 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
736 (gst_caps_structure_is_subset), (gst_caps_merge),
737 (gst_caps_merge_structure):
739 * libs/gst/base/gstbasetransform.c:
740 (gst_base_transform_transform_caps):
741 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
742 implement caps merging (fixes #352580)
744 2006-08-23 Stefan Kost <ensonic@users.sf.net>
747 * tools/gst-plot-timeline.py:
748 add debug-log plotting developer tool (#340674)
750 2006-08-23 Wim Taymans <wim@fluendo.com>
752 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
754 Improve debugging for task functions.
756 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
757 (gst_task_start), (gst_task_pause), (gst_task_join):
758 Make sure that the task function started and finished after a
760 Don't try to push the task function on the threadpool multiple
762 Improve the g_warning message with some useful suggestions
763 about how to fix the problem.
765 2006-08-23 Wim Taymans <wim@fluendo.com>
767 * gst/gstutils.c: (gst_pad_proxy_getcaps):
768 Handle RESYNC correctly in _proxy_getcaps.
770 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
772 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
773 (gst_xml_parse_memory), (gst_xml_get_element):
774 Chain up to parent class in dispose function and also
775 unref the elements in the toplevel_elements GList.
776 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
777 Always return a reference in gst_xml_get_element() rather
780 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
781 Don't leak GstXml object.
783 2006-08-21 Stefan Kost <ensonic@users.sf.net>
785 * docs/gst/gstreamer-sections.txt:
786 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
789 * libs/gst/base/gstbasetransform.c:
790 (gst_base_transform_transform_caps):
791 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
794 2006-08-21 Edward Hervey <edward@fluendo.com>
796 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
797 Implement GObject::dispose virtual method in GstXML so we can free the
800 2006-08-21 Wim Taymans <wim@fluendo.com>
802 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
803 (gst_buffer_create_sub):
804 Copy duration/offset_end/caps when creating a subbuffer of the
806 Make the subbuffer read-only when we make the metadata writable for
809 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
810 Added check for metadata copy when creating subbuffers.
812 2006-08-21 Edward Hervey <edward@fluendo.com>
814 * libs/gst/base/gstbasetransform.c:
815 (gst_base_transform_buffer_alloc):
816 Only call downstream buffer_alloc if transform element is passthrough
817 or always_in_place. Closes #350449.
819 2006-08-20 Stefan Kost <ensonic@users.sf.net>
822 ChangeLog surgery to add comments to previous changes
824 2006-08-20 Stefan Kost <ensonic@users.sf.net>
829 * gst/gstpad.c: (gst_pad_set_active):
830 Be more verbose in the log
832 * libs/gst/base/gstbasetransform.c:
833 (gst_base_transform_transform_caps):
834 Simplify caps to get rid of duplicates, fixes #345444
836 2006-08-20 Stefan Kost <ensonic@users.sf.net>
840 Use these optimizations only internally.
842 2006-08-20 Stefan Kost <ensonic@users.sf.net>
844 * gst/gstvalue.c: (gst_value_compare_list),
845 (gst_value_compare_fraction_range),
846 (gst_value_intersect_fraction_fraction_range),
847 (gst_value_intersect_fraction_range_fraction_range),
848 (gst_value_subtract_fraction_fraction_range),
849 (gst_value_subtract_fraction_range_fraction_range),
850 (gst_value_get_compare_func), (gst_value_compare),
851 (gst_value_compare_with_func):
853 Saves the expensive lookup of the compare function in many cases
856 2006-08-18 Edward Hervey <edward@fluendo.com>
858 * tests/check/gst/gstinfo.c: (gst_info_suite):
859 Disable test that require gstdebug if it wasn't built in core.
861 2006-08-18 Stefan Kost <ensonic@users.sf.net>
863 * docs/random/ensonic/logging.txt:
866 * gst/gstinfo.c: (gst_debug_log_default):
867 reorder fields, save some columns, add optional color codes for log
870 2006-08-18 Stefan Kost <ensonic@users.sf.net>
872 * docs/random/ensonic/logging.txt:
873 add ideas about making the logs a bit more useful
875 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
877 * docs/pwg/advanced-events.xml:
878 * docs/pwg/titlepage.xml:
879 Update for 0.10 API (#340627). Add myself
882 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
884 * docs/libs/gstreamer-libs-docs.sgml:
885 * docs/libs/gstreamer-libs-sections.txt:
886 * libs/gst/check/gstbufferstraw.c:
887 Make gstcheck stuff show up in docs (still needs to
888 be documented properly though).
890 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
892 * docs/gst/gstreamer-sections.txt:
894 * gst/gst.c: (init_post):
896 * gst/gstquark.c: (_priv_gst_quarks_initialize):
898 * gst/gstquery.c: (gst_query_new_position),
899 (gst_query_set_position), (gst_query_parse_position),
900 (gst_query_new_duration), (gst_query_set_duration),
901 (gst_query_parse_duration), (gst_query_new_convert),
902 (gst_query_set_convert), (gst_query_parse_convert),
903 (gst_query_new_segment), (gst_query_set_segment),
904 (gst_query_parse_segment), (gst_query_new_seeking),
905 (gst_query_set_seeking), (gst_query_parse_seeking):
906 Add internal helpers for pre-registering quarks from static strings
907 and using the quark values directly instead of looking them up when
908 creating and parsing queries. Can be used for event construction too.
911 2006-08-16 Wim Taymans <wim@fluendo.com>
916 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
918 * gst/gstutils.c: (gst_util_set_value_from_string):
919 Fix memleak (#351502).
921 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
922 Add unit test for most of gst_util_set_value_from_string()
923 (not that one would want to encourage use of this function).
925 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
927 * libs/gst/check/gstcheck.h:
928 Use const gchar * variables in fail_unless_equals_string
929 macro to avoid compiler warnings (and don't use tabs for
932 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
934 * tools/gst-launch.c: (print_tag):
935 More space on the left for the tag names, to cater
936 for the 'extended comment' tag (not touching the
937 string for the first line since it's translated).
939 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
941 * libs/gst/check/gstcheck.h:
942 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
943 print something when they fail.
945 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
947 * docs/gst/gstreamer-sections.txt:
948 * gst/gsttaglist.c: (_gst_tag_initialize):
950 API: add GST_TAG_EXTENDED_COMMENT (#350935).
951 Also change merge function for GST_TAG_COMMENT to
954 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
956 * gst/gstinfo.c: (gst_debug_print_object):
957 Make GST_PTR_FORMAT print messages as well.
959 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
960 (GST_START_TEST), (gst_info_suite):
963 2006-08-14 Edward Hervey <edward@fluendo.com>
965 * gst/gstelementfactory.c: (gst_element_register):
966 If the GstElementClass doesn't have a GstElementDetails with all fields
967 filled up correctly (longname, description AND author), then error out
968 nicely instead of crashing.
970 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
972 * gst/gststructure.c:
973 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
976 Expand on the difference between arrays and lists as we use them.
978 2006-08-14 Wim Taymans <wim@fluendo.com>
980 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
981 If the parent state change function failed, don't assume we can safely
982 stop the source, this will be done when the pads are deactivated.
984 2006-08-14 Wim Taymans <wim@fluendo.com>
987 * gst/gsttask.c: (gst_task_join):
990 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
992 When pad (de)activation failed for some reason, restore the old
993 activation mode and set the pad to flushing instead of assuming the
995 If the _task_join() failed, reinstall the task on the pad so that it can
996 be stopped later and return an error.
998 2006-08-11 Andy Wingo <wingo@pobox.com>
1001 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1002 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1003 is only for users of API that don't want to see deprecated
1004 functions in the headers; people that want to compile out
1005 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1006 CFLAGS. Fixes the build of multifdsink, or will soon..
1008 2006-08-11 Wim Taymans <wim@fluendo.com>
1010 * docs/gst/gstreamer-sections.txt:
1011 Add GstClockClass vmethod docs.
1014 Mark #endif with comment for associated #if
1016 * gst/gstclock.c: (gst_clock_id_wait):
1018 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1019 most clock implementations.
1021 Flesh out docs about resolution methods.
1022 API: GstClockClass::wait_jitter
1024 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1025 (gst_system_clock_async_thread),
1026 (gst_system_clock_id_wait_jitter_unlocked),
1027 (gst_system_clock_id_wait_jitter):
1028 Use base class wait_jitter variant for improved performance
1029 due to less clock polling.
1031 2006-08-11 Edward Hervey <edward@fluendo.com>
1033 * gst/gst.c: (gst_init_check), (init_post):
1034 Set gst as being initialized before scanning/updating the registry,
1035 since there might be my python plugin loader that calls gst_init() and
1036 we don't want to loop back in.
1039 2006-08-11 Wim Taymans <wim@fluendo.com>
1041 * docs/design/part-qos.txt:
1042 Bring docs in line with the code. Mostly the sign of the jitter was
1043 wrong in the docs. Fixes #349943.
1046 Fix the docs for the jitter.
1048 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1049 (gst_event_parse_tag), (gst_event_new_buffer_size),
1050 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1051 (gst_event_new_seek), (gst_event_parse_seek),
1052 (gst_event_new_navigation):
1053 Make sure the GstStructure has no parent when creating custom
1055 Add some more argument checking so that we avoid 0.0 rates.
1056 Flesh out the docs for the QoS event some more.
1058 2006-08-11 Wim Taymans <wim@fluendo.com>
1060 * docs/gst/gstreamer-sections.txt:
1061 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1062 (ensure_current_registry_forking), (ensure_current_registry),
1063 (parse_one_option), (parse_goption_arg), (gst_deinit),
1064 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1067 Added API and command line option to disable registry forking in
1068 addition to the environment variable.
1069 Constify some static arrays.
1070 Added some more debug.
1072 API: gst_registry_fork_is_enabled()
1073 API: gst_registry_fork_set_enabled()
1074 API: --gst-disable-registry-fork command line option
1077 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1079 * gst/gst.c: (gst_init):
1080 Fix typo in error message.
1082 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1084 * libs/gst/controller/gstcontroller.h:
1085 fix ABI size-correction
1087 * tests/check/libs/gdp.c: (gst_dp_suite):
1088 make tests that use deprecated API conditional
1090 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1092 * docs/libs/gstreamer-libs-sections.txt:
1093 * libs/gst/controller/gstcontroller.c:
1094 (_gst_controller_get_property), (_gst_controller_set_property),
1095 (_gst_controller_init), (_gst_controller_class_init):
1096 * libs/gst/controller/gstcontroller.h:
1097 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1098 (gst_object_set_control_rate):
1099 API: add gst_object_{s,g}et_control_rate(), add private data section,
1102 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1103 * libs/gst/dataprotocol/dataprotocol.h:
1104 add deprecation guards to make gtk-doc happy and allow disabling cruft
1106 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1108 * tests/check/Makefile.am:
1109 * tests/check/gst/.cvsignore:
1110 Let's enable the new unit test as well.
1112 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1115 * docs/gst/gstreamer-sections.txt:
1116 * gst/gstconfig.h.in:
1117 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1118 (_gst_info_printf_extension_ptr),
1119 (_gst_info_printf_extension_segment):
1120 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1121 register that lets us easily dump GstSegments into debug
1124 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1125 (info_segment_format_printf_extension), (gst_info_suite):
1126 Add simple unit test that logs a bunch of different segments (not
1127 valgrinded at the moment because of leaks in
1128 gst_debug_add_log_function).
1130 2006-08-09 Edward Hervey <edward@fluendo.com>
1132 * libs/gst/base/gstbasetransform.c:
1133 (gst_base_transform_buffer_alloc):
1134 Even if we can't figure out the proper format to request downstream,
1135 call buffer_alloc() downstream with the input parameters without setting
1136 the caps on the srcpad. This will force negotiation in the chain
1140 2006-08-08 Edward Hervey <edward@fluendo.com>
1142 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1143 Unlinking from a pad without a target is now a perfectly valid case
1144 which should NOT raise an assertion.
1145 This case would happen if a linked ghostpad its target set to NULL after
1146 it was previously linked.
1148 2006-08-08 Edward Hervey <edward@fluendo.com>
1150 * tests/check/libs/gdp.c:
1151 Also comment out the test (see below).
1153 2006-08-08 Edward Hervey <edward@fluendo.com>
1155 * tests/check/libs/gdp.c: (gst_dp_suite):
1156 Use the architecture information from config.h and not gcc macros
1157 in order to properly disable a test that fails on PPC64.
1159 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1161 * gst/gstelement.c: (gst_element_remove_pad):
1162 Don't crash printing the warning if the pad has no parent.
1164 2006-08-02 Wim Taymans <wim@fluendo.com>
1166 * libs/gst/dataprotocol/dataprotocol.c:
1167 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1168 (gst_dp_crc), (gst_dp_header_payload_length),
1169 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1170 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1171 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1172 (gst_dp_event_from_packet), (gst_dp_validate_header),
1173 (gst_dp_validate_payload):
1174 Make debug category static
1175 Constify the crc table.
1176 Do some more arg checking in public functions.
1177 Fix some docs and do some small cleanups.
1179 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1180 Add some more checks to see if GDP deals with bogus input.
1182 2006-07-31 Wim Taymans <wim@fluendo.com>
1184 * gst/gstvalue.c: (gst_value_compare_list):
1185 Fix GstValueList comparison code. Fixes #347293.
1187 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1188 Check to test GstValueList comparison.
1190 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1192 * gst/gstelementfactory.c: (gst_element_factory_create):
1193 Remove unnecessary ref/unref pair
1195 * gst/parse/grammar.y:
1196 Make sure to free the parse buffer on all code paths.
1197 Move a g_free up to the error handler where it's easier to see.
1199 * tests/check/gst/gstevent.c: (test_event):
1200 Extending timeout for downstream travelling events to 10 seconds to
1201 hopefully avoid intermittent failure on the buildbots.
1203 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1204 Don't manually set the state of the src element - it will happen as a
1205 natural consequence of the pipeline changing state, and that way it
1206 will do it in the right order too.
1208 2006-07-31 Wim Taymans <wim@fluendo.com>
1210 * libs/gst/base/gstbasetransform.c:
1211 (gst_base_transform_buffer_alloc):
1212 Use OBJECT_LOCK and refcounting to get the pad caps in the
1213 buffer_alloc function because the caps could change while we are
1214 busy with them. Fixes #349105
1216 2006-07-31 Wim Taymans <wim@fluendo.com>
1218 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1219 Protect _PAD_CAPS with OBJECT_LOCK.
1221 2006-07-31 Wim Taymans <wim@fluendo.com>
1223 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1224 (gst_pad_get_property), (gst_pad_activate_pull),
1225 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1226 (gst_pad_set_activate_function),
1227 (gst_pad_set_activatepull_function),
1228 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1229 (gst_pad_set_getrange_function),
1230 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1231 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1232 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1233 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1234 (gst_pad_set_acceptcaps_function),
1235 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1236 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1237 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1238 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1239 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1240 (gst_pad_configure_sink), (gst_pad_configure_src),
1241 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1242 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1243 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1244 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1245 (gst_pad_send_event):
1246 Use _DEBUG_OBJECT when it makes sense.
1247 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1248 Small cleanups and code reflows.
1249 Avoid caps refcounting in _accept_caps.
1250 Refactor alloc_buffer so that the code performed on the peer is in a
1251 separate function. Also if the pad does not implement a buffer alloc
1252 function, we should still check if the pad is flushing before falling
1253 back to the default allocator.
1255 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1257 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1258 Make all uses of identity and fakesink have silent=true to avoid
1259 serialising every passing data structure, which is breaking tests
1260 on FC4 for some unknown reason.
1262 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1264 * gst/parse/Makefile.am:
1265 * gst/parse/grammar.y:
1266 * gst/parse/parse.l:
1267 Reverted previous patch as it required to bump the flex dependency to
1268 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1270 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1272 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1274 * gst/parse/Makefile.am:
1275 * gst/parse/grammar.y:
1276 * gst/parse/parse.l:
1277 push & pop the state of the lexer for reentrant use case
1280 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1282 * libs/gst/base/gstbasesrc.h:
1283 Note in the docs that the ::newsegment vfunc is not actually used by
1286 2006-07-28 Wim Taymans <wim@fluendo.com>
1288 * libs/gst/base/gstcollectpads.c:
1289 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1290 (gst_collect_pads_clear), (gst_collect_pads_flush),
1291 (gst_collect_pads_event), (gst_collect_pads_chain):
1292 When flushing a pad, also clear the queued buffer so that we don't
1293 accidentally use it when we shouldn't.
1294 Fix leaks by inreffing incomming buffer.
1295 Flush out queued buffers in case of errors.
1298 2006-07-28 Wim Taymans <wim@fluendo.com>
1300 * docs/random/phonon-gst:
1301 Random notes about a Phonon backend.
1303 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1305 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1307 * tests/check/libs/gdp.c: (gst_dp_suite):
1308 Take a whack at fixing the ppc compile using a different define to
1309 disable the broken test.
1311 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1312 Remove excess g_print()
1314 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1316 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1317 Oops, meant to uncomment this line too to dampen the noise a bit.
1319 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1321 * gst/parse/grammar.y:
1322 * gst/parse/parse.l:
1323 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1324 (GST_START_TEST), (parse_suite):
1325 Fix some of the leaks exposed by extending the parse-launch testsuite,
1326 and move the 3 I can't figure out into a separate test that won't run
1327 the pipelines unless the appropriate line is uncommented.
1329 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1331 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1332 Requesting 0 bytes before the end of the file should result in
1333 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1336 2006-07-27 Wim Taymans <wim@fluendo.com>
1338 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1339 Fix useless assert, a uint is always positive.
1341 * gst/gststructure.c: (gst_structure_nth_field_name),
1342 (gst_structure_foreach), (gst_structure_map_in_place):
1343 Check input arguments for public functions to avoid obvious crashes.
1345 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1346 * plugins/elements/gstfakesink.h:
1347 Do less useless typechecking.
1349 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1351 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1352 Do not use mmap() by default since there are a number of error
1353 conditions that we would like to handle in a non-fatal way that
1354 will result in a SIGBUS if we use mmap(). Examples: external
1355 devices (USB harddrive, portable music player) being unplugged
1356 while in use; file on mounted CD/DVD that can't be read because
1357 the medium is partly damaged. Fixes #348455 and #348475.
1359 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1362 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1365 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1367 * gst/gstregistry.c:
1368 Move big documentation comment into class section header, so that it
1369 appears in the API docs.
1371 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1373 * docs/gst/gstreamer-sections.txt:
1374 Oops. Commit the docs additions too for new API.
1375 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1377 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1379 * gst/gststructure.c: (gst_structure_id_set),
1380 (gst_structure_id_set_valist):
1381 * gst/gststructure.h:
1382 Add API for setting values into structures without performing
1383 a quark lookup, if the appropriate quark is already known.
1385 API: gst_structure_id_set
1386 API: gst_structure_id_set_valist
1388 * gst/parse/grammar.y:
1389 * gst/parse/parse.l:
1390 Remove some dead code shown by the coverage information.
1391 Don't throw a critical g_warning when encountering a syntax error,
1392 just warn and let the normal error path handle it.
1394 * plugins/elements/gstelements.c:
1395 Bump the rank of filesink up to PRIMARY so that it is preferred over
1396 gnomevfssink for file:// sink uri's
1398 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1399 (GST_START_TEST), (run_delayed_test),
1400 (gst_parse_test_element_base_init),
1401 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1402 (gst_parse_test_element_change_state),
1403 (gst_register_parse_element), (parse_suite):
1404 Beef up the tests for parse syntax to check that more error cases
1405 fail as they are supposed to. Increases the test coverage a bit.
1407 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1409 * docs/manual/basics-elements.xml:
1410 Fix gst_element_link() example.
1413 Mention in API docs that one should usually gst_bin_add()
1414 elements to a bin or pipeline before doing the linking.
1416 2006-07-26 Wim Taymans <wim@fluendo.com>
1418 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1419 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1420 Avoid function call for known types by keeping the buffer and
1421 subbuffer GType global.
1423 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1424 Random silly optimisations in read() path.
1426 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1428 * tools/gst-launch.c: (main):
1429 If the top-level of the parse is a normal bin, it doesn't do the
1430 right logic to run as a top-level element, so place it inside a
1433 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1435 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1436 Remove superfluous g_object_notify() calls, GObject does
1437 that for us automatically.
1439 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1442 on Win32, use dllspec to export the debug category symbols
1444 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1446 * gst/gsttaglist.c: (_gst_tag_initialize):
1447 Allow more than one GST_TAG_IMAGE per taglist.
1449 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1451 * gst/gstminiobject.c:
1453 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1454 (gst_fd_src_create):
1455 log recurring events at LOG level
1456 add more debug for when the fd gets set
1458 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1460 * gst/gstparse.c: (gst_parse_launch):
1461 Also remove reentrance checks if flex is MT safe (#348179)
1462 Fix my empty ChangeLog entry below
1464 2006-07-21 Andy Wingo <wingo@pobox.com>
1466 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1468 * libs/gst/check/Makefile.am
1469 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1470 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1471 * libs/gst/check/gstbufferstraw.h:
1472 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1473 functions, thus proving I am still a GStreamer haxor. OK I wrote
1474 them a long time ago, but anyways.
1476 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1479 * gst/gstparse.c: (gst_parse_launch):
1480 Check for flex version and omit mutex if we have a MT save flex
1483 2006-07-21 Wim Taymans <wim@fluendo.com>
1485 * gst/gstparse.c: (gst_parse_launch):
1486 Protect recursive calls to _parse with a recursive mutex
1489 2006-07-21 Wim Taymans <wim@fluendo.com>
1491 * tests/check/gst/gstpad.c: (GST_START_TEST):
1494 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1496 * gst/gstparse.c: (gst_parse_launch):
1497 Do not hang on recursive usage of gst_parse_launch()
1499 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1502 Add some more docs, comments and FIXME 0.11s here and there
1503 and also fix some typos.
1505 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1508 Convert tabs to spaces for better readability.
1510 2006-07-20 Edward Hervey <edward@fluendo.com>
1512 * tests/check/libs/gdp.c: (gst_dp_suite):
1513 the test_buffer test fails at line 140 on ppc64 at the following
1515 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1516 GST_BUFFER_FLAG_IN_CAPS),
1517 "GST_BUFFER_IN_CAPS flag should have been copied !");
1518 See bug #348114 for more details.
1520 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1522 * docs/pwg/advanced-scheduling.xml:
1524 Fix typos (#348000).
1526 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1528 * docs/pwg/intro-basics.xml:
1529 Fix wrong links (#347927).
1531 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1533 * gst/gstregistry.h:
1534 * gst/gstregistryxml.c: (load_feature),
1535 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1536 * win32/common/config.h:
1537 make --disable-index work (#342564)
1539 2006-07-18 Wim Taymans <wim@fluendo.com>
1541 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1545 The attached patch adds two missing defines to gsttrace.h when tracing
1546 is disabled. It also corrects one existing define.
1549 2006-07-17 Wim Taymans <wim@fluendo.com>
1551 * docs/gst/gstreamer-sections.txt:
1552 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1554 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1555 Add two functions to check and change the SIGSEGV behaviour
1556 when loading plugins.
1557 Don't mess with the SIGSEGV handler when we were told not to.
1559 API: gst_segtrap_is_enabled
1560 API: gst_segtrap_set_enabled
1562 2006-07-14 Wim Taymans <wim@fluendo.com>
1564 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1565 * tests/check/elements/filesrc.c: (GST_START_TEST):
1566 Revert fix for regression in #347408 after release.
1568 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1570 Patch by: Antoine Tremblay <hexa00 at gmail com>
1572 * gst/gstutils.c: (gst_element_unlink):
1573 Free iterator when done (#347311).
1575 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1576 And add a test case for this.
1578 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1581 Bump nano back to CVS
1583 === release 0.10.9 ===
1585 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1588 releasing 0.10.9, "On the road again"
1590 2006-07-13 Wim Taymans <wim@fluendo.com>
1592 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1593 * tests/check/elements/filesrc.c: (GST_START_TEST):
1594 Revert pull-0 fix for release. Disable check. Fixes #347408.
1596 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1598 * libs/gst/dataprotocol/dataprotocol.c:
1599 (gst_dp_event_from_packet_1_0):
1600 Fixes #347337: failure to deserialize event packets with
1601 empty payload (only event type)
1603 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1606 do not install a .c file in the header directory
1608 2006-07-13 Edward Hervey <edward@fluendo.com>
1610 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1611 GhostPad no longer implicitely use the padtemplates of the targets.
1614 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1616 * gst/gstvalue.c: (gst_value_compare_list),
1617 (gst_value_compare_array), (_gst_value_initialize):
1618 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1619 Make GstValueArray comparison be order dependent as designed.
1620 Add checks for value lists and value array comparisons.
1623 2006-07-11 Edward Hervey <edward@fluendo.com>
1625 * gst/gstbin.c: (activate_pads),
1626 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1627 (gst_bin_change_state_func):
1628 (de)activate src pads before calling state_change on the childs.
1629 This is to avoid the case where a src ghostpad is blocked (holding the
1630 stream lock), which would block the deactivation of the ghostpad's
1632 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1633 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1634 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1635 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1636 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1637 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1638 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1639 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1640 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1641 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1642 (gst_ghost_pad_class_init),
1643 (gst_ghost_pad_internal_do_activate_push),
1644 (gst_ghost_pad_internal_do_activate_pull),
1645 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1646 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1647 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1648 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1649 GhostPads now create their internal GstProxyPad at creation (and not
1650 when they're linked, as it was being done previously).
1651 The internal and target pads are linked straight away.
1652 The data will also travel through the other pad in order to make
1653 pad blocking and probes non-hackish (the probe/block now really happens
1654 on the GhostPad and not on the target).
1655 * gst/gstpad.c: (gst_pad_set_blocked_async),
1656 (gst_pad_link_prepare), (gst_pad_push_event):
1657 Remove previous ghostpad cruft.
1658 * gst/gstutils.c: (gst_pad_add_data_probe),
1659 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1660 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1661 (gst_pad_remove_buffer_probe):
1662 Remove previous ghost pad cruft.
1663 Added more detailed debug statements.
1664 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1665 Fix the testsuite for refcounting changes.
1666 The comments about who has references were correct, but the refcount
1667 being checked wasn't the same (!?!).
1671 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1673 * docs/gst/gstreamer-sections.txt:
1674 * gst/gstconfig.h.in:
1675 More docs for configuration options, add docs to gtk-doc.
1677 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1680 * gst/gstconfig.h.in:
1681 * win32/common/config.h:
1682 Fix build when disabling tracing (fixes #344016). Also start to document
1683 the defines that disable the sub-systems.
1685 2006-07-10 Edward Hervey <edward@fluendo.com>
1687 * gst/gst.c: (ensure_current_registry_forking):
1688 let's make valgrind happy...
1690 2006-07-09 Wim Taymans <wim@fluendo.com>
1692 * gst/gstelement.c: (activate_pads),
1693 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1694 Better pad activation code: Reset the collect value too on resync.
1697 2006-07-09 Wim Taymans <wim@fluendo.com>
1699 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1700 (gst_pad_activate_push):
1701 Use some more macros where it makes sense.
1702 Allow pad mode switching instead of asserting. When a pad
1703 is activated in one mode and we activate it in another,
1704 deactivate it first before activating it in a different mode.
1707 2006-07-08 Andy Wingo <wingo@pobox.com>
1709 * tools/gst-launch.c (main): Handle err == NULL.
1711 * gst/gst.c (init_post, ensure_current_registry)
1712 (ensure_current_registry_forking)
1713 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1714 factoring out the registry scanning into separate functions. Don't
1715 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1716 Better environment var name/interface suggestions accepted.
1718 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1720 * gst/gstobject.c: (gst_object_set_name_default),
1721 (gst_object_set_name):
1722 Random micro-optimisation: don't use a hash table
1723 with strings as keys and the usual strdup/strcmp
1724 involved, but rather just use the GQuark of the
1725 type name as key, since it needs to be looked up
1726 anyway to get the type name string.
1728 * tests/check/gst/gstobject.c: (GST_START_TEST):
1731 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1733 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1734 (gst_bin_iterate_all_by_interface):
1735 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1736 GTypes are gulongs and thus the top 4 bytes might be cut
1737 off on some platforms when doing GPOINTER_TO_INT, leading
1738 to invalid GTypes and bad things happening (see RH bug #179654).
1739 Also add a check to make sure the type passed in is really
1742 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1747 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1751 * gst-element-check.m4:
1752 * gst-element-check.m4.in:
1753 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1754 instead of the unversioned gst-inspect (#324176, #168659).
1756 2006-07-06 Wim Taymans <wim@fluendo.com>
1759 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1762 2006-07-06 Wim Taymans <wim@fluendo.com>
1764 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1765 (gst_base_src_wait), (gst_base_src_update_length),
1766 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1767 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1768 (gst_base_src_loop), (gst_base_src_start),
1769 (gst_base_src_activate_pull):
1771 blocksize == 0 now means the default blocksize when working in push
1773 Remove some pointless asserts in _wait function.
1774 Fix offset/length calculations and EOS handling. We can now pull 0
1775 bytes as well, which is allowed.
1776 use _check_get_range() to decide if we can operate in _pull based
1778 Fix refcounting leak when check_get_range function was not
1780 API GstBaseSrc::blocksize range can be 0 too now (default)
1782 * tests/check/elements/filesrc.c: (GST_START_TEST),
1784 Added check to test _get_range() behaviour.
1786 2006-07-06 Wim Taymans <wim@fluendo.com>
1788 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1789 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1790 (gst_pad_pull_range):
1792 Lots of comments and docs added to the pad functions.
1793 Flesh out the expected behaviour of the get_range() functions.
1795 2006-07-06 Wim Taymans <wim@fluendo.com>
1800 * gst/gstiterator.h:
1804 Remove comma at end of enumerator list.
1806 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1808 * win32/common/libgstbase.def:
1809 * win32/common/libgstdataprotocol.def:
1810 * win32/common/libsgtreamer.def:
1811 Add new exported functions.
1813 2006-07-05 Wim Taymans <wim@fluendo.com>
1815 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1816 Add some more docs here and there.
1818 2006-07-05 Wim Taymans <wim@fluendo.com>
1820 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1821 (gst_base_sink_loop), (gst_base_sink_get_position):
1822 When operating in pull mode update the offset so that we
1825 2006-07-05 Wim Taymans <wim@fluendo.com>
1827 * gst/gstregistryxml.c: (read_string):
1828 Avoid strdup. (will happen in libxml, but hey!)
1833 2006-07-05 Wim Taymans <wim@fluendo.com>
1835 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1836 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1838 No point in checking if the size of the subbuffer > 0, the
1839 code handles it correclty as demonstrated by unit test.
1840 Also add a unit test for the zero sized _new_and_alloc and
1841 _copy. Fixes #346663.
1843 2006-07-05 Wim Taymans <wim@fluendo.com>
1845 * libs/gst/base/gstbasetransform.c:
1846 (gst_base_transform_prepare_output_buffer),
1847 (gst_base_transform_buffer_alloc),
1848 (gst_base_transform_handle_buffer):
1849 Make sure the buffer we pass to transform_ip has a refcount of
1850 1 and thus is writable. Fixes #343196
1852 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1854 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1855 (gst_file_src_init), (gst_file_src_set_property),
1856 (gst_file_src_get_property), (gst_file_src_map_region):
1857 * plugins/elements/gstfilesrc.h:
1858 Add "sequential" property, off by default, to use madvise and hint
1859 to the kernel that sequential access is desired.
1860 Touch all retrieved pages by default to ensure they are pulled
1861 into memory. (Closes #345720)
1863 2006-07-03 Wim Taymans <wim@fluendo.com>
1865 * docs/design/part-block.txt:
1866 * docs/design/part-dynamic.txt:
1869 2006-07-03 Wim Taymans <wim@fluendo.com>
1871 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1872 (gst_caps_unref), (gst_static_caps_get),
1873 (gst_caps_append_structure):
1874 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1875 Use GSlice when the glib we build against is >= 2.10
1877 2006-07-03 Wim Taymans <wim@fluendo.com>
1879 * gst/gstelement.c: (gst_element_pads_activate):
1880 Small cleanup in pad activation code.
1882 2006-07-03 Wim Taymans <wim@fluendo.com>
1884 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1886 * gst/gst-i18n-app.h:
1887 * gst/gst-i18n-lib.h:
1888 * tools/gst-inspect.c: (print_signal_info):
1889 The attached patch will make the inclusion of gettext.h unconditional in
1890 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1891 libintl.h in tools/gst-inspect.c.
1892 This allows use of --disable-nls again and fixes #344642.
1894 2006-07-03 Edward Hervey <edward@fluendo.com>
1896 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1897 Implement pad blocking on events according to part-block.txt.
1898 More comments on behaviour.
1899 * tests/check/gst/gstevent.c: (test_event):
1900 Send event to peer pad of blocked pad (else it will block).
1902 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1904 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1905 (gst_check_run_suite):
1906 if we get the wrong message, give us the types as string
1907 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1909 * tests/check/elements/filesrc.c: (GST_START_TEST):
1910 add a test for trying to open a non-existing file
1912 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1914 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1915 add a test for adding self
1917 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1919 * libs/gst/check/gstcheck.h:
1920 add some assert_ as alias for fail_unless_*
1921 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1922 increase test coverage
1924 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1927 include lcov.mak for lcov coverage generation
1928 * tools/Makefile.am:
1931 2006-07-02 Edward Hervey <edward@fluendo.com>
1933 * tests/check/elements/.cvsignore:
1936 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1939 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1940 * tests/check/Makefile.am:
1943 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1945 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1946 remove gst_caps_simplify; it was not declared and not used
1947 and deprecated in 0.8
1949 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1951 * docs/faq/gst-uninstalled:
1952 don't put empty paths on PYTHONPATH
1953 * docs/gst/gstreamer-sections.txt:
1954 remove some symbols that are not there
1956 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1958 * gst/gstcaps.c: (gst_caps_compare_structures):
1960 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1961 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1964 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1966 * libs/gst/dataprotocol/Makefile.am:
1967 build dataprotocol test by linking to the lib, instead of
1968 compiling the source, so we get coverage
1969 * tests/check/Makefile.am:
1970 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1971 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1972 add a test for filesrc
1974 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1976 * tests/check/gst/gststructure.c: (GST_START_TEST),
1977 (gst_structure_suite):
1978 Push coverage from 59.04% to 70.00%
1980 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1982 * tests/check/Makefile.am:
1983 gst-inspect every element; this makes sure that we also get
1984 coverage on element's get/set functions
1986 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1989 set CFLAGS and friends to -O0 if gcov is being used
1992 * libs/gst/base/Makefile.am:
1993 * libs/gst/check/Makefile.am:
1994 * libs/gst/controller/Makefile.am:
1995 * libs/gst/dataprotocol/Makefile.am:
1996 * libs/gst/net/Makefile.am:
1997 * plugins/elements/Makefile.am:
1998 * plugins/indexers/Makefile.am:
1999 add makefile rules to generate gcov data and clean up
2000 * tests/check/Makefile.am:
2001 add a coverage target that generates an html overview
2004 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2006 * tests/check/elements/fakesink.c:
2007 * tests/check/elements/fakesrc.c:
2008 * tests/check/elements/fdsrc.c:
2009 * tests/check/elements/identity.c:
2010 * tests/check/generic/sinks.c: (gst_sinks_suite):
2011 * tests/check/generic/states.c:
2012 * tests/check/gst/gst.c:
2013 * tests/check/gst/gstabi.c:
2014 * tests/check/gst/gstbin.c:
2015 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2016 * tests/check/gst/gstbus.c: (gst_bus_suite):
2017 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2018 * tests/check/gst/gstelement.c:
2019 * tests/check/gst/gstevent.c: (gst_event_suite):
2020 * tests/check/gst/gstghostpad.c:
2021 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2022 * tests/check/gst/gstmessage.c: (gst_message_suite):
2023 * tests/check/gst/gstminiobject.c:
2024 * tests/check/gst/gstobject.c:
2025 * tests/check/gst/gstpad.c:
2026 * tests/check/gst/gstpipeline.c:
2027 * tests/check/gst/gstplugin.c:
2028 * tests/check/gst/gstquery.c: (gst_query_suite):
2029 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2030 * tests/check/gst/gststructure.c:
2031 * tests/check/gst/gstsystemclock.c:
2032 * tests/check/gst/gsttag.c:
2033 * tests/check/gst/gsttask.c: (gst_task_suite):
2034 * tests/check/gst/gstutils.c:
2035 * tests/check/gst/gstvalue.c:
2036 * tests/check/libs/adapter.c:
2037 * tests/check/libs/basesrc.c:
2038 * tests/check/libs/collectpads.c:
2039 * tests/check/libs/controller.c:
2040 * tests/check/libs/gdp.c: (gst_dp_suite):
2041 * tests/check/libs/gstnetclientclock.c:
2042 * tests/check/libs/gstnettimeprovider.c:
2043 * tests/check/libs/libsabi.c: (libsabi_suite):
2044 * tests/check/libs/typefindhelper.c:
2045 * tests/check/pipelines/cleanup.c:
2046 * tests/check/pipelines/parse-launch.c:
2047 * tests/check/pipelines/simple-launch-lines.c:
2048 * tests/check/pipelines/stress.c: (stress_suite):
2051 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2053 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2054 * libs/gst/check/gstcheck.h:
2055 create a macro and function so that the simple unit test
2056 case can be just one macro to create main()
2058 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2060 * gst/gstbin.c: (gst_bin_restore_thyself):
2061 * gst/gstxml.c: (gst_xml_make_element):
2062 Fix deserialisation from XML. Set parent manually
2063 instead of using gst_bin_add(), since gst_bin_add()
2064 will unlink all pads of the element being added.
2067 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2069 Patch by: Peter Kjellerstedt <pkj at axis com>
2071 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2072 Fix missing g_strdup() and double free when using the
2073 --gst-plugin-load command line option (#346097).
2075 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2078 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2080 * libs/gst/net/gstnetclientclock.c:
2081 * libs/gst/net/gstnettimeprovider.c:
2082 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2084 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2086 * docs/manual/advanced-dataaccess.xml:
2087 Fix buffer probe example compilation in
2090 2006-06-22 Edward Hervey <edward@fluendo.com>
2092 * gst/gstelement.c: (gst_element_pads_activate):
2093 We need to deactivate src pads first and then sink pads.
2094 The reason is the src pads might be blocking while holding the streaming
2095 lock, so we need to deactivate them first so that deactivating the sink
2096 pads doesn't block (since it will require the streaming lock).
2098 2006-06-22 Wim Taymans <wim@fluendo.com>
2100 * libs/gst/base/gstbasetransform.c:
2101 (gst_base_transform_buffer_alloc):
2102 Forgot to remove two unneeded unrefs.
2103 Simplify a check _is_equal allready checks the obvious case.
2105 2006-06-22 Wim Taymans <wim@fluendo.com>
2107 * docs/design/part-block.txt:
2108 Some docs about what pad_block should do.
2110 2006-06-22 Wim Taymans <wim@fluendo.com>
2112 * gst/gstcaps.c: (gst_caps_replace):
2113 Fix crasher when passed NULL. Doc clarification.
2114 Optimize for the trivial case.
2116 * gst/gstpipeline.c: (gst_pipeline_change_state):
2119 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2120 Small documentation cleanup.
2122 * libs/gst/base/gstbasetransform.c:
2123 (gst_base_transform_buffer_alloc):
2124 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2125 is what we need and it avoids a whole lot of redundant
2126 refcount operations.
2128 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2130 Patch by: Philip Jägenstedt <philip at lysator liu se>
2132 * docs/manual/advanced-dataaccess.xml:
2133 Fix 'Embedding static elements' section to use
2134 GST_PLUGIN_DEFINE_STATIC (#345607).
2136 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2138 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2139 Attempt to 'fix' spuriously failing test case: it seems like the
2140 timeout of half a second is simply too small when the system is under
2141 load otherwise, and the timeout doesn't really seem to serve any
2142 particular purpose here. Give the pipeline a few seconds to preroll
2143 first, and then give it another half a second to go from PAUSED to
2144 PLAYING and marshal the message into the main thread.
2146 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2148 * tools/gst-feedback-m.m:
2149 Don't only use unversioned tools, try versioned tools as well
2152 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2154 * gst/gstbus.c: (gst_bus_class_init):
2155 Fix some typos, make docs more explicit.
2157 2006-06-20 Wim Taymans <wim@fluendo.com>
2159 * tests/check/gst/gstghostpad.c: (block_callback),
2160 (GST_START_TEST), (gst_ghost_pad_suite):
2161 Added some more ghostpad tests, mainly blocking
2164 2006-06-16 Wim Taymans <wim@fluendo.com>
2166 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2167 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2168 (gst_file_sink_event), (gst_file_sink_render):
2169 * plugins/elements/gstfilesink.h:
2170 Check if we can seek in the file instead of assuming
2171 we always can. Post an error when we are asked to seek in a
2172 non-seekable file (like a fifo). Fixes #343312.
2175 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2177 * tools/gst-launch.1.in:
2178 Un-garble (fourcc) bit in filtered caps section.
2180 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2182 * docs/manual/advanced-autoplugging.xml:
2183 * docs/manual/basics-helloworld.xml:
2184 * docs/manual/highlevel-components.xml:
2185 Don't leak bus reference in sample code.
2187 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2190 Add default for new --enable-plugin-docs switch.
2193 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2197 Use new ENABLE_PLUGIN_DOCS conditional.
2199 2006-06-14 Wim Taymans <wim@fluendo.com>
2201 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2202 Make it clear with a FIXME and a real define what the #if 0
2203 previously disabled.
2205 2006-06-14 Wim Taymans <wim@fluendo.com>
2207 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2208 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2209 * libs/gst/base/gstbasetransform.c:
2210 (gst_base_transform_sink_eventfunc):
2211 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2212 Don't randomly and silently reset a segment when the format
2213 changes as this is a bug somewhere upstream. Fixes #330379.
2215 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2217 Patch by: Wouter Paesen <wouter at kangaroot net>
2219 * libs/gst/controller/gstcontroller.c:
2220 (gst_controlled_property_new):
2221 Fix controlling of float properties (#344849).
2223 * tests/check/libs/controller.c:
2224 (gst_test_mono_source_get_property),
2225 (gst_test_mono_source_set_property),
2226 (gst_test_mono_source_class_init), (GST_START_TEST):
2227 While we're at it, add some float stuff to unit test.
2229 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2232 * docs/images/gdp-header.svg:
2234 * docs/libs/Makefile.am:
2235 * docs/libs/gdp-header.png:
2236 * libs/gst/dataprotocol/dataprotocol.c:
2237 add it to the API docs
2238 * docs/manual/intro-motivation.xml:
2241 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2243 * gst/gst.c: (scan_and_update_registry), (init_post):
2244 If the fork()'ed child process can't write the updated registry cache
2245 file to disk for some reason, make it exit with a failure exit code,
2246 so that the parent can then re-scan the plugins itself and update the
2247 registry structures in memory and work with that (rather than failing
2248 when creating elements because seemingly no plugins are available).
2249 Refactor registry scanning code into separate function for this and
2250 also separate fork() and non-fork() code paths. Fixes #344748.
2252 2006-06-13 Wim Taymans <wim@fluendo.com>
2254 * docs/manual/advanced-dataaccess.xml:
2255 Fix wrong PluginDesc. Fixes #344755.
2257 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2259 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2260 Fix silly bug that prevented us from creating
2261 ~/.gstreamer-0.10 and writing the registry in one
2262 go (the first call to g_mkstemp() would overwrite the
2263 placeholder in the template string, so the second call
2264 to g_mkstemp() after creating the missing directory
2265 would then error out with 'invalid argument').
2267 2006-06-13 Edward Hervey <edward@fluendo.com>
2269 * gst/gst.c: (init_post):
2272 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2274 * gst/glib-compat-private.h:
2275 * gst/glib-compat.c:
2276 * gst/glib-compat.h:
2277 * gst/gstvalue.c: (gst_value_serialize_flags):
2278 remove GLib 2.6 compatibility code
2280 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2282 * gst/parse/Makefile.am:
2283 Fix build with 'make -j N' even more (#340016).
2285 2006-06-12 Wim Taymans <wim@fluendo.com>
2287 * docs/gst/gstreamer-sections.txt:
2290 2006-06-12 Wim Taymans <wim@fluendo.com>
2292 * gst/gstsegment.c: (gst_segment_set_duration),
2293 (gst_segment_set_last_stop), (gst_segment_set_seek),
2294 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2295 (gst_segment_to_running_time), (gst_segment_clip):
2296 Use G_UNLIKELY to help the compiler a bit.
2298 2006-06-12 Wim Taymans <wim@fluendo.com>
2300 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2302 * gst/gstevent.c: (gst_event_get_type):
2304 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2306 constify quark registration strings. Fixes #344115
2307 Avoid unneeded type checking is _pad_push() by internally
2308 calling gst_pad_chain_unchecked().
2310 2006-06-12 Wim Taymans <wim@fluendo.com>
2312 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2313 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2314 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2315 (gst_buffer_is_span_fast), (gst_buffer_span):
2316 Init _type for consistency.
2317 Use _FLAGS macro to avoid type check.
2318 Avoid unneeded type checks in subbufer code.
2320 2006-06-12 Wim Taymans <wim@fluendo.com>
2322 * gst/gst.c: (gst_debug_help):
2323 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2324 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2325 (gst_plugin_feature_list_free):
2326 * gst/gstregistry.c: (gst_registry_add_plugin),
2327 (gst_registry_add_feature), (gst_registry_plugin_filter),
2328 (gst_registry_feature_filter), (gst_registry_find_plugin),
2329 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2330 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2331 * gst/gstregistryxml.c: (load_feature),
2332 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2333 * gst/gstminiobject.c: (gst_mini_object_unref),
2334 (gst_mini_object_replace), (gst_value_mini_object_free),
2335 (gst_value_mini_object_copy):
2336 Use _CAST macros to avoid unneeded type checking.
2337 Added some more G_UNLIKELY.
2339 2006-06-12 Wim Taymans <wim@fluendo.com>
2342 Avoid unneeded type checking.
2343 API: GST_BUFFER_IS_DISCONT
2345 * gst/gstminiobject.h:
2346 Avoid type check in flag accessor.
2348 * gst/gstelementfactory.h:
2350 * gst/gstpluginfeature.h:
2352 API: GST_ELEMENT_FACTORY_CAST
2353 API: GST_PLUGIN_CAST
2354 API: GST_PLUGIN_FEATURE_CAST
2356 2006-06-12 Wim Taymans <wim@fluendo.com>
2358 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2360 Add G_UNLIKELY in type registration.
2361 Avoid type check in _ref/_unref since that is also
2364 2006-06-12 Wim Taymans <wim@fluendo.com>
2366 * gst/gsterror.c: (gst_g_error_get_type):
2367 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2368 (gst_static_pad_template_get_type):
2369 * gst/gsttaglist.c: (gst_tag_list_get_type):
2370 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2371 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2372 * gst/gsturi.c: (gst_uri_handler_get_type):
2373 * gst/gstvalue.c: (gst_date_get_type):
2374 * gst/gstxml.c: (gst_xml_get_type):
2375 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2376 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2377 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2378 Add G_UNLIKELY in type registration.
2380 2006-06-12 Wim Taymans <wim@fluendo.com>
2382 * tools/gst-inspect.c: (print_signal_info):
2383 Properly print enum values.
2385 2006-06-12 Wim Taymans <wim@fluendo.com>
2387 * gst/gstinfo.c: (gst_debug_set_active),
2388 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2390 Add some G_[UN]LIKELY.
2391 Maintain __gst_debug_min to avoid formatting the arguments of
2392 debug messages that will be dropped anyway to avoid a lot of
2393 overhead from the debugging system.
2395 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2399 add missing files containing translatable strings, tell intltool about
2402 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2404 * tests/check/libs/.cvsignore:
2405 add test-binary to ignore list
2407 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2409 * docs/libs/gstreamer-libs-docs.sgml:
2410 reorder (put dp into a chapter) and indent
2412 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2417 === release 0.10.8 ===
2419 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2422 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2424 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2426 * gst/gst.c: (init_post):
2427 move pid declaration to declaration block
2429 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2431 * gst/gst.c: (init_post):
2432 use _exit() instead of exit() in our forked child; this ensures
2433 that none of the registered exit handlers from whatever is using
2434 GStreamer get executed. This fixes gnome-mixer-applet failing
2435 to load, because ORBit would shut down.
2436 Spotted by: Edward Hervey <edward@fluendo.com>
2437 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2440 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2445 === release 0.10.7 ===
2447 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2450 releasing 0.10.7, "Soepeke, ik zie ou"
2452 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2475 * win32/common/config.h:
2478 2006-06-07 Wim Taymans <wim@fluendo.com>
2480 * gst/gstindex.c: (gst_index_gtype_resolver):
2481 * tools/gst-xmlinspect.c: (print_plugin_info):
2482 Fix leak spotted by coverity checker. Fixes #343827
2483 Fix another other leak found by paolo borelli.
2485 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2487 * libs/gst/dataprotocol/dataprotocol.c:
2488 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2489 (gst_dp_version_get_type), (gst_dp_init),
2490 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2491 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2492 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2493 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2494 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2495 (gst_dp_packetizer_free):
2496 * libs/gst/dataprotocol/dataprotocol.h:
2497 API: add a GstDPPacketizer object, and create/free functions
2498 API: add GstDPVersion enum
2499 Add 1.0 event function that uses the string serialization
2500 Serialize more useful buffer flags
2503 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2505 * tests/check/Makefile.am:
2506 * tests/check/gst/gstabi.c:
2507 * tests/check/gst/struct_ppc64.h:
2508 * tests/check/libs/libsabi.c:
2509 * tests/check/libs/struct_ppc64.h:
2510 add ppc64 structure sizes
2512 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2514 * tests/check/Makefile.am:
2515 * tests/check/gst/gstabi.c:
2516 * tests/check/gst/struct_x86_64.h:
2517 * tests/check/libs/libsabi.c:
2518 * tests/check/libs/struct_x86_64.h:
2519 generate and add structure size lists for x86_64
2521 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2523 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2524 * libs/gst/check/gstcheck.h:
2525 factor out the method from tests that checks size of structures,
2526 and add code to generate the header containing these sizes
2527 * tests/check/gst/gstabi.c: (GST_START_TEST):
2528 * tests/check/gst/struct_i386.h:
2529 * tests/check/libs/libsabi.c: (GST_START_TEST):
2530 * tests/check/libs/struct_i386.h:
2533 2006-06-06 Michael Smith <msmith@fluendo.com>
2536 Don't use c++-style comments, fixes #343929
2538 2006-06-05 Edward Hervey <edward@fluendo.com>
2541 plugin_paths is not used if we build without registry support.
2543 * gst/gstsegment.c: (gst_segment_copy):
2544 _copy() was always returning NULL...
2546 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2548 * libs/gst/dataprotocol/dataprotocol.c:
2549 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2550 (gst_dp_packet_from_event):
2553 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2555 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2556 make sure we unset caps
2558 2006-06-02 Michael Smith <msmith@fluendo.com>
2560 * libs/gst/check/gstcheck.c: (gst_check_init),
2561 (gst_check_chain_func):
2562 * libs/gst/check/gstcheck.h:
2563 Add a cond/mutex to the check support lib, signal this whenever we
2564 add to the buffers list. This will allow tests to not busy-wait on
2567 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2569 * libs/gst/dataprotocol/dataprotocol.c:
2570 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2571 (gst_dp_packet_from_event):
2572 factor out some common header init code
2574 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2576 * docs/libs/gstreamer-libs-sections.txt:
2577 * docs/libs/tmpl/gstdataprotocol.sgml:
2578 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2579 * libs/gst/dataprotocol/dataprotocol.h:
2580 API: make gst_dp_crc() public
2582 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2584 * plugins/indexers/gstindexers.c: (plugin_init):
2585 conditionally register fileindexer (fixes #343598)
2587 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2589 * gst/gsttagsetter.h:
2590 Can't cast ifaces to a class
2592 * libs/gst/net/gstnetclientclock.h:
2593 * libs/gst/net/gstnettimeprovider.h:
2594 * plugins/elements/gstfakesink.h:
2595 * plugins/elements/gstfakesrc.h:
2596 * plugins/elements/gstfdsink.h:
2597 * plugins/elements/gstfdsrc.h:
2598 * plugins/elements/gstfilesink.h:
2599 * plugins/elements/gstfilesrc.h:
2600 * plugins/elements/gstidentity.h:
2601 * plugins/elements/gstqueue.h:
2602 * plugins/elements/gsttee.h:
2603 * plugins/indexers/gstfileindex.c:
2604 * plugins/indexers/gstmemindex.c:
2605 * tests/old/examples/plugins/example.h:
2606 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2608 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2610 * libs/gst/dataprotocol/dataprotocol.c:
2611 (gst_dp_header_from_buffer):
2612 make sure we zero the whole ABI-compatible area
2614 2006-06-01 Wim Taymans <wim@fluendo.com>
2616 Patch by: Alessandro Decina <alessandro at nnva dot org>
2618 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2619 Make sure the EOS flag is cleared from pads after a flush
2620 or stop. Fixes #343538.
2622 * tests/check/libs/collectpads.c: (GST_START_TEST),
2623 (gst_collect_pads_suite):
2624 Added test for collectpads reusage after EOS.
2626 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2629 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2630 * win32/common/libgstbase.def:
2631 export gst_collect_pads_set_flushing
2632 * win32/common/libgstreamer.def:
2633 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2634 gst_value_fraction_multiply
2635 * win32/vs6/gst_inspect.dsp:
2636 add a link to intl.lib
2638 2006-05-30 Wim Taymans <wim@fluendo.com>
2640 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2641 (gst_collect_pads_chain):
2642 Handle the case where a pad is removed from the collection
2643 that could cause the other pads to become collectable.
2645 2006-05-30 Wim Taymans <wim@fluendo.com>
2648 Clarify the use of _release_request_pad() and
2649 _get_request_pad() a bit better.
2651 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2652 (gst_adapter_take_buffer):
2653 Fix some doc and comment typos.
2655 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2657 * docs/gst/gstreamer-sections.txt:
2658 * docs/libs/gstreamer-libs-sections.txt:
2659 add declared symbols
2661 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2663 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2664 Add debug that can be enabled using a #define at the top of the file,
2665 for dumping stats about how late/early we were when waking up from
2666 waiting on the clock.
2668 2006-05-30 Wim Taymans <wim@fluendo.com>
2670 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2671 When rebuilding the pad list, don't leak the previous list.
2673 2006-05-30 Wim Taymans <wim@fluendo.com>
2675 Patch by: Lutz Mueller <lutz at topfrose dot de>
2677 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2678 (gst_base_src_get_query_types), (gst_base_src_update_length):
2679 Publish supported query types.
2680 Update last_stop field in get_range mode so the position
2681 query works. Fixes #342321.
2683 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2685 * docs/gst/gstreamer-sections.txt:
2686 * gst/gsttaglist.c: (_gst_tag_initialize):
2688 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2690 2006-05-30 Wim Taymans <wim@fluendo.com>
2692 Patch by: Alessandro Decina <alessandro at nnva dot org>
2694 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2695 Unlock mutex when removing an unknown pad.
2698 * tests/check/Makefile.am:
2699 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2700 (push_event), (setup), (teardown), (GST_START_TEST),
2701 (gst_collect_pads_suite), (main):
2702 Added collecpads check, disabled for now as check crashes for
2705 2006-05-29 Wim Taymans <wim@fluendo.com>
2707 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2708 Don't leak pads lists.
2710 2006-05-29 Wim Taymans <wim@fluendo.com>
2712 * docs/libs/gstreamer-libs-sections.txt:
2713 * libs/gst/base/gstcollectpads.c:
2714 (gst_collect_pads_set_flushing_unlocked),
2715 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2716 (gst_collect_pads_stop):
2717 * libs/gst/base/gstcollectpads.h:
2718 API: gst_collect_pads_set_flushing()
2719 Added api to set the pads to flushing, useful for seeking
2720 code in elements using collectpads.
2721 Clear segment when receiving a flush.
2723 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2725 * gst/gst.c: (add_path_func), (init_post):
2726 Don't scan registry paths passed via --gst-plugin-path immediately
2727 (will crash, because absolutely nothing is set up and no types are
2728 registered etc.); do this later in init_post(). Fixes #343057.
2730 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2732 * gst/gst.c: (init_post):
2733 if we have fork, fork while reading/rebuilding the registry
2734 so the parent doesn't take the hit of having all plugins loaded
2735 in memory. Fixes #342777.
2737 Check if we have fork()
2738 * win32/common/config.h.in:
2741 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2743 * plugins/elements/gstelements.c:
2744 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2745 (gst_file_src_init), (gst_file_src_set_property),
2746 (gst_file_src_get_property), (gst_file_src_start):
2747 * plugins/elements/gstfilesrc.h:
2748 API: GstFileSrc::use-mmap
2750 Add a use-mmap property to enable easier testing of all code paths.
2751 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2752 in the absence of gnomevfssrc. (Closes #340501)
2754 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2756 * tools/gst-inspect.c:
2757 Add missing include, removes warning of ngettext not being defined on
2760 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2762 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2763 Handle NULL input and output pointers silently as a failed conversion,
2764 rather than g_warnings.
2766 2006-05-25 Wim Taymans <wim@fluendo.com>
2768 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2769 Initialize variable before using. Fixes #342820.
2771 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2773 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2774 Fix off-by-one bug that would only allow peeks of N-1 bytes
2775 from the start even if the buffer to typefind on contains
2776 in fact N bytes of data (makes vorbis typefinding from a
2777 vorbis identification header buffer work).
2779 * tests/check/Makefile.am:
2780 * tests/check/libs/.cvsignore:
2781 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2782 (gst_typefindhelper_suite), (main), (foobar_typefind),
2784 Add very basic unit test for gst_type_find_helper_for_buffer()
2785 that checks for the problem fixed above.
2787 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2789 * tools/gst-inspect.c: (print_interfaces),
2790 (print_element_properties_info), (print_element_list), (main):
2791 add more translatable strings
2793 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2795 Patch by: Julien Moutte <julien at moutte net>
2797 * docs/gst/gstreamer-sections.txt:
2798 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2800 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2801 (gst_fake_sink_preroll):
2802 * plugins/elements/gstfakesink.h:
2803 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2805 2006-05-23 Wim Taymans <wim@fluendo.com>
2807 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2809 Added _CUSTOM error and success GstFlowReturn that can be
2810 used be elements internally.
2811 Added macro to check for SUCCESS flowreturns.
2812 API: GST_FLOW_CUSTOM_SUCCESS
2813 API: GST_FLOW_CUSTOM_ERROR
2814 API: GST_FLOW_IS_SUCCESS
2816 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2817 Added check for GstFlowReturn sanity.
2819 2006-05-23 Wim Taymans <wim@fluendo.com>
2821 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2823 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2824 (gst_collect_pads_event):
2825 clear/reset segment info in FLUSH_STOP.
2828 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2830 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2831 (gst_collect_pads_check_collected):
2832 Flush queued buffer on _stop(), fixes playing again (#342454)
2834 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2836 * tests/check/gst/gststructure.c: (GST_START_TEST),
2837 (gst_structure_suite):
2838 add a test for a complete structure
2840 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2842 * docs/faq/developing.xml:
2844 * docs/faq/troubleshooting.xml:
2845 * docs/faq/using.xml:
2846 Some minor FAQ updates that won't change the fact that
2847 our FAQ is badly structured, full of information hardly
2848 anyone new to GStreamer needs to know and lacking lots
2849 of information people constantly ask for.
2851 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2853 * gst/gstpad.c: (gst_pad_set_caps):
2854 Short-circuit gst_pad_set_caps if setting the existing
2855 caps pointer again, and avoid printing debug and
2856 reffing/unreffing the caps.
2858 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2859 There's actually no need to set the caps before pushing -
2860 the acceptcaps method will handle it anyway.
2862 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2864 * docs/gst/gstreamer-sections.txt:
2865 * win32/common/libgstreamer.def:
2866 * gst/gstutils.c: (gst_element_seek_simple):
2868 API: add gst_element_seek_simple() (#342238).
2870 2006-05-18 Edward Hervey <edward@fluendo.com>
2872 * gst/gsttypefind.c: (gst_type_find_get_type):
2873 * gst/gsttypefind.h:
2874 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2875 registered for GstTypeFind pointers. This allows wrapping the structure
2876 in bindings (i.e. gst-python).
2878 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2880 * gst/gsttagsetter.c:
2881 Docs additions and fixes (see #339918).
2883 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2885 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2886 The caps intersection algorithm can produce multiple copies of the
2887 caps. Until that is fixed, we need to simplify the result to be
2888 sure whether the allowed caps are fixed or not.
2890 * plugins/elements/gstqueue.c: (gst_queue_init),
2891 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2892 (gst_queue_push_one):
2893 Proxied buffer alloc should not set the caps on the source pad.
2894 When pushing buffers, we always accept the caps change that triggers.
2895 This prevents negotiation errors caused by caps changing mid-stream
2896 and then being refused on our source pad (because upstream is now
2897 refusing those caps).
2899 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2901 * tests/examples/helloworld/helloworld.c: (main):
2902 Must plug audioconvert and audioresample between decoder
2905 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2907 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2908 (load_feature), (load_plugin):
2909 Allow empty strings for some of the plugin fields so we don't
2910 drop valid plugin entries that were written out correctly
2913 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2915 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2916 Use g_remove and g_rename instead of remove and rename that don't
2917 handle utf8 characters. rename was failing for users who had specific
2918 characters in their name then the registry was built at each
2920 * win32/vs6/gst_inspect.dsp:
2921 * win32/vs6/gst_launch.dsp:
2922 * win32/vs6/libgstbase.dsp:
2923 * win32/vs6/libgstcoreelements.dsp:
2924 * win32/vs6/libgstreamer.dsp:
2925 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2926 build of libgstreamer and clean unused libraries in projects link
2929 2006-05-17 Edward Hervey <edward@fluendo.com>
2931 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2932 The queue is not responsible for pushing an EOS when receiving a fatal
2933 flow error. It's up to the real element driving the pipeline to do that.
2935 2006-05-16 Edward Hervey <edward@fluendo.com>
2937 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2938 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2939 buffer returned a fatal error. It should just send an EOS and stop
2941 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2942 when pushing buffers on the queue and will be able to handle the event.
2944 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
2946 * docs/manual/basics-bins.xml:
2947 * docs/manual/basics-init.xml:
2948 Fix typos and minor errors in sample code (#341856).
2950 2006-05-16 Wim Taymans <wim@fluendo.com>
2952 * docs/design/part-qos.txt:
2953 Fix indexes in formulas to make more sense.
2955 2006-05-15 Wim Taymans <wim@fluendo.com>
2957 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2958 Don't report POSITION based on clock time if sync is
2961 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
2964 Add cast to make compiler happy - refcount variable was a gint
2965 in GstObject but is a guint in GObject and g_atomic_int_get()
2968 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
2970 * gst/parse/Makefile.am:
2971 chain commands using &&, which also makes parallel make work
2973 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
2975 * docs/gst/gstreamer-sections.txt:
2981 === release 0.10.6 ===
2983 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
2986 releasing 0.10.6, "Take the cannoli"
2988 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
2990 * tools/gst-launch.c: (print_tag):
2991 Fix use of uninitialized variable in the hypothetical
2992 case that some broken plugin creates a GST_TAG_IMAGE
2993 tag containing a NULL buffer (#341667).
2995 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
2997 * tools/gst-launch.c: (print_tag):
2998 Print something more intelligible for image tags when
2999 using the -t switch (#341556).
3001 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3006 define GST_MAJORMINOR so we have it available in win32/common/config.h
3007 Possibly remove it from our Makefile.am files later
3008 * win32/common/config.h:
3009 * win32/common/config.h.in:
3010 added GST_MAJORMINOR
3011 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3012 * win32/common/gstversion.h:
3015 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3018 Update win32 files listing.
3019 * win32/common/gstversion.h:
3020 Add GST_MAJORMINOR definition.
3021 * win32/common/libgstreamer.def:
3022 Add new exported functions.
3024 2006-05-12 Michael Smith <msmith@fluendo.com>
3026 * gst/gstplugin.c: (gst_plugin_load_file):
3027 If an so file has no plugin entry point, unload the module.
3029 2006-05-11 Wim Taymans <wim@fluendo.com>
3031 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3032 (gst_queue_set_property):
3033 Don't forget to signal the _chain or _loop function
3034 when the queue size or thresholds change since that might
3035 cause them to make progres again.
3037 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3039 * gst/gstclock.c: (gst_clock_class_init):
3040 * gst/gstindex.c: (gst_index_class_init):
3041 * gst/gstobject.c: (gst_object_class_init):
3042 * gst/gstpad.c: (gst_pad_class_init):
3043 * gst/gstpipeline.c: (gst_pipeline_class_init):
3044 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3045 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3046 * libs/gst/base/gstbasetransform.c:
3047 (gst_base_transform_class_init):
3048 * libs/gst/net/gstnetclientclock.c:
3049 (gst_net_client_clock_class_init):
3050 * libs/gst/net/gstnettimeprovider.c:
3051 (gst_net_time_provider_class_init):
3052 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3053 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3054 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3055 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3056 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3057 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3058 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3059 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3060 * plugins/elements/gsttee.c: (gst_tee_class_init):
3061 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3062 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3063 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3065 2006-05-11 Wim Taymans <wim@fluendo.com>
3067 * gst/gstbuffer.c: (_gst_buffer_initialize):
3068 Register subbufer along with the buffer type so that
3069 it does not accidentally gets registered from N
3070 different streaming threads in a non threadsafe way.
3072 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3077 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3078 gst_event_ref() and gst_message_ref() functions again
3079 (ugly hack, please do fix if there's a better way besides
3080 overrides.txt, which doesn't seem to work).
3082 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3084 * libs/gst/check/gstcheck.h:
3085 add an assert for setting state to avoid lots of repetitive code
3088 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3090 * gst/gstvalue.c: (gst_value_serialize_flags):
3091 fix a leak if no flags are set
3092 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3095 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3097 * docs/manual/basics-pads.xml:
3098 Expand a bit on caps and filtered links and update
3099 examples that were still using the no longer existing
3100 gst_pad_link_filtered() (#338206).
3102 2006-05-10 Wim Taymans <wim@fluendo.com>
3104 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3105 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3106 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3107 (gst_collect_pads_stop):
3108 * libs/gst/base/gstcollectpads.h:
3109 No need to call _stop in _finalize.
3110 Iterate the main pad list in _finalize.
3111 Added some more debug.
3112 Free lists and data in the right order.
3113 Also free data whem doing _remove_pad when stopped for
3114 backward compatibility protect ::started with PAD_LOCK as
3117 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3119 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3120 (gst_structure_parse_value):
3122 rename a method so that it actually says what it does better
3124 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3126 * gst/gstevent.c: (_gst_event_initialize):
3127 * gst/gstformat.c: (_gst_format_initialize):
3128 make sure some essential types used by events are registered
3129 as part of gst_init()
3130 * gst/gstvalue.c: (gst_value_serialize_flags):
3131 if no flags are set, serialize them to a value that represents NONE
3132 so that deserializing them works
3133 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3134 add tests for serialization and deserialization of flags
3136 2006-05-10 Wim Taymans <wim@fluendo.com>
3138 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3139 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3140 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3141 (gst_collect_pads_event), (gst_collect_pads_chain):
3144 Catch and return errors from the collect function
3145 Refuse data on eos pads.
3147 2006-05-10 Edward Hervey <edward@fluendo.com>
3149 * gst/gstinterface.h:
3150 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3151 GInterface type checking.
3152 They were previously using non-defined macros.
3154 2006-05-09 Wim Taymans <wim@fluendo.com>
3156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3157 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3158 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3159 (gst_collect_pads_start), (gst_collect_pads_stop),
3160 (gst_collect_pads_peek), (gst_collect_pads_pop),
3161 (gst_collect_pads_available), (gst_collect_pads_read),
3162 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3163 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3164 (gst_collect_pads_chain):
3165 * libs/gst/base/gstcollectpads.h:
3166 Clean up the mess that is collectpads, add comments and
3167 FIXMEs where needed.
3168 Maintain a separate pad list so we can add pads while
3169 collecting the other ones. For this we need a new separate
3171 Fix memory leak in finalize.
3172 Refactor some weird code to set/unset pad flushing flags, mark
3174 Don't crash in _available, _read, _flush when we're EOS.
3176 * tests/check/libs/.cvsignore:
3177 Ignore adapter check binary.
3179 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3181 * gst/gstindex.c: (gst_index_resolver_get_type):
3182 * plugins/elements/gstfakesink.c:
3183 (gst_fake_sink_state_error_get_type):
3184 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3185 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3186 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3187 Const-ify GEnumValue arrays.
3189 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3191 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3192 Add test case for flags + gst_buffer_make_metadata_writable().
3194 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3196 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3197 gst_buffer_make_metadata_writable() should maintain the
3198 buffer flags (those that make sense at least) (see #340859).
3200 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3202 * tools/gst-inspect.c:
3203 * tools/gst-launch.c:
3204 * tools/gst-typefind.c:
3205 * tools/gst-xmlinspect.c:
3207 Fix up includes: need to include stdlib.h in tools.h for exit().
3209 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3211 * gst/gsttaglist.c: (_gst_tag_initialize):
3213 API: add GST_TAG_IMAGE tag (#340721).
3215 2006-05-08 Wim Taymans <wim@fluendo.com>
3218 Added some docs for the segment query.
3220 2006-05-08 Wim Taymans <wim@fluendo.com>
3222 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3223 (gst_base_src_loop), (gst_base_src_change_state):
3224 Always push non-flushing serialized events in the streaming
3227 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3229 * gst/gsterror.c: (_gst_stream_errors_init):
3230 Add a missing error string.
3232 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3234 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3235 Add applied_rate to the debug
3237 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3238 Copy applied_rate into the outgoing NEWSEGMENT event
3240 2006-05-08 Wim Taymans <wim@fluendo.com>
3242 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3244 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3245 (gst_base_sink_change_state):
3246 call ::unlock before taking the PREROLL_LOCK so we can safely
3247 handle elements that lock in ::render.
3250 2006-05-08 Edward Hervey <edward@fluendo.com>
3252 * autogen.sh: (CONFIGURE_DEF_OPT):
3253 Darwin's libtoolize is in fact called glibtoolize.
3254 Adding glibtoolize to the list of accepted names for libtoolize.
3256 2006-05-08 Wim Taymans <wim@fluendo.com>
3258 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3259 Unify error handling, don't post an error message
3260 when a push() returns EOS but perform our normal EOS
3261 handling code. Fixes #340772.
3263 2006-05-08 Wim Taymans <wim@fluendo.com>
3265 * docs/design/part-overview.txt:
3266 Make upsteam/downstream concepts more clear.
3267 Give an example of serialized/non-serialized events.
3269 * docs/design/part-events.txt:
3270 * docs/design/part-streams.txt:
3271 Mention applied_rate.
3273 * docs/design/part-trickmodes.txt:
3274 Mention applied rate, flesh out some more use cases.
3276 * gst/gstevent.c: (gst_event_new_new_segment),
3277 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3278 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3279 (gst_event_parse_tag), (gst_event_new_buffer_size),
3280 (gst_event_parse_buffer_size), (gst_event_new_qos),
3281 (gst_event_parse_qos), (gst_event_parse_seek),
3282 (gst_event_new_navigation):
3284 Add applied_rate field to NEWSEGMENT event.
3285 API: gst_event_new_new_segment_full()
3286 API: gst_event_parse_new_segment_full()
3288 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3289 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3290 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3292 Add applied_rate to GstSegment structure.
3293 Make calculation of stream_time and running_time more correct
3294 wrt rate/applied_rate.
3296 API: GstSegment::applied_rate field
3297 API: gst_segment_set_newsegment_full();
3299 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3300 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3301 * libs/gst/base/gstbasetransform.c:
3302 (gst_base_transform_sink_eventfunc),
3303 (gst_base_transform_handle_buffer):
3304 Parse and use applied_rate in the GstSegment field.
3306 * tests/check/gst/gstevent.c: (GST_START_TEST):
3307 Add check for applied_rate field.
3309 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3310 (gstsegments_suite):
3311 Add more checks for various GstSegment operations.
3313 2006-05-08 Wim Taymans <wim@fluendo.com>
3315 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3316 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3317 (gst_base_sink_get_position), (gst_base_sink_change_state):
3318 Store the sync time of the buffer end position separatly in a
3319 new variable eos_rtime so we can properly sync the EOS event.
3321 Fix the docs for gst_base_sink_set_qos_enabled().
3322 Don't set segment start to invalid value when we receive a
3323 non TIME newsegment.
3324 get closer to handling position reporting for negative rates
3327 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3330 Docs about how to print caps for debug purposes.
3332 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3333 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3335 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3338 use full enum names and preprend a '%' in docs strings to make recent
3339 gtk-doc turn that into a link
3341 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3343 * docs/manual/basics-bins.xml:
3344 * docs/manual/basics-bus.xml:
3345 * docs/manual/basics-pads.xml:
3346 Some typo fixes, some additions, some clarifications.
3348 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3350 * tools/gst-inspect.c: (main):
3351 * tools/gst-launch.c: (main):
3352 * tools/gst-run.c: (main):
3353 * tools/gst-typefind.c: (main):
3354 * tools/gst-xmlinspect.c: (main):
3355 Use the string passed to g_option_context_new() for
3356 what it's intended for - the program name is already
3359 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3361 * tools/Makefile.am:
3362 * tools/gst-inspect.c: (main):
3363 * tools/gst-launch.c: (main):
3364 * tools/gst-xmlinspect.c: (main):
3366 Add back --version command line option (#340460).
3368 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3369 Add --version option and use GOption for argument parsing; refactor a
3370 bit; accept directories as arguments and recurse into them; lastly,
3371 print a decent error message when things go wrong.
3373 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3375 * docs/manual/basics-bins.xml:
3376 Don't mention GstThread (#340611)
3377 * docs/manual/basics-elements.xml:
3378 Update link to GObject tutorial (#340607)
3380 2006-05-05 Wim Taymans <wim@fluendo.com>
3383 * gst/gstminiobject.c:
3384 Add note about refcounting and miniobject/buffer writeability
3385 to docs. Fixes #340604
3387 * gst/gstelementfactory.h:
3388 Added some explanation about @klass.
3390 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3392 * docs/manual/intro-motivation.xml:
3393 * docs/manual/manual.xml:
3394 Avoid CORBA & Bonobo references (#340598)
3396 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3398 * docs/manual/basics-bus.xml:
3399 * docs/manual/basics-pads.xml:
3400 Fix up some inaccuracies and omissions (#340609)
3402 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3404 * gst/gstghostpad.c:
3405 Small typo in docs (#340625)
3407 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3409 * gst/parse/Makefile.am:
3410 Make 'make -j' proof (see #340698).
3412 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3415 Require GLib-2.8 here as well.
3417 2006-05-05 Wim Taymans <wim@fluendo.com>
3419 * gst/glib-compat.c:
3420 * gst/gst.c: (init_pre):
3421 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3422 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3423 (gst_object_dispatch_properties_changed):
3425 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3426 * gst/gststructure.c: (gst_structure_set_valist):
3427 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3428 Remove pre glib2.8 compatibility, fixes #340508
3430 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3433 Mention type of tags in doc blurbs.
3435 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3437 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3438 (gst_pad_configure_src), (gst_pad_push):
3439 Restore acceptcaps checking behaviour now that good plugins have
3442 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3444 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3455 * gst/parse/Makefile.am:
3456 * libs/gst/base/gstadapter.c:
3457 * libs/gst/base/gstbasesrc.c:
3458 * libs/gst/base/gstpushsrc.c:
3459 * libs/gst/base/gsttypefindhelper.c:
3460 * plugins/elements/gstfakesrc.c:
3461 * plugins/elements/gstidentity.c:
3462 Make sure gstprivate.h and/or config.h are
3463 always included first, otherwise some of our
3464 defines (like _FILE_OFFSET_BITS) might be
3465 redefined in the system headers. Fixes build
3466 on opensolaris (#340016).
3468 2006-05-04 Wim Taymans <wim@fluendo.com>
3470 * docs/libs/gstreamer-libs-sections.txt:
3471 API: addition: gst_adapter_take_buffer()
3473 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3474 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3475 (gst_adapter_available_fast):
3476 * libs/gst/base/gstadapter.h:
3477 Prepare for optimizing the hell out of this hugely inefficient
3479 Added gst_adapter_take_buffer() so we can at least start thinking
3480 about subbuffering and merging.
3481 Added some comments.
3483 * tests/check/Makefile.am:
3484 * tests/check/libs/adapter.c: (GST_START_TEST),
3485 (gst_adapter_suite), (main):
3486 Added GstAdapter check.
3488 2006-05-04 Wim Taymans <wim@fluendo.com>
3490 * docs/design/part-overview.txt:
3491 Fix some typos, add blurb about buffer flags.
3493 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3495 * docs/libs/gstreamer-libs-sections.txt:
3496 make sure GstBaseTransformClass shows up in the docs
3497 * libs/gst/base/gstbasetransform.c:
3498 * libs/gst/base/gstbasetransform.h:
3499 move docs so gtk-doc picks it up now
3501 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3503 * docs/libs/gstreamer-libs-sections.txt:
3504 add missing symbols to docs
3506 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3508 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3509 back out the newsegment handling change, see #340060 for ongoing
3512 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3514 * tools/gst-run.c: (get_candidates), (main):
3515 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3516 work); fix typo in error message. Fixes #340079.
3518 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3520 * common/Makefile.am:
3522 * docs/faq/Makefile.am:
3523 * docs/gst/Makefile.am:
3524 * docs/libs/Makefile.am:
3525 * docs/manual/Makefile.am:
3526 * docs/plugins/Makefile.am:
3527 * docs/pwg/Makefile.am:
3528 * docs/slides/Makefile.am:
3530 * common/upload.mak:
3531 move upload.mak to common
3533 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3535 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3536 add more asserts on refcounts
3537 do more cleanup at end of tests
3538 fix test leaks showing in FC5
3540 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3542 * plugins/elements/gsttypefindelement.c:
3543 (gst_type_find_element_handle_event):
3544 reverted wrong change and reflowed code to avoid others falling into
3547 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3550 fix changelog entry about last collectpads change,
3551 add notes about proper fix
3553 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3556 * gst/gstregistry.c: (gst_registry_scan_path_level),
3557 (gst_registry_scan_path):
3558 * gst/gstregistry.h:
3559 only write out registry if it has changed, fixes #338339
3561 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3564 * gst/gstpipeline.c:
3565 * plugins/elements/gstcapsfilter.c:
3566 * plugins/elements/gstfakesink.c:
3567 * plugins/elements/gstfakesrc.c:
3568 * plugins/elements/gstfdsink.c:
3569 * plugins/elements/gstfdsrc.c:
3570 * plugins/elements/gstfilesink.c:
3571 * plugins/elements/gstfilesrc.c:
3572 * plugins/elements/gstidentity.c:
3573 * plugins/elements/gstqueue.c:
3574 * plugins/elements/gsttee.c:
3575 * plugins/elements/gsttypefindelement.c:
3576 (gst_type_find_element_handle_event):
3577 make GstElementDetails const
3579 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3581 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3582 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3583 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3584 more detailed debug and formatting cleanup,
3585 forward newsegments to src-pad (so that e.g. adder not eats them)
3587 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3589 * gst/gstutils.c: (gst_element_link_pads):
3592 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3594 * libs/gst/controller/gstcontroller.c:
3595 (gst_controller_sync_values):
3597 * tests/check/libs/controller.c: (GST_START_TEST),
3598 (gst_controller_suite):
3599 a new test for live value handling
3601 2006-04-28 Wim Taymans <wim@fluendo.com>
3603 * gst/gstutils.c: (push_and_ref):
3604 Added some more docs.
3605 Fix refcount issue whith gst_element_found_tags() helper
3606 function. Fixes #338335
3608 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3609 Added testsuite for gst_element_found_tags().
3611 2006-04-28 Michael Smith <msmith@fluendo.com>
3613 * gst/gstvalue.c: (gst_value_serialize_flags):
3614 Avoid NULL dereference when trying to serialize flags containing
3617 2006-04-28 Michael Smith <msmith@fluendo.com>
3619 * plugins/elements/gsttypefindelement.c:
3620 (gst_type_find_element_handle_event):
3621 If we get EOS before any data is accumulated, don't use
3622 uninitialised local variables.
3624 2006-04-28 Michael Smith <msmith@fluendo.com>
3626 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3627 (gst_dp_event_from_packet):
3628 Fixes in reading/writing events over GDP (not currently used?) -
3629 dereferencing NULL events for unknown/invalid event types, memory
3630 leak, and change g_warning to GST_WARNING.
3632 2006-04-28 Wim Taymans <wim@fluendo.com>
3634 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3635 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3636 (gst_base_sink_get_position), (gst_base_sink_change_state):
3637 When frame dropping is enabled, we should not ignore frames
3639 Update some documentation.
3641 2006-04-28 Wim Taymans <wim@fluendo.com>
3643 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3644 (gst_base_src_send_event), (gst_base_src_change_state):
3645 Documentation updates.
3647 2006-04-28 Wim Taymans <wim@fluendo.com>
3649 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3650 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3651 handle EAGAIN, EINTR and short writes correctly. Also clean
3652 up some error cases, avoid a deadlock on bad file descriptors and
3653 use GST_DEBUG_OBJECT.
3656 2006-04-28 Wim Taymans <wim@fluendo.com>
3658 * gst/gstvalue.c: (gst_value_serialize_buffer),
3659 (gst_value_deserialize_buffer):
3660 Don't try to serialize a GValue with a NULL buffer.
3663 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3664 Added check for serialisation of NULL buffers.
3666 2006-04-28 Wim Taymans <wim@fluendo.com>
3668 * gst/gstminiobject.c: (gst_value_take_mini_object):
3669 Taking a NULL miniobject is valid, fix the case where
3670 we try to unref the NULL miniobject.
3672 2006-04-28 Wim Taymans <wim@fluendo.com>
3674 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3676 * gst/gstbin.c: (gst_bin_handle_message_func):
3678 Don't leak bin refcount when a state recalc is
3679 in progress and we delay another one #339808.
3681 2006-04-28 Wim Taymans <wim@fluendo.com>
3683 * docs/design/part-TODO.txt:
3684 Mention QoS as an ongoing work item.
3686 * docs/design/part-buffering.txt:
3687 New doc about buffering that needs to be fleshed out
3690 * docs/design/part-qos.txt:
3691 More QoS policy for decoders/demuxers/transforms
3693 * docs/design/part-trickmodes.txt:
3696 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3701 === release 0.10.5 ===
3703 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3706 releasing 0.10.5, "Fogo"
3708 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3710 patch by: Wim Taymans
3712 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3713 (gst_pad_configure_src), (gst_pad_push):
3714 * gst/gstpipeline.c: (gst_pipeline_init):
3715 Fix internal data flow errors. Fixes #338711.
3717 2006-04-12 Wim Taymans <wim@fluendo.com>
3719 * tests/check/gst/gstelement.c: (GST_START_TEST):
3720 Don't leak the factory.
3722 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3725 * win32/common/config.h:
3728 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3730 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3731 (gst_controller_unset_all):
3732 Free allocated GstTimedValues when freeing list nodes.
3733 Should fix leaks 'make check-valgrind' complains about.
3735 * win32/common/libgstcontroller.def:
3736 Add gst_controller_unset_all.
3738 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3740 * docs/libs/gstreamer-libs-sections.txt:
3741 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3742 (gst_controller_unset_all):
3743 * libs/gst/controller/gstcontroller.h:
3744 API: Added new method gst_controller_unset_all()
3745 fixed gst_controller_unset()
3746 * tests/check/libs/controller.c: (GST_START_TEST),
3747 (gst_controller_suite):
3748 Added two testcases for new and fixed method
3750 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3752 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3753 MSG_DONTWAIT is not defined on Cygwin, so work
3754 around that (fixes #317048).
3756 2006-04-11 Wim Taymans <wim@fluendo.com>
3758 * gst/gstelementfactory.c: (gst_element_register),
3759 (gst_element_factory_create), (gst_element_factory_make):
3762 Updated docs (Fixes #131079)
3764 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3767 * tests/check/gst/gstelement.c: (GST_START_TEST),
3768 (gst_element_suite):
3769 Added testcase for elementfactory class field.
3771 2006-04-10 Wim Taymans <wim@fluendo.com>
3774 Added some more docs.
3776 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3777 (gst_base_sink_reset_qos):
3778 Calculate more accurate rate values.
3780 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3782 * gst/gst_private.h:
3783 add a new #ifdef to use __declspec(dllimport) only for
3784 other modules and not for gstreamer core
3785 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3786 use gst_guint64_to_gdouble for conversion
3787 * win32/common/libgstreamer.def:
3788 add new exported functions
3789 * win32/vs6/gst_inspect.dsp:
3790 * win32/vs6/gst_launch.dsp:
3791 * win32/vs6/libgstbase.dsp:
3792 * win32/vs6/libgstcontroller.dsp:
3793 * win32/vs6/libgstcoreelements.dsp:
3794 * win32/vs6/libgstdataprotocol.dsp:
3795 * win32/vs6/libgstnet.dsp:
3796 update project files
3798 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3800 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3801 * gst/gstclock.c: (gst_clock_class_init):
3802 * gst/gstelement.c: (gst_element_class_init):
3803 * gst/gstindex.c: (gst_index_class_init):
3804 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3805 * gst/gstobject.c: (gst_object_class_init),
3806 (gst_signal_object_class_init):
3807 * gst/gstpad.c: (gst_pad_class_init):
3808 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3809 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3810 * gst/gstregistry.c: (gst_registry_class_init):
3811 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3812 * gst/gsttask.c: (gst_task_class_init):
3813 * gst/gstxml.c: (gst_xml_class_init):
3814 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3815 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3816 (gst_base_src_loop):
3817 * libs/gst/controller/gstcontroller.c:/
3818 (_gst_controller_class_init):
3819 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3820 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3821 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3822 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3823 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3824 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3826 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3828 * gst/gstpad.c: (gst_pad_link):
3829 Must set peer pads before calling the link function, otherwise
3830 a task started from a link function might get a flow-not-linked
3831 result when trying to push because the other thread where the
3832 linking happens hasn't had a chance to set the peers yet. This
3833 might happen for example when a queue gets linked to a downstream
3834 element, as queue starts a streaming task when its source pad
3835 gets linked. Happens in real life when playing back flac/musepack
3836 files in playbin (#332390).
3838 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3842 * libs/gst/base/gstadapter.h:
3843 * libs/gst/base/gstbasesink.h:
3844 * libs/gst/base/gstbasesrc.h:
3845 * libs/gst/base/gstbasetransform.h:
3846 * libs/gst/base/gstcollectpads.h:
3847 * libs/gst/base/gstpushsrc.h:
3848 Fix broken GObject macros
3850 2006-04-07 Wim Taymans <wim@fluendo.com>
3852 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3853 Initialize start and stop times, thanks valgrind.
3855 2006-04-07 Wim Taymans <wim@fluendo.com>
3857 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3858 Be a bit nicer to badly behaving upstream elements that expect
3859 us to deal with non TIME segments and timestamps (such as fakesrc
3862 2006-04-07 Wim Taymans <wim@fluendo.com>
3865 Small documentation clarification about the signal watch.
3867 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3868 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3869 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3870 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3871 (gst_base_sink_get_position_last),
3872 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3873 Convert and store timestamps in stream time and running time, the
3874 raw timestamps are not usefull, also document this better.
3875 Use different window sizes for good and bad QoS observations so
3876 we react to badness a little quicker.
3877 Keep track of the amount of rendered and dropped buffers.
3878 Send QoS timestamps in running time.
3880 * libs/gst/base/gstbasetransform.c:
3881 (gst_base_transform_sink_eventfunc),
3882 (gst_base_transform_handle_buffer):
3883 Compare QoS timestamps against running time.
3885 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3890 2006-04-06 Michael Smith <msmith@fluendo.com>
3892 * gst/gstpad.c: (gst_pad_set_property):
3893 Use g_value_get_object() instead of g_value_dup_gst_object(),
3894 to avoid double-reffing the pad template (which we then sink,
3895 so this worked previously if (and only if) the pad template
3898 * gst/gstpadtemplate.c: (gst_pad_template_init),
3899 (gst_pad_template_pad_created):
3900 Never return floating references to pad templates, create
3901 them as initially-sunken.
3903 Document an extra function (and make this stop sinking our
3904 pad template, since that is now guaranteed to do nothing,
3905 since we created it sunken).
3907 * gst/gstghostpad.c:
3910 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3912 * gst/gstinfo.c: (__gst_in_valgrind):
3915 * plugins/elements/gsttypefindelement.c:
3916 (gst_type_find_element_chain):
3917 Don't leak buffer caps.
3919 2006-04-06 Michael Smith <msmith@fluendo.com>
3921 * gst/parse/grammar.y:
3922 Fix a leak in parse-launch for any source-or-sink named element
3925 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3926 Unref the pipeline if it exists after we've failed parsing.
3928 2006-04-05 Michael Smith <msmith@fluendo.com>
3930 * gst/gstpipeline.c: (gst_pipeline_init):
3931 When we create a pipeline bus, initially create it in flushing mode.
3932 Fixes leaks in at least one test, and makes a new pipeline work the
3933 same as one that has gone to READY and then back to NULL.
3938 2006-04-05 Michael Smith <msmith@fluendo.com>
3940 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3941 Unref a pad we reffed.
3942 * tests/check/gst/gstutils.c: (GST_START_TEST):
3945 2006-04-05 Michael Smith <msmith@fluendo.com>
3947 * gst/gstquery.c: (gst_query_set_formats),
3948 (gst_query_set_formatsv):
3949 Fix leaking GValues in queries, as shown by valgrind/testsuite.
3951 2006-04-05 Michael Smith <msmith@fluendo.com>
3953 * tests/check/generic/sinks.c: (GST_START_TEST):
3954 Fix a variety of memleaks in sinks check, which are only sometimes
3955 shown by running the tests under valgrind (weird?).
3957 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
3959 * docs/version.entities.in:
3960 Fix the substituted entity name after thomas' changes on the
3963 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3965 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3968 2006-04-05 Andy Wingo <wingo@pobox.com>
3970 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3972 * libs/gst/base/gstbasetransform.c
3973 (gst_base_transform_sink_eventfunc): When resetting our segment on
3974 FLUSH_STOP, also update the flag saying we haven't seen a
3977 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3979 Patch by: Paolo Borelli <pborelli at katamail dot com>
3981 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3982 (gst_plugin_check_license):
3983 minor clean-ups: G_DEFINE_TYPE already takes care of the
3984 parent_class stuff, no need to do it twice. Mark array of
3985 license strings as constant. (#337103)
3987 2006-04-04 Michael Smith <msmith@fluendo.com>
3989 * tools/gst-inspect.c: (print_element_list):
3990 Free the right plugin list; fixes a memory leak.
3992 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3994 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3996 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3997 Don't error out on empty buffers (#336945).
3999 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4001 * docs/libs/gstreamer-libs-sections.txt:
4003 * libs/gst/base/gstbasesink.c:
4004 * libs/gst/base/gstbasesink.h:
4005 * libs/gst/base/gstbasesrc.c:
4006 * libs/gst/base/gstbasesrc.h:
4007 Documentation updates. Make BaseSink and BaseSrc docs contain the
4008 class structure so that people can actually see the prototypes for
4009 virtual functions they're supposed to be overriding.
4011 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4013 * plugins/elements/gsttypefindelement.c:
4014 (gst_type_find_element_chain):
4015 More debug info; when skipping typefinding, send cached
4016 events in all cases.
4018 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4021 use new AS_VERSION and AS_NANO macros
4022 * gst/gst-i18n-lib.h:
4025 * gst/gstversion.h.in:
4026 * win32/common/config.h:
4027 * win32/common/config.h.in:
4030 2006-03-31 Michael Smith <msmith@fluendo.com>
4032 * plugins/elements/gsttypefindelement.c:
4033 (gst_type_find_element_chain):
4034 Do not typefind content if the buffers already have caps.
4035 Neccesary for icydemux (#333657), and the right thing to do anyway.
4037 2006-03-30 Wim Taymans <wim@fluendo.com>
4039 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4040 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4041 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4042 (gst_base_sink_record_qos_observation),
4043 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4044 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4045 (gst_base_sink_change_state):
4046 More QoS measurements as described in the design doc.
4047 Get rid of ringbuffer with observations, running average is
4048 more simple and equally good.
4049 Calculates valid proportion now.
4050 Added beginning of flood measurement.
4052 2006-03-29 Wim Taymans <wim@fluendo.com>
4054 * docs/design/part-qos.txt:
4056 Small documentation updates and additions.
4058 2006-03-29 Wim Taymans <wim@fluendo.com>
4060 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4061 (gst_base_src_send_event), (gst_base_src_loop),
4062 (gst_base_src_change_state):
4063 Perform the EOS logic when we reach the segment stop position.
4064 Fix compilation on gcc4.1
4066 2006-03-29 Wim Taymans <wim@fluendo.com>
4068 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4070 * plugins/elements/gstqueue.c: (gst_queue_init),
4071 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4072 (gst_queue_set_property):
4073 * plugins/elements/gstqueue.h:
4074 In queue, when EOS is received, if minimum threshold > max_size -
4075 current_level, there is chance that queue blocks forever in conditional
4076 item del wait. This is because the queue is not emptied completely due
4077 to minimum threshold. Here is another approach. Instead of setting
4078 cur_levels to max in EOS, just zero all minimum threshold levels. This
4079 should make sure that queue gives out all data. When going to READY
4080 (stop) state, just reset the original minimum threshold levels.
4083 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4085 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4086 (gst_type_find_element_handle_event),
4087 (gst_type_find_element_send_cached_events),
4088 (gst_type_find_element_change_state):
4089 * plugins/elements/gsttypefindelement.h:
4090 When typefinding is done in push mode, we should cache
4091 events we receive during typefinding instead of just
4092 dropping them (e.g. newsegment, custom events from
4093 dvdreadsrc etc.) and then send them out once we've
4094 determined the type of the stream (and decodebin
4095 has had a chance to plug in a decoder/demuxer).
4097 2006-03-27 Wim Taymans <wim@fluendo.com>
4099 * docs/design/part-qos.txt:
4102 2006-03-27 Wim Taymans <wim@fluendo.com>
4104 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4106 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4107 (gst_base_src_send_event), (gst_base_src_change_state):
4108 Handle element seek correctly when we are streaming.
4111 2006-03-24 Michael Smith <msmith@fluendo.com>
4113 * docs/faq/gst-uninstalled:
4114 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4115 allow you to correctly run intalled applications built against old
4116 core, using plugins that require updated core (e.g. running
4117 installed totem against a full uninstalled gstreamer stack)
4119 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4121 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4124 2006-03-24 Wim Taymans <wim@fluendo.com>
4126 * docs/gst/gstreamer-sections.txt:
4127 Rearrange the order of the methods so that related methods
4128 are grouped together in sections.
4130 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4133 Little clarification in the docs
4135 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4139 * plugins/elements/gstidentity.c:
4140 * plugins/elements/gstqueue.c:
4141 * plugins/elements/gsttee.c:
4142 * plugins/elements/gsttypefindelement.c:
4143 GST_ELEMENT_DETAILS formatting
4145 2006-03-24 Wim Taymans <wim@fluendo.com>
4147 * libs/gst/base/gstbasesink.h:
4148 Only add fields, not insert or we break ABI.
4150 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4152 * win32/common/libgstbase.def:
4153 * win32/common/libgstreamer.def:
4154 Update, add recently added functions.
4156 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4158 * docs/gst/gstreamer-sections.txt:
4159 * gst/gstutils.c: (gst_pad_query_peer_position),
4160 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4162 API: add some new utility functions:
4163 - gst_pad_query_peer_position()
4164 - gst_pad_query_peer_duration()
4165 - gst_pad_query_peer_convert()
4167 2006-03-23 Wim Taymans <wim@fluendo.com>
4169 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4170 (gst_base_sink_init), (gst_base_sink_finalize),
4171 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4172 (gst_base_sink_set_property), (gst_base_sink_get_property),
4173 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4174 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4175 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4176 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4177 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4178 (gst_base_sink_preroll_object), (gst_base_sink_event),
4179 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4180 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4181 (gst_base_sink_query), (gst_base_sink_change_state):
4182 Decouple max-lateness and the fact that QoS messages are generated
4183 with a new property (qos).
4184 added API: GstBaseSink::async_play()
4185 Add vmethod so subclasses can be notified of ASYNC playing
4187 Collect timestamp start and stop to report better current
4188 position in EOS/PLAYING/PAUSED/READY/NULL.
4189 Refactor QoS/frame dropping and other measurements.
4190 API: GstBaseSrc::qos
4193 * libs/gst/base/gstbasesink.h:
4194 Added Private struct.
4195 API: gst_base_sink_set_qos_enabled()
4196 API: gst_base_sink_is_qos_enabled()
4198 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4200 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4201 If compiling against GLib-2.8 or newer, try to read the
4202 registry file using GMappedFile first before falling back
4203 to fopen() + fread() (#332151).
4205 2006-03-22 Wim Taymans <wim@fluendo.com>
4207 * gst/gstinfo.c: (gst_debug_set_active),
4208 (gst_debug_category_set_threshold):
4209 Disable debugging unless explicitly activated.
4212 2006-03-22 Wim Taymans <wim@fluendo.com>
4214 * gst/gstelement.c: (gst_element_set_locked_state),
4215 (gst_element_dispose):
4216 Cleanup the error case.
4218 * gst/gstobject.c: (gst_object_dispose):
4219 print a critical when some object was disposed with
4220 a parent, also revive the object since it might
4223 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4225 * tools/gst-launch.1.in:
4228 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4231 * tests/check/Makefile.am:
4232 disable some tests when we don't have a registry
4233 * tests/check/gst/gstutils.c: (gst_utils_suite):
4234 don't build the part that needs parsing
4236 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4239 * tests/examples/Makefile.am:
4240 fix --disable-parse build
4242 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4244 * tools/gst-feedback.1.in:
4245 Fix typo: s/feeback/feedback/ (#133494).
4247 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4249 * tools/Makefile.am:
4250 * tools/gst-launch.1.in:
4251 Add FILES section and correct entry about GST_REGISTRY_PATH
4252 environment variable (#133495; #133494).
4254 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4256 * tools/Makefile.am:
4257 * tools/gst-md5sum.1.in:
4258 * tools/gst-md5sum.c:
4259 Remove gst-md5sum and man page (the md5sink element
4260 required was removed ages ago)
4262 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4264 * gst/gststructure.c: (gst_structure_id_set_value):
4265 Make sure that string fields in structures/taglists
4266 contain valid UTF-8 - we don't want to pass rubbish to
4267 applications because of a buggy plugin (cp. #334167).
4269 2006-03-21 Edward Hervey <edward@fluendo.com>
4271 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4272 (gst_bin_handle_message_func):
4273 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4274 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4275 (gst_element_set_bus_func):
4276 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4277 * gst/gstminiobject.c: (gst_value_set_mini_object),
4278 (gst_value_take_mini_object):
4279 * gst/gstpad.c: (gst_pad_set_pad_template):
4280 * gst/gstpipeline.c: (gst_pipeline_dispose),
4281 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4282 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4283 (gst_collect_pads_chain):
4284 * libs/gst/net/gstnettimeprovider.c:
4285 (gst_net_time_provider_set_property):
4286 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4287 It's in fact all issues with gst_*object_replace().
4289 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4291 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4293 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4294 * pkgconfig/gstreamer-check.pc.in:
4295 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4297 2006-03-21 Edward Hervey <edward@fluendo.com>
4302 gst_[buffer|event|message]_ref() macros are replaced by a static
4303 inline functions because gcc-4.1 will about if the return value
4305 * tests/check/gst/gstevent.c: (event_probe):
4306 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4308 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4311 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4312 the type' case. (Closes: #335195 for now). In the future, when we
4313 depend on GLib 2.10, we could also intern the type name using
4314 g_intern_static_string()
4316 2006-03-20 Wim Taymans <wim@fluendo.com>
4318 * gst/gstbin.c: (gst_bin_handle_message_func),
4319 (bin_query_max_init), (bin_query_position_fold),
4320 (bin_query_position_done), (gst_bin_query):
4321 Position query should also take max of all streams.
4323 2006-03-20 Wim Taymans <wim@fluendo.com>
4325 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4326 (gst_fake_src_finalize):
4327 Fix leaks in fakesrc.
4329 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4330 Fix leaks in the testcase.
4332 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4334 * gst/gst_private.h:
4335 add win32 specific import decoration(__declspec(dllimport))
4336 for all extern GstDebugCategory * variables
4337 * win32/common/libgstbase.def:
4338 * win32/common/libgstcontroller.def:
4339 * win32/common/libgstreamer.def:
4340 Add some exports, remove empty lines
4341 * win32/common/libgstdataprotocol.def:
4342 * win32/common/libgstdataprotocol.dsp:
4343 * win32/common/libgstnet.def:
4344 * win32/common/libgstnet.dsp:
4345 new project files and exportation files added
4347 2006-03-19 Wim Taymans <wim@fluendo.com>
4349 * tests/check/libs/basesrc.c: (eos_event_counter):
4350 Use proper return value for probe.
4352 2006-03-17 Wim Taymans <wim@fluendo.com>
4354 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4356 Don't leak buffers, caps and pads on negotiation errors.
4358 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4361 * docs/faq/dependencies.xml:
4362 * docs/faq/developing.xml:
4364 * docs/faq/general.xml:
4365 * docs/faq/getting.xml:
4366 * docs/faq/legal.xml:
4367 * docs/faq/troubleshooting.xml:
4368 * docs/faq/using.xml:
4369 Faq review and update.
4371 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4373 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4375 Don't pound the cpu to pieces by checking get_caps when accept_caps
4376 is called with the same caps as the pad already has.
4377 Use GST_DEBUG_OBJECT when outputting caps change information.
4379 2006-03-15 Wim Taymans <wim@fluendo.com>
4381 * gst/gstclock.c: (gst_clock_class_init):
4384 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4389 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4390 (gst_pad_accept_caps), (gst_pad_configure_sink),
4391 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4392 Make the default acceptcaps behaviour be to check the requested
4393 caps against the gst_pad_get_caps output.
4395 Ensure that gst_pad_accept_caps is used to check caps when a pad
4396 doesn't have a setcaps function, so that pads automatically refuse
4397 caps that they don't allow in their pad template. (Fixes #332986)
4399 When a buffer with attached caps is pushed, ensure that the source
4400 pad receives those caps even if the element didn't call
4401 gst_pad_set_caps first.
4403 2006-03-15 Wim Taymans <wim@fluendo.com>
4405 * libs/gst/base/gstadapter.c:
4408 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4410 * win32/common/libgstbase.def:
4411 * win32/common/libgstcontroller.def:
4412 * win32/common/libgstreamer.def:
4413 Add a whole bunch of missing functions (#334434).
4415 2006-03-14 Wim Taymans <wim@fluendo.com>
4417 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4418 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4419 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4420 Better debug info when we receive a segment event.
4421 Reorganize a bit so we can pass the get_times() results around.
4422 Use the segment format when calculating the running time.
4423 Don't do QoS is sync is disabled or we have no clock or the
4424 element does not want us to sync to the clock.
4425 Don't drop buffers if QoS is disabled for now.
4427 2006-03-14 Wim Taymans <wim@fluendo.com>
4429 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4430 Marked the stats property as unimplemented so people don't get
4432 Add debug message when regression goes wrong.
4433 Added some more docs.
4435 2006-03-14 Wim Taymans <wim@fluendo.com>
4437 * gst/gstsegment.c: (gst_segment_to_stream_time):
4438 Return correct return type in case of errors.
4440 2006-03-14 Wim Taymans <wim@fluendo.com>
4442 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4443 Don't segfault on invalid formats.
4445 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4447 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4448 Can't use gst_segment_to_running_time() when the segment
4449 is not in GST_TIME_FORMAT (like with filesink, for example).
4450 Stops flac encoding pipelines from spewing critical warnings
4453 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4455 * gst/gstpipeline.c: (gst_pipeline_class_init):
4456 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4458 * plugins/elements/gsttypefindelement.c:
4459 (gst_type_find_element_handle_event):
4460 Don't try to typefind empty streams.
4462 2006-03-14 Wim Taymans <wim@fluendo.com>
4464 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4465 (gst_base_sink_do_qos):
4466 Separate QoS calculation.
4467 Only drop buffers when lateness is bigger than the
4468 duration of the buffer.
4470 2006-03-13 Wim Taymans <wim@fluendo.com>
4472 * gst/gstpipeline.c: (gst_pipeline_set_property),
4473 (gst_pipeline_get_property), (do_pipeline_seek),
4474 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4475 (gst_pipeline_get_delay):
4476 Don't deadlock when reading properties.
4478 2006-03-13 Wim Taymans <wim@fluendo.com>
4480 * libs/gst/base/gstbasetransform.c:
4481 (gst_base_transform_class_init), (gst_base_transform_init),
4482 (gst_base_transform_sink_event),
4483 (gst_base_transform_sink_eventfunc),
4484 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4485 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4486 (gst_base_transform_set_property),
4487 (gst_base_transform_get_property),
4488 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4489 (gst_base_transform_set_qos_enabled),
4490 (gst_base_transform_is_qos_enabled):
4491 * libs/gst/base/gstbasetransform.h:
4492 Make basetransform virtual method for src events too.
4493 Handle QOS in basetransform.
4494 API: gst_base_transform_update_qos()
4495 API: gst_base_transform_set_qos_enabled()
4496 API: gst_base_transform_is_qos_enabled()
4498 2006-03-13 Wim Taymans <wim@fluendo.com>
4500 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4501 (gst_base_sink_do_sync):
4503 Use QOS debug category.
4505 2006-03-13 Wim Taymans <wim@fluendo.com>
4507 * plugins/elements/gstqueue.c:
4508 Very small doc update.
4510 2006-03-13 Wim Taymans <wim@fluendo.com>
4512 * gst/gst_private.h:
4513 * gst/gstinfo.c: (_gst_debug_init):
4514 Added QOS debug category
4516 2006-03-13 Wim Taymans <wim@fluendo.com>
4518 * docs/gst/gstreamer-sections.txt:
4519 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4521 * gst/gstbus.c: (gst_bus_class_init):
4524 * gst/gstelement.c: (gst_element_set_locked_state):
4526 Documentation updates.
4528 * gst/gstpipeline.c: (gst_pipeline_get_type),
4529 (gst_pipeline_class_init), (gst_pipeline_init),
4530 (gst_pipeline_dispose), (gst_pipeline_set_property),
4531 (gst_pipeline_get_property), (do_pipeline_seek),
4532 (gst_pipeline_send_event), (gst_pipeline_change_state),
4533 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4534 (gst_pipeline_get_delay):
4535 * gst/gstpipeline.h:
4536 Added methods for setting the delay.
4537 API: gst_pipeline_set_delay()
4538 API: gst_pipeline_get_delay()
4539 Add pipeline debug category
4542 Don't reset stream time when seek failed.
4544 2006-03-13 Wim Taymans <wim@fluendo.com>
4546 * docs/design/draft-klass.txt:
4547 * docs/design/part-clocks.txt:
4548 * docs/design/part-events.txt:
4549 * docs/design/part-gstbin.txt:
4550 * docs/design/part-gstpipeline.txt:
4551 * docs/design/part-messages.txt:
4552 * docs/design/part-negotiation.txt:
4553 * docs/design/part-overview.txt:
4554 * docs/design/part-preroll.txt:
4555 * docs/design/part-seeking.txt:
4556 * docs/design/part-states.txt:
4557 * docs/design/part-streams.txt:
4558 Documentation updates.
4560 2006-03-12 Julien MOUTTE <julien@moutte.net>
4562 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4563 us to leak strings...
4565 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4567 * libs/gst/net/gstnettimeprovider.c:
4569 * win32/common/config.h:
4572 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4574 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4577 Don't check for libgnomeui (leftover from old examples
4578 that aren't built or disted any longer) (#334303).
4580 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4582 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4583 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4584 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4585 there's no space left on the device.
4587 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4590 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4591 to cast the input to GstClockTime before comparing with
4592 another GstClockTime value.
4594 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4599 === release 0.10.4 ===
4601 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4604 releasing 0.10.4, "Light"
4606 2006-03-10 Michael Smith <msmith@fluendo.com>
4608 * libs/gst/dataprotocol/dataprotocol.c:
4609 Fix docs for dataprocotol to not get the return types completely
4610 wrong for a few functions.
4612 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4614 * docs/gst/gstreamer-sections.txt:
4615 * gst/gstpipeline.c: (gst_pipeline_class_init),
4616 (gst_pipeline_init), (gst_pipeline_set_property),
4617 (gst_pipeline_get_property), (gst_pipeline_change_state),
4618 (gst_pipeline_set_auto_flush_bus),
4619 (gst_pipeline_get_auto_flush_bus):
4620 * gst/gstpipeline.h:
4621 Add new API: gst_pipeline_set_auto_flush_bus() and
4622 gst_pipeline_get_auto_flush_bus() to disable automatic
4623 flushing of the pipeline's GstBus when going from READY
4624 to NULL state (#332045).
4626 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4628 * docs/gst/gstreamer-sections.txt:
4629 * gst/gsturi.c: (gst_uri_has_protocol):
4631 Add new API: gst_uri_has_protocol() (#333779).
4633 2006-03-09 Wim Taymans <wim@fluendo.com>
4635 * gst/gstclock.c: (gst_clock_entry_new),
4636 (gst_clock_id_compare_func), (gst_clock_id_wait),
4637 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4638 (gst_clock_init), (gst_clock_get_internal_time),
4639 (gst_clock_set_master), (do_linear_regression),
4640 (gst_clock_add_observation), (gst_clock_set_property):
4644 Fix a possible segfault when the window-size is made smaller.
4645 Calculate jitter before performing the clock wait. Ideally
4646 the clock implementation should calculate jitter but we need
4647 API breakage for that.
4649 * gst/gstsystemclock.c: (gst_system_clock_init):
4652 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4653 Remove leftover else
4655 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4656 (gst_systemclock_suite):
4657 Added check to test GST_CLOCK_DIFF.
4659 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4661 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4662 (gst_type_find_helper_get_range):
4663 If we are provided with the size, we should implement
4664 GstTypeFind::get_length, so that typefind functions who
4665 want to can actually peek at the middle of a file.
4667 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4669 * docs/manual/advanced-dataaccess.xml:
4670 Add some very very basic error checking.
4672 * docs/pwg/appendix-checklist.xml:
4673 Some updates to the list of things to check when writing an element.
4675 2006-03-08 Wim Taymans <wim@fluendo.com>
4677 * docs/design/part-element-transform.txt:
4678 Added some docs about the design of tranform elements.
4680 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4681 (gst_base_src_loop), (gst_base_src_change_state):
4682 Mark buffers with the DISCONT flag.
4684 2006-03-08 Michael Smith <msmith@fluendo.com>
4686 * gst/gstregistry.h:
4687 * gst/gstregistryxml.c: (gst_registry_save),
4688 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4689 (gst_registry_xml_save_pad_template),
4690 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4691 (gst_registry_xml_write_cache):
4692 Rewrite registry-saving to avoid race conditions and check for
4695 2006-03-08 Wim Taymans <wim@fluendo.com>
4697 * libs/gst/base/gstbasetransform.c:
4698 (gst_base_transform_transform_caps),
4699 (gst_base_transform_transform_size),
4700 (gst_base_transform_prepare_output_buffer),
4701 (gst_base_transform_get_unit_size),
4702 (gst_base_transform_buffer_alloc),
4703 (gst_base_transform_handle_buffer),
4704 (gst_base_transform_change_state):
4705 Cleanups, separate normal flow from errors, add sensible
4707 Don't try to renegotiate when allocating an output buffer.
4708 Also copy DISCONT buffer flag when copying a buffer.
4709 Reset the transform after we finish streaming, not during.
4711 2006-03-08 Wim Taymans <wim@fluendo.com>
4713 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4714 Use last buffer timestamp in qos message.
4716 2006-03-07 Wim Taymans <wim@fluendo.com>
4718 Patch by: Christophe Fergeau
4720 * docs/pwg/advanced-tagging.xml:
4721 * docs/pwg/building-pads.xml:
4724 2006-03-07 Wim Taymans <wim@fluendo.com>
4726 * docs/libs/gstreamer-libs-sections.txt:
4727 Added basesink new methods.
4731 Docs updates. Flesh out the QoS docs.
4733 * libs/gst/base/gstadapter.c:
4734 Small doc clarification about ownership and flushing.
4736 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4737 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4738 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4739 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4740 * libs/gst/base/gstbasesink.h:
4742 Added new methods to allow subclass to control max-lateness
4744 Generate very basic QoS events based on last sync observation.
4745 Updated docs, fix typo, added some QoS blurb.
4747 * libs/gst/base/gstbasesrc.c:
4748 Remove obsolete _get_state() calls from docs.
4750 2006-03-07 Wim Taymans <wim@fluendo.com>
4752 * docs/libs/gstreamer-libs-sections.txt:
4753 * libs/gst/base/gstbasetransform.h:
4754 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4755 Fix docs for GstBaseSrc.
4757 2006-03-07 Wim Taymans <wim@fluendo.com>
4759 * docs/gst/gstreamer-sections.txt:
4762 * libs/gst/base/gstbasetransform.h:
4763 Small documentation fixes.
4765 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4768 Document thread-unsafety of gst_value_register_foo_func()
4769 when used at the same time as gst_value_foo() (#322628).
4771 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4773 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4774 (gst_push_src_check_get_range):
4775 Push sources don't support pull mode by default.
4777 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4779 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4780 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4781 (gst_base_src_default_check_get_range):
4782 * libs/gst/base/gstbasesrc.h:
4783 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4784 provide default implementation, and rename
4785 gst_base_src_check_get_range() to
4786 gst_base_src_pad_check_get_range() for clarity.
4788 2006-03-06 Wim Taymans <wim@fluendo.com>
4790 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4791 Make property overridable.
4793 2006-03-06 Wim Taymans <wim@fluendo.com>
4795 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4796 (gst_base_sink_init), (gst_base_sink_set_property),
4797 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4798 * libs/gst/base/gstbasesink.h:
4799 API addition: Make max-lateness a property.
4801 2006-03-06 Wim Taymans <wim@fluendo.com>
4803 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4804 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4805 Don't ever draw a frame that is >10ms late.
4807 2006-03-06 Michael Smith <msmith@fluendo.com>
4809 * gst/gstmessage.c: (_gst_message_copy):
4810 When copying a message, set the parent_refcount of the enclosed
4811 structure to point at the copy, not the original message.
4813 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4815 Patch by: Christophe Fergeau
4818 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4819 usable in c++ code (#333417)
4821 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4824 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4826 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4828 * libs/gst/base/gstbasetransform.c:
4829 (gst_base_transform_transform_caps):
4830 Make sure caps are writable before passing them to
4833 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4836 Fix some minor docs errors.
4838 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4840 Patch by: Ross Burton <ross at burtonini dot com>
4842 * gst/gsterror.c: (_gst_resource_errors_init):
4844 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4846 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4849 Add a check and output a g_warning when GStreamer is built
4850 against GLib 2.6 but running against 2.8 or higher, and vice
4851 versa. (Closes: #323542)
4853 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4855 * gst/parse/parse.l:
4856 Commit patch for parse_launch syntax from #331255. Removes
4857 support for quoted strings and mimetypes when writing filtered
4858 caps. See the bug report for more details - I'm pretty sure this
4859 obscure feature is not in use by _anyone_ anywhere.
4861 With this simple change, the size of the gstreamer.so here
4862 drops from 2193KB to 1565KB.
4864 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4866 * plugins/elements/gsttypefindelement.h:
4867 * plugins/elements/gsttypefindelement.c:
4868 (gst_type_find_element_src_event), (start_typefinding),
4869 (stop_typefinding), (gst_type_find_element_handle_event),
4870 (gst_type_find_element_chain),
4871 (gst_type_find_element_chain_do_typefinding):
4872 Use gst_type_find_helper_for_buffer() for chain-based
4875 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4877 * plugins/elements/gsttypefindelement.c:
4878 (gst_type_find_element_class_init),
4879 (gst_type_find_element_set_property),
4880 (gst_type_find_element_get_property):
4881 Deprecate "maximum" property (not only was it only taken into
4882 account for typefinding in push-mode anyway, it also was never
4883 actually possible to set it in the first place because the
4884 property was registered with the numeric property ID for the
4885 "minimum" property). Register "maximum" property correctly,
4886 for the sake of future copy'n'pasters. Remove some cruft
4887 from property get/set functions.
4889 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4891 * plugins/elements/gsttypefindelement.c:
4892 (gst_type_find_element_activate):
4893 Use gst_type_find_helper_get_range() here, so we
4894 can honour the "minimum" property and also emit
4895 the signal with the correct probability of the found caps.
4897 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4899 * docs/libs/gstreamer-libs-sections.txt:
4900 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4901 (helper_find_suggest), (gst_type_find_helper_get_range),
4902 (gst_type_find_helper):
4903 * libs/gst/base/gsttypefindhelper.h:
4904 New API: gst_type_find_helper_get_range() (#333042).
4906 2006-03-02 Michael Smith <msmith@fluendo.com>
4908 * gst/gstregistryxml.c: (load_feature):
4909 Asserting on a failure to read part of the registry is Not Cool.
4910 Just log a warning and return NULL (which is already handled)
4912 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4914 * win32/common/libgstbase.def:
4915 added export of gst_type_find_helper_for_buffer
4916 * win32/common/libgstbase.def:
4917 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4918 gst_ghost_pad_get_target
4920 2006-02-28 Wim Taymans <wim@fluendo.com>
4922 * docs/design/draft-klass.txt:
4924 Added Connector to mark elements that are only used to
4925 allow pipeline connections.
4926 Moved Debug to extra feature since most of them are
4927 functionally something else.
4929 2006-02-28 Wim Taymans <wim@fluendo.com>
4931 * docs/design/draft-klass.txt:
4932 Some updates and clarifications.
4934 2006-02-28 Wim Taymans <wim@fluendo.com>
4936 * docs/design/draft-klass.txt:
4937 Proposal for klass field values.
4939 * docs/design/part-streams.txt:
4940 Start of a doc describing stream anatomy.
4942 2006-02-28 Wim Taymans <wim@fluendo.com>
4944 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4945 Help the compiler a bit with type registration.
4946 Use existing forward cod path instead of duplicating it when
4949 * gst/gstbus.c: (gst_bus_get_type):
4950 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4951 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4952 * gst/gstclock.c: (gst_clock_get_type):
4953 * gst/gstelement.c: (gst_element_get_type),
4954 * gst/gstelementfactory.c: (gst_element_factory_get_type):
4955 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4956 * gst/gstminiobject.c: (gst_mini_object_get_type):
4957 * gst/gstpad.c: (gst_pad_get_type):
4958 * gst/gstsegment.c: (gst_segment_get_type):
4959 * gst/gststructure.c: (gst_structure_get_type):
4960 * gst/gstsystemclock.c: (gst_system_clock_get_type):
4961 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4963 Help compiler with type registration.
4965 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4968 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4970 * plugins/elements/gsttypefindelement.c:
4971 (gst_type_find_element_handle_event):
4972 When we get an EOS event and have not found a type yet
4973 (most likely because we had not yet accumulated
4974 TYPE_FIND_MIN_SIZE of data yet), try to determine the
4975 type given the data we have so far. Fixes typefinding
4976 for very short streams again, most notably quicktime
4977 redirections as used on Apple's trailer site (#331701).
4979 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4981 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4982 (gst_type_find_helper):
4983 Try typefinding factories with the highest rank first.
4985 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4987 * docs/libs/gstreamer-libs-docs.sgml:
4988 * docs/libs/gstreamer-libs-sections.txt:
4989 * libs/gst/base/gsttypefindhelper.c:
4990 Add section for typefind helper and add documentation
4991 for the old and the new function.
4993 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4995 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4996 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4997 (gst_type_find_helper_for_buffer):
4998 * libs/gst/base/gsttypefindhelper.h:
4999 New API: gst_type_find_helper_for_buffer() (#332723).
5001 2006-02-27 Michael Smith <msmith@fluendo.com>
5003 Patch by: Loïc Minier
5007 * docs/slides/Makefile.am:
5008 prevent CVS directories getting disted.
5010 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5012 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5013 Use the REFCOUNTING category for caps refcounting.
5015 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5017 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5018 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5020 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5022 * plugins/elements/gsttypefindelement.c:
5023 (gst_type_find_element_activate):
5024 Use gst_pad_check_pull_range() before _activate_pull()
5025 to avoid unnecessary open/close (see #331690).
5027 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5030 Docs enhancement: make it crystal clear what the
5031 gst_pad_add_*_probe() callbacks should look like.
5033 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5035 * libs/gst/base/gstbasesrc.c:
5036 Document how applications can stop recording from
5037 live sources (see #330996).
5039 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5041 * tests/check/Makefile.am:
5042 * tests/check/libs/basesrc.c: (eos_event_counter),
5043 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5044 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5045 (gst_basesrc_suite), (main):
5046 ... and add some tests for the base source EOS stuff.
5048 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5050 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5051 Test case originally showed the problem fixed below,
5052 but was then amended. Add checks back at the place
5053 where they used to be.
5055 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5057 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5058 (gst_base_src_init), (gst_base_src_loop),
5059 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5060 (gst_base_src_change_state):
5061 * libs/gst/base/gstbasesrc.h:
5062 Don't unconditionally send EOS when going from PAUSED to
5063 READY state, esp. make sure we don't send two EOS events
5064 in some cases (e.g. one when reaching EOS and one when
5065 going from PAUSED to READY). Also, we don't want to send
5066 EOS events when operating in pull mode. However, we do
5067 want to send an EOS event when shutting down a live
5068 source explicitly, for example (fixes #330996).
5070 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5072 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5073 Update src->read_position after a seek when not using mmap.
5074 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5076 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5082 Make things work with --disable-parse as they do with
5083 --disable-load-save - the symbols involved disappear, but the
5084 header is still installed and GST_DISABLE_PARSE is included via
5087 2006-02-20 Julien MOUTTE <julien@moutte.net>
5089 * libs/gst/base/gstbasetransform.c:
5090 (gst_base_transform_change_state): Fix a stupid bug. I was
5091 sure I compiled that.
5093 2006-02-20 Julien MOUTTE <julien@moutte.net>
5095 * gst/gstpad.c: (gst_pad_set_blocked_async):
5096 * gst/gstutils.c: (gst_pad_add_data_probe),
5097 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5098 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5099 (gst_pad_remove_buffer_probe): Make those function act on the
5100 ghostpad target when it's a ghostpad. (Closes #331727)
5102 2006-02-20 Julien MOUTTE <julien@moutte.net>
5104 * libs/gst/base/gstbasetransform.c:
5105 (gst_base_transform_change_state): Make basetransform reusable.
5108 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5110 * docs/random/release:
5111 Move the current documentation of how to do a release to the top
5114 * gst/gstbin.c: (gst_bin_class_init),
5115 (gst_bin_handle_message_func):
5116 Allow multiple state-recalculation threads. (Closes #328873)
5118 2006-02-19 Julien MOUTTE <julien@moutte.net>
5120 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5121 * gst/gstpad.c: (gst_pad_set_event_function),
5122 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5123 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5124 2 strings. You can't use the STR_NULL macro on that.
5126 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5128 * gst/gstpad.c: (gst_pad_set_event_function),
5129 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5130 (gst_pad_set_getcaps_function)
5131 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5132 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5133 So now, we can use --gst-debug-level=5 on Windows
5134 * win32/common/libgstcontroller.def:
5135 Added export of gst_controller_init
5136 * win32/vs6/libgstcontroller.dsp:
5137 Fixed Release post build configuration
5139 2006-02-17 Wim Taymans <wim@fluendo.com>
5141 * tests/check/gst/gstquery.c: (GST_START_TEST):
5142 Added another check.
5144 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5146 * plugins/elements/gsttypefindelement.c: (find_peek):
5147 We can do peeks at non-zero offsets, as long as they
5148 fall within the buffer we have.
5150 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5152 * tests/check/Makefile.am:
5153 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5154 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5155 (parse_suite), (main):
5156 Add testsuite for parse launch syntax
5158 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5160 * plugins/elements/gsttypefindelement.c:
5161 (gst_type_find_element_chain):
5162 When typefinding is unsuccessful in the chain function, don't
5163 error out immediately. Only error out with NO_CAPS_FOUND if
5164 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5165 otherwise simply wait for more data so we can try typefinding
5166 again with more data later. Also, don't attempt to typefind
5167 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5168 this should improve typefinding from network sources where the
5169 size of the first buffer can be somewhat random.
5171 2006-02-14 Wim Taymans <wim@fluendo.com>
5173 * docs/gst/gstreamer-sections.txt:
5174 * gst/gstpadtemplate.c:
5175 * gst/gstpadtemplate.h:
5176 Fix padtemplate docs, fixes #328805.
5178 2006-02-14 Wim Taymans <wim@fluendo.com>
5180 * tools/gst-launch.c: (main):
5181 NO_PREROLL is not an ERROR so don't send confusing messages
5184 2006-02-14 Wim Taymans <wim@fluendo.com>
5186 Patch by: Torsten Schoenfeld
5188 * gst/gstregistry.c: (gst_registry_get_default),
5189 (_gst_registry_cleanup):
5190 Protect default registry with lock and ref/sink it.
5193 2006-02-14 Wim Taymans <wim@fluendo.com>
5196 * gst/gstquery.c: (gst_query_list_add_format),
5197 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5198 (gst_query_parse_formats_nth):
5199 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5202 2006-02-14 Wim Taymans <wim@fluendo.com>
5204 * docs/gst/gstreamer-sections.txt:
5205 Reworked query docs.
5207 * gst/gstquery.c: (gst_query_new_formats),
5208 (gst_query_list_add_format), (gst_query_set_formats),
5209 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5210 (gst_query_parse_formats_nth):
5212 Flesh out formats query, added some new methods.
5213 Fix part of #324398.
5215 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5216 Added query creation tests.
5218 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5220 * gst/gstpad.c: (fixate_value):
5221 Add a default fixation for fraction lists.
5223 2006-02-13 Wim Taymans <wim@fluendo.com>
5225 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5226 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5229 Detect and warn for obvious deadlocks. fixes #320340
5230 Fix error case where lock was not released.
5232 * tests/check/Makefile.am:
5233 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5234 (task_func), (gst_element_suite), (main):
5237 2006-02-13 Wim Taymans <wim@fluendo.com>
5239 * docs/gst/gstreamer-sections.txt:
5241 Add new functions to docs.
5243 2006-02-13 Wim Taymans <wim@fluendo.com>
5245 * docs/design/part-TODO.txt:
5246 Updated TODO list, basesrc supports seeking to non-bytes
5249 * docs/design/part-element-sink.txt:
5252 * gst/gstbin.c: (bin_replace_message),
5253 (gst_bin_handle_message_func):
5254 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5255 * gst/gstevent.c: (gst_event_finalize):
5256 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5257 (gst_pad_send_event):
5258 Use shiny new _TYPE_NAME macros.
5260 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5261 Move debug statement up.
5263 * gst/gstelement.c: (gst_element_set_locked_state):
5266 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5268 * docs/gst/gstreamer-sections.txt:
5271 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5272 macros (#330906). Also, document the already existing
5273 GST_QUERY_TYPE macro.
5275 2006-02-13 Wim Taymans <wim@fluendo.com>
5277 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5278 (event_probe), (GST_START_TEST):
5279 Only events up to the pipeline EOS are counted, there are
5280 some more when going to NULL currently which we don't care
5283 2006-02-13 Wim Taymans <wim@fluendo.com>
5285 * gst/gstpad.c: (gst_pad_send_event):
5286 Correctly check flushing and emit probes. fixes #330125
5288 2006-02-10 Andy Wingo <wingo@pobox.com>
5290 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5292 (gst_bus_init): Cache the location of the private data in the
5294 (gst_bus_enable_sync_message_emission)
5295 (gst_bus_disable_sync_message_emission): Implement new public
5297 (gst_bus_post): Emit the sync-message signal if the user asked for
5300 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5301 location of the bus-private structure.
5302 (gst_bus_enable_sync_message_emission)
5303 (gst_bus_disable_sync_message_emission): API addition
5305 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5307 Patch by: Vincent Torri
5309 * docs/pwg/building-boiler.xml:
5310 PWG patch from #326800
5312 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5316 * docs/design/Makefile.am:
5319 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5324 === release 0.10.3 ===
5326 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5329 releasing 0.10.3, "Like a virgin"
5331 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5334 2nd prerelease of 0.10.3
5335 Bump libtool versioning.
5337 2006-02-07 Andy Wingo <wingo@pobox.com>
5339 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5340 update last_stop if we're in TIME format and the timestamp is
5343 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5344 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5345 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5346 If we get a new newsegment with a different format, adapt
5349 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5350 of 0. Not a problem, really.
5352 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5355 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5360 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5363 project files updated to the default vs7 configuration
5364 * win32/common/libgstbase.def:
5365 * win32/common/libgstreamer.def:
5367 removed empty lines,
5368 sorted all exported symbols alphabetically
5369 * win32/common/dirent.c:
5370 * win32/common/dirent.h:
5371 * win32/common/gchar.h:
5372 use windows line end.
5374 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5376 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5377 Send EOS event when stopping.
5379 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5382 Tell folks what to do if the plugin-foobar.xml file
5383 hasn't been generated for a newly-added plugin.
5385 2006-02-05 Julien MOUTTE <julien@moutte.net>
5387 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5388 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5389 (gst_collect_pads_start), (gst_collect_pads_stop),
5390 (gst_collect_pads_event): Collectpads now holds a reference
5391 to the GstPad that was added. Indeed we don't want to look
5392 at pads that might just go away with no warning...
5394 2006-02-05 Julien MOUTTE <julien@moutte.net>
5396 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5397 (gst_collect_pads_start), (gst_collect_pads_stop),
5398 (gst_collect_pads_event), (gst_collect_pads_chain):
5399 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5400 Mark Nauwelaerts's patch on bug #328491.
5402 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5404 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5406 Add some simple tests for gst_parse_bin_from_description() and
5407 gst_bin_find_unconnected_pad() (#329069).
5409 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5411 * tools/gst-launch.c: (event_loop), (main):
5412 Catch errors during preroll (#320084).
5414 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5416 * plugins/elements/gsttypefindelement.c:
5417 (gst_type_find_element_activate):
5418 Post TYPE_NOT_FOUND error message when typefinding
5419 is unsuccessful in the activate function as well.
5421 2006-02-02 Wim Taymans <wim@fluendo.com>
5423 * docs/design/part-element-sink.txt:
5426 2006-02-02 Wim Taymans <wim@fluendo.com>
5428 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5429 (gst_base_sink_render_object),
5430 (gst_base_sink_queue_object_unlocked):
5431 Only keep track of prerollable items when we are
5433 Before rendering after preroll, always check if we
5435 Added some more debugging.
5437 2006-02-02 Wim Taymans <wim@fluendo.com>
5439 * gst/gstelement.c: (gst_element_continue_state),
5440 (gst_element_set_state_func), (gst_element_change_state):
5441 Fixed #326576, been running this for quite some time with
5442 no regressions at all.
5444 2006-02-02 Wim Taymans <wim@fluendo.com>
5447 Added more suppressions
5449 2006-02-02 Wim Taymans <wim@fluendo.com>
5451 * docs/design/part-element-sink.txt:
5454 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5455 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5456 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5457 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5458 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5459 (gst_base_sink_preroll_object),
5460 (gst_base_sink_queue_object_unlocked),
5461 (gst_base_sink_queue_object), (gst_base_sink_event),
5462 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5463 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5464 (gst_base_sink_get_position), (gst_base_sink_change_state):
5465 * libs/gst/base/gstbasesink.h:
5466 Totally refactored matching the design doc.
5467 Use two segments, one to clip incomming buffers and another to
5469 Handle queueing correctly, bypass the queue when playing.
5470 Make EOS cancelable.
5471 Handle errors correctly when operating in pull based mode.
5473 * tests/check/elements/fakesink.c: (GST_START_TEST),
5475 Added new check for sinks.
5477 2006-02-02 Wim Taymans <wim@fluendo.com>
5479 * gst/gstsegment.c: (gst_segment_clip):
5480 No reason to refuse to clip when start == -1
5482 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5485 * docs/manual/intro-basics.xml:
5486 * docs/manual/intro-preface.xml:
5487 * docs/manual/manual.xml:
5488 * docs/pwg/advanced-dparams.xml:
5489 * docs/pwg/intro-basics.xml:
5490 * docs/pwg/intro-preface.xml:
5492 describe dparams (controller) for plugins
5493 unify docs a little more
5495 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5497 * docs/gst/gstreamer-sections.txt:
5498 * gst/gstutils.c: (element_find_unconnected_pad),
5499 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5501 Add new API: gst_parse_bin_from_description() and
5502 gst_bin_find_unconnected_pad() (#329069).
5504 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5506 * docs/manual/README:
5507 uncover a nasty detail of the docs build
5509 2006-01-31 Wim Taymans <wim@fluendo.com>
5511 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5512 Don't cache duration messages if we're not going to use or
5515 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5517 * docs/manual/advanced-dparams.xml:
5518 * docs/pwg/advanced-dparams.xml:
5522 * libs/gst/controller/lib.c: (gst_controller_init):
5525 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5527 * gst/gstelement.c: (gst_element_message_full):
5528 also show file/line/func if no additional debug was given
5530 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5532 * win32/vs7/grammar.vcproj:
5533 activate copy of autogenerated files for Release mode
5535 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5537 * win32/common/libgstreamer.def:
5538 export gst_value_compare
5540 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5542 * plugins/elements/Makefile.am:
5543 * plugins/elements/gstelements.c:
5544 * plugins/elements/gstfdsink.c: (_do_init),
5545 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5546 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5547 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5548 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5549 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5550 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5551 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5552 * plugins/elements/gstfdsink.h:
5553 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5555 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5557 * docs/manual/advanced-dparams.xml:
5559 * docs/manual/advanced-position.xml:
5560 * docs/manual/basics-init.xml:
5561 * docs/manual/manual.xml:
5562 * docs/manual/titlepage.xml:
5564 * docs/pwg/titlepage.xml:
5565 cleanup xml (more to come)
5566 * libs/gst/controller/gstcontroller.c:
5569 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5571 * win32/vs6/grammar.dsp:
5572 add autogen of gstmarshal.c,h for Release mode
5574 2006-01-30 Wim Taymans <wim@fluendo.com>
5576 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5577 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5578 (gst_base_sink_handle_object), (gst_base_sink_event),
5579 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5580 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5581 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5582 (gst_base_sink_deactivate), (gst_base_sink_activate),
5583 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5584 (gst_base_sink_query), (gst_base_sink_change_state):
5585 Basesink cleanups, remove some old code.
5586 Handle the case where a subclass can preroll in the render
5587 method (mostly audiosinks).
5589 Remove some locks around variables that are now protected
5590 with the PREROLL_LOCK (clock_id, flushing, ..).
5591 Optimize position query some more, do correct locking.
5592 Remove old code to push queue in state change, this is not
5593 needed anymore since preroll blocks on all prerollable items
5595 Almost implemented as described in design doc.
5597 2006-01-30 Wim Taymans <wim@fluendo.com>
5599 * tests/check/gst/gstbin.c: (GST_START_TEST):
5600 Wait for refcount to settle down before checking.
5602 2006-01-30 Wim Taymans <wim@fluendo.com>
5604 * docs/design/part-element-sink.txt:
5605 Pseudo code overview of desired sink behaviour regarding
5608 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5609 * win32/vs6/grammar.dsp:
5610 fix some bugs in Release mode for autogenerated files
5612 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5613 * win32/common/libgstbase.def:
5614 * win32/common/libgstreamer.def:
5615 export some new symbols: gst_base_src_set_format,
5616 gst_iterator_next, gst_structure_set_valist
5618 2006-01-29 Julien MOUTTE <julien@moutte.net>
5620 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5621 Set pad functions unconditionally. Fixes #329105.
5623 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5625 add vs8 project files created by Sergey Scobich
5627 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5629 * gst/gstutils.c: (gst_element_unlink_pads):
5630 Don't leak pad references.
5632 * tests/check/elements/fakesink.c: (GST_START_TEST):
5633 * tests/check/generic/sinks.c: (GST_START_TEST):
5634 * tests/check/generic/states.c: (GST_START_TEST):
5635 * tests/check/gst/gstbin.c: (GST_START_TEST):
5636 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5637 * tests/check/gst/gstelement.c: (GST_START_TEST):
5638 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5639 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5640 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5641 Fix a bunch of leaks. Make generic/sinks.c
5642 use a bit less cpu by slowing the buffer rate
5643 between fakesrc and fakesink.
5645 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5647 * gst/gstelement.c: (gst_element_send_event):
5650 * gst/gstiterator.c:
5651 * gst/gstiterator.h:
5652 * gst/gstpad.c: (gst_pad_send_event):
5653 * gst/gststructure.c:
5657 * libs/gst/base/gstadapter.c:
5658 doc fixes, to link to function, just write gst_cool_function(), don't
5661 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5663 * plugins/elements/gsttee.c: (gst_tee_do_push),
5664 (gst_tee_handle_buffer):
5665 Always prefer an actual return value from a src
5666 pad in place of NOT_LINKED. This means we return
5667 WRONG_STATE when all src pads are WRONG_STATE
5668 instead of NOT_LINKED.
5670 Lock when replacing the last message to prevent
5671 racing with the get_property method.
5675 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5677 * tests/check/Makefile.am:
5678 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5680 Add a very simple check that should have caught the memleak I fixed
5681 last night (if not for the slice allocator hiding it)
5683 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5685 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5686 (gst_bin_remove_func), (gst_bin_handle_message_func),
5687 (bin_query_duration_fold), (bin_query_generic_fold):
5688 Clean up references to the clock provider when disposed or when
5689 handling a clock-lost message from it.
5691 Unref sinks when performing a query via gst_iterator_fold, as the
5692 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5694 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5695 (gst_clock_set_master):
5696 Drop our reference to the master clock, if any, when we are disposed.
5698 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5699 Chain up in dispose.
5701 2006-01-26 Wim Taymans <wim@fluendo.com>
5703 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5706 2006-01-26 Julien MOUTTE <julien@moutte.net>
5708 * plugins/elements/gsttee.c: (gst_tee_do_push),
5709 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5710 handles pad being NOT_LINKED or in WRONG_STATE.
5712 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5717 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5720 remove obsolete entry
5722 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5724 * docs/gst/gstreamer-sections.txt:
5725 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5726 (gst_bin_iterate_sources), (gst_bin_send_event):
5728 * gst/gstelement.c: (gst_element_send_event):
5730 * gst/gstpad.c: (gst_pad_send_event):
5731 added code for downstream events, reviewed docs in gstevent.c
5733 2006-01-25 Julien MOUTTE <julien@moutte.net>
5735 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5736 We only query position using the clock in the playing state.
5737 Query peer in the other cases.
5738 * win32/common/config.h: Updates.
5740 2006-01-24 Wim Taymans <wim@fluendo.com>
5742 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5743 A clock entry that is scheduled for the exact time of the
5744 clock is still in time.
5746 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5747 (gst_base_sink_do_sync):
5748 Add some more debug info.
5750 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5753 Add new vs7 project files and solution.
5755 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5758 all files removed as they were out-dated.
5760 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5762 * docs/random/release:
5764 * gst/gstbin.c: (gst_bin_init):
5765 * gst/gstbus.c: (gst_bus_new):
5767 * gst/gstpipeline.c: (gst_pipeline_init):
5768 use gst_bus_new(), improve logging, fix docs
5769 * win32/common/config.h:
5770 update for cvs build
5772 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5775 up required version of automake to 1.7
5777 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5779 * win32/common/libgstreamer.def:
5780 export gst_buffer_is_metadata_writable
5782 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5784 * docs/gst/gstreamer-sections.txt:
5786 Add gst_event_replace() (#327001)
5788 2006-01-20 Wim Taymans <wim@fluendo.com>
5790 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5791 Make it actually compile too..
5793 2006-01-20 Wim Taymans <wim@fluendo.com>
5796 Clarify behaviour of _is_equal() when passing NULL parameters.
5798 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5800 Cleanups. Don't unref NULL caps.
5801 When setting the same caps, protect caps of the pad with
5803 Use full functionality of _is_equal() when comparing caps.
5805 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5807 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5808 Don't loop infinitely if there are no buffers to present. Partially
5809 fixes #327197, but collectpads is just broken for reusing elements
5810 to do multiple encodes atm.
5812 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5814 * tools/gst-inspect.c: (print_element_features):
5815 * tools/gst-xmlinspect.c: (main):
5816 URL_HANDLER is not a plugin feature we can search for in
5819 2006-01-19 Edward Hervey <edward@fluendo.com>
5821 * gst/gstelement.c: (gst_element_pads_activate):
5822 When activating, do src pads first, then sink pads.
5823 When de-activating, do sink pads first, then src pads.
5825 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5827 * docs/gst/gstreamer-sections.txt:
5828 Add gst_index_add_associationv to the docs
5830 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5835 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5836 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5837 Do some refactoring. Doesn't actually change functionality,
5838 but makes landing the DRAIN event easier later.
5840 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5842 * docs/pwg/advanced-scheduling.xml:
5843 Update from 0.9.x to 0.10 API and make example a bit
5846 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5848 * docs/gst/gstreamer-sections.txt:
5849 Add gst_buffer_(is|make)_metadata_writable methods.
5851 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5853 * docs/design/part-sparsestreams.txt:
5854 Update sparse streams doc, hopefully for greater clarity
5856 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5858 * docs/design/part-events.txt:
5859 Remove mention of FILLER events.
5862 * docs/design/part-sparsestreams.txt:
5863 Write some things about using NEWSEGMENT to keep sparse streams
5866 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5868 * gst/gstbin.c: (gst_bin_dispose):
5869 Guard gst_object_unref call against a NULL object (dispose
5870 can theoretically be called multiple times).
5872 2006-01-18 Wim Taymans <wim@fluendo.com>
5874 * gst/gstbin.c: (gst_bin_element_set_state):
5875 * gst/gstclock.c: (gst_clock_id_wait):
5876 Added some more debug info.
5878 * libs/gst/base/gstadapter.c:
5881 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5882 (gst_base_sink_do_sync), (gst_base_sink_chain):
5883 Added some comments.
5885 2006-01-18 Wim Taymans <wim@fluendo.com>
5887 * tests/check/Makefile.am:
5888 * tests/check/elements/fakesink.c: (chain_async_buffer),
5889 (chain_async), (chain_async_return), (GST_START_TEST),
5890 (fakesink_suite), (main):
5891 Added fakesink test that checks prerolling and clipping
5894 * tests/check/gst/gstutils.c: (GST_START_TEST):
5895 Make check run faster so that buildbots don't timeout.
5897 2006-01-18 Wim Taymans <wim@fluendo.com>
5899 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5900 (gst_base_sink_do_sync):
5902 When the sink finishes blocking on the preroll buffer, it can
5903 immediatly render it instead of rendering when the next buffer
5906 2006-01-18 Wim Taymans <wim@fluendo.com>
5908 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5909 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5910 (gst_base_sink_chain):
5912 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5913 Don't store _last_stop if the buffer is dropped.
5915 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5917 * plugins/elements/gsttypefindelement.c:
5918 (gst_type_find_element_class_init):
5919 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5920 object method handler that sets the caps on the pad and we want
5921 that to happen before we emit the signal (fixes e.g. feeding a
5922 plain text file to decodebin).
5924 2006-01-18 Christian Schaller <Christian@fluendo.com>
5926 * gst/gstplugin.c: Add MPL and Proprietary as license options
5928 2006-01-18 Andy Wingo <wingo@pobox.com>
5930 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5931 symbol was exported before, it appears this was just an oversight.
5933 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5935 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5936 prototype to gint. OK since this prototype was not in the header.
5938 2006-01-17 Andy Wingo <wingo@pobox.com>
5940 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5941 registry while we remove plugins.
5943 * tools/gst-inspect.c (print_element_info): Don't unref the
5944 factory arg, that should be the responsibility of whatever code
5945 received the ref. Fixes a double-free when called from
5946 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5947 (main): Unref the factory if we have one.
5948 (print_element_list): No change -- relies on the
5949 plugin_feature_list_free to free the list of features.
5951 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
5953 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5954 (gst_buffer_make_metadata_writable):
5956 * libs/gst/base/gstbasetransform.c:
5957 (gst_base_transform_prepare_output_buf):
5958 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5959 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5960 Replace gst_buffer_(make|is)_metadata_writable patch now
5961 that the release is out.
5963 2006-01-17 Andy Wingo <wingo@pobox.com>
5965 * gst/gstregistry.c: Reflow design comment. Update so as to speak
5966 in the present tense without reference to versions.
5968 * gst/gstregistry.c (gst_registry_add_plugin)
5969 (gst_registry_remove_plugin, gst_registry_remove_feature)
5970 (gst_registry_find_feature, gst_registry_get_feature_list)
5971 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5972 (gst_registry_lookup, gst_registry_scan_path)
5973 (_gst_registry_remove_cache_plugins)
5974 (gst_registry_get_feature_list_by_plugin): Add argument
5977 === release 0.10.2 ===
5979 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
5982 releasing 0.10.2, "If man is five"
5984 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5988 * libs/gst/base/gstbasetransform.c:
5989 (gst_base_transform_prepare_output_buf):
5990 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5991 * tests/check/gst/gstbuffer.c: (gst_test_suite):
5992 Back out patch until after the release.
5994 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5996 * gst/gstminiobject.c:
5997 Spelling fix in docs.
5998 * ChangeLog - remove conflict indicator
6000 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6002 Reviewed By: Andy Wingo
6004 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6005 (gst_buffer_make_metadata_writable):
6007 Add gst_buffer_(is|make)_metadata_writable as analogues of
6008 gst_buffer_(is|make)_writable.
6010 * libs/gst/base/gstbasetransform.c:
6011 (gst_base_transform_prepare_output_buf):
6012 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6013 Use name gst_buffer_(is|make)_metadata_writable functions.
6015 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6016 Test gst_buffer_(is|make)_metadata_writable
6020 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6022 * docs/manual/Makefile.am:
6023 don't do parallel make
6026 * win32/common/config.h.in:
6027 add generations for HOST_CPU and GST_MAJORMINOR
6028 * win32/common/config.h:
6029 commit generated result
6031 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6033 * docs/manual/appendix-integration.xml:
6034 Update GNOME integration section to use gst_init_get_option_group()
6035 instead of the old popt stuff (#322911). Also, GNOME applications
6036 should now use gconf*sink and gconf*src instead of the old gconf
6039 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6042 * docs/gst/gstreamer-docs.sgml:
6043 * docs/gst/gstreamer-sections.txt:
6044 * docs/libs/gstreamer-libs-sections.txt:
6045 add new API entries to the docs
6046 * libs/gst/controller/Makefile.am:
6047 * libs/gst/controller/gstcontroller.c:
6048 * libs/gst/controller/gstcontroller.h:
6049 * libs/gst/controller/gstcontrollerprivate.h:
6050 * libs/gst/controller/gsthelper.c:
6051 * libs/gst/controller/gstinterpolation.c:
6052 move private structs to private header
6054 gstreamer-0.7 -> gstreamer-0.10
6055 * tests/check/libs/struct_i386.h:
6056 remove private structs
6058 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6060 * plugins/indexers/Makefile.am:
6061 Fixes as part of #317048
6063 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6065 * plugins/indexers/Makefile.am:
6066 fix #316086 - compilation when mmap is missing
6068 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6070 * libs/gst/base/gstbasesink.c:
6071 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6072 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6073 * win32/common/config.h:
6074 added some defines GST_MAJORMINOR and HOST_CPU
6075 * win32/common/libgstbase.def:
6076 * win32/common/libgstreamer.def:
6077 added some exported functions.
6079 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6081 * libs/gst/controller/gstcontroller.c:
6082 (gst_controlled_property_set_interpolation_mode),
6083 (gst_controlled_property_new):
6084 * libs/gst/controller/gstcontroller.h:
6085 * libs/gst/controller/gstinterpolation.c:
6086 (interpolate_none_get_string_value_array):
6087 make G_TYPE_STRING controlable
6089 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6092 * tools/gst-feedback.1.in:
6093 * tools/gst-inspect.1.in:
6094 * tools/gst-launch.1.in:
6095 * tools/gst-md5sum.1.in:
6096 * tools/gst-typefind.1.in:
6097 * tools/gst-xmlinspect.1.in:
6098 * tools/gst-xmllaunch.1.in:
6099 cleanup man-pages, remove reference to gst-register, document env-vars
6101 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6103 * gst/gstbuffer.c: (gst_buffer_span):
6104 gst_buffer_span should copy the timestamp of the first buffer
6105 if they were both originally overlapping subbuffers of the
6106 same parent, using the same logic as the 'slow copy' case.
6108 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6110 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6111 Need to awaken ALL the pads when we pop a buffer, otherwise
6112 collectpads only works when there is 2 input streams.
6114 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6116 * docs/random/ensonic/media-device-daemon.txt:
6119 fix doc example, add clarification
6120 * tools/gst-launch.1.in:
6121 add initial info about GST_PLUGIN_PATH, needs more work
6123 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6125 * docs/manual/basics-bins.xml:
6126 * docs/manual/basics-elements.xml:
6127 * docs/manual/intro-basics.xml:
6128 Some more minor docs additions and updates.
6130 2006-01-11 Wim Taymans <wim@fluendo.com>
6132 * docs/manual/basics-bins.xml:
6133 * docs/manual/basics-elements.xml:
6134 Some small fixes as pointed out by Ser-ver on IRC.
6136 2006-01-10 Edward Hervey <edward@fluendo.com>
6138 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6139 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6140 the single-segment mode.
6142 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6144 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6146 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6147 (gst_base_src_perform_seek), (gst_base_src_send_event),
6148 (gst_base_src_set_property), (gst_base_src_get_property),
6149 (gst_base_src_loop), (gst_base_src_start),
6150 (gst_base_src_activate_push):
6151 * libs/gst/base/gstbasesrc.h:
6152 Name (private) union; makes Sun's Forte compiler happy (#324900).
6154 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6157 gst-register is gone.
6159 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6161 * gst/gstvalue.c: (_gst_value_initialize):
6162 make the G_TYPE_DATE instantiation work if debug is disabled
6164 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6166 * gst/gstmessage.c: (gst_message_parse_tag),
6167 (gst_message_parse_error), (gst_message_parse_warning):
6168 Don't crash when return location for error/warning debug
6169 string is NULL; add fact that return locations can be
6170 NULL to docs where appropriate.
6172 2006-01-05 Wim Taymans <wim@fluendo.com>
6174 * gst/gstplugin.c: (gst_plugin_load_file):
6175 Replace strdup by g_strdup.
6177 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6179 * docs/pwg/advanced-types.xml:
6182 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6184 submitted by: Abel Cheung
6188 Added Chinese (traditional) translation
6190 2006-01-04 Wim Taymans <wim@fluendo.com>
6192 * docs/manual/basics-pads.xml:
6193 * docs/plugins/Makefile.am:
6194 * docs/plugins/gstreamer-plugins-docs.sgml:
6195 * docs/plugins/gstreamer-plugins-sections.txt:
6196 * docs/pwg/advanced-clock.xml:
6197 * docs/pwg/advanced-scheduling.xml:
6198 * docs/pwg/advanced-types.xml:
6199 * plugins/elements/gstfdsink.c:
6200 * plugins/elements/gstfdsrc.c:
6201 * plugins/elements/gstfdsrc.h:
6202 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6203 * plugins/elements/gstidentity.h:
6204 * plugins/elements/gstqueue.h:
6205 * plugins/elements/gsttee.c:
6206 * plugins/elements/gsttee.h:
6207 * plugins/elements/gsttypefindelement.c:
6208 (gst_type_find_element_class_init):
6209 * plugins/elements/gsttypefindelement.h:
6210 Small updates to various docs.
6211 Added core plugins to docs.
6213 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6216 add a suppression for liboil's uninitialized variable
6218 2006-01-02 James Livingston <jrl at ids dot org dot au>
6220 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6223 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6224 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6225 compiler switch is being used (#325429).
6227 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6229 * gst/gstbin.c: (gst_bin_query):
6230 Disable duration query caching in bins until it gets
6231 fixed (see #324807).
6233 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6235 * tools/gst-inspect.c: (print_element_properties_info):
6236 Handle properties of POINTER and BOXED type.
6238 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6240 * gst/gst.c: (init_post):
6241 Init tags stuff and some other things before loading
6242 any static plugins (there may be other static plugins
6243 than just the GStreamer ones, and they may want to
6244 register their own tags or formats or whatever, and
6245 preferably without segfaulting).
6247 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6248 Print at least a warning in the debug logs if we drop a
6249 query just because we don't know how to adjust the value
6250 in the particular format.
6252 2005-12-24 David Schleef <ds@schleef.org>
6254 * tools/gstreamer-completion:
6255 Replacement for gst-complete written in sh and sed. Only
6256 completes names of features, but that's 90% of what I want
6257 it for. Properties are not available in registry.xml. (Maybe
6260 === release 0.10.1 ===
6262 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6265 releasing 0.10.1, "Nollaig chridheil"
6267 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6270 Add missing quote, should be make ERROR_CFLAGS="".
6272 2005-12-20 Wim Taymans <wim@fluendo.com>
6274 * docs/design/part-trickmodes.txt:
6275 More documentation on trickmodes.
6277 2005-12-20 Edward Hervey <edward@fluendo.com>
6279 * gst/gstcaps.c: (gst_static_caps_get_type):
6281 API addition: GST_TYPE_STATIC_CAPS
6282 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6283 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6284 * gst/gstpadtemplate.h:
6285 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6286 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6289 2005-12-18 Wim Taymans <wim@fluendo.com>
6291 * libs/gst/base/gstadapter.c:
6292 * libs/gst/base/gstadapter.h:
6293 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6294 (gst_base_sink_get_position):
6295 * libs/gst/base/gstbasesink.h:
6296 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6297 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6298 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6299 (gst_base_src_send_event), (gst_base_src_update_length),
6300 (gst_base_src_get_range), (gst_base_src_loop),
6301 (gst_base_src_start):
6302 * libs/gst/base/gstbasesrc.h:
6303 * libs/gst/base/gstbasetransform.h:
6304 * libs/gst/base/gstcollectpads.h:
6305 * libs/gst/base/gstpushsrc.c:
6306 * libs/gst/base/gstpushsrc.h:
6307 * libs/gst/dataprotocol/dataprotocol.c:
6308 * libs/gst/dataprotocol/dataprotocol.h:
6309 * libs/gst/net/gstnetclientclock.h:
6310 * libs/gst/net/gstnettimeprovider.h:
6311 Documentation updates.
6313 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6315 * docs/manual/basics-helloworld.xml:
6316 Remove superfluous closing bracket in helloworld example.
6318 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6320 * tools/gst-launch.1.in:
6321 Update gst-launch man page; add a section with useful
6322 environment variables. Fixes #323882.
6324 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6327 * gst/gst_private.h:
6328 change some char* into char[]
6330 2005-12-16 Wim Taymans <wim@fluendo.com>
6332 * gst/gstregistryxml.c: (load_feature):
6334 Don't use g_object_unref on GstObjects so that we avoid
6335 leaks on unsafe glibs.
6337 2005-12-16 Wim Taymans <wim@fluendo.com>
6339 * gst/gstbin.c: (gst_bin_recalc_state):
6342 2005-12-16 Wim Taymans <wim@fluendo.com>
6345 Added make forever target for check.
6347 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6349 * gst/gst.c: (init_post):
6350 make the registry cache file HOST_CPU-dependent
6352 2005-12-16 Andy Wingo <wingo@pobox.com>
6354 * plugins/elements/gstbufferstore.c
6355 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6358 * tests/check/gst/gstobject.c
6359 (test_fake_object_name_threaded_unique): Pay attention to
6360 g_list_sort return value.
6362 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6364 * tools/gst-feedback-m.m:
6365 Update for 0.9/0.10 (fixes #323870).
6367 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6369 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6370 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6372 * tests/check/gst/gstminiobject.c: (my_foo_init),
6373 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6374 (test_value_collection), (gst_mini_object_suite):
6375 Add test to ensure refcounts end up as expected when passing
6376 GstMiniObjects through g_object_get() and g_object_set().
6378 2005-12-14 Julien MOUTTE <julien@moutte.net>
6380 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6381 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6382 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6383 of collectpads. This version removes a lot of races without
6384 touching API/ABI. Yay !
6386 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6388 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6389 Don't allow activation of a srcpad in pull_range if it has no
6391 Change some debug statements to be a little clearer
6393 * plugins/elements/gsttypefindelement.c:
6394 (gst_type_find_handle_src_query):
6395 Check that we have a peer before executing queries thereupon.
6397 * tests/examples/metadata/read-metadata.c: (message_loop):
6398 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6399 immediately return us any available message with 0 timeout.
6401 2005-12-12 Michael Smith <msmith@fluendo.com>
6403 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6404 Don't unref factories after calling them.
6405 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6406 * plugins/elements/gsttypefindelement.c:
6407 (gst_type_find_element_chain):
6408 Free lists of factories after using them. Fixing typefinding memory
6411 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6413 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6414 (gst_plugin_feature_load):
6415 more meaningful debug output
6417 * tests/Makefile.am:
6418 * tests/old/examples/Makefile.am:
6419 make make distcheck happy again
6421 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6423 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6424 Catch the special case where we are operating chain-based,
6425 but the downstream peer pad has no chain function. Emit a
6426 custom error message in this case instead of letting the
6427 core generate one implying that this is some sort of core
6428 bug. It's not, it just means that whatever got plugged
6429 into the pipeline downstream when we announced the type
6430 can only operate pull-based, while our source can only
6431 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6432 Error string has not been marked for translation yet, as
6433 it probably needs some more work first.
6435 (gst_type_find_element_get_best_possibility):
6436 Add helper function to find the best of all available
6437 found possibilities that qualify given the min. threshold.
6439 (gst_type_find_element_handle_event):
6440 Fix the case where we get an EOS while still in TYPEFIND
6441 mode (we want to chose the best of all possible types,
6442 not just the first type that happens to be in our unsorted
6443 list of possible types).
6445 (gst_type_find_element_chain):
6446 Make sure we return GST_FLOW_ERROR when we errored out
6447 in stop_typefinding(); also, don't just find the best of
6448 all found type entries and then use the last examined
6449 type entry, but actually use the best entry.
6451 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6453 * tests/examples/typefind/typefind.c: (type_found):
6454 * tests/examples/xml/runxml.c: (xml_loaded):
6455 More gcc4 fixes and a mem leak fix.
6457 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6459 * tests/examples/xml/createxml.c: (object_saved):
6462 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6464 * tests/Makefile.am:
6465 enable the examples even more
6467 2005-12-12 Andy Wingo <wingo@pobox.com>
6469 * libs/gst/net/gstnettimeprovider.c
6470 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6471 (gst_net_time_provider_set_property)
6472 (gst_net_time_provider_get_property):
6473 API addition: Export "active" as a GObject property.
6474 (gst_net_time_provider_thread): Only respond to time queries if
6475 the time provider is active.
6477 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6478 NetTimeProvider, preserving binary compat.
6480 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6482 * tests/examples/controller/audio-example.c: (main):
6483 * tests/examples/launch/Makefile.am:
6484 convert comments again
6486 2005-12-12 Wim Taymans <wim@fluendo.com>
6488 * libs/gst/base/gstpushsrc.c:
6491 2005-12-12 Wim Taymans <wim@fluendo.com>
6493 * docs/libs/gstreamer-libs-sections.txt:
6494 Added new symbol to docs.
6496 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6497 (gst_base_src_init), (gst_base_src_set_format),
6498 (gst_base_src_default_query), (gst_base_src_query),
6499 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6500 (gst_base_src_perform_seek), (gst_base_src_send_event),
6501 (gst_base_src_default_event), (gst_base_src_event_handler),
6502 (gst_base_src_set_property), (gst_base_src_get_property),
6503 (gst_base_src_wait), (gst_base_src_do_sync),
6504 (gst_base_src_update_length), (gst_base_src_get_range),
6505 (gst_base_src_check_get_range), (gst_base_src_loop),
6506 (gst_base_src_default_negotiate), (gst_base_src_start),
6507 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6508 (gst_base_src_change_state):
6509 * libs/gst/base/gstbasesrc.h:
6510 Implement seeking to other formats than _BYTES.
6511 Implement more seeking methods correctly.
6513 Added query vmethod.
6514 Added do_seek vmethod to make life easier for subclasses
6516 API addition: gst_base_src_set_format()
6518 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6520 * tests/examples/Makefile.am:
6523 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6526 * docs/random/ensonic/media-device-daemon.txt:
6527 * tests/examples/controller/.cvsignore:
6528 * tests/examples/controller/Makefile.am:
6529 * tests/examples/controller/audio-example.c: (main):
6530 * tests/examples/helloworld/.cvsignore:
6531 * tests/examples/helloworld/Makefile.am:
6532 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6533 * tests/examples/launch/.cvsignore:
6534 * tests/examples/launch/Makefile.am:
6535 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6536 * tests/examples/metadata/.cvsignore:
6537 * tests/examples/metadata/Makefile.am:
6538 * tests/examples/metadata/read-metadata.c: (message_loop),
6539 (make_pipeline), (print_tag), (main):
6540 * tests/examples/queue/.cvsignore:
6541 * tests/examples/queue/Makefile.am:
6542 * tests/examples/queue/queue.c: (event_loop), (main):
6543 * tests/examples/typefind/.cvsignore:
6544 * tests/examples/typefind/Makefile.am:
6545 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6547 * tests/examples/xml/.cvsignore:
6548 * tests/examples/xml/Makefile.am:
6549 * tests/examples/xml/createxml.c: (object_saved), (main):
6550 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6551 * tests/old/examples/Makefile.am:
6552 * tests/old/examples/TODO:
6553 * tests/old/examples/controller/.cvsignore:
6554 * tests/old/examples/controller/Makefile.am:
6555 * tests/old/examples/controller/audio-example.c:
6556 * tests/old/examples/helloworld/.cvsignore:
6557 * tests/old/examples/helloworld/Makefile.am:
6558 * tests/old/examples/helloworld/helloworld.c:
6559 * tests/old/examples/launch/.cvsignore:
6560 * tests/old/examples/launch/Makefile.am:
6561 * tests/old/examples/launch/mp3parselaunch.c:
6562 * tests/old/examples/launch/mp3play:
6563 * tests/old/examples/manual/Makefile.am:
6564 * tests/old/examples/metadata/Makefile.am:
6565 * tests/old/examples/metadata/read-metadata.c:
6566 * tests/old/examples/queue/.cvsignore:
6567 * tests/old/examples/queue/Makefile.am:
6568 * tests/old/examples/queue/queue.c:
6569 * tests/old/examples/typefind/.cvsignore:
6570 * tests/old/examples/typefind/Makefile.am:
6571 * tests/old/examples/typefind/typefind.c:
6572 * tests/old/examples/xml/.cvsignore:
6573 * tests/old/examples/xml/Makefile.am:
6574 * tests/old/examples/xml/createxml.c:
6575 * tests/old/examples/xml/runxml.c:
6576 applied some simple fixing to some examples
6577 re-enabled the working examples
6579 2005-12-12 Wim Taymans <wim@fluendo.com>
6581 * gst/gstsegment.c: (gst_segment_init),
6582 (gst_segment_set_last_stop), (gst_segment_set_seek),
6583 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6584 (gst_segment_to_running_time):
6585 Added more documentation.
6586 Make sure the last_pos value is updated properly.
6587 Make sure to_stream_time and to_running_time don't
6588 operate on wrong values.
6590 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6593 2005-12-12 Michael Smith <msmith@fluendo.com>
6595 * plugins/elements/gsttypefindelement.c: (free_entry),
6596 (gst_type_find_element_chain):
6597 Now that we're not leaking factories, make sure we keep references
6598 to them while we need them.
6600 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6602 * tests/check/gst/struct_i386.h:
6603 ifdef out the XML structs
6605 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6607 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6608 floor is not needed, F is always positive; this obviates the
6609 need for adding -lm when building without libxml
6611 2005-12-12 Wim Taymans <wim@fluendo.com>
6613 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6614 Take current playback rate into account when reporting
6617 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6619 * docs/manual/mime-world.fig:
6620 Let's try this again, this time with a file that is
6621 actually in XFig format.
6623 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6625 * docs/manual/mime-world.fig:
6626 Add audioconvert element to diagram so that it
6627 matches the text and the code (fixes #319526).
6629 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6631 * docs/pwg/building-chainfn.xml:
6632 * docs/pwg/building-pads.xml:
6633 * docs/pwg/building-state.xml:
6634 * docs/pwg/other-source.xml:
6635 Update state change stuff for 0.10 (fixes #322969).
6637 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6639 * docs/manual/advanced-dataaccess.xml:
6640 * docs/manual/appendix-checklist.xml:
6641 * docs/manual/appendix-programs.xml:
6642 * docs/manual/basics-pads.xml:
6643 * docs/manual/highlevel-components.xml:
6644 * docs/manual/manual.xml:
6645 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6646 add converters in front of pipelines; remove curly
6647 brackets for threads stuff, they no longer exist; use
6648 GST_TYPE_FRACTION for framerates; update some pieces of
6649 code to 0.10, but there's plenty more to do.
6651 * docs/manual/appendix-porting.xml:
6652 Expand on asynchroneous state changes; s/0.9/0.10/;
6653 mention disappearance of gst_init_get_popt_table()
6656 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6658 * docs/faq/using.xml:
6659 Spider no longer exists, and neither does gst-launch-ext.
6660 Update examples to use decodebin and playbin and put
6661 converters in front of sinks (fixes #323726).
6663 2005-12-09 Michael Smith <msmith@fluendo.com>
6665 * plugins/elements/gsttypefindelement.c: (find_peek),
6666 (gst_type_find_element_chain):
6667 Fix leaking element factories in typefinding.
6668 Fix problem where we forgot about a probable type on non-seekable
6669 files, and thus later mis-typefound it.
6671 2005-12-09 Michael Smith <msmith@fluendo.com>
6673 * common/m4/gst-makecontext.m4:
6674 * common/m4/gst-mcsc.m4:
6676 * win32/common/config.h:
6677 * win32/common/config.h.in:
6678 Remove makecontext stuff; not used in 0.10 and causes problems on
6679 HPUX according to bug #322441
6681 2005-12-07 Wim Taymans <wim@fluendo.com>
6683 * tests/check/Makefile.am:
6684 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6686 * tests/check/libs/struct_i386.h:
6687 Added ABI check for libs
6689 2005-12-07 Wim Taymans <wim@fluendo.com>
6691 * tests/check/Makefile.am:
6692 And add the struct_i386.h to dist.
6694 2005-12-07 Wim Taymans <wim@fluendo.com>
6696 * tests/check/Makefile.am:
6697 * tests/check/gst/.cvsignore:
6698 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6700 * tests/check/gst/struct_i386.h:
6701 Added check for ABI compatibility.
6703 2005-12-07 Wim Taymans <wim@fluendo.com>
6705 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6706 (gst_fake_src_get_times), (gst_fake_src_create):
6707 Fix broken sync option, fixes #323259
6709 2005-12-07 Wim Taymans <wim@fluendo.com>
6714 * gst/gstcaps.c: (gst_caps_is_equal):
6715 Don't assert on NULL <--> X. Fixes #323260
6717 * gst/gstminiobject.c: (gst_mini_object_replace):
6718 If we're doing atomic operations, we might just as well use
6719 the proper way to get an atomic pointer.
6721 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6724 2005-12-07 Michael Smith <msmith@fluendo.com>
6726 * gst/parse/grammar.y:
6727 Remove handling of { } for threads.
6729 2005-12-06 David Schleef <ds@schleef.org>
6731 * libs/gst/base/gstbasetransform.c: speling fix.
6733 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6735 * docs/libs/tmpl/gstdataprotocol.sgml:
6736 * docs/random/omega/testing/gstobject.c:
6740 * gst/gstelementfactory.c:
6743 * gst/gstghostpad.c:
6745 * gst/gstpadtemplate.c:
6746 * gst/gstregistryxml.c:
6748 * gst/gsttagsetter.c:
6749 * gst/gsttypefind.c:
6751 * libs/gst/base/gstbasesrc.c:
6752 * libs/gst/net/gstnetclientclock.c:
6753 * libs/gst/net/gstnettimeprovider.c:
6754 * plugins/elements/gstfakesrc.c:
6755 * plugins/elements/gstfdsrc.c:
6756 * plugins/elements/gstfilesrc.c:
6757 * plugins/elements/gstidentity.c:
6758 * plugins/elements/gstqueue.c:
6759 * plugins/elements/gsttypefindelement.c:
6760 * plugins/indexers/gstfileindex.c:
6761 * plugins/indexers/gstmemindex.c:
6762 * tests/check/gst/gsttag.c:
6763 * tests/old/examples/cutter/cutter.c:
6764 * tests/old/examples/mixer/mixer.c:
6765 * tests/old/examples/xml/runxml.c: (main):
6766 * tests/old/testsuite/caps/normalisation.c:
6767 * tests/old/testsuite/debug/global.c:
6768 * tests/old/testsuite/parse/parse1.c:
6769 * tools/gst-xmlinspect.c:
6770 * win32/common/dirent.c:
6773 === release 0.10.0 ===
6775 2005-12-05 <thomas (at) apestaart (dot) org>
6778 releasing 0.10.0, "Maroilles"
6780 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6782 submitted by: Funda Wang <fundawang@linux.net.cn>
6786 added Chinese (Traditional) translation
6788 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6790 * docs/gst/gstreamer-sections.txt:
6791 * docs/libs/tmpl/gstdataprotocol.sgml:
6792 * docs/random/thomasvs/TODO:
6797 2005-12-05 Andy Wingo <wingo@pobox.com>
6799 patch by: Wim Taymans <wim@fluendo.com>
6801 * libs/gst/base/gstbasetransform.c
6802 (gst_base_transform_prepare_output_buf)
6803 (gst_base_transform_buffer_alloc):
6804 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6805 alloc_buffer_and_set_caps.
6807 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6808 set_caps on the source pad.
6809 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6810 alloc_buffer used to do. Fixes #322874.
6812 * docs/gst/gstreamer-sections.txt:
6813 * docs/design/part-negotiation.txt:
6814 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6817 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6819 patch by: Sebastien Moutte
6822 * win32/common/config.h.in:
6823 * win32/vs6/libgstcontroller.dsp:
6826 2005-12-05 Wim Taymans <wim@fluendo.com>
6828 * gst/gstcaps.c: (gst_caps_is_equal):
6829 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6830 (gst_fake_src_create):
6831 Back out previous code changes, leave doc updates, file bugs
6834 2005-12-05 Wim Taymans <wim@fluendo.com>
6836 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6837 (gst_fake_src_get_times), (gst_fake_src_create):
6838 * plugins/elements/gstfakesrc.h:
6839 Fix broken sync code.
6841 2005-12-05 Wim Taymans <wim@fluendo.com>
6843 * gst/gstcaps.c: (gst_caps_is_equal):
6844 Comparing NULL against !NULL yields different caps, not a
6847 2005-12-05 Wim Taymans <wim@fluendo.com>
6849 * gst/gstpipeline.c:
6850 Fix small typo in docs.
6852 2005-12-05 Andy Wingo <wingo@pobox.com>
6854 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6856 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6857 registries/plugins with a MAJORMINOR one.
6858 (plugin_desc): Rename library from gstcoreleements to
6859 staticelements. Fixes #323222.
6861 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6863 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6864 Change debug category to 'collectpads' from 'collect_pads'
6867 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6869 patch by: Sebastien Moutte
6871 * libs/gst/controller/gstinterpolation.c:
6872 use convert function for uint64/double
6873 * win32/vs6/libgstcontroller.dsp:
6876 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6878 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6879 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6881 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6882 add tests that seem to show that the guint64/gdouble conversions
6885 2005-12-02 Wim Taymans <wim@fluendo.com>
6887 * gst/gstregistry.c: (gst_registry_add_path):
6888 * gst/gstregistry.h:
6889 * gst/gstregistryxml.c:
6892 2005-12-02 Wim Taymans <wim@fluendo.com>
6894 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6895 (gst_util_uint64_scale_int):
6898 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6901 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6904 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6907 * win32/common/config.h:
6908 * win32/vs6/gstreamer.dsw:
6909 * win32/vs6/libgstcoreelements.dsp:
6910 * win32/vs6/libgstelements.dsp:
6911 renamed core elements plugin
6913 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6915 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6917 do piece-wise major/minor comparison so 0.9 < 0.10
6918 also allow .exe extensions for tools
6920 2005-12-02 Michael Smith <msmith@fluendo.com>
6923 Escape a % to make gtkdoc happier; bug 322958.
6925 === release 0.9.7 ===
6927 2005-12-01 <thomas (at) apestaart (dot) org>
6930 releasing 0.9.7, "My Dog Has No Nose"
6932 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6934 * common/gst-xmlinspect.py:
6936 * docs/libs/tmpl/gstdataprotocol.sgml:
6937 * docs/random/release:
6956 * win32/common/config.h:
6957 * win32/common/config.h.in:
6958 * win32/vs6/gst_inspect.dsp:
6959 * win32/vs6/gst_launch.dsp:
6960 * win32/vs6/libgstbase.dsp:
6961 * win32/vs6/libgstelements.dsp:
6962 * win32/vs6/libgstreamer.dsp:
6963 * win32/vs7/GStreamer.vcproj:
6964 * win32/vs7/gst-inspect.vcproj:
6965 * win32/vs7/gst-launch.vcproj:
6966 * win32/vs7/libgstbase.vcproj:
6967 bump GST_MAJORMINOR to 0.10
6968 reset libtool version
6970 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6974 Added Bulgarian translation by (Alexander Shopov)
6976 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6978 * tests/check/gst/gstplugin.c:
6981 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6983 * common/gst-xmlinspect.py:
6984 * common/gtk-doc-plugins.mak:
6987 * docs/gst/Makefile.am:
6988 * docs/gst/gstreamer-docs.sgml:
6989 * docs/gst/gstreamer-sections.txt:
6990 * docs/gst/gstreamer.types:
6991 * docs/gst/gstreamer.types.in:
6992 * docs/plugins/Makefile.am:
6993 * docs/plugins/gstreamer-plugins-docs.sgml:
6994 * docs/plugins/gstreamer-plugins-sections.txt:
6995 * docs/plugins/gstreamer-plugins.types:
6996 * docs/plugins/inspect.stamp:
6997 * docs/plugins/inspect/plugin-coreelements.xml:
6998 * docs/plugins/inspect/plugin-coreindexers.xml:
6999 * docs/plugins/scanobj-build.stamp:
7000 * gstreamer.spec.in:
7001 * plugins/elements/Makefile.am:
7002 * plugins/elements/gstelements.c:
7003 * plugins/elements/gstfakesink.c:
7004 * plugins/elements/gstfakesrc.c:
7005 * plugins/elements/gstfilesink.c:
7006 * plugins/elements/gstfilesrc.c:
7007 * plugins/elements/gstqueue.c:
7008 * plugins/indexers/Makefile.am:
7009 * plugins/indexers/gstindexers.c:
7010 document core plugins in a separate document just like all the
7012 rename these plugins to something starting with core
7014 2005-12-01 Andy Wingo <wingo@pobox.com>
7016 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7017 padding here before, but it missed the commit.
7019 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7021 * libs/gst/controller/gstinterpolation.c:
7022 whitespace prices have crashed, we should feel free to use some now
7023 use gst_guint64_to_gdouble
7025 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7027 * libs/gst/controller/gstcontroller.c:
7028 * libs/gst/controller/gsthelper.c:
7029 * libs/gst/controller/gstinterpolation.c:
7030 * libs/gst/controller/lib.c:
7031 wrap config.h include
7033 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7035 * docs/gst/gstreamer-sections.txt:
7038 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7040 * plugins/elements/gstelements.c:
7041 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7042 (gst_fd_sink__class_init), (gst_fd_sink__init),
7043 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7044 (gst_fd_sink__get_property):
7045 * plugins/elements/gstfdsink.h:
7046 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7047 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7048 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7049 (gst_fd_src_unlock), (gst_fd_src_set_property),
7050 (gst_fd_src_get_property), (gst_fd_src_create),
7051 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7052 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7053 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7054 (gst_fd_src_uri_handler_init):
7055 * plugins/elements/gstfdsrc.h:
7056 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7059 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7061 * docs/gst/Makefile.am:
7062 * docs/gst/gstreamer.types.in:
7066 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7072 * gst/gstregistry.h:
7073 * tests/benchmarks/complexity.c:
7074 * tests/benchmarks/mass-elements.c:
7075 * tests/check/Makefile.am:
7076 * tools/Makefile.am:
7077 * tools/gst-inspect.c:
7078 * tools/gst-xmlinspect.c:
7079 various fixes to make
7080 --disable-nls --disable-registry --disable-loadsave
7081 --disable-parse --disable-gst-debug
7082 work and get the core .so down to 360444 bytes after stripping
7084 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7089 * docs/random/thomasvs/TODO:
7090 * tests/Makefile.am:
7094 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7096 * win32/GStreamer.vcproj:
7099 * win32/Makefile.inspect:
7100 * win32/Makefile.launch:
7101 * win32/Makefile.register:
7103 * win32/gst-inspect.vcproj:
7104 * win32/gst-launch.vcproj:
7105 * win32/gst-register.vcproj:
7106 * win32/gstelements.vcproj:
7107 * win32/gstgetbits.def:
7108 * win32/gstgetbits.vcproj:
7109 * win32/gstreamer-dbg.def:
7110 * win32/gstreamer.def:
7111 * win32/libgstbase.def:
7112 * win32/libgstbase.vcproj:
7113 * win32/link_oldruntime.c:
7118 move even more stuff, win32/ is nice and clean now
7120 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7122 * libs/gst/control/.cvsignore:
7127 * win32/gstbytestream.def:
7128 * win32/gstbytestream.vcproj:
7129 * win32/gstconfig.h:
7130 * win32/gstenumtypes.c:
7131 * win32/gstenumtypes.h:
7132 * win32/gstoptimalscheduler.vcproj:
7133 * win32/gstversion.h:
7135 * win32/testsuite/bins.vcproj:
7136 * win32/testsuite/bytestream.vcproj:
7137 * win32/testsuite/caps.vcproj:
7138 * win32/testsuite/cleanup.vcproj:
7139 * win32/testsuite/clock.vcproj:
7140 * win32/testsuite/debug.vcproj:
7141 * win32/testsuite/dlopen.vcproj:
7142 * win32/testsuite/dynparams.vcproj:
7143 * win32/testsuite/elements.vcproj:
7144 * win32/testsuite/ghostpads.vcproj:
7145 * win32/testsuite/indexers.vcproj:
7146 * win32/testsuite/negotiation.vcproj:
7147 * win32/testsuite/parse.vcproj:
7148 * win32/testsuite/plugin.vcproj:
7149 * win32/testsuite/refcounting.vcproj:
7150 * win32/testsuite/schedulers.vcproj:
7151 * win32/testsuite/states.vcproj:
7152 * win32/testsuite/tags.vcproj:
7153 * win32/testsuite/threads.vcproj:
7154 remove old win32 stuff that isn't maintained and should be
7157 2005-11-30 Andy Wingo <wingo@pobox.com>
7159 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7160 loading the gst.interfaces python module bork.
7162 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7163 available since GLib 2.2. Fixes #318031.
7165 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7169 * check/Makefile.am:
7170 * check/elements/.cvsignore:
7171 * check/elements/fakesrc.c:
7172 * check/elements/fdsrc.c:
7173 * check/elements/identity.c:
7174 * check/generic/.cvsignore:
7175 * check/generic/states.c:
7176 * check/gst-libs/.cvsignore:
7177 * check/gst-libs/controller.c:
7178 * check/gst-libs/gdp.c:
7179 * check/gst/.cvsignore:
7180 * check/gst/capslist.h:
7182 * check/gst/gstbin.c:
7183 * check/gst/gstbuffer.c:
7184 * check/gst/gstbus.c:
7185 * check/gst/gstcaps.c:
7186 * check/gst/gstelement.c:
7187 * check/gst/gstevent.c:
7188 * check/gst/gstghostpad.c:
7189 * check/gst/gstiterator.c:
7190 * check/gst/gstmessage.c:
7191 * check/gst/gstminiobject.c:
7192 * check/gst/gstobject.c:
7193 * check/gst/gstpad.c:
7194 * check/gst/gstpipeline.c:
7195 * check/gst/gstplugin.c:
7196 * check/gst/gstsegment.c:
7197 * check/gst/gststructure.c:
7198 * check/gst/gstsystemclock.c:
7199 * check/gst/gsttag.c:
7200 * check/gst/gstutils.c:
7201 * check/gst/gstvalue.c:
7202 * check/net/.cvsignore:
7203 * check/net/gstnetclientclock.c:
7204 * check/net/gstnettimeprovider.c:
7205 * check/pipelines/.cvsignore:
7206 * check/pipelines/cleanup.c:
7207 * check/pipelines/simple_launch_lines.c:
7208 * check/pipelines/stress.c:
7209 * check/states/.cvsignore:
7210 * check/states/sinks.c:
7212 * examples/Makefile.am:
7213 * examples/appreader/.cvsignore:
7214 * examples/appreader/Makefile.am:
7215 * examples/appreader/appreader.c:
7216 * examples/controller/.cvsignore:
7217 * examples/controller/Makefile.am:
7218 * examples/controller/audio-example.c:
7219 * examples/cutter/.cvsignore:
7220 * examples/cutter/Makefile.am:
7221 * examples/cutter/cutter.c:
7222 * examples/cutter/cutter.h:
7223 * examples/events/Makefile.am:
7224 * examples/events/seek.c:
7225 * examples/helloworld/.cvsignore:
7226 * examples/helloworld/Makefile.am:
7227 * examples/helloworld/helloworld.c:
7228 * examples/helloworld2/.cvsignore:
7229 * examples/helloworld2/Makefile.am:
7230 * examples/helloworld2/helloworld2.c:
7231 * examples/launch/.cvsignore:
7232 * examples/launch/Makefile.am:
7233 * examples/launch/mp3parselaunch.c:
7234 * examples/launch/mp3play:
7235 * examples/manual/.cvsignore:
7236 * examples/manual/Makefile.am:
7237 * examples/manual/extract.pl:
7238 * examples/metadata/Makefile.am:
7239 * examples/metadata/read-metadata.c:
7240 * examples/mixer/.cvsignore:
7241 * examples/mixer/Makefile.am:
7242 * examples/mixer/mixer.c:
7243 * examples/mixer/mixer.h:
7244 * examples/pingpong/.cvsignore:
7245 * examples/pingpong/Makefile.am:
7246 * examples/pingpong/pingpong.c:
7247 * examples/plugins/.cvsignore:
7248 * examples/plugins/Makefile.am:
7249 * examples/plugins/example.c:
7250 * examples/plugins/example.h:
7251 * examples/pwg/.cvsignore:
7252 * examples/pwg/Makefile.am:
7253 * examples/pwg/extract.pl:
7254 * examples/queue/.cvsignore:
7255 * examples/queue/Makefile.am:
7256 * examples/queue/queue.c:
7257 * examples/queue2/.cvsignore:
7258 * examples/queue2/Makefile.am:
7259 * examples/queue2/queue2.c:
7260 * examples/queue3/.cvsignore:
7261 * examples/queue3/Makefile.am:
7262 * examples/queue3/queue3.c:
7263 * examples/queue4/.cvsignore:
7264 * examples/queue4/Makefile.am:
7265 * examples/queue4/queue4.c:
7266 * examples/retag/.cvsignore:
7267 * examples/retag/Makefile.am:
7268 * examples/retag/retag.c:
7269 * examples/retag/transcode.c:
7270 * examples/thread/.cvsignore:
7271 * examples/thread/Makefile.am:
7272 * examples/thread/thread.c:
7273 * examples/typefind/.cvsignore:
7274 * examples/typefind/Makefile.am:
7275 * examples/typefind/typefind.c:
7276 * examples/xml/.cvsignore:
7277 * examples/xml/Makefile.am:
7278 * examples/xml/createxml.c:
7279 * examples/xml/runxml.c:
7280 * tests/Makefile.am:
7281 * tests/check/Makefile.am:
7282 * testsuite/.cvsignore:
7283 * testsuite/Makefile.am:
7285 * testsuite/caps/.cvsignore:
7286 * testsuite/caps/Makefile.am:
7287 * testsuite/caps/app_fixate.c:
7288 * testsuite/caps/audioscale.c:
7289 * testsuite/caps/caps.c:
7290 * testsuite/caps/caps.h:
7291 * testsuite/caps/caps_strings:
7292 * testsuite/caps/compatibility.c:
7293 * testsuite/caps/deserialize.c:
7294 * testsuite/caps/enumcaps.c:
7295 * testsuite/caps/eratosthenes.c:
7296 * testsuite/caps/filtercaps.c:
7297 * testsuite/caps/fixed.c:
7298 * testsuite/caps/fraction-convert.c:
7299 * testsuite/caps/fraction-multiply-and-zero.c:
7300 * testsuite/caps/intersect2.c:
7301 * testsuite/caps/intersection.c:
7302 * testsuite/caps/normalisation.c:
7303 * testsuite/caps/random.c:
7304 * testsuite/caps/renegotiate.c:
7305 * testsuite/caps/sets.c:
7306 * testsuite/caps/simplify.c:
7307 * testsuite/caps/string-conversions.c:
7308 * testsuite/caps/structure.c:
7309 * testsuite/caps/subtract.c:
7310 * testsuite/caps/union.c:
7311 * testsuite/debug/.cvsignore:
7312 * testsuite/debug/Makefile.am:
7313 * testsuite/debug/category.c:
7314 * testsuite/debug/commandline.c:
7315 * testsuite/debug/global.c:
7316 * testsuite/debug/output.c:
7317 * testsuite/debug/printf_extension.c:
7318 * testsuite/dlopen/.cvsignore:
7319 * testsuite/dlopen/Makefile.am:
7320 * testsuite/dlopen/dlopen_gst.c:
7321 * testsuite/dlopen/loadgst.c:
7322 * testsuite/elements/.cvsignore:
7323 * testsuite/elements/Makefile.am:
7324 * testsuite/elements/gst-inspect-check.in:
7325 * testsuite/elements/struct_i386.h:
7326 * testsuite/elements/struct_size.c:
7327 * testsuite/indexers/.cvsignore:
7328 * testsuite/indexers/Makefile.am:
7329 * testsuite/indexers/cache1.c:
7330 * testsuite/indexers/indexdump.c:
7331 * testsuite/parse/.cvsignore:
7332 * testsuite/parse/Makefile.am:
7333 * testsuite/parse/parse1.c:
7334 * testsuite/parse/parse2.c:
7335 * testsuite/plugin/.cvsignore:
7336 * testsuite/plugin/Makefile.am:
7337 * testsuite/plugin/README:
7338 * testsuite/plugin/dynamic.c:
7339 * testsuite/plugin/linked.c:
7340 * testsuite/plugin/loading.c:
7341 * testsuite/plugin/registry.c:
7342 * testsuite/plugin/static.c:
7343 * testsuite/plugin/static2.c:
7344 * testsuite/plugin/testplugin.c:
7345 * testsuite/plugin/testplugin2.c:
7346 * testsuite/plugin/testplugin2_s.c:
7347 * testsuite/plugin/testplugin_s.c:
7348 * testsuite/refcounting/.cvsignore:
7349 * testsuite/refcounting/Makefile.am:
7350 * testsuite/refcounting/bin.c:
7351 * testsuite/refcounting/element.c:
7352 * testsuite/refcounting/element_pad.c:
7353 * testsuite/refcounting/mainloop.c:
7354 * testsuite/refcounting/mem.c:
7355 * testsuite/refcounting/mem.h:
7356 * testsuite/refcounting/object.c:
7357 * testsuite/refcounting/pad.c:
7358 * testsuite/refcounting/sched.c:
7359 * testsuite/refcounting/thread.c:
7360 * testsuite/states/.cvsignore:
7361 * testsuite/states/Makefile.am:
7362 * testsuite/states/bin.c:
7363 * testsuite/states/locked.c:
7364 * testsuite/states/parent.c:
7365 * testsuite/threads/.cvsignore:
7366 * testsuite/threads/159566.c:
7367 * testsuite/threads/159852.c:
7368 * testsuite/threads/Makefile.am:
7369 * testsuite/threads/queue.c:
7370 * testsuite/threads/signals.c:
7371 * testsuite/threads/staticrec.c:
7372 * testsuite/threads/thread.c:
7373 * testsuite/threads/threadb.c:
7374 * testsuite/threads/threadc.c:
7375 * testsuite/threads/threadd.c:
7376 * testsuite/threads/threade.c:
7377 * testsuite/threads/threadf.c:
7378 * testsuite/threads/threadg.c:
7379 * testsuite/threads/threadh.c:
7380 * testsuite/threads/threadi.c:
7381 move all of these under tests
7383 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7386 * tests/Makefile.am:
7389 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7391 * docs/gst/gstreamer-sections.txt:
7392 * tests/sched/.cvsignore:
7393 * tests/sched/Makefile.am:
7394 * tests/sched/cases/(fs-fs).xml:
7395 * tests/sched/cases/(fs-i-fs).xml:
7396 * tests/sched/cases/(fs-i-i-fs).xml:
7397 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7398 * tests/sched/dynamic-pipeline.c:
7399 * tests/sched/interrupt1.c:
7400 * tests/sched/interrupt2.c:
7401 * tests/sched/interrupt3.c:
7402 * tests/sched/runtestcases:
7403 * tests/sched/runxml.c:
7404 * tests/sched/sched-stress.c:
7405 * tests/sched/sort.c:
7406 * tests/sched/testcases:
7407 * tests/sched/testcases1.tc:
7408 * tests/seeking/.cvsignore:
7409 * tests/seeking/Makefile.am:
7410 * tests/seeking/seeking1.c:
7411 * tests/threadstate/.cvsignore:
7412 * tests/threadstate/Makefile.am:
7413 * tests/threadstate/test1.c:
7414 * tests/threadstate/test2.c:
7415 * tests/threadstate/threadstate1.c:
7416 * tests/threadstate/threadstate2.c:
7417 * tests/threadstate/threadstate3.c:
7418 * tests/threadstate/threadstate4.c:
7419 * tests/threadstate/threadstate5.c:
7420 remove obsolete tests
7422 * tests/bench-complexity.scm:
7423 * tests/bench-mass_elements.scm:
7424 * tests/complexity.c:
7425 * tests/complexity.gnuplot:
7426 * tests/instantiate/.cvsignore:
7427 * tests/instantiate/Makefile.am:
7428 * tests/instantiate/caps.c:
7429 * tests/mass_elements.c:
7430 * tests/network-clock-utils.scm:
7431 * tests/network-clock.scm:
7433 First pass at cleaning up tests/ dir before moving the rest
7434 Combined with CVS surgery
7436 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7439 queue has moved, update
7441 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7443 * docs/gst/gstreamer-sections.txt:
7444 remove double entries from the docs
7445 * gst/gst_private.h:
7446 * gst/gstinfo.c: (_gst_debug_init):
7447 remove the THREAD debug category
7451 * docs/gst/gstreamer.types:
7452 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7453 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7454 completely move queue and fix up debugging categories
7456 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7458 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7459 make initialization portable, using LL is not
7461 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7463 * win32/common/gstconfig.h:
7466 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7468 * win32/common/libgstreamer.def:
7469 rename symbols; sort base section
7471 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7473 * gst/gstclock.c: (do_linear_regression):
7474 remove crack non-portable handrolled DEBUG macro
7476 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7478 * docs/random/release:
7480 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7481 (gst_object_flags_get_type), (register_gst_bin_flags),
7482 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7483 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7484 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7485 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7486 (gst_caps_flags_get_type), (register_gst_clock_return),
7487 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7488 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7489 (gst_clock_flags_get_type), (register_gst_state),
7490 (gst_state_get_type), (register_gst_state_change_return),
7491 (gst_state_change_return_get_type), (register_gst_state_change),
7492 (gst_state_change_get_type), (register_gst_element_flags),
7493 (gst_element_flags_get_type), (register_gst_core_error),
7494 (gst_core_error_get_type), (register_gst_library_error),
7495 (gst_library_error_get_type), (register_gst_resource_error),
7496 (gst_resource_error_get_type), (register_gst_stream_error),
7497 (gst_stream_error_get_type), (register_gst_event_type_flags),
7498 (gst_event_type_flags_get_type), (register_gst_event_type),
7499 (gst_event_type_get_type), (register_gst_seek_type),
7500 (gst_seek_type_get_type), (register_gst_seek_flags),
7501 (gst_seek_flags_get_type), (register_gst_format),
7502 (gst_format_get_type), (register_gst_index_certainty),
7503 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7504 (gst_index_entry_type_get_type),
7505 (register_gst_index_lookup_method),
7506 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7507 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7508 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7509 (gst_index_flags_get_type), (register_gst_debug_level),
7510 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7511 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7512 (gst_iterator_result_get_type), (register_gst_iterator_item),
7513 (gst_iterator_item_get_type), (register_gst_message_type),
7514 (gst_message_type_get_type), (register_gst_mini_object_flags),
7515 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7516 (gst_pad_link_return_get_type), (register_gst_flow_return),
7517 (gst_flow_return_get_type), (register_gst_activate_mode),
7518 (gst_activate_mode_get_type), (register_gst_pad_direction),
7519 (gst_pad_direction_get_type), (register_gst_pad_flags),
7520 (gst_pad_flags_get_type), (register_gst_pad_presence),
7521 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7522 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7523 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7524 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7525 (gst_plugin_flags_get_type), (register_gst_rank),
7526 (gst_rank_get_type), (register_gst_query_type),
7527 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7528 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7529 (gst_tag_flag_get_type), (register_gst_task_state),
7530 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7531 (gst_alloc_trace_flags_get_type),
7532 (register_gst_type_find_probability),
7533 (gst_type_find_probability_get_type), (register_gst_uri_type),
7534 (gst_uri_type_get_type), (register_gst_parse_error),
7535 (gst_parse_error_get_type):
7536 * win32/common/gstenumtypes.h:
7537 * win32/common/gstversion.h:
7538 update visual studio generated files
7540 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7542 * win32/vs6/libgstbase.dsp:
7543 * win32/vs6/libgstelements.dsp:
7544 update project files for new locations
7546 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7551 reinstate and update
7556 * docs/random/LICENSE:
7559 2005-11-30 Edward Hervey <edward@fluendo.com>
7561 * gst/gsttypefind.c: (gst_type_find_register):
7562 * gst/gsttypefind.h:
7563 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7564 (gst_type_find_factory_dispose):
7565 * gst/gsttypefindfactory.h:
7566 Fix memory leak in GstTypeFindFactory.
7568 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7571 * plugins/elements/Makefile.am:
7572 * plugins/elements/gstelements.c:
7573 * plugins/elements/gstqueue.c:
7574 move queue from core to the elements plugin
7576 2005-11-29 Andy Wingo <wingo@pobox.com>
7578 * libs/gst/base/gstbasetransform.h:
7579 * libs/gst/base/gstbasesrc.h:
7580 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7582 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7583 of pointers by which to pad very extensible base classes (like the
7584 ones in libs/gst/base).
7586 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7588 * docs/gst/gstreamer-docs.sgml:
7589 * docs/gst/gstreamer-sections.txt:
7590 * docs/libs/gstreamer-libs-docs.sgml:
7591 * docs/libs/gstreamer-libs-sections.txt:
7592 moving documentation from core to lib
7594 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7596 * check/Makefile.am:
7598 * docs/gst/Makefile.am:
7600 * gst/base/.cvsignore:
7601 * gst/base/Makefile.am:
7603 * gst/base/gstadapter.c:
7604 * gst/base/gstadapter.h:
7605 * gst/base/gstbasesink.c:
7606 * gst/base/gstbasesink.h:
7607 * gst/base/gstbasesrc.c:
7608 * gst/base/gstbasesrc.h:
7609 * gst/base/gstbasetransform.c:
7610 * gst/base/gstbasetransform.h:
7611 * gst/base/gstcollectpads.c:
7612 * gst/base/gstcollectpads.h:
7613 * gst/base/gstpushsrc.c:
7614 * gst/base/gstpushsrc.h:
7615 * gst/base/gsttypefindhelper.c:
7616 * gst/base/gsttypefindhelper.h:
7617 * gst/check/Makefile.am:
7618 * gst/check/gstcheck.c:
7619 * gst/check/gstcheck.h:
7620 * gst/net/Makefile.am:
7622 * gst/net/gstnetclientclock.c:
7623 * gst/net/gstnetclientclock.h:
7624 * gst/net/gstnettimepacket.c:
7625 * gst/net/gstnettimepacket.h:
7626 * gst/net/gstnettimeprovider.c:
7627 * gst/net/gstnettimeprovider.h:
7628 * libs/gst/Makefile.am:
7629 * libs/gst/base/Makefile.am:
7630 * libs/gst/base/gstbasetransform.c:
7631 * libs/gst/check/Makefile.am:
7632 * plugins/elements/Makefile.am:
7634 CVS surgery + support to move base, check, and net out of gst
7637 2005-11-29 Andy Wingo <wingo@pobox.com>
7639 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7641 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7644 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7646 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7648 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7650 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7651 padding; reduces object size by about 30%. We don't expect
7652 anything else to go into gstobject.
7654 * gst/gstminiobject.h (struct _GstMiniObject)
7655 (struct _GstMiniObjectClass): Only one pointer of padding; the
7656 payload is only a pointer and two ints anyway. For the class there
7657 are only two methods as well.
7659 * gst/gstelement.h (struct _GstElementClass): Removed
7660 the state_changed signal callback, it is not used.
7662 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7664 * docs/gst/gstreamer.types:
7665 fix includes, though they are a little dinky
7667 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7669 * check/Makefile.am:
7670 look in the right place for elements, a lot more chance of
7673 remove indexers and elements subdirs
7674 * plugins/Makefile.am:
7675 make indexers conditional
7677 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7681 * plugins/elements/Makefile.am:
7682 * plugins/elements/gstcapsfilter.c:
7683 * plugins/elements/gstfilesink.c:
7684 * plugins/elements/gstfilesrc.c:
7685 * plugins/elements/gstidentity.c:
7686 * plugins/indexers/Makefile.am:
7687 do CVS surgery and related build fixery to move elements
7688 and indexers in a new gstreamer/plugins directory, out of the
7691 2005-11-29 Andy Wingo <wingo@pobox.com>
7693 * check/Makefile.am:
7694 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7695 * pkgconfig/gstreamer-net.pc.in:
7696 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7699 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7701 * tools/Makefile.am:
7702 * tools/gst-complete.1.in:
7703 * tools/gst-complete.c:
7704 * tools/gst-compprep.1.in:
7705 * tools/gst-compprep.c:
7706 removing -compprep and -complete
7708 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7710 * gst/gstevent.c: (gst_event_new_new_segment),
7711 (gst_event_parse_new_segment):
7713 fix #320529 - clean up new_segment API and structure.
7714 Let's hope everyone was using the methods, and not the structure.
7716 2005-11-29 Edward Hervey <edward@fluendo.com>
7718 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7719 (gst_base_sink_event), (gst_base_sink_do_sync),
7720 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7721 Properly handle non GST_FORMAT_TIME segment
7722 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7723 Properly handle non GST_FORMAT_TIME segment
7725 This function is valid if the accumulator is 0 and the format
7726 is different from the requested format.
7728 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7730 * docs/gst/gstreamer-sections.txt:
7731 Add gst_query_new_seeking and gst_query_parse_seeking to the
7734 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7736 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7737 Treat a pad alloc with new caps the same as if we were not
7738 negotiated, in order to allow a changing upstream output
7739 to produce a new format of data.
7741 2005-11-29 Edward Hervey <edward@fluendo.com>
7743 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7744 (gst_base_transform_event), (gst_base_transform_eventfunc):
7745 The event virtual method is now properly implemented, with a default
7747 Sub classes should call the parent_class event method. They should
7748 return FALSE if they had a problem handling the given event, or don't
7749 want GstBaseTransform to send that even downstream
7750 * gst/elements/gstidentity.c: (gst_identity_class_init),
7751 (gst_identity_init), (gst_identity_event),
7752 (gst_identity_transform_ip), (gst_identity_set_property),
7753 (gst_identity_get_property):
7754 * gst/elements/gstidentity.h:
7755 Added the single-segment boolean property.
7756 If set to TRUE, it will output a single segment of data, starting from
7757 0, will eat up all incoming newsegment, and modify the timestamp of the
7760 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7762 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7763 Don't ref NULL target pad (#322751). Improve docs.
7765 2005-11-29 Michael Smith <msmith@fluendo.com>
7767 * gst/gstregistryxml.c: (load_plugin):
7768 Don't crash if we failed to load a feature from a plugin.
7770 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7772 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7774 use more check API and less GLib API
7776 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7779 don't run checks if we don't have check
7781 remove the registry when running make torture
7782 * docs/gst/gstreamer-sections.txt:
7783 remove second multiply
7784 * gst/gstqueue.c: (gst_queue_loop):
7785 fix a compile warning when disabling debug
7787 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7790 Hey! Let's print the pad name if the pointer != NULL instead
7791 of when it == NULL :-)
7793 2005-11-28 Wim Taymans <wim@fluendo.com>
7795 * check/gst/gstutils.c: (GST_START_TEST):
7796 Updated check, add some scaling accuracy checking code.
7798 * gst/gstutils.c: (gst_util_div128_64),
7799 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7800 (gst_util_uint64_scale_int):
7801 Fix 6 times faster division code. Optimize for common
7802 1/1 and less common X/1 cases.
7804 2005-11-28 Wim Taymans <wim@fluendo.com>
7806 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7809 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7810 (do_linear_regression), (gst_clock_add_observation):
7812 Release lock when the clock cannot be slaved.
7813 Catch the case where the regression returned an invalid denominator.
7815 * gst/gstutils.c: (gst_util_div128_64_iterate),
7816 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7817 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7818 Add protentially more performant non-iterative 128/64 divide function
7819 that unfortunatly does not work yet.
7820 Shortcut the trivial 0/X = 0 case.
7821 Remove the warnings on overflow.
7823 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7825 * gst/gstplugin.c: (gst_plugin_register_func):
7826 everything causing a plugin not to load should be at least a WARNING
7828 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7830 * docs/random/ensonic/dparams.txt:
7831 some TODOs for the next dev cycle
7832 * libs/gst/controller/gstcontroller.c:
7833 (gst_controlled_property_set_interpolation_mode),
7834 (gst_controlled_property_new):
7835 * libs/gst/controller/gstcontroller.h:
7836 use base type to assign acccessor functions
7838 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7840 * check/Makefile.am:
7841 Oops, that should have been top_srcdir
7843 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7845 * check/Makefile.am:
7846 * check/elements/fdsrc.c: (GST_START_TEST):
7847 Use a cmdline define to specify the location of a file to use for
7848 testing, to avoid breaking distcheck.
7850 2005-11-28 Andy Wingo <wingo@pobox.com>
7852 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7854 2005-11-28 Edward Hervey <edward@fluendo.com>
7856 * tools/gst-launch.c: (main):
7857 Clarify the output strings, makes it easier to translate.
7860 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7863 don't try and build net if we don't even have <sys/socket.h>
7865 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7867 * check/Makefile.am:
7868 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7869 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7870 Add tests for fdsrc seekability
7872 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7873 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7874 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7875 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7876 * gst/elements/gstfdsrc.h:
7877 fdsrc should not be a 'live' source.
7878 Implement seeking on seekable fd's.
7880 * gst/gstquery.c: (gst_query_new_seeking),
7881 (gst_query_parse_seeking):
7883 Implement SEEKING query functions:
7884 *_new_seeking and *_parse_seeking
7886 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7888 * gst/gstelement.c: (gst_element_dispose):
7891 * gst/gstiterator.c:
7892 * gst/gststructure.c:
7895 * libs/gst/controller/gstcontroller.c:
7896 (gst_controlled_property_set_interpolation_mode):
7897 * libs/gst/controller/gstcontroller.h:
7898 * libs/gst/controller/gstinterpolation.c:
7899 (interpolate_none_get_enum_value_array):
7900 support controlling enums
7902 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7905 Improve documentation for gst_value_union().
7908 Change return value for union, intersect and subtract functions
7909 from gint to gboolean.
7911 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7913 * gst/gstvalue.c: (gst_value_serialize_any_list),
7914 (gst_value_transform_any_list_string),
7915 (gst_value_deserialize_list), (gst_value_deserialize_array),
7916 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7917 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7918 (gst_value_set_fraction_range_full),
7919 (gst_value_deserialize_fraction_range),
7920 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7921 (gst_value_deserialize_boolean),
7922 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7923 (gst_value_serialize_float), (gst_value_deserialize_float),
7924 (gst_string_wrap), (gst_value_deserialize_string),
7925 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7926 (gst_value_union_int_range_int_range),
7927 (gst_value_intersect_int_range_int_range),
7928 (gst_value_intersect_double_range_double_range),
7929 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7930 (gst_value_subtract_int_range_int_range),
7931 (gst_value_subtract_double_double_range),
7932 (gst_value_subtract_double_range_double_range),
7933 (gst_value_deserialize_fraction):
7935 Use gint, gdouble and gchar in our API instead of int, double and
7936 char (and make usage in gstvalue.c more consistent).
7938 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7940 * check/Makefile.am:
7941 * libs/gst/controller/Makefile.am:
7942 * libs/gst/dataprotocol/Makefile.am:
7943 fix up Makefile.am and remove GST_ENABLE_NEW
7945 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7949 * gst/base/Makefile.am:
7950 * gst/check/Makefile.am:
7951 * gst/elements/Makefile.am:
7952 * gst/net/Makefile.am:
7953 update LDFLAGS use some more
7955 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7957 * common/m4/gst-doc.m4:
7960 2005-11-26 Edward Hervey <edward@fluendo.com>
7962 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7963 This shouldn't issue a g_warning since it returns NULL if it
7964 couldn't find the plugin, and all functions using this behave
7965 properly on a NULL return. Switching to a GST_WARNING.
7967 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
7969 * gst/gstbin.c: (gst_bin_handle_message_func):
7970 Don't leak clock messages.
7972 2005-11-25 Wim Taymans <wim@fluendo.com>
7974 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7975 (gst_util_uint64_scale_int):
7976 Optimisations, remove unneeded vars.
7978 2005-11-25 Wim Taymans <wim@fluendo.com>
7980 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7981 Added more checks for the high precision uint64 cases.
7983 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7984 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7985 Implement high precision (guint64 * guint64) / guint64.
7987 2005-11-24 Wim Taymans <wim@fluendo.com>
7989 * gst/base/gstbasesrc.c: (gst_base_src_query):
7990 Fix wrong percentage query.
7992 * gst/gstutils.c: (gst_util_uint64_scale),
7993 (gst_util_uint64_scale_int):
7994 Add some more common cases that can be handled
7995 efficiently to _scale.
7997 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7999 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8000 (gst_mini_object_suite):
8001 don't use check calls from threads; check probably isn't
8002 threadsafe and using a lock to make it threadsafe would
8003 defeat the purpose of this check
8004 * gst/check/gstcheck.c:
8005 * gst/check/gstcheck.h:
8006 use GST_DEBUG some more
8008 2005-11-24 Wim Taymans <wim@fluendo.com>
8010 * gst/gstutils.c: (gst_util_uint64_scale),
8011 (gst_util_uint64_scale_int):
8012 Chain trivial case to _scale_int.
8014 2005-11-24 Wim Taymans <wim@fluendo.com>
8016 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8017 Added test for scaling.
8022 * gst/gstutils.c: (gst_util_uint64_scale_int):
8023 Implemented high precision scaling code.
8025 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8028 do not crash on pad==NULL
8030 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8032 Patch by: Stefan Kost
8034 * common/gtk-doc.mak:
8035 * docs/gst/Makefile.am:
8036 * docs/libs/Makefile.am:
8037 Fix distcheck issues for the libraries docs build
8040 2005-11-24 Michael Smith <msmith@fluendo.com>
8042 * docs/manual/basics-helloworld.xml:
8043 Fix bug #315027: memory leak in example code in docs.
8045 2005-11-24 Michael Smith <msmith@fluendo.com>
8047 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8048 Unlock the PREROLL_LOCK in a failure case.
8050 2005-11-24 Wim Taymans <wim@fluendo.com>
8052 * docs/gst/gstreamer-sections.txt:
8053 * gst/base/gstadapter.h:
8054 * gst/base/gstbasesink.h:
8055 * gst/base/gstbasesrc.h:
8056 * gst/base/gstbasetransform.h:
8057 * gst/base/gstpushsrc.h:
8058 * gst/elements/gstfakesink.h:
8059 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8060 * gst/elements/gstfakesrc.h:
8061 * gst/elements/gstfilesink.h:
8062 * gst/elements/gstfilesrc.h:
8065 * gst/gstbuffer.c: (_gst_buffer_copy):
8068 * gst/gstchildproxy.c:
8071 * gst/gstelementfactory.c:
8072 * gst/gstelementfactory.h:
8074 * gst/gstghostpad.h:
8076 * gst/gstinterface.h:
8077 * gst/gstminiobject.c:
8078 * gst/gstminiobject.h:
8081 * gst/gstpadtemplate.h:
8082 * gst/gstpipeline.h:
8083 * gst/gstpluginfeature.h:
8088 * gst/gsttagsetter.c:
8089 * gst/gsttagsetter.h:
8092 * gst/gsttypefind.h:
8095 * gst/net/gstnetclientclock.c:
8096 * gst/net/gstnetclientclock.h:
8097 * gst/net/gstnettimepacket.c:
8098 * gst/net/gstnettimeprovider.c:
8099 * gst/net/gstnettimeprovider.h:
8102 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8104 * configure.ac: back to HEAD
8106 === release 0.9.6 ===
8108 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8111 releasing 0.9.6, "Always On Time"
8113 2005-11-23 Wim Taymans <wim@fluendo.com>
8115 * docs/gst/gstreamer-sections.txt:
8116 * gst/glib-compat.c:
8117 * gst/gsttagsetter.c:
8119 * gst/net/gstnetclientclock.c:
8120 * gst/net/gstnettimepacket.h:
8123 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8125 * docs/faq/using.xml:
8126 * docs/libs/tmpl/gstcontrol.sgml:
8127 * docs/manual/advanced-dparams.xml:
8128 * docs/manual/appendix-checklist.xml:
8129 * docs/manual/basics-elements.xml:
8130 * docs/pwg/other-source.xml:
8131 * docs/random/moving-plugins:
8133 * tools/gst-launch.1.in:
8134 remove mentions of sinesrc
8136 2005-11-23 Michael Smith <msmith@fluendo.com>
8138 * docs/gst/gstreamer-sections.txt:
8139 Update for new API and API changes.
8141 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8143 Documentation typo fix.
8144 * gst/net/gstnettimepacket.c:
8145 Documentation fixes for arguments.
8147 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8149 * gst/gststructure.c: (gst_structure_get_fraction),
8150 (gst_structure_parse_value),
8151 (gst_structure_fixate_field_nearest_fraction):
8152 * gst/gststructure.h:
8153 * gst/gstutils.c: (gst_util_uint64_scale_int):
8155 * scripts/update-funcnames:
8157 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8158 Make gst_structure_fixate_field_nearest_fraction take a numerator
8159 and denominator argument instead of a GValue
8160 add gst_structure_get_fraction helper function.
8162 2005-11-23 Wim Taymans <wim@fluendo.com>
8164 * docs/design/part-TODO.txt:
8167 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8168 * gst/net/gstnetclientclock.h:
8169 Use parent fields for timeout and window_size.
8171 2005-11-23 Andy Wingo <wingo@pobox.com>
8173 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8174 rate_num/rate_denom change.
8176 * gst/net/gstnetclientclock.c
8177 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8178 OBJECT_LOCK. Don't call add_observation with the lock.
8180 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8182 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8184 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8185 deal with rate as a fraction whose numerator and denominator are
8186 GstClockTime values.
8187 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8188 master; the other fields are protected by the SLAVE_LOCK.
8189 (do_linear_regression): Note that this must be called with the
8191 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8192 OBJECT_LOCK. Call set_calibration instead of touching the
8194 (gst_clock_set_property, gst_clock_get_property): Protect
8195 master/slave parameters with the SLAVE_LOCK.
8197 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8198 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8199 note that all of the instance variables that add_observation and
8200 the set_master functions use are protected by that lock and not
8202 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8204 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8205 the caller to take the object lock.
8207 2005-11-23 Wim Taymans <wim@fluendo.com>
8209 * gst/gsterror.c: (_gst_core_errors_init):
8211 Add error for clock stuff.
8213 * gst/gstpipeline.c: (gst_pipeline_change_state),
8214 (gst_pipeline_set_clock):
8215 Post clock error when clock cannot be used in a pipeline.
8217 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8219 * docs/gst/gstreamer-sections.txt:
8220 make two symbols from gstinfo private for the docs
8221 * gst/base/gstcollectpads.h:
8223 fix doc typos, update docs
8225 2005-11-22 Wim Taymans <wim@fluendo.com>
8227 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8228 (gst_base_sink_wait), (gst_base_sink_do_sync),
8229 (gst_base_sink_handle_event):
8230 * gst/base/gstbasesink.h:
8231 No need to store the clock, the parent element class already
8234 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8235 Updates for clock_set returning a gboolean
8237 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8238 (gst_clock_id_wait_async), (gst_clock_class_init),
8239 (gst_clock_init), (gst_clock_finalize),
8240 (gst_clock_get_internal_time), (gst_clock_get_time),
8241 (gst_clock_slave_callback), (gst_clock_set_master),
8242 (gst_clock_get_master), (do_linear_regression),
8243 (gst_clock_add_observation), (gst_clock_set_property),
8244 (gst_clock_get_property):
8246 Implement master/slave. When setting a clock as a slave, a
8247 periodic timeout is scheduled to sample master and slave times.
8248 Then the slave clock is recalibrated to match offset and rate
8249 of the master clock.
8250 Update logging a bit.
8251 Add flag so that a clock can state that is cannot be slaved to
8254 * gst/gstelement.c: (gst_element_set_clock):
8256 The set clock returns a gboolean for when an element cannot
8257 deal with the selected clock in the pipeline.
8259 * gst/gstpipeline.c: (gst_pipeline_change_state),
8260 (gst_pipeline_set_clock):
8261 * gst/gstpipeline.h:
8262 Handle the case where the selected clock cannot be set on
8265 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8266 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8267 (gst_net_client_clock_set_property),
8268 (gst_net_client_clock_get_property),
8269 (gst_net_client_clock_observe_times):
8270 * gst/net/gstnetclientclock.h:
8271 Use regression code in GstClock parent, remove duplicated
8274 2005-11-22 Michael Smith <msmith@fluendo.com>
8276 * gst/gstutils.c: (gst_util_clock_time_scale):
8278 * docs/gst/gstreamer-sections.txt:
8279 Rename method to have extra underscore.
8281 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8283 * gst/elements/Makefile.am:
8284 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8285 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8286 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8287 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8288 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8289 * gst/elements/gstfakesrc.h:
8290 * gst/gstqueue.c: (queue_leaky_get_type):
8291 correctly fix GEnumValues so that nick is the short lowercase
8293 * tools/gst-inspect.c: (print_element_properties_info):
8294 also show the nick, since it's useful to use from parse_launch
8298 2005-11-22 Michael Smith <msmith@fluendo.com>
8300 * gst/gstutils.c: (gst_util_clocktime_scale):
8302 * docs/gst/gstreamer-sections.txt:
8303 Add util method for scaling a clocktime by a fraction. Useful
8304 implementation is left as an exercise for the reader.
8306 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8308 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8309 If needed, allocate storage in the destination value during
8312 2005-11-22 Edward Hervey <edward@fluendo.com>
8314 * docs/gst/gstreamer-sections.txt:
8319 * gst/gstutils.c: (gst_util_set_object_arg):
8320 * tools/gst-compprep.c: (main):
8321 * tools/gst-inspect.c: (print_element_properties_info):
8322 Removed GstURI, closes bug #321061
8324 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8326 * check/gst/gststructure.c: (GST_START_TEST):
8327 * gst/gststructure.c: (gst_structure_parse_value):
8328 Oops, broke automatic string type parsing.
8329 Add a test to catch it in future.
8331 2005-11-22 Andy Wingo <wingo@pobox.com>
8333 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8334 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8335 Actually rename the function implementations. Grr.
8337 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8339 * check/gst/capslist.h:
8341 * check/gst/gststructure.c: (GST_START_TEST),
8342 (gst_structure_suite):
8343 Test automatic value type detection in gst_structure_from_string.
8344 * gst/gststructure.c: (gst_structure_parse_value):
8345 Add fraction as a type we try and guess automatically in
8346 caps/structure strings.
8348 2005-11-22 Andy Wingo <wingo@pobox.com>
8350 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8352 * gst/gsttagsetter.h:
8353 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8354 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8355 (gst_tag_setter_add_tag_valist)
8356 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8357 _add_values, _add_valist, and _add_valist_values. Since this is an
8358 interface the function suffixes should be more explicit so
8359 language binding don't end up with element.add_valist ->
8360 gst_tag_setter_add_valist, for example. Fixes #322069.
8362 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8364 * check/gst/gstcaps.c: (GST_START_TEST):
8365 Extend caps string tests to check that a caps to string
8366 conversion is reversible and produces the same caps.
8368 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8369 Output "fraction" as the generic type fraction range, so caps
8370 serialisation and deserialisation works.
8371 * check/gst/capslist.h:
8372 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8373 Support 'MIN' and 'MAX' for deserialising fractions.
8375 2005-11-22 Andy Wingo <wingo@pobox.com>
8377 * gst/gstevent.h (gst_event_new_new_segment)
8378 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8379 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8380 Renamed from *_newsegment, *_buffersize, *_notarget.
8382 * scripts/update-funcnames: New script, performs the changes
8385 2005-11-22 Wim Taymans <wim@fluendo.com>
8387 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8388 Make sure the GstFlowReturn is returned.
8390 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8391 (gst_bus_add_signal_watch):
8393 add gst_bus_add_signal_watch_full.
8395 * gst/gstplugin.c: (gst_plugin_load_file):
8396 Small style cleanup.
8398 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8400 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8401 Block the fakesrc srcpad when we send an event, to avoid
8402 contention on the stream_lock causing random test failures.
8404 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8406 * check/gst/gstvalue.c: (GST_START_TEST):
8407 * gst/gstvalue.c: (gst_value_fraction_subtract):
8410 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8413 include "gstchildproxy.h"
8414 * gst/gstchildproxy.h:
8415 * libs/gst/controller/gstcontroller.h:
8416 use G_GNUC_NULL_TERMINATED
8418 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8420 * check/gst/capslist.h:
8421 * check/gst/gstcaps.c: (GST_START_TEST):
8422 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8423 * gst/gststructure.c: (gst_structure_parse_range),
8424 (gst_structure_fixate_field_nearest_fraction):
8425 * gst/gststructure.h:
8426 * gst/gstvalue.c: (gst_value_init_fraction_range),
8427 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8428 (gst_value_collect_fraction_range),
8429 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8430 (gst_value_set_fraction_range_full),
8431 (gst_value_get_fraction_range_min),
8432 (gst_value_get_fraction_range_max),
8433 (gst_value_serialize_fraction_range),
8434 (gst_value_transform_fraction_range_string),
8435 (gst_value_compare_fraction_range),
8436 (gst_value_deserialize_fraction_range),
8437 (gst_value_intersect_fraction_fraction_range),
8438 (gst_value_intersect_fraction_range_fraction_range),
8439 (gst_value_subtract_fraction_fraction_range),
8440 (gst_value_subtract_fraction_range_fraction),
8441 (gst_value_subtract_fraction_range_fraction_range),
8442 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8443 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8444 (gst_value_transform_string_fraction), (_gst_value_initialize):
8446 Implement fraction ranges and extend GstFraction to support
8447 arithmetic subtraction, as well as deserialization from integer
8448 strings such as "100"
8449 Add a testsuite as for int and double range set operations
8451 2005-11-21 Andy Wingo <wingo@pobox.com>
8455 * gst/gststructure.h: Add glib-compat.h.
8457 2005-11-21 Wim Taymans <wim@fluendo.com>
8459 * gst/gstbin.c: (gst_bin_change_state_func):
8462 2005-11-21 Wim Taymans <wim@fluendo.com>
8465 And add a nice define too.
8467 2005-11-21 Wim Taymans <wim@fluendo.com>
8469 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8470 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8471 (gst_segment_set_duration), (gst_segment_set_last_stop),
8472 (gst_segment_set_seek), (gst_segment_set_newsegment),
8473 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8476 Make binding friendly.
8478 2005-11-21 Andy Wingo <wingo@pobox.com>
8480 * gst/gsttagsetter.h:
8482 * gst/gststructure.h:
8484 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8487 * gst/gsterror.c (_gst_core_errors_init):
8488 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8491 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8492 (noinst_HEADERS): noinst the -private.
8494 2005-11-21 Michael Smith <msmith@fluendo.com>
8497 * gst/gstregistry.h:
8498 Remove unimplemented declarations for which we can see no sensible
8501 2005-11-21 Andy Wingo <wingo@pobox.com>
8503 * gst/gst.h: Include glib-compat.h.
8505 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8507 * gst/glib-compat.c: Include the public and the private header.
8509 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8513 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8515 * check/gst/gstevent.c (create_custom_events): Check that
8516 FLUSH_STOP is serialized.
8518 * check/elements/identity.c (event_func):
8519 * check/elements/fakesrc.c (event_func): No stream lock, the core
8522 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8523 stream lock taking, yay.
8525 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8526 ensure that core takes the stream lock.
8528 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8531 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8532 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8533 it already. For the flush start we do take it though so we get the
8534 right preroll state change messages.
8536 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8537 the stream lock here, the core does it for us.
8539 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8540 GST_STREAM_GET_LOCK.
8541 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8542 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8543 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8544 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8545 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8546 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8548 * gst/gstpad.c: Update for stream lock name change.
8550 * gst/base/gstbasesink.c: Update for preroll lock name change.
8552 2005-11-21 Wim Taymans <wim@fluendo.com>
8554 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8555 (gst_clock_get_master):
8557 * gst/gstsystemclock.c: (gst_system_clock_init):
8558 Convert Clock flags to object flags.
8559 Added methods to manage master/slave clocks.
8561 2005-11-21 Wim Taymans <wim@fluendo.com>
8563 * check/gst/gstsegment.c: (GST_START_TEST):
8564 * docs/design/part-TODO.txt:
8565 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8566 (gst_base_sink_event), (gst_base_sink_do_sync),
8567 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8568 (gst_base_sink_query), (gst_base_sink_change_state):
8569 * gst/base/gstbasesink.h:
8570 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8571 (gst_base_src_default_newsegment),
8572 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8573 (gst_base_src_get_range), (gst_base_src_loop),
8574 (gst_base_src_change_state):
8575 * gst/base/gstbasesrc.h:
8576 * gst/base/gstbasetransform.c:
8577 (gst_base_transform_prepare_output_buf),
8578 (gst_base_transform_event), (gst_base_transform_change_state):
8579 * gst/base/gstbasetransform.h:
8580 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8581 (gst_collect_pads_event):
8582 * gst/base/gstcollectpads.h:
8583 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8584 (gst_fake_src_create):
8585 * gst/elements/gstfakesrc.h:
8586 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8587 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8588 (gst_segment_set_last_stop), (gst_segment_set_seek),
8589 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8590 (gst_segment_to_running_time), (gst_segment_clip):
8592 More segment updates, replace code in plugins with segment
8595 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8597 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8598 Don't ignore sscanf results
8600 2005-11-21 Andy Wingo <wingo@pobox.com>
8602 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8605 * *.c: Ran scripts/update-macros. Oh yes.
8607 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8608 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8611 * scripts/update-macros: New script. Run it on your files to
8612 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8615 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8617 * docs/gst/Makefile.am:
8618 * docs/gst/gstreamer-docs.sgml:
8619 * docs/gst/gstreamer-sections.txt:
8620 * docs/gst/gstreamer.types:
8622 more docs fixes, add new api to the docs
8624 2005-11-21 Andy Wingo <wingo@pobox.com>
8626 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8627 state_broadcast call.
8629 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8631 2005-11-21 Julien MOUTTE <julien@moutte.net>
8633 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8634 function calls for arrays.
8636 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8638 * docs/random/ensonic/media-device-daemon.txt:
8639 wild idea, can this be done?
8640 * docs/gst/gstreamer-sections.txt:
8645 * gst/gstpluginfeature.c:
8649 doc fixes and additions
8651 2005-11-21 Andy Wingo <wingo@pobox.com>
8653 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8654 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8655 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8656 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8657 private to the basesrc implementation.
8659 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8660 behalf of event function if necessary. It should no longer be
8661 necessary to take the stream lock in pad's event functions. Fixes
8664 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8665 * docs/gst/gstreamer-sections.txt:
8666 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8667 (gst_structure_fixate_field_nearest_double),
8668 (gst_structure_fixate_field_boolean):
8669 * gst/gststructure.h:
8670 * win32/common/libgstreamer.def:
8671 * win32/gstreamer.def:
8673 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8676 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8678 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8679 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8680 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8681 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8682 (gst_fdsrc_uri_handler_init):
8683 * gst/elements/gstfdsrc.h:
8684 Port fd:// URI handler from 0.8 to fdsrc
8686 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8688 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8689 (gst_value_serialize_fourcc):
8691 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8692 consistent with our other format defines (#320324).
8694 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8696 * gst/gstvalue.c: (gst_value_is_fixed):
8697 Revert previous commit. Value lists are by definition
8698 not fixed, as they are a list of possible values.
8700 2005-11-21 Andy Wingo <wingo@pobox.com>
8702 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8703 during the stable series if we need it. Fixes #319178.
8705 * gst/gstevent.c (gst_event_new_filler): Removed.
8707 * check/gst/gstevent.c: Update comment about filler events.
8709 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8711 * gst/gstvalue.c: (gst_value_is_fixed):
8712 Should handle both value arrays and value lists.
8714 2005-11-21 Andy Wingo <wingo@pobox.com>
8716 patch by: Alessandro Dessina <alessandro nnva org>
8718 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8719 functions to access arrays. Fixes #321962.
8721 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8723 * docs/gst/gstreamer.types:
8724 gst_collectpads_get_type => gst_collect_pads_get_type.
8726 * gst/base/gstbasetransform.c:
8727 Remove unused SIGNAL_HANDOFF enum.
8729 2005-11-21 Andy Wingo <wingo@pobox.com>
8731 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8732 the event type (upstream, downstream, serialized). Renamed
8733 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8734 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8735 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8737 * gst/gstevent.c: Update for new CUSTOM event names.
8739 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8742 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8745 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8747 * docs/gst/gstreamer-sections.txt:
8748 * win32/common/libgstbase.def:
8749 * win32/libgstbase.def:
8750 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8751 (gst_collect_pads_class_init), (gst_collect_pads_init),
8752 (gst_collect_pads_finalize), (gst_collect_pads_new),
8753 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8754 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8755 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8756 (gst_collect_pads_start), (gst_collect_pads_stop),
8757 (gst_collect_pads_peek), (gst_collect_pads_pop),
8758 (gst_collect_pads_available), (gst_collect_pads_read),
8759 (gst_collect_pads_flush), (gst_collect_pads_event),
8760 (gst_collect_pads_chain):
8761 * gst/base/gstcollectpads.h:
8762 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8763 unimplemented functions as unimplemented. Add padding to
8764 GstCollectData. (#320766, #320423)
8766 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8769 Improve docs for DURATION message (usage of duration parameter)
8772 2005-11-20 Wim Taymans <wim@fluendo.com>
8774 * check/Makefile.am:
8775 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8779 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8780 (gst_segment_set_seek), (gst_segment_set_newsegment),
8781 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8784 Added segment helper structure and methods. Not fully implemented
8786 Added segment check.
8788 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8790 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8791 Add a deserialisation test for fractions
8792 * examples/metadata/read-metadata.c: (message_loop),
8793 (make_pipeline), (main):
8794 Fix up metadata reading sample.
8795 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8797 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8798 Don't try and fixate empty caps
8799 * gst/gst_private.h:
8800 Wrap in G_BEGIN_DECLS/G_END_DECLS
8801 * gst/gstvalue.c: (gst_value_collect_fraction),
8802 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8803 (gst_value_transform_string_fraction),
8804 (gst_value_compare_fraction):
8805 Add some extra guards to ensure that we don't end up
8806 with an invalid denominator of 0 in a gstfraction and
8807 that fractions always get reduced.
8809 2005-11-20 Wim Taymans <wim@fluendo.com>
8811 * docs/gst/gstreamer-sections.txt:
8822 2005-11-20 Wim Taymans <wim@fluendo.com>
8824 * docs/design/part-TODO.txt:
8826 Make a proper enum of the flag.
8828 2005-11-19 Wim Taymans <wim@fluendo.com>
8830 * docs/design/part-TODO.txt:
8831 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8832 (gst_format_to_quark), (gst_format_register):
8834 * gst/gstquery.c: (_gst_query_initialize),
8835 (gst_query_type_get_name), (gst_query_type_to_quark),
8836 (gst_query_type_register):
8838 Add type to quark and type to string conversions.
8840 2005-11-19 Andy Wingo <wingo@pobox.com>
8842 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8845 2005-11-19 Wim Taymans <wim@fluendo.com>
8847 * docs/design/part-TODO.txt:
8848 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8849 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8850 (gst_bin_handle_message_func):
8852 Make message handling overridable.
8854 2005-11-19 Andy Wingo <wingo@pobox.com>
8856 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8859 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8861 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8862 is a GstClockTime. Fixes #321710.
8864 * gst/gstclock.h (GstClock): Remove offset property. Add
8865 internal_calibration and external_calibration. Fix padding. Pad
8866 also by GstClockTime so we don't run into problems.
8868 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8869 (gst_clock_get_rate_offset): Remove.
8870 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8873 * gst/gstutils.c (g_static_rec_cond_wait)
8874 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8876 * gst/gstbin.c: Remove terrible continue_state prototype.
8878 * gst/gstelement.h (gst_element_continue_state): Make public.
8881 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8882 by continue_state. Fixes #319389.
8884 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8885 Really fixes #168438. However I don't see anywhere where the
8886 filter function is called... stupid GStreamer...
8888 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8889 don't have a dispose function, so it won't get called when the
8890 object is unreffed, but oh well!
8892 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8893 allows a destroy function to be set so user_data can be freed.
8895 (gst_index_set_filter): Call gst_index_set_filter_full.
8897 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8899 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8900 string should produce an error, given the lack of a way to
8901 represent NULL strings. Fixes #165650.
8904 * gst/gstvalue.c (gst_value_array_append_value)
8905 (gst_value_array_prepend_value, gst_value_array_get_size)
8906 (gst_value_array_get_value): New API, copied from
8907 gst_value_list_*, only operates on arrays.
8908 (gst_value_list_append_value, gst_value_list_prepend_value)
8909 (gst_value_list_concat, gst_value_list_get_size)
8910 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8912 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8913 init_list, because it works on both.
8914 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8915 (gst_value_copy_list_or_array): Renamed from copy_list.
8916 (gst_value_free_list_or_array): Renamed from free_list.
8917 (gst_value_collect_list_or_array): Renamed from collect_list.
8918 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8919 (gst_value_list_or_array_peek_pointer): Renamed from
8921 (_gst_value_array_value_table, _gst_value_list_value_table):
8922 Update value table functions.
8923 (gst_value_compare_list_or_array): Renamed from compare_list.
8925 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8929 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8930 GstTagList*. Fixes #143472.
8932 * gst/gststructure.h: Clarify what the foreach/map functions can
8933 or can't do to their arguments.
8935 2005-11-18 Wim Taymans <wim@fluendo.com>
8937 * gst/gstclock.c: (gst_clock_set_calibration),
8938 (gst_clock_get_calibration):
8940 Calibration can be set with internal time equal to current
8943 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
8949 2005-11-18 Andy Wingo <wingo@pobox.com>
8952 * pkgconfig/gstreamer-net.pc.in:
8953 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8954 * pkgconfig/Makefile.am: Add net pkgconfig files.
8956 2005-11-18 Stefan Kost <ensonic@users.sf.net>
8959 * gst/gstghostpad.c:
8965 2005-11-18 Andy Wingo <wingo@pobox.com>
8967 * gst/net/gstnetclientclock.c: Turn off debugging.
8969 * check/net/gstnetclientclock.c (test_functioning): Assert that the
8970 times connverge somewhat. Can't make a real test.
8972 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8973 integer arithmetic. Return the minimum of the domain, which can be
8974 set as "internal" for gst_clock_set_calibration.
8975 (gst_net_client_clock_observe_times): Call _set_calibration.
8976 (gst_net_client_clock_new): Call _set_calibration instead of
8979 * check/net/gstnetclientclock.c (test_functioning): Use the right
8983 * gst/gstclock.c (gst_clock_get_calibration)
8984 (gst_clock_set_calibration): New functions, obsolete the ones I
8985 added yesterday. Doh. Precision issues mean we have to extrapolate
8986 from a point in the more recent past than 1970.
8987 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8989 (gst_clock_adjust_unlocked): Use the right calibration data.
8991 2005-11-18 Edward Hervey <edward@fluendo.com>
8993 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8994 Also reset the ->current_* values in READY->PAUSED
8996 2005-11-18 Andy Wingo <wingo@pobox.com>
8998 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8999 Whoops, check the right fd. Also add some debugging.
9000 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9001 (do_linear_regression): Add a crapload of debugging. Subtract off
9002 the minimum values from the input series to discard unneeded bits.
9003 Use only int arithmetic. There is still double arithmetic when
9004 calculating the intercept that needs fixing. Return boolean to
9005 indicate success; FALSE would mean the domain or range is too
9006 great. Still needs fixes.
9008 2005-11-18 Wim Taymans <wim@fluendo.com>
9010 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9011 For the current position in stream time, we need to subtract
9014 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9015 Release lock before calling the callback function of async
9018 2005-11-18 Andy Wingo <wingo@pobox.com>
9020 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9021 Port goes all the way to MAXUINT16.
9023 * gst/net/gstnettimeprovider.c: Make the port range the same as
9024 for the kernel: 0 assigns, otherwise ports are less than
9027 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9030 * check/net/gstnetclientclock.c (test_functioning): Add the start
9033 2005-11-18 Wim Taymans <wim@fluendo.com>
9035 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9036 (gst_bin_remove_func), (bin_bus_handler):
9038 Removing a clock provider from a bin, triggers a clock lost message
9039 so that a new clock will be selected.
9040 Adding a clock to a bin triggers a clock provider message.
9041 Make sure we reselect a clock when we received a clock lost message.
9042 Keep a reference to the element that provided the clock.
9044 2005-11-18 Andy Wingo <wingo@pobox.com>
9046 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9047 the clock initially so it produces values around the base time.
9048 (gst_net_client_clock_class_init): Typo fix.
9049 (gst_net_client_clock_thread): Add note on when the socket gets
9052 2005-11-17 Wim Taymans <wim@fluendo.com>
9054 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9055 Free remote and local time arrays.
9057 2005-11-17 Wim Taymans <wim@fluendo.com>
9059 * gst/net/gstnetclientclock.c: (do_linear_regression),
9060 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9061 Fix compilation, uninitialized vars and a forgotten continue.
9063 2005-11-17 Andy Wingo <wingo@pobox.com>
9065 * check/Makefile.am (check_PROGRAMS):
9066 * check/net/gstnetclientclock.c: Add a most minimal test for the
9067 net client clock. More to come later.
9070 * gst/net/Makefile.am: Add netclientclock.
9072 * gst/net/gstnetclientclock.h:
9073 * gst/net/gstnetclientclock.c: New files, implement an untested
9074 GstClock that takes its time from a network time provider.
9075 Implements the algorithm in network-clock.scm.
9077 * tests/network-clock.scm (*window-size*): Rename from
9079 * tests/network-clock.scm (network-time):
9080 * tests/network-clock-utils.scm (q-push): Update callers.
9082 2005-11-17 Wim Taymans <wim@fluendo.com>
9084 * gst/gstbin.c: (gst_bin_provide_clock_func),
9085 (gst_bin_sort_iterator_new):
9086 And unref the child too..
9088 2005-11-17 Wim Taymans <wim@fluendo.com>
9090 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9091 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9092 Refactor the sort iterator so it can be used while holding the
9094 Make clock selection select a clock closest to the source.
9096 2005-11-17 Michael Smith <msmith@fluendo.com>
9098 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9099 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9101 Anonymous structs are a gcc (and some other compilers) extension, so
9102 don't use them. Since this is only for ABI-compatibility, and our
9103 API/ABI freeze is over in a few days, this whole thing will only
9104 last a few days, so don't bother trying to think up a meaningful
9105 name for the struct.
9107 2005-11-17 Andy Wingo <wingo@pobox.com>
9109 * gst/gstclock.h (GstClock): Add rate and offset properties,
9110 preserving ABI stability. Add rate/offset accessors. Will file bug
9111 for the freeze break.
9113 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9114 and offset, trying to keep precision and avoiding
9116 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9117 functions. Make gst_clock_set_time_adjust obsolete.
9118 (gst_clock_set_time_adjust): Note that this function is obsolete.
9121 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9122 greppable by using GST_PADDING-1+1.
9124 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9126 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9128 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9129 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9131 * gst/gstpadtemplate.h:
9132 * gst/gstpluginfeature.h:
9133 Don't use c++ style comments in headers (#321638).
9135 2005-11-16 Andy Wingo <wingo@pobox.com>
9137 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9140 * check/net/gstnettimeprovider.c: Check to see that the time
9141 provider actually provides times. Works, yo!
9143 2005-11-16 Wim Taymans <wim@fluendo.com>
9145 * check/Makefile.am:
9148 * check/elements/fakesrc.c: (GST_START_TEST):
9149 Set element to NULL before disposing it.
9151 2005-11-16 Andy Wingo <wingo@pobox.com>
9153 * gst/net/Makefile.am:
9155 * gst/net/gstnettimeprovider.c:
9156 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9157 provider, include it from gstnet.h, and add it to the build.
9159 * gst/net/gstnettimepacket.h:
9160 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9161 sending and receiving.
9163 2005-11-16 Wim Taymans <wim@fluendo.com>
9165 * check/Makefile.am:
9166 Enable valgrind check.
9168 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9169 (gst_fake_src_alloc_buffer):
9172 2005-11-16 Wim Taymans <wim@fluendo.com>
9174 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9175 Call parent finalize too.
9177 2005-11-16 Wim Taymans <wim@fluendo.com>
9179 * check/Makefile.am:
9180 Enable valgrind check that should work fine now.
9182 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9183 * gst/gstqueue.c: (gst_queue_init):
9184 Fix memleaks in pad allocation.
9186 2005-11-16 Andy Wingo <wingo@pobox.com>
9188 * gst/net/Makefile.am:
9189 * gst/net/gstnet.h: New part of core to hold network elements and
9190 objects. Put in core because it exposes API that applications want
9191 to use. The library is named libgstnet-tempname right now because
9192 of the existing libgstnet in gst-plugins-base. Solution is
9193 probably to rename the one in plugins-base; will file a bug for
9196 * gst/net/gstnettimeprovider.c:
9197 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9198 get_time call over the network.
9201 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9203 * check/Makefile.am:
9204 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9205 get additions shortly.
9207 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9209 * gst/gstpad.c: (gst_pad_new_from_static_template):
9211 add gst_pad_new_from_static_template functions
9212 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9213 (gst_check_setup_sink_pad):
9214 * gst/elements/gsttee.c: (gst_tee_init):
9217 2005-11-16 Wim Taymans <wim@fluendo.com>
9219 * gst/gstpad.c: (gst_pad_pause_task):
9220 Removed warning, it's not really an error either.
9222 2005-11-16 Wim Taymans <wim@fluendo.com>
9224 * gst/base/gstbasetransform.c:
9225 (gst_base_transform_prepare_output_buf),
9226 (gst_base_transform_event):
9227 Check if the caps are NULL, this can happen if the element
9228 is shutting down and the pad caps are set to NULL.
9230 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9232 * gst/elements/gsttee.c: (gst_tee_init):
9233 fix pad template leak in tee
9235 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9237 * gst/glib-compat.c: (g_value_dup_gst_object):
9238 * gst/glib-compat.h:
9239 * gst/gstpad.c: (gst_pad_set_property):
9240 use gst_object_ref when setting the pad template; this will
9241 trigger the pad template leaks on GLib 2.6 and the slaves
9243 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9245 * gst/glib-compat.c: (gst_flags_get_first_value):
9246 * gst/glib-compat.h:
9247 * gst/gstregistryxml.c:
9248 remove functions copied from GLib 2.6
9250 2005-11-16 Michael Smith <msmith@fluendo.com>
9253 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9254 do, but only breaks with newer valgrind versions. We're not a
9255 valgrind tool, we have no link-time dependencies on libcoregrind.
9257 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9259 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9264 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9266 * gst/base/gstbasesrc.c: (gst_base_src_init):
9267 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9268 * gst/gstqueue.c: (gst_queue_init):
9269 * gst/gstregistryxml.c: (load_feature):
9270 Revert all these unrefs, they don't even pass make check !
9272 2005-11-15 Johan Dahlin <johan@gnome.org>
9274 * gst/base/gstbasesrc.c: (gst_base_src_init):
9275 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9276 * gst/gstqueue.c: (gst_queue_init):
9277 Free pad templates, fixes a couple of leaks.
9279 2005-11-15 Daniel Fischer <dan at f3c dot com>
9281 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9283 * gst/gstpad.c: (gst_pad_get_property):
9284 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9285 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9288 2005-11-15 Wim Taymans <wim@fluendo.com>
9293 2005-11-15 Andy Wingo <wingo@pobox.com>
9295 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9297 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9298 using GST_CLOCK_TIME_NONE to disable base time management.
9299 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9300 time if it was NONE before.
9301 (gst_pipeline_change_state): Only munge the base time if
9302 stream_time != GST_CLOCK_TIME_NONE.
9304 * check/gst/gstpipeline.c (test_base_time): Punt around the
9305 problem of the probe not being called, because that's not the
9306 issue I'm looking at. Add a check that setting stream_time to NONE
9307 disables base time management.
9309 2005-11-15 Wim Taymans <wim@fluendo.com>
9311 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9312 segment_stop == -1 at startup.
9314 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9315 (gst_base_transform_change_state):
9316 Init segment values at start.
9318 2005-11-15 Wim Taymans <wim@fluendo.com>
9320 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9321 0 segment values are 0 in any format.
9323 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9324 * gst/base/gstbasetransform.h:
9325 Parse newsegment correctly in basetransform
9327 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9328 Sync to clock using updated segment values.
9330 2005-11-15 Andy Wingo <wingo@pobox.com>
9332 * check/gst/gstpipeline.c (test_base_time): Add check that the
9333 base time and stream time are reset correctly.
9335 2005-11-15 Wim Taymans <wim@fluendo.com>
9337 * docs/design/part-TODO.txt:
9338 Some more TODO items.
9340 2005-11-15 Andy Wingo <wingo@pobox.com>
9342 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9343 error if the user selected "no clock" as the clocking method.
9345 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9346 timestamps with live capture.
9348 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9349 is 0 but we are a live source, timestamp the buffers using the
9352 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9354 * docs/gst/gstreamer-sections.txt:
9356 * gst/gstghostpad.c:
9361 2005-11-14 Wim Taymans <wim@fluendo.com>
9364 add suppressions from Wim's Debian machine
9366 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9369 add suppressions from Andy's AMD64 Ubuntu machine
9371 2005-11-14 Andy Wingo <wingo@pobox.com>
9373 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9374 STATE_LOCK not necessary. Fixes #311489.
9376 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9379 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9380 this function is not implemented.
9382 2005-11-14 Julien MOUTTE <julien@moutte.net>
9384 * gst/base/gstbasetransform.c:
9385 (gst_base_transform_prepare_output_buf):
9386 Ref the source pad caps while we need them.
9389 2005-11-11 Wim Taymans <wim@fluendo.com>
9391 * docs/gst/gstreamer-sections.txt:
9392 Added some docs for GstCollectData.
9394 * gst/base/gstadapter.c:
9395 Some small code example fix.
9397 * gst/base/gstcollectpads.c:
9398 * gst/base/gstcollectpads.h:
9401 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9403 * configure.ac: back to HEAD
9405 === release 0.9.5 ===
9407 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9410 releasing 0.9.5, "Bike Lunch Day"
9412 2005-11-11 Wim Taymans <wim@fluendo.com>
9414 * gst/gstbuffer.c: (_gst_buffer_copy):
9417 * gst/gstcaps.c: (gst_caps_is_equal):
9419 Make _is_equal fast in the trivial cases.
9421 * gst/gstminiobject.c:
9422 * gst/gstminiobject.h:
9423 More docs. Spifify .h file.
9428 2005-11-11 Wim Taymans <wim@fluendo.com>
9430 * gst/base/gstbasetransform.c:
9431 (gst_base_transform_prepare_output_buf),
9432 (gst_base_transform_handle_buffer):
9434 If we're processing a buffer and need to allocate an output
9435 buffer, we cannot accept a format change. If we did get a
9436 format change, we have to alloc a buffer ourselves of the
9439 2005-11-11 Wim Taymans <wim@fluendo.com>
9441 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9442 While checking the flag for reentrancy in the gstcaps function
9443 is nice to detect recursive invocations, it also makes it
9444 impossible to call getcaps from multiple threads, which must be
9445 possible. So, checking for recursive calls has to go.
9447 2005-11-11 Michael Smith <msmith@fluendo.com>
9449 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9450 Don't sync on buffers that fall partially outside our current
9451 segment. Prevents an assertion failure/abort playing some files.
9453 2005-11-10 Andy Wingo <wingo@pobox.com>
9455 * check/gst/gstbin.c (test_message_state_changed_children): Style
9458 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9459 gst_bus_poll with the signal watch. Ensures that poll and a signal
9460 watch see the same messages.
9462 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9463 a poll and a watch at the same time get the same messages.
9465 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9467 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9468 * gst/gstcaps.c: (gst_caps_intersect):
9469 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9470 and it's not needed.
9472 2005-11-10 Wim Taymans <wim@fluendo.com>
9474 * docs/design/part-TODO.txt:
9477 2005-11-10 Wim Taymans <wim@fluendo.com>
9479 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9480 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9481 (gst_base_src_do_sync), (gst_base_src_get_range):
9482 Implement clock sync in base class.
9484 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9486 patch by: Tim-Philipp Müller <tim at centricular dot net>
9488 * gst/gststructure.c: (gst_structure_parse_field),
9489 (gst_structure_from_string):
9490 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9491 so that gst_parse_launch() can deal with spaces in filtered link
9492 caps (fixes #164479)
9493 * check/gst/capslist.h:
9494 * check/gst/gststructure.c: (GST_START_TEST):
9495 add unit tests for this change
9497 2005-11-10 Wim Taymans <wim@fluendo.com>
9499 * docs/gst/gstreamer-sections.txt:
9502 Fix docs, move some STATE macros to private.
9504 2005-11-10 Wim Taymans <wim@fluendo.com>
9506 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9507 Added check for bug #317341
9511 Some more spiffifying.
9513 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9514 Call peer linkfunction if we are a source pad. Totally fixes
9518 Update docs, source pads should call the peer linkfunction
9519 so they can atomically perform the pad link.
9521 2005-11-09 Wim Taymans <wim@fluendo.com>
9525 Uber-spiffy-spiffify some more.
9527 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9529 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9530 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9531 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9532 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9533 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9534 * gst/gstpad.c: (gst_pad_init):
9535 Use GST_DEBUG_FUNCPTR() more extensively.
9537 2005-11-09 Wim Taymans <wim@fluendo.com>
9539 * gst/gstobject.c: (gst_object_class_init):
9541 Documentation fixes.
9543 2005-11-09 Edward Hervey <edward@fluendo.com>
9545 * gst/gsttypefindfactory.c:
9548 2005-11-09 Edward Hervey <edward@fluendo.com>
9550 * gst/base/gsttypefindhelper.c:
9551 * gst/gsttypefind.c:
9552 * gst/gsttypefind.h:
9555 2005-11-09 Wim Taymans <wim@fluendo.com>
9557 * gst/gstiterator.c:
9564 2005-11-09 Wim Taymans <wim@fluendo.com>
9570 2005-11-09 Wim Taymans <wim@fluendo.com>
9572 * docs/gst/gstreamer-sections.txt:
9573 Moved the message async delivery private lock and cond
9574 to the private section.
9580 2005-11-09 Edward Hervey <edward@fluendo.com>
9582 * docs/gst/gstreamer-sections.txt:
9585 Document GstURIHandler
9587 2005-11-09 Wim Taymans <wim@fluendo.com>
9589 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9590 (gst_iterator_find_custom):
9591 * gst/gstiterator.h:
9594 2005-11-09 Wim Taymans <wim@fluendo.com>
9597 Document another field.
9599 * gst/gststructure.c:
9600 * gst/gststructure.h:
9603 2005-11-09 Wim Taymans <wim@fluendo.com>
9608 2005-11-09 Wim Taymans <wim@fluendo.com>
9610 * docs/gst/gstreamer-sections.txt:
9611 Added some new macros.
9618 2005-11-09 Wim Taymans <wim@fluendo.com>
9620 * docs/design/part-TODO.txt:
9621 Some more items for the TODO
9627 2005-11-09 Andy Wingo <wingo@pobox.com>
9629 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9630 to work on something else now tho...
9632 * gst/base/gstadapter.c: More adapter docs.
9634 * gst/elements/gstfilesink.c (gst_file_sink_start)
9635 (gst_file_sink_stop): New functions, replace the state change
9637 (gst_file_sink_class_init): Hook up the start and stop functions.
9638 (gst_file_sink_base_init): Don't set the state change handler any
9639 more. It was a bit ugly too, being set from here...
9640 (gst_file_sink_get_property, gst_file_sink_set_property):
9642 (gst_file_sink_set_location): More robust check that doesn't call
9645 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9647 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9648 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9650 2005-11-08 Wim Taymans <wim@fluendo.com>
9652 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9653 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9654 (gst_base_sink_chain), (gst_base_sink_change_state):
9655 * gst/base/gstbasesink.h:
9656 * gst/base/gstbasesrc.h:
9659 Avoid excessive typechecking in macros.
9661 * gst/gstminiobject.c: (gst_mini_object_get_type),
9662 (gst_mini_object_init), (gst_mini_object_new),
9663 (gst_mini_object_free):
9664 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9665 (gst_object_finalize):
9666 Remove cruft code, optimize alloc_trace.
9668 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9670 * docs/faq/gst-uninstalled:
9671 fix up PS1 for systems that try to reset it
9673 2005-11-07 Wim Taymans <wim@fluendo.com>
9675 * gst/base/gstbasesrc.c: (gst_base_src_init),
9676 (gst_base_src_get_range):
9677 Set the segment_end to -1 initially. Fixed typefind.
9679 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9681 * gst/base/gstadapter.c:
9682 Debug category should be 'adapter', not 'GstAdapter'.
9684 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9685 (gst_collectpads_class_init), (gst_collectpads_init),
9686 (gst_collectpads_peek), (gst_collectpads_pop),
9687 (gst_collectpads_event), (gst_collectpads_chain):
9688 Add debug category and some debugging output. Use boilerplate
9689 macros. Remove some extraneous words from docs.
9691 2005-11-05 Andy Wingo <wingo@pobox.com>
9693 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9696 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9698 * docs/gst/gstreamer-sections.txt:
9701 * gst/gstminiobject.h:
9706 2005-11-04 Wim Taymans <wim@fluendo.com>
9708 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9709 Small update to stop at the configured segment_end
9712 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9714 * gst/gstregistry.c:
9715 * gst/gstregistry.h:
9718 2005-11-04 Edward Hervey <edward@fluendo.com>
9720 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9721 Check if we are doing a segment seek and have arrived at the
9722 end of that segment.
9724 2005-11-04 Wim Taymans <wim@fluendo.com>
9726 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9727 Don't leak a mutex unlock in case of an error.
9732 2005-11-04 Wim Taymans <wim@fluendo.com>
9734 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9736 Get the context to wake up only once.
9738 2005-11-03 Wim Taymans <wim@fluendo.com>
9740 * check/states/sinks.c: (GST_START_TEST):
9741 Uncomment fixed check.
9743 * docs/design/part-TODO.txt:
9746 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9747 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9748 (gst_base_sink_get_position):
9749 If we are going to PLAYING, post the right pending state
9750 when we post the intermediate paused message.
9752 * gst/gstelement.c: (gst_element_continue_state),
9753 (gst_element_set_state_func), (gst_element_change_state):
9754 Don't post state changes that were between the same state
9757 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9759 * docs/gst/gstreamer-sections.txt:
9762 * gst/gstminiobject.h:
9765 more docs and doc style fixes
9767 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9769 * docs/gst/gstreamer-sections.txt:
9771 * gst/gstminiobject.c:
9774 2005-11-03 Andy Wingo <wingo@pobox.com>
9776 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9777 state-changed messages actually have the right order and the right
9780 2005-11-03 Wim Taymans <wim@fluendo.com>
9782 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9783 Added some more checks. Specifically the case where NO_PREROLL
9784 elements are in the pipeline.
9786 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9787 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9788 (gst_base_sink_get_position):
9789 Post READY->PAUSED state change messages too.
9790 Fix bug where VOID was posted as pending state...
9792 * gst/gstbin.c: (gst_bin_recalc_state):
9793 use _element_continue_state() to continue the state change.
9795 * gst/gstelement.c: (gst_element_continue_state),
9796 (gst_element_commit_state), (gst_element_set_state_func),
9797 (gst_element_change_state), (gst_element_change_state_func):
9798 Lots of state change cleanups, assign the STATE_RETURN in
9799 a new continue_state() function that also propagates the
9800 last return value from a state change to the app.
9801 Update some debug statements with proper category.
9803 2005-11-03 Wim Taymans <wim@fluendo.com>
9805 * docs/design/part-events.txt:
9806 * docs/design/part-gstpipeline.txt:
9807 * docs/design/part-messages.txt:
9808 * docs/design/part-overview.txt:
9809 * docs/design/part-seeking.txt:
9810 * docs/design/part-states.txt:
9811 * docs/design/part-trickmodes.txt:
9812 * docs/manual/advanced-position.xml:
9816 People think !! is ugly, this looks better.
9818 * gst/gstpad.c: (gst_pad_set_blocked_async):
9819 Remove !! since it's fixed elsewhere now.
9821 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9823 * gst/gstminiobject.h:
9825 Add !! to _FLAG_IS_SET macros to make the result boolean.
9827 2005-11-03 Edward Hervey <edward@fluendo.com>
9829 * gst/gstpad.c: (gst_pad_set_blocked_async):
9830 comparing a flag and a gboolean rarely returns coherent results...
9831 Added two characters (!!) to make that work correctly.
9833 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9835 * gst/gstbus.c: (gst_bus_class_init):
9838 * gst/gstqueue.c: (gst_queue_loop):
9839 Don't assume a miniobject that isn't a buffer is an
9840 event (it could be that there is a refcounting
9841 problem somewhere and the pointer is stale and
9842 refers to an already destroyed miniobject).
9844 2005-11-03 Julien MOUTTE <julien@moutte.net>
9846 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9848 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9850 * docs/manual/advanced-position.xml:
9851 Update seek example and explanations to current 0.9 API.
9853 * gst/elements/gsttypefindelement.c:
9854 (gst_type_find_element_activate):
9855 Remove FIXME comment now that the found caps
9858 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9860 * gst/gstregistryxml.c: (load_feature):
9861 Add another GST_STR_NULL instance
9863 2005-11-02 Edward Hervey <edward@fluendo.com>
9865 * gst/gstpad.c: (handle_pad_block):
9866 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9868 2005-11-02 Wim Taymans <wim@fluendo.com>
9873 * gst/gstelement.c: (gst_element_commit_state):
9874 Remove unused value.
9876 * gst/gstiterator.c:
9877 Mention that the returned element is reffed in the docs.
9879 2005-11-02 Wim Taymans <wim@fluendo.com>
9881 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9882 (gst_pad_push), (gst_pad_push_event):
9883 Unlock blocked pads when they are flushed.
9885 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9888 * docs/gst/gstreamer-sections.txt:
9891 * gst/gstregistry.c: (gst_registry_scan_path_level):
9892 fix for a nasty little missed situation where an installed plug-in
9893 which was in the cache did not get overridden by an uninstalled one
9894 which was earlier in the plugin path because the newly created plugin
9895 for the uninstalled one (not in the registry) didn't get its
9896 ->registered set to TRUE
9898 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9900 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9901 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9902 (gst_collectpads_is_active), (gst_collectpads_collect),
9903 (gst_collectpads_collect_range), (gst_collectpads_start),
9904 (gst_collectpads_stop), (gst_collectpads_peek),
9905 (gst_collectpads_pop), (gst_collectpads_available),
9906 (gst_collectpads_read), (gst_collectpads_flush):
9907 Guard public API with assertions.
9910 Fix docs for gst_pad_set_link_function().
9912 2005-11-02 Johan Dahlin <johan@gnome.org>
9914 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9915 Unref found_caps after we used it.
9917 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9919 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9920 Don't try to ref NULL.
9922 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9924 * win32/common/config.h.in:
9925 provide a GST_FUNCTION that just gives a string for now
9927 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9929 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9930 (gst_object_flags_get_type), (register_gst_bin_flags),
9931 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9932 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9933 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9934 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9935 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9936 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9937 (gst_clock_flags_get_type), (register_gst_state),
9938 (gst_state_get_type), (register_gst_state_change_return),
9939 (gst_state_change_return_get_type), (register_gst_state_change),
9940 (gst_state_change_get_type), (register_gst_element_flags),
9941 (gst_element_flags_get_type), (register_gst_core_error),
9942 (gst_core_error_get_type), (register_gst_library_error),
9943 (gst_library_error_get_type), (register_gst_resource_error),
9944 (gst_resource_error_get_type), (register_gst_stream_error),
9945 (gst_stream_error_get_type), (register_gst_event_type),
9946 (gst_event_type_get_type), (register_gst_seek_type),
9947 (gst_seek_type_get_type), (register_gst_seek_flags),
9948 (gst_seek_flags_get_type), (register_gst_format),
9949 (gst_format_get_type), (register_gst_index_certainty),
9950 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9951 (gst_index_entry_type_get_type),
9952 (register_gst_index_lookup_method),
9953 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9954 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9955 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9956 (gst_index_flags_get_type), (register_gst_debug_level),
9957 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9958 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9959 (gst_iterator_result_get_type), (register_gst_iterator_item),
9960 (gst_iterator_item_get_type), (register_gst_message_type),
9961 (gst_message_type_get_type), (register_gst_mini_object_flags),
9962 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9963 (gst_pad_link_return_get_type), (register_gst_flow_return),
9964 (gst_flow_return_get_type), (register_gst_activate_mode),
9965 (gst_activate_mode_get_type), (register_gst_pad_direction),
9966 (gst_pad_direction_get_type), (register_gst_pad_flags),
9967 (gst_pad_flags_get_type), (register_gst_pad_presence),
9968 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9969 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9970 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9971 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9972 (gst_plugin_flags_get_type), (register_gst_rank),
9973 (gst_rank_get_type), (register_gst_query_type),
9974 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9975 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9976 (gst_tag_flag_get_type), (register_gst_task_state),
9977 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9978 (gst_alloc_trace_flags_get_type),
9979 (register_gst_type_find_probability),
9980 (gst_type_find_probability_get_type), (register_gst_uri_type),
9981 (gst_uri_type_get_type), (register_gst_parse_error),
9982 (gst_parse_error_get_type):
9983 * win32/common/gstversion.h:
9986 2005-11-01 Luca Ognibene <luogni@tin.it>
9989 fix docs. popt is dead, long live GOption.
9991 2005-10-31 Wim Taymans <wim@fluendo.com>
9996 2005-10-31 Andy Wingo <wingo@pobox.com>
10000 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10002 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10003 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10004 the possibility of deadlocks here if code calling notify() or
10005 set() has a lock that can be taken in another notify handler (ABBA
10006 with class lock and e.g. python GIL state lock).
10008 2005-10-28 Julien MOUTTE <julien@moutte.net>
10010 * gst/gstbus.c: Doc updates.
10012 2005-10-28 Wim Taymans <wim@fluendo.com>
10014 * docs/design/part-TODO.txt:
10015 * gst/gstiterator.c:
10016 * gst/gstsystemclock.c:
10017 * gst/gstsystemclock.h:
10020 2005-10-28 Edward Hervey <edward@fluendo.com>
10022 * docs/gst/gstreamer-docs.sgml:
10023 * docs/gst/gstreamer-sections.txt:
10024 the GstURIType documentation page is private, it only defines GstURIType
10025 which should be defined in the GstURIHandler page
10027 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10029 * gst/gstbin.c: (gst_bin_class_init):
10032 Documentation updates.
10034 2005-10-28 Wim Taymans <wim@fluendo.com>
10036 * docs/gst/gstreamer-sections.txt:
10039 Documented the clocks.
10041 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10043 * docs/gst/gstreamer-sections.txt:
10044 move some macros to private sections
10045 * gst/gstminiobject.c:
10046 * gst/gstminiobject.h:
10047 add descriptions provided by ds and some more
10049 mark macro as to be removed
10051 2005-10-28 Wim Taymans <wim@fluendo.com>
10053 * docs/design/part-TODO.txt:
10054 Add an item to TODO.
10056 * gst/gstiterator.c: (gst_iterator_fold),
10057 (gst_iterator_find_custom):
10058 * gst/gstiterator.h:
10061 2005-10-28 Wim Taymans <wim@fluendo.com>
10063 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10064 (gst_base_transform_init):
10067 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10068 An EOS event marks the queue as completely filled.
10070 2005-10-27 Wim Taymans <wim@fluendo.com>
10072 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10073 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10074 Some more debugging.
10076 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10077 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10078 (gst_base_transform_event), (gst_base_transform_getrange),
10079 (gst_base_transform_chain):
10080 * gst/base/gstbasetransform.h:
10082 Protect transform and concurrent buffer alloc with a new lock.
10083 Try not to break ABI/API.
10085 2005-10-27 Wim Taymans <wim@fluendo.com>
10087 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10088 (gst_base_src_init), (gst_base_src_query),
10089 (gst_base_src_default_newsegment),
10090 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10091 (gst_base_src_send_event), (gst_base_src_event_handler),
10092 (gst_base_src_pad_get_range), (gst_base_src_loop),
10093 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10094 (gst_base_src_start), (gst_base_src_deactivate),
10095 (gst_base_src_activate_push), (gst_base_src_change_state):
10096 Move some stuff around and cleanup things.
10098 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10100 * gst/base/gstbasesrc.c: (gst_base_src_query):
10101 Add missing break statements.
10103 2005-10-27 Wim Taymans <wim@fluendo.com>
10105 * check/gst/gstbin.c: (GST_START_TEST):
10106 An extra refcount is taken in basesrc.
10108 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10109 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10110 (gst_base_src_loop):
10111 Small cleanups, check for flushing after being unlocked from the
10112 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10113 Don't send out EOS when going to READY.
10115 2005-10-27 Wim Taymans <wim@fluendo.com>
10117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10118 (gst_base_sink_get_position):
10121 * gst/gstbin.c: (message_check), (bin_replace_message),
10122 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10123 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10124 (bin_query_duration_init), (bin_query_duration_fold),
10125 (bin_query_duration_done), (bin_query_generic_fold),
10127 * tools/gst-launch.c: (main):
10130 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10132 * examples/controller/audio-example.c: (main):
10133 * examples/queue/queue.c: (event_loop):
10134 * gst/base/gstbasetransform.h:
10135 * gst/gstelement.c: (gst_element_send_event):
10137 * gst/gstpad.c: (gst_pad_send_event):
10140 changing log priority in error situations
10142 2005-10-25 Wim Taymans <wim@fluendo.com>
10144 * gst/gstbin.c: (message_check), (bin_replace_message),
10145 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10146 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10147 (bin_query_duration_init), (bin_query_duration_fold),
10148 (bin_query_duration_done), (bin_query_generic_fold),
10150 Some doc and debug updates.
10151 Cache previously requested query DURATION for speed. invalidate
10152 cached duration if element posts a DURATION message.
10154 2005-10-25 Wim Taymans <wim@fluendo.com>
10156 * docs/design/part-TODO.txt:
10159 * gst/gstbin.c: (message_check), (bin_replace_message),
10160 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10161 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10162 (bin_query_duration_init), (bin_query_duration_fold),
10163 (bin_query_duration_done), (bin_query_generic_fold),
10165 Handle SEGMENT_START/DONE messages correctly.
10166 More evolved query algorithm that handles duration queries
10169 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10170 (gst_element_get_state_func), (gst_element_abort_state),
10171 (gst_element_commit_state), (gst_element_lost_state):
10172 Some more debugging.
10174 * gst/gstmessage.h:
10177 2005-10-25 Wim Taymans <wim@fluendo.com>
10179 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10180 Don't use invalid stream_time.
10182 * gst/gstevent.c: (gst_event_new_newsegment):
10183 stream_time in newsegment cannot be undefined.
10185 2005-10-24 Wim Taymans <wim@fluendo.com>
10190 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10192 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10194 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10196 * docs/libs/tmpl/gstdparam.sgml:
10197 * docs/libs/tmpl/gstdplinint.sgml:
10198 * docs/libs/tmpl/gstdpman.sgml:
10199 * docs/libs/tmpl/gstdpsmooth.sgml:
10200 * docs/libs/tmpl/gstunitconvert.sgml:
10203 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10208 === release 0.9.4 ===
10210 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10213 releasing 0.9.4, "Tyrannosaurus Rex"
10215 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10217 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10218 (gst_file_sink_get_current_offset):
10219 Use fseeko() and ftello() if available. When falling back on
10220 lseek() to get the current offset, fflush() first to make sure
10221 everything is up-to-date and we get the right offset.
10223 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10225 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10226 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10227 * gst/gsterror.c: (_gst_stream_errors_init):
10229 * gst/gstqueue.c: (gst_queue_loop):
10231 remove prematurely added error category and clean up the instances
10233 2005-10-21 Wim Taymans <wim@fluendo.com>
10235 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10236 (gst_base_sink_get_position), (gst_base_sink_query),
10237 (gst_base_sink_change_state):
10238 Simply set the right flag when going to playing, that's all
10239 we need to do instead of calling a function inside the object
10240 lock (that could take the lock as well and deadlock)
10242 2005-10-21 Wim Taymans <wim@fluendo.com>
10244 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10245 (gst_base_src_loop):
10246 Don't warn, the peer element knows what to do best when
10247 the seek failed, it might try something else.
10249 2005-10-21 Wim Taymans <wim@fluendo.com>
10251 * gst/base/gstbasesrc.c: (gst_base_src_init),
10252 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10255 2005-10-21 Wim Taymans <wim@fluendo.com>
10257 * docs/design/part-segments.txt:
10260 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10261 Correctly set caps, even on the subbufer.
10263 2005-10-21 Wim Taymans <wim@fluendo.com>
10265 * docs/gst/gstreamer-docs.sgml:
10266 * docs/gst/gstreamer-sections.txt:
10267 * gst/gstelement.h:
10270 * gst/gstmessage.h:
10273 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10277 And 2% more doc coverage.
10279 2005-10-21 Andy Wingo <wingo@pobox.com>
10281 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10282 position reporting.
10284 2005-10-20 Wim Taymans <wim@fluendo.com>
10286 * gst/gsterror.c: (gst_error_get_message):
10289 * gst/gststructure.c:
10294 2005-10-20 Wim Taymans <wim@fluendo.com>
10299 Another 1% more coverage.
10301 2005-10-20 Wim Taymans <wim@fluendo.com>
10303 * docs/gst/gstreamer-sections.txt:
10304 * gst/gstelement.c: (gst_element_get_state_func),
10305 (gst_element_abort_state), (gst_element_commit_state),
10306 (gst_element_lost_state):
10308 * gst/gstquery.c: (gst_query_set_position),
10309 (gst_query_parse_position), (gst_query_set_duration),
10310 (gst_query_parse_duration), (gst_query_new_convert):
10312 Yay! 1% more docs coverage.
10314 2005-10-20 Wim Taymans <wim@fluendo.com>
10317 * gst/gstquery.c: (gst_query_set_position),
10318 (gst_query_parse_position), (gst_query_set_duration),
10319 (gst_query_parse_duration), (gst_query_new_convert):
10321 * gst/gstutils.c: (gst_element_query_convert):
10323 Docs and consistency fixes.
10325 2005-10-20 Wim Taymans <wim@fluendo.com>
10331 2005-10-20 Wim Taymans <wim@fluendo.com>
10333 * gst/gstbin.c: (message_check), (bin_replace_message),
10334 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10335 (update_degree), (gst_bin_sort_iterator_next),
10336 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10337 Reworked the message handling a bit, cache the messages instead of
10338 only the senders. alows us to do more in the future.
10340 2005-10-20 Wim Taymans <wim@fluendo.com>
10342 * docs/design/part-TODO.txt:
10345 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10346 (gst_base_sink_query):
10347 Don't use clock time to report position when in EOS.
10349 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10351 * tools/gst-inspect.c: (print_interfaces),
10352 (print_element_properties_info), (print_element_info):
10353 Fix interface output with gst-inspect -a; don't print
10354 newlines after double/float properties.
10356 2005-10-20 Wim Taymans <wim@fluendo.com>
10358 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10359 (gst_base_sink_query):
10360 Speed up current position calculation.
10362 * gst/base/gstbasesrc.c: (gst_base_src_query),
10363 (gst_base_src_default_newsegment):
10364 Correctly set stream position in newsegment.
10366 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10367 (update_degree), (gst_bin_sort_iterator_next),
10368 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10369 * gst/gstmessage.c: (gst_message_new_custom):
10370 Clean up debugging info
10372 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10373 (gst_queue_loop), (gst_queue_handle_src_query):
10376 2005-10-19 Wim Taymans <wim@fluendo.com>
10378 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10379 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10380 Fix query handling again.
10382 2005-10-19 Wim Taymans <wim@fluendo.com>
10384 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10385 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10386 * gst/base/gstbasesrc.c: (gst_base_src_query):
10387 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10388 * gst/elements/gsttypefindelement.c:
10389 (gst_type_find_handle_src_query), (find_element_get_length),
10390 (gst_type_find_element_activate):
10393 * gst/gstquery.c: (gst_query_new_position),
10394 (gst_query_set_position), (gst_query_parse_position),
10395 (gst_query_new_duration), (gst_query_set_duration),
10396 (gst_query_parse_duration), (gst_query_set_segment),
10397 (gst_query_parse_segment):
10399 Bundling query position/duration is not a good idea since duration
10400 does not change much and we don't want to recalculate it for every
10401 position query, so they are separated again..
10402 Base value in segment query is not needed.
10404 * gst/gstqueue.c: (gst_queue_handle_src_query):
10405 * gst/gstutils.c: (gst_element_query_position),
10406 (gst_element_query_duration), (gst_pad_query_position),
10407 (gst_pad_query_duration):
10409 Updates for query API change.
10410 Added some docs here and there.
10412 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10414 * check/gst/gstbin.c: (GST_START_TEST):
10415 * check/gst/gstghostpad.c: (GST_START_TEST):
10416 * check/pipelines/cleanup.c: (GST_START_TEST):
10417 wait on thread to die so we can check refcount correctly
10419 2005-10-18 Wim Taymans <wim@fluendo.com>
10421 * check/pipelines/stress.c: (GST_START_TEST):
10422 Make check a little more time consuming.
10424 2005-10-18 Wim Taymans <wim@fluendo.com>
10426 * check/Makefile.am:
10427 * check/pipelines/stress.c: (GST_START_TEST),
10428 (simple_launch_lines_suite), (main):
10429 Small state change torture test.
10431 * docs/design/part-states.txt:
10432 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10433 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10434 (gst_base_sink_change_state):
10435 Never take state lock from streaming thread, clean up ugly
10436 hacks. Unfortunatly core does not yet support nice ways to
10437 async commit state.
10439 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10441 Start state recalc if a STATE_DIRTY message is posted, but only
10442 on the toplevel bin.
10444 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10445 (gst_element_get_state_func), (gst_element_abort_state),
10446 (gst_element_commit_state), (gst_element_lost_state),
10447 (gst_element_set_state_func), (gst_element_change_state):
10448 * gst/gstelement.h:
10449 State variables are now protected with the LOCK, the state
10450 lock is only used to serialize _set_state().
10452 2005-10-18 Wim Taymans <wim@fluendo.com>
10454 * check/gst/gstbin.c: (GST_START_TEST):
10455 * check/gst/gstmessage.c: (GST_START_TEST):
10456 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10457 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10459 * gst/gstelement.c: (gst_element_abort_state),
10460 (gst_element_commit_state), (gst_element_lost_state):
10461 * gst/gstmessage.c: (gst_message_new_state_changed),
10462 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10463 (gst_message_new_segment_done), (gst_message_new_duration),
10464 (gst_message_parse_state_changed),
10465 (gst_message_parse_segment_start),
10466 (gst_message_parse_segment_done), (gst_message_parse_duration):
10467 * gst/gstmessage.h:
10468 * tools/gst-launch.c: (event_loop):
10469 Seriously, this is better than a previous commit as we only need
10470 to notify the fact that an element changed state in a streaming
10471 thread, marking the state of the parents dirty, hence the
10472 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10475 2005-10-18 Wim Taymans <wim@fluendo.com>
10477 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10478 (gst_bin_recalc_func):
10479 * gst/gstelement.c: (gst_element_set_clock),
10480 (gst_element_abort_state), (gst_element_lost_state):
10481 Cleanups, prepare for state change fixes.
10483 2005-10-18 Wim Taymans <wim@fluendo.com>
10486 * gst/gstelement.c: (gst_element_class_init),
10487 (gst_element_set_state), (gst_element_set_state_func):
10488 * gst/gstelement.h:
10489 Pending ABI changes.
10490 GThreadPool in GstBinClass to monitor async state changes.
10491 state_cookie in GstElement to detect concurrent gst/set state.
10492 set_state is now virtual too in case a very complicated element
10493 has to be constructed.
10495 2005-10-18 Wim Taymans <wim@fluendo.com>
10497 * check/gst/gstbin.c: (GST_START_TEST):
10498 * check/gst/gstmessage.c: (GST_START_TEST):
10499 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10500 * gst/gstbin.c: (bin_bus_handler):
10501 * gst/gstelement.c: (gst_element_commit_state),
10502 (gst_element_lost_state):
10503 * gst/gstmessage.c: (gst_message_new_state_changed),
10504 (gst_message_new_segment_start), (gst_message_new_segment_done),
10505 (gst_message_new_duration), (gst_message_parse_state_changed),
10506 (gst_message_parse_segment_start),
10507 (gst_message_parse_segment_done), (gst_message_parse_duration):
10508 * gst/gstmessage.h:
10509 * tools/gst-launch.c: (event_loop):
10510 Make messages future proof.
10511 state-change gets a flag if it was a message comming from the
10513 segment-start/stop can also be specified in other formats.
10514 A message to notify an app that a pipeline changed playback
10516 Also fix a GstMessage leak in -launch
10518 2005-10-18 Andy Wingo <wingo@pobox.com>
10520 * gst/gstelement.c (gst_element_dispose): More helpful message.
10522 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10524 reviewed by: <delete if not using a buddy>
10526 * common/gtk-doc.mak:
10528 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10530 * gst/gstregistry.c: (gst_registry_scan_path_level):
10531 unref a plug-in we get that was already initialized
10533 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10535 * docs/gst/gstreamer-sections.txt:
10536 * docs/libs/gstreamer-libs-sections.txt:
10537 * gst/gstelement.h:
10538 add new api entries
10539 hide internal macro
10541 2005-10-17 Andy Wingo <wingo@pobox.com>
10543 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10546 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10548 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10550 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10551 (gst_element_get_state_func): Better debug message.
10552 (gst_element_commit_state): s/INFO/DEBUG/.
10553 (gst_element_lost_state, gst_element_change_state):
10555 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10556 (gst_message_new_custom): s/INFO/LOG/.
10558 2005-10-17 Michael Smith <msmith@fluendo.com>
10560 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10561 Check if end time is valid using end time, not start time.
10563 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10565 * check/gst-libs/controller.c: (GST_START_TEST),
10566 (gst_controller_suite):
10567 * libs/gst/controller/gstcontroller.c:
10568 (gst_controlled_property_set_interpolation_mode):
10569 * libs/gst/controller/gstcontroller.h:
10570 * libs/gst/controller/gstinterpolation.c:
10571 * testsuite/controller/.cvsignore:
10572 * testsuite/controller/Makefile.am:
10573 * testsuite/controller/interpolator.c:
10574 merge controller testsuites
10576 remove mem-chunk from docs
10578 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10580 * gst/gstmemchunk.c:
10581 * gst/gstmemchunk.h:
10582 * gst/gsttrashstack.c:
10583 * gst/gsttrashstack.h:
10584 out. get out. you're fired. to the Attic !
10586 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10588 * gst/gstcaps.c: (gst_caps_intersect):
10589 fix signedness issues in a (hopefully) correct way
10590 * gst/gstelement.c: (gst_element_pads_activate):
10592 * gst/gstobject.c: (gst_object_set_parent):
10595 2005-10-17 Julien MOUTTE <julien@moutte.net>
10597 * gst/gstvalue.h: Fix prototypes.
10599 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10601 * docs/gst/gstreamer-sections.txt:
10602 * gst/gst.c: (gst_version_string):
10604 * gst/gstversion.h.in:
10605 * win32/common/libgstreamer.def:
10606 add gst_version_string ()
10608 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10612 * gst/gst.c: (init_post):
10613 * win32/common/config.h.in:
10615 * gst/gstcaps.c: (gst_caps_intersect):
10616 use gint64, the range could be bigger than a guint
10618 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10621 document potential problem in 2038
10623 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10625 * gst/gstcaps.c: (gst_caps_intersect):
10626 Fix guint j diving under 0
10628 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10631 * win32/common/config.h:
10632 * win32/common/config.h.in:
10633 check for process.h, declares getpid() on Windows
10635 include process.h if we have it
10636 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10637 * gst/gstmemchunk.h:
10638 fix signedness issues
10639 * win32/common/libgstreamer.def:
10642 2005-10-16 Julien MOUTTE <julien@moutte.net>
10644 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10645 fix. Because of unsigned ints, caps intersection was going nuts and
10646 trying to access structures with G_MAXUINT index. That fixes
10647 videotestsrc ! ffmpegcolorspace ! fakesink
10648 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10651 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10654 use the gettext macro
10655 * gst/elements/gstelements.c:
10657 * gst/indexers/gstindexers.c:
10658 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10659 * win32/common/config.h:
10661 * win32/common/config.h.in:
10662 add the template to generate config.h
10663 * win32/common/gstenumtypes.c:
10664 * win32/common/gstversion.h:
10667 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10669 * gst/gst.c: (gst_version):
10670 * gst/gstversion.h.in:
10673 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10676 Oops, add missing closing bracket.
10678 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10681 use common m4's for argument checking
10683 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10685 * docs/gst/gstreamer-sections.txt:
10687 Add GST_EVENT_TYPE_NAME() macro.
10689 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10692 * gst/gstpluginfeature.c:
10694 privatize more symbols
10696 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10699 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10700 everything that uses GStreamer API should have the includes
10702 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10704 * docs/gst/gstreamer-sections.txt:
10705 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10707 give each value a _get_type, removes the DATA exports
10709 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10713 remove _gst_registry_auto_load, not used anymore
10714 * gst/gstbin.c: (gst_bin_get_type):
10716 * gst/gstelement.c: (gst_element_get_type):
10717 * gst/gstelement.h:
10718 * gst/gstobject.c: (gst_object_get_type):
10720 * gst/gstpad.c: (gst_pad_get_type):
10722 make _get_type functions similar, fixes data export from library
10724 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10727 correctly make conditionals
10728 * gst/elements/Makefile.am:
10729 * gst/elements/gstelements.c:
10730 fix typo causing fdsrc not to build
10732 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10734 * testsuite/Makefile.am:
10735 * testsuite/bytestream/.cvsignore:
10736 * testsuite/bytestream/Makefile.am:
10737 * testsuite/bytestream/filepadsink.c:
10738 * testsuite/bytestream/gstbstest.c:
10739 * testsuite/bytestream/test1.c:
10740 * testsuite/bytestream/testfile1:
10741 * testsuite/caps/normalisation.c:
10742 * testsuite/caps/random.c: (main):
10743 * testsuite/cleanup/.cvsignore:
10744 * testsuite/cleanup/Makefile.am:
10745 * testsuite/cleanup/cleanup1.c:
10746 * testsuite/cleanup/cleanup2.c:
10747 * testsuite/cleanup/cleanup3.c:
10748 * testsuite/cleanup/cleanup4.c:
10749 * testsuite/cleanup/cleanup5.c:
10750 * testsuite/controller/interpolator.c:
10751 * testsuite/debug/printf_extension.c: (main):
10752 * testsuite/elements/tee.c:
10753 * testsuite/negotiation/.cvsignore:
10754 * testsuite/negotiation/Makefile.am:
10755 * testsuite/negotiation/pad_link.c:
10756 * testsuite/pad/Makefile.am:
10757 * testsuite/pad/chainnopull.c:
10758 * testsuite/pad/getnopush.c:
10759 * testsuite/pad/link.c:
10760 * testsuite/refcounting/sched.c: (create_pipeline):
10761 * testsuite/registry/Makefile.am:
10762 * testsuite/registry/gst-print-formats.c:
10763 * testsuite/schedulers/.cvsignore:
10764 * testsuite/schedulers/142183-2.c:
10765 * testsuite/schedulers/142183.c:
10766 * testsuite/schedulers/143777-2.c:
10767 * testsuite/schedulers/143777.c:
10768 * testsuite/schedulers/147713.c:
10769 * testsuite/schedulers/147819.c:
10770 * testsuite/schedulers/147894-2.c:
10771 * testsuite/schedulers/147894.c:
10772 * testsuite/schedulers/Makefile.am:
10773 * testsuite/schedulers/group_link.c:
10774 * testsuite/schedulers/queue_link.c:
10775 * testsuite/schedulers/relink.c:
10776 * testsuite/schedulers/unlink.c:
10777 * testsuite/schedulers/unref.c:
10778 * testsuite/schedulers/useless_iteration.c:
10779 * testsuite/states/bin.c:
10780 clean out/remove some stuff from the testsuite directories
10782 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10785 check for some headers
10786 * gst/elements/Makefile.am:
10787 * gst/elements/gstelements.c:
10788 don't compile fdsrc without sys/socket.h
10789 * gst/indexers/Makefile.am:
10790 * gst/indexers/gstindexers.c: (plugin_init):
10791 don't compile fileindex without mmap
10793 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10800 * check/Makefile.am:
10801 * docs/gst/Makefile.am:
10802 * examples/helloworld/Makefile.am:
10804 * gst/base/Makefile.am:
10805 * gst/check/Makefile.am:
10806 * gst/elements/Makefile.am:
10807 * gst/indexers/Makefile.am:
10808 * gst/parse/Makefile.am:
10809 * libs/gst/controller/Makefile.am:
10810 * libs/gst/dataprotocol/Makefile.am:
10811 * examples/helloworld/helloworld.c: (event_loop):
10812 compile fixes, though it's not being compiled currently
10814 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10816 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10817 Add some simple tests for the new taglist date API.
10819 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10821 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10822 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10823 Beautify 'last-message' output: print 'none' for buffer timestamps
10824 and durations if none is set; improve alignment with next messages.
10826 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10828 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10829 * gst/gstpluginfeature.h:
10830 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10831 * gst/gstregistry.h:
10832 * docs/gst/gstreamer-sections.txt:
10833 Add new API to check plugin feature version requirements.
10835 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10836 Some basic tests for the above.
10838 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10840 * gst/gststructure.c: (gst_structure_to_string):
10841 guard against NULL printf - happens when for example
10842 a message structure with GstClock gets serialized
10844 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10846 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10847 Fix presumable copy'n'pasto.
10849 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10851 * gst/elements/gstfakesrc.h:
10852 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10853 * gst/elements/gsttypefindelement.c:
10854 fix some signedness
10855 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10856 I wonder if this could actually write +2GB files before
10858 2005-10-13 Andy Wingo <wingo@pobox.com>
10860 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10861 Fix Timmeke Waymans bug.
10862 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10863 string of the proper length to gst_caps_from_string. There's a
10864 potential for, before this fix, that this could cause someone
10865 connecting over the network to cause a segfault if the payload is
10866 not NUL-terminated.
10868 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10870 * docs/design/draft-push-pull.txt:
10871 * docs/design/part-overview.txt:
10872 * docs/random/TODO-pre-0.9:
10873 * docs/random/old/ChangeLog.gstreamer:
10874 * gst/base/gstpushsrc.c:
10878 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10880 * gst/glib-compat.c: (gst_flags_get_first_value):
10881 * gst/glib-compat.h:
10882 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10883 (gst_value_compare_double), (gst_value_serialize_flags):
10884 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10887 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10889 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10890 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10892 * tools/gst-launch.c: (event_loop):
10893 print out clock nicely
10895 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10897 * docs/gst/gstreamer-sections.txt:
10898 * gst/gsttaglist.h:
10899 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10900 (gst_tag_list_get_date_index):
10901 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10902 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10904 2005-10-13 Julien MOUTTE <julien@moutte.net>
10906 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10907 (gst_collectpads_chain):
10908 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10911 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10913 * docs/gst/gstreamer-sections.txt:
10916 * tools/gst-inspect.c: (main):
10917 * tools/gst-launch.c: (main):
10918 * tools/gst-run.c: (main):
10919 * tools/gst-xmlinspect.c: (main):
10920 fix GOption context leaks
10923 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10927 * win32/common/config.h:
10929 * win32/vs6/grammar.dsp:
10930 * win32/vs6/libgstelements.dsp:
10931 * win32/vs6/libgstreamer.dsp:
10934 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10936 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10937 * gst/base/gstbasesrc.c: (gst_base_src_query):
10938 fix more guint64<->gdouble conversions
10940 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10943 add win32-update target
10944 * win32/common/gstconfig.h:
10945 * win32/common/gstenumtypes.c:
10946 * win32/common/gstenumtypes.h:
10947 * win32/common/gstversion.h:
10948 add files that visual studio can't generate
10950 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10953 add a win32-update target
10956 2005-10-12 Wim Taymans <wim@fluendo.com>
10958 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10959 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10960 * gst/gstelement.c: (gst_element_commit_state),
10961 (gst_element_set_state):
10962 Protect flags with proper lock.
10963 unref provided cached clock in dispose.
10965 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10968 * gst/gstminiobject.h:
10970 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10971 removed unused flags from miniobject
10974 2005-10-12 Wim Taymans <wim@fluendo.com>
10976 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10977 (gst_file_sink_event), (gst_file_sink_render):
10978 Flush before seeking.
10980 2005-10-12 Andy Wingo <wingo@pobox.com>
10982 * gst/gst.c (gst_init_check): Ignore unknown options, as has
10983 always been the case.
10985 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10987 * check/gst/gstbin.c: (GST_START_TEST):
10988 * docs/gst/gstreamer-sections.txt:
10989 * gst/base/gstbasesink.c: (gst_base_sink_init):
10990 * gst/base/gstbasesrc.c: (gst_base_src_init),
10991 (gst_base_src_get_range), (gst_base_src_check_get_range),
10992 (gst_base_src_start), (gst_base_src_stop):
10993 * gst/base/gstbasesrc.h:
10994 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10995 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10996 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11000 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11002 * gst/gstelement.c: (gst_element_is_locked_state),
11003 (gst_element_set_locked_state), (gst_element_commit_state),
11004 (gst_element_set_state):
11005 * gst/gstelement.h:
11006 * gst/gstindex.c: (gst_index_init):
11008 * gst/gstminiobject.h:
11009 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11010 (gst_object_set_parent):
11012 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11013 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11015 * gst/gstpadtemplate.h:
11016 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11017 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11018 * gst/gstpipeline.h:
11019 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11020 (gst_file_index_commit):
11021 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11022 * testsuite/pad/link.c: (gst_test_src_init),
11023 (gst_test_filter_init), (gst_test_sink_init):
11024 * testsuite/states/locked.c: (main):
11025 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11026 moved bitshift from macro to enum definition
11028 2005-10-12 Wim Taymans <wim@fluendo.com>
11030 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11031 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11032 (gst_file_sink_render):
11033 Some more debugging info.
11035 2005-10-12 Wim Taymans <wim@fluendo.com>
11037 * docs/design/part-states.txt:
11038 * tools/gst-launch.c: (main):
11040 Revert non-intentional change.
11042 2005-10-12 Wim Taymans <wim@fluendo.com>
11044 * check/gst/gstbin.c: (GST_START_TEST):
11045 * check/gst/gstelement.c: (GST_START_TEST):
11046 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11047 * check/gst/gstghostpad.c: (GST_START_TEST):
11048 * check/gst/gstpipeline.c: (GST_START_TEST):
11049 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11050 * check/states/sinks.c: (GST_START_TEST):
11051 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11052 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11053 (gst_bin_remove_func), (gst_bin_get_state_func),
11054 (gst_bin_recalc_state), (gst_bin_change_state_func),
11056 * gst/gstelement.c: (gst_element_get_state_func),
11057 (gst_element_get_state), (gst_element_abort_state),
11058 (gst_element_commit_state), (gst_element_set_state),
11059 (gst_element_change_state), (gst_element_change_state_func):
11060 * gst/gstelement.h:
11061 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11062 (gst_pipeline_provide_clock_func):
11063 * gst/gstutils.c: (gst_element_link_pads_filtered):
11064 * tools/gst-launch.c: (main):
11065 * tools/gst-typefind.c: (main):
11066 Use GstClockTime in _get_state() instead of GTimeVal.
11067 Remove old code in gstutils.c
11069 2005-10-12 Andy Wingo <wingo@pobox.com>
11071 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11074 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11075 there is no task. Shouldn't affect any code, as nothing in our
11076 plugins checks this return value.
11077 (gst_pad_stop_task): Also take the stream lock if the pad has no
11078 task. Docs updated.
11080 2005-10-12 Wim Taymans <wim@fluendo.com>
11082 * gst/gstpad.c: (pre_activate), (post_activate),
11083 (gst_pad_activate_pull), (gst_pad_activate_push):
11084 Cleanup activation code. Reset old state if
11087 2005-10-12 Wim Taymans <wim@fluendo.com>
11089 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11090 (gst_base_sink_change_state):
11091 No need to prerol after receiving EOS.
11093 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11094 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11095 * gst/elements/gstidentity.c: (gst_identity_event):
11096 Print events more verbosely.
11098 2005-10-12 Wim Taymans <wim@fluendo.com>
11100 * check/Makefile.am:
11101 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11102 * check/states/sinks2.c:
11103 Moved sinks2 testcode in sinks check.
11105 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11106 (gst_bin_remove_func), (gst_bin_recalc_state),
11107 (gst_bin_change_state_func), (bin_bus_handler):
11108 Fix potential race condition when _get_state() iterated over an
11109 ASYNC element right before it posted a state completion.
11112 Do proper cast here.
11114 * gst/gstevent.c: (gst_event_new_newsegment),
11115 (gst_event_parse_newsegment):
11116 A playback rate of 0.0 is not allowed.
11118 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11120 * win32/common/config.h:
11121 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11122 (_trewinddir), (_ttelldir), (_tseekdir):
11123 * win32/common/dirent.h:
11124 * win32/common/gtchar.h:
11125 * win32/common/libgstbase.def:
11126 * win32/common/libgstreamer.def:
11127 * win32/vs6/grammar.dsp:
11128 * win32/vs6/gst_inspect.dsp:
11129 * win32/vs6/gst_launch.dsp:
11130 * win32/vs6/gstreamer.dsw:
11131 * win32/vs6/libgstbase.dsp:
11132 * win32/vs6/libgstelements.dsp:
11133 * win32/vs6/libgstreamer.dsp:
11134 Visual Studio 6 project files, and a new common directory.
11137 2005-10-11 Wim Taymans <wim@fluendo.com>
11139 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11140 (gst_base_sink_do_sync), (gst_base_sink_query),
11141 (gst_base_sink_change_state):
11142 * gst/base/gstbasesink.h:
11143 Correctly parse newsegment info.
11145 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11147 * gst/gst.c: (init_post):
11148 split plugin paths correctly
11150 2005-10-11 Wim Taymans <wim@fluendo.com>
11152 * check/gst/gstevent.c: (GST_START_TEST):
11153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11154 (gst_base_sink_change_state):
11155 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11156 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11157 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11158 * gst/gstevent.c: (gst_event_new_newsegment),
11159 (gst_event_parse_newsegment):
11161 Added extra flag to newsegment for future API freeze.
11162 Updated check and base elements.
11164 2005-10-11 Julien MOUTTE <julien@moutte.net>
11166 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11167 (gst_collectpads_add_pad), (gst_collectpads_pop),
11168 (gst_collectpads_event), (gst_collectpads_chain):
11169 * gst/base/gstcollectpads.h: Handle EOS correctly.
11171 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11173 * tools/gst-launch.c: (main):
11174 more null protecting
11176 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11178 * gst/gst-i18n-lib.h:
11179 check for ENABLE_NLS, not GETTEXT_PACKAGE
11180 * gst/gstregistry.c: (gst_registry_add_plugin),
11181 (gst_registry_scan_path_level),
11182 (_gst_registry_remove_cache_plugins):
11183 protect possibly NULL strings
11184 * gst/parse/types.h:
11185 config.h already included before
11186 * tools/gst-inspect.c: (main):
11187 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11188 check for ENABLE_NLS, not GETTEXT_PACKAGE
11189 * tools/gst-launch.c: (main):
11190 check for ENABLE_NLS, not GETTEXT_PACKAGE
11192 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11195 if we don't have glib, fail before testing 2.8
11196 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11197 fix a leak, should fix plugins-base testsuite
11199 2005-10-11 Andy Wingo <wingo@pobox.com>
11201 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11202 take the mode we're going to as an arg. Go head and set the mode
11203 and flushing flags now, so that if the activate function starts a
11204 thread all the flags will be in the right state.
11205 (post_activate): Renamed also. Just handle making sure streaming
11206 finishes for the deactivation case, and setting the deactivated
11208 (gst_pad_set_active): Complain loudly if deactivation fails.
11209 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11210 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11211 remove the terrible hack.
11213 2005-10-11 Wim Taymans <wim@fluendo.com>
11215 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11216 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11217 (gst_bin_recalc_state), (gst_bin_change_state_func),
11218 (gst_bin_dispose), (bin_bus_handler):
11220 Prepare to make current EOS message queue more generic.
11223 * gst/gstevent.c: (gst_event_new_newsegment),
11224 (gst_event_parse_newsegment):
11226 Rename base to stream_time.
11228 * gst/gstmessage.h:
11231 2005-10-11 Wim Taymans <wim@fluendo.com>
11233 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11234 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11235 (gst_bin_change_state_func), (bin_bus_handler):
11237 Work on proper clock selection.
11239 2005-10-11 Edward Hervey <edward@fluendo.com>
11241 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11242 * libs/gst/controller/gstcontroller.h:
11243 Added GList* version of _remove_properties() in order to be able to wrap
11246 2005-10-11 Wim Taymans <wim@fluendo.com>
11248 * docs/design/part-states.txt:
11251 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11252 (gst_bin_change_state_func), (bin_bus_handler):
11253 Doc updates. Don't distribute the same clock over and over again.
11259 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11260 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11261 (gst_pad_send_event):
11263 Make probe emission threadsafe again.
11264 Register quarks and move _get_name() from utils.
11267 * gst/gstpipeline.c: (gst_pipeline_class_init),
11268 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11269 Only redistribute the clock of it changed.
11271 * gst/gstsystemclock.h:
11276 Moved the _flow_get_name() to GstPad.
11278 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11280 * check/gst-libs/gdp.c: (GST_START_TEST):
11281 * check/gst/gstcaps.c: (GST_START_TEST):
11282 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11283 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11284 (gst_dp_packet_from_caps):
11285 fix more valgrind warnings before turning up the heat
11287 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11289 * gst/parse/grammar.y:
11290 some cleanup before the hacking
11292 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11294 * gst/base/gstbasesrc.c: (gst_base_src_query):
11296 * gst/gstutils.c: (gst_guint64_to_gdouble),
11297 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11299 externalize, basesrc uses it
11300 obviously the implementation needs testing
11302 2005-10-10 Wim Taymans <wim@fluendo.com>
11304 * tests/sched/Makefile.am:
11305 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11306 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11308 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11310 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11311 apparently converting from guint64 to double is not implemented
11314 2005-10-10 Wim Taymans <wim@fluendo.com>
11316 * check/Makefile.am:
11317 * check/generic/states.c: (GST_START_TEST):
11318 * check/gst/gstbin.c: (GST_START_TEST):
11319 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11320 * check/states/sinks.c: (GST_START_TEST):
11321 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11323 Check fixes, use API as stated in design docs, remove hacks.
11325 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11326 (gst_base_sink_change_state):
11327 Catch stopping our task while we're shutting down.
11329 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11330 (gst_bin_remove_func), (gst_bin_get_state_func),
11331 (gst_bin_recalc_state), (gst_bin_change_state_func),
11334 * gst/gstelement.c: (gst_element_init),
11335 (gst_element_get_state_func), (gst_element_abort_state),
11336 (gst_element_commit_state), (gst_element_lost_state),
11337 (gst_element_set_state), (gst_element_change_state),
11338 (gst_element_change_state_func):
11339 * gst/gstelement.h:
11340 New state change algorithm (see #318116)
11342 * gst/gstpipeline.c: (gst_pipeline_class_init),
11343 (gst_pipeline_init), (gst_pipeline_set_property),
11344 (gst_pipeline_get_property), (do_pipeline_seek),
11345 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11346 * gst/gstpipeline.h:
11347 Remove crude state change hacks.
11350 Remove crude hacks.
11352 * tools/gst-launch.c: (main):
11353 Fixes for state change. Needs some more work to fully use the
11356 2005-10-10 Andy Wingo <wingo@pobox.com>
11358 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11360 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11361 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11364 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11366 * gst/gstiterator.c: (gst_iterator_new):
11367 Fix my previous commit: GTypes passed to gst_iterator_new()
11368 can be fundamental types.
11370 2005-10-10 Wim Taymans <wim@fluendo.com>
11372 * gst/gstelement.c: (gst_element_iterate_pad_list),
11373 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11374 (gst_element_iterate_sink_pads):
11375 Use src/sink pads lists for the respective iterators instead
11378 2005-10-10 Andy Wingo <wingo@pobox.com>
11380 Merged in popt removal + GOption addition patch from Ronald, bug
11383 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11384 GstElement macros around, remove popt-related symbols, add goption
11387 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11389 * docs/gst/Makefile.am:
11390 * docs/libs/Makefile.am: No POPT_CFLAGS.
11392 * examples/manual/Makefile.am:
11393 * docs/manual/basics-init.xml: Doc updates with an example.
11395 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11396 (gst_init), (parse_one_option), (parse_goption_arg):
11397 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11398 bit of hand merging and debugging to get the GOption stuff working
11401 * tests/Makefile.am:
11402 * tools/Makefile.am:
11403 * tools/gst-inspect.c: (main):
11404 * tools/gst-launch.c: (main):
11405 * tools/gst-run.c: (main):
11406 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11408 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11410 * gst/gstiterator.c: (gst_iterator_new):
11411 Add assertions to make sure passed GType is likely to really
11412 be a GType (as the compiler won't catch it if the size and
11413 GType arguments get mixed up, see #318447).
11415 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11417 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11419 * gst/gstbin.c: (gst_bin_iterate_sorted):
11420 Pass GType and size arguments to gst_iterator_new() in the right
11421 order (maybe we should make _new() take the GType as first argument
11422 just like _new_list()?) (#318447).
11425 2005-10-10 Wim Taymans <wim@fluendo.com>
11427 * gst/gstelement.c: (gst_element_finalize):
11428 And free the GStaticRecMutex too
11430 2005-10-10 Andy Wingo <wingo@pobox.com>
11432 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11433 Allocate and free the mutex properly.
11435 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11437 (GstElement): The state_lock is now recursive. Rebuild your
11438 plugins, suckers. Old macros adapted.
11440 * docs/gst/gstreamer-sections.txt: Doc updates.
11443 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11444 (g_static_rec_cond_wait): Ported from state changes patch, while
11445 we wait on bug #317802 to be solved in a well-distributed GLib.
11447 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11448 gst_element_change_state, variable name changes.
11449 (gst_element_change_state): Split out of gst_element_set_state in
11450 preparation for the state change merge. Doesn't pay attention to
11451 the 'transition' argument.
11452 (gst_element_set_state): Updates, hopefully purely cosmetic.
11453 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11454 state change patch.
11455 (gst_element_get_state_func): Renamed from get_state, cosmetic
11458 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11460 * gst/elements/gstelements.c:
11461 * win32/GStreamer.vcproj:
11463 * win32/dirent.c: (_tseekdir):
11464 * win32/gst-inspect.vcproj:
11465 * win32/gst-launch.vcproj:
11466 * win32/gstconfig.h:
11467 * win32/gstelements.vcproj:
11468 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11469 * win32/gstreamer.def:
11470 * win32/msvc71.sln:
11471 updates for the win32 build (patch from Sebastien Moutte)
11473 2005-10-10 Andy Wingo <wingo@pobox.com>
11475 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11476 gst_bin_get_state, cleaned up (but no logic changes).
11477 (bin_element_is_sink): Comment updates.
11478 (sink_iterator_filter): Remove needless cast.
11479 (gst_bin_iterate_sinks): Doc update.
11480 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11481 cleaned up (but no logic changes).
11483 * check/states/sinks.c (test_src_sink): Cleanups from the state
11485 (test_livesrc_sink): Sync on the state.
11487 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11488 the state change patch.
11490 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11493 * check/gst/gstbin.c: Merge in some style fixes and additional
11494 checks from Wim's state change patch.
11496 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11498 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11499 (gst_type_find_helper):
11500 Check whether we have the requested data already in our list of
11501 cached buffers before pulling a new buffer; also make the buffer
11502 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11504 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11509 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11510 don't use long long, it's not portable. Replacing with
11511 gint64 seems to work; let's hope no skeletons fall out of the closet.
11513 2005-10-10 Andy Wingo <wingo@pobox.com>
11515 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11517 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11519 * docs/gst/gstreamer-sections.txt:
11524 * gst/gstmessage.c: (gst_message_parse_state_changed):
11527 more docs, fix compilation
11529 2005-10-09 Philippe Khalaf <burger@speedy.org>
11530 * gst/gstmessage.c:
11531 Fixed a few forgotten variables on previous commit
11533 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11535 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11536 Fix evil typefind crasher: getrange() might return a short
11537 buffer at the end of a file, but gst_type_find_peek() must
11538 either return the full data as requested or NULL, but
11539 never a short buffer.
11541 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11543 * gst/gstmessage.c: (gst_message_new_state_changed),
11544 (gst_message_parse_state_changed):
11545 * gst/gstmessage.h:
11546 don't use "new", it's a C++ keyword
11548 2005-10-08 Wim Taymans <wim@fluendo.com>
11550 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11551 * gst/gstelement.c: (gst_element_post_message):
11552 * gst/gstpipeline.c: (gst_pipeline_change_state):
11553 Small docs and debug updates.
11555 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11557 * docs/gst/gstreamer-sections.txt:
11558 * gst/gstelementfactory.c:
11560 * gst/gsttaglist.c:
11563 2005-10-08 Wim Taymans <wim@fluendo.com>
11565 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11566 (gst_bin_dispose), (bin_bus_handler):
11567 Fix typos, add comments.
11568 Clear EOS list when going to PAUSED from any direction and do it
11569 in a threadsafe way.
11570 Get base time in a threadsafe way too.
11571 Fix confusing debug in the change_state function.
11572 Various other small cleanups.
11574 * gst/gstelement.c: (gst_element_post_message):
11575 Fix very verbose bus posting code.
11577 * gst/gstpipeline.c: (gst_pipeline_class_init),
11578 (gst_pipeline_set_property), (gst_pipeline_get_property),
11579 (gst_pipeline_change_state):
11580 Small ARG_ -> PROP_ cleanup
11582 2005-10-08 Wim Taymans <wim@fluendo.com>
11584 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11585 Do a less CPU demanding EOS check because we can.
11587 2005-10-08 Wim Taymans <wim@fluendo.com>
11589 * libs/gst/dataprotocol/dataprotocol.c:
11590 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11591 (gst_dp_packet_from_event):
11592 * libs/gst/dataprotocol/dataprotocol.h:
11593 * libs/gst/dataprotocol/dp-private.h:
11594 It's about time we bump the version number.
11595 Since event types don't fit in the guint8 anymore describing
11596 the payload type, make payload type 16 bits wide.
11598 2005-10-08 Wim Taymans <wim@fluendo.com>
11600 * docs/design/part-TODO.txt:
11601 * docs/design/part-clocks.txt:
11602 * docs/design/part-events.txt:
11603 * docs/design/part-gstbin.txt:
11604 * docs/design/part-gstelement.txt:
11605 * docs/design/part-gstpipeline.txt:
11606 * docs/design/part-live-source.txt:
11607 * docs/design/part-messages.txt:
11608 * docs/design/part-overview.txt:
11609 * docs/design/part-states.txt:
11612 2005-10-08 Wim Taymans <wim@fluendo.com>
11616 Fix event quark registration.
11617 Add some space between events so we can insert them in the
11620 2005-10-08 Wim Taymans <wim@fluendo.com>
11622 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11623 (gst_base_sink_handle_buffer):
11624 Better log message.
11627 * gst/gstelement.h:
11630 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11631 (gst_queue_set_property), (gst_queue_get_property):
11633 Remove old unused properties.
11635 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11636 * docs/gst/gstreamer-sections.txt:
11637 * gst/gstmessage.c:
11638 * gst/gstmessage.h:
11639 * gst/gstminiobject.c:
11640 * gst/gstminiobject.h:
11644 lots of new docs and doc fixes
11646 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11648 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11650 * gst/gstregistry.c: (gst_registry_lookup_locked),
11651 (gst_registry_scan_path_level):
11652 * gst/gstregistryxml.c: (load_plugin):
11653 Only ever load one plugin for a given plugin basename.
11654 This ensures correct overriding of GST_PLUGIN_PATH over
11655 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11656 system installed plugins.
11658 2005-10-08 Wim Taymans <wim@fluendo.com>
11660 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11661 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11662 Prepare for doing QOS.
11664 2005-10-08 Wim Taymans <wim@fluendo.com>
11666 * check/gst/gstbin.c: (GST_START_TEST):
11667 * check/pipelines/cleanup.c: (GST_START_TEST):
11668 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11669 Allow new clock message too.
11671 2005-10-08 Wim Taymans <wim@fluendo.com>
11673 * gst/gstmessage.c: (gst_message_new_error),
11674 (gst_message_new_warning), (gst_message_new_tag),
11675 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11676 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11677 (gst_message_new_segment_start), (gst_message_new_segment_done),
11678 (gst_message_parse_state_changed),
11679 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11680 (gst_message_parse_new_clock):
11681 * gst/gstmessage.h:
11682 Also carry the clock in question.
11684 2005-10-08 Wim Taymans <wim@fluendo.com>
11686 * gst/gstmessage.c: (gst_message_new_custom),
11687 (gst_message_new_eos), (gst_message_new_error),
11688 (gst_message_new_warning), (gst_message_new_tag),
11689 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11690 (gst_message_new_new_clock), (gst_message_new_segment_start),
11691 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11692 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11693 * gst/gstmessage.h:
11695 Added clock related messages.
11697 * gst/gstpipeline.c: (gst_pipeline_change_state):
11698 Post message when the clock changed.
11700 * tools/gst-launch.c: (event_loop):
11703 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11705 * tools/gst-inspect.c: (print_element_properties_info):
11706 Can't pass NULL strings to g_print() on windows.
11708 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11710 * docs/Makefile.am:
11711 * docs/gst/Makefile.am:
11712 * docs/gst/gstreamer-docs.sgml:
11713 * docs/gst/running.xml:
11714 * docs/version.entities.in:
11715 add a chapter on running GStreamer.
11716 document GST_DEBUG and GST_PLUGIN* env vars
11718 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11723 remove PLUGINS_BUILDDIR stuff
11724 * gst/gst.c: (init_post):
11725 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11727 remove, it was condescending and not needed
11729 2005-10-08 Wim Taymans <wim@fluendo.com>
11731 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11732 (gst_base_sink_handle_object), (gst_base_sink_event),
11733 (gst_base_sink_wait), (gst_base_sink_handle_event),
11734 (gst_base_sink_change_state):
11735 * gst/base/gstbasesink.h:
11736 Repost EOS message while going to PLAYING if still EOS.
11737 Make sure that when receiving a FLUSH_START we don't attempt
11738 to sync on the clock anymore.
11740 2005-10-08 Wim Taymans <wim@fluendo.com>
11742 * tools/gst-launch.c: (event_loop):
11743 Better message printout.
11745 2005-10-08 Wim Taymans <wim@fluendo.com>
11747 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11748 (gst_bin_child_proxy_get_children_count):
11749 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11750 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11751 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11752 (gst_child_proxy_set_valist):
11753 * gst/parse/grammar.y:
11754 Make ChildProxy threadsafe and fix mem leaks.
11756 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11758 * gst/gst.c: (init_post):
11759 debug the GST_PLUGIN_ env vars
11761 2005-10-08 Wim Taymans <wim@fluendo.com>
11763 * check/gst/gstbin.c: (GST_START_TEST):
11764 * check/gst/gstmessage.c: (GST_START_TEST):
11765 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11766 * gst/gstelement.c: (gst_element_commit_state),
11767 (gst_element_lost_state):
11768 * gst/gstmessage.c: (gst_message_new_state_changed),
11769 (gst_message_parse_state_changed):
11770 * gst/gstmessage.h:
11771 * tools/gst-launch.c: (event_loop):
11772 Added extra field to STATE_CHANGE message with the pending
11773 state, which will be different from the new state soon.
11775 2005-10-08 Wim Taymans <wim@fluendo.com>
11777 * gst/gstbus.c: (gst_bus_pop):
11779 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11780 Small cleanups and doc updates.
11782 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11784 * gst/gst.c: (init_pre):
11785 * gst/gstbin.c: (gst_bin_add_func):
11786 log distributing clocks and base time
11787 * gst/gstregistry.c: (gst_registry_add_plugin),
11788 (gst_registry_scan_path_level), (gst_registry_scan_path):
11789 clean up the debugging output a little
11790 * gst/gstutils.c: (gst_element_state_get_name):
11791 warn about a memleak (I've actually seen this be used, though
11792 it was probably a bug)
11794 2005-10-07 Wim Taymans <wim@fluendo.com>
11796 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11797 (gst_base_src_init), (gst_base_src_default_newsegment),
11798 (gst_base_src_newsegment), (gst_base_src_do_seek),
11799 (gst_base_src_loop), (gst_base_src_start):
11800 * gst/base/gstbasesrc.h:
11801 Make the newsegment event customizable by subclasses.
11803 2005-10-07 Wim Taymans <wim@fluendo.com>
11805 * gst/gstevent.c: (gst_event_new_buffersize),
11806 (gst_event_parse_buffersize):
11808 New event for future idea.
11810 2005-10-07 Andy Wingo <wingo@pobox.com>
11812 * gst/gstelement.c (gst_element_post_message): Doc update.
11814 * docs/gst/gstreamer-sections.txt: Update.
11816 * gst/gstmessage.c (gst_message_new_application): Made into a
11817 function like honest API calls.
11818 (gst_message_new_element): New message type.
11820 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11822 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11823 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11826 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11827 NO_PREROLL from gst_element_change_state to fall through.
11829 2005-10-07 Wim Taymans <wim@fluendo.com>
11831 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11832 (gst_ghost_pad_do_activate_push):
11833 Activating a ghostpad with no internal pad in push mode
11836 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11839 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11840 Fixes compilation on Windows.
11842 2005-10-07 Michael Smith <msmith@fluendo.com>
11844 * tools/gst-inspect.c:
11845 Print out feature and plugin count at the end when printing out
11848 2005-10-04 Michael Smith <msmith@fluendo.com>
11850 * gst/gsterror.c: (_gst_stream_errors_init):
11851 Add another error string used in a few existing plugins.
11854 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11855 * tools/gst-inspect.c: (print_element_info):
11856 When a feature disappears from a plugin (and the feature exists in
11857 the cached registry file), things went horribly wrong. This isn't a
11858 complete fix, we should actually be removing the 'missing' features
11859 from the features list when we load the actual plugin. That's not
11862 2005-10-04 Johan Dahlin <johan@gnome.org>
11864 * check/gst/gstiterator.c: (GST_START_TEST):
11865 * gst/gstbin.c: (gst_bin_iterate_elements),
11866 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11867 * gst/gstelement.c: (gst_element_iterate_pads):
11868 * gst/gstformat.c: (gst_format_iterate_definitions):
11869 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11870 (gst_iterator_new_list), (gst_iterator_filter):
11871 * gst/gstiterator.h:
11872 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11873 Add a GType to GstIterator, update callsites and tests.
11875 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11877 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11878 give events a chance to be handled by event probes when the pad
11881 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11883 * gst/gstevent.c: (gst_event_type_get_name),
11884 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11886 add string representations for event types
11888 2005-10-06 Wim Taymans <wim@fluendo.com>
11890 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11891 Don't use NULL pointers.
11893 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11895 * gst/gst_private.h:
11897 * gst/gstelement.c:
11899 * gst/gstpluginfeature.c:
11900 widen the debug category in output to fit the biggest one we have
11901 add a bus category and use it
11902 play with the colors
11903 fix up some categories
11905 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11907 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11908 add push activation of sink ghost pads.
11909 Andye, please verify
11911 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11913 * gst/gstutils.c: (gst_element_link_pads):
11914 fix a bug in the case where neither element has a pad
11915 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11916 add a test for that case
11918 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11920 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11921 emit have-data before checking for peers. This allows
11922 for probe handlers to connect elements. This helps autopluggers.
11923 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11925 add six checks, linked/unlinked with no/true/false probe
11927 2005-10-04 Wim Taymans <wim@fluendo.com>
11929 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11930 (gst_fake_sink_event), (gst_fake_sink_preroll),
11931 (gst_fake_sink_render), (gst_fake_sink_change_state):
11932 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11933 (gst_fake_src_get_property), (gst_fake_src_create),
11934 (gst_fake_src_stop):
11935 * gst/elements/gstidentity.c: (gst_identity_stop):
11936 Protect last_message with lock.
11938 2005-10-04 Edward Hervey <edward@fluendo.com>
11941 Added precision in the comments for GST_FORMAT_DEFAULT
11943 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
11945 * tools/gst-launch.c: (main):
11946 Don't try to run erroneous pipelines.
11948 2005-10-04 Julien MOUTTE <julien@moutte.net>
11950 * gst/gstbus.c: We don't need this header.
11952 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11955 back to development
11957 === release 0.9.3 ===
11959 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11963 Releasing 0.9.3, "Unregistered"
11965 2005-10-03 Andy Wingo <wingo@pobox.com>
11967 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11968 whereby calling a pad's activatepush() function can start a thread
11969 that starts to push or pull before the pad gets the FLUSHING flag
11970 unset. Hack around it by holding the stream lock until the flag is
11971 set. Need to replace this with a proper solution. Together with
11972 the ghost pad fixes, this fixes mp3 playing/tagreading.
11974 * docs/design/part-gstghostpad.txt: Add a note about activation of
11975 proxy pads outside of ghost pads.
11977 * gst/gstghostpad.c: Implement the ghost pad activation design.
11979 2005-10-02 Andy Wingo <wingo@pobox.com>
11981 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11982 It is volatile, after all.
11984 * docs/design/part-gstghostpad.txt: Flesh out activation with
11987 * gst/base/gstbasesrc.c (gst_base_src_init): Use
11990 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
11993 Fix (unused) AM_CONDITIONAL tests.
11995 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
11997 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11999 * gst/gstutils.c: (gst_pad_query_convert):
12000 Add assertion that makes sure src_val is >=0, just like
12001 gst_query_new_convert() has. (#315895)
12003 2005-09-30 Edward Hervey <edward@fluendo.com>
12005 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12006 Let's not iterate pads we're not interested in, it avoids getting
12007 sky-high refcounts on sinkpad.
12009 2005-09-30 Wim Taymans <wim@fluendo.com>
12011 * gst/gstelement.c: (gst_element_set_state),
12012 (gst_element_change_state):
12013 Small tweak, element in ASYNC remains ASYNC.
12015 2005-09-30 Wim Taymans <wim@fluendo.com>
12017 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12018 Only error is an error.
12020 * gst/gstbin.c: (gst_bin_change_state):
12023 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12024 Also call pad_block in pad alloc.
12026 * gst/gstutils.c: (gst_flow_get_name):
12029 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12031 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12032 (gst_base_src_get_range):
12033 Fix documentation typos. Add some more debug info.
12035 2005-09-29 David Schleef <ds@schleef.org>
12037 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12038 more end-user friendly.
12039 * tools/gst-inspect.c: (main): Check if command-line argument is
12040 a file and attempt to load that file as a plugin.
12042 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12044 * check/gst/gstbin.c:
12045 * check/states/sinks.c:
12046 fix tests for the new warning
12047 * check/gst/gstpipeline.c:
12048 add a test for pipeline and bus interaction
12049 * gst/gstelement.c:
12050 elements should be NULL if they get disposed; add a warning if not
12052 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12055 for 2.6 refcounting, make debug log more correct by printing
12056 the actual refcounts at the time of swap (Wim)
12058 2005-09-29 Andy Wingo <wingo@pobox.com>
12060 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12061 removes signal watches previously added via
12062 gst_bus_add_signal_watch.
12063 (gst_bus_add_signal_watch): Don't return the source id, just store
12064 it on the bus if there wasn't an id already.
12066 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12067 add_signal_watch and remove_signal_watch.
12069 2005-09-29 Edward Hervey <edward@fluendo.com>
12071 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12072 Better if we actually iterate the list :)
12074 2005-09-29 Wim Taymans <wim@fluendo.com>
12076 * check/gst/gstbin.c: (GST_START_TEST):
12077 Change for new bus API.
12079 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12080 (send_messages), (GST_START_TEST), (gstbus_suite):
12081 Change for new bus signal API.
12083 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12084 (gst_bus_source_prepare), (gst_bus_source_check),
12085 (gst_bus_create_watch), (gst_bus_add_watch_full),
12086 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12087 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12089 Remove support for multiple GSources operating on different
12090 message types as it is too complex and unneeded when using
12092 Added support for receiving signals from the bus.
12094 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12096 * docs/libs/tmpl/gstdataprotocol.sgml:
12097 * docs/manual/advanced-dataaccess.xml:
12098 * gst/elements/gstcapsfilter.c:
12100 rename filter-caps to caps property
12102 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12104 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12105 More robust fraction string parsing.
12107 * docs/pwg/appendix-porting.xml:
12108 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12110 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12112 * gst/gstcaps.c: (gst_caps_do_simplify):
12113 Thou shalt not free a structure and then continue using it
12114 in the next loop iteration.
12116 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12118 Add test case for caps simplification.
12120 2005-09-29 Wim Taymans <wim@fluendo.com>
12122 * check/gst/gstbin.c: (GST_START_TEST):
12125 2005-09-29 Wim Taymans <wim@fluendo.com>
12127 * check/gst/gstbin.c: (GST_START_TEST):
12130 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12131 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12132 (find_element), (gst_bin_sort_iterator_next),
12133 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12134 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12135 (gst_bin_change_state), (gst_bin_dispose):
12136 A bin does not have a bus, it gets the bus from the parent.
12138 * gst/gstelement.c: (gst_element_requires_clock),
12139 (gst_element_provides_clock), (gst_element_is_indexable),
12140 (gst_element_is_locked_state), (gst_element_change_state),
12141 (gst_element_set_bus_func):
12144 * gst/gstpipeline.c: (gst_pipeline_class_init),
12145 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12146 The pipeline provides a bus.
12148 2005-09-28 Johan Dahlin <johan@gnome.org>
12150 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12151 gst_structure_get_enum instead of gst_structure_get_int
12153 * gst/gststructure.c (gst_structure_get_enum): Impl.
12155 * gst/gststructure.h (gst_structure_get_enum): Add
12157 * docs/gst/gstreamer-sections.txt: Ditto
12159 * gst/gstmessage.c (gst_message_new_state_changed): Use
12160 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12161 which does introspection.
12162 Reviewed by Christian Schaller
12164 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12166 * gst/gstinfo.c: (gst_debug_log_default):
12167 don't do dummy g_strdup()s
12168 * libs/gst/controller/gstcontroller.c:
12169 (on_object_controlled_property_changed),
12170 (gst_controlled_property_new), (gst_controller_new_valist),
12171 (gst_controller_new_list),
12172 (gst_controller_remove_properties_valist), (gst_controller_set),
12173 (gst_controller_get), (gst_controller_sync_values),
12174 (gst_controller_get_value_array), (_gst_controller_class_init),
12175 (gst_controller_get_type):
12176 * libs/gst/controller/gstcontroller.h:
12177 * libs/gst/controller/gstinterpolation.c:
12178 (gst_controlled_property_find_timed_value_node):
12179 convert // to /**/ comments
12181 2005-09-28 Wim Taymans <wim@fluendo.com>
12183 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12184 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12185 (gst_bus_sync_signal_handler):
12187 Added async-message and sync-message signals to the bus.
12188 Added helper BusFunc to emit signals for all posted messages.
12190 * gst/gstmessage.c: (gst_message_type_get_name),
12191 (gst_message_type_to_quark), (gst_message_get_type):
12192 * gst/gstmessage.h:
12193 Register quarks for message names.
12195 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12197 * docs/libs/gstreamer-libs-sections.txt:
12198 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12199 (gst_controller_new_list):
12200 * libs/gst/controller/gstcontroller.h:
12201 added another constructor for language bindings
12203 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12205 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12209 * gst/gstinfo.c: (_gst_debug_init):
12210 slightly more readable color for refcount debugging
12212 2005-09-28 Wim Taymans <wim@fluendo.com>
12214 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12215 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12216 (find_element), (gst_bin_sort_iterator_next),
12217 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12218 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12219 (gst_bin_change_state), (gst_bin_dispose):
12220 Small doc fixes. get_clock -> provide_clock.
12222 * gst/gstelement.c: (gst_element_class_init),
12223 (gst_element_provides_clock), (gst_element_provide_clock),
12224 (gst_element_get_clock), (gst_element_commit_state),
12225 (gst_element_lost_state):
12226 * gst/gstelement.h:
12227 Make get/set_clock() symetric. Add provide_clock vmethod since
12228 that is actually what this function does.
12230 * gst/gstpipeline.c: (gst_pipeline_class_init),
12231 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12232 (gst_pipeline_get_clock):
12233 get_clock -> provide_clock.
12235 2005-09-28 Andy Wingo <wingo@pobox.com>
12237 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12238 lieu of real docs...
12240 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12242 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12244 * gst/elements/gstcapsfilter.c:
12245 * gst/elements/gstfakesink.c:
12246 * gst/elements/gstfakesrc.c:
12247 * gst/elements/gstfdsink.c:
12248 * gst/elements/gstfdsrc.c:
12249 * gst/elements/gstfilesink.c:
12250 * gst/elements/gstfilesrc.c:
12251 * gst/elements/gstidentity.c:
12252 * gst/elements/gsttee.c:
12253 * gst/elements/gsttypefindelement.c:
12254 Make element details static.
12256 2005-09-28 Wim Taymans <wim@fluendo.com>
12258 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12259 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12260 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12261 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12262 (gst_bin_change_state), (gst_bin_dispose):
12263 Some documentation updates.
12264 Clean up dispose handlers.
12266 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12267 * gst/gstpad.c: (gst_pad_dispose):
12268 Clean up dispose handler.
12270 * gst/gstpipeline.c: (gst_pipeline_change_state):
12271 Removed spurious UNLOCK.
12273 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12275 * docs/gst/gstreamer-sections.txt:
12276 * gst/base/gstbasesrc.h:
12277 * gst/gstelement.h:
12281 * gst/gstpipeline.c:
12282 * gst/gstpipeline.h:
12285 added two new functions to the docs
12286 documents all undocumented GstXXXFlags
12287 completed some incomplete docs
12289 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12291 * gst/gstbin.c: (gst_bin_dispose):
12292 * gst/gstelement.c: (gst_element_dispose):
12293 remove now useless and leaky resurrection code in dispose
12294 * gst/base/gstbasesrc.c: (gst_base_src_init):
12295 * gst/gstelementfactory.c: (gst_element_factory_create):
12296 * gst/gstobject.c: (gst_object_set_parent):
12299 2005-09-27 Wim Taymans <wim@fluendo.com>
12301 * docs/design/part-TODO.txt:
12304 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12305 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12306 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12307 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12308 (gst_bin_change_state):
12309 * gst/gstelement.h:
12310 Remove element variable, we keep element info in the iterator now.
12312 2005-09-27 Andy Wingo <wingo@pobox.com>
12314 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12317 2005-09-27 Wim Taymans <wim@fluendo.com>
12319 * check/gst/gstbin.c: (GST_START_TEST):
12320 Enable check that works now.
12322 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12323 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12324 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12325 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12326 (gst_bin_change_state):
12328 Redid the state change algorithm using a topological sort algo.
12329 Handles all cases correctly.
12330 Exposed iterator for state change order.
12332 * gst/gstelement.h:
12333 Temp storage for state changes. Need to get rid of this soon.
12335 2005-09-27 Wim Taymans <wim@fluendo.com>
12337 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12338 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12339 (link_fold_func), (gst_pad_proxy_setcaps):
12340 Leak fixes, the fold functions need to unref the passed object and
12341 _get_parent_*() returns ref to parent.
12343 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12345 * check/gst/gstbuffer.c: (test_make_writable):
12346 Plug leak in test case and fix 'make check-valgrind'
12348 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12350 * gst/gstbuffer.c: (gst_subbuffer_init):
12351 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12352 works correctly in all circumstances (we could have just copied
12353 the parent buffer's readonly flag, but conceptually it seems
12354 cleaner to mark all subbuffers as read-only). (based on patch
12355 by Alessandro Decina, #314710).
12357 * check/gst/gstbuffer.c: (create_read_only_buffer),
12358 (test_make_writable), (test_subbuffer_make_writable),
12360 Add some tests for gst_buffer_make_writable().
12362 2005-09-27 Wim Taymans <wim@fluendo.com>
12364 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12365 use gst_object_has_ancestor().
12367 * gst/gstobject.c: (gst_object_has_ancestor):
12369 gst_object_has_ancestor() copied from gstbin.c as it is a
12372 * tests/instantiate/create.c: (create_all_elements):
12373 * tests/lat.c: (handoff_src), (handoff_sink):
12374 * tests/sched/runxml.c: (main):
12375 * tests/seeking/seeking1.c: (main):
12376 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12378 Fix compilation of some tests.
12380 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12383 Remove comment. GST_TYPE_G_ERROR is here to stay,
12384 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12385 (#316961, #300610).
12387 2005-09-26 Wim Taymans <wim@fluendo.com>
12389 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12390 Added check that shows error in state change order.
12392 2005-09-26 Wim Taymans <wim@fluendo.com>
12394 * gst/gstbin.c: (gst_bin_change_state):
12395 Make state change function use 3 queues again, we were
12396 adding elements in the wrong order.
12398 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12401 * gst/gstpad.c: (gst_pad_dispose):
12402 Added some debug info first.
12404 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12406 * docs/design/draft-push-pull.txt:
12407 * docs/design/part-events.txt:
12408 * docs/design/part-overview.txt:
12409 * docs/design/part-scheduling.txt:
12410 Replace all _pull_region() with _pull_range()
12412 2005-09-26 Andy Wingo <wingo@pobox.com>
12414 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12416 * check/gst-libs/controller.c: Update for controller api change.
12419 * tests/Makefile.am:
12420 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12421 over by GLib bug 118439.
12423 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12424 routines to a function.
12426 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12428 * libs/gst/controller/gsthelper.c:
12429 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12430 (gst_object_sync_values): Renamed from sink_values. Ugh.
12432 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12434 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12435 Renamed from controller_key, as it is exported.
12437 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12439 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12444 * gst/gstpadtemplate.h:
12447 * gst/gstqueryutils.c:
12448 * gst/gstqueryutils.h:
12449 remove queryutils headers after moving the two used functions
12450 to gstquery. also fixes build problem for gstsiddec
12452 2005-09-26 Michael Smith <msmith@fluendo.com>
12454 * tools/gst-launch.1.in:
12455 Correct documentation in manpage of debug syntax
12457 2005-09-26 Wim Taymans <wim@fluendo.com>
12459 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12460 (gst_base_src_is_seekable), (gst_base_src_change_state):
12461 Some more debugging info.
12463 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12465 * docs/gst/gstreamer-sections.txt:
12466 * gst/base/gstbasetransform.h:
12470 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12472 * docs/gst/.cvsignore:
12473 * docs/gst/tmpl/.cvsignore:
12474 * docs/gst/tmpl/gstpipeline.sgml:
12475 * docs/gst/tmpl/gstplugin.sgml:
12476 * gst/gstpipeline.c:
12479 inlined the last two docs files
12480 removed the tmpl directory from cvs (no more conflicts here!)
12482 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12484 * docs/gst/gstreamer-sections.txt:
12485 * docs/gst/tmpl/.cvsignore:
12486 * docs/gst/tmpl/gstpad.sgml:
12487 * docs/gst/tmpl/gstpadtemplate.sgml:
12489 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12490 (gst_pad_finalize), (gst_pad_set_pad_template):
12492 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12493 (gst_pad_template_class_init), (gst_pad_template_init),
12494 (gst_pad_template_dispose), (name_is_valid),
12495 (gst_static_pad_template_get), (gst_pad_template_new),
12496 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12497 (gst_pad_template_pad_created):
12498 * gst/gstpadtemplate.h:
12499 inlined two more docs
12500 factored gstpadtemplate out of gstpad
12502 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12504 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12505 (test_children_state_change_order_semi_sink):
12506 Fix test case: we can't rely on a fixed state change order when
12507 going from READY => PAUSED because the sink might commit its
12508 new state first when the first buffer created by the source
12509 reaches the sink before the source has finished its change state.
12510 (Test case still fails at times, see #316856, comment 5 onwards)
12512 2005-09-24 Wim Taymans <wim@fluendo.com>
12514 * docs/design/part-events.txt:
12515 * docs/design/part-gstbus.txt:
12516 * docs/design/part-gstpipeline.txt:
12517 * docs/design/part-messages.txt:
12518 * docs/design/part-overview.txt:
12519 * docs/design/part-segments.txt:
12523 * gst/gstelement.c:
12526 * gst/gstiterator.c:
12527 Various documentation updates.
12529 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12532 Well, that's embarassing. Luckily we weren't using
12533 GST_CLOCK_DIFF anywhere.
12535 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12537 * common/gtk-doc.mak:
12538 don't fail on building XML, FC4 slave shows a bunch of doc
12539 missing bits that I don't get
12541 * gst/gstpipeline.c:
12542 * gst/gststructure.c:
12545 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12547 * docs/design/part-gstbin.txt:
12548 * docs/design/part-gstbus.txt:
12550 Add blurb about how the bus goes into flushing mode and
12551 drops all messages when its bin goes from READY into NULL
12554 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12556 * docs/gst/gstreamer-sections.txt:
12557 * gst/gststructure.c: (gst_structure_get_clock_time):
12558 * gst/gststructure.h:
12559 add a method to get a GstClockTime out of a structure
12561 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12563 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12564 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12565 Added test to check state change order in bins (can still be made
12566 to fail here under heavy disk load; bails out with 'Push on pad
12567 fakesink:sink0, but it was not activated in push mode').
12569 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12570 Fix state change order when there is only a semi sink (#316856)
12572 * gst/gstbus.c: (gst_bus_class_init):
12573 Use _class_peek_parent(), not _class_ref(); fix docs to say
12574 'default main context' instead of 'mainloop' where that is
12577 * gst/gstelement.c: (gst_element_commit_state),
12578 (gst_element_set_state):
12579 Fix typos in debug messages
12581 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12584 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12585 * gst/gstpluginfeature.c:
12587 various doc updates
12588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12589 change an assert into an error until it gets fixed properly
12591 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12593 * docs/gst/gstreamer-sections.txt:
12594 * docs/gst/tmpl/.cvsignore:
12595 * docs/gst/tmpl/gstelement.sgml:
12596 * docs/gst/tmpl/gstinfo.sgml:
12597 * docs/gst/tmpl/gstobject.sgml:
12598 * gst/gstelement.c:
12599 * gst/gstelement.h:
12602 * gst/gstobject.c: (gst_object_class_init):
12604 inlined 3 more biiiig doc files and added some missing docs on the fly
12606 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12608 * check/gst/.cvsignore:
12609 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12610 * gst/gstregistryxml.c: (load_plugin),
12611 (gst_registry_xml_save_plugin):
12612 put back source in registry. add checks for find_plugin.
12613 * testsuite/states/bin.c: (assert_state), (empty_bin),
12614 (test_adding_one_element), (main):
12615 * testsuite/states/locked.c: (main):
12616 some compile/run fixes
12618 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12620 * check/gst/gstvalue.c: (GST_START_TEST):
12621 fix leaks in the test itself
12623 2005-09-22 Wim Taymans <wim@fluendo.com>
12625 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12626 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12627 (gst_base_sink_query):
12628 Prepare for more accurate position reporting and query
12631 * gst/gstelement.c: (gst_element_send_event),
12632 (gst_element_set_state):
12635 2005-09-22 Wim Taymans <wim@fluendo.com>
12637 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12638 (gst_query_parse_segment):
12640 More documentation.
12641 Add segment query for future use.
12643 2005-09-22 Wim Taymans <wim@fluendo.com>
12645 * gst/gstbin.c: (gst_bin_add_func):
12646 Some more debug info.
12648 * gst/gstelement.c: (gst_element_send_event):
12649 Simplify send_event
12651 * gst/gstelement.h:
12652 Don't know how flags got broken.
12657 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12659 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12660 Add simplistic test suite for GST_TYPE_DATE serialisation and
12663 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12665 * docs/gst/gstreamer-sections.txt:
12666 * gst/gststructure.c: (gst_structure_set_valist),
12667 (gst_structure_get_date):
12668 * gst/gststructure.h:
12669 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12670 (gst_date_copy), (gst_value_compare_date),
12671 (gst_value_serialize_date), (gst_value_deserialize_date),
12672 (gst_value_transform_date_string),
12673 (gst_value_transform_string_date), (_gst_value_initialize):
12675 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12676 bunch of utility functions along with a hack that checks that
12677 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12678 is required. Part of the grand scheme in #170777.
12680 2005-09-22 Andy Wingo <wingo@pobox.com>
12682 * gst/gstconfig.h.in: Psych out gtk-doc.
12684 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12686 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12688 * tools/gst-inspect.c (print_element_list): Plug some
12689 inconsequential leaks.
12691 * gst/gstregistry.c (gst_registry_get_default): Doc.
12693 * check/gst/gstplugin.c:
12694 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12695 * gst/gstelementfactory.c (gst_element_factory_create):
12696 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12699 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12700 (gst_plugin_feature_load): Doc, don't eat refs.
12702 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12703 (gst_plugin_list_free): Doc.
12704 (gst_plugin_load_file): Doc updates.
12706 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12707 accessors returning refcounted objects, return a ref.
12709 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12710 accessor for caps. IDEMPOTENCE. Oh yes.
12712 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12714 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12716 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12717 (_gst_debug_register_funcptr):
12718 Add mutex to serialise access to the hash table with
12719 the function pointer => function name string mapping;
12720 make that hash table static scope (#316809).
12722 * gst/registries/.cvsignore:
12723 Remove left-over file.
12725 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12727 * docs/pwg/appendix-porting.xml:
12728 And something about newsegment events and caps-on-buffers to
12729 the porting guide (feel free to improve).
12731 2005-09-21 Andy Wingo <wingo@pobox.com>
12733 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12734 data and event probes on the same pad.
12735 (test_buffer_probe_once): Test that removing probes from within
12736 the probe functions works.
12738 2005-09-21 Andy Wingo <wingo@pobox.com>
12740 * check/gst/gstutils.c: New file.
12741 (test_buffer_probe_n_times): A simple buffer probe test. More to
12744 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12745 have-data::buffer, not have-data.
12746 (gst_pad_add_event_probe): Likewise for have-data::event.
12747 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12748 peer' isn't quite right yet though.
12749 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12750 (gst_pad_remove_data_probe): Change to take the guint handler_id
12751 as their arg, not the function+data, which is more glib-like.
12753 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12754 the signal emission to indicate if the data is a buffer or an
12756 (gst_pad_get_type): Initialize buffer and event quarks.
12757 (gst_pad_class_init): have-data is now a detailed signal, yes it
12760 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12762 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12763 * gst/gstutils.c: (gst_util_set_value_from_string),
12764 (gst_util_set_object_arg):
12765 Don't put functional code in g_return_if_fail() or
12766 g_return_val_if_fail() statements, otherwise things will
12767 break when G_DISABLE_CHECKS is defined during compilation.
12769 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12771 * docs/gst/tmpl/.cvsignore:
12772 * docs/gst/tmpl/gstvalue.sgml:
12775 inlied another one and added some obvious docs
12777 2005-09-21 Wim Taymans <wim@fluendo.com>
12779 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12780 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12781 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12782 (gst_fdsrc_get_property), (gst_fdsrc_create):
12783 * gst/elements/gstfdsrc.h:
12784 Properly implement fdsrc. Removed signal and timeout,
12785 better implemented somewhere else.
12787 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12789 * docs/gst/tmpl/.cvsignore:
12790 * docs/gst/tmpl/gstimplementsinterface.sgml:
12791 * gst/gstinterface.c:
12794 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12796 * docs/gst/gstreamer-sections.txt:
12797 * docs/gst/tmpl/.cvsignore:
12798 * docs/gst/tmpl/gstenumtypes.sgml:
12799 remove obsolete doc file
12801 2005-09-21 David Schleef <ds@schleef.org>
12803 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12804 little beer, fix a little leak.
12806 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12808 * docs/gst/gstreamer-docs.sgml:
12809 * docs/gst/gstreamer-sections.txt:
12810 * docs/gst/tmpl/.cvsignore:
12814 * gst/gstelement.h:
12815 * gst/gstindex.c: (gst_index_class_init):
12817 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12818 (gst_index_factory_class_init), (gst_index_factory_init),
12819 (gst_index_factory_finalize), (gst_index_factory_new),
12820 (gst_index_factory_destroy), (gst_index_factory_find),
12821 (gst_index_factory_create), (gst_index_factory_make):
12822 * gst/gstindexfactory.h:
12823 * gst/gstpluginfeature.c:
12824 * gst/gstpluginfeature.h:
12825 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12826 more docs inlined, splitted gstindex.{c,h}
12828 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12830 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12833 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12835 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12836 Set sync to FALSE by default.
12838 2005-09-20 Wim Taymans <wim@fluendo.com>
12840 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12841 (gst_base_sink_init):
12842 Make sync property settable from subclass.
12844 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12845 (gst_fake_sink_change_state):
12846 Set sync to FALSE by default.
12848 2005-09-20 Wim Taymans <wim@fluendo.com>
12850 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12851 * tools/gst-launch.c: (main):
12852 The timeout handler should have lower priority than the source
12853 so we don't timeout before popping a message with 0 timeout.
12854 Dump error messages after failed state change.
12856 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12858 * tools/gst-inspect.c: (print_element_properties_info):
12861 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12863 * check/gst/gstevent.c:
12864 * gst/elements/gstfakesink.c:
12865 * gst/elements/gstfakesink.h:
12866 remove the sync property from fakesink.
12867 has the side effect of setting sync TRUE
12868 for fakesink, which is a change. Anyone who knows how
12869 to fix this nicely in a GObject-y way, feel free.
12871 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12873 * docs/gst/gstreamer-docs.sgml:
12874 remove probe refsection
12876 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12878 * check/Makefile.am:
12879 disable valgrinding the controller test again
12880 * docs/gst/gstreamer-sections.txt:
12881 update for api-changes
12883 2005-09-20 Wim Taymans <wim@fluendo.com>
12885 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12886 (gst_base_sink_set_property), (gst_base_sink_get_property),
12887 (gst_base_sink_do_sync):
12888 * gst/base/gstbasesink.h:
12889 Added sync property to basesink to disable clock sync.
12891 2005-09-20 Andy Wingo <wingo@pobox.com>
12893 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12894 eating the caller's refcount.
12896 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12897 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12900 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12901 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12902 of GLib 2.8 public, so we can know which refcount to check in
12905 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12906 (gst_object_init): Only set the gst refcount if we're going ahead
12907 with the refcount hack.
12909 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12911 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12912 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12913 more leaks plumbed, added more debug-logging
12917 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12919 * gst/gstmessage.c:
12920 remove include of gstmemchunk.h
12922 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12924 * gst/gstclock.c: (_gst_clock_id_free):
12925 Commit from the Political Party For More Atomic CVS Commits,
12926 so that people don't waste too much of their day fishing
12927 out obvious leaks out of massive commits.
12928 Oh, and fix a pretty damn obvious leak in the memchunk
12931 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12933 * check/Makefile.am:
12934 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12935 plug mem-leak, re-add to valgrindable tests
12937 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12940 unbreak the build for those who have chronic arthritis
12941 and typing "make check" is just too taxing on the hands
12943 2005-09-20 Andy Wingo <wingo@pobox.com>
12945 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12946 really want it out, you should fix plugins at the same time.
12948 2005-09-19 Stefan Kost <ensonic@users.sf.net>
12951 * docs/gst/gstreamer-sections.txt:
12953 added missing symbols to api docs
12954 disable ref-count hack if we have glib >= 2.8
12956 2005-09-19 David Schleef <ds@schleef.org>
12958 * docs/gst/Makefile.am: Ignore a few more internal headers
12959 * docs/gst/gstreamer-docs.sgml: Remove old sections
12960 * docs/gst/gstreamer-sections.txt: Remove old sections
12961 * docs/gst/tmpl/gstobject.sgml: update
12962 * docs/gst/tmpl/gstplugin.sgml: update
12963 * docs/gst/tmpl/gstpluginfeature.sgml: update
12964 * docs/random/ds/0.9-suggested-changes: update.
12965 * gst/Makefile.am: remove memchunk and trashstack, since they're
12967 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12968 * gst/gst.h: don't include some headers
12969 * gst/gstchildproxy.c: add gstmarshal.h
12970 * gst/gstclock.c: Don't use memchunks
12971 * gst/gstminiobject.c: Add some docs
12972 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12973 * gst/gstobject.h: same
12974 * gst/gstplugin.c: include gstmacros.h
12975 * gst/gstplugin.h: don't include gstmacros.h, since it's private
12976 * gst/gstquery.c: don't use memchunks
12977 * gst/gstregistry.c: rename gst_registry_deinit()
12978 * gst/gstregistry.h: same
12980 2005-09-19 David Schleef <ds@schleef.org>
12982 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12983 * docs/libs/gstreamer-libs-sections.txt:
12984 * docs/libs/tmpl/gstgetbits.sgml:
12985 * docs/libs/tmpl/gstputbits.sgml:
12987 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
12989 * win32/gstenumtypes.c:
12990 * win32/gstenumtypes.h:
12993 2005-09-19 Wim Taymans <wim@fluendo.com>
12995 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12996 Automatically PAUSE and RESUME a pipeline when a flushing seek
12999 2005-09-19 Andy Wingo <wingo@pobox.com>
13001 * gst/gstregistry.h: Spacing fixen.
13003 2005-09-19 Wim Taymans <wim@fluendo.com>
13005 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13006 Handle state change failure more correctly.
13008 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13010 * check/Makefile.am:
13011 * check/pipelines/cleanup.c: (run_pipeline):
13012 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13014 enable cleanup again after fixing the leak
13016 some more info on docs
13018 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13020 * check/Makefile.am:
13021 re-enable tests now that leaks are plugged
13023 * check/gst/gstbin.c:
13024 * check/gst/gstpipeline.c:
13025 add some more tests while fixing leaks
13026 * common/check.mak:
13027 make sure binaries are uptodate when valgrinding/gdbing
13029 * gst/gstelementfactory.c:
13030 remove a ref too many, and add a FIXME for when we get
13031 round to disposing of classes
13033 fix the refcounting when loading a plugin from a file and
13034 the code pretends that the pointer is the same even though
13035 of course it can change
13036 * gst/gstpluginfeature.c:
13037 unref plugins marked cached (a bit confusing as a name)
13038 as the docs state should be done
13039 various doc additions to explain refcounting
13040 * gst/gstregistry.c:
13041 * gst/gstregistryxml.c:
13044 2005-09-19 Wim Taymans <wim@fluendo.com>
13046 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13047 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13048 (send_messages), (GST_START_TEST), (gstbus_suite):
13049 * check/gst/gstpipeline.c: (GST_START_TEST):
13050 * check/pipelines/cleanup.c: (run_pipeline):
13051 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13053 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13054 (gst_bus_source_check), (gst_bus_source_dispatch),
13055 (gst_bus_create_watch), (gst_bus_add_watch_full),
13056 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13058 * tools/gst-launch.c: (event_loop):
13059 * tools/gst-md5sum.c: (event_loop):
13060 GstBusHandler -> GstBusFunc, return value has the same meaning as
13061 any other GSource (FALSE == remove source).
13062 _add_watch() and _add_watch_full() now take a MessageType mask to
13063 only handle specific types of messages.
13064 _poll() returns the GstMessage instead of the message type to avoid
13066 _have_pending() takes a MessageType mask now too.
13067 Added testsuite for multiple bus watches.
13068 Fix testsuites and applications for new bus API.
13070 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13072 * check/Makefile.am:
13073 mark a bunch of the tests as to fix until we fix them
13075 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13077 * common/check.mak:
13078 use GST_PLUGIN settings for valgrind tests as well, so we're
13079 valgrinding the correct thing
13080 * gst/gst.c: (init_post):
13083 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13085 * gst/gst.c: (init_post), (gst_deinit):
13086 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13087 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13088 * gst/gstindex.c: (gst_index_factory_class_init),
13089 (gst_index_factory_finalize):
13090 * gst/gstobject.c: (gst_object_dispose):
13091 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13092 (gst_plugin_load_file), (gst_plugin_desc_free):
13093 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13094 (gst_plugin_feature_finalize):
13095 * gst/gstregistry.c: (gst_registry_class_init),
13096 (gst_registry_init), (gst_registry_finalize),
13097 (gst_registry_get_default), (gst_registry_deinit):
13098 * gst/gstregistry.h:
13099 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13100 various cleanups and memleak plugging. make valgrind is happy now.
13102 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13104 * common/check.mak:
13105 add a check-valgrind target
13107 2005-09-18 David Schleef <ds@schleef.org>
13109 * tools/gst-inspect.c: Revert the GOption code.
13111 2005-09-17 David Schleef <ds@schleef.org>
13113 * check/Makefile.am: Fix environment variables.
13114 * check/gst/gstplugin.c: Fix for API changes.
13115 * tools/gst-inspect.c: Fix for API changes.
13116 * tools/gst-xmlinspect.c: Fix for API changes.
13117 * gst/gstelementfactory.c:
13120 * gst/gstpluginfeature.c:
13121 * gst/gstpluginfeature.h:
13122 * gst/gstregistry.c:
13123 * gst/gstregistry.h:
13124 * gst/gstregistryxml.c:
13125 * gst/gsttypefind.c:
13126 * gst/gsttypefindfactory.c:
13127 * gst/indexers/gstfileindex.c:
13128 * gst/indexers/gstmemindex.c:
13129 * gst/schedulers/Makefile.am:
13130 Change registry to keep track of both plugins and features,
13131 removing the feature tracking from plugins themselves.
13133 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13135 * check/Makefile.am:
13136 * tools/gst-register.1.in:
13137 remove gst-register
13139 2005-09-15 David Schleef <ds@schleef.org>
13141 * check/gst/gstplugin.c:
13142 * gst/gstelementfactory.c:
13144 * gst/gstpluginfeature.c:
13145 * gst/gstregistry.c:
13146 Getting tired of debugging. Disabled all the unreffing of
13147 plugins and features, which fixes the segfaults, but of
13148 course leaks like crazy. At least playbin works.
13150 2005-09-15 David Schleef <ds@schleef.org>
13152 * check/gst/gstplugin.c: (register_check_elements),
13153 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13155 * gst/elements/gsttypefindelement.c: Fix refcounting.
13156 * gst/gsttypefind.c:
13157 * gst/gsttypefindfactory.c:
13158 * gst/gsttypefindfactory.h:
13160 2005-09-15 David Schleef <ds@schleef.org>
13162 * gst/gstindex.c: get refcounting correct.
13163 * gst/gstregistry.c: Handle the case where a feature/plugin is
13166 2005-09-15 David Schleef <ds@schleef.org>
13168 * check/Makefile.am:
13169 * check/gst/gstplugin.c: Add test
13170 * gst/gstplugin.c: Fix problems noticed by testsuite
13172 * gst/gstregistry.c:
13173 * gst/gstregistry.h:
13175 2005-09-15 David Schleef <ds@schleef.org>
13177 * gst/gstplugin.c: Implement semi-decent recounting and locking
13178 in plugins and plugin features.
13180 * gst/gstpluginfeature.c:
13181 * gst/gstpluginfeature.h:
13182 * gst/gstregistry.c:
13184 2005-09-15 Michael Smith <msmith@fluendo.com>
13186 * gst/gstregistry.c: (gst_registry_get_feature_list):
13187 Implement this. Makes oggdemux work; decodebin still broken.
13189 2005-09-14 David Schleef <ds@schleef.org>
13191 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13193 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13194 * gst/check/Makefile.am:
13195 * libs/gst/controller/Makefile.am:
13196 * libs/gst/dataprotocol/Makefile.am:
13198 2005-09-14 David Schleef <ds@schleef.org>
13200 * configure.ac: Remove getbits library. Nothing uses it, and
13201 it should be in something like liboil if someone did want
13203 * libs/gst/Makefile.am:
13204 * libs/gst/getbits/Makefile.am:
13205 * libs/gst/getbits/gbtest.c:
13206 * libs/gst/getbits/getbits.c:
13207 * libs/gst/getbits/getbits.h:
13208 * libs/gst/getbits/gstgetbits_generic.c:
13209 * libs/gst/getbits/gstgetbits_i386.s:
13210 * libs/gst/getbits/gstgetbits_inl.h:
13212 2005-09-14 David Schleef <ds@schleef.org>
13214 * gst/Makefile.am: Dist glib-compat.h
13216 2005-09-14 David Schleef <ds@schleef.org>
13218 * configure.ac: Remove gst/registries, since it's no longer used.
13219 * gst/registries/Makefile.am:
13220 * gst/registries/gstlibxmlregistry.c:
13221 * gst/registries/gstlibxmlregistry.h:
13222 * gst/registries/gstxmlregistry.c:
13223 * gst/registries/gstxmlregistry.h:
13224 * gst/registries/registrytest.c:
13226 2005-09-14 David Schleef <ds@schleef.org>
13228 * gst/glib-compat.h:
13229 * gst/gstregistryxml.c:
13230 Convergence is near. Seriously.
13232 2005-09-14 David Schleef <ds@schleef.org>
13234 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13235 * gst/glib-compat.h:
13236 Attempt #4 to appease the buildbots.
13238 2005-09-14 David Schleef <ds@schleef.org>
13240 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13243 2005-09-14 David Schleef <ds@schleef.org>
13245 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13248 2005-09-14 David Schleef <ds@schleef.org>
13250 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13253 2005-09-14 David Schleef <ds@schleef.org>
13255 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13256 * gst/glib-compat.h: Add some functions that are in newer versions
13257 of glib than we care to require.
13258 * gst/gstregistryxml.c: Use them.
13260 2005-09-14 David Schleef <ds@schleef.org>
13262 * po/POTFILES.in: remove gst-register.c
13264 2005-09-14 David Schleef <ds@schleef.org>
13266 * docs/gst/gstreamer-docs.sgml:
13267 * docs/gst/gstreamer-sections.txt:
13268 * docs/gst/gstreamer.types:
13269 * docs/gst/tmpl/gstelement.sgml:
13270 * docs/gst/tmpl/gstplugin.sgml:
13271 * docs/gst/tmpl/gstpluginfeature.sgml:
13272 Documentation updates for registry changes.
13274 2005-09-14 David Schleef <ds@schleef.org>
13276 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13277 because we don't require glib-2.8.
13279 2005-09-14 David Schleef <ds@schleef.org>
13281 * gst/gstregistryxml.c: Added. Essentially moved out of the
13282 registries directory.
13284 2005-09-14 David Schleef <ds@schleef.org>
13286 * check/Makefile.am:
13287 * check/generic/states.c:
13291 * gst/gst_private.h:
13292 * gst/gstelementfactory.c:
13297 * gst/gstpluginfeature.c:
13298 * gst/gstpluginfeature.h:
13299 * gst/gstregistry.c:
13300 * gst/gstregistry.h:
13301 * gst/gstregistrypool.c: remove
13302 * gst/gstregistrypool.h: remove
13303 * gst/gsttypefind.c:
13304 * gst/gsttypefindfactory.c:
13306 * tools/Makefile.am:
13307 * tools/gst-compprep.c:
13308 * tools/gst-inspect.c:
13309 * tools/gst-register.c: remove
13310 * tools/gst-xmlinspect.c:
13311 Registry rewrite. Changes registry from being a file created
13312 by a tool into a simple cache file created automatically by
13313 libgstreamer. Removed gst-register (because it's no longer
13314 needed). Remove registry pools, because we only have one
13315 registry implementation (XML). Fix up other subsystems as
13318 2005-09-13 Michael Smith <msmith@fluendo.com>
13320 * gst/gstconfig.h.in:
13321 Don't Use windows linking attributes for MinGW. Fixes #316157
13323 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13325 * gst/gstutils.c: (set_state_async_thread_func),
13326 (gst_element_set_state_async):
13327 Apparently people think it's better if this function doesn't
13328 try to set the state to whatever state was asked for on the first
13329 call to this function for any object. Seriously.
13331 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13333 * check/gst/gstpipeline.c: (GST_START_TEST):
13334 * docs/gst/gstreamer-sections.txt:
13335 * gst/gstutils.c: (set_state_async_thread_func),
13336 (gst_element_set_state_async):
13338 add a "gst_element_set_state_async" method that
13339 sets the state and starts a thread to make sure the state
13340 change completes as best as it can
13342 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13344 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13345 codify design+behaviour in testsuite after discussion
13347 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13349 * docs/gst/tmpl/gstelement.sgml:
13350 * docs/manual/appendix-quotes.xml:
13352 * gst/gstelement.c: (gst_element_set_state):
13355 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13357 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13358 (gst_base_transform_prepare_output_buf),
13359 (gst_base_transform_handle_buffer):
13360 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13361 (gst_capsfilter_prepare_buf):
13362 Remove the requirement for sub-classes to call the parent
13363 implementation of prepare_output_buffer with a wrapper function.
13365 * gst/gsttaglist.h:
13366 * gst/gsttagsetter.h:
13367 Fix #define wrapper
13369 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13371 * docs/gst/gstreamer-sections.txt:
13374 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13376 * docs/gst/gstreamer-sections.txt:
13377 * docs/gst/tmpl/gstelement.sgml:
13378 * docs/gst/tmpl/gstplugin.sgml:
13379 * gst/gstminiobject.c:
13381 docs now stop throwing warnings
13383 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13385 * docs/gst/gstreamer-sections.txt:
13386 * docs/gst/gstreamer.types:
13387 * docs/gst/tmpl/gstpad.sgml:
13388 * docs/gst/tmpl/gsttypes.sgml:
13389 * gst/base/gstadapter.h:
13390 * gst/base/gstbasesink.h:
13391 * gst/base/gstbasesrc.h:
13397 * gst/gstelement.h:
13399 * gst/gstmessage.h:
13401 * gst/gststructure.c:
13402 * gst/registries/gstlibxmlregistry.h:
13403 various documentation fixes
13405 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13407 * docs/gst/gstreamer-sections.txt:
13408 * docs/gst/tmpl/gstvalue.sgml:
13409 rearrange gstvalue section
13410 * gst/gstutils.c: (gst_element_state_get_name):
13412 * gst/gstvalue.c: (_gst_value_initialize):
13416 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13418 * check/gst-libs/controller.c:
13419 Header include fix.
13420 * gst/base/gstbasetransform.c:
13421 (gst_base_transform_default_prepare_buf),
13422 (gst_base_transform_handle_buffer):
13423 * gst/base/gstbasetransform.h:
13424 Some more basetransform changes and fixes to enable sub-classes
13425 that modify buffer metadata only.
13426 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13427 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13428 (gst_capsfilter_prepare_buf):
13429 If the output pad has fixed allowed caps and input buffers
13430 don't have any, set the fixed caps on outgoing buffers.
13432 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13433 * check/elements/identity.c: (GST_START_TEST):
13434 Make the error a little clearer when the test fails because
13435 identity made a copy of the buffer.
13436 * docs/gst/gstreamer-sections.txt:
13437 New symbols in gstbasetransform.h
13438 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13439 (gst_base_transform_init), (gst_base_transform_transform_size),
13440 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13441 (gst_base_transform_default_prepare_buf),
13442 (gst_base_transform_get_unit_size),
13443 (gst_base_transform_buffer_alloc),
13444 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13445 (gst_base_transform_change_state),
13446 (gst_base_transform_set_passthrough),
13447 (gst_base_transform_set_in_place),
13448 (gst_base_transform_is_in_place):
13449 * gst/base/gstbasetransform.h:
13450 Change BaseTransform to separate in_place operate from same_caps
13451 output. in_place implies that the element can perform the transform
13452 on incoming buffers in-place, even if the caps on the output are
13454 Sub-class elements can now implement special buffer allocation
13455 methods for outgoing buffers if they wish to.
13456 Big documentation addition.
13457 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13458 * gst/elements/gstelements.c:
13459 Changes for basetransform modifications.
13460 * gst/elements/Makefile.am:
13461 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13462 Compile fix. Extra debug output.
13464 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13466 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13468 add tests for valid pad naming
13469 * gst/check/gstcheck.c: (gst_check_log_message_func),
13470 (gst_check_log_critical_func):
13472 remove printing of code, it is fragile when the code contains
13473 % and the line number is enough info
13474 * gst/check/gstcheck.h:
13475 * gst/gstpad.c: (gst_pad_template_new):
13478 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13481 say what CHECK flags we use
13482 * docs/libs/gstreamer-libs.types:
13483 * libs/gst/controller/Makefile.am:
13484 * libs/gst/controller/gst-controller.c:
13485 * libs/gst/controller/gst-controller.h:
13486 * libs/gst/controller/gst-helper.c:
13487 * libs/gst/controller/gst-interpolation.c:
13488 * libs/gst/controller/gstcontroller.c:
13489 * libs/gst/controller/gsthelper.c:
13490 * libs/gst/controller/gstinterpolation.c:
13491 * tools/gst-inspect.c: (print_plugin_info):
13492 we don't use dashes in header names
13494 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13496 * check/Makefile.am:
13497 * check/gst/.cvsignore:
13498 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13499 (gst_pipeline_suite), (main):
13500 adding a test for pipelines and state changes
13501 * gst/gstutils.c: (get_state_func):
13503 * gstreamer.spec.in:
13506 2005-09-08 Michael Smith <msmith@fluendo.com>
13508 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13509 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13510 (gst_file_src_is_seekable), (gst_file_src_get_size),
13511 (gst_file_src_start):
13512 * gst/elements/gstfilesrc.h:
13513 Various fixes for unseekable, unmmapable, and non-normal files, so
13514 that fallback to read() rather than mmap() works.
13515 * gst/gstevent.c: (gst_event_new_newsegment):
13516 Allow newsegment events with segment_start == segment_end, as will
13517 correctly happen if you use filesrc on a zero-size file, for
13520 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13522 * gst/gstplugin.c: (gst_plugin_load_file):
13523 Call g_module_close when we don't load the module
13525 * gst/registries/gstlibxmlregistry.c:
13526 (gst_xml_registry_get_property):
13527 Port leak fix from 0.8
13529 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13531 * docs/gst/gstreamer-docs.sgml:
13532 * docs/gst/tmpl/.cvsignore:
13533 * docs/gst/tmpl/gsttrace.sgml:
13534 * docs/gst/tmpl/gsttrashstack.sgml:
13537 * gst/gstelement.h:
13539 * gst/gstmessage.c:
13540 * gst/gstmessage.h:
13543 * gst/gsttaginterface.c:
13544 * gst/gsttaginterface.h:
13545 * gst/gsttaglist.c:
13546 * gst/gsttaglist.h:
13547 * gst/gsttagsetter.c:
13548 * gst/gsttagsetter.h:
13551 * gst/gsttrashstack.c:
13552 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13553 inlined docs for gsttrace, gsttrashstack
13555 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13558 * gst/elements/gstbufferstore.h:
13559 * gst/elements/gsttypefindelement.c:
13560 * gst/elements/gsttypefindelement.h:
13562 * gst/gsttypefind.c:
13563 * gst/gsttypefind.h:
13564 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13565 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13566 (gst_type_find_factory_dispose),
13567 (gst_type_find_factory_unload_thyself),
13568 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13569 (gst_type_find_factory_get_caps),
13570 (gst_type_find_factory_get_extensions),
13571 (gst_type_find_factory_call_function):
13572 * gst/gsttypefindfactory.h:
13573 * gst/registries/gstlibxmlregistry.c:
13574 * gst/registries/gstxmlregistry.c:
13575 splitted gsttypefind into gsttypefind, gsttypefindfactory
13577 2005-09-07 Andy Wingo <wingo@pobox.com>
13579 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13580 condition whereby the pad's task function is entered before the
13581 pad_mode variable was set.
13583 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13585 * gst/gstpad.c: (gst_pad_alloc_buffer):
13586 Catch misbehaving pad_alloc functions that don't
13587 set up caps and do it for them.
13589 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13591 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13592 test for pipe!=NULL
13593 * docs/gst/tmpl/.cvsignore:
13594 * docs/gst/tmpl/gstmemchunk.sgml:
13595 * docs/gst/tmpl/gstparse.sgml:
13596 * docs/gst/tmpl/gsttaglist.sgml:
13597 * docs/gst/tmpl/gsttagsetter.sgml:
13598 * docs/gst/tmpl/gsttypefind.sgml:
13599 * docs/gst/tmpl/gsttypefindfactory.sgml:
13600 * gst/gstmemchunk.c:
13603 * gst/gsttaginterface.c:
13604 * gst/gsttypefind.c:
13605 * gst/gsttypefind.h:
13608 === release 0.9.2 ===
13610 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13615 releasing 0.9.2, "South"
13617 2005-09-05 Andy Wingo <wingo@pobox.com>
13619 * gst/registries/gstxmlregistry.h:
13620 * gst/registries/gstxmlregistry.c: Um... resurrect...
13622 * gst/registries/gstxmlregistry.h:
13623 * gst/registries/gstxmlregistry.c: and update to newer API.
13624 Incidentally they should be a bit faster now that they don't have
13627 2005-09-05 Andy Wingo <wingo@pobox.com>
13629 * gst/registries/gstxmlregistry.h:
13630 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13631 replaced by the libxml registry a while back
13633 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13635 * docs/gst/tmpl/gstplugin.sgml:
13636 * gst/elements/gstelements.c:
13638 * gst/gstplugin.c: (gst_plugin_register_func),
13639 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13640 (gst_plugin_get_source):
13642 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13643 (gst_xml_registry_save_plugin):
13644 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13645 (gst_xml_registry_save_plugin):
13646 * tools/gst-inspect.c: (print_plugin_info):
13647 add a "source" plugin description field, to represent the source
13648 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13649 will set it to PACKAGE, which is automake's idea of the name of
13650 the source project.
13652 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13657 * docs/Makefile.am:
13658 * docs/faq/Makefile.am:
13659 * docs/gst/tmpl/gstelement.sgml:
13660 * docs/gst/tmpl/gsttypes.sgml:
13661 * docs/htmlinstall.mak:
13662 * docs/manual/Makefile.am:
13663 * docs/pwg/Makefile.am:
13664 reorganize doc build a little
13665 split out docbook and gtk-doc stuff
13666 have two separate --enable's and enable them through autogen
13667 but disable by default in configure (to be similar to other
13669 * gstreamer.spec.in:
13670 clean up docs install
13688 translation updates
13690 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13692 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13695 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13696 (gst_fake_sink_change_state):
13697 Make state change function thread-safe.
13699 * gst/gstpad.c: (gst_pad_alloc_buffer):
13700 Set offset on generic buffer allocated by fallback.
13702 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13704 * docs/gst/gstreamer-sections.txt:
13705 * docs/gst/tmpl/gstelement.sgml:
13707 * libs/gst/controller/gst-controller.c:
13708 (gst_controlled_property_set_interpolation_mode),
13709 (gst_controlled_property_new),
13710 (gst_controller_find_controlled_property):
13711 run the wingo-magic script against the docs
13713 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13715 * docs/gst/gstreamer-docs.sgml:
13716 * docs/gst/gstreamer-sections.txt:
13717 * docs/gst/tmpl/.cvsignore:
13718 * docs/gst/tmpl/gstelementdetails.sgml:
13719 * docs/gst/tmpl/gstelementfactory.sgml:
13722 * gst/gstelementfactory.c:
13723 * gst/gstelementfactory.h:
13724 merged elementdetails docs into elementfactory docs
13727 2005-09-02 Andy Wingo <wingo@pobox.com>
13729 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13730 consider this enum an enum and not a flags.
13732 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13734 * docs/gst/gstreamer-docs.sgml:
13735 * docs/gst/tmpl/.cvsignore:
13736 * docs/gst/tmpl/gstghostpad.sgml:
13737 * docs/gst/tmpl/gstiterator.sgml:
13738 * docs/gst/tmpl/gstmacros.sgml:
13739 * docs/gst/tmpl/gstrealpad.sgml:
13740 * docs/gst/tmpl/gstregistry.sgml:
13741 * docs/gst/tmpl/gstregistrypool.sgml:
13742 * docs/gst/tmpl/gststructure.sgml:
13743 * docs/gst/tmpl/gstsystemclock.sgml:
13744 * docs/gst/tmpl/gsttrace.sgml:
13745 * gst/gstghostpad.c:
13747 * gst/gstmemchunk.c:
13748 * gst/gstmemchunk.h:
13750 * gst/gstregistry.c:
13751 * gst/gstregistrypool.c:
13752 * gst/gststructure.c:
13753 * gst/gstsystemclock.c:
13756 2005-09-02 Andy Wingo <wingo@pobox.com>
13758 * gst/gstelement.h (GstState): Renamed from GstElementState,
13759 changed to be a normal enum instead of flags.
13760 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13761 munged to be GST_STATE_CHANGE_*.
13762 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13763 work with the new state representation.
13764 (GstStateChange): New enumeration of possible state transitions.
13765 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13766 (GstElementClass::change_state): Pass the GstStateChange along as
13767 an argument. Helps language bindings, so they don't have to use
13768 tricky lock-needing macros like GST_STATE_CHANGE ().
13770 * scripts/update-states (file): New script. Run it on a file to
13771 update it for state naming and API changes. Updates files in
13774 * All files updated for the new API.
13776 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13778 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13779 * gst/gstutils.c: (gst_util_set_value_from_string),
13780 (gst_util_set_object_arg):
13781 fix a bunch of unchecked return values
13782 * tools/gst-complete.c: (main):
13783 * gstreamer.spec.in:
13786 2005-09-01 Wim Taymans <wim@fluendo.com>
13788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13789 (gst_base_sink_event), (gst_base_sink_do_sync),
13790 (gst_base_sink_handle_event):
13791 * gst/base/gstbasesink.h:
13792 Handle newsegments more correctly.
13797 * gst/gstevent.c: (gst_event_new_newsegment):
13798 A newsegment cannot have a start_time of -1
13800 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13802 * win32/gstenumtypes.c:
13803 * win32/gstenumtypes.h:
13806 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13808 * libs/gst/controller/gst-controller.c:
13809 (gst_controlled_property_set_interpolation_mode),
13810 (gst_controlled_property_new):
13811 fixed boolean again
13813 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13815 * docs/faq/gst-uninstalled:
13820 * gst/gstutils.c: (gst_element_link_filtered):
13822 add gst_element_link_filtered
13824 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13826 * docs/gst/gstreamer-docs.sgml:
13827 * docs/gst/gstreamer-sections.txt:
13828 * docs/gst/tmpl/.cvsignore:
13829 * docs/gst/tmpl/gsterror.sgml:
13830 * docs/gst/tmpl/gstfilter.sgml:
13831 * docs/gst/tmpl/gsturihandler.sgml:
13832 * docs/gst/tmpl/gsturitype.sgml:
13833 * docs/gst/tmpl/gstutils.sgml:
13834 * docs/gst/tmpl/gstxml.sgml:
13839 * gst/gsturitype.c:
13842 inlined more docs, fixed double id-ref
13844 2005-08-31 Wim Taymans <wim@fluendo.com>
13846 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13847 (gst_base_transform_handle_buffer):
13848 Passthrough elements don't need the caps as they don't care.
13850 2005-08-31 Wim Taymans <wim@fluendo.com>
13852 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13853 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13854 Don't leak refcounts on buffers.
13856 2005-08-31 Wim Taymans <wim@fluendo.com>
13858 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13859 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13860 (gst_base_transform_chain), (gst_base_transform_change_state):
13861 * gst/base/gstbasetransform.h:
13862 Handle the case where we are not negotiated more gracefully.
13864 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13866 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13867 (gst_file_src_map_region):
13868 Set READONLY flag on mmap'ed buffers, otherwise
13869 gst_buffer_make_writable() won't work properly (#314708).
13871 2005-08-31 Wim Taymans <wim@fluendo.com>
13873 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13874 passthrough elements can even do inplace on non writable
13875 buffers (as they don't touch them).
13877 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13879 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13880 (gst_test_mono_source_set_property),
13881 (gst_test_mono_source_class_init), (GST_START_TEST),
13882 (gst_controller_suite):
13883 more tests (hehe I have the most)
13885 describe popping messages whenusing mulltiple sources
13886 * libs/gst/controller/gst-controller.c:
13887 (gst_controlled_property_set_interpolation_mode),
13888 (gst_controlled_property_new):
13889 * libs/gst/controller/gst-controller.h:
13890 * libs/gst/controller/gst-interpolation.c:
13891 implement boolean properties
13893 2005-08-31 Wim Taymans <wim@fluendo.com>
13895 * gst/gstminiobject.c: (gst_mini_object_ref):
13896 Cannot assert that the refcount has to be positive
13897 since a disposed object can be resurrected.
13899 2005-08-31 Wim Taymans <wim@fluendo.com>
13901 * gst/gstpad.c: (gst_pad_init):
13902 Revert change, need to first fix badly behaving
13905 2005-08-30 Wim Taymans <wim@fluendo.com>
13907 * check/elements/fakesrc.c: (setup_fakesrc):
13908 * check/elements/identity.c: (setup_identity):
13909 Activate pads before using them.
13911 2005-08-30 Wim Taymans <wim@fluendo.com>
13913 * gst/base/gstadapter.c: (gst_adapter_flush):
13914 Flushing out 0 bytes is ok for this function.
13916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13917 no newsegment gives a warning and sets the start/stop to
13920 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13921 (gst_base_transform_set_passthrough):
13924 * gst/gstminiobject.c: (gst_mini_object_ref):
13925 Check refcount here too.
13927 * gst/gstpad.c: (gst_pad_init):
13928 Pads are initially flushing and refusing data.
13930 * gst/gstutils.c: (gst_element_link_pads_filtered):
13931 When adding a capsfilter element make sure it has the
13932 same state as the parent bin.
13934 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13936 * docs/gst/tmpl/.cvsignore:
13937 * docs/gst/tmpl/gstformat.sgml:
13938 * docs/gst/tmpl/gstversion.sgml:
13942 * gst/gstversion.h.in:
13943 more docs and two more inlined
13945 2005-08-30 Wim Taymans <wim@fluendo.com>
13947 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13948 Don't sync to clock.
13950 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13952 * docs/gst/gstreamer-sections.txt:
13953 ultral33t func10ns deserve to appear in the docs actually
13954 * docs/gst/tmpl/.cvsignore:
13955 * docs/gst/tmpl/gstcompat.sgml:
13956 * docs/gst/tmpl/gstconfig.sgml:
13957 * gst/check/gstcheck.c:
13959 * gst/gstconfig.h.in:
13962 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13964 * docs/gst/tmpl/.cvsignore:
13965 * docs/gst/tmpl/gstquery.sgml:
13966 * docs/gst/tmpl/gstutils.sgml:
13969 inlined and extended docs
13971 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13973 * check/gst-libs/controller.c: (GST_START_TEST),
13974 (gst_controller_suite):
13976 * docs/gst/tmpl/gstutils.sgml:
13977 * docs/libs/gstreamer-libs-sections.txt:
13978 * docs/libs/tmpl/gstdataprotocol.sgml:
13980 * examples/controller/audio-example.c: (main):
13981 controller example works now
13984 * tools/gst-inspect.c: (print_element_properties_info):
13985 show param spec flags
13987 2005-08-29 Andy Wingo <wingo@pobox.com>
13989 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13991 2005-08-28 Andy Wingo <wingo@pobox.com>
13993 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13994 as having two arguments instead of just one. Allows superclasses
13995 to access information on subclasses -- see the terrible for() loop
13996 in gtype.c:g_type_create_instance for the reason why. All callers
13999 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14001 * docs/design/part-messages.txt:
14003 * docs/gst/tmpl/.cvsignore:
14004 * docs/gst/tmpl/gstcaps.sgml:
14005 * docs/gst/tmpl/gstclock.sgml:
14011 * gst/gstmessage.c:
14012 added descriptions for bus and message
14013 inline caps and clock docs
14015 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14017 * gst/gstmessage.c:
14018 * gst/gstmessage.h:
14021 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14023 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14026 2005-08-26 Andy Wingo <wingo@pobox.com>
14028 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14029 element_set_state's return val.
14030 (test_2_elements): Add test that's been disabled for months.
14032 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14033 can-activate-pull properties.
14035 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14036 can-activate-pull properties. Implement is_seekable so fakesrc can
14037 operate in pull mode.
14039 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14041 (gst_base_sink_activate, gst_base_sink_activate_pull)
14042 (gst_base_sink_activate_push): Make activation mode choosing work.
14044 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14045 is right. Make pull mode work. Post an eos before pausing in pull
14047 (gst_base_sink_change_state): Pay attention to the core's
14048 change_state() return val.
14050 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14051 has-getrange properties. Cleanups.
14053 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14054 has_getrange and replace with can_activate_pull and
14057 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14058 locking comments. Remove has_loop, has_chain and replace with
14059 can_activate_pull and can_activate_push.
14061 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14064 * examples/Makefile.am:
14065 * examples/metadata/Makefile.am:
14066 * examples/metadata/read-metadata.c: (message_loop),
14067 (have_pad_handler), (make_pipeline), (print_tag), (main):
14068 Add metadata reading example that loops over a list of filenames,
14069 dumping any tags found.
14071 * gst/gstbus.c: (gst_bus_dispose):
14072 * gst/gstelement.c: (gst_element_dispose):
14073 Release a few potentially-held references in dispose.
14075 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14077 * docs/gst/tmpl/gstminiobject.sgml:
14078 do *not* add tmpl/*.sgml files to CVS!
14080 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14082 * libs/gst/bytestream/.cvsignore:
14083 * libs/gst/bytestream/Makefile.am:
14084 * libs/gst/bytestream/adapter.c:
14085 * libs/gst/bytestream/adapter.h:
14086 * libs/gst/bytestream/bytestream.c:
14087 * libs/gst/bytestream/bytestream.h:
14088 * libs/gst/bytestream/filepad.c:
14089 * libs/gst/bytestream/filepad.h:
14090 removing obsolete files
14092 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14094 * docs/gst/gstreamer-docs.sgml:
14095 * docs/libs/gstreamer-libs-docs.sgml:
14096 disabed additional index entries again, as this makes docs-gen just
14097 slow and they aren't useful yet
14098 * docs/libs/gstreamer-libs-sections.txt:
14099 little -section.txt cleanup for libs
14101 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14103 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14104 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14105 fix up some debugging
14106 (gst_base_transform_get_unit_size),
14107 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14108 (gst_base_transform_handle_buffer):
14109 * gst/base/gstbasetransform.h:
14110 handle and store timed NEWSEGMENT events so that subclasses that
14111 calculate time by counting samples have a segment_start time they
14112 need to add to their timestamps - see audioresample
14114 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14117 removed ';' from the end of macro defs
14118 * docs/gst/gstreamer-docs.sgml:
14119 * docs/gst/gstreamer-sections.txt:
14120 * docs/gst/tmpl/.cvsignore:
14122 * gst/gstelement.c: (gst_element_class_init),
14123 (gst_element_set_state), (activate_pads),
14124 (gst_element_save_thyself):
14125 * gst/gstevent.c: (gst_event_new_newsegment):
14127 * gst/gstiterator.c:
14128 * gst/gstiterator.h:
14131 * gst/gstutils.c: (gst_pad_query_convert):
14133 fixed parameter name mismatches between source, header and docs
14134 added some more docs, resolved the last batch of unused elements in
14135 docs (now someone needs to doc them)
14137 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14139 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14140 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14141 don't walk through the plugins backwards. Where is all this
14142 reversed logic coming from ?
14144 2005-08-25 Wim Taymans <wim@fluendo.com>
14146 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14147 (gst_base_transform_transform_size),
14148 (gst_base_transform_configure_caps),
14149 (gst_base_transform_get_unit_size),
14150 (gst_base_transform_buffer_alloc),
14151 (gst_base_transform_change_state):
14152 * gst/base/gstbasetransform.h:
14153 Cache caps unit_size.
14154 Make sure we cannot negotiate up and downstream at the
14157 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14159 * gst/gst.c: (init_pre), (init_post):
14160 register the installed plugin path after the env var
14161 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14162 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14163 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14164 directories, so the tests can prefer uninstalled over installed
14166 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14168 * gst/base/gstbasetransform.h:
14173 2005-08-25 Wim Taymans <wim@fluendo.com>
14175 * gst/gstbin.c: (bin_bus_handler):
14176 Be a bit more conservative about the posted message.
14178 * gst/gstbus.c: (gst_bus_post):
14179 Some cleanups, warn wrong return values.
14181 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14183 * check/gst/gstbin.c: (GST_START_TEST):
14184 * gst/gstbin.c: (bin_bus_handler):
14185 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14186 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14187 (gst_message_new_warning), (gst_message_new_tag),
14188 (gst_message_new_state_changed), (gst_message_new_segment_start),
14189 (gst_message_new_segment_done), (gst_message_new_custom):
14190 * gst/gstmessage.h:
14191 * tools/gst-launch.c: (event_loop):
14192 * tools/gst-md5sum.c: (event_loop):
14193 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14195 2005-08-25 Wim Taymans <wim@fluendo.com>
14197 * check/generic/states.c: (GST_START_TEST):
14198 Cleanup can be done at the end.
14200 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14201 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14202 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14203 Oh boy.. Thanks for finding this, Thomas.
14205 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14207 * docs/gst/gstreamer.types:
14208 added missing types
14210 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14212 * docs/gst/gstreamer-docs.sgml:
14213 * docs/gst/gstreamer-sections.txt:
14214 * docs/gst/tmpl/.cvsignore:
14216 * gst/gstiterator.c:
14218 * gst/registries/gstxmlregistry.h:
14219 added missing classes and symbols (123 more to go)
14220 removed removed symbols from section file
14221 fixed many doc-comments
14223 2005-08-24 Wim Taymans <wim@fluendo.com>
14225 * check/generic/states.c: (GST_START_TEST):
14226 Make sure all tasks are stopped.
14228 * check/gst/gstbin.c: (GST_START_TEST):
14229 Unref after usage for proper valgrinding.
14231 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14232 Really wait for the task to stop before destroying the
14235 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14236 (gst_queue_src_activate_push):
14237 Small cleanups. Don't stop the task when we did not start
14240 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14241 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14242 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14245 Protect the stream lock with the object lock.
14246 Disallow setting the stream lock when running.
14247 Add cleanup_all to wait for the threadpool to finish.
14248 Remove code to autoallocate a mutex if none was provided.
14249 Add _join() to wait for a task to stop.
14250 Protect the thread pool with a global lock.
14252 2005-08-24 Wim Taymans <wim@fluendo.com>
14254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14255 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14256 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14257 * gst/base/gstbasesink.h:
14258 Handle newsegment events correctly.
14259 Drop buffers out of the segment range.
14261 2005-08-22 Andy Wingo <wingo@pobox.com>
14263 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14264 macro, implements an interface and gstimplementsinterface for a
14267 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14269 * check/Makefile.am:
14270 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14271 add a test that does a bunch of state changes on elements
14272 needs some fixing for valgrind
14273 * check/states/sinks.c: (gst_object_suite):
14276 add prototype for gst_caps_is_equal_fixed
14278 * gst/gstregistrypool.c:
14281 2005-08-24 Andy Wingo <wingo@pobox.com>
14283 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14284 convert a negative value. Doesn't make much sense. Mostly this is
14285 here to force callers to ensure -1 maps to -1.
14287 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14289 * docs/pwg/advanced-types.xml:
14290 Well done to Michael for catching my deliberate introduction
14291 of this spelling mistake.
14292 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14293 * gst/gstelement.h:
14294 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14295 unlink pads before removing the element from the bin.
14297 2005-08-24 Andy Wingo <wingo@pobox.com>
14299 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14300 the same thing as GST_DEBUG=*:4.
14301 (parse_debug_level, parse_debug_category): New helper parsers.
14303 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14305 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14306 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14307 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14308 (gst_base_transform_buffer_alloc),
14309 (gst_base_transform_handle_buffer):
14310 use gboolean return values and pointers to size so we can use the
14311 full GST_BUFFER_SIZE range (guint) for buffer sizes
14312 use GstPadDirection for transform_caps
14313 * gst/base/gstbasetransform.h:
14314 rename get_size to get_unit_size since that's what it is
14315 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14316 use GstPadDirection for transform_caps
14317 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14319 cleanup and debugging
14321 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14323 * gst/gstelement.c: (gst_element_class_init),
14324 (gst_element_set_state), (activate_pads),
14325 (gst_element_save_thyself):
14326 * tools/gst-compprep.c: (main):
14327 * tools/gst-inspect.c: (print_element_properties_info):
14328 * tools/gst-xmlinspect.c: (print_element_properties):
14329 Fixed long standing mem-leak
14331 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14333 * check/gst/gstbin.c: (GST_START_TEST):
14334 * gst/gstbin.c: (bin_bus_handler):
14335 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14336 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14337 (gst_message_new_warning), (gst_message_new_tag),
14338 (gst_message_new_state_changed), (gst_message_new_segment_start),
14339 (gst_message_new_segment_done), (gst_message_new_custom):
14340 * gst/gstmessage.h:
14341 * tools/gst-launch.c: (event_loop):
14342 * tools/gst-md5sum.c: (event_loop):
14343 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14344 that applications can sensibly post custom messages with references
14345 to their own objects.
14347 2005-08-24 Andy Wingo <wingo@pobox.com>
14349 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14352 2005-08-24 Wim Taymans <wim@fluendo.com>
14354 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14355 (gst_base_transform_transform_caps),
14356 (gst_base_transform_transform_size),
14357 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14358 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14359 (gst_base_transform_handle_buffer):
14360 * gst/base/gstbasetransform.h:
14361 Many fixes and new features added by Thomas. Can now also do
14362 transforms with variable sizes and a custom fixate_caps function.
14364 2005-08-24 Wim Taymans <wim@fluendo.com>
14366 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14370 Cast to ClockTime before formatting to time.
14375 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14377 * check/gst-libs/controller.c: (GST_START_TEST),
14378 (gst_controller_suite):
14379 * docs/gst/tmpl/gstcaps.sgml:
14380 * docs/gst/tmpl/gstghostpad.sgml:
14381 * docs/gst/tmpl/gstquery.sgml:
14382 * docs/gst/tmpl/gstutils.sgml:
14383 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14384 (gst_object_sink_values), (gst_object_get_value_arrays),
14385 (gst_object_get_value_array):
14386 gracefully handle helper method calls to objects that are not beeing
14387 controlled, added test case for that
14389 2005-08-23 Wim Taymans <wim@fluendo.com>
14391 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14392 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14393 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14394 (gst_event_parse_qos), (gst_event_new_seek),
14395 (gst_event_parse_seek):
14397 Some more debugging output and doc cleanups.
14399 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14400 Fix possible deadlock.
14402 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14404 * docs/gst/gstreamer-docs.sgml:
14405 * docs/gst/gstreamer-sections.txt:
14406 * docs/gst/gstreamer.types:
14407 * docs/gst/tmpl/.cvsignore:
14410 * gst/gstelement.c:
14412 added 100 symbols from gstreamer-unused.txt to the right sections
14413 fixed more broken comments
14414 added GstBus to docs
14416 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14418 * docs/gst/gstreamer-sections.txt:
14419 * docs/gst/tmpl/.cvsignore:
14420 * docs/gst/tmpl/gstbin.sgml:
14421 * docs/gst/tmpl/gstbuffer.sgml:
14422 * gst/base/gstbasesrc.c:
14423 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14426 * tools/gst-launch.1.in:
14427 inlined more doc comments, added missing comments and fixed comments
14430 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14432 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14436 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14438 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14439 * gst/gststructure.h:
14440 add a fixate function for booleans; add a FIXME that these func
14441 names should probably be gst_structure_fixate_*
14443 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14445 * docs/gst/gstreamer-docs.sgml:
14446 * docs/gst/gstreamer-sections.txt:
14448 * gst/gstbin.c: (gst_bin_get_type),
14449 (gst_bin_child_proxy_get_child_by_index),
14450 (gst_bin_child_proxy_get_children_count),
14451 (gst_bin_child_proxy_init):
14452 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14453 (gst_child_proxy_get_child_by_index),
14454 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14455 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14456 (gst_child_proxy_get), (gst_child_proxy_set_property),
14457 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14458 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14459 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14460 * gst/gstchildproxy.h:
14461 * gst/parse/grammar.y:
14462 * tools/gst-inspect.c: (print_interfaces),
14463 (print_element_properties_info), (print_element_info):
14464 ported gstchildproxy over from 0.8
14465 ported gst-inspect fixes and enhancements over from 0.8
14467 2005-08-22 Wim Taymans <wim@fluendo.com>
14469 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14470 (gst_base_transform_handle_buffer):
14471 Also call the transform function if we have ANY caps.
14473 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14476 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14478 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14479 Don't pretend to handle seek events if the source is not seekable
14481 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14484 Remove extra parameter to debug output
14486 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14487 (gst_base_src_do_seek), (gst_base_src_activate_push):
14488 Fix seek event handling.
14490 * gst/gstpipeline.c: (gst_pipeline_change_state):
14491 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14492 (gst_queue_src_activate_push):
14493 Don't start the src pad task on FLUSH_STOP if the pad
14497 2005-08-22 Wim Taymans <wim@fluendo.com>
14499 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14500 Added check for gst_static_caps_get() refcounting.
14502 2005-08-22 Wim Taymans <wim@fluendo.com>
14504 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14505 Make _static_caps_get() refcounting sane.
14507 * gst/gstelement.c: (gst_element_set_state):
14508 Add g_return_val_if_fail() to protect against segfaults.
14510 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14512 * docs/gst/tmpl/gstevent.sgml:
14515 inlined remaining docs, added missing doc comments
14517 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14519 * check/gst/gstbin.c: (GST_START_TEST):
14520 since we don't know when preroll is done, use refcount range
14522 * gst/check/gstcheck.h:
14523 add macro for checking refcount range
14525 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14527 * check/Makefile.am:
14528 clean up environment for when registry gets built versus
14529 when actual tests are run; valgrind seems to not report
14530 leaks if GST_PLUGIN_PATH is set to some specific values
14531 * check/gst/gstbin.c: (GST_START_TEST):
14532 add more refcounting checks; maybe this exposes a
14534 * common/check.mak:
14535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14536 * gst/check/gstcheck.h:
14537 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14538 (gst_bin_change_state):
14539 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14540 add/fix debugging/whitespace
14542 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14544 * check/gst/gstevent.c: (event_probe), (test_event),
14546 Er, don't call gst_bin_watch_for_state_change you idiot.
14548 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14550 * check/Makefile.am:
14551 Use CHECK_CFLAGS and CHECK_LIBS
14552 * check/gst/gstevent.c: (event_probe), (test_event),
14555 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14556 (gst_base_src_start), (gst_base_src_stop),
14557 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14558 (gst_base_src_change_state):
14559 Sprinkle gst_base_src_stop liberally around error paths to fix
14560 problems reusing a source after failed state changes.
14561 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14562 (helper_find_suggest), (gst_type_find_helper):
14563 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14565 * docs/gst/tmpl/gstevent.sgml:
14566 Migrate part of the docs from the SGML file. Wait for ensonic to
14567 tell me how I did it wrong ;)
14568 * tools/gst-typefind.c: (main):
14569 Extra robustness to state changes between files.
14571 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14573 * check/Makefile.am:
14574 don't valgrind the controller test - it's leaking - Stefan, HELP
14575 * gst/check/gstcheck.c: (gst_check_message_error),
14576 (gst_check_chain_func), (gst_check_setup_element),
14577 (gst_check_teardown_element), (gst_check_setup_src_pad),
14578 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14579 (gst_check_teardown_sink_pad):
14580 * gst/check/gstcheck.h:
14581 add a bunch of methods to set up elements, and src and sink pads
14582 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14583 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14586 * gst/gstmessage.c:
14588 whitespace/doc fixes
14590 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14592 * gst/gstelement.h:
14593 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14594 be handled by the application and not always printed as well
14596 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14598 * check/Makefile.am:
14600 * gst/check/gstcheck.c: (gst_check_message_error):
14601 * gst/check/gstcheck.h:
14602 add a fail_unless_equals_int
14603 add fail_unless for error messages
14605 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14607 * check/Makefile.am:
14609 * common/Makefile.am:
14610 * common/check.mak:
14612 factor out some of the common stuff so we can use it
14614 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14616 * check/Makefile.am:
14617 * check/gst/gstiterator.c: (GST_START_TEST):
14618 * check/gst/gstsystemclock.c: (GST_START_TEST),
14619 (gst_systemclock_suite):
14620 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14622 valgrind more tests
14624 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14626 * check/elements/.cvsignore:
14627 * check/elements/gstfakesrc.c:
14628 rename to name of element
14629 * check/elements/identity.c: (chain_func), (event_func),
14630 (setup_identity), (cleanup_identity), (GST_START_TEST),
14631 (identity_suite), (main):
14632 add a test for identity
14633 * check/Makefile.am:
14634 * pkgconfig/Makefile.am:
14635 * pkgconfig/gstreamer-check.pc.in:
14636 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14640 move the check stuff to a library that gets installed
14641 * check/gst-libs/controller.c: (GST_START_TEST):
14642 * check/gst-libs/gdp.c:
14643 * check/gst/gst.c: (GST_START_TEST):
14644 * check/gst/gstbin.c:
14645 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14646 * check/gst/gstbus.c:
14647 * check/gst/gstcaps.c: (GST_START_TEST):
14648 * check/gst/gstelement.c:
14649 * check/gst/gstghostpad.c:
14650 * check/gst/gstiterator.c:
14651 * check/gst/gstmessage.c:
14652 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14653 * check/gst/gstobject.c:
14654 * check/gst/gstpad.c: (GST_START_TEST):
14655 * check/gst/gststructure.c: (GST_START_TEST):
14656 * check/gst/gstsystemclock.c: (GST_START_TEST),
14657 (gst_systemclock_suite):
14658 * check/gst/gsttag.c: (gst_tag_suite):
14659 * check/gst/gstvalue.c:
14660 * check/pipelines/cleanup.c:
14661 * check/pipelines/simple_launch_lines.c:
14662 * check/states/sinks.c:
14663 change include statement
14665 * docs/gst/gstreamer-sections.txt:
14666 * docs/gst/tmpl/gstpad.sgml:
14667 document more pad stuff
14668 * gst/gstminiobject.c: (gst_mini_object_ref),
14669 (gst_mini_object_unref):
14672 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14674 * docs/gst/tmpl/gst.sgml:
14676 eliminate another tmpl file, fix spelling in the long-description
14678 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14680 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14681 (test_event), (timediff), (gstevents_suite):
14682 Should fix build on 64-bit arch's
14684 2005-08-18 Andy Wingo <wingo@pobox.com>
14686 Make sure that when a pipeline goes to PLAYING, that data has
14687 actually hit the sink.
14689 * check/states/sinks.c (test_sink): A sink that doesn't get any
14690 data shouldn't return SUCCESS for going to either PLAYING or
14691 PAUSED. Test also the return values on the way back down.
14693 * gst/gstelement.c (gst_element_set_state): When changing the
14694 state of an element currently changing state asynchronously, go to
14695 lost-state after commiting the pending state. Makes future calls
14696 to get_state continue to return ASYNC.
14698 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14699 ASYNC when going to PLAYING if we still don't have preroll, as can
14700 happen with live sources.
14702 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14704 * docs/pwg/advanced-types.xml:
14705 Hack long paragraph into 2 chunks as a workaround for buggy
14706 jadetex version in sid and breezy that loops infinitely and
14709 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14711 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14712 (test_event), (timediff), (gstevents_suite):
14713 Provide more error margin in clock measurements to allow for
14714 g_get_current_time inaccuracies.
14716 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14718 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14719 (test_event), (timediff), (gstevents_suite):
14720 Fix error message output so I might be able to tell why the
14721 test works here but fails on the build farm.
14723 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14725 * check/Makefile.am:
14726 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14727 (test_event), (timediff), (gstevents_suite), (main):
14730 * docs/design/part-seeking.txt:
14731 Spelling correction
14733 * docs/gst/tmpl/gstevent.sgml:
14734 * docs/gst/tmpl/gstfakesrc.sgml:
14737 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14738 Treat a buffer-without-newsegment the same as a receiving
14739 a newsegment not in time format, and disable syncing to the clock
14742 * gst/gstbus.c: (gst_bus_set_sync_handler):
14743 Assert if anyone tries to replace the existing sync_handler for bus,
14744 as only the owner should be setting it.
14747 Have a fixed set of custom event enums with events identified by
14748 their structure name (as in 0.8), rather than a free-for-all
14749 allowing collisions between enum values from different plugins.
14751 * gst/gstpad.c: (gst_pad_class_init):
14754 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14755 Handle out-of-band downstream events from the sending thread.
14757 2005-08-17 Andy Wingo <wingo@pobox.com>
14759 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14760 play-timeout==0 to mean no timeout at all. In that case, don't
14761 bother with a get_state or a warning, just return directly, even
14764 * gst/base/gstbasetransform.c: Debug changes.
14767 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14768 ensure bins post state change messages. A bit of a hack but I can't
14769 think of a way to avoid it.
14771 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14773 2005-08-16 Andy Wingo <wingo@pobox.com>
14775 * gst/base/gstadapter.h:
14776 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14777 peek() but you own the data. Not terribly efficient atm.
14779 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14781 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14782 (gst_element_found_tags):
14784 Add two utility functions for tag handling.
14786 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14788 * docs/manual/advanced-dataaccess.xml:
14789 * docs/manual/basics-helloworld.xml:
14790 Fix docs to use _bin_add() before _link(), which fixes the examples
14791 with recent core versions (reported by Madhan Raj M
14792 <raj_madan@rediffmail.com>, #313199).
14794 2005-08-16 Wim Taymans <wim@fluendo.com>
14796 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14797 Added subtract checks.
14799 * docs/design/part-events.txt:
14800 Some more docs about newsegment
14802 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14805 * gst/gstcaps.c: (gst_caps_to_string):
14806 Add comments, cleanups.
14808 * gst/gstelement.c: (gst_element_save_thyself):
14811 * gst/gstvalue.c: (gst_value_collect_int_range),
14812 (gst_string_unwrap), (gst_value_union_int_int_range),
14813 (gst_value_union_int_range_int_range),
14814 (gst_value_intersect_int_int_range),
14815 (gst_value_intersect_int_range_int_range),
14816 (gst_value_intersect_double_double_range),
14817 (gst_value_intersect_double_range_double_range),
14818 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14819 (gst_value_subtract_int_range_int),
14820 (gst_value_subtract_double_range_double),
14821 (gst_value_subtract_double_range_double_range),
14822 (gst_value_subtract_from_list), (gst_value_subtract_list),
14823 (gst_value_can_compare), (gst_value_compare_fraction):
14824 Cleanups, add comments, remove unneeded asserts.
14826 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14828 * tools/gst-launch.c: (event_loop):
14829 don't convert NULL structures to strings
14831 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14833 * docs/gst/gstreamer-sections.txt:
14834 made some defines private
14835 * docs/gst/tmpl/gstconfig.sgml:
14836 * docs/gst/tmpl/gstqueue.sgml:
14837 * docs/gst/tmpl/gsttaglist.sgml:
14838 * docs/gst/tmpl/gsttypes.sgml:
14839 * docs/gst/tmpl/gstutils.sgml:
14840 * docs/pwg/appendix-porting.xml:
14841 * gst/base/gstbasesink.h:
14842 * gst/base/gstbasesrc.c:
14843 * gst/base/gstbasesrc.h:
14844 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14845 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14846 * gst/gstelement.c: (gst_element_class_init):
14847 * gst/gstpad.c: (gst_pad_class_init):
14848 * gst/gstqueue.c: (gst_queue_class_init):
14849 * gst/gstxml.c: (gst_xml_class_init):
14850 documented all undocumented signal inline
14851 * libs/gst/controller/gst-controller.h:
14854 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14856 * docs/pwg/appendix-porting.xml:
14857 Document _set_link_function -> _set_setcaps_function.
14859 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14861 * check/Makefile.am:
14862 add a .check target for running the check
14863 * check/gst-libs/controller.c: (GST_START_TEST):
14865 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14866 complete checks for gstbuffer; would be nice if I could get the
14867 gcov stuff to work so I can see if I actually completed gstbuffer.c
14868 * check/gstcheck.h:
14869 add ASSERT_BUFFER_REFCOUNT
14871 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14873 * docs/gst/gstreamer-sections.txt:
14874 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14876 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14877 spew out a warning if a tag that is already registered
14878 is re-registered, unless it is re-registered with a
14879 different type (#308438).
14881 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14883 * docs/pwg/appendix-porting.xml:
14884 * docs/pwg/building-state.xml:
14885 Add some paragraphs about state changes in 0.9 to the PWG
14886 and the porting guide, in particular about the new meaning
14887 of GST_STATE_PAUSED and how to write state change functions
14888 with concurrent access by multiple threads in mind.
14890 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14892 * docs/gst/gstreamer-docs.sgml:
14893 * docs/libs/gstreamer-libs-docs.sgml:
14894 added deprecation and since indexes
14895 * libs/gst/controller/gst-controller.c:
14896 * libs/gst/controller/gst-helper.c:
14900 2005-08-11 Wim Taymans <wim@fluendo.com>
14902 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14903 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14904 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14905 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14906 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14907 (gst_ghost_pad_set_target):
14908 Actually implement (re)setting the target on a ghostpad
14909 as described in the docs.
14911 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14913 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14914 Check whether GST_DEBUG_NO_COLOR environment variable is
14915 set and disable coloured debug output if that is the case.
14917 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14919 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14920 (gst_type_find_helper):
14921 The memory returned by gst_type_find_peek() needs to
14922 stay valid until the end of a typefind function, and
14923 typefind functions may keep results from different
14924 offsets around, so we can't just unref the buffer from
14925 the previous _peek(), but have to save all buffers
14926 returned by _peek() until typefinding is done and only
14929 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14931 * docs/gst/gstreamer-sections.txt:
14933 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14935 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14937 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14938 Fix a pretty good memleak.
14940 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14942 * gst/gstiterator.h:
14943 Fix wrong include and 'make distcheck'.
14945 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14947 * gst/gstbin.c: (bin_bus_handler):
14948 Use gst_element_post_message() instead.
14950 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14952 * gst/base/gstadapter.h:
14953 * gst/base/gstbasesink.h:
14954 * gst/base/gstbasesrc.h:
14955 * gst/base/gstbasetransform.h:
14956 * gst/base/gstcollectpads.h:
14957 * gst/base/gstpushsrc.h:
14958 * gst/gstiterator.h:
14959 Add padding to our base elements' class and instance structs and
14960 to GstIterator (you will need to rebuild all plugins and apps!)
14962 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14964 * gst/gstbin.c: (bin_bus_handler):
14965 Make default message forwarding from child->bus to bin->bus
14966 threadsafe and make it not emit warnings if the parent has no bus.
14968 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14970 * gst/gstelement.c: (activate_pads):
14971 On paused->ready, set pad->caps to NULL, as is the documented
14972 behaviour in this state change. Fixes playback of series of
14973 media files when visualization is enabled in Totem.
14975 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14977 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14978 Allow NULL as filter-caps (which means "any").
14980 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14982 * docs/libs/gstreamer-libs-sections.txt:
14983 * libs/gst/controller/gst-controller.c:
14984 * libs/gst/controller/gst-controller.h:
14985 * libs/gst/controller/gst-helper.c:
14986 adding more entries to the docs and fix small doc-bugs
14988 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14990 * docs/gst/gstreamer-docs.sgml:
14991 * docs/gst/gstreamer-sections.txt:
14992 * docs/gst/gstreamer.types:
14993 * docs/gst/tmpl/gstbasesink.sgml:
14994 * docs/gst/tmpl/gstbasesrc.sgml:
14995 * docs/gst/tmpl/gstbasetransform.sgml:
14996 * docs/gst/tmpl/gstfakesrc.sgml:
14997 * gst/base/gstcollectpads.c:
14998 * gst/base/gstcollectpads.h:
14999 * libs/gst/controller/gst-controller.c:
15000 * libs/gst/controller/gst-controller.h:
15001 * libs/gst/controller/gst-helper.c:
15002 * libs/gst/controller/gst-interpolation.c:
15003 * libs/gst/controller/lib.c:
15004 added long/short desc for controller docs
15005 added collectpads base class docs
15006 added correct includes to base-class docs
15008 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15010 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15011 (gst_test_mono_source_set_property),
15012 (gst_test_mono_source_class_init), (GST_START_TEST),
15013 (gst_controller_suite):
15014 * docs/gst/gstreamer-docs.sgml:
15015 * docs/gst/gstreamer-sections.txt:
15016 * docs/gst/gstreamer.types:
15017 * docs/libs/gstreamer-libs-docs.sgml:
15018 * docs/libs/gstreamer-libs-sections.txt:
15019 * gst/base/gstadapter.c:
15020 * libs/gst/controller/gst-controller.c:
15021 (gst_controlled_property_new), (gst_controlled_property_free),
15022 (gst_controller_new_valist),
15023 (gst_controller_remove_properties_valist),
15024 (gst_controller_sink_values), (_gst_controller_finalize):
15025 * libs/gst/controller/gst-controller.h:
15026 * libs/gst/controller/gst-helper.c:
15027 (gst_object_control_properties), (gst_object_uncontrol_properties),
15028 (gst_object_get_controller), (gst_object_set_controller),
15029 (gst_object_sink_values), (gst_object_get_value_arrays),
15030 (gst_object_get_value_array):
15031 more tests (and fixes) for the controller
15032 more docs for the controller
15033 integrated companies docs for the adapter
15035 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15037 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15038 (GST_START_TEST), (fakesrc_suite):
15039 add tests for sizetype
15041 2005-08-04 Andy Wingo <wingo@pobox.com>
15043 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15044 fixes buffer_alloc proxying among other things.
15046 * gst/base/gstbasetransform.c:
15047 * gst/base/gstbasetransform.h:
15048 Revert patch to gstbasetransform from 7-28 removing
15051 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15052 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15053 Semantics changed, should return not the size of the output buffer
15054 but the byte size of a buffer with a given caps.
15056 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15058 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15059 out) are not the pad caps until setcaps finishes.
15060 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15061 not-in-place case as well. Deal with changing from in-place to
15062 not-in-place within calling pad_alloc_buffer. Still a bit
15063 concerned about the overhead here...
15065 2005-08-03 Andy Wingo <wingo@pobox.com>
15067 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15068 fixating is an error.
15070 2005-08-04 Edward Hervey <edward@fluendo.com>
15072 * gst/base/gstadapter.h:
15073 Added gst_adapter_get_type() to the header
15075 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15077 * check/Makefile.am:
15078 * check/gst-libs/controller.c:
15079 * libs/gst/controller/gst-controller.c:
15080 (gst_controller_new_valist):
15081 added check test suite for the controller
15082 * gst/base/gstpushsrc.c:
15085 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15087 * docs/gst/Makefile.am:
15088 * docs/gst/gstreamer-docs.sgml:
15089 * docs/gst/gstreamer-sections.txt:
15090 * docs/gst/gstreamer.types:
15091 * docs/gst/tmpl/gstfakesrc.sgml:
15093 * gst/base/gstbasesink.c:
15094 * gst/base/gstbasesink.h:
15095 * gst/base/gstbasesrc.c:
15096 * gst/base/gstbasesrc.h:
15097 * gst/base/gstbasetransform.c:
15098 * gst/base/gstpushsrc.c:
15099 * gst/base/gstpushsrc.h:
15100 add short/long description docs to base classes
15101 add pushsrc to the docs
15102 remove consolidated doc fragments
15104 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15107 * docs/libs/Makefile.am:
15108 * docs/libs/gstreamer-libs-docs.sgml:
15109 * docs/libs/gstreamer-libs-sections.txt:
15110 * docs/libs/gstreamer-libs.types:
15111 * examples/Makefile.am:
15112 * examples/controller/.cvsignore:
15113 * examples/controller/Makefile.am:
15114 * examples/controller/audio-example.c: (main):
15115 * libs/gst/Makefile.am:
15116 * libs/gst/controller/.cvsignore:
15117 * libs/gst/controller/Makefile.am:
15118 * libs/gst/controller/gst-controller.c:
15119 (on_object_controlled_property_changed), (gst_timed_value_compare),
15120 (gst_timed_value_find),
15121 (gst_controlled_property_set_interpolation_mode),
15122 (gst_controlled_property_new), (gst_controlled_property_free),
15123 (gst_controller_find_controlled_property),
15124 (gst_controller_new_valist), (gst_controller_new),
15125 (gst_controller_remove_properties_valist),
15126 (gst_controller_remove_properties), (gst_controller_set),
15127 (gst_controller_set_from_list), (gst_controller_unset),
15128 (gst_controller_get), (gst_controller_get_all),
15129 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15130 (gst_controller_get_value_array),
15131 (gst_controller_set_interpolation_mode),
15132 (_gst_controller_finalize), (_gst_controller_init),
15133 (_gst_controller_class_init), (gst_controller_get_type):
15134 * libs/gst/controller/gst-controller.h:
15135 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15136 (g_object_uncontrol_properties), (g_object_get_controller),
15137 (g_object_set_controller), (g_object_sink_values),
15138 (g_object_get_value_arrays), (g_object_get_value_array):
15139 * libs/gst/controller/gst-interpolation.c:
15140 (gst_controlled_property_find_timed_value_node),
15141 (interpolate_none_get), (interpolate_trigger_get),
15142 (interpolate_trigger_get_value_array):
15143 * libs/gst/controller/lib.c: (gst_controller_init):
15144 * pkgconfig/Makefile.am:
15145 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15146 * pkgconfig/gstreamer-control.pc.in:
15147 * testsuite/Makefile.am:
15148 * testsuite/controller/.cvsignore:
15149 * testsuite/controller/Makefile.am:
15150 * testsuite/controller/interpolator.c: (main):
15151 added controller code
15152 removed dparam pc files
15154 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15155 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15156 (gst_collectpads_stop):
15157 Broadcast the condition when shutting down, to make sure we wake all
15158 threads up. Shut down pads on finalize, for safety.
15160 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15161 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15162 (gst_base_transform_handle_buffer),
15163 (gst_base_transform_change_state):
15164 Handle PAUSED->READY->PAUSED transition after negotiation
15166 * gst/gstmessage.c: (gst_message_init):
15167 Extra piece of debug for new messages.
15169 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15172 * docs/gst/tmpl/gstbasesrc.sgml:
15173 * docs/gst/tmpl/gstelement.sgml:
15174 * docs/gst/tmpl/gstevent.sgml:
15175 * docs/gst/tmpl/gstfakesrc.sgml:
15176 * docs/gst/tmpl/gstformat.sgml:
15177 * docs/gst/tmpl/gstghostpad.sgml:
15178 * docs/gst/tmpl/gstpad.sgml:
15179 * docs/gst/tmpl/gstquery.sgml:
15180 * docs/gst/tmpl/gststructure.sgml:
15181 * docs/gst/tmpl/gsttaglist.sgml:
15182 * docs/gst/tmpl/gstvalue.sgml:
15183 * docs/libs/gstreamer-libs-docs.sgml:
15184 * docs/libs/gstreamer-libs-sections.txt:
15185 * docs/libs/gstreamer-libs.types:
15186 * libs/gst/Makefile.am:
15187 * libs/gst/control/.cvsignore:
15188 * libs/gst/control/Makefile.am:
15189 * libs/gst/control/control.c:
15190 * libs/gst/control/control.h:
15191 * libs/gst/control/dparam.c:
15192 * libs/gst/control/dparam.h:
15193 * libs/gst/control/dparam_smooth.c:
15194 * libs/gst/control/dparam_smooth.h:
15195 * libs/gst/control/dparamcommon.h:
15196 * libs/gst/control/dparammanager.c:
15197 * libs/gst/control/dparammanager.h:
15198 * libs/gst/control/dplinearinterp.c:
15199 * libs/gst/control/dplinearinterp.h:
15200 * libs/gst/control/unitconvert.c:
15201 * libs/gst/control/unitconvert.h:
15202 * testsuite/Makefile.am:
15203 * testsuite/dynparams/.cvsignore:
15204 * testsuite/dynparams/Makefile.am:
15205 * testsuite/dynparams/dparamstest.c:
15206 * tools/Makefile.am:
15207 * tools/gst-inspect.c: (print_element_info), (main):
15208 * tools/gst-xmlinspect.c: (print_element_info), (main):
15209 deactivate and remove dparams (libgstcontrol)
15211 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15213 * gst/elements/gsttypefindelement.c:
15214 (gst_type_find_element_have_type), (gst_type_find_element_init),
15215 (stop_typefinding), (gst_type_find_element_handle_event),
15216 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15217 * gst/elements/gsttypefindelement.h:
15218 Set caps on all outgoing buffers, not just the first one.
15220 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15222 * gst/elements/gsttypefindelement.c:
15223 (gst_type_find_element_have_type),
15224 (gst_type_find_element_check_set_buffer_caps),
15225 (gst_type_find_element_init), (stop_typefinding),
15226 (gst_type_find_element_handle_event),
15227 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15228 * gst/elements/gsttypefindelement.h:
15229 Set caps on first outgoing buffer when we've found the type.
15231 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15233 * docs/gst/gstreamer-docs.sgml:
15234 * docs/gst/gstreamer-sections.txt:
15235 * docs/gst/tmpl/gstscheduler.sgml:
15236 * docs/gst/tmpl/gstschedulerfactory.sgml:
15237 Remove some old cruft from docs.
15239 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15242 Fix inline docs for GstPadLinkReturn.
15244 * gst/gststructure.c: (gst_structure_has_name):
15245 * gst/gststructure.h:
15246 * docs/gst/gstreamer-sections.txt:
15247 New API: gst_structure_has_name().
15249 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15252 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15253 and _LARGEFILE_SOURCE in config.h as required. Do not
15254 export those flags in our .pc files any longer (#142209).
15256 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15258 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15259 (gst_file_sink_do_seek), (gst_file_sink_event),
15260 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15261 Redo seek/tell calls with large file support in mind; add some
15262 debugging messages; add log message that tells us when large
15263 file support is unavailable or not enabled for some reason.
15265 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15266 Add log message that tells us when large file support
15267 is unavailable or not enabled for some reason.
15269 2005-07-29 Wim Taymans <wim@fluendo.com>
15271 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15272 Added test for removing an element with ghostpad from a bin.
15273 Fixed test as current implementation does the right thing.
15275 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15276 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15277 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15278 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15279 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15280 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15281 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15282 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15283 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15284 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15285 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15286 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15287 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15288 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15289 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15290 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15291 * gst/gstghostpad.h:
15292 Clean up ghostpads, remove properties for internal stuff.
15295 Prepare for switching targets, not all use cases work yet.
15297 2005-07-29 Wim Taymans <wim@fluendo.com>
15299 * docs/design/part-gstghostpad.txt:
15302 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15303 (gst_bin_remove_func):
15304 Unlinking pads while holding the bin LOCK is not a good
15307 * gst/gstpad.c: (gst_pad_class_init),
15308 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15309 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15310 No prob setting template after creating the pad.
15312 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15314 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15315 (gst_bus_peek), (gst_bus_source_dispatch),
15316 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15317 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15318 gst_bus_poll may be called from other threads. Handle
15319 this nicely by not making poll_data disappear off the
15320 stack once gst_bus_poll returns.
15321 gst_bus_peek now increments the refcount on the returned
15324 2005-07-29 Wim Taymans <wim@fluendo.com>
15326 * docs/design/part-gstghostpad.txt:
15327 Overview of current GhostPad datastructures and use
15328 cases for changing the target.
15330 2005-07-28 Wim Taymans <wim@fluendo.com>
15332 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15333 Added checks for hierarchy consistency whan adding linked
15336 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15337 Added check to test element scheduling without bin/pipeline.
15339 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15340 First add elements to bin, then link.
15342 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15343 (gst_bin_remove_func):
15344 Unlink pads from elements added/removed from bin to maintain
15345 hierarchy consistency.
15347 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15349 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15350 (gst_base_transform_handle_buffer):
15351 * gst/base/gstbasetransform.h:
15352 Remove broken delay_configure (fixes renegotiation of software
15353 scaling pipelines); remove some leftover printf()s.
15355 2005-07-28 Wim Taymans <wim@fluendo.com>
15357 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15358 Added some more tests for wrong hierarchy
15360 * docs/design/part-overview.txt:
15363 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15366 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15367 (gst_element_dispose):
15368 Some more cleanups.
15370 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15371 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15372 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15373 (gst_pad_set_caps), (gst_pad_send_event):
15374 Check for correct hierarchy when linking pads. Moving to
15375 strict requirement for ghostpads when linking elements in
15379 Clean ups. Added WRONG_HIERARCHY return value.
15381 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15383 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15384 Better debug if no transform is possible.
15386 2005-07-27 Wim Taymans <wim@fluendo.com>
15388 * docs/random/wtay/network-transp:
15389 Some old doc I had.
15391 2005-07-27 Wim Taymans <wim@fluendo.com>
15393 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15394 (gst_dp_event_from_packet):
15395 Fix serialization of seek events.
15397 2005-07-27 Wim Taymans <wim@fluendo.com>
15399 * check/gst-libs/gdp.c: (GST_START_TEST):
15400 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15401 Fix compilation and fix event serialization.
15403 2005-07-27 Wim Taymans <wim@fluendo.com>
15406 * docs/design/part-TODO.txt:
15407 * docs/design/part-events.txt:
15410 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15411 (gst_base_sink_event), (gst_base_sink_do_sync),
15412 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15413 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15414 (gst_base_src_do_seek), (gst_base_src_event_handler),
15415 (gst_base_src_loop):
15416 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15417 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15418 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15419 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15420 (gst_base_transform_set_passthrough),
15421 (gst_base_transform_is_passthrough):
15422 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15423 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15429 * gst/gstelement.c: (gst_element_seek):
15430 * gst/gstelement.h:
15431 Update gst_element_seek.
15433 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15434 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15435 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15436 (gst_event_new_eos), (gst_event_new_newsegment),
15437 (gst_event_parse_newsegment), (gst_event_new_tag),
15438 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15439 (gst_event_parse_qos), (gst_event_new_seek),
15440 (gst_event_parse_seek), (gst_event_new_navigation):
15442 Make GstEvent use GstStructure. Add parsing code, make sure the
15443 API is sufficiently generic.
15444 Mark possible directions of events and serialization.
15446 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15447 (_gst_message_copy), (gst_message_new_segment_start),
15448 (gst_message_new_segment_done), (gst_message_new_custom),
15449 (gst_message_parse_segment_start),
15450 (gst_message_parse_segment_done):
15453 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15454 (gst_pad_set_caps), (gst_pad_send_event):
15455 Update for new events.
15456 Catch events sent in wrong directions.
15458 * gst/gstqueue.c: (gst_queue_link_src),
15459 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15460 (gst_queue_handle_src_query):
15465 Remove event code from this file.
15467 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15468 (gst_dp_event_from_packet):
15471 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15473 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15474 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15475 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15476 Make debugging actually useful.
15478 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15480 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15481 (gst_pad_fixate_caps):
15482 Implement default fixation once again, so that gst_pad_fixate()
15483 actually does anything at all. This probably needs to be some
15484 sort of a last resort, and use profile-based fixation first, but
15485 since that doesn't exist yet, this is the best we have. Fixes
15486 visualization in Totem.
15488 2005-07-22 Wim Taymans <wim@fluendo.com>
15490 * docs/design/part-events.txt:
15493 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15494 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15495 (gst_base_sink_activate_pull):
15496 Some more comments.
15498 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15499 (gst_fake_src_create):
15500 Fix handoff marshall.
15502 * gst/elements/gstidentity.c: (gst_identity_class_init),
15503 (gst_identity_transform_ip):
15504 We're a real inplace element.
15506 * gst/gstbus.c: (gst_bus_post):
15507 Added some comments.
15509 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15510 * tests/muxing/case1.c: (main):
15511 * tests/sched/dynamic-pipeline.c: (main):
15512 * tests/sched/interrupt1.c: (main):
15513 * tests/sched/interrupt2.c: (main):
15514 * tests/sched/interrupt3.c: (main):
15515 * tests/sched/runxml.c: (main):
15516 * tests/sched/sched-stress.c: (main):
15517 * tests/seeking/seeking1.c: (event_received), (main):
15518 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15520 * tests/threadstate/threadstate3.c: (main):
15521 * tests/threadstate/threadstate4.c: (main):
15522 * tests/threadstate/threadstate5.c: (main):
15525 2005-07-21 Wim Taymans <wim@fluendo.com>
15527 * docs/design/part-seeking.txt:
15528 Some small additions.
15530 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15531 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15532 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15533 * gst/base/gstbasesink.h:
15534 discont values are gint64, handle the math correctly.
15536 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15537 Make the basesrc report error if the source pad is not linked.
15539 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15540 (gst_queue_loop), (gst_queue_handle_src_query),
15541 (gst_queue_src_activate_push):
15542 Make queue collect data even if the srcpad is not linked.
15543 Start pushing out data as soon as it is linked.
15545 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15547 Added gst_flow_get_name() to ease error reporting.
15549 2005-07-20 Wim Taymans <wim@fluendo.com>
15551 * gst/gstmessage.c: (gst_message_new_segment_start),
15552 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15553 (gst_message_parse_segment_done):
15554 * gst/gstmessage.h:
15555 Added a bunch of messages for advanced seeking.
15557 * gst/parse/grammar.y:
15558 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15559 (gst_dpman_state_changed):
15560 Fix some new-pad -> pad-added signals
15562 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15564 * docs/manual/appendix-porting.xml:
15565 * docs/pwg/appendix-porting.xml:
15566 Document new-pad/state-change signal renames and the FixedList
15569 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15571 * docs/manual/advanced-autoplugging.xml:
15572 * docs/manual/basics-helloworld.xml:
15573 * docs/manual/basics-pads.xml:
15574 * docs/random/ds/0.9-suggested-changes:
15575 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15576 * gst/gstelement.h:
15580 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15581 (gst_structure_parse_array), (gst_structure_parse_value):
15582 * gst/gstvalue.c: (gst_type_is_fixed),
15583 (gst_value_list_prepend_value), (gst_value_list_append_value),
15584 (gst_value_list_get_size), (gst_value_list_get_value),
15585 (gst_value_transform_array_string), (gst_value_serialize_array),
15586 (gst_value_deserialize_array), (gst_value_intersect_array),
15587 (gst_value_is_fixed), (_gst_value_initialize):
15589 GstElement::new-pad -> pad-added, GstElement::state-change ->
15590 state-changed, GstValueFixedList -> GstValueArray, add format and
15591 flags as their own arguments in gst_element_seek() (should improve
15592 "bindeability"), remove function generators since they don't work
15593 under a whole bunch of compilers (they were deprecated already
15596 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15598 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15599 (_gst_debug_register_funcptr):
15601 Fix illegal cast on some platforms (#309253).
15603 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15605 * gst/gstmessage.c: (gst_message_new_custom):
15606 * gst/gstmessage.h:
15607 Add _new_custom, make _new_application a macro to _new_custom.
15609 2005-07-20 Wim Taymans <wim@fluendo.com>
15611 * gst/base/gstbasesrc.c: (gst_base_src_init),
15612 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15613 * gst/base/gstbasesrc.h:
15614 Add a gboolean to decide when to push out a discont.
15616 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15617 (gst_queue_loop), (gst_queue_handle_src_query),
15618 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15619 (gst_queue_set_property), (gst_queue_get_property):
15622 * tests/threadstate/threadstate1.c: (main):
15623 Make a thread test compile and run... very silly..
15626 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15628 * docs/manual/appendix-porting.xml:
15629 Mention removal of libgstgconf-0.9.la and existence of gconf
15632 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15634 * docs/pwg/advanced-clock.xml:
15635 * docs/pwg/appendix-porting.xml:
15636 * docs/pwg/intro-preface.xml:
15637 * docs/pwg/other-base.xml:
15638 * docs/pwg/other-manager.xml:
15639 * docs/pwg/other-nton.xml:
15640 * docs/pwg/other-ntoone.xml:
15641 * docs/pwg/other-oneton.xml:
15642 * docs/pwg/pwg.xml:
15643 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15644 demuxer), remove n-to-n (was never written), fix some code examples
15645 and links and update the porting section to include all this.
15647 2005-07-19 Wim Taymans <wim@fluendo.com>
15649 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15650 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15651 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15652 (gst_queue_src_activate_push), (gst_queue_change_state),
15653 (gst_queue_get_property):
15655 Propagate GstFlowReturn more intelligently upstream and output
15656 an ERROR/EOS when streaming stopped due to fatal error.
15658 2005-07-19 Wim Taymans <wim@fluendo.com>
15660 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15661 Don't block forever for the state change to complete, the
15662 pipeline already did with a sensible timeout.
15664 2005-07-19 Wim Taymans <wim@fluendo.com>
15666 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15667 Make sure we never call the create function is we
15670 2005-07-19 Andy Wingo <wingo@pobox.com>
15672 * gst/parse/parse.l: Attempt to solve bug #172815.
15674 2005-07-19 Wim Taymans <wim@fluendo.com>
15676 * docs/design/part-clocks.txt:
15677 * docs/design/part-events.txt:
15678 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15679 Small docs updates.
15680 Only update the seeking values when we are not
15683 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15685 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15686 Oops, ignore the result of gst_pad_push_event here.
15688 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15690 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15691 (gst_base_src_activate_push):
15692 Send discont event from the loop function, as pads
15693 aren't activated yet in the activate_push handler.
15695 * gst/gstbin.c: (bin_bus_handler):
15696 Don't leak element name.
15698 2005-07-18 Andy Wingo <wingo@pobox.com>
15700 * configure.ac: Use AS_LIBTOOL_TAGS.
15702 2005-07-18 Wim Taymans <wim@fluendo.com>
15704 * docs/gst/gstreamer.types:
15705 Remove deleted types.
15707 2005-07-18 Wim Taymans <wim@fluendo.com>
15709 * check/elements/gstfakesrc.c: (GST_START_TEST):
15712 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15713 (init_popt_callback):
15715 * gst/gst_private.h:
15716 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15717 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15720 * gst/gstconfig.h.in:
15721 * gst/gstelement.c: (gst_element_class_init),
15722 (gst_element_set_base_time), (gst_element_get_base_time),
15723 (iterator_fold_with_resync), (gst_element_change_state),
15724 (gst_element_dispose), (gst_element_get_bus):
15725 * gst/gstelement.h:
15726 * gst/gstelementfactory.h:
15727 * gst/gsterror.c: (_gst_core_errors_init):
15730 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15732 * gst/gstinfo.c: (_gst_debug_init):
15733 * gst/gstmessage.c: (_gst_message_copy):
15734 * gst/gstmessage.h:
15735 * gst/gstminiobject.h:
15738 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15739 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15742 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15743 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15744 (gst_pipeline_get_last_stream_time):
15745 * gst/gstpipeline.h:
15746 * gst/gstpluginfeature.h:
15748 * gst/gstscheduler.c:
15749 * gst/gstscheduler.h:
15750 * gst/gststructure.h:
15751 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15752 (gst_task_finalize), (gst_task_func), (gst_task_create),
15753 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15754 (gst_task_stop), (gst_task_pause):
15756 * gst/gsttypefind.h:
15758 * gst/registries/gstlibxmlregistry.c: (load_feature),
15759 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15760 * gst/registries/gstxmlregistry.c:
15761 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15762 * gst/schedulers/threadscheduler.c:
15763 * libs/gst/control/dparammanager.h:
15764 * tools/gst-inspect.c: (print_element_list),
15765 (print_plugin_features), (print_element_features):
15766 * tools/gst-xmlinspect.c: (print_element_list),
15767 (print_plugin_info), (main):
15768 Removed plugable schedulers.
15769 Removed Scheduler/Manager from elements.
15770 Removed gsttypes.h, rearranged includes.
15771 Removed dependency pad<->element, element<>pipeline, and
15772 various others, fix includes.
15773 implement gst_pad_get_parent() with gst_object_get_parent()
15774 Make GstTask sefcontained.
15775 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15777 Fix endless loop in iterator_fold_with_resync.
15780 2005-07-18 Wim Taymans <wim@fluendo.com>
15786 2005-07-18 Wim Taymans <wim@fluendo.com>
15789 No more cothreads.h
15791 2005-07-18 Wim Taymans <wim@fluendo.com>
15795 Let's remove these.
15797 2005-07-18 Wim Taymans <wim@fluendo.com>
15799 * docs/design/part-dynamic.txt:
15800 * docs/design/part-events.txt:
15801 * docs/design/part-seeking.txt:
15802 Some more docs in the works.
15804 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15805 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15806 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15807 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15808 (gst_base_transform_handle_buffer),
15809 (gst_base_transform_sink_activate_push),
15810 (gst_base_transform_src_activate_pull),
15811 (gst_base_transform_set_passthrough),
15812 (gst_base_transform_is_passthrough):
15815 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15818 * gst/gstevent.c: (gst_event_finalize):
15821 * gst/gstutils.c: (gst_element_unlink),
15822 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15823 (gst_pad_proxy_setcaps):
15825 Add _get_parent_element() to get a pads parent as an element.
15827 2005-07-18 Wim Taymans <wim@fluendo.com>
15829 * check/gst/gstbin.c: (GST_START_TEST):
15832 2005-07-18 Wim Taymans <wim@fluendo.com>
15834 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15835 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15836 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15837 (gst_base_sink_event), (gst_base_sink_do_sync),
15838 (gst_base_sink_chain), (gst_base_sink_loop),
15839 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15840 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15842 Fix logic for returning ASYNC when not prerolled.
15844 2005-07-18 Wim Taymans <wim@fluendo.com>
15846 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15847 Fix nasty refcount bug.
15849 2005-07-16 Philippe Khalaf <burger@speedy.org>
15851 * gst/elements/gstfdsrc.c:
15852 * gst/elements/gstfdsrc.h:
15853 * gst/elements/gstelements.c:
15854 * gst/elements/Makefile.am:
15855 Ported fdsrc to 0.9.
15857 2005-07-16 Wim Taymans <wim@fluendo.com>
15859 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15860 (gst_base_sink_do_sync):
15863 2005-07-16 Wim Taymans <wim@fluendo.com>
15865 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15866 (gst_base_sink_event), (gst_base_sink_get_times),
15867 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15868 * gst/base/gstbasesink.h:
15869 Store and use discont values when syncing buffers as described
15872 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15873 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15874 (gst_base_src_activate_push):
15875 Push discont event when starting.
15877 * gst/elements/gstidentity.c: (gst_identity_transform):
15880 * gst/gstbin.c: (gst_bin_change_state):
15881 Small cleanups in base_time distribution.
15883 * gst/gstelement.c: (gst_element_set_base_time),
15884 (gst_element_get_base_time), (gst_element_change_state):
15885 * gst/gstelement.h:
15886 Added methods for the base_time of the element.
15889 * gst/gstpipeline.c: (gst_pipeline_send_event),
15890 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15891 (gst_pipeline_get_last_stream_time):
15892 * gst/gstpipeline.h:
15894 Handle seeking as described in design doc, remove stream_time
15896 Cleanups clock and stream_time selection code. Added accessors
15897 for the stream_time.
15900 2005-07-16 Andy Wingo <wingo@pobox.com>
15902 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15905 2005-07-16 Wim Taymans <wim@fluendo.com>
15907 * check/gst/gstbin.c: (GST_START_TEST):
15908 Make elements silent as the deep_notify refs the
15909 parent, which might make the test fail.
15911 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15912 Don't hold the lock for too long.
15914 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15916 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15917 Don't unref the caps we passed to gst_caps_make_writable() after
15918 passing them. gst_caps_make_writable() will do that for us.
15920 2005-07-15 Andy Wingo <wingo@pobox.com>
15922 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15925 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15926 own marshalling function for the handoff signal. Properly type the
15927 buffer as a buffer. Fixes some warnings. Should do a more general
15929 (gst_identity_class_init): Plug into the right marshaller.
15931 2005-07-15 Wim Taymans <wim@fluendo.com>
15933 * docs/design/part-TODO.txt:
15934 * docs/design/part-clocks.txt:
15935 * docs/design/part-element-sink.txt:
15936 * docs/design/part-events.txt:
15937 * docs/design/part-gstpipeline.txt:
15938 Updated docs, mostly DISCONT related.
15940 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
15942 * docs/pwg/building-pads.xml:
15943 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15945 2005-07-15 Andy Wingo <wingo@pobox.com>
15947 * tools/gst-typefind.c: Update, add copyright block.
15949 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15950 Normalize and truncate caps before fixation.
15953 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15954 discards all but the first structure from its argument.
15956 2005-07-15 Wim Taymans <wim@fluendo.com>
15958 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15959 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15960 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15961 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15962 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15963 (gst_base_transform_chain), (gst_base_transform_change_state),
15964 (gst_base_transform_set_passthrough),
15965 (gst_base_transform_is_passthrough):
15966 * gst/base/gstbasetransform.h:
15967 Make passthrough work using the bufferpools.
15968 Changed API a bit, subclasses have to write into a buffer
15969 provided by the base class.
15970 More debug info in nego functions.
15972 * gst/elements/gstidentity.c: (gst_identity_init),
15973 (gst_identity_transform):
15974 Port to new base class.
15976 2005-07-15 Wim Taymans <wim@fluendo.com>
15978 * gst/gstmessage.c: (gst_message_new_state_changed):
15979 * tools/gst-launch.c: (event_loop), (main):
15980 Totally dump messages in -launch with the -m option.
15981 Fix message name for State messages,
15983 2005-07-14 Wim Taymans <wim@fluendo.com>
15985 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15986 Post error messages on errors.
15988 2005-07-14 Wim Taymans <wim@fluendo.com>
15990 * gst/gstcaps.c: (gst_caps_do_simplify):
15994 Define error for stream stopped.
15996 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15997 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15998 Do proper return values.
16000 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16001 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16002 (gst_pad_get_range):
16003 Better return values.
16006 Reorganise return values, add macro to check for fatal errors.
16008 * gst/gstqueue.c: (gst_queue_chain):
16009 Return proper GstFlowReturn values,
16011 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16013 * docs/gst/gstreamer-sections.txt:
16014 * docs/gst/gstreamer.types:
16015 * docs/gst/tmpl/gst.sgml:
16016 * docs/gst/tmpl/gstbasesink.sgml:
16017 * docs/gst/tmpl/gstbasesrc.sgml:
16018 * docs/gst/tmpl/gstbasetransform.sgml:
16019 * docs/gst/tmpl/gstbin.sgml:
16020 * docs/gst/tmpl/gstbuffer.sgml:
16021 * docs/gst/tmpl/gstcaps.sgml:
16022 * docs/gst/tmpl/gstclock.sgml:
16023 * docs/gst/tmpl/gstcompat.sgml:
16024 * docs/gst/tmpl/gstconfig.sgml:
16025 * docs/gst/tmpl/gstelement.sgml:
16026 * docs/gst/tmpl/gstelementdetails.sgml:
16027 * docs/gst/tmpl/gstelementfactory.sgml:
16028 * docs/gst/tmpl/gstenumtypes.sgml:
16029 * docs/gst/tmpl/gsterror.sgml:
16030 * docs/gst/tmpl/gstevent.sgml:
16031 * docs/gst/tmpl/gstfakesink.sgml:
16032 * docs/gst/tmpl/gstfakesrc.sgml:
16033 * docs/gst/tmpl/gstfilesink.sgml:
16034 * docs/gst/tmpl/gstfilesrc.sgml:
16035 * docs/gst/tmpl/gstfilter.sgml:
16036 * docs/gst/tmpl/gstformat.sgml:
16037 * docs/gst/tmpl/gstghostpad.sgml:
16038 * docs/gst/tmpl/gstimplementsinterface.sgml:
16039 * docs/gst/tmpl/gstindex.sgml:
16040 * docs/gst/tmpl/gstindexfactory.sgml:
16041 * docs/gst/tmpl/gstinfo.sgml:
16042 * docs/gst/tmpl/gstiterator.sgml:
16043 * docs/gst/tmpl/gstmacros.sgml:
16044 * docs/gst/tmpl/gstmemchunk.sgml:
16045 * docs/gst/tmpl/gstminiobject.sgml:
16046 * docs/gst/tmpl/gstobject.sgml:
16047 * docs/gst/tmpl/gstpad.sgml:
16048 * docs/gst/tmpl/gstpadtemplate.sgml:
16049 * docs/gst/tmpl/gstparse.sgml:
16050 * docs/gst/tmpl/gstpipeline.sgml:
16051 * docs/gst/tmpl/gstplugin.sgml:
16052 * docs/gst/tmpl/gstpluginfeature.sgml:
16053 * docs/gst/tmpl/gstquery.sgml:
16054 * docs/gst/tmpl/gstqueue.sgml:
16055 * docs/gst/tmpl/gstregistry.sgml:
16056 * docs/gst/tmpl/gstregistrypool.sgml:
16057 * docs/gst/tmpl/gstscheduler.sgml:
16058 * docs/gst/tmpl/gstschedulerfactory.sgml:
16059 * docs/gst/tmpl/gststructure.sgml:
16060 * docs/gst/tmpl/gstsystemclock.sgml:
16061 * docs/gst/tmpl/gsttaglist.sgml:
16062 * docs/gst/tmpl/gsttagsetter.sgml:
16063 * docs/gst/tmpl/gsttrace.sgml:
16064 * docs/gst/tmpl/gsttrashstack.sgml:
16065 * docs/gst/tmpl/gsttypefind.sgml:
16066 * docs/gst/tmpl/gsttypefindfactory.sgml:
16067 * docs/gst/tmpl/gsttypes.sgml:
16068 * docs/gst/tmpl/gsturihandler.sgml:
16069 * docs/gst/tmpl/gsturitype.sgml:
16070 * docs/gst/tmpl/gstutils.sgml:
16071 * docs/gst/tmpl/gstvalue.sgml:
16072 * docs/gst/tmpl/gstversion.sgml:
16073 * docs/gst/tmpl/gstxml.sgml:
16074 * docs/libs/tmpl/gstcontrol.sgml:
16075 * docs/libs/tmpl/gstdataprotocol.sgml:
16076 * docs/libs/tmpl/gstdparam.sgml:
16077 * docs/libs/tmpl/gstdplinint.sgml:
16078 * docs/libs/tmpl/gstdpman.sgml:
16079 * docs/libs/tmpl/gstdpsmooth.sgml:
16080 * docs/libs/tmpl/gstgetbits.sgml:
16081 * docs/libs/tmpl/gstunitconvert.sgml:
16082 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16083 (gst_push_src_base_init), (gst_push_src_class_init),
16084 (gst_push_src_init), (gst_push_src_create):
16085 * gst/base/gstpushsrc.h:
16086 * gst/elements/gstelements.c:
16087 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16088 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16089 (gst_fake_sink_init), (gst_fake_sink_set_property),
16090 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16091 (gst_fake_sink_event), (gst_fake_sink_preroll),
16092 (gst_fake_sink_render), (gst_fake_sink_change_state):
16093 * gst/elements/gstfakesink.h:
16094 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16095 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16096 (gst_fake_src_base_init), (gst_fake_src_class_init),
16097 (gst_fake_src_init), (gst_fake_src_event_handler),
16098 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16099 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16100 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16101 (gst_fake_src_create_buffer), (gst_fake_src_create),
16102 (gst_fake_src_start), (gst_fake_src_stop):
16103 * gst/elements/gstfakesrc.h:
16104 * gst/elements/gstfilesink.c: (_do_init),
16105 (gst_file_sink_base_init), (gst_file_sink_class_init),
16106 (gst_file_sink_init), (gst_file_sink_dispose),
16107 (gst_file_sink_set_location), (gst_file_sink_set_property),
16108 (gst_file_sink_get_property), (gst_file_sink_open_file),
16109 (gst_file_sink_close_file), (gst_file_sink_query),
16110 (gst_file_sink_event), (gst_file_sink_render),
16111 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16112 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16113 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16114 * gst/elements/gstfilesink.h:
16115 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16116 (gst_file_src_class_init), (gst_file_src_init),
16117 (gst_file_src_finalize), (gst_file_src_set_location),
16118 (gst_file_src_set_property), (gst_file_src_get_property),
16119 (gst_file_src_map_region), (gst_file_src_map_small_region),
16120 (gst_file_src_create_mmap), (gst_file_src_create_read),
16121 (gst_file_src_create), (gst_file_src_is_seekable),
16122 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16123 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16124 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16125 (gst_file_src_uri_handler_init):
16126 * gst/elements/gstfilesrc.h:
16127 more autistic cleanliness in functions/names/defines
16129 2005-07-13 Andy Wingo <wingo@pobox.com>
16131 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16132 source couldn't negotiate.
16134 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16138 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16139 function. I am channeling Hades. Put your boots on suckers!!!
16141 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16143 * testsuite/caps/Makefile.am:
16144 * testsuite/caps/value_compare.c:
16145 * testsuite/caps/value_intersect.c:
16146 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16147 move two testsuite apps over to the check dir
16149 2005-07-12 Wim Taymans <wim@fluendo.com>
16151 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16152 Added more debug info in the negotiate process.
16154 * gst/gstmessage.h:
16155 Prepare for segment playback.
16157 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16163 * tools/gst-launch.c: (main):
16164 NULL pipeline on errors.
16166 2005-07-12 Andy Wingo <wingo@pobox.com>
16168 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16169 not it comes from a malloc region. Make sure our copy gets freed.
16171 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16173 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16174 * check/gst/gstmessage.c: (GST_START_TEST):
16175 * check/gst/gststructure.c: (GST_START_TEST),
16176 (gst_structure_suite), (main):
16178 * gst/gstelement.c: (gst_element_message_full):
16179 clean up GError and debug string now that they get copied
16180 * gst/gstmessage.c: (gst_message_new_error),
16181 (gst_message_new_warning), (gst_message_parse_error),
16182 (gst_message_parse_warning):
16183 use GST_TYPE_G_ERROR for structure_new, and take copies of
16184 arguments, so that we don't mess up refcounting
16186 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16188 * check/Makefile.am:
16189 add per-test valgrind targets
16190 * check/gst-libs/gdp.c: (GST_START_TEST),
16191 (gst_data_protocol_suite), (main):
16194 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16196 * check/Makefile.am:
16197 instate more valgrindable tests
16198 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16199 (GST_START_TEST), (fakesrc_suite):
16200 * check/gst/gstpad.c: (GST_START_TEST):
16201 * check/gst/gststructure.c: (GST_START_TEST):
16203 * docs/gst/tmpl/gstminiobject.sgml:
16204 * gst/gstpad.c: (gst_pad_finalize):
16205 fix the static mutex leak
16207 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16209 * check/Makefile.am:
16210 add two more tests for valgrinding
16211 * check/gst/gstvalue.c: (GST_START_TEST):
16212 test refcount of deserialized buffer, found a leak
16213 * docs/gst/gstreamer-docs.sgml:
16214 * docs/gst/gstreamer-sections.txt:
16215 * docs/gst/gstreamer.types:
16216 * docs/gst/tmpl/gstminiobject.sgml:
16217 add miniobject to docs
16218 * gst/gstminiobject.c:
16220 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16221 (gst_string_unwrap):
16222 fix a hard-to-find invalid write for one of the tests
16223 fix a leak for deserialized buffers
16225 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16227 * docs/pwg/advanced-events.xml:
16228 * docs/pwg/advanced-request.xml:
16229 * docs/pwg/advanced-scheduling.xml:
16230 * docs/pwg/appendix-porting.xml:
16231 * docs/pwg/building-boiler.xml:
16232 * docs/pwg/intro-preface.xml:
16233 * docs/pwg/other-ntoone.xml:
16234 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16235 of example code and explanation for pad activation, loop() and
16236 getrange() functions and a bit more. Remove old comments pointing
16238 * examples/pwg/Makefile.am:
16239 Add loop/getrange examples.
16241 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16244 check for valgrind binary + some fixes
16246 valgrind suppressions for the tests
16247 * check/Makefile.am:
16248 add a valgrind: target that valgrinds the unit tests
16249 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16250 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16251 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16252 * check/gst/gstghostpad.c:
16254 * check/gst/gstdata.c:
16256 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16257 (thread_unref), (gst_mini_object_suite), (main):
16259 * gst/gst.c: (gst_deinit):
16261 add a method to clean up.
16262 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16263 (gst_system_clock_obtain):
16264 allow for disposing the system clock.
16265 * tools/gst-launch.c: (main):
16268 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16270 * docs/gst/tmpl/gstbasesrc.sgml:
16271 * docs/gst/tmpl/gstfakesrc.sgml:
16272 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16273 (gst_base_src_init), (gst_base_src_set_property),
16274 (gst_base_src_get_property), (gst_base_src_get_range),
16275 (gst_base_src_start):
16276 * gst/base/gstbasesrc.h:
16277 add num-buffers property
16278 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16279 (gst_fakesrc_init), (gst_fakesrc_set_property),
16280 (gst_fakesrc_get_property), (gst_fakesrc_create),
16281 (gst_fakesrc_start):
16282 remove num-buffers property
16284 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16286 * docs/gst/gstreamer-sections.txt:
16287 * docs/gst/tmpl/gstbasesink.sgml:
16288 * docs/gst/tmpl/gstbasesrc.sgml:
16289 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16290 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16291 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16292 (gst_base_sink_set_property), (gst_base_sink_get_property),
16293 (gst_base_sink_handle_object), (gst_base_sink_event),
16294 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16295 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16296 (gst_base_sink_loop), (gst_base_sink_deactivate),
16297 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16298 (gst_base_sink_change_state):
16299 * gst/base/gstbasesink.h:
16300 * gst/base/gstbasesrc.h:
16301 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16302 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16303 (gst_filesink_init):
16304 more macro splitting
16306 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16308 * gst/gstelement.c: (gst_element_get_bus):
16310 * tools/gst-launch.c: (check_intr), (event_loop):
16313 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16315 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16318 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16320 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16321 (gst_base_src_finalize):
16322 add finalize method and clean up properly
16323 * gst/gstpipeline.c: (gst_pipeline_dispose):
16326 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16328 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16330 add more things to check
16331 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16332 * gst/gstelement.c:
16335 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16337 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16338 (GST_START_TEST), (fakesrc_suite):
16339 * check/gst-libs/gdp.c: (GST_START_TEST):
16340 * check/gst/gst.c: (GST_START_TEST):
16341 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16342 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16343 * check/gst/gstbus.c: (GST_START_TEST):
16344 * check/gst/gstcaps.c: (GST_START_TEST):
16345 * check/gst/gstdata.c: (GST_START_TEST):
16346 * check/gst/gstelement.c: (GST_START_TEST):
16347 * check/gst/gstghostpad.c: (GST_START_TEST):
16348 * check/gst/gstiterator.c: (GST_START_TEST):
16349 * check/gst/gstmessage.c: (GST_START_TEST):
16350 * check/gst/gstobject.c: (GST_START_TEST):
16351 * check/gst/gstpad.c: (GST_START_TEST):
16352 * check/gst/gststructure.c: (GST_START_TEST):
16353 * check/gst/gstsystemclock.c: (GST_START_TEST),
16354 (gst_systemclock_suite):
16355 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16356 * check/gst/gstvalue.c: (GST_START_TEST):
16357 * check/pipelines/cleanup.c: (GST_START_TEST):
16358 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16359 * check/states/sinks.c: (GST_START_TEST):
16360 * check/gstcheck.c: (gst_check_init):
16361 * check/gstcheck.h:
16362 add debugging category
16363 use GST_START_TEST now, so we add a debug line
16365 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16367 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16368 add test for state change message on a bin
16369 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16371 * gst/gstbin.c: (gst_bin_init):
16372 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16373 * gst/gstelement.c: (gst_element_post_message),
16374 (gst_element_set_state):
16375 * gst/gstelementfactory.c: (gst_element_factory_create):
16376 * gst/gstmessage.c: (gst_message_new):
16377 * gst/gstscheduler.c:
16378 various debugging additions and cleanups
16380 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16382 * check/Makefile.am:
16383 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16385 adding tests for elements
16386 * gst/gstelement.c: (gst_element_dispose):
16388 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16390 * gst/registries/gstlibxmlregistry.c: (load_feature):
16391 plug more leaks. A simple gst_init() now is leakfree, yay.
16393 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16395 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16396 (gst_xml_registry_load):
16397 plug another memleak
16399 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16402 use GST_SET_ERROR_CFLAGS
16403 * docs/faq/cvs.xml:
16404 change to ERROR_CFLAGS
16406 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16409 make GST_ERROR_CFLAGS overridable and re-enable Werror
16410 * docs/faq/cvs.xml:
16411 add a note about error CFLAGS
16412 * docs/gst/tmpl/gstfakesrc.sgml:
16413 * gst/elements/gstfakesrc.c:
16414 comment out some unused code
16415 * gst/gst.c: (split_and_iterate):
16416 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16420 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16422 * common/Makefile.am:
16423 * common/gtk-doc.mak:
16424 * docs/gst/Makefile.am:
16425 factor out gtk-doc.mak
16427 2005-07-07 Wim Taymans <wim@fluendo.com>
16429 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16430 (gst_thread_scheduler_dispose):
16431 Unlock the STREAM_LOCK completely.
16433 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16435 * check/Makefile.am:
16436 * check/elements/.cvsignore:
16437 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16438 (START_TEST), (fakesrc_suite), (main):
16439 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16440 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16441 (gst_fakesrc_create), (gst_fakesrc_start):
16442 * gst/elements/gstfakesrc.h:
16443 adding a first element test
16445 2005-07-07 Andy Wingo <wingo@pobox.com>
16447 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16450 2005-07-07 Wim Taymans <wim@fluendo.com>
16456 2005-07-07 Wim Taymans <wim@fluendo.com>
16458 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16459 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16460 Allow subclasses to implement their own negotiation.
16462 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16464 * docs/design/part-gstbin.txt:
16465 * docs/design/part-gstpipeline.txt:
16466 Update design notes to reflect the movement of
16467 responsibility for bus handling from GstPipeline to
16470 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16473 Remove unnecessary queue2/3/4 examples.
16475 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16477 * examples/Makefile.am:
16478 * examples/helloworld/helloworld.c: (event_loop), (main):
16479 * examples/queue/queue.c: (event_loop), (main):
16480 * examples/queue2/queue2.c: (main):
16481 Update a couple of the examples to work again.
16483 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16484 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16485 Spelling corrections and extra debug.
16487 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16488 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16489 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16491 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16492 (gst_pipeline_change_state):
16493 * gst/gstpipeline.h:
16494 Move the bus handler for children to the GstBin, and create a
16495 separate bus for receiving messages from children to the one the
16496 bus sends 'upwards' on.
16498 2005-07-06 Wim Taymans <wim@fluendo.com>
16501 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16502 (gst_base_sink_handle_object), (gst_base_sink_loop),
16503 (gst_base_sink_change_state):
16504 * gst/base/gstbasesink.h:
16505 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16506 (gst_base_src_init), (gst_base_src_setcaps),
16507 (gst_base_src_getcaps), (gst_base_src_loop),
16508 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16509 (gst_base_src_start), (gst_base_src_change_state):
16510 * gst/base/gstbasesrc.h:
16511 Make basesrc negotiate.
16512 Handle the case where preroll fails in basesink.
16515 2005-07-06 Wim Taymans <wim@fluendo.com>
16517 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16518 Implement the fixate function.
16519 Clean up acceptcaps.
16521 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16523 * docs/pwg/building-filterfactory.xml:
16524 * docs/pwg/pwg.xml:
16525 Remove never-written filter-factory chapter; I'll add the various
16526 base classes to part 4 ("other element types") later on.
16528 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16530 * docs/pwg/advanced-negotiation.xml:
16531 * docs/pwg/building-boiler.xml:
16532 * docs/pwg/building-pads.xml:
16533 * docs/pwg/pwg.xml:
16534 * examples/pwg/Makefile.am:
16535 Add a chapter on caps negotiation, simplify the original code
16536 samples a bit w.r.t. caps negotiation, add link to the advanced
16537 section. Add a bunch of examples showing different use cases of
16538 different types of caps negotiation. Upstream renegotiation isn't
16539 fully documented yet since nobody knows how that works.
16541 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16543 * check/gst/gstpad.c:
16544 * check/gstcheck.c:
16545 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16546 if pad has no parent, return NULL as list of internal links
16548 2005-07-05 Andy Wingo <wingo@pobox.com>
16550 * gst/elements/gstfilesrc.c:
16551 * gst/elements/gstfakesrc.c:
16552 * gst/base/gstpushsrc.c:
16553 * gst/base/gstbasesrc.h:
16554 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16556 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16559 better report generation target (lcov needs a patch)
16561 2005-07-05 Andy Wingo <wingo@pobox.com>
16563 * gst/elements, testsuite: Null if we got it...
16565 2005-07-05 Wim Taymans <wim@fluendo.com>
16568 * libs/gst/dataprotocol/Makefile.am:
16569 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16570 * libs/gst/dataprotocol/dataprotocol.h:
16571 * pkgconfig/Makefile.am:
16572 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16573 * pkgconfig/gstreamer-dataprotocol.pc.in:
16574 Ported dataprotol to 0.9.
16575 Added pkgconfig files.
16577 2005-07-05 Andy Wingo <wingo@pobox.com>
16579 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16580 Default to returning TRUE for the case when tranform_caps returns
16581 a fixed caps, like for identity or volume.
16583 * check/gst/gstbus.c (pound_bus_with_messages):
16584 * check/gst/gstmessage.c (START_TEST):
16585 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16586 message API change.
16588 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16589 logic weaks here: always run transform_caps, trying passthrough
16590 operation only if the original caps intersects with the transform.
16592 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16593 source and sink caps.
16595 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16596 Intersect the peer caps with the pad template before going into
16598 (gst_base_transform_transform_caps): More debugging.
16600 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16603 2005-07-04 Edward Hervey <edward@fluendo.com>
16607 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16610 2005-07-04 Andy Wingo <wingo@pobox.com>
16612 * check/gst/gstpad.c: Only set explicit caps on pads.
16614 2005-07-01 Andy Wingo <wingo@pobox.com>
16616 * tests/network-clock.scm: Commentary update.
16618 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16619 Didn't really make sense, not implementable with basetransform,
16621 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16622 attempt at implementing the sync property, needs an unlock method.
16624 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16625 New func, by default returns the same caps (the identity
16627 (gst_base_transform_getcaps): Uses transform_caps to return
16628 something sensible.
16629 (gst_base_transform_setcaps): Complicated logic to get caps on
16630 both pads, even if they are different, and to call set_caps once
16631 for every time both pads get their caps set.
16632 (gst_base_transform_handle_buffer): Give the ref to the transform
16633 function. Allows in-place modification of the buffer.
16635 * gst/base/gstbasetransform.h (transform_caps): New class method.
16636 Given caps on one side, what can I do on the other.
16637 (set_caps): Take two caps, one for each side of the element.
16640 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16641 caps in place. This is safe because we can check the mutability of
16642 the caps, and a good idea because fixate functions are just called
16643 as a matter of last resort. (Not actually implemented.)
16644 (gst_pad_set_caps): If the caps we're setting is actually the same
16645 as the existing pad caps, just update the pointer without calling
16646 setcaps. Assert that caps is either NULL or fixed, as per the
16649 * gst/gstghostpad.c: Update for fixate changes.
16651 2005-07-02 Andy Wingo <wingo@pobox.com>
16654 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16655 two refcounts makes it immutable, which is enough. Doc more.
16657 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16659 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16660 Put the mini_object into GValue as a mini_object,
16661 not a gpointer, since that's how we declared
16664 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16666 * examples/pwg/Makefile.am:
16667 Fix buildbot again.
16669 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16671 * docs/pwg/building-testapp.xml:
16673 * examples/pwg/Makefile.am:
16676 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16679 * examples/Makefile.am:
16680 * examples/pwg/Makefile.am:
16681 * examples/pwg/extract.pl:
16682 Enable building the PWG examples.
16683 * docs/pwg/advanced-interfaces.xml:
16684 Add URI interface stub.
16685 * docs/pwg/advanced-types.xml:
16686 * docs/pwg/other-autoplugger.xml:
16687 * docs/pwg/appendix-porting.xml:
16688 * docs/pwg/pwg.xml:
16689 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16690 * docs/pwg/building-boiler.xml:
16691 * docs/pwg/building-chainfn.xml:
16692 * docs/pwg/building-pads.xml:
16693 * docs/pwg/building-props.xml:
16694 * docs/pwg/building-state.xml:
16695 * docs/pwg/building-testapp.xml:
16696 Update the building-*.xml parts for 0.9 changes. All examples
16697 code blocks compile in examples/pwg/*.
16699 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16701 * docs/manual/advanced-autoplugging.xml:
16702 * docs/manual/appendix-checklist.xml:
16703 * docs/manual/appendix-integration.xml:
16704 * docs/manual/highlevel-components.xml:
16705 Fix playbin/decodebin examples, update docs a bit, mention bus
16706 instead of signals in various places, mention kmplayer and
16707 kaffeine since they have a working GStreamer backend in the KDE
16710 2005-06-30 Wim Taymans <wim@fluendo.com>
16713 * docs/design/draft-ghostpads.txt:
16714 * docs/design/draft-push-pull.txt:
16715 * docs/design/draft-query.txt:
16716 * docs/design/part-TODO.txt:
16717 * docs/design/part-query.txt:
16718 Added CHANGES-0.9 doc, updated status of other docs.
16723 2005-06-30 Wim Taymans <wim@fluendo.com>
16725 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16726 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16727 (gst_base_sink_change_state):
16728 * gst/base/gstbasesink.h:
16729 Some tweaks, only EOS and a buffer complete a preroll.
16731 2005-06-30 Andy Wingo <wingo@pobox.com>
16733 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16734 activate_push down to the internal pad as well.
16736 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16738 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16740 * gst/gsttaginterface.c:
16741 Some documentation fixes (#307394 and #307397).
16743 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16745 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16747 * gst/gstvalue.c: (gst_value_intersect_list):
16748 Fix memleak (#309125).
16750 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16752 * docs/manual/advanced-dataaccess.xml:
16753 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16754 * docs/manual/basics-pads.xml:
16755 Add reference for filtered caps to above chapter.
16757 2005-06-30 Wim Taymans <wim@fluendo.com>
16759 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16760 (gst_bin_change_state):
16762 Lame attempt at making the state change function a bit
16765 2005-06-30 Wim Taymans <wim@fluendo.com>
16767 * docs/design/part-clocks.txt:
16768 * docs/design/part-element-sink.txt:
16769 * docs/design/part-events.txt:
16770 * docs/design/part-preroll.txt:
16771 * docs/design/part-states.txt:
16772 Some more tweeks and additions to the docs.
16774 2005-06-30 Wim Taymans <wim@fluendo.com>
16776 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16777 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16778 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16779 (gst_pad_check_pull_range), (gst_pad_get_range),
16780 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16782 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16783 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16784 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16785 (gst_pad_remove_buffer_probe):
16786 Removed atomic operations, use existing LOCK.
16787 Move exception handling out of main code path.
16789 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16791 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16792 (silly_return_true_function), (gst_pad_class_init),
16793 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16794 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16795 (gst_pad_send_event):
16796 Fix accumulator, add default value by using _emitv() instead
16797 of _emit() for signal emission.
16799 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16801 * docs/manual/advanced-dataaccess.xml:
16802 * examples/manual/Makefile.am:
16804 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16807 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16809 * gst/elements/gstfilesink.c: (gst_filesink_render):
16810 Simplify code so that we don't have to handle short
16811 writes and return GST_FLOW_ERROR if an error occured.
16813 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16815 * docs/gst/gstreamer-docs.sgml:
16816 Remove probes more.
16818 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16820 * docs/gst/gstreamer-sections.txt:
16821 * docs/gst/tmpl/gstpad.sgml:
16822 * docs/gst/tmpl/gstprobe.sgml:
16824 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16825 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16826 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16827 (gst_pad_push_event), (gst_pad_send_event):
16829 * gst/gstutils.c: (gst_pad_add_data_probe),
16830 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16831 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16832 (gst_pad_remove_buffer_probe):
16834 Remove old probes, add new g-signal-based probes and some utility
16837 2005-06-29 Edward Hervey <edward@fluendo.com>
16839 * gst/gstelementfactory.c:
16842 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16843 the definition to the header file.
16845 2005-06-29 Andy Wingo <wingo@pobox.com>
16847 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16848 plugins from the source directory.
16850 2005-06-29 Wim Taymans <wim@fluendo.com>
16852 * docs/gst/tmpl/gstbuffer.sgml:
16853 * docs/gst/tmpl/gstclock.sgml:
16854 Some fixings for blantently wrong text.
16856 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16858 * check/Makefile.am:
16859 * gst/gst.c: (add_path_func), (init_pre):
16860 * gst/gstregistry.c: (gst_registry_add_path):
16861 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16862 only scan the GST_PLUGIN_PATH locations, and not add
16865 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16867 * docs/gst/gstreamer-sections.txt:
16868 * docs/gst/tmpl/gstbasesrc.sgml:
16869 * gst/gstelement.c:
16870 * gst/gstelement.h:
16875 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16877 * docs/manual/advanced-autoplugging.xml:
16878 Fix autoplugging example.
16880 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16882 * docs/manual/advanced-autoplugging.xml:
16883 * docs/manual/mime-world.fig:
16884 Try to get autoplugging working, fix type detection. Fix text
16885 in hello-world image.
16887 2005-06-29 Wim Taymans <wim@fluendo.com>
16889 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16890 (gst_base_sink_change_state):
16894 map SIGNAL and BROADCAST to the right function.
16897 Remove redundant braces.
16899 * gst/gstpad.c: (gst_pad_set_caps):
16900 Don't call setcaps function when reseting caps to NULL.
16902 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16903 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16904 (gst_system_clock_id_unschedule):
16905 Use BROADCAST as this is what we do.
16907 2005-06-29 Wim Taymans <wim@fluendo.com>
16909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16910 We are actually prerolling before commiting the state
16913 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16915 * docs/manual/advanced-clocks.xml:
16916 * docs/manual/advanced-interfaces.xml:
16917 * docs/manual/advanced-metadata.xml:
16918 * docs/manual/advanced-position.xml:
16919 * docs/manual/advanced-schedulers.xml:
16920 * docs/manual/advanced-threads.xml:
16921 * docs/manual/appendix-porting.xml:
16922 * docs/manual/basics-bins.xml:
16923 * docs/manual/basics-bus.xml:
16924 * docs/manual/basics-elements.xml:
16925 * docs/manual/basics-helloworld.xml:
16926 * docs/manual/basics-pads.xml:
16927 * docs/manual/highlevel-components.xml:
16928 * docs/manual/manual.xml:
16929 * docs/manual/thread.fig:
16930 Update (until threads/scheduling) Application Development Manual;
16931 remove GstThread, add GstBus, add simple porting checklist, add
16932 documentation for tag writing, clocks, make all examples until this
16933 part compile and run.
16934 * examples/manual/Makefile.am:
16935 Update from changes to Application Development Manual; add bus
16936 example, remove thread example.
16938 2005-06-28 Wim Taymans <wim@fluendo.com>
16940 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16941 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16942 (gst_bus_source_dispatch):
16943 Add debugging messages.
16944 Make internal methods static.
16945 Handle the case where the bus is flushed in the handler.
16947 * gst/gstelement.c: (gst_element_get_bus):
16948 Fix refcount in _get_bus();
16950 * gst/gstpipeline.c: (gst_pipeline_change_state),
16951 (gst_pipeline_get_clock_func):
16952 Clock refcounting fixes.
16953 Handle the case where preroll timed out more gracefully.
16955 * gst/gstsystemclock.c: (gst_system_clock_dispose):
16956 Clean up the internal thread in dispose. This is needed
16957 for subclasses that actually get disposed.
16959 * gst/schedulers/threadscheduler.c:
16960 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16961 (gst_thread_scheduler_dispose):
16962 Free thread pool in dispose.
16964 2005-06-28 Andy Wingo <wingo@pobox.com>
16966 * tests/network-clock-utils.scm (debug, print-event): New utils.
16968 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16969 (*packet-loss*): Unified loss probability.
16970 (network-time): Report out-of-band events.
16972 * tests/plot-data: Add support for out-of-band events. Hack it
16973 into this script instead of passing it down the pipe; should fix
16976 2005-06-28 Wim Taymans <wim@fluendo.com>
16978 * docs/gst/gstreamer.types:
16979 * docs/gst/tmpl/gstbasesrc.sgml:
16980 * docs/gst/tmpl/gstpad.sgml:
16983 2005-06-28 Wim Taymans <wim@fluendo.com>
16985 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16986 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16987 (gst_proxy_pad_do_fixatecaps):
16988 Correctly proxy the check_pull_range function.
16990 2005-06-28 Andy Wingo <wingo@pobox.com>
16992 * tests/network-clock.scm: Removed need for slib.
16994 2005-06-28 Wim Taymans <wim@fluendo.com>
16996 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16997 (gst_basesink_preroll_queue_flush):
16998 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16999 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17000 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17001 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17002 (gst_proxy_pad_set_property):
17005 * gst/gstqueue.c: (gst_queue_init):
17006 The deprecated pad loop function is removed now.
17008 2005-06-28 Andy Wingo <wingo@pobox.com>
17010 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17011 New parameters, simulate network packet loss.
17013 * tests/network-clock-utils.scm: Initialize the RNG.
17015 2005-06-28 Wim Taymans <wim@fluendo.com>
17017 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17018 (gst_basesink_event), (gst_basesink_deactivate):
17019 Flushing the preroll queue always needs to unlock the waiters.
17021 2005-06-28 Edward Hervey <edward@fluendo.com>
17023 * gst/gstpipeline.c: (gst_pipeline_send_event):
17024 Wheen a seek was successful on a pipeline, set the stream_time to the
17025 seek offset in order to have a synchronized stream_time.
17027 2005-06-28 Wim Taymans <wim@fluendo.com>
17029 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17030 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17031 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17032 (gst_proxy_pad_do_fixatecaps):
17033 Call wrapper function instead of just calling the function
17034 pointers. This takes care of any locking and whatmore.
17036 2005-06-28 Wim Taymans <wim@fluendo.com>
17038 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17039 (gst_pad_pull_range):
17041 CONNECTED -> LINKED.
17043 2005-06-28 Andy Wingo <wingo@pobox.com>
17045 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17046 source-munging commit!!!
17048 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17049 (gst_object_sink): Take gpointer arguments, not GstObject --
17050 avoids casts. Like GLib.
17052 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17055 2005-06-27 Andy Wingo <wingo@pobox.com>
17057 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17060 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17061 returns a sorted copy of the trace list.
17062 (gst_alloc_trace_print_live): New API, only prints traces with
17063 live objects. Sort the list.
17064 (gst_alloc_trace_print_all): Sort the list.
17065 (gst_alloc_trace_print): Align columns.
17067 * gst/elements/gstttypefindelement.c:
17068 * gst/elements/gsttee.c:
17069 * gst/base/gstbasesrc.c:
17070 * gst/base/gstbasesink.c:
17071 * gst/base/gstbasetransform.c:
17072 * gst/gstqueue.c: Adapt for pad activation changes.
17074 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17076 (gst_pipeline_dispose): Drop ref on sched.
17078 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17079 (gst_pad_activate_default): Push mode by default.
17080 (pre_activate_switch, post_activate_switch): New stubs, things to
17081 do before and after switching activation modes on pads.
17082 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17083 the pad's activate function to choose which mode to activate.
17084 Shortcut on deactivation and call the right function directly.
17085 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17087 (gst_pad_activate_push): New API, same for push mode.
17088 (gst_pad_set_activate_function)
17089 (gst_pad_set_activatepull_function)
17090 (gst_pad_set_activatepush_function): Setters for new API.
17092 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17093 Trace all miniobjects.
17094 (gst_mini_object_make_writable): Unref the arg if we copy, like
17095 gst_caps_make_writable.
17097 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17099 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17100 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17101 Adapt for new pad API.
17103 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17105 * gst/gstelement.h:
17106 * gst/gstelement.c (gst_element_iterate_src_pads)
17107 (gst_element_iterate_sink_pads): New API functions.
17109 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17110 should fold into gstiterator.c in some form.
17111 (gst_element_pads_activate): Simplified via use of fold and
17112 delegation of decisions to gstpad->activate.
17114 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17117 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17118 class once in init, like gstmessage. Didn't run into this issue
17119 but it seems correct. Don't initialize a trace, gstminiobject does
17122 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17123 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17125 (assert_live_count): New util function, uses alloc traces to check
17128 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17129 To be modified when unlink drops the internal pad.
17131 2005-06-27 Wim Taymans <wim@fluendo.com>
17133 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17134 (gst_bin_change_state):
17135 Cleanup the get_state() function a little, make sure it
17136 iterates the same set of elements.
17137 Added stub iterate_state_order().
17139 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17141 * docs/gst/gstreamer-docs.sgml:
17142 * docs/gst/gstreamer-sections.txt:
17143 * docs/gst/gstreamer.types:
17144 * docs/gst/tmpl/gstbasesink.sgml:
17145 * docs/gst/tmpl/gstbasesrc.sgml:
17146 * docs/gst/tmpl/gstbasetransform.sgml:
17147 * docs/gst/tmpl/gstelement.sgml:
17148 * docs/gst/tmpl/gstiterator.sgml:
17149 * gst/base/gstbasesrc.c:
17150 * gst/base/gstbasesrc.h:
17151 * gst/base/gstbasetransform.h:
17152 * gst/gstelement.c:
17153 * gst/gstiterator.h:
17154 adding basetransform and iterator docs
17156 2005-06-27 Andy Wingo <wingo@pobox.com>
17158 * docs/design/part-activation.txt: Notes on how activation should
17159 work -- not quite implemented yet.
17161 2005-06-25 Wim Taymans <wim@fluendo.com>
17163 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17164 At least get the chain function correct, needs more
17167 2005-06-25 Wim Taymans <wim@fluendo.com>
17169 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17170 (gst_basesink_handle_object), (gst_basesink_event),
17171 (gst_basesink_do_sync), (gst_basesink_handle_event),
17172 (gst_basesink_change_state):
17174 Right, two problems here: ghostpads don't take locks and
17175 glib _rec_mutex_lock_full() with depth==0 still locks.
17176 Catch illegal locking and g_warn them.
17178 2005-06-25 Wim Taymans <wim@fluendo.com>
17180 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17181 Have to check for completion now...
17183 2005-06-25 Wim Taymans <wim@fluendo.com>
17185 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17186 (gst_basesink_handle_object), (gst_basesink_event),
17187 (gst_basesink_do_sync), (gst_basesink_handle_event),
17188 (gst_basesink_change_state):
17190 Unlock STREAM_LOCK whatever the recursion was.
17192 2005-06-25 Wim Taymans <wim@fluendo.com>
17194 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17195 (gst_basesink_preroll_queue_empty),
17196 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17197 (gst_basesink_event), (gst_basesink_do_sync),
17198 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17199 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17200 (gst_basesink_change_state):
17201 Reworked the base sink, handle event and buffer serialisation
17202 correctly and removed possible deadlock.
17203 Handle EOS correctly.
17205 2005-06-25 Wim Taymans <wim@fluendo.com>
17207 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17208 (gst_pipeline_change_state):
17209 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17210 Allow elements to post EOS in the state change function.
17211 Fix up -launch, make it exit the poll loop when the
17212 pipeline actually changed state.
17213 Fix up warning parsing in -launch.
17215 2005-06-25 Wim Taymans <wim@fluendo.com>
17217 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17218 (gst_tee_sink_activate):
17219 Core takes STREAM_LOCK for us now.
17221 2005-06-25 Wim Taymans <wim@fluendo.com>
17223 * gst/gstelement.c: (gst_element_get_state_func),
17224 (gst_element_set_state):
17225 * gst/gstelement.h:
17226 * gst/gstmessage.c: (gst_message_parse_error),
17227 (gst_message_parse_warning):
17228 Keep track of current target state while performing a state
17229 change so that subclasses can do something interesting.
17230 Fix parsing of warning/error messages when GError is NULL.
17232 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17234 * docs/gst/Makefile.am:
17235 * docs/gst/gstreamer-docs.sgml:
17236 * docs/gst/gstreamer-sections.txt:
17237 * docs/gst/gstreamer.types:
17238 * docs/gst/tmpl/gstbasesink.sgml:
17239 * docs/gst/tmpl/gstbasesrc.sgml:
17240 * docs/gst/tmpl/gstbin.sgml:
17241 * docs/gst/tmpl/gstcompat.sgml:
17242 * docs/gst/tmpl/gstfakesink.sgml:
17243 * docs/gst/tmpl/gstfakesrc.sgml:
17244 * docs/gst/tmpl/gstfilesink.sgml:
17245 * docs/gst/tmpl/gstfilesrc.sgml:
17246 * docs/gst/tmpl/gstindex.sgml:
17247 * docs/manual/appendix-quotes.xml:
17248 * gst/base/gstbasesrc.h:
17249 * gst/elements/gstfakesrc.h:
17250 * gst/gstmessage.h:
17251 start pulling in base classes and elements in our docs
17253 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17255 * docs/gst/Makefile.am:
17256 * docs/libs/Makefile.am:
17257 fixed make distcheck with gtk-doc 1.3
17259 2005-06-23 Wim Taymans <wim@fluendo.com>
17261 * gst/gstelement.c: (gst_element_get_state_func),
17262 (gst_element_set_state), (gst_element_change_state):
17263 When the state did not change, also report NO_PREROLL
17266 2005-06-23 Wim Taymans <wim@fluendo.com>
17268 * gst/gstpad.c: (gst_pad_event_default):
17269 * gst/gstqueue.c: (gst_queue_loop):
17270 No unsafe task pausing please.
17272 2005-06-23 Wim Taymans <wim@fluendo.com>
17274 * gst/schedulers/threadscheduler.c:
17275 (gst_thread_scheduler_task_start),
17276 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17277 Ref the task before pushing it on the threadpool. This
17278 makes sure that we have a ref when the threadfunction is
17281 2005-06-23 Andy Wingo <wingo@pobox.com>
17283 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17284 offset is greater than the file's size.
17286 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17287 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17288 * gst/gstobject.c (gst_object_class_init): Make the class lock
17289 recursive. Wim won't let me drop deep_notify. Decodebin works
17290 again, whoopdy doo.
17292 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17293 internal pad, and hacks accordingly. Doesn't do it on the target
17294 pad because we change its caps. Probably catches all cases of
17296 (gst_ghost_pad_set_property): Connect to notify::caps as
17299 * tests/network-clock.scm (plot-simulation): Pipe data to the
17300 elite python skript.
17302 * tests/network-clock-utils.scm (define-parameter): New macro,
17303 defines a parameter that can be set via the command line.
17304 (set-parameter!, parse-parameter-arguments): Command line args
17307 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17310 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17312 * gst/elements/gsttypefindelement.c:
17313 (gst_type_find_element_handle_event):
17314 Don't restart typefinding on a discont.
17315 * gst/gstelement.c: (gst_element_set_state):
17316 Debug spelling fix.
17317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17318 Allow changing mode of an active pad.
17319 Debug output fixes.
17320 * gst/registries/gstlibxmlregistry.c: (load_feature):
17321 Don't cast a static pad template to a normal pad template.
17323 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17325 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17326 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17327 remove gst_strtoll completely, since it didn't actually do
17328 anything more than what g_ascii_strtoull already does.
17329 check for range errors when deserializing
17330 do a cast for the unsigned cases; but further fixing needs
17331 a decision on what the interpretation of "(int)" and
17332 deserialization should be for values that fall outside the
17333 type's boundaries (ie, refuse, or interpret as casting)
17335 2005-06-23 Wim Taymans <wim@fluendo.com>
17337 * check/Makefile.am:
17338 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17339 * docs/design/part-live-source.txt:
17340 * docs/design/part-states.txt:
17341 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17342 (gst_basesrc_set_live), (gst_basesrc_is_live),
17343 (gst_basesrc_get_range), (gst_basesrc_activate),
17344 (gst_basesrc_change_state):
17345 * gst/base/gstbasesrc.h:
17346 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17347 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17348 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17349 * gst/gstelement.c: (gst_element_get_state_func),
17350 (gst_element_set_state):
17351 * gst/gstelement.h:
17353 * tools/gst-launch.c: (event_loop), (main):
17354 Added support for live sources and other elements that
17356 Updated design docs, added live-source design doc.
17357 Implemented live source functionality in basesrc
17358 Fix error condition in _bin_get_state()
17359 Implement live source handling in -launch.
17360 Added check for live sources.
17361 Fixed case in GstBin where elements were changed state
17365 2005-06-23 Andy Wingo <wingo@pobox.com>
17367 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17368 borken refcounting.
17370 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17371 gst_caps_replace takes care of this for us.
17373 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17374 gst_pad_set_caps on the target, not just its setcaps() function.
17376 * tests/network-clock.scm:
17377 * tests/network-clock-utils.scm: A network clock simulator.
17378 Something of an algorithmic testbed before doing something in C.
17380 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17382 * check/Makefile.am:
17383 * check/gst/capslist.h:
17384 copy over from 0.8, and add two with bitmasks specified with
17386 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17387 add test to parse everything from capslist.h
17388 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17390 add test for structure deserialization
17391 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17392 add tests for deserialization of strings to int types
17393 * gst/gststructure.c: (gst_structure_nth_field_name):
17394 * gst/gststructure.h:
17395 add a way to get the name of a field referenced by index
17396 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17397 instead of checking if the resulting long long lies between
17398 min and max, we check if the long long would fit into
17399 a number of bytes for the final type.
17400 This fixes cases where a string represents 2^32 - 1, which
17401 when cast to int would be the (valid) -1, but is bigger than
17404 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17406 * gst/parse/grammar.y:
17407 add a log line for type deserialization
17409 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17411 * check/gst/gstvalue.c: (START_TEST):
17412 * gst/gstvalue.c: (gst_value_deserialize):
17413 return long long, not int, so gint64 deserialization actually
17414 works. Is there any flag that makes the compiler check this ?
17417 2005-06-22 Wim Taymans <wim@fluendo.com>
17420 Added convenience macros for setting buffers in GValue.
17422 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17424 * check/gst/.cvsignore:
17425 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17426 add a test deserializing int64, and comment part out because
17429 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17431 * check/Makefile.am:
17432 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17433 * testsuite/Makefile.am:
17434 * testsuite/caps/Makefile.am:
17435 * testsuite/caps/value_serialize.c:
17436 * testsuite/test_gst_init.c:
17437 move a value_serialize test over
17439 2005-06-20 Wim Taymans <wim@fluendo.com>
17444 * gst/gstvalue.c: (gst_value_compare_buffer),
17445 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17446 (gst_value_compare_flags), (gst_value_serialize_flags),
17447 (gst_value_deserialize_flags), (_gst_value_initialize):
17448 Fix serialisation of buffers, they are not boxed types anymore
17450 2005-06-20 Wim Taymans <wim@fluendo.com>
17452 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17453 Testcase to show error in buffer-on-caps serialisation.
17455 2005-06-20 Andy Wingo <wingo@pobox.com>
17457 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17458 will be adding to later.
17460 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17461 if its socks fill with rocks.
17462 (gst_system_clock_obtain): Set the name on object construction.
17463 Avoid double-checked locking.
17465 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17467 * gst/gsturi.c: (gst_element_make_from_uri):
17468 Fix potential endless loop.
17470 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17472 * check/Makefile.am:
17474 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17476 move over from testsuite dir and clean up
17479 * testsuite/Makefile.am:
17480 * testsuite/tags/.cvsignore:
17481 * testsuite/tags/Makefile.am:
17482 * testsuite/tags/merge.c:
17483 remove testsuite/tags
17485 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17487 * docs/gst/gstreamer-sections.txt:
17488 * docs/gst/tmpl/gstenumtypes.sgml:
17489 * win32/gstenumtypes.c:
17490 clean up documentation build a little
17492 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17494 * check/gstcheck.h:
17495 add macros for checking refcounts on objects and caps
17496 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17497 add some more unit tests
17498 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17499 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17500 fix leaked refcounts (I hope :)) so unittest works
17504 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17506 * configure.ac: back to HEAD
17508 === release 0.9.1 ===
17510 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17516 2005-06-17 Andy Wingo <wingo@pobox.com>
17518 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17519 assert; it's always possible that the pad gets deactivated in
17520 between the checks in gstpad.c and the implementation. Rely on
17521 finish_preroll() to return a FLUSHING or similar instead of on the
17524 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17525 clock and post an EOS message if we come out of finish_preroll in
17528 2005-06-16 David Schleef <ds@schleef.org>
17530 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17531 (gst_capsfilter_set_property): Allow NULL as possible value
17532 for filter_caps property, indicating GST_CAPS_ANY.
17534 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17536 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17538 * gst/schedulers/Makefile.am:
17540 * gstreamer.spec.in:
17543 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17545 * gstreamer.spec.in:
17548 2005-06-08 Andy Wingo <wingo@pobox.com>
17550 * gst/gstutils.c: RPAD fixes all around.
17551 (gst_element_link_pads): Refcounting fixes.
17553 * tools/gst-inspect.c:
17554 * tools/gst-xmlinspect.c:
17556 * gst/base/gsttypefindhelper.c:
17557 * gst/base/gstbasesink.c:
17558 * gst/gstqueue.c: RPAD fixes.
17560 * gst/gstghostpad.h:
17561 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17562 pads. The tricky thing is they provide both source and sink
17563 interfaces, since they proxy the internal pad for the external
17564 pad, and vice versa. Implement with lower-level ProxyPad objects,
17565 with the interior proxy pad as a child of the exterior ghost pad.
17566 Should write a doc on this.
17568 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17569 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17572 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17573 pads are real pads. No ghost pads in this file. Not documenting
17574 the myriad s/RPAD/PAD/ and REALIZE fixes.
17575 (gst_pad_class_init): Add properties for "direction" and
17576 "template". Both are construct-only, so they can't change during
17577 the life of the pad. Fixes properly deriving from GstPad.
17578 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17579 derived objects, just set properties when creating the objects via
17581 (gst_pad_get_parent): Implement as a function, return NULL if the
17582 parent is not an element.
17583 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17584 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17586 * gst/gstobject.c (gst_object_class_init): Make name a construct
17587 property. Don't set it in the object init.
17589 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17590 with UNKNOWN direction.
17591 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17592 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17593 (gst_element_remove_pad): Remove ghost-pad special cases.
17594 (gst_element_pads_activate): Remove rpad cruft.
17596 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17597 catch the pad's-parent-not-an-element case.
17599 * gst/gst.h: Include gstghostpad.h.
17601 * gst/gst.c (init_post): No more real, ghost pads.
17603 * gst/Makefile.am: Add gstghostpad.[ch].
17605 * check/Makefile.am:
17606 * check/gst/gstbin.c:
17607 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17608 into a bin creates ghost pads, and that the refcounts are right.
17609 Partly moved from gstbin.c.
17611 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17613 * check/gst-libs/.cvsignore:
17614 * check/gst/.cvsignore:
17615 * check/pipelines/.cvsignore:
17617 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17618 (START_TEST), (cleanup_suite), (main):
17619 add some tests related to cleanup after running pipelines
17621 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17623 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17624 add a testsuite for GstBuffer
17626 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17628 * gst/gstminiobject.h:
17629 add defines for accessing the refcount
17631 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17633 * Makefile.am: added support for html unit test coverage reports
17635 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17637 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17638 Free existing caps if the capsfilter changes. Add a FIXME about
17639 setting those caps on the pads.
17641 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17642 Before adding a ghost pad to a parent bin, check that there isn't
17643 already one for the element on the bin. Prevents infinite recursion
17644 when using decodebin in parse pipelines. Andy says he'll rewrite the
17645 way this works anyway, so ignore the hack.
17647 2005-06-02 Andy Wingo <wingo@pobox.com>
17649 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17650 file size, pass it on to the type find helper.
17652 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17653 segment_start and segment_end properly according to the seek
17654 method. Segment_end is still a bit flaky because offset can be
17655 negative for CUR and END cases, but it takes -1 as an "unset"
17658 2005-06-02 Wim Taymans <wim@fluendo.com>
17660 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17661 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17662 (gst_basesink_activate):
17663 * gst/base/gstbasesink.h:
17664 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17665 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17666 (gst_pad_query), (gst_pad_start_task):
17668 * gst/gstqueue.c: (gst_queue_bufferalloc),
17669 (gst_queue_handle_sink_event), (gst_queue_chain):
17670 Bufferalloc: return GstFlowReturn to more accuratly report
17671 why allocation failed.
17673 2005-06-02 Wim Taymans <wim@fluendo.com>
17675 * gst/gstpipeline.c: (gst_pipeline_send_event):
17676 Take snapshot of state without blocking.
17678 2005-06-02 Wim Taymans <wim@fluendo.com>
17680 * docs/design/part-TODO.txt:
17681 * docs/design/part-caps.txt:
17682 * docs/design/part-clocks.txt:
17683 * docs/design/part-negotiation.txt:
17684 * docs/design/part-preroll.txt:
17687 2005-05-30 Wim Taymans <wim@fluendo.com>
17689 * gst/elements/gstidentity.c: (gst_identity_event),
17690 (gst_identity_transform), (gst_identity_get_property):
17691 Protect last_message property as it is accessed from
17694 2005-05-30 Wim Taymans <wim@fluendo.com>
17696 * gst/gstelement.c: (gst_element_init),
17697 (gst_element_pads_activate), (gst_element_change_state):
17698 Slicker pad activation code.
17700 2005-05-30 Wim Taymans <wim@fluendo.com>
17703 * gst/gstelement.h:
17704 * gst/gstelementfactory.h:
17706 Move elementfactory methods to separate .h file.
17708 2005-05-30 Wim Taymans <wim@fluendo.com>
17710 * docs/design/part-overview.txt:
17711 * gst/gstsystemclock.h:
17712 Small typo fixes, doc updates.
17714 2005-05-30 Wim Taymans <wim@fluendo.com>
17716 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17717 (init_popt_callback):
17718 Remove cpu-opt flag.
17720 2005-05-30 Wim Taymans <wim@fluendo.com>
17722 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17723 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17725 Avoid typechecking in places where not needed.
17726 Added accessor for malloc_data.
17728 2005-05-30 Wim Taymans <wim@fluendo.com>
17730 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17731 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17732 (gst_pad_configure_sink), (gst_pad_configure_src),
17733 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17734 (gst_pad_start_task):
17735 Propagate errors from _set_caps() in configure_src/sink
17736 functions instead of returning TRUE.
17737 FLUSH events can travel up and downstream
17740 2005-05-30 Wim Taymans <wim@fluendo.com>
17742 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17743 (gst_basesink_activate):
17744 Handle EOS in preroll.
17746 2005-05-30 Wim Taymans <wim@fluendo.com>
17748 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17749 (gst_queue_loop), (gst_queue_handle_src_event):
17750 Remove old pieces of code
17751 Flushing the queue in an upstream event is a very bad idea.
17753 2005-05-26 Andy Wingo <wingo@pobox.com>
17755 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17756 gst_value_set_mini_object so as to add a ref on the object (which
17757 will be removed when the value is unset).
17759 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17760 arg type in ::handoff.
17762 * gst/gstelement.c (gst_element_change_state): Also deactivate
17763 pads in READY->NULL, just in case the element didn't make it to
17764 PAUSED. Wingo tested, Wim approved.
17766 2005-05-26 Wim Taymans <wim@fluendo.com>
17768 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17769 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17770 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17771 A flushing pad cannot be used to alloc_buffer from.
17773 2005-05-26 Wim Taymans <wim@fluendo.com>
17775 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17776 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17777 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17778 (gst_bus_create_watch), (gst_bus_add_watch_full):
17780 Implement a real GSource and use g_main_context_wakeup() to
17781 signal new messages instead of the socketpair.
17783 2005-05-25 Wim Taymans <wim@fluendo.com>
17785 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17786 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17787 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17788 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17789 (gst_pad_send_event), (gst_pad_start_task):
17790 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17791 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17792 (gst_queue_sink_activate), (gst_queue_src_activate),
17793 (gst_queue_change_state):
17795 Fix state changes for non sinks. We now change sinks, then elements
17796 with unconnected srcpads, then the rest.
17797 More efficient queue unlocking in flush and state changes.
17798 Set the pad activate mode even if it does not have an activate
17801 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17803 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17804 Don't go in pull mode for non-seekable sources.
17805 * gst/elements/gsttypefindelement.h:
17806 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17807 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17808 (free_entry), (stop_typefinding),
17809 (gst_type_find_element_handle_event), (find_peek),
17810 (gst_type_find_element_chain), (do_pull_typefind),
17811 (gst_type_find_element_change_state):
17812 Allow typefinding (w/o seeking) in push-mode, simplified version
17813 of what was in 0.8.
17814 * gst/gstutils.c: (gst_buffer_join):
17816 gst_buffer_join() from 0.8.
17818 2005-05-25 Wim Taymans <wim@fluendo.com>
17820 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17821 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17822 (gst_pad_send_event), (gst_pad_start_task):
17823 Disable attempt at mode switching until it is figured out.
17825 2005-05-25 Wim Taymans <wim@fluendo.com>
17827 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17828 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17829 (gst_basesink_finish_preroll), (gst_basesink_chain),
17830 (gst_basesink_loop), (gst_basesink_activate),
17831 (gst_basesink_change_state):
17832 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17833 (gst_basesrc_get_range), (gst_basesrc_loop),
17834 (gst_basesrc_activate):
17835 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17836 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17837 (gst_real_pad_init), (gst_real_pad_set_property),
17838 (gst_real_pad_get_property), (gst_pad_set_active),
17839 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17840 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17841 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17842 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17843 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17844 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17845 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17846 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17847 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17848 (gst_pad_stop_task):
17850 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17851 (gst_queue_loop), (gst_queue_src_activate):
17852 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17853 (gst_task_get_state):
17855 * gst/schedulers/threadscheduler.c:
17856 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17857 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17859 Remove ACTIVE pad flag, use FLUSHING everywhere
17860 Added _pad_chain(), _pad_get_range() to call chain/getrange
17862 Add locks around IS_FLUSHING when reading.
17863 Take STREAM lock in chain(), get_range() functions so plugins
17864 don't need to take it anymore.
17868 2005-05-25 Wim Taymans <wim@fluendo.com>
17870 * tools/gst-launch.c: (event_loop):
17871 Unref message after using its contents instead of
17874 2005-05-24 Wim Taymans <wim@fluendo.com>
17876 * docs/design/draft-ghostpads.txt:
17877 * docs/design/draft-push-pull.txt:
17878 * docs/design/draft-query.txt:
17879 * docs/design/part-overview.txt:
17880 Docs updates, added general overview doc.
17882 2005-05-21 David Schleef <ds@schleef.org>
17884 * docs/gst/tmpl/old/GstBin.sgml:
17885 * docs/gst/tmpl/old/GstBuffer.sgml:
17886 * docs/gst/tmpl/old/GstCaps.sgml:
17887 * docs/gst/tmpl/old/GstClock.sgml:
17888 * docs/gst/tmpl/old/GstCompat.sgml:
17889 * docs/gst/tmpl/old/GstData.sgml:
17890 * docs/gst/tmpl/old/GstElement.sgml:
17891 * docs/gst/tmpl/old/GstEvent.sgml:
17892 * docs/gst/tmpl/old/GstIndex.sgml:
17893 * docs/gst/tmpl/old/GstStructure.sgml:
17894 * docs/gst/tmpl/old/GstTag.sgml:
17895 * docs/gst/tmpl/old/cothreads.sgml:
17896 * docs/gst/tmpl/old/cothreads_compat.sgml:
17897 * docs/gst/tmpl/old/gettext.sgml:
17898 * docs/gst/tmpl/old/gobject2gtk.sgml:
17899 * docs/gst/tmpl/old/grammar.tab.sgml:
17900 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17901 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17902 * docs/gst/tmpl/old/gst_private.sgml:
17903 * docs/gst/tmpl/old/gstaggregator.sgml:
17904 * docs/gst/tmpl/old/gstarch.sgml:
17905 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17906 * docs/gst/tmpl/old/gstbufferstore.sgml:
17907 * docs/gst/tmpl/old/gstdata_private.sgml:
17908 * docs/gst/tmpl/old/gstdisksink.sgml:
17909 * docs/gst/tmpl/old/gstdisksrc.sgml:
17910 * docs/gst/tmpl/old/gstelementfactory.sgml:
17911 * docs/gst/tmpl/old/gstextratypes.sgml:
17912 * docs/gst/tmpl/old/gstfakesink.sgml:
17913 * docs/gst/tmpl/old/gstfakesrc.sgml:
17914 * docs/gst/tmpl/old/gstfdsink.sgml:
17915 * docs/gst/tmpl/old/gstfdsrc.sgml:
17916 * docs/gst/tmpl/old/gstfilesink.sgml:
17917 * docs/gst/tmpl/old/gstfilesrc.sgml:
17918 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17919 * docs/gst/tmpl/old/gstidentity.sgml:
17920 * docs/gst/tmpl/old/gstindexfactory.sgml:
17921 * docs/gst/tmpl/old/gstmarshal.sgml:
17922 * docs/gst/tmpl/old/gstmd5sink.sgml:
17923 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17924 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17925 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17926 * docs/gst/tmpl/old/gstpipefilter.sgml:
17927 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17928 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17929 * docs/gst/tmpl/old/gstshaper.sgml:
17930 * docs/gst/tmpl/old/gstspider.sgml:
17931 * docs/gst/tmpl/old/gstspideridentity.sgml:
17932 * docs/gst/tmpl/old/gststatistics.sgml:
17933 * docs/gst/tmpl/old/gsttee.sgml:
17934 * docs/gst/tmpl/old/gsttimecache.sgml:
17935 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17936 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17937 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17938 * docs/gst/tmpl/old/types.sgml:
17939 I didn't intend to add these or check them in.
17941 2005-05-19 David Schleef <ds@schleef.org>
17943 * configure.ac: Use -no-common everywhere. In a sane world, it
17944 would be the default in libtool, because without it, you can't
17945 build DLLs on Windows.
17946 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17947 * docs/gst/gstreamer-sections.txt:
17948 * docs/gst/tmpl/gstcpu.sgml:
17949 * docs/gst/tmpl/gstdata.sgml:
17950 * docs/gst/tmpl/gstthread.sgml:
17952 2005-05-19 David Schleef <ds@schleef.org>
17954 * gst/gstminiobject.c: (gst_value_set_mini_object),
17955 (gst_value_take_mini_object), (gst_value_get_mini_object):
17956 * gst/gstminiobject.h: Add GValue set/get functions.
17958 2005-05-19 Wim Taymans <wim@fluendo.com>
17960 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17961 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17962 (gst_subbuffer_init), (gst_buffer_is_span_fast):
17964 * gst/gstbus.c: (gst_bus_post):
17965 * gst/gstelement.c: (gst_element_get_random_pad):
17966 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17967 Make subbufer unref the parent in finalize.
17968 some more debugging info.
17971 2005-05-19 Wim Taymans <wim@fluendo.com>
17973 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17974 (gst_basesink_init), (gst_basesink_finalize),
17975 (gst_basesink_activate), (gst_basesink_change_state):
17976 Don't free preroll queue too early.
17978 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17982 Hi, I'm outdated. Please shoot me.
17984 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17986 * gst/gstpipeline.c: (gst_pipeline_send_event):
17987 Do not access variables after they have been deleted.
17989 2005-05-19 Wim Taymans <wim@fluendo.com>
17991 * tools/gst-inspect.c: (print_plugin_features):
17992 A plugin feature does unfortunatly not use the
17995 2005-05-18 Wim Taymans <wim@fluendo.com>
17997 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17998 Port _span() functions to new subbuffers.
18000 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18002 * gst/gstbin.c: (gst_bin_add_func):
18003 Fix clock settery in bins when adding kids after the clock has
18006 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18008 * gst/elements/gstidentity.c: (gst_identity_class_init):
18009 Workaround until signals support GstMiniObject.
18011 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18014 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18016 2005-05-18 Wim Taymans <wim@fluendo.com>
18018 * gst/base/Makefile.am:
18019 * gst/base/gstadapter.c: (gst_adapter_base_init),
18020 (gst_adapter_class_init), (gst_adapter_init),
18021 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18022 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18023 (gst_adapter_flush), (gst_adapter_available),
18024 (gst_adapter_available_fast):
18025 * gst/base/gstadapter.h:
18026 Ported and added adapter to the base classes.
18028 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18031 * gst/gstmessage.c:
18032 Make sure the class is reffed/unreffed once before threads can be
18033 used. Fixes #304551.
18035 2005-05-17 Wim Taymans <wim@fluendo.com>
18037 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18038 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18039 * gst/gstminiobject.c: (gst_mini_object_get_type),
18040 (gst_mini_object_free):
18041 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18042 (gst_pad_push), (gst_pad_push_event):
18043 * gst/gstqueue.c: (gst_queue_change_state):
18044 Don't queue buffers in basesink when we are flushing.
18045 Unref buffer when flushing in basesink.
18046 Flush queue when going to READY
18047 Unref buffer when _push() returns an error.
18048 Don't free MiniObject instance when refcount is incremented
18049 in _finalize() so that we can recover objects.
18051 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18053 * docs/manual/advanced-schedulers.xml:
18054 * docs/manual/appendix-checklist.xml:
18055 * docs/pwg/advanced-clock.xml:
18056 * docs/pwg/advanced-interfaces.xml:
18057 * docs/pwg/advanced-request.xml:
18058 * docs/pwg/advanced-types.xml:
18059 * docs/pwg/intro-preface.xml:
18060 * examples/plugins/example.c: (gst_example_get_type),
18061 (gst_example_class_init), (gst_example_chain),
18062 (gst_example_set_property), (gst_example_get_property),
18063 (gst_example_change_state), (plugin_init):
18064 * examples/plugins/example.h:
18067 2005-05-17 Wim Taymans <wim@fluendo.com>
18069 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18070 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18071 * gst/gstqueue.c: (gst_queue_change_state):
18072 Clear queue when going to READY.
18073 Remove IN_SETCAPS flag too.
18075 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18077 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18078 Remove implicit cast from gboolean to GstElementStateReturn;
18079 make sure we still return failure in paused => ready case if
18080 the parent class fails to change state and our own stop
18083 2005-05-17 Wim Taymans <wim@fluendo.com>
18085 * tools/gst-launch.c: (event_loop):
18086 Message was unreffed too soon.
18088 2005-05-16 Andy Wingo <wingo@pobox.com>
18090 * gst/gstbin.c (sink_iterator_filter): Err... um...
18092 * check/gst/gstbin.c (test_ghost_pads): New test for the
18093 ghosting-if-elements-not-in-same-bin behavior.
18095 2005-05-16 David Schleef <ds@schleef.org>
18097 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18098 accessing refcount directly.
18100 2005-05-15 David Schleef <ds@schleef.org>
18102 * check/Makefile.am: remove GstData checks
18103 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18104 * gst/Makefile.am: add miniobject, remove data
18105 * gst/gst.h: add miniobject, remove data
18106 * gst/gstdata.c: remove
18107 * gst/gstdata.h: remove
18108 * gst/gstdata_private.h: remove
18109 * gst/gsttypes.h: remove GstEvent and GstMessage
18110 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18111 * gst/gstmarshal.list: change BOXED -> OBJECT
18113 Implement GstMiniObject.
18114 * gst/gstminiobject.c:
18115 * gst/gstminiobject.h:
18117 Modify to be subclasses of GstMiniObject.
18118 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18119 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18120 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18121 (gst_subbuffer_get_type), (gst_subbuffer_init),
18122 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18125 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18126 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18127 (_gst_event_copy), (gst_event_new):
18129 * gst/gstmessage.c: (_gst_message_initialize),
18130 (gst_message_get_type), (gst_message_class_init),
18131 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18132 (gst_message_new), (gst_message_new_error),
18133 (gst_message_new_warning), (gst_message_new_tag),
18134 (gst_message_new_state_changed), (gst_message_new_application):
18135 * gst/gstmessage.h:
18136 * gst/gstprobe.c: (gst_probe_perform),
18137 (gst_probe_dispatcher_dispatch):
18139 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18140 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18141 (_gst_query_copy), (gst_query_new):
18143 Update elements for GstData -> GstMiniObject changes
18145 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18146 (gst_queue_chain), (gst_queue_loop):
18147 * gst/elements/gstbufferstore.c:
18148 (gst_buffer_store_add_buffer_func),
18149 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18150 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18151 (gst_fakesink_render):
18152 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18153 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18154 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18155 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18156 (gst_filesrc_create_read):
18157 * gst/elements/gstidentity.c: (gst_identity_class_init):
18158 * gst/elements/gsttypefindelement.c:
18159 (gst_type_find_element_src_event), (free_entry_buffers),
18160 (gst_type_find_element_handle_event):
18161 * libs/gst/dataprotocol/dataprotocol.c:
18162 (gst_dp_header_from_buffer):
18163 * libs/gst/dataprotocol/dataprotocol.h:
18164 * libs/gst/dataprotocol/dp-private.h:
18166 2005-05-15 David Schleef <ds@schleef.org>
18168 * gst/elements/gstelements.c: Don't include headers that were
18171 2005-05-15 David Schleef <ds@schleef.org>
18173 * gst/elements/Makefile.am: Remove some elements that don't
18174 need to be in the core (or even exist at all).
18175 * gst/elements/gstaggregator.c:
18176 * gst/elements/gstaggregator.h:
18177 * gst/elements/gstmd5sink.c:
18178 * gst/elements/gstmd5sink.h:
18179 * gst/elements/gstmultifilesrc.c:
18180 * gst/elements/gstmultifilesrc.h:
18181 * gst/elements/gstpipefilter.c:
18182 * gst/elements/gstpipefilter.h:
18183 * gst/elements/gstshaper.c:
18184 * gst/elements/gstshaper.h:
18185 * gst/elements/gststatistics.c:
18186 * gst/elements/gststatistics.h:
18187 * po/POTFILES.in: Remove above files.
18189 2005-05-14 Andy Wingo <wingo@pobox.com>
18191 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18192 so as to get the refs right.
18193 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18194 unreffing objects that don't pass the filter.
18196 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18197 gst_element_set_bus.
18198 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18199 normal cases, this will destroy the bus.
18201 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18204 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18207 2005-05-13 Andy Wingo <wingo@pobox.com>
18209 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18210 gst_pad_link, call pad_link_maybe_ghosting,
18211 (pad_link_maybe_ghosting): Links pads, making sure that the
18212 elements being linked are in the same bin.
18213 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18214 Helpers for pad_link_maybe_ghosting.
18216 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18219 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18221 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18223 * docs/design/part-element-source.txt:
18226 2005-05-12 Wim Taymans <wim@fluendo.com>
18228 * gst/base/gstbasesink.c: (gst_basesink_init),
18229 (gst_basesink_activate):
18230 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18231 (gst_basesrc_is_seekable):
18232 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18233 (bin_element_is_sink), (gst_bin_change_state):
18234 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18235 * gst/gstelement.h:
18236 Identify sinks by their flag to avoid overly complicated
18238 Do state changes even for elements not reachable from the
18240 BaseSink is a sink now :)
18241 Some more debugging info in the basesrc.
18244 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18246 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18247 Implement _query on a bin, similar to _send_event.
18249 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18251 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18252 Discont event offset format should be GST_FORMAT_BYTES,
18253 not GST_FORMAT_TIME.
18255 2005-05-12 Wim Taymans <wim@fluendo.com>
18257 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18258 Same fix as Ronald's but without the signal.
18260 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18262 * gst/gstutils.c: (gst_element_query_position):
18263 No, an element is not a pad.
18265 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18267 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18268 (gst_bin_get_state):
18269 If a child is removed from a bin while we remove the child from
18270 the bin and while we're retrieving its state, signal this to the
18271 get_state function so we abort the wait (instead of waiting for
18272 a timeout) and can immediately re-iterate over all other elements.
18274 2005-05-12 Wim Taymans <wim@fluendo.com>
18276 * gst/base/Makefile.am:
18277 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18278 (gst_basesrc_start):
18279 * gst/base/gstbasesrc.h:
18280 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18281 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18282 (gst_pushsrc_init), (gst_pushsrc_create):
18283 * gst/base/gstpushsrc.h:
18284 Added is_seekable to BaseSrc
18285 Added simple PushSrc.
18287 2005-05-11 Wim Taymans <wim@fluendo.com>
18289 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18290 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18291 (gst_element_link_pads), (gst_element_query_position),
18292 (gst_element_query_convert), (intersect_caps_func),
18293 (gst_pad_query_position), (gst_pad_query_convert):
18294 Fix refcounting in utils function.
18295 No point in trying to activate a pad when it's added, it could
18296 be added from the state change function and then we deadlock, the
18297 element has to decide what to do.
18299 2005-05-10 Andy Wingo <wingo@pobox.com>
18301 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18302 *all* the arguments.
18304 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18305 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18306 lock (according to the docs -- if this is wrong change the docs).
18308 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18309 flush messages in the NULL state.
18311 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18312 message immediately and return.
18313 (gst_bus_set_flushing): New function. If a bus is flushing, it
18314 flushes out any queued messages and immediately unrefs new
18315 messages. This is so when an element goes to NULL, all of the
18316 unhandled messages coming from it can be freed, and their
18317 references to the element dropped. In other words: message source
18318 ref considered harmful :P
18320 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18321 we're finished with it.
18323 * gst/gstmessage.c (gst_message_new_state_changed):
18325 2005-05-10 Wim Taymans <wim@fluendo.com>
18327 * gst/gstvalue.c: (gst_value_compare_flags),
18328 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18329 (_gst_value_initialize):
18330 Added flags serialize/deserialize/compare code.
18332 2005-05-09 Andy Wingo <wingo@pobox.com>
18334 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18335 Intersect the peer's caps with our caps.
18337 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18339 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18340 * gst/elements/gsttypefindelement.c: (find_peek):
18341 Handle negative offsets better. Fixes decodebin.
18343 2005-05-09 Wim Taymans <wim@fluendo.com>
18345 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18346 (gst_base_transform_event):
18347 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18348 Implement accept_caps.
18349 Fix silly lock/unlock mismatch in base class.
18351 2005-05-09 Wim Taymans <wim@fluendo.com>
18353 * docs/design/draft-push-pull.txt:
18354 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18355 * gst/elements/gstfilesink.c: (gst_filesink_init),
18356 (gst_filesink_query):
18357 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18358 (gst_type_find_handle_src_query), (find_element_get_length):
18359 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18360 * gst/gstelement.h:
18361 * gst/gstmessage.c:
18362 * gst/gstmessage.h:
18363 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18364 (gst_real_pad_get_caps_unlocked),
18365 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18366 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18367 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18368 (gst_real_pad_dispose), (gst_real_pad_finalize),
18369 (gst_pad_load_and_link), (gst_pad_save_thyself),
18370 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18371 (gst_pad_check_pull_range), (gst_pad_pull_range),
18372 (gst_pad_template_get_type), (gst_pad_template_class_init),
18373 (gst_pad_template_init), (gst_pad_template_dispose),
18374 (name_is_valid), (gst_static_pad_template_get),
18375 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18376 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18377 (gst_pad_get_element_private), (gst_pad_start_task),
18378 (gst_pad_pause_task), (gst_pad_stop_task),
18379 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18380 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18381 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18382 (gst_ghost_pad_new):
18384 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18385 (gst_query_new_position), (gst_query_set_position),
18386 (gst_query_parse_position), (gst_query_new_convert),
18387 (gst_query_set_convert), (gst_query_parse_convert):
18389 * gst/gstqueryutils.c:
18390 * gst/gstqueryutils.h:
18391 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18392 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18393 (gst_queue_handle_src_query):
18394 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18395 (gst_element_query_position), (gst_element_query_convert),
18396 (intersect_caps_func), (gst_pad_query_position),
18397 (gst_pad_query_convert):
18399 * tools/gst-inspect.c: (print_pad_info):
18400 * tools/gst-xmlinspect.c: (print_element_info):
18401 Remove old query functions. Ported old code.
18402 Added position/convert helper functions to gstutils.
18403 Reordered gstpad.c code, grouping relevant things.
18404 Remove gst_message_new(), always need to speficy a specific
18408 2005-05-09 Andy Wingo <wingo@pobox.com>
18410 * gst/gstiterator.h: Add some includes.
18412 * gst/gstqueryutils.h: Include more headers.
18415 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18416 some uses of gst_pad_query.
18418 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18419 NULL out parameters.
18420 (gst_query_new_position): New proc, allocates a new position
18423 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18424 gstqueryutils.c to the build.
18426 * gst/gststructure.c (gst_structure_set_valist): Implement with
18427 the generic G_VALUE_COLLECT.
18429 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18431 * gst/Makefile.am: (gst_headers):
18432 Added gstqueryutils.h to the list of headers to install, that was
18433 a 'nachty' move wingo :)
18435 2005-05-06 Andy Wingo <wingo@pobox.com>
18438 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18439 GstData, init a memchunk.
18440 (standard_definitions): Add a few query types, deprecate a few.
18441 (gst_query_get_type): New proc.
18442 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18444 (gst_query_new_application, gst_query_get_structure): New public
18447 * docs/design/draft-query.txt: Removed LINKS from the query types,
18448 because all the rest can be dispatched to other pads -- seemed
18449 ugly to have a query that couldn't be dispatched. internal_links
18450 is fine as a pad method.
18452 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18453 in gstpad.c, but maintain binary compatibility for the moment.
18454 Will fix before 0.9 is out.
18456 * gst/gstqueryutils.c:
18457 * gst/gstqueryutils.h: New files, implement 3 methods for each
18458 query type: parse_query, parse_response, and set. Probably need an
18461 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18463 * gst/elements/gstfilesink.c (gst_filesink_query2):
18464 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18465 query_types, and formats methods.
18467 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18468 (gst_pad_set_query2_function): New functions.
18469 (gst_real_pad_init): Set query2_default as the default query2
18470 function. Basically just dispatches to internally linked pads.
18474 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18475 without using the atomic operations. Only one thread can possibly
18476 be accessing the data at this point. Changed so as to avoid
18477 gst_atomic operations.
18479 2005-05-06 Wim Taymans <wim@fluendo.com>
18481 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18482 Also set caps if we use the fallback buffer alloc.
18484 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18486 * docs/gst/Makefile.am:
18487 * docs/gst/gstreamer-docs.sgml:
18488 * docs/gst/gstreamer-sections.txt:
18489 * docs/gst/tmpl/gstatomic.sgml:
18490 * docs/gst/tmpl/gstmemchunk.sgml:
18491 * testsuite/elements/struct_i386.h:
18492 * win32/GStreamer.vcproj:
18494 Purge GstAtomic stuff from docs and win32 makefiles as well
18496 2005-05-06 Wim Taymans <wim@fluendo.com>
18498 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18499 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18500 * gst/gstpad.c: (gst_pad_peer_get_caps):
18501 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18502 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18503 (gst_queue_src_activate), (gst_queue_change_state):
18505 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18506 (intersect_caps_func):
18507 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18508 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18509 Some fixes for the peer_get_caps() change.
18511 2005-05-06 Wim Taymans <wim@fluendo.com>
18513 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18514 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18515 (gst_basesink_activate):
18516 Actually do something with error codes returned from the push
18519 2005-05-06 Wim Taymans <wim@fluendo.com>
18521 * docs/design/part-element-sink.txt:
18522 * docs/design/part-element-source.txt:
18523 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18524 (gst_basesink_event), (gst_basesink_activate):
18525 * gst/base/gstbasesink.h:
18526 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18527 (gst_basesrc_activate):
18528 * gst/base/gstbasesrc.h:
18529 * gst/gstelement.c: (gst_element_pads_activate):
18530 Some more documentation.
18531 Fixed scheduling decision in _pads_activate().
18533 2005-05-05 Andy Wingo <wingo@pobox.com>
18535 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18538 2005-05-05 Wim Taymans <wim@fluendo.com>
18540 * gst/base/Makefile.am:
18541 * gst/base/gstbasesink.h:
18542 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18543 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18544 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18545 (gst_collectpads_class_init), (gst_collectpads_init),
18546 (gst_collectpads_finalize), (gst_collectpads_new),
18547 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18548 (find_pad), (gst_collectpads_remove_pad),
18549 (gst_collectpads_is_active), (gst_collectpads_collect),
18550 (gst_collectpads_collect_range), (gst_collectpads_start),
18551 (gst_collectpads_stop), (gst_collectpads_peek),
18552 (gst_collectpads_pop), (gst_collectpads_available),
18553 (gst_collectpads_read), (gst_collectpads_flush),
18554 (gst_collectpads_chain):
18555 * gst/base/gstcollectpads.h:
18556 * gst/elements/Makefile.am:
18557 * gst/elements/gstelements.c:
18558 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18559 (gst_fakesink_get_times), (gst_fakesink_event),
18560 (gst_fakesink_preroll), (gst_fakesink_render):
18561 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18562 (gst_filesink_init), (gst_filesink_set_location),
18563 (gst_filesink_open_file), (gst_filesink_close_file),
18564 (gst_filesink_pad_query), (gst_filesink_event),
18565 (gst_filesink_render), (gst_filesink_change_state):
18566 * gst/elements/gstfilesink.h:
18567 Added object to help in making collect pad based elements.
18569 Make event function in sink baseclass return gboolean.
18571 2005-05-05 Wim Taymans <wim@fluendo.com>
18573 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18574 (gst_bin_get_by_name):
18576 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18577 (gst_clock_finalize):
18578 * gst/gstdata.c: (gst_data_replace):
18580 * gst/gstelement.c: (gst_element_request_pad),
18581 (gst_element_pads_activate):
18582 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18583 (gst_object_unref):
18584 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18585 (gst_pad_set_checkgetrange_function),
18586 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18587 (gst_pad_check_pull_range), (gst_pad_pull_range),
18588 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18589 (gst_pad_pause_task), (gst_pad_stop_task):
18590 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18591 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18592 Fix name lookup in GstBin.
18593 Added _data_replace() function and _buffer_replace()
18594 Use finalize method to clean up clock.
18595 Fix refcounting on request pads.
18596 Fix pad schedule mode error.
18597 Some more object refcounting debug info,
18600 2005-05-04 Andy Wingo <wingo@pobox.com>
18602 * check/Makefile.am:
18603 * docs/gst/tmpl/gstatomic.sgml:
18604 * docs/gst/tmpl/gstplugin.sgml:
18605 * gst/base/gstbasesink.c: (gst_basesink_activate):
18606 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18607 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18608 (gst_basesrc_query), (gst_basesrc_set_property),
18609 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18610 (gst_basesrc_activate):
18611 * gst/base/gstbasesrc.h:
18612 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18613 (gst_base_transform_src_activate):
18614 * gst/elements/gstelements.c:
18615 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18616 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18617 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18618 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18619 (gst_type_find_element_checkgetrange),
18620 (gst_type_find_element_activate):
18621 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18622 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18623 (gst_caps_load_thyself):
18624 * gst/gstelement.c: (gst_element_pads_activate),
18625 (gst_element_save_thyself), (gst_element_restore_thyself):
18626 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18627 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18629 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18630 (gst_xml_parse_file), (gst_xml_parse_memory),
18631 (gst_xml_get_element), (gst_xml_make_element):
18632 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18633 (_file_index_id_save_xml), (gst_file_index_commit):
18634 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18635 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18637 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18638 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18639 * tools/gst-complete.c: (main):
18640 * tools/gst-compprep.c: (main):
18641 * tools/gst-inspect.c: (print_element_properties_info):
18642 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18643 * tools/gst-xmlinspect.c: (print_element_properties):
18646 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18648 * gst/gstplugin.c: (gst_plugin_check_module),
18649 (gst_plugin_check_file), (gst_plugin_load_file):
18650 apply patch from #172526 to make register work on MacOSX
18652 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18654 * docs/gst/tmpl/gstconfig.sgml:
18655 * gst/gstconfig.h.in:
18656 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18657 * testsuite/debug/printf_extension.c: (main):
18658 Do not use GST_PTR_FORMAT on pointers to types with
18659 sizeof < sizeof(gpointer). Fixes test on 64-bit
18660 * testsuite/elements/property.h:
18661 use correct printf format
18663 2005-05-02 Wim Taymans <wim@fluendo.com>
18665 * docs/design/draft-push-pull.txt:
18666 * docs/design/draft-query.txt:
18667 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18668 (gst_basesrc_start):
18669 Added draft for new query API.
18670 Added draft for better selecting scheduling methods.
18671 Make basesrc ignore length if the subclass does not support
18674 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18677 possible fixes for automake-1.5 - _LIBADD is reserved
18679 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18681 * docs/faq/Makefile.am:
18682 * docs/manual/Makefile.am:
18683 * docs/manuals.mak:
18684 * docs/pwg/Makefile.am:
18686 possible fixes for automake-1.5
18688 2005-04-28 Wim Taymans <wim@fluendo.com>
18690 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18691 (gst_basesink_pad_getcaps), (gst_basesink_init),
18692 (gst_basesink_do_sync):
18693 * gst/gstclock.c: (gst_clock_entry_new):
18694 * gst/gstevent.c: (gst_event_discont_get_value):
18695 * gst/gstpipeline.c: (pipeline_bus_handler),
18696 (gst_pipeline_change_state):
18697 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18698 Better debugging of clocking info.
18699 Allow NULL values when getting discont values.
18701 2005-04-27 Wim Taymans <wim@fluendo.com>
18703 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18704 * check/gst/gstpad.c: (gst_pad_suite):
18705 Increase timeout for checks.
18707 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18709 * check/Makefile.am:
18710 fix the broken rule for cleanup. Apparently this rule is
18711 only needed on FC2, so maybe this warrants further autotool
18714 2005-04-26 Wim Taymans <wim@fluendo.com>
18716 * gst/gsttrashstack.h:
18717 Ooohh. a nasty one! After having a failed pop() from the stack,
18718 it's possible that the stack is empty. In that case, don't
18719 follow the NULL pointer.
18721 2005-04-25 Wim Taymans <wim@fluendo.com>
18723 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18724 (gst_pad_set_checkgetrange_function),
18725 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18726 (gst_pad_check_pull_range), (gst_pad_pull_range),
18727 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18728 (gst_pad_pause_task), (gst_pad_stop_task):
18729 * gst/gstplugin.c: (gst_plugin_load):
18731 Remove gst_library_load as it does more harm than good with
18732 the new g_module flags.
18733 Revert bogus caps template check in pad linking, pad caps
18734 are important when linking not the template, which is more
18735 general than the current caps.
18737 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18739 * gst/autoplug/.cvsignore:
18740 * gst/autoplug/Makefile.am:
18741 * gst/autoplug/gstsearchfuncs.c:
18742 * gst/autoplug/gstsearchfuncs.h:
18743 * gst/autoplug/gstspider.c:
18744 * gst/autoplug/gstspider.h:
18745 * gst/autoplug/gstspideridentity.c:
18746 * gst/autoplug/gstspideridentity.h:
18747 * gst/autoplug/spidertest.c:
18750 2005-04-25 Wim Taymans <wim@fluendo.com>
18752 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18753 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18754 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18755 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18757 Added stubs for unimplemented functions.
18759 2005-04-24 David Schleef <ds@schleef.org>
18761 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18764 2005-04-24 David Schleef <ds@schleef.org>
18766 Convert everything from GstAtomicInt to g_atomic_int_*, and
18771 * gst/gstatomic_impl.h:
18779 * gst/gstdata_private.h:
18783 * gst/gstmessage.c:
18786 * gst/gststructure.c:
18787 * gst/gststructure.h:
18788 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18791 2005-04-24 David Schleef <ds@schleef.org>
18793 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18794 make the regressions tests work. Remove some code that is no
18796 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18797 Disable warning for pads without templates.
18799 2005-04-24 David Schleef <ds@schleef.org>
18801 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18802 functions that handle filtered links.
18803 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18805 * gst/gstutils.c: Fix/remove utility functions that handle
18808 * gst/gstvalue.c: Add serialization/deserialization of caps
18809 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18810 requires fixing so that the filter caps notation creates
18811 a capsfilter element and sets the filter_caps property. I
18812 think everyone probably wants to keep the shorthand notation.
18813 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18814 * docs/gst/tmpl/gstpad.sgml:
18816 * gst/elements/gstelements.c: Register capsfilter element.
18817 * gst/Makefile.am: fix spacing
18818 * docs/random/ds/0.9-suggested-changes: random
18820 2005-04-23 David Schleef <ds@schleef.org>
18822 * gst/elements/Makefile.am:
18823 * gst/elements/gstcapsfilter.c: New element that acts like an
18824 identity, but filters caps. Will eventually replace filtered
18825 caps in pad linking.
18826 * gst/gstutils.c: (gst_element_create_all_pads): New function
18827 to create all the ALWAYS pads that are registered with an
18828 element class. This functionality should eventually be
18829 merged in with GstElement initialization.
18831 * testsuite/trigger/README: part of trigger test code that should
18832 have been checked in a long time ago.
18834 2005-04-23 David Schleef <ds@schleef.org>
18836 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18837 needed with new versions of libtool (nobody will confirm this),
18838 and hard to carry around.
18839 * gst/autoplug/Makefile.am:
18840 * gst/base/Makefile.am:
18841 * gst/elements/Makefile.am:
18842 * gst/indexers/Makefile.am:
18843 * gst/schedulers/Makefile.am:
18844 * libs/gst/bytestream/Makefile.am:
18845 * libs/gst/control/Makefile.am:
18846 * libs/gst/dataprotocol/Makefile.am:
18847 * libs/gst/getbits/Makefile.am:
18849 2005-04-21 Wim Taymans <wim@fluendo.com>
18851 * docs/design/draft-push-pull.txt:
18852 * docs/design/part-MT-refcounting.txt:
18853 * docs/design/part-TODO.txt:
18854 * docs/design/part-caps.txt:
18855 * docs/design/part-events.txt:
18856 * docs/design/part-gstbus.txt:
18857 * docs/design/part-gstpipeline.txt:
18858 * docs/design/part-messages.txt:
18859 * docs/design/part-push-pull.txt:
18860 * docs/design/part-query.txt:
18863 2005-04-21 Wim Taymans <wim@fluendo.com>
18865 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18866 (gst_message_new), (gst_message_new_error),
18867 (gst_message_new_warning), (gst_message_new_tag),
18868 (gst_message_new_state_changed), (gst_message_new_application),
18869 (gst_message_get_structure):
18870 * gst/gstmessage.h:
18871 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18872 (gst_structure_copy_conditional):
18873 Use parent refcount in GstMessage to ensure GstStructure
18875 Cleaned up headers a bit.
18878 2005-04-20 Wim Taymans <wim@fluendo.com>
18880 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18881 (gst_basesink_pad_getcaps), (gst_basesink_init),
18882 (gst_basesink_chain_unlocked):
18883 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18884 (gst_type_find_helper):
18885 * gst/elements/gsttypefindelement.c:
18886 (gst_type_find_element_have_type), (gst_type_find_element_init),
18887 (stop_typefinding), (gst_type_find_element_handle_event),
18888 (find_suggest), (gst_type_find_element_chain),
18889 (gst_type_find_element_checkgetrange),
18890 (gst_type_find_element_getrange), (do_typefind),
18891 (gst_type_find_element_activate):
18892 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18893 (gst_buffer_default_free), (gst_buffer_default_copy),
18894 (gst_buffer_set_caps):
18895 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18896 (gst_caps_replace):
18897 * gst/gstmessage.c: (gst_message_new),
18898 (gst_message_new_state_changed):
18899 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18900 (gst_pad_set_checkgetrange_function),
18901 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18902 (gst_pad_set_caps), (gst_pad_check_pull_range),
18903 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18905 * gst/gsttypefind.c: (gst_type_find_register):
18906 Make gst_caps_replace() work like other _replace() functions.
18907 Use _caps_replace() where possible.
18908 Make sure _message_new() initialises its field.
18909 Add gst_static_pad_template_get_caps()
18912 2005-04-18 Andy Wingo <wingo@pobox.com>
18914 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18915 on the peer, not the pad. I think that was a typo. Pass an extra
18916 arg to see if random access is possible. Activate the pads as
18917 PULL_RANGE if possible.
18919 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18921 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18922 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18925 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18927 * docs/faq/using.xml:
18928 Add note on gstreamer-properties (#154996).
18930 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18932 * docs/random/bbb/optional-properties:
18933 Some analysis on optional properties.
18935 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18937 * docs/gst/tmpl/gstelementfactory.sgml:
18938 * gst/gstelement.h:
18939 * gst/gstelementfactory.c: (gst_element_factory_init),
18940 (gst_element_factory_cleanup), (gst_element_register),
18941 (__gst_element_factory_add_static_pad_template),
18942 (gst_element_factory_get_static_pad_templates),
18943 (gst_element_factory_can_src_caps),
18944 (gst_element_factory_can_sink_caps):
18945 * gst/registries/Makefile.am:
18946 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18947 (gst_xml_registry_class_init), (gst_xml_registry_init),
18948 (gst_xml_registry_new), (gst_xml_registry_set_property),
18949 (gst_xml_registry_get_property), (get_time), (make_dir),
18950 (gst_xml_registry_get_perms_func),
18951 (plugin_times_older_than_recurse), (plugin_times_older_than),
18952 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18953 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18954 (add_to_char_array), (read_string), (read_uint), (read_enum),
18955 (load_pad_template), (load_feature), (load_plugin), (load_paths),
18956 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18957 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18958 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18959 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18960 (gst_xml_registry_rebuild):
18961 * gst/registries/gstlibxmlregistry.h:
18962 * tools/gst-compprep.c: (main):
18963 * tools/gst-inspect.c: (print_pad_templates_info):
18964 * tools/gst-xmlinspect.c: (print_element_info):
18965 Use libxml2 for registry parsing, use staticpadtemplates in
18966 elementfactories. Makes gst_init() +/- 10x faster.
18968 2005-04-12 Wim Taymans <wim@fluendo.com>
18970 * gst/base/Makefile.am:
18971 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18972 (gst_basesink_pad_getcaps), (gst_basesink_init),
18973 (gst_basesink_event), (gst_basesink_change_state):
18974 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18975 (gst_basesrc_init), (gst_basesrc_query),
18976 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18977 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18978 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18979 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18980 (gst_basesrc_stop), (gst_basesrc_activate),
18981 (gst_basesrc_change_state):
18982 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18983 (helper_find_suggest), (gst_type_find_helper):
18984 * gst/base/gsttypefindhelper.h:
18985 * gst/elements/Makefile.am:
18986 * gst/elements/gstelements.c:
18987 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18988 (gst_fakesink_get_times), (gst_fakesink_event),
18989 (gst_fakesink_preroll), (gst_fakesink_render):
18990 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18991 (gst_fakesrc_init), (gst_fakesrc_event_handler),
18992 (gst_fakesrc_get_property), (gst_fakesrc_create),
18993 (gst_fakesrc_start), (gst_fakesrc_stop):
18994 * gst/elements/gstfakesrc.h:
18995 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18996 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18997 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18998 (gst_filesrc_create_read), (gst_filesrc_create),
18999 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19000 (gst_filesrc_start):
19001 * gst/elements/gsttypefindelement.c:
19002 (gst_type_find_element_have_type), (gst_type_find_element_init),
19003 (start_typefinding), (stop_typefinding), (push_buffer_store),
19004 (gst_type_find_element_handle_event),
19005 (gst_type_find_element_chain),
19006 (gst_type_find_element_checkgetrange),
19007 (gst_type_find_element_getrange), (do_typefind),
19008 (gst_type_find_element_activate),
19009 (gst_type_find_element_change_state):
19010 * gst/elements/gsttypefindelement.h:
19011 * gst/gstpipeline.c: (pipeline_bus_handler):
19012 Added typefind helper.
19013 Small preroll fix in the base sink.
19014 Disable typefind code in basesrc.
19015 Crude port of typefindelement.
19019 2005-04-11 Wim Taymans <wim@fluendo.com>
19021 * check/gst/gstbus.c: (gstbus_suite):
19022 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19023 * check/gstcheck.h:
19024 Fix up the timeout so that the test does not fail.
19026 2005-04-06 Wim Taymans <wim@fluendo.com>
19029 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19030 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19031 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19032 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19033 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19034 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19035 (gst_basesrc_stop), (gst_basesrc_activate),
19036 (gst_basesrc_change_state), (basesrc_find_peek),
19037 (basesrc_find_suggest), (gst_basesrc_type_find):
19038 * gst/base/gstbasesrc.h:
19039 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19040 (gst_filesrc_class_init), (gst_filesrc_init),
19041 (gst_filesrc_finalize), (gst_filesrc_set_location),
19042 (gst_filesrc_set_property), (gst_filesrc_get_property),
19043 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19044 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19045 (gst_filesrc_create_read), (gst_filesrc_create),
19046 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19047 * gst/elements/gstfilesrc.h:
19048 * gst/gstelement.c: (gst_element_get_state_func),
19049 (gst_element_lost_state), (gst_element_pads_activate):
19050 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19051 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19052 (gst_pad_pull_range):
19054 More work on the generic source base class, implement seeking,
19056 Make filesrc extend the base source class.
19057 Added gst_pad_set_checkgetrange_function to GstPad.
19059 2005-04-06 Andy Wingo <wingo@pobox.com>
19061 * pkgconfig/gstreamer-base.pc.in:
19062 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19064 * pkgconfig/Makefile.am:
19065 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19067 2005-04-04 Wim Taymans <wim@fluendo.com>
19069 * gst/base/Makefile.am:
19071 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19072 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19073 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19074 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19075 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19076 (gst_basesrc_base_init), (gst_basesrc_class_init),
19077 (gst_basesrc_init), (gst_basesrc_get_formats),
19078 (gst_basesrc_get_query_types), (gst_basesrc_query),
19079 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19080 (gst_basesrc_set_property), (gst_basesrc_get_property),
19081 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19082 (gst_basesrc_loop), (gst_basesrc_activate),
19083 (gst_basesrc_change_state):
19084 * gst/base/gstbasesrc.h:
19085 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19086 (gst_fakesrc_class_init), (gst_fakesrc_init),
19087 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19088 (gst_fakesrc_get_property), (gst_fakesrc_create):
19089 * gst/elements/gstfakesrc.h:
19090 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19091 (gst_filesrc_open_file), (gst_filesrc_loop),
19092 (gst_filesrc_activate), (filesrc_find_peek),
19093 (gst_filesrc_type_find):
19094 Made base source class, make fakesrc extend it.
19095 Add comments to basesink class.
19096 Some filesrc cleanup.
19098 2005-03-31 David Schleef <ds@schleef.org>
19100 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19101 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19102 expected to link against libgstreamer.
19103 * gst/base/Makefile.am: link against libgstreamer
19104 * gst/elements/Makefile.am: same
19106 2005-03-31 Andy Wingo <wingo@pobox.com>
19108 * tests/instantiate/Makefile.am:
19109 * tests/instantiate/caps.c: Add test to test speed of caps copy
19112 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19113 GMemChunk to be fair.
19115 * gst/gsttrashstack.h: Remove warning about using the fallback
19116 trash stack implementation, it's still faster than malloc.
19118 2005-03-30 Andy Wingo <wingo@pobox.com>
19120 * tests/complexity.c: Add a copyright.
19122 2005-03-31 Wim Taymans <wim@fluendo.com>
19124 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19125 (gst_base_transform_class_init), (gst_base_transform_init),
19126 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19127 (gst_base_transform_get_property),
19128 (gst_base_transform_sink_activate),
19129 (gst_base_transform_src_activate),
19130 (gst_base_transform_change_state):
19131 * gst/base/gstbasetransform.h:
19132 * gst/elements/gstidentity.c: (gst_identity_class_init),
19133 (gst_identity_event), (gst_identity_check_perfect),
19134 (gst_identity_transform), (gst_identity_start),
19135 (gst_identity_stop):
19136 Added start/stop methods to transform base class so subclasses
19137 don't need to deal with state changes even.
19139 2005-03-31 Wim Taymans <wim@fluendo.com>
19141 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19142 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19144 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19145 (gst_pad_pull_range):
19146 Added rate to the discont event to prepare for variable speed
19147 and reverse playback.
19149 2005-03-29 David Schleef <ds@schleef.org>
19152 * testsuite/trigger/Makefile.am:
19153 * testsuite/trigger/trigger.c: A little example program to show
19154 how trigger-based elements can work.
19156 2005-03-29 Wim Taymans <wim@fluendo.com>
19158 * gst/base/Makefile.am:
19160 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19161 (gst_basesink_base_init), (gst_basesink_class_init),
19162 (gst_basesink_pad_getcaps), (gst_basesink_init),
19163 (gst_basesink_activate), (gst_basesink_change_state):
19164 * gst/base/gstbasesink.h:
19165 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19166 (gst_base_transform_base_init), (gst_base_transform_finalize),
19167 (gst_base_transform_class_init), (gst_base_transform_init),
19168 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19169 (gst_base_transform_event), (gst_base_transform_getrange),
19170 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19171 (gst_base_transform_set_property),
19172 (gst_base_transform_get_property),
19173 (gst_base_transform_sink_activate),
19174 (gst_base_transform_src_activate),
19175 (gst_base_transform_change_state):
19176 * gst/base/gstbasetransform.h:
19177 * gst/elements/gstidentity.c: (gst_identity_finalize),
19178 (gst_identity_class_init), (gst_identity_init),
19179 (gst_identity_event), (gst_identity_check_perfect),
19180 (gst_identity_transform), (gst_identity_set_property),
19181 (gst_identity_get_property), (gst_identity_change_state):
19182 * gst/elements/gstidentity.h:
19183 * gst/gstelement.c: (gst_element_get_state_func),
19184 (gst_element_lost_state), (gst_element_pads_activate):
19185 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19186 (gst_pad_check_pull_range), (gst_pad_pull_range):
19188 Simplify pad activation.
19189 Added function to check if pull_range can be performed.
19190 Error out when pulling inactive or flushing pads.
19191 Removed const from refcounted types as it does not make sense.
19192 Simplify pad templates in basesink
19193 Added base class for simple 1-to-1 transforms.
19194 Make identity subclass the base transform.
19196 2005-03-29 Andy Wingo <wingo@pobox.com>
19198 * docs/libs/gstreamer-libs-overrides.txt:
19199 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19200 really don't understand what's going on, but like whatever. I want
19203 * docs/gst/Makefile.am:
19204 * docs/libs/Makefile.am: Dist the overrides files.
19206 * check/Makefile.am (clean-local): Remove .libs directories.
19208 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19209 elements to EXTRA_DIST, so po/ files are happy.
19211 * po/POTFILES.in: Er, remove it here.
19213 * po/POTFILES: Remove gstspider.c.
19215 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19217 * docs/libs/gstreamer-libs-docs.sgml:
19218 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19221 * tests/complexity.c (main): Set the length of the preroll queue
19222 on the sinks to prevent a lockup.
19224 * libs/gst/dataprotocol/Makefile.am:
19225 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19226 the same as the one in check/gst-libs/gdp.c.
19228 * po/, docs/gst/: Commit automatic changes to docs and po files.
19230 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19231 the versioned libgstbase.
19233 * check/Makefile.am: Depend on an unversioned gst-register, seems
19234 to make autoconf happier.
19236 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19238 2005-03-28 Wim Taymans <wim@fluendo.com>
19241 * docs/design/part-gstelement.txt:
19242 * docs/design/part-negotiation.txt:
19243 * docs/design/part-preroll.txt:
19244 * docs/design/part-scheduling.txt:
19245 * docs/design/part-states.txt:
19247 * gst/base/Makefile.am:
19249 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19250 (gst_basesink_base_init), (gst_basesink_class_init),
19251 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19252 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19253 (gst_basesink_set_pad_functions),
19254 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19255 (gst_basesink_set_property), (gst_basesink_get_property),
19256 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19257 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19258 (gst_basesink_preroll_queue_push),
19259 (gst_basesink_preroll_queue_empty),
19260 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19261 (gst_basesink_event), (gst_basesink_get_times),
19262 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19263 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19264 (gst_basesink_loop), (gst_basesink_activate),
19265 (gst_basesink_change_state):
19266 * gst/base/gstbasesink.h:
19267 * gst/elements/Makefile.am:
19268 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19269 (gst_fakesink_class_init), (gst_fakesink_init),
19270 (gst_fakesink_set_property), (gst_fakesink_get_property),
19271 (gst_fakesink_get_times), (gst_fakesink_event),
19272 (gst_fakesink_preroll), (gst_fakesink_render),
19273 (gst_fakesink_change_state):
19274 * gst/elements/gstfakesink.h:
19275 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19276 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19277 * gst/gstelement.c: (gst_element_add_pad),
19278 (gst_element_get_state_func), (gst_element_abort_state),
19279 (gst_element_commit_state), (gst_element_lost_state),
19280 (gst_element_set_state), (gst_element_pads_activate):
19281 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19282 * gst/gstpipeline.c: (gst_pipeline_send_event),
19283 (gst_pipeline_change_state):
19284 Added state change code.
19285 Added/updated docs.
19286 Added sink base class, make fakesink extend the base class.
19287 Small cleanups in GstPipeline.
19289 2005-03-26 David Schleef <ds@schleef.org>
19291 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19292 is broken and should be implemented in a different library.
19293 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19294 * gst/gst.h: remove gstcpu.h
19295 * gst/gstcpu.c: remove
19296 * gst/gstcpu.h: remove
19297 * gst/Makefile.am.future: Remove this file. It's ancient.
19299 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19301 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19302 (gst_bin_send_event):
19303 Add default event/set_manager handlers. The set_manager handler
19304 takes care that the manager is distributed over kids that were
19305 already in the bin before the manager was set. The event handler
19306 is a utility virtual function that sends the event over all sinks,
19307 so that gst_element_send_event (bin, event); has the expected
19309 * gst/gstpad.c: (gst_pad_event_default):
19310 Re-install default event handling for discontinuities, so that
19311 seeking works without requiring hacks in applications or extra
19313 * gst/gstpipeline.c: (gst_pipeline_class_init),
19314 (gst_pipeline_send_event):
19315 Half hack, half utility: set a pipeline to PAUSED for seek events,
19316 since that is the only way we can guarantee a/v sync. Means that
19317 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19318 and it "just works".
19320 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19322 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19323 Lock/unlock mismatch.
19325 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19327 * docs/faq/gst-uninstalled:
19328 add gst-plugins-base
19329 * docs/gst/Makefile.am:
19330 don't error out until docs are fixed
19331 * docs/gst/gstreamer.types:
19334 2005-03-22 Wim Taymans <wim@fluendo.com>
19336 * check/Makefile.am:
19337 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19338 * gst/gststructure.c: (gst_structure_set_valist),
19339 (gst_structure_copy_conditional):
19340 Activated more tests.
19341 Added message test.
19342 Added G_TYPE_POINTER to GstStructure.
19345 2005-03-22 Wim Taymans <wim@fluendo.com>
19347 * docs/design/part-TODO.txt:
19348 * docs/design/part-events.txt:
19349 * docs/design/part-gstbin.txt:
19350 * docs/design/part-gstbus.txt:
19351 * docs/design/part-gstpipeline.txt:
19352 * docs/design/part-messages.txt:
19354 * gst/gstmessage.c:
19357 2005-03-21 Wim Taymans <wim@fluendo.com>
19359 * gst/gstbus.c: (gst_bus_post):
19360 Fix copy-and-paste error.
19362 2005-03-21 Wim Taymans <wim@fluendo.com>
19364 * check/Makefile.am:
19366 * gst/elements/Makefile.am:
19367 * gst/elements/gstelements.c:
19368 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19369 (gst_fakesink_event), (gst_fakesink_chain):
19370 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19371 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19372 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19373 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19374 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19375 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19376 (gst_fakesrc_loop), (gst_fakesrc_activate),
19377 (gst_fakesrc_change_state):
19378 * gst/elements/gstfakesrc.h:
19379 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19380 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19381 (gst_filesrc_open_file), (gst_filesrc_loop),
19382 (gst_filesrc_activate), (gst_filesrc_change_state),
19383 (filesrc_find_peek), (filesrc_find_suggest),
19384 (gst_filesrc_type_find):
19385 * gst/elements/gstidentity.c: (gst_identity_finalize),
19386 (gst_identity_class_init), (gst_identity_init),
19387 (gst_identity_proxy_getcaps), (identity_queue_push),
19388 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19389 (gst_identity_getrange), (gst_identity_chain),
19390 (gst_identity_sink_loop), (gst_identity_src_loop),
19391 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19392 (gst_identity_set_property), (gst_identity_get_property),
19393 (gst_identity_change_state):
19394 * gst/elements/gstidentity.h:
19395 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19396 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19397 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19398 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19399 (gst_tee_sink_activate):
19400 * gst/elements/gsttee.h:
19401 * gst/gst.c: (gst_register_core_elements), (init_post):
19403 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19404 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19405 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19406 (gst_bin_change_state):
19408 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19409 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19410 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19411 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19412 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19413 (bus_watch_callback), (bus_watch_destroy),
19414 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19415 (poll_timeout), (gst_bus_poll):
19419 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19420 (gst_element_post_message), (gst_element_message_full),
19421 (gst_element_get_state_func), (gst_element_get_state),
19422 (gst_element_abort_state), (gst_element_commit_state),
19423 (gst_element_lost_state), (gst_element_set_state),
19424 (gst_element_pads_activate), (gst_element_change_state),
19425 (gst_element_dispose), (gst_element_set_manager_func),
19426 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19427 (gst_element_set_manager), (gst_element_get_manager),
19428 (gst_element_set_bus), (gst_element_get_bus),
19429 (gst_element_set_scheduler), (gst_element_get_scheduler):
19430 * gst/gstelement.h:
19431 * gst/gstevent.c: (gst_event_new_segment_seek),
19432 (gst_event_new_flush):
19434 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19435 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19436 (gst_message_new_eos), (gst_message_new_error),
19437 (gst_message_new_warning), (gst_message_new_tag),
19438 (gst_message_new_state_changed), (gst_message_new_application),
19439 (gst_message_get_structure), (gst_message_parse_tag),
19440 (gst_message_parse_state_changed), (gst_message_parse_error),
19441 (gst_message_parse_warning):
19442 * gst/gstmessage.h:
19443 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19444 (gst_real_pad_set_property), (gst_pad_set_active),
19445 (gst_pad_is_active), (gst_pad_set_blocked_async),
19446 (gst_pad_set_blocked), (gst_pad_is_blocked),
19447 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19448 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19449 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19450 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19451 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19452 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19453 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19454 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19455 (gst_pad_set_caps), (gst_pad_configure_sink),
19456 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19457 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19458 (gst_real_pad_dispose), (gst_real_pad_finalize),
19459 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19460 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19461 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19463 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19464 (pipeline_bus_handler), (gst_pipeline_change_state),
19465 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19466 * gst/gstpipeline.h:
19468 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19469 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19470 (gst_queue_link_src), (gst_queue_bufferalloc),
19471 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19472 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19473 (gst_queue_loop), (gst_queue_handle_src_event),
19474 (gst_queue_handle_src_query), (gst_queue_src_activate),
19475 (gst_queue_change_state):
19477 * gst/gstscheduler.c: (gst_scheduler_init),
19478 (gst_scheduler_dispose), (gst_scheduler_create_task),
19479 (gst_scheduler_factory_create):
19480 * gst/gstscheduler.h:
19481 * gst/gststructure.c: (gst_structure_get_type),
19482 (gst_structure_copy_conditional):
19483 * gst/gststructure.h:
19484 * gst/gsttaginterface.h:
19485 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19486 (gst_task_init), (gst_task_dispose), (gst_task_create),
19487 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19493 * gst/schedulers/Makefile.am:
19494 * gst/schedulers/cothreads_compat.h:
19495 * gst/schedulers/entryscheduler.c:
19496 * gst/schedulers/faircothreads.c:
19497 * gst/schedulers/faircothreads.h:
19498 * gst/schedulers/fairscheduler.c:
19499 * gst/schedulers/gstbasicscheduler.c:
19500 * gst/schedulers/gstoptimalscheduler.c:
19501 * gst/schedulers/gthread-cothreads.h:
19502 * gst/schedulers/threadscheduler.c:
19503 (gst_thread_scheduler_task_get_type),
19504 (gst_thread_scheduler_task_class_init),
19505 (gst_thread_scheduler_task_init),
19506 (gst_thread_scheduler_task_start),
19507 (gst_thread_scheduler_task_stop),
19508 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19509 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19510 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19511 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19513 * libs/gst/Makefile.am:
19514 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19515 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19516 (gst_file_pad_parent_set):
19517 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19518 (gst_dp_event_from_packet):
19519 * tests/complexity.c: (main):
19520 * tests/mass_elements.c: (main):
19521 * testsuite/states/locked.c: (message_received), (main):
19522 * testsuite/states/parent.c: (main):
19523 * tools/gst-inspect.c: (print_element_flag_info),
19524 (print_implementation_info), (print_pad_info):
19525 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19527 * tools/gst-md5sum.c: (event_loop), (main):
19528 * tools/gst-typefind.c: (main):
19529 * tools/gst-xmlinspect.c: (print_element_info):
19531 Added GstBus for mainloop integration.
19532 Added GstMessage for sending notifications on the bus.
19533 Added GstTask as an abstraction for pipeline entry points.
19535 Removed Schedulers.
19536 Simplified GstQueue for multithreaded core.
19537 Made _link threadsafe, removed old capsnego.
19538 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19539 Added pad blocking functions.
19540 Reworked scheduling functions in GstPad to prepare for
19541 scheduling updates soon.
19542 Moved events out of data stream.
19543 Simplified GstEvent types.
19544 Added return values to push/pull.
19545 Removed clocking from GstElement.
19546 Added prototypes for state change function for next merge.
19547 Removed iterate from bins and state change management.
19548 Fixed some elements, disabled others for now.
19549 Fixed -inspect and -launch.
19550 Added check for GstBus.
19552 2005-03-10 Wim Taymans <wim@fluendo.com>
19554 * docs/design/part-MT-refcounting.txt:
19555 * docs/design/part-clocks.txt:
19556 * docs/design/part-gstelement.txt:
19557 * docs/design/part-gstobject.txt:
19558 * docs/design/part-standards.txt:
19559 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19560 (gst_bin_remove_func), (gst_bin_remove):
19564 * testsuite/clock/clock1.c: (main):
19565 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19567 * testsuite/dlopen/loadgst.c: (do_test):
19568 * testsuite/refcounting/bin.c: (add_remove_test1),
19569 (add_remove_test2), (main):
19570 * testsuite/refcounting/element.c: (main):
19571 * testsuite/refcounting/element_pad.c: (main):
19572 * testsuite/refcounting/pad.c: (main):
19573 * tools/gst-launch.c: (sigint_handler_sighandler):
19574 * tools/gst-typefind.c: (main):
19576 Added doc about clock.
19577 removed gst_bin_iterate_recurse_up(), marked methods
19579 Fix more testsuites.
19581 2005-03-09 Wim Taymans <wim@fluendo.com>
19583 * gst/gstpad.c: (gst_pad_get_direction),
19584 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19585 (gst_pad_collect_valist):
19586 * testsuite/bins/interface.c: (main):
19587 * testsuite/caps/audioscale.c: (test_caps):
19588 * testsuite/caps/caps.c: (test1), (test2), (test3):
19589 * testsuite/caps/deserialize.c: (main):
19590 * testsuite/caps/enumcaps.c: (main):
19591 * testsuite/caps/filtercaps.c: (main):
19592 * testsuite/caps/intersect2.c: (main):
19593 * testsuite/caps/random.c: (main):
19594 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19595 * testsuite/caps/sets.c: (check_caps):
19596 * testsuite/caps/simplify.c: (check_caps), (main):
19597 * testsuite/caps/subtract.c: (check_caps):
19598 Fix _pad_get_direction wrt ghostpads.
19599 Fix caps testsuite.
19601 2005-03-09 Wim Taymans <wim@fluendo.com>
19603 * check/Makefile.am:
19604 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19605 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19606 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19607 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19608 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19609 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19610 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19611 (bin_element_is_sink), (gst_bin_iterate_sinks),
19612 (gst_bin_iterate_all_by_interface):
19614 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19615 (gst_element_change_state), (gst_element_dispose),
19616 (gst_element_finalize), (gst_element_set_loop_function):
19617 * gst/gstelement.h:
19618 * gst/gstiterator.c: (find_custom_fold_func):
19619 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19620 (gst_pad_collectv), (gst_pad_collect_valist),
19621 (gst_pad_template_new):
19622 * gst/gstpipeline.c: (gst_pipeline_class_init),
19623 (gst_pipeline_dispose), (gst_pipeline_set_property),
19624 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19625 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19626 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19628 * gst/schedulers/entryscheduler.c:
19629 * gst/schedulers/gstbasicscheduler.c:
19630 (gst_basic_scheduler_cothreaded_chain),
19631 (gst_basic_scheduler_chain_add_element):
19632 * testsuite/bins/interface.c: (main):
19634 Added GstSystemClock test.
19635 Implemented clock distribution code in GstBin.
19636 Implemented iterate sinks method for future use.
19637 Rearranged gstelement.h
19638 Fix GstIterator comparison bug.
19639 Moved some code to GstPipeline, mostly clocking related.
19641 2005-03-09 Wim Taymans <wim@fluendo.com>
19644 * gst/gst_private.h:
19645 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19646 (gst_bin_remove_func), (gst_bin_remove),
19647 (gst_bin_get_by_name_recurse_up):
19648 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19649 (gst_clock_id_compare_func), (gst_clock_id_wait),
19650 (gst_clock_id_wait_async), (gst_clock_init),
19651 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19652 * gst/gstelement.h:
19653 * gst/gstinfo.c: (_gst_debug_init):
19655 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19656 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19658 Bump version number, we're now 0.9.0
19659 Add future debugging category.
19660 Fix NULL _unref() in _get_by_name_recurse_up
19661 Rearrange gstpad.h.
19664 2005-03-08 Wim Taymans <wim@fluendo.com>
19666 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19667 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19668 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19669 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19670 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19671 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19672 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19673 * gst/elements/gstidentity.c: (gst_identity_class_init):
19674 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19675 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19676 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19677 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19678 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19680 * gst/gstelement.c: (gst_element_class_init),
19681 (gst_element_base_class_init), (gst_element_init),
19682 (gst_element_get_random_pad), (gst_element_wait_state_change),
19683 (gst_element_change_state), (gst_element_dispose),
19684 (gst_element_finalize), (gst_element_set_loop_function):
19685 * gst/gstelement.h:
19686 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19687 * gst/gstthread.c: (gst_thread_class_init),
19688 (gst_thread_release_children_locks), (gst_thread_change_state):
19689 * gst/schedulers/gstbasicscheduler.c:
19690 (gst_basic_scheduler_loopfunc_wrapper),
19691 (gst_basic_scheduler_chain_wrapper),
19692 (gst_basic_scheduler_src_wrapper),
19693 (gst_basic_scheduler_remove_element):
19694 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19695 Remove threadsafe properties. Fix elements because GObject
19696 complains when installing a property before declaring a
19697 set/get_property handler.
19698 Rearrange gstelement.h file, use STATE macros for state locks.
19699 Free mutexes in the finalize method instead of dispose.
19701 2005-03-08 Wim Taymans <wim@fluendo.com>
19703 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19704 * gst/gstthread.c: (gst_thread_release_children_locks):
19705 Added parentage check.
19706 Fix build og GstThread again.
19708 2005-03-08 Wim Taymans <wim@fluendo.com>
19710 * docs/design/part-MT-refcounting.txt:
19711 * docs/design/part-conventions.txt:
19712 * docs/design/part-gstobject.txt:
19713 * docs/design/part-relations.txt:
19714 * docs/design/part-standards.txt:
19715 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19716 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19717 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19718 (gst_bin_iterate_all_by_interface):
19721 * gst/gstelement.c: (gst_element_class_init),
19722 (gst_element_change_state), (gst_element_set_loop_function):
19723 * gst/gstelement.h:
19724 * gst/gstiterator.c:
19725 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19726 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19727 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19728 (gst_object_set_parent), (gst_object_unparent),
19729 (gst_object_check_uniqueness):
19731 Docs updates, clean up some headers.
19733 2005-03-07 Wim Taymans <wim@fluendo.com>
19735 * check/.cvsignore:
19736 * check/Makefile.am:
19737 * check/gst-libs/.cvsignore:
19738 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19739 * check/gst/.cvsignore:
19740 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19741 (START_TEST), (gstbus_suite), (main):
19742 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19743 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19744 (gst_data_suite), (main):
19745 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19746 (add_fold_func), (gstiterator_suite), (main):
19747 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19748 (thread_name_object), (thread_name_object_default),
19749 (gst_object_name_compare), (gst_object_suite), (main):
19750 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19751 (gst_pad_suite), (main):
19752 * check/gstcheck.c: (gst_check_log_message_func),
19753 (gst_check_log_critical_func), (gst_check_init):
19754 * check/gstcheck.h:
19755 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19756 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19759 2005-03-07 Wim Taymans <wim@fluendo.com>
19761 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19762 (gst_list_iterator_next), (gst_list_iterator_resync),
19763 (gst_list_iterator_free), (gst_iterator_new_list),
19764 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19765 (gst_iterator_free), (gst_iterator_push), (filter_next),
19766 (filter_resync), (filter_uninit), (filter_free),
19767 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19768 (gst_iterator_foreach), (find_custom_fold_func),
19769 (gst_iterator_find_custom):
19770 * gst/gstiterator.h:
19771 Added missing files.
19773 2005-03-07 Wim Taymans <wim@fluendo.com>
19777 * docs/design/part-MT-refcounting.txt:
19778 * docs/design/part-conventions.txt:
19779 * docs/design/part-gstobject.txt:
19780 * docs/design/part-relations.txt:
19781 * examples/mixer/mixer.c: (main):
19782 * examples/thread/thread.c: (eos), (main):
19784 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19785 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19786 (gst_spider_plug_from_srcpad):
19787 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19788 (gst_spider_identity_change_state),
19789 (gst_spider_identity_sink_loop_type_finding):
19790 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19791 * gst/elements/gstidentity.c: (gst_identity_init):
19792 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19793 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19794 * gst/elements/gsttypefindelement.c: (free_entry):
19797 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19798 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19799 (gst_bin_set_index), (gst_bin_set_element_sched),
19800 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19801 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19802 (gst_bin_iterate_elements), (iterate_child_recurse),
19803 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19804 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19805 (compare_interface), (gst_bin_get_by_interface),
19806 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19808 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19809 (gst_buffer_default_free), (gst_buffer_default_copy),
19810 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19811 (gst_buffer_create_sub):
19813 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19814 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19815 (gst_caps_unref), (gst_static_caps_get),
19816 (gst_caps_remove_and_get_structure), (gst_caps_append),
19817 (gst_caps_append_structure), (gst_caps_remove_structure),
19818 (gst_caps_copy_nth), (gst_caps_set_simple),
19819 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19820 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19821 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19822 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19823 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19824 (gst_caps_structure_figure_out_union),
19825 (gst_caps_switch_structures), (gst_caps_do_simplify),
19826 (gst_caps_replace), (gst_caps_from_string),
19827 (gst_caps_copy_conditional):
19829 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19830 (_gst_clock_id_free), (gst_clock_id_unref),
19831 (gst_clock_id_compare_func), (gst_clock_id_wait),
19832 (gst_clock_id_wait_async), (gst_clock_class_init),
19833 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19834 (gst_clock_get_time), (gst_clock_set_time_adjust),
19835 (gst_clock_set_property), (gst_clock_get_property):
19838 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19839 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19841 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19842 (gst_element_requires_clock), (gst_element_provides_clock),
19843 (gst_element_set_clock), (gst_element_clock_wait),
19844 (gst_element_wait), (gst_element_set_time_delay),
19845 (gst_element_is_indexable), (gst_element_add_pad),
19846 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19847 (pad_compare_name), (gst_element_get_static_pad),
19848 (gst_element_request_pad), (gst_element_get_request_pad),
19849 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19850 (gst_element_class_get_pad_template_list),
19851 (gst_element_class_get_pad_template), (gst_element_error_func),
19852 (gst_element_get_random_pad), (gst_element_get_event_masks),
19853 (gst_element_send_event), (gst_element_seek),
19854 (gst_element_get_query_types), (gst_element_query),
19855 (gst_element_get_formats), (gst_element_convert),
19856 (gst_element_is_locked_state), (gst_element_set_locked_state),
19857 (gst_element_sync_state_with_parent), (gst_element_change_state),
19858 (gst_element_finalize), (gst_element_yield),
19859 (gst_element_interrupt), (gst_element_set_scheduler),
19860 (gst_element_get_scheduler), (gst_element_set_loop_function):
19861 * gst/gstelement.h:
19863 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19864 (gst_format_get_by_nick), (gst_format_get_details),
19865 (gst_format_iterate_definitions):
19867 * gst/gstindex.c: (gst_index_gtype_resolver):
19870 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19871 (gst_mem_chunk_free):
19872 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19873 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19874 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19875 (gst_object_dispatch_properties_changed),
19876 (gst_object_set_name_default), (gst_object_set_name),
19877 (gst_object_get_name), (gst_object_set_name_prefix),
19878 (gst_object_get_name_prefix), (gst_object_set_parent),
19879 (gst_object_get_parent), (gst_object_unparent),
19880 (gst_object_check_uniqueness), (gst_object_save_thyself),
19881 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19882 (gst_object_set_property), (gst_object_get_property),
19883 (gst_object_get_path_string):
19885 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19886 (gst_real_pad_init), (gst_real_pad_get_property),
19887 (gst_pad_custom_new), (gst_pad_get_direction),
19888 (gst_pad_set_active), (gst_pad_is_active),
19889 (gst_pad_set_event_function), (gst_pad_is_linked),
19890 (gst_pad_link_free), (gst_pad_link_intersect),
19891 (gst_pad_link_fixate), (gst_pad_set_caps),
19892 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19893 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19894 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19895 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19896 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19897 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19898 (gst_pad_realize), (gst_pad_get_allowed_caps),
19899 (gst_real_pad_dispose), (gst_real_pad_finalize),
19900 (gst_pad_collectv), (gst_pad_collect_valist),
19901 (gst_pad_template_dispose), (gst_pad_template_new),
19902 (gst_pad_get_internal_links):
19904 * gst/gstpipeline.c: (gst_pipeline_dispose),
19905 (gst_pipeline_change_state):
19906 * gst/gstpipeline.h:
19908 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19909 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19910 * gst/gstpluginfeature.h:
19911 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19912 * gst/gstquery.c: (_gst_query_type_initialize),
19913 (gst_query_type_register), (gst_query_type_get_by_nick),
19914 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19916 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19917 * gst/gstscheduler.c: (gst_scheduler_add_element),
19918 (gst_scheduler_factory_create):
19919 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19920 (gst_structure_free), (gst_structure_set_name),
19921 (gst_structure_id_set_value), (gst_structure_set_value),
19922 (gst_structure_set_valist), (gst_structure_remove_field),
19923 (gst_structure_remove_fields),
19924 (gst_structure_remove_fields_valist),
19925 (gst_structure_remove_all_fields), (gst_structure_foreach),
19926 (gst_structure_map_in_place),
19927 (gst_caps_structure_fixate_field_nearest_int),
19928 (gst_caps_structure_fixate_field_nearest_double):
19929 * gst/gststructure.h:
19930 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19931 (gst_system_clock_init), (gst_system_clock_dispose),
19932 (gst_system_clock_async_thread),
19933 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19934 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19935 * gst/gstsystemclock.h:
19936 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19937 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19938 * gst/gsttaginterface.c:
19939 * gst/gstthread.c: (gst_thread_dispose),
19940 (gst_thread_release_children_locks), (gst_thread_change_state),
19941 (gst_thread_main_loop):
19942 * gst/gsttrashstack.h:
19943 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19945 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19946 (gst_element_request_pad), (gst_element_get_pad_from_template),
19947 (gst_element_request_compatible_pad),
19948 (gst_element_get_compatible_pad_filtered),
19949 (gst_element_get_compatible_pad), (gst_element_state_get_name),
19950 (gst_element_link_pads_filtered), (gst_element_link_filtered),
19951 (gst_element_link_many), (gst_element_link),
19952 (gst_element_link_pads), (gst_element_unlink_pads),
19953 (gst_element_unlink_many), (gst_element_unlink),
19954 (gst_pad_can_link_filtered), (gst_pad_can_link),
19955 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19956 (gst_object_default_error), (gst_bin_add_many),
19957 (gst_bin_remove_many), (gst_element_populate_std_props),
19958 (gst_element_class_install_std_props), (gst_buffer_merge),
19959 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19960 (link_fold_func), (gst_pad_proxy_setcaps):
19962 * gst/gstvalue.c: (gst_value_deserialize_string):
19963 * gst/parse/grammar.y:
19964 * gst/schedulers/gstbasicscheduler.c:
19965 (gst_basic_scheduler_cothreaded_chain),
19966 (gst_basic_scheduler_chain_recursive_add),
19967 (gst_basic_scheduler_pad_link):
19968 * gst/schedulers/gstoptimalscheduler.c:
19969 (get_group_schedule_function),
19970 (gst_opt_scheduler_state_transition),
19971 (gst_opt_scheduler_add_element), (element_get_reachables_func):
19972 * libs/gst/bytestream/bytestream.c:
19973 * libs/gst/dataprotocol/dataprotocol.c:
19974 (gst_dp_header_from_buffer):
19977 * tests/threadstate/threadstate2.c: (eos):
19978 * tools/gst-compprep.c: (main):
19979 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19980 (print_pad_info), (print_children_info):
19981 * tools/gst-launch.c: (idle_func), (main):
19982 * tools/gst-md5sum.c: (idle_func), (main):
19983 * tools/gst-xmlinspect.c: (print_element_info):
19984 First THREADED backport attempt, focusing on adding locks and
19985 making sure the API is threadsafe. Needs more work. More docs
19988 2005-02-24 Andy Wingo <wingo@pobox.com>
19990 * tests/bench-complexity.scm:
19991 * tests/complexity.gnuplot: New files, good for running complexity
19994 * tests/Makefile.am:
19995 * tests/complexity.c: New test, sets up N elements, at each level
19996 teeing into M streams per element. Eeeenteresting.
19998 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19999 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20000 running bench-mass_elements.scm.
20002 * tests/bench-mass_elements.scm: New script, runs mass_elements
20003 for various numbers of identities, outputting the results to a
20004 file. Requires guile 1.6. Just for testing.
20006 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20008 * gst/schedulers/fairscheduler.c:
20009 compile with debug disabled
20011 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20014 hunting season on 0.9 is now OPEN