1 2006-10-06 Wim Taymans <wim@fluendo.com>
3 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4 (gst_file_sink_close_file), (gst_file_sink_event),
5 (gst_file_sink_render):
6 Add some FIXME for the NEWSEGMENT handling.
8 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10 * gst/parse/grammar.y:
11 Remove static function gst_parse_element_lock as all it does
12 is return. Looks like cruft from 0.8.
14 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16 Patch by: Josep Torre Valles <josep@fluendo.com>
18 * common/m4/gst-error.m4:
20 * libs/gst/net/Makefile.am:
21 Fix a compilation issue with Forte on Solaris. inet_aton is in
24 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
26 * gst/gstpad.c: (pre_activate):
27 * gst/gstregistry.c: (gst_registry_scan_path_level):
28 * gst/gstregistryxml.c: (load_plugin):
29 * libs/gst/controller/gstcontroller.c:
30 (gst_controlled_property_set_interpolation_mode):
31 * libs/gst/dataprotocol/dataprotocol.c:
32 (gst_dp_packet_from_event_1_0):
33 * libs/gst/net/gstnetclientclock.c:
34 (gst_net_client_clock_observe_times):
35 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
38 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
41 * docs/gst/gstreamer-sections.txt:
45 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
46 whether we can use G_GNUC_PRINTF in other header files and at
47 least check the printf format/arguments of debug messages and
48 GST_ELEMENT_ERROR messages when the printf extension is not
50 Replace more tabs with spaces in gstinfo.h and remove two spurious
51 function declarations in GST_DISABLE_DEBUG part with macros.
53 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
55 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
56 More docs for the sync-message signal (mention that it is not
57 emitted by default); log message structures of messages posted on
60 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
62 * gst/gst.c: (ensure_current_registry_forking):
63 Use a pipe pair to receive status results from the forked child, and
64 ignore the result from waitpid. Fixes #355499
66 2006-10-02 Wim Taymans <wim@fluendo.com>
68 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
69 (gst_ghost_pad_suite):
72 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
75 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
77 2006-10-02 Edward Hervey <edward@fluendo.com>
79 * docs/design/part-block.txt:
80 Further explain the use of flushing on blocked pads.
81 * docs/gst/gstreamer-sections.txt:
82 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
85 Added new GstPadFlag : GST_PAD_BLOCKING.
86 Adds the notion of pads really blocking, which enables to properly
87 handle FLUSH_START/FLUSH_STOP events on blocked pads.
89 API: gst_pad_is_blocking()
90 API: GST_PAD_IS_BLOCKING() macro
91 API: GST_PAD_BLOCKING GstPadFlag
93 2006-10-02 Wim Taymans <wim@fluendo.com>
95 Patch by: mrcgran <mrc.gran at gmail dot com>
97 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
98 Filter the proxied caps against the padtemplate if we have one.
100 * gst/gstquery.c: (gst_query_new_segment):
101 Add include for gstinfo.h so that compilation with
102 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
104 2006-10-02 Wim Taymans <wim@fluendo.com>
106 Patch by: Alessandro Decina <alessandro at nnva org>
108 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
109 (gst_file_sink_set_location), (gst_file_sink_open_file),
110 (gst_file_sink_close_file), (gst_file_sink_event),
111 (gst_file_sink_render):
112 Set file to NULL when closing filesink so that we can set a new filename
113 in READY. Fixes #358613.
115 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
117 Patch by: Alessandro Decina <alessandro at nnva org>
119 * gst/gstevent.c: (_gst_event_copy):
120 Fix gst_mini_object_make_writable() and gst_event_copy() for events
121 with event structures by setting the parent refcount address of the
122 copied structure to the address of the refcount member of the newly
123 copied event rather than the address of the refcount member of the
124 original event. Fixes #358737.
126 * tests/check/gst/gstevent.c: (GST_START_TEST):
127 Unit test for the above.
129 2006-09-29 Stefan Kost <ensonic@users.sf.net>
131 * docs/design/Makefile.am:
132 Dist some more files.
134 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
136 * tests/check/libs/controller.c: (GST_START_TEST),
137 (gst_controller_suite):
138 Add test for the previous fix; add some more tests
139 for correct refcounting behaviour; fix a few leaks
140 in test cases; call gst_controller_init() at start
143 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
145 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
146 (gst_controller_set_from_list):
147 Don't g_return_val_if_fail() on timed values with invalid timestamps
148 inside a critical section without unlocking the mutex. Spotted by
149 René Stadler. (#357617)
150 Also, fix up refcounting properly: when returning an existing
151 controller, we should increase the reference only once and not
152 once per property and when trying to control a property again
153 we should also increase the refcount.
155 2006-09-29 Wim Taymans <wim@fluendo.com>
157 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
158 * libs/gst/net/gstnettimeprovider.c:
159 (gst_net_time_provider_thread):
160 Stop reading commands when EOF as well.
162 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
163 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
164 * plugins/elements/gstidentity.c: (gst_identity_class_init):
165 Unify description of the dump property.
167 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
169 * tests/examples/manual/.cvsignore:
170 OK, so it's actually cvsignore that needs changing. Stop laughing.
172 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
174 * tests/examples/manual/Makefile.am:
175 Gah, declare vars *before* using them
177 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
179 * gst/gst.c: (init_pre), (scan_and_update_registry),
180 (ensure_current_registry_nonforking),
181 (ensure_current_registry_forking), (ensure_current_registry),
182 (init_post), (gst_debug_help), (gst_deinit):
184 * gst/gstregistry.c: (gst_registry_finalize),
185 (gst_registry_remove_features_for_plugin_unlocked),
186 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
187 (gst_registry_scan_path),
188 (_priv_gst_registry_remove_cache_plugins),
189 (_priv_gst_registry_cleanup):
191 Re-commit the registry changes, along with an extra fix:
192 When a cached plugin is encountered at a different file path,
193 update the stored path in the registry cache so that the parent
194 process knows where it actually is now when it re-reads the registry
195 cache. Fixes the thing that broke distcheck with the previous commit.
197 * tests/check/Makefile.am:
198 Clean up files named 'core' too when running make clean.
200 * tests/examples/manual/Makefile.am:
201 Set up a registry path for running these tests, and clean it properly
204 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
207 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
208 want gmodule-no-export-2.0.pc instead so that we don't drag in
209 --export-dynamic on every project that links to GStreamer.
211 Also, make our export regex only match the start of symbols, rather
212 than any symbol that contains '_gst' somewhere.
214 * libs/gst/check/Makefile.am:
215 The libgstcheck we build does however need export-dynamic, as it
216 produces some symbols that don't match our _gst... style regex.
219 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
221 * gst/gst.c: (init_pre), (scan_and_update_registry),
222 (ensure_current_registry_nonforking),
223 (ensure_current_registry_forking), (ensure_current_registry),
224 (init_post), (gst_debug_help), (gst_deinit):
226 * gst/gstregistry.c: (gst_registry_finalize),
227 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
228 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
229 (_gst_registry_cleanup):
231 Revert previous change until I figure out why it breaks distcheck.
233 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
235 * gst/gst.c: (init_pre), (scan_and_update_registry),
236 (ensure_current_registry_nonforking),
237 (ensure_current_registry_forking), (ensure_current_registry),
238 (init_post), (gst_debug_help), (gst_deinit):
240 Make init_pre and init_post take the full complement of GOptionFunc
241 args so they can return useful GErrors. Make the registry updating
244 Call _priv_gst_registry_remove_cache_plugins after scanning files to
245 ensure that the registry we're about to write out doesn't contain
246 stale information about old-deleted plugin files.
248 Make _priv_gst_registry_remove_cache_plugins return a boolean so
249 that deletion of plugin files is considered a registry change.
252 * gst/gstregistry.c: (gst_registry_finalize),
253 (gst_registry_remove_features_for_plugin_unlocked),
254 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
255 (gst_registry_scan_path),
256 (_priv_gst_registry_remove_cache_plugins),
257 (_priv_gst_registry_cleanup):
259 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
260 by adding _priv prefix, so that they won't appear in the global
261 symbol table. They still do atm though because of #318031. Move the
262 prototypes to gst_private.h
264 When removing a plugin, remove all features for that plugin too.
267 2006-09-27 Wim Taymans <wim@fluendo.com>
269 * docs/random/moving-plugins:
270 Make it clear that the "compiled-in descriptions" really mean
273 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
274 (gst_base_sink_wait_preroll):
277 * docs/libs/gstreamer-libs-sections.txt:
278 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
279 (gst_base_src_get_range), (gst_base_src_activate_push):
280 * libs/gst/base/gstbasesrc.h:
281 Added function to block while waiting for PLAYING, this function
282 is used by live sources that block on the clock.
283 API: gst_base_src_wait_playing()
285 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
287 Patch by: Peter Kjellerstedt <pkj at axis com>
290 gst-element-check.m4 is generated and should therefore be
291 copied from the build dir rather than the source dir (#357593).
292 'make distcheck' hasn't noticed this because we were disting
293 the file as well, so stop doing that.
295 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
297 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
298 Add some tests for gst_caps_intersect().
300 * tools/gst-launch.c: (event_loop):
301 Print all buffering percentages we get, even the 100% one.
303 2006-09-26 Wim Taymans <wim@fluendo.com>
305 * tools/gst-inspect.c: (print_element_properties_info),
307 Fix printing of flags to match the look of enums.
309 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
311 * gst/gstelementfactory.c:
312 Fix typo in docs blurb.
314 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
316 * gst/gsturi.c: (search_by_entry):
317 Don't assert/crash here if a uri handler doesn't return any
318 supported protocols. The list of protocols could be generated
319 dynamically at runtime or at plugin registration, and an error
320 in the underlying library shouldn't be fatal (#353301).
322 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
325 Fix warning if HAVE_PRINTF_EXTENSION is undefined
326 (spotted by Peter Kjellerstedt).
328 2006-09-23 Wim Taymans <wim@fluendo.com>
330 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
332 * libs/gst/base/gstbasesrc.c:
333 (gst_base_src_default_check_get_range), (gst_base_src_start),
334 (gst_base_src_activate_push), (gst_base_src_activate_pull),
335 (gst_base_src_change_state):
336 Match _start/_stop calls in the activate functions. Remove redundant
337 _stop call from the state change function. Fixes #356910.
338 Turn failure DEBUG into ERROR.
340 2006-09-22 Wim Taymans <wim@fluendo.com>
342 * docs/design/part-buffering.txt:
343 * gst/gstmessage.c: (gst_message_new_buffering),
344 (gst_message_parse_buffering):
345 Update docs about buffering.
347 * docs/design/part-trickmodes.txt:
350 2006-09-22 Stefan Kost <ensonic@users.sf.net>
352 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
353 (gst_controller_new_list):
354 Ref instances when returning them again (fixes #357180)
356 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
358 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
359 Don't forget to release proxy lock when there's an error.
361 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
364 Add extra initialisers for Caps things, to fix some plugin warnings
367 2006-09-18 Wim Taymans <wim@fluendo.com>
369 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
370 Also set template on the internal pad so that a getcaps from the
371 target pad returns the template caps.
373 2006-09-18 Wim Taymans <wim@fluendo.com>
375 * gst/gstelement.c: (gst_element_post_message),
376 (gst_element_dispose):
377 Use _DEBUG_OBJECT some more.
379 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
382 * tools/gst-launch.c: (main):
383 If the toplevel element is not a GstPipeline, it must be put in a
384 pipeline so that a bus and clock is selected.
386 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
388 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
389 JITTER, RATE, and LATENCY query should be handled by the
390 default case and not by the CONVERT query code.
392 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
394 * gst/gstformat.c: (gst_format_register):
395 Fix locking order (must take lock before using n_values).
397 * gst/gstvalue.c: (gst_value_serialize_enum),
398 (gst_value_deserialize_enum_iter_cmp),
399 (gst_value_deserialize_enum):
400 Fix serialisation/deserialisation of custom registered GstFormats.
402 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
403 Unit test for custom format serialisation/deserialisation.
405 2006-09-17 Stefan Kost <ensonic@users.sf.net>
407 * docs/pwg/building-boiler.xml:
408 * plugins/elements/gstcapsfilter.c:
409 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
412 2006-09-16 Edward Hervey <edward@fluendo.com>
414 * libs/gst/base/gstbasetransform.c:
415 (gst_base_transform_buffer_alloc):
416 Check if requested caps are the same as the sinks caps IF
417 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
419 This fixes the renegotiation issues stated in #352827.
421 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
424 * docs/manual/advanced-autoplugging.xml:
425 * tests/examples/Makefile.am:
426 * tests/examples/manual/.cvsignore:
427 * tests/examples/manual/Makefile.am:
428 * tests/examples/manual/extract.pl:
429 Extract the manual examples again like we used to do.
432 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
434 * win32/common/config.h:
437 2006-09-16 Stefan Kost <ensonic@users.sf.net>
440 Documents how to receive errors.
442 2006-09-15 Wim Taymans <wim@fluendo.com>
444 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
445 (event_loop), (main):
446 Added some comments here and there.
447 Post an application message when an interrupt is caught instead of doing
448 an uncontrolled state change.
449 Clean up the event loop.
450 Handle buffering messages, pause/resume the pipeline.
451 Make shutdown because of an interrupt more reliable.
453 2006-09-15 Wim Taymans <wim@fluendo.com>
455 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
456 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
457 (gst_base_sink_preroll_object):
458 Make sure that our internal state is correct when we commit our state
459 asynchronously. This solves a race where a state change to PLAYING
460 could cause the sink to remain blocked in preroll in some situations.
462 2006-09-15 Wim Taymans <wim@fluendo.com>
464 * tools/gst-inspect.c: (print_element_properties_info),
466 List flags as hex so it's easier to deal with.
468 2006-09-15 Wim Taymans <wim@fluendo.com>
470 * docs/libs/gstreamer-libs-sections.txt:
471 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
472 (gst_base_sink_do_sync):
473 * libs/gst/base/gstbasesink.h:
474 Expose logic to wait for preroll so that subclasses such as audiosink
475 can also use this method.
476 API: gst_base_sink_wait_preroll()
478 2006-09-15 Wim Taymans <wim@fluendo.com>
480 * gst/gstobject.c: (gst_object_set_parent):
481 * gst/gstpipeline.c: (do_pipeline_seek):
482 Small cleanups in docs and code.
484 * gst/gstsegment.c: (gst_segment_clip):
485 * tests/check/gst/gstsegment.c: (GST_START_TEST):
486 if stop == start and start is in the segment, no clipping should be
487 done. Also add a test for this.
489 2006-09-15 Wim Taymans <wim@fluendo.com>
491 * docs/design/part-buffering.txt:
492 * docs/gst/gstreamer-sections.txt:
493 * gst/gstmessage.c: (gst_message_new_buffering),
494 (gst_message_parse_buffering):
496 Added methods to create and parse BUFFERING messages.
497 Added preliminary docs about buffering.
498 API: gst_message_new_buffering
499 API: gst_message_parse_buffering
501 2006-09-06 Wim Taymans <wim@fluendo.com>
504 Update documentation.
506 * gst/gstelement.c: (gst_element_class_init),
507 (gst_element_release_request_pad), (gst_element_set_clock),
508 (gst_element_get_index), (gst_element_add_pad),
509 (gst_element_remove_pad), (gst_element_get_random_pad),
510 (gst_element_send_event), (gst_element_get_query_types),
511 (gst_element_query), (gst_element_post_message),
512 (gst_element_message_full), (gst_element_continue_state),
513 (gst_element_lost_state), (gst_element_save_thyself),
514 (gst_element_restore_thyself):
515 Documentation updates.
516 Rename last bit of the new-pad -> pad-added signal rename.
517 Fix the case where an element query would only work if the source
519 Avoid some useless type checking in message handling.
524 Documentation updates.
526 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
528 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
529 add an INFO line for when we actually update the fd
531 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
536 === release 0.10.10 ===
538 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
541 releasing 0.10.10, "Pais"
543 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
545 * docs/manual/advanced-position.xml:
546 Fix typo in sample code.
548 2006-09-05 Wim Taymans <wim@fluendo.com>
550 * libs/gst/net/gstnetclientclock.c: (inet_aton),
551 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
552 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
553 * libs/gst/net/gstnetclientclock.h:
554 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
555 * libs/gst/net/gstnettimepacket.h:
556 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
557 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
558 (gst_net_time_provider_thread), (gst_net_time_provider_new):
559 * libs/gst/net/gstnettimeprovider.h:
560 Make stuff compile on windows. Fixes #345295.
562 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
564 * gst/gst.c: (ensure_current_registry_forking):
565 Print better details when child was terminated by signal.
567 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
569 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
570 Print a warning rather than g_assert() if a plugin feature
571 is a URI handler but returns no protocols (#353976).
573 2006-09-02 Stefan Kost <ensonic@users.sf.net>
575 * docs/random/moving-plugins:
578 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
580 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
581 Fix locking order, handle NULL function values properly.
586 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
587 Initialise variable before using it and fix debug statement to
588 print the address of the function rather than the address of the
589 variable on the stack holding the address of the function.
591 2006-09-01 Wim Taymans <wim@fluendo.com>
593 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
594 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
595 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
596 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
597 (gst_ghost_pad_parent_unset),
598 (gst_ghost_pad_internal_do_activate_push),
599 (gst_ghost_pad_internal_do_activate_pull),
600 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
601 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
602 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
603 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
604 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
605 (gst_ghost_pad_new_no_target_from_template),
606 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
608 Avoid needless typechecking in macros.
609 Since the internal pad is always present and never changes, there is
610 no need to locking or ref when retrieving it.
611 Improve debugging a bit.
612 Handle link errors when setting the target. Fixes #341029.
614 2006-09-01 Wim Taymans <wim@fluendo.com>
616 * docs/libs/gstreamer-libs-sections.txt:
617 * docs/plugins/gstreamer-plugins-sections.txt:
620 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
621 (gst_collect_pads_event):
622 * libs/gst/base/gstcollectpads.h:
623 Documentation updates.
624 Free queued buffer when removing a pad.
626 2006-08-31 Michael Smith <msmith@fluendo.com>
628 * gst/gstutils.c: (gst_element_link_pads),
629 (gst_element_link_pads_filtered):
630 Ensure that we set a capsfilter to NULL if we failed to link it
631 when doing filtered linking, to avoid criticals.
633 No need to check for unreffing srcpad, which is explicly NULLed
634 above (a trivial code cleanup).
636 2006-08-31 Wim Taymans <wim@fluendo.com>
638 * docs/design/part-gstghostpad.txt:
639 Update ascii art in documentation.
641 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
642 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
643 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
644 (gst_ghost_pad_internal_do_activate_push),
645 (gst_ghost_pad_internal_do_activate_pull),
646 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
647 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
648 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
649 (gst_ghost_pad_set_target):
650 Small cleanups and leak fixes.
651 Remove some checks now that the internal pad is never NULL.
652 Fix the case where linking pads without a target would create nasty
653 criticals. Fixes #341029.
654 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
655 value of _set_target().
657 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
658 (gst_ghost_pad_suite):
659 Some more tests for creating and linking untargeted ghostpads.
661 2006-08-31 Edward Hervey <edward@fluendo.com>
663 * docs/gst/gstreamer-sections.txt:
664 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
665 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
666 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
667 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
668 (gst_ghost_pad_new_from_template),
669 (gst_ghost_pad_new_no_target_from_template):
671 Refactored *_new() functions.
672 Templates are now used as a g_object_new() parameter.
673 Use template in _do_getcaps() if we don't have a target.
674 Small documentation cleanups.
675 Added two new constructors:
676 gst_ghost_pad_new_from_template()
677 gst_ghost_pad_new_no_target_from_template()
678 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
679 (gst_ghost_pad_suite):
680 Added tests for new ghostpad instanciation functions.
682 API additions: gst_ghost_pad_new_from_template,
683 gst_ghost_pad_new_no_target_from_template
685 2006-08-30 Stefan Kost <ensonic@users.sf.net>
687 * docs/random/ensonic/profiling.txt:
688 Ideas about qos profiling.
690 2006-08-29 Wim Taymans <wim@fluendo.com>
692 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
696 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
699 Improve and detypofy docs.
701 * tests/check/Makefile.am:
702 * tests/check/gst/.cvsignore:
703 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
704 Add a basic test suite for GstXML.
706 2006-08-29 Wim Taymans <wim@fluendo.com>
708 * gst/gstelement.c: (activate_pads), (clear_caps),
709 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
710 Clear the pad caps when the element shut down all of the pads and
711 is not streaming data that could modify the caps.
714 2006-08-28 Michael Smith <msmith@fluendo.com>
716 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
717 Revert previous change; I misunderstood single-segment mode.
719 2006-08-28 Michael Smith <msmith@fluendo.com>
721 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
722 Unset DISCONT on buffers when using single-segment mode.
724 2006-08-28 Wim Taymans <wim@fluendo.com>
726 * gst/gstcaps.c: (gst_caps_merge_structure):
728 Fix docs and indentation again.
730 * tests/check/gst/gstquery.c: (GST_START_TEST):
731 Fix leak in tests and add some more tests.
733 2006-08-28 Edward Hervey <edward@fluendo.com>
735 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
736 Inform GstSegment of the last stop position in order for the current
737 segment to have a proper duration if it doesn't have a specific stop
738 position from which a duration could be calculated.
739 This bug was noticeable when a non-flushing, non-update new segment was
740 followed by another segment (all buffers from the new segment were being
743 2006-08-28 Wim Taymans <wim@fluendo.com>
745 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
746 Small comment update.
748 * plugins/elements/gstidentity.c: (gst_identity_class_init),
749 (gst_identity_transform_ip):
750 Drop-probability is broken, mention this in the code with a
751 FIXME and also in the property description.
752 Make silent also be silent about the drop messages.
754 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
756 * docs/manual/appendix-win32.xml:
757 Remove mention of popt, we don't depend on that any
758 longer (#353136). Add some comments pointing out that
759 this section is slightly outdated.
761 2006-08-28 Wim Taymans <wim@fluendo.com>
763 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
765 * gst/gstquery.c: (gst_query_new_segment):
766 * tests/check/gst/gstquery.c: (GST_START_TEST):
767 Initialize variables when creating a new segment query.
770 2006-08-28 Wim Taymans <wim@fluendo.com>
772 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
774 * gst/gstelement.c: (gst_element_get_bus):
775 * tests/check/gst/gstelement.c: (GST_START_TEST):
776 Check for NULL before _reffing the bus. Fixes #353122.
778 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
780 * docs/manual/basics-bus.xml:
781 Docs update: fix wrong callback return value explanation; add
782 some lines about the implicit relationship between main loop
783 and main context; remove duplicate main loop variable declaration.
785 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
787 * tests/check/gst/gstcaps.c: (GST_START_TEST):
788 Don't leak caps in unit test; add a few more simple
791 2006-08-24 Stefan Kost <ensonic@users.sf.net>
793 * docs/gst/gstreamer-sections.txt:
794 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
795 (gst_caps_structure_is_subset), (gst_caps_merge),
796 (gst_caps_merge_structure):
798 * libs/gst/base/gstbasetransform.c:
799 (gst_base_transform_transform_caps):
800 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
801 implement caps merging (fixes #352580)
803 2006-08-23 Stefan Kost <ensonic@users.sf.net>
806 * tools/gst-plot-timeline.py:
807 add debug-log plotting developer tool (#340674)
809 2006-08-23 Wim Taymans <wim@fluendo.com>
811 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
813 Improve debugging for task functions.
815 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
816 (gst_task_start), (gst_task_pause), (gst_task_join):
817 Make sure that the task function started and finished after a
819 Don't try to push the task function on the threadpool multiple
821 Improve the g_warning message with some useful suggestions
822 about how to fix the problem.
824 2006-08-23 Wim Taymans <wim@fluendo.com>
826 * gst/gstutils.c: (gst_pad_proxy_getcaps):
827 Handle RESYNC correctly in _proxy_getcaps.
829 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
831 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
832 (gst_xml_parse_memory), (gst_xml_get_element):
833 Chain up to parent class in dispose function and also
834 unref the elements in the toplevel_elements GList.
835 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
836 Always return a reference in gst_xml_get_element() rather
839 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
840 Don't leak GstXml object.
842 2006-08-21 Stefan Kost <ensonic@users.sf.net>
844 * docs/gst/gstreamer-sections.txt:
845 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
848 * libs/gst/base/gstbasetransform.c:
849 (gst_base_transform_transform_caps):
850 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
853 2006-08-21 Edward Hervey <edward@fluendo.com>
855 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
856 Implement GObject::dispose virtual method in GstXML so we can free the
859 2006-08-21 Wim Taymans <wim@fluendo.com>
861 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
862 (gst_buffer_create_sub):
863 Copy duration/offset_end/caps when creating a subbuffer of the
865 Make the subbuffer read-only when we make the metadata writable for
868 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
869 Added check for metadata copy when creating subbuffers.
871 2006-08-21 Edward Hervey <edward@fluendo.com>
873 * libs/gst/base/gstbasetransform.c:
874 (gst_base_transform_buffer_alloc):
875 Only call downstream buffer_alloc if transform element is passthrough
876 or always_in_place. Closes #350449.
878 2006-08-20 Stefan Kost <ensonic@users.sf.net>
881 ChangeLog surgery to add comments to previous changes
883 2006-08-20 Stefan Kost <ensonic@users.sf.net>
888 * gst/gstpad.c: (gst_pad_set_active):
889 Be more verbose in the log
891 * libs/gst/base/gstbasetransform.c:
892 (gst_base_transform_transform_caps):
893 Simplify caps to get rid of duplicates, fixes #345444
895 2006-08-20 Stefan Kost <ensonic@users.sf.net>
899 Use these optimizations only internally.
901 2006-08-20 Stefan Kost <ensonic@users.sf.net>
903 * gst/gstvalue.c: (gst_value_compare_list),
904 (gst_value_compare_fraction_range),
905 (gst_value_intersect_fraction_fraction_range),
906 (gst_value_intersect_fraction_range_fraction_range),
907 (gst_value_subtract_fraction_fraction_range),
908 (gst_value_subtract_fraction_range_fraction_range),
909 (gst_value_get_compare_func), (gst_value_compare),
910 (gst_value_compare_with_func):
912 Saves the expensive lookup of the compare function in many cases
915 2006-08-18 Edward Hervey <edward@fluendo.com>
917 * tests/check/gst/gstinfo.c: (gst_info_suite):
918 Disable test that require gstdebug if it wasn't built in core.
920 2006-08-18 Stefan Kost <ensonic@users.sf.net>
922 * docs/random/ensonic/logging.txt:
925 * gst/gstinfo.c: (gst_debug_log_default):
926 reorder fields, save some columns, add optional color codes for log
929 2006-08-18 Stefan Kost <ensonic@users.sf.net>
931 * docs/random/ensonic/logging.txt:
932 add ideas about making the logs a bit more useful
934 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
936 * docs/pwg/advanced-events.xml:
937 * docs/pwg/titlepage.xml:
938 Update for 0.10 API (#340627). Add myself
941 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
943 * docs/libs/gstreamer-libs-docs.sgml:
944 * docs/libs/gstreamer-libs-sections.txt:
945 * libs/gst/check/gstbufferstraw.c:
946 Make gstcheck stuff show up in docs (still needs to
947 be documented properly though).
949 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
951 * docs/gst/gstreamer-sections.txt:
953 * gst/gst.c: (init_post):
955 * gst/gstquark.c: (_priv_gst_quarks_initialize):
957 * gst/gstquery.c: (gst_query_new_position),
958 (gst_query_set_position), (gst_query_parse_position),
959 (gst_query_new_duration), (gst_query_set_duration),
960 (gst_query_parse_duration), (gst_query_new_convert),
961 (gst_query_set_convert), (gst_query_parse_convert),
962 (gst_query_new_segment), (gst_query_set_segment),
963 (gst_query_parse_segment), (gst_query_new_seeking),
964 (gst_query_set_seeking), (gst_query_parse_seeking):
965 Add internal helpers for pre-registering quarks from static strings
966 and using the quark values directly instead of looking them up when
967 creating and parsing queries. Can be used for event construction too.
970 2006-08-16 Wim Taymans <wim@fluendo.com>
975 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
977 * gst/gstutils.c: (gst_util_set_value_from_string):
978 Fix memleak (#351502).
980 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
981 Add unit test for most of gst_util_set_value_from_string()
982 (not that one would want to encourage use of this function).
984 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
986 * libs/gst/check/gstcheck.h:
987 Use const gchar * variables in fail_unless_equals_string
988 macro to avoid compiler warnings (and don't use tabs for
991 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
993 * tools/gst-launch.c: (print_tag):
994 More space on the left for the tag names, to cater
995 for the 'extended comment' tag (not touching the
996 string for the first line since it's translated).
998 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1000 * libs/gst/check/gstcheck.h:
1001 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1002 print something when they fail.
1004 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1006 * docs/gst/gstreamer-sections.txt:
1007 * gst/gsttaglist.c: (_gst_tag_initialize):
1009 API: add GST_TAG_EXTENDED_COMMENT (#350935).
1010 Also change merge function for GST_TAG_COMMENT to
1013 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1015 * gst/gstinfo.c: (gst_debug_print_object):
1016 Make GST_PTR_FORMAT print messages as well.
1018 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1019 (GST_START_TEST), (gst_info_suite):
1022 2006-08-14 Edward Hervey <edward@fluendo.com>
1024 * gst/gstelementfactory.c: (gst_element_register):
1025 If the GstElementClass doesn't have a GstElementDetails with all fields
1026 filled up correctly (longname, description AND author), then error out
1027 nicely instead of crashing.
1029 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1031 * gst/gststructure.c:
1032 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1035 Expand on the difference between arrays and lists as we use them.
1037 2006-08-14 Wim Taymans <wim@fluendo.com>
1039 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1040 If the parent state change function failed, don't assume we can safely
1041 stop the source, this will be done when the pads are deactivated.
1043 2006-08-14 Wim Taymans <wim@fluendo.com>
1046 * gst/gsttask.c: (gst_task_join):
1049 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1050 (gst_pad_stop_task):
1051 When pad (de)activation failed for some reason, restore the old
1052 activation mode and set the pad to flushing instead of assuming the
1054 If the _task_join() failed, reinstall the task on the pad so that it can
1055 be stopped later and return an error.
1057 2006-08-11 Andy Wingo <wingo@pobox.com>
1060 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1061 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1062 is only for users of API that don't want to see deprecated
1063 functions in the headers; people that want to compile out
1064 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1065 CFLAGS. Fixes the build of multifdsink, or will soon..
1067 2006-08-11 Wim Taymans <wim@fluendo.com>
1069 * docs/gst/gstreamer-sections.txt:
1070 Add GstClockClass vmethod docs.
1073 Mark #endif with comment for associated #if
1075 * gst/gstclock.c: (gst_clock_id_wait):
1077 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1078 most clock implementations.
1080 Flesh out docs about resolution methods.
1081 API: GstClockClass::wait_jitter
1083 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1084 (gst_system_clock_async_thread),
1085 (gst_system_clock_id_wait_jitter_unlocked),
1086 (gst_system_clock_id_wait_jitter):
1087 Use base class wait_jitter variant for improved performance
1088 due to less clock polling.
1090 2006-08-11 Edward Hervey <edward@fluendo.com>
1092 * gst/gst.c: (gst_init_check), (init_post):
1093 Set gst as being initialized before scanning/updating the registry,
1094 since there might be my python plugin loader that calls gst_init() and
1095 we don't want to loop back in.
1098 2006-08-11 Wim Taymans <wim@fluendo.com>
1100 * docs/design/part-qos.txt:
1101 Bring docs in line with the code. Mostly the sign of the jitter was
1102 wrong in the docs. Fixes #349943.
1105 Fix the docs for the jitter.
1107 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1108 (gst_event_parse_tag), (gst_event_new_buffer_size),
1109 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1110 (gst_event_new_seek), (gst_event_parse_seek),
1111 (gst_event_new_navigation):
1112 Make sure the GstStructure has no parent when creating custom
1114 Add some more argument checking so that we avoid 0.0 rates.
1115 Flesh out the docs for the QoS event some more.
1117 2006-08-11 Wim Taymans <wim@fluendo.com>
1119 * docs/gst/gstreamer-sections.txt:
1120 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1121 (ensure_current_registry_forking), (ensure_current_registry),
1122 (parse_one_option), (parse_goption_arg), (gst_deinit),
1123 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1126 Added API and command line option to disable registry forking in
1127 addition to the environment variable.
1128 Constify some static arrays.
1129 Added some more debug.
1131 API: gst_registry_fork_is_enabled()
1132 API: gst_registry_fork_set_enabled()
1133 API: --gst-disable-registry-fork command line option
1136 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1138 * gst/gst.c: (gst_init):
1139 Fix typo in error message.
1141 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1143 * libs/gst/controller/gstcontroller.h:
1144 fix ABI size-correction
1146 * tests/check/libs/gdp.c: (gst_dp_suite):
1147 make tests that use deprecated API conditional
1149 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1151 * docs/libs/gstreamer-libs-sections.txt:
1152 * libs/gst/controller/gstcontroller.c:
1153 (_gst_controller_get_property), (_gst_controller_set_property),
1154 (_gst_controller_init), (_gst_controller_class_init):
1155 * libs/gst/controller/gstcontroller.h:
1156 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1157 (gst_object_set_control_rate):
1158 API: add gst_object_{s,g}et_control_rate(), add private data section,
1161 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1162 * libs/gst/dataprotocol/dataprotocol.h:
1163 add deprecation guards to make gtk-doc happy and allow disabling cruft
1165 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1167 * tests/check/Makefile.am:
1168 * tests/check/gst/.cvsignore:
1169 Let's enable the new unit test as well.
1171 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1174 * docs/gst/gstreamer-sections.txt:
1175 * gst/gstconfig.h.in:
1176 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1177 (_gst_info_printf_extension_ptr),
1178 (_gst_info_printf_extension_segment):
1179 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1180 register that lets us easily dump GstSegments into debug
1183 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1184 (info_segment_format_printf_extension), (gst_info_suite):
1185 Add simple unit test that logs a bunch of different segments (not
1186 valgrinded at the moment because of leaks in
1187 gst_debug_add_log_function).
1189 2006-08-09 Edward Hervey <edward@fluendo.com>
1191 * libs/gst/base/gstbasetransform.c:
1192 (gst_base_transform_buffer_alloc):
1193 Even if we can't figure out the proper format to request downstream,
1194 call buffer_alloc() downstream with the input parameters without setting
1195 the caps on the srcpad. This will force negotiation in the chain
1199 2006-08-08 Edward Hervey <edward@fluendo.com>
1201 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1202 Unlinking from a pad without a target is now a perfectly valid case
1203 which should NOT raise an assertion.
1204 This case would happen if a linked ghostpad its target set to NULL after
1205 it was previously linked.
1207 2006-08-08 Edward Hervey <edward@fluendo.com>
1209 * tests/check/libs/gdp.c:
1210 Also comment out the test (see below).
1212 2006-08-08 Edward Hervey <edward@fluendo.com>
1214 * tests/check/libs/gdp.c: (gst_dp_suite):
1215 Use the architecture information from config.h and not gcc macros
1216 in order to properly disable a test that fails on PPC64.
1218 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1220 * gst/gstelement.c: (gst_element_remove_pad):
1221 Don't crash printing the warning if the pad has no parent.
1223 2006-08-02 Wim Taymans <wim@fluendo.com>
1225 * libs/gst/dataprotocol/dataprotocol.c:
1226 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1227 (gst_dp_crc), (gst_dp_header_payload_length),
1228 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1229 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1230 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1231 (gst_dp_event_from_packet), (gst_dp_validate_header),
1232 (gst_dp_validate_payload):
1233 Make debug category static
1234 Constify the crc table.
1235 Do some more arg checking in public functions.
1236 Fix some docs and do some small cleanups.
1238 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1239 Add some more checks to see if GDP deals with bogus input.
1241 2006-07-31 Wim Taymans <wim@fluendo.com>
1243 * gst/gstvalue.c: (gst_value_compare_list):
1244 Fix GstValueList comparison code. Fixes #347293.
1246 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1247 Check to test GstValueList comparison.
1249 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1251 * gst/gstelementfactory.c: (gst_element_factory_create):
1252 Remove unnecessary ref/unref pair
1254 * gst/parse/grammar.y:
1255 Make sure to free the parse buffer on all code paths.
1256 Move a g_free up to the error handler where it's easier to see.
1258 * tests/check/gst/gstevent.c: (test_event):
1259 Extending timeout for downstream travelling events to 10 seconds to
1260 hopefully avoid intermittent failure on the buildbots.
1262 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1263 Don't manually set the state of the src element - it will happen as a
1264 natural consequence of the pipeline changing state, and that way it
1265 will do it in the right order too.
1267 2006-07-31 Wim Taymans <wim@fluendo.com>
1269 * libs/gst/base/gstbasetransform.c:
1270 (gst_base_transform_buffer_alloc):
1271 Use OBJECT_LOCK and refcounting to get the pad caps in the
1272 buffer_alloc function because the caps could change while we are
1273 busy with them. Fixes #349105
1275 2006-07-31 Wim Taymans <wim@fluendo.com>
1277 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1278 Protect _PAD_CAPS with OBJECT_LOCK.
1280 2006-07-31 Wim Taymans <wim@fluendo.com>
1282 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1283 (gst_pad_get_property), (gst_pad_activate_pull),
1284 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1285 (gst_pad_set_activate_function),
1286 (gst_pad_set_activatepull_function),
1287 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1288 (gst_pad_set_getrange_function),
1289 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1290 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1291 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1292 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1293 (gst_pad_set_acceptcaps_function),
1294 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1295 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1296 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1297 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1298 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1299 (gst_pad_configure_sink), (gst_pad_configure_src),
1300 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1301 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1302 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1303 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1304 (gst_pad_send_event):
1305 Use _DEBUG_OBJECT when it makes sense.
1306 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1307 Small cleanups and code reflows.
1308 Avoid caps refcounting in _accept_caps.
1309 Refactor alloc_buffer so that the code performed on the peer is in a
1310 separate function. Also if the pad does not implement a buffer alloc
1311 function, we should still check if the pad is flushing before falling
1312 back to the default allocator.
1314 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1316 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1317 Make all uses of identity and fakesink have silent=true to avoid
1318 serialising every passing data structure, which is breaking tests
1319 on FC4 for some unknown reason.
1321 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1323 * gst/parse/Makefile.am:
1324 * gst/parse/grammar.y:
1325 * gst/parse/parse.l:
1326 Reverted previous patch as it required to bump the flex dependency to
1327 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1329 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1331 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1333 * gst/parse/Makefile.am:
1334 * gst/parse/grammar.y:
1335 * gst/parse/parse.l:
1336 push & pop the state of the lexer for reentrant use case
1339 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1341 * libs/gst/base/gstbasesrc.h:
1342 Note in the docs that the ::newsegment vfunc is not actually used by
1345 2006-07-28 Wim Taymans <wim@fluendo.com>
1347 * libs/gst/base/gstcollectpads.c:
1348 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1349 (gst_collect_pads_clear), (gst_collect_pads_flush),
1350 (gst_collect_pads_event), (gst_collect_pads_chain):
1351 When flushing a pad, also clear the queued buffer so that we don't
1352 accidentally use it when we shouldn't.
1353 Fix leaks by inreffing incomming buffer.
1354 Flush out queued buffers in case of errors.
1357 2006-07-28 Wim Taymans <wim@fluendo.com>
1359 * docs/random/phonon-gst:
1360 Random notes about a Phonon backend.
1362 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1364 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1366 * tests/check/libs/gdp.c: (gst_dp_suite):
1367 Take a whack at fixing the ppc compile using a different define to
1368 disable the broken test.
1370 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1371 Remove excess g_print()
1373 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1375 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1376 Oops, meant to uncomment this line too to dampen the noise a bit.
1378 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1380 * gst/parse/grammar.y:
1381 * gst/parse/parse.l:
1382 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1383 (GST_START_TEST), (parse_suite):
1384 Fix some of the leaks exposed by extending the parse-launch testsuite,
1385 and move the 3 I can't figure out into a separate test that won't run
1386 the pipelines unless the appropriate line is uncommented.
1388 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1390 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1391 Requesting 0 bytes before the end of the file should result in
1392 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1395 2006-07-27 Wim Taymans <wim@fluendo.com>
1397 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1398 Fix useless assert, a uint is always positive.
1400 * gst/gststructure.c: (gst_structure_nth_field_name),
1401 (gst_structure_foreach), (gst_structure_map_in_place):
1402 Check input arguments for public functions to avoid obvious crashes.
1404 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1405 * plugins/elements/gstfakesink.h:
1406 Do less useless typechecking.
1408 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1410 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1411 Do not use mmap() by default since there are a number of error
1412 conditions that we would like to handle in a non-fatal way that
1413 will result in a SIGBUS if we use mmap(). Examples: external
1414 devices (USB harddrive, portable music player) being unplugged
1415 while in use; file on mounted CD/DVD that can't be read because
1416 the medium is partly damaged. Fixes #348455 and #348475.
1418 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1421 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1424 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1426 * gst/gstregistry.c:
1427 Move big documentation comment into class section header, so that it
1428 appears in the API docs.
1430 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1432 * docs/gst/gstreamer-sections.txt:
1433 Oops. Commit the docs additions too for new API.
1434 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1436 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1438 * gst/gststructure.c: (gst_structure_id_set),
1439 (gst_structure_id_set_valist):
1440 * gst/gststructure.h:
1441 Add API for setting values into structures without performing
1442 a quark lookup, if the appropriate quark is already known.
1444 API: gst_structure_id_set
1445 API: gst_structure_id_set_valist
1447 * gst/parse/grammar.y:
1448 * gst/parse/parse.l:
1449 Remove some dead code shown by the coverage information.
1450 Don't throw a critical g_warning when encountering a syntax error,
1451 just warn and let the normal error path handle it.
1453 * plugins/elements/gstelements.c:
1454 Bump the rank of filesink up to PRIMARY so that it is preferred over
1455 gnomevfssink for file:// sink uri's
1457 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1458 (GST_START_TEST), (run_delayed_test),
1459 (gst_parse_test_element_base_init),
1460 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1461 (gst_parse_test_element_change_state),
1462 (gst_register_parse_element), (parse_suite):
1463 Beef up the tests for parse syntax to check that more error cases
1464 fail as they are supposed to. Increases the test coverage a bit.
1466 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1468 * docs/manual/basics-elements.xml:
1469 Fix gst_element_link() example.
1472 Mention in API docs that one should usually gst_bin_add()
1473 elements to a bin or pipeline before doing the linking.
1475 2006-07-26 Wim Taymans <wim@fluendo.com>
1477 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1478 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1479 Avoid function call for known types by keeping the buffer and
1480 subbuffer GType global.
1482 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1483 Random silly optimisations in read() path.
1485 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1487 * tools/gst-launch.c: (main):
1488 If the top-level of the parse is a normal bin, it doesn't do the
1489 right logic to run as a top-level element, so place it inside a
1492 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1494 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1495 Remove superfluous g_object_notify() calls, GObject does
1496 that for us automatically.
1498 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1501 on Win32, use dllspec to export the debug category symbols
1503 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1505 * gst/gsttaglist.c: (_gst_tag_initialize):
1506 Allow more than one GST_TAG_IMAGE per taglist.
1508 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1510 * gst/gstminiobject.c:
1512 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1513 (gst_fd_src_create):
1514 log recurring events at LOG level
1515 add more debug for when the fd gets set
1517 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1519 * gst/gstparse.c: (gst_parse_launch):
1520 Also remove reentrance checks if flex is MT safe (#348179)
1521 Fix my empty ChangeLog entry below
1523 2006-07-21 Andy Wingo <wingo@pobox.com>
1525 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1527 * libs/gst/check/Makefile.am
1528 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1529 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1530 * libs/gst/check/gstbufferstraw.h:
1531 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1532 functions, thus proving I am still a GStreamer haxor. OK I wrote
1533 them a long time ago, but anyways.
1535 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1538 * gst/gstparse.c: (gst_parse_launch):
1539 Check for flex version and omit mutex if we have a MT save flex
1542 2006-07-21 Wim Taymans <wim@fluendo.com>
1544 * gst/gstparse.c: (gst_parse_launch):
1545 Protect recursive calls to _parse with a recursive mutex
1548 2006-07-21 Wim Taymans <wim@fluendo.com>
1550 * tests/check/gst/gstpad.c: (GST_START_TEST):
1553 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1555 * gst/gstparse.c: (gst_parse_launch):
1556 Do not hang on recursive usage of gst_parse_launch()
1558 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1561 Add some more docs, comments and FIXME 0.11s here and there
1562 and also fix some typos.
1564 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1567 Convert tabs to spaces for better readability.
1569 2006-07-20 Edward Hervey <edward@fluendo.com>
1571 * tests/check/libs/gdp.c: (gst_dp_suite):
1572 the test_buffer test fails at line 140 on ppc64 at the following
1574 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1575 GST_BUFFER_FLAG_IN_CAPS),
1576 "GST_BUFFER_IN_CAPS flag should have been copied !");
1577 See bug #348114 for more details.
1579 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1581 * docs/pwg/advanced-scheduling.xml:
1583 Fix typos (#348000).
1585 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1587 * docs/pwg/intro-basics.xml:
1588 Fix wrong links (#347927).
1590 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1592 * gst/gstregistry.h:
1593 * gst/gstregistryxml.c: (load_feature),
1594 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1595 * win32/common/config.h:
1596 make --disable-index work (#342564)
1598 2006-07-18 Wim Taymans <wim@fluendo.com>
1600 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1604 The attached patch adds two missing defines to gsttrace.h when tracing
1605 is disabled. It also corrects one existing define.
1608 2006-07-17 Wim Taymans <wim@fluendo.com>
1610 * docs/gst/gstreamer-sections.txt:
1611 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1613 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1614 Add two functions to check and change the SIGSEGV behaviour
1615 when loading plugins.
1616 Don't mess with the SIGSEGV handler when we were told not to.
1618 API: gst_segtrap_is_enabled
1619 API: gst_segtrap_set_enabled
1621 2006-07-14 Wim Taymans <wim@fluendo.com>
1623 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1624 * tests/check/elements/filesrc.c: (GST_START_TEST):
1625 Revert fix for regression in #347408 after release.
1627 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1629 Patch by: Antoine Tremblay <hexa00 at gmail com>
1631 * gst/gstutils.c: (gst_element_unlink):
1632 Free iterator when done (#347311).
1634 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1635 And add a test case for this.
1637 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1640 Bump nano back to CVS
1642 === release 0.10.9 ===
1644 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1647 releasing 0.10.9, "On the road again"
1649 2006-07-13 Wim Taymans <wim@fluendo.com>
1651 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1652 * tests/check/elements/filesrc.c: (GST_START_TEST):
1653 Revert pull-0 fix for release. Disable check. Fixes #347408.
1655 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1657 * libs/gst/dataprotocol/dataprotocol.c:
1658 (gst_dp_event_from_packet_1_0):
1659 Fixes #347337: failure to deserialize event packets with
1660 empty payload (only event type)
1662 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1665 do not install a .c file in the header directory
1667 2006-07-13 Edward Hervey <edward@fluendo.com>
1669 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1670 GhostPad no longer implicitely use the padtemplates of the targets.
1673 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1675 * gst/gstvalue.c: (gst_value_compare_list),
1676 (gst_value_compare_array), (_gst_value_initialize):
1677 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1678 Make GstValueArray comparison be order dependent as designed.
1679 Add checks for value lists and value array comparisons.
1682 2006-07-11 Edward Hervey <edward@fluendo.com>
1684 * gst/gstbin.c: (activate_pads),
1685 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1686 (gst_bin_change_state_func):
1687 (de)activate src pads before calling state_change on the childs.
1688 This is to avoid the case where a src ghostpad is blocked (holding the
1689 stream lock), which would block the deactivation of the ghostpad's
1691 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1692 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1693 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1694 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1695 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1696 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1697 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1698 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1699 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1700 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1701 (gst_ghost_pad_class_init),
1702 (gst_ghost_pad_internal_do_activate_push),
1703 (gst_ghost_pad_internal_do_activate_pull),
1704 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1705 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1706 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1707 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1708 GhostPads now create their internal GstProxyPad at creation (and not
1709 when they're linked, as it was being done previously).
1710 The internal and target pads are linked straight away.
1711 The data will also travel through the other pad in order to make
1712 pad blocking and probes non-hackish (the probe/block now really happens
1713 on the GhostPad and not on the target).
1714 * gst/gstpad.c: (gst_pad_set_blocked_async),
1715 (gst_pad_link_prepare), (gst_pad_push_event):
1716 Remove previous ghostpad cruft.
1717 * gst/gstutils.c: (gst_pad_add_data_probe),
1718 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1719 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1720 (gst_pad_remove_buffer_probe):
1721 Remove previous ghost pad cruft.
1722 Added more detailed debug statements.
1723 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1724 Fix the testsuite for refcounting changes.
1725 The comments about who has references were correct, but the refcount
1726 being checked wasn't the same (!?!).
1730 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1732 * docs/gst/gstreamer-sections.txt:
1733 * gst/gstconfig.h.in:
1734 More docs for configuration options, add docs to gtk-doc.
1736 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1739 * gst/gstconfig.h.in:
1740 * win32/common/config.h:
1741 Fix build when disabling tracing (fixes #344016). Also start to document
1742 the defines that disable the sub-systems.
1744 2006-07-10 Edward Hervey <edward@fluendo.com>
1746 * gst/gst.c: (ensure_current_registry_forking):
1747 let's make valgrind happy...
1749 2006-07-09 Wim Taymans <wim@fluendo.com>
1751 * gst/gstelement.c: (activate_pads),
1752 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1753 Better pad activation code: Reset the collect value too on resync.
1756 2006-07-09 Wim Taymans <wim@fluendo.com>
1758 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1759 (gst_pad_activate_push):
1760 Use some more macros where it makes sense.
1761 Allow pad mode switching instead of asserting. When a pad
1762 is activated in one mode and we activate it in another,
1763 deactivate it first before activating it in a different mode.
1766 2006-07-08 Andy Wingo <wingo@pobox.com>
1768 * tools/gst-launch.c (main): Handle err == NULL.
1770 * gst/gst.c (init_post, ensure_current_registry)
1771 (ensure_current_registry_forking)
1772 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1773 factoring out the registry scanning into separate functions. Don't
1774 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1775 Better environment var name/interface suggestions accepted.
1777 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1779 * gst/gstobject.c: (gst_object_set_name_default),
1780 (gst_object_set_name):
1781 Random micro-optimisation: don't use a hash table
1782 with strings as keys and the usual strdup/strcmp
1783 involved, but rather just use the GQuark of the
1784 type name as key, since it needs to be looked up
1785 anyway to get the type name string.
1787 * tests/check/gst/gstobject.c: (GST_START_TEST):
1790 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1792 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1793 (gst_bin_iterate_all_by_interface):
1794 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1795 GTypes are gulongs and thus the top 4 bytes might be cut
1796 off on some platforms when doing GPOINTER_TO_INT, leading
1797 to invalid GTypes and bad things happening (see RH bug #179654).
1798 Also add a check to make sure the type passed in is really
1801 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1806 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1810 * gst-element-check.m4:
1811 * gst-element-check.m4.in:
1812 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1813 instead of the unversioned gst-inspect (#324176, #168659).
1815 2006-07-06 Wim Taymans <wim@fluendo.com>
1818 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1821 2006-07-06 Wim Taymans <wim@fluendo.com>
1823 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1824 (gst_base_src_wait), (gst_base_src_update_length),
1825 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1826 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1827 (gst_base_src_loop), (gst_base_src_start),
1828 (gst_base_src_activate_pull):
1830 blocksize == 0 now means the default blocksize when working in push
1832 Remove some pointless asserts in _wait function.
1833 Fix offset/length calculations and EOS handling. We can now pull 0
1834 bytes as well, which is allowed.
1835 use _check_get_range() to decide if we can operate in _pull based
1837 Fix refcounting leak when check_get_range function was not
1839 API GstBaseSrc::blocksize range can be 0 too now (default)
1841 * tests/check/elements/filesrc.c: (GST_START_TEST),
1843 Added check to test _get_range() behaviour.
1845 2006-07-06 Wim Taymans <wim@fluendo.com>
1847 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1848 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1849 (gst_pad_pull_range):
1851 Lots of comments and docs added to the pad functions.
1852 Flesh out the expected behaviour of the get_range() functions.
1854 2006-07-06 Wim Taymans <wim@fluendo.com>
1859 * gst/gstiterator.h:
1863 Remove comma at end of enumerator list.
1865 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1867 * win32/common/libgstbase.def:
1868 * win32/common/libgstdataprotocol.def:
1869 * win32/common/libsgtreamer.def:
1870 Add new exported functions.
1872 2006-07-05 Wim Taymans <wim@fluendo.com>
1874 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1875 Add some more docs here and there.
1877 2006-07-05 Wim Taymans <wim@fluendo.com>
1879 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1880 (gst_base_sink_loop), (gst_base_sink_get_position):
1881 When operating in pull mode update the offset so that we
1884 2006-07-05 Wim Taymans <wim@fluendo.com>
1886 * gst/gstregistryxml.c: (read_string):
1887 Avoid strdup. (will happen in libxml, but hey!)
1892 2006-07-05 Wim Taymans <wim@fluendo.com>
1894 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1895 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1897 No point in checking if the size of the subbuffer > 0, the
1898 code handles it correclty as demonstrated by unit test.
1899 Also add a unit test for the zero sized _new_and_alloc and
1900 _copy. Fixes #346663.
1902 2006-07-05 Wim Taymans <wim@fluendo.com>
1904 * libs/gst/base/gstbasetransform.c:
1905 (gst_base_transform_prepare_output_buffer),
1906 (gst_base_transform_buffer_alloc),
1907 (gst_base_transform_handle_buffer):
1908 Make sure the buffer we pass to transform_ip has a refcount of
1909 1 and thus is writable. Fixes #343196
1911 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1913 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1914 (gst_file_src_init), (gst_file_src_set_property),
1915 (gst_file_src_get_property), (gst_file_src_map_region):
1916 * plugins/elements/gstfilesrc.h:
1917 Add "sequential" property, off by default, to use madvise and hint
1918 to the kernel that sequential access is desired.
1919 Touch all retrieved pages by default to ensure they are pulled
1920 into memory. (Closes #345720)
1922 2006-07-03 Wim Taymans <wim@fluendo.com>
1924 * docs/design/part-block.txt:
1925 * docs/design/part-dynamic.txt:
1928 2006-07-03 Wim Taymans <wim@fluendo.com>
1930 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1931 (gst_caps_unref), (gst_static_caps_get),
1932 (gst_caps_append_structure):
1933 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1934 Use GSlice when the glib we build against is >= 2.10
1936 2006-07-03 Wim Taymans <wim@fluendo.com>
1938 * gst/gstelement.c: (gst_element_pads_activate):
1939 Small cleanup in pad activation code.
1941 2006-07-03 Wim Taymans <wim@fluendo.com>
1943 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1945 * gst/gst-i18n-app.h:
1946 * gst/gst-i18n-lib.h:
1947 * tools/gst-inspect.c: (print_signal_info):
1948 The attached patch will make the inclusion of gettext.h unconditional in
1949 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1950 libintl.h in tools/gst-inspect.c.
1951 This allows use of --disable-nls again and fixes #344642.
1953 2006-07-03 Edward Hervey <edward@fluendo.com>
1955 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1956 Implement pad blocking on events according to part-block.txt.
1957 More comments on behaviour.
1958 * tests/check/gst/gstevent.c: (test_event):
1959 Send event to peer pad of blocked pad (else it will block).
1961 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1963 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1964 (gst_check_run_suite):
1965 if we get the wrong message, give us the types as string
1966 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1968 * tests/check/elements/filesrc.c: (GST_START_TEST):
1969 add a test for trying to open a non-existing file
1971 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1973 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1974 add a test for adding self
1976 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1978 * libs/gst/check/gstcheck.h:
1979 add some assert_ as alias for fail_unless_*
1980 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1981 increase test coverage
1983 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1986 include lcov.mak for lcov coverage generation
1987 * tools/Makefile.am:
1990 2006-07-02 Edward Hervey <edward@fluendo.com>
1992 * tests/check/elements/.cvsignore:
1995 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1998 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1999 * tests/check/Makefile.am:
2002 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2004 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2005 remove gst_caps_simplify; it was not declared and not used
2006 and deprecated in 0.8
2008 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2010 * docs/faq/gst-uninstalled:
2011 don't put empty paths on PYTHONPATH
2012 * docs/gst/gstreamer-sections.txt:
2013 remove some symbols that are not there
2015 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2017 * gst/gstcaps.c: (gst_caps_compare_structures):
2019 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2020 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2023 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2025 * libs/gst/dataprotocol/Makefile.am:
2026 build dataprotocol test by linking to the lib, instead of
2027 compiling the source, so we get coverage
2028 * tests/check/Makefile.am:
2029 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2030 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2031 add a test for filesrc
2033 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2035 * tests/check/gst/gststructure.c: (GST_START_TEST),
2036 (gst_structure_suite):
2037 Push coverage from 59.04% to 70.00%
2039 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2041 * tests/check/Makefile.am:
2042 gst-inspect every element; this makes sure that we also get
2043 coverage on element's get/set functions
2045 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2048 set CFLAGS and friends to -O0 if gcov is being used
2051 * libs/gst/base/Makefile.am:
2052 * libs/gst/check/Makefile.am:
2053 * libs/gst/controller/Makefile.am:
2054 * libs/gst/dataprotocol/Makefile.am:
2055 * libs/gst/net/Makefile.am:
2056 * plugins/elements/Makefile.am:
2057 * plugins/indexers/Makefile.am:
2058 add makefile rules to generate gcov data and clean up
2059 * tests/check/Makefile.am:
2060 add a coverage target that generates an html overview
2063 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2065 * tests/check/elements/fakesink.c:
2066 * tests/check/elements/fakesrc.c:
2067 * tests/check/elements/fdsrc.c:
2068 * tests/check/elements/identity.c:
2069 * tests/check/generic/sinks.c: (gst_sinks_suite):
2070 * tests/check/generic/states.c:
2071 * tests/check/gst/gst.c:
2072 * tests/check/gst/gstabi.c:
2073 * tests/check/gst/gstbin.c:
2074 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2075 * tests/check/gst/gstbus.c: (gst_bus_suite):
2076 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2077 * tests/check/gst/gstelement.c:
2078 * tests/check/gst/gstevent.c: (gst_event_suite):
2079 * tests/check/gst/gstghostpad.c:
2080 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2081 * tests/check/gst/gstmessage.c: (gst_message_suite):
2082 * tests/check/gst/gstminiobject.c:
2083 * tests/check/gst/gstobject.c:
2084 * tests/check/gst/gstpad.c:
2085 * tests/check/gst/gstpipeline.c:
2086 * tests/check/gst/gstplugin.c:
2087 * tests/check/gst/gstquery.c: (gst_query_suite):
2088 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2089 * tests/check/gst/gststructure.c:
2090 * tests/check/gst/gstsystemclock.c:
2091 * tests/check/gst/gsttag.c:
2092 * tests/check/gst/gsttask.c: (gst_task_suite):
2093 * tests/check/gst/gstutils.c:
2094 * tests/check/gst/gstvalue.c:
2095 * tests/check/libs/adapter.c:
2096 * tests/check/libs/basesrc.c:
2097 * tests/check/libs/collectpads.c:
2098 * tests/check/libs/controller.c:
2099 * tests/check/libs/gdp.c: (gst_dp_suite):
2100 * tests/check/libs/gstnetclientclock.c:
2101 * tests/check/libs/gstnettimeprovider.c:
2102 * tests/check/libs/libsabi.c: (libsabi_suite):
2103 * tests/check/libs/typefindhelper.c:
2104 * tests/check/pipelines/cleanup.c:
2105 * tests/check/pipelines/parse-launch.c:
2106 * tests/check/pipelines/simple-launch-lines.c:
2107 * tests/check/pipelines/stress.c: (stress_suite):
2110 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2112 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2113 * libs/gst/check/gstcheck.h:
2114 create a macro and function so that the simple unit test
2115 case can be just one macro to create main()
2117 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2119 * gst/gstbin.c: (gst_bin_restore_thyself):
2120 * gst/gstxml.c: (gst_xml_make_element):
2121 Fix deserialisation from XML. Set parent manually
2122 instead of using gst_bin_add(), since gst_bin_add()
2123 will unlink all pads of the element being added.
2126 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2128 Patch by: Peter Kjellerstedt <pkj at axis com>
2130 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2131 Fix missing g_strdup() and double free when using the
2132 --gst-plugin-load command line option (#346097).
2134 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2137 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2139 * libs/gst/net/gstnetclientclock.c:
2140 * libs/gst/net/gstnettimeprovider.c:
2141 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2143 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2145 * docs/manual/advanced-dataaccess.xml:
2146 Fix buffer probe example compilation in
2149 2006-06-22 Edward Hervey <edward@fluendo.com>
2151 * gst/gstelement.c: (gst_element_pads_activate):
2152 We need to deactivate src pads first and then sink pads.
2153 The reason is the src pads might be blocking while holding the streaming
2154 lock, so we need to deactivate them first so that deactivating the sink
2155 pads doesn't block (since it will require the streaming lock).
2157 2006-06-22 Wim Taymans <wim@fluendo.com>
2159 * libs/gst/base/gstbasetransform.c:
2160 (gst_base_transform_buffer_alloc):
2161 Forgot to remove two unneeded unrefs.
2162 Simplify a check _is_equal allready checks the obvious case.
2164 2006-06-22 Wim Taymans <wim@fluendo.com>
2166 * docs/design/part-block.txt:
2167 Some docs about what pad_block should do.
2169 2006-06-22 Wim Taymans <wim@fluendo.com>
2171 * gst/gstcaps.c: (gst_caps_replace):
2172 Fix crasher when passed NULL. Doc clarification.
2173 Optimize for the trivial case.
2175 * gst/gstpipeline.c: (gst_pipeline_change_state):
2178 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2179 Small documentation cleanup.
2181 * libs/gst/base/gstbasetransform.c:
2182 (gst_base_transform_buffer_alloc):
2183 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2184 is what we need and it avoids a whole lot of redundant
2185 refcount operations.
2187 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2189 Patch by: Philip Jägenstedt <philip at lysator liu se>
2191 * docs/manual/advanced-dataaccess.xml:
2192 Fix 'Embedding static elements' section to use
2193 GST_PLUGIN_DEFINE_STATIC (#345607).
2195 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2197 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2198 Attempt to 'fix' spuriously failing test case: it seems like the
2199 timeout of half a second is simply too small when the system is under
2200 load otherwise, and the timeout doesn't really seem to serve any
2201 particular purpose here. Give the pipeline a few seconds to preroll
2202 first, and then give it another half a second to go from PAUSED to
2203 PLAYING and marshal the message into the main thread.
2205 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2207 * tools/gst-feedback-m.m:
2208 Don't only use unversioned tools, try versioned tools as well
2211 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2213 * gst/gstbus.c: (gst_bus_class_init):
2214 Fix some typos, make docs more explicit.
2216 2006-06-20 Wim Taymans <wim@fluendo.com>
2218 * tests/check/gst/gstghostpad.c: (block_callback),
2219 (GST_START_TEST), (gst_ghost_pad_suite):
2220 Added some more ghostpad tests, mainly blocking
2223 2006-06-16 Wim Taymans <wim@fluendo.com>
2225 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2226 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2227 (gst_file_sink_event), (gst_file_sink_render):
2228 * plugins/elements/gstfilesink.h:
2229 Check if we can seek in the file instead of assuming
2230 we always can. Post an error when we are asked to seek in a
2231 non-seekable file (like a fifo). Fixes #343312.
2234 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2236 * tools/gst-launch.1.in:
2237 Un-garble (fourcc) bit in filtered caps section.
2239 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2241 * docs/manual/advanced-autoplugging.xml:
2242 * docs/manual/basics-helloworld.xml:
2243 * docs/manual/highlevel-components.xml:
2244 Don't leak bus reference in sample code.
2246 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2249 Add default for new --enable-plugin-docs switch.
2252 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2256 Use new ENABLE_PLUGIN_DOCS conditional.
2258 2006-06-14 Wim Taymans <wim@fluendo.com>
2260 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2261 Make it clear with a FIXME and a real define what the #if 0
2262 previously disabled.
2264 2006-06-14 Wim Taymans <wim@fluendo.com>
2266 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2267 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2268 * libs/gst/base/gstbasetransform.c:
2269 (gst_base_transform_sink_eventfunc):
2270 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2271 Don't randomly and silently reset a segment when the format
2272 changes as this is a bug somewhere upstream. Fixes #330379.
2274 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2276 Patch by: Wouter Paesen <wouter at kangaroot net>
2278 * libs/gst/controller/gstcontroller.c:
2279 (gst_controlled_property_new):
2280 Fix controlling of float properties (#344849).
2282 * tests/check/libs/controller.c:
2283 (gst_test_mono_source_get_property),
2284 (gst_test_mono_source_set_property),
2285 (gst_test_mono_source_class_init), (GST_START_TEST):
2286 While we're at it, add some float stuff to unit test.
2288 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2291 * docs/images/gdp-header.svg:
2293 * docs/libs/Makefile.am:
2294 * docs/libs/gdp-header.png:
2295 * libs/gst/dataprotocol/dataprotocol.c:
2296 add it to the API docs
2297 * docs/manual/intro-motivation.xml:
2300 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2302 * gst/gst.c: (scan_and_update_registry), (init_post):
2303 If the fork()'ed child process can't write the updated registry cache
2304 file to disk for some reason, make it exit with a failure exit code,
2305 so that the parent can then re-scan the plugins itself and update the
2306 registry structures in memory and work with that (rather than failing
2307 when creating elements because seemingly no plugins are available).
2308 Refactor registry scanning code into separate function for this and
2309 also separate fork() and non-fork() code paths. Fixes #344748.
2311 2006-06-13 Wim Taymans <wim@fluendo.com>
2313 * docs/manual/advanced-dataaccess.xml:
2314 Fix wrong PluginDesc. Fixes #344755.
2316 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2318 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2319 Fix silly bug that prevented us from creating
2320 ~/.gstreamer-0.10 and writing the registry in one
2321 go (the first call to g_mkstemp() would overwrite the
2322 placeholder in the template string, so the second call
2323 to g_mkstemp() after creating the missing directory
2324 would then error out with 'invalid argument').
2326 2006-06-13 Edward Hervey <edward@fluendo.com>
2328 * gst/gst.c: (init_post):
2331 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2333 * gst/glib-compat-private.h:
2334 * gst/glib-compat.c:
2335 * gst/glib-compat.h:
2336 * gst/gstvalue.c: (gst_value_serialize_flags):
2337 remove GLib 2.6 compatibility code
2339 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2341 * gst/parse/Makefile.am:
2342 Fix build with 'make -j N' even more (#340016).
2344 2006-06-12 Wim Taymans <wim@fluendo.com>
2346 * docs/gst/gstreamer-sections.txt:
2349 2006-06-12 Wim Taymans <wim@fluendo.com>
2351 * gst/gstsegment.c: (gst_segment_set_duration),
2352 (gst_segment_set_last_stop), (gst_segment_set_seek),
2353 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2354 (gst_segment_to_running_time), (gst_segment_clip):
2355 Use G_UNLIKELY to help the compiler a bit.
2357 2006-06-12 Wim Taymans <wim@fluendo.com>
2359 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2361 * gst/gstevent.c: (gst_event_get_type):
2363 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2365 constify quark registration strings. Fixes #344115
2366 Avoid unneeded type checking is _pad_push() by internally
2367 calling gst_pad_chain_unchecked().
2369 2006-06-12 Wim Taymans <wim@fluendo.com>
2371 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2372 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2373 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2374 (gst_buffer_is_span_fast), (gst_buffer_span):
2375 Init _type for consistency.
2376 Use _FLAGS macro to avoid type check.
2377 Avoid unneeded type checks in subbufer code.
2379 2006-06-12 Wim Taymans <wim@fluendo.com>
2381 * gst/gst.c: (gst_debug_help):
2382 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2383 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2384 (gst_plugin_feature_list_free):
2385 * gst/gstregistry.c: (gst_registry_add_plugin),
2386 (gst_registry_add_feature), (gst_registry_plugin_filter),
2387 (gst_registry_feature_filter), (gst_registry_find_plugin),
2388 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2389 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2390 * gst/gstregistryxml.c: (load_feature),
2391 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2392 * gst/gstminiobject.c: (gst_mini_object_unref),
2393 (gst_mini_object_replace), (gst_value_mini_object_free),
2394 (gst_value_mini_object_copy):
2395 Use _CAST macros to avoid unneeded type checking.
2396 Added some more G_UNLIKELY.
2398 2006-06-12 Wim Taymans <wim@fluendo.com>
2401 Avoid unneeded type checking.
2402 API: GST_BUFFER_IS_DISCONT
2404 * gst/gstminiobject.h:
2405 Avoid type check in flag accessor.
2407 * gst/gstelementfactory.h:
2409 * gst/gstpluginfeature.h:
2411 API: GST_ELEMENT_FACTORY_CAST
2412 API: GST_PLUGIN_CAST
2413 API: GST_PLUGIN_FEATURE_CAST
2415 2006-06-12 Wim Taymans <wim@fluendo.com>
2417 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2419 Add G_UNLIKELY in type registration.
2420 Avoid type check in _ref/_unref since that is also
2423 2006-06-12 Wim Taymans <wim@fluendo.com>
2425 * gst/gsterror.c: (gst_g_error_get_type):
2426 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2427 (gst_static_pad_template_get_type):
2428 * gst/gsttaglist.c: (gst_tag_list_get_type):
2429 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2430 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2431 * gst/gsturi.c: (gst_uri_handler_get_type):
2432 * gst/gstvalue.c: (gst_date_get_type):
2433 * gst/gstxml.c: (gst_xml_get_type):
2434 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2435 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2436 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2437 Add G_UNLIKELY in type registration.
2439 2006-06-12 Wim Taymans <wim@fluendo.com>
2441 * tools/gst-inspect.c: (print_signal_info):
2442 Properly print enum values.
2444 2006-06-12 Wim Taymans <wim@fluendo.com>
2446 * gst/gstinfo.c: (gst_debug_set_active),
2447 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2449 Add some G_[UN]LIKELY.
2450 Maintain __gst_debug_min to avoid formatting the arguments of
2451 debug messages that will be dropped anyway to avoid a lot of
2452 overhead from the debugging system.
2454 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2458 add missing files containing translatable strings, tell intltool about
2461 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2463 * tests/check/libs/.cvsignore:
2464 add test-binary to ignore list
2466 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2468 * docs/libs/gstreamer-libs-docs.sgml:
2469 reorder (put dp into a chapter) and indent
2471 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2476 === release 0.10.8 ===
2478 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2481 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2483 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2485 * gst/gst.c: (init_post):
2486 move pid declaration to declaration block
2488 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2490 * gst/gst.c: (init_post):
2491 use _exit() instead of exit() in our forked child; this ensures
2492 that none of the registered exit handlers from whatever is using
2493 GStreamer get executed. This fixes gnome-mixer-applet failing
2494 to load, because ORBit would shut down.
2495 Spotted by: Edward Hervey <edward@fluendo.com>
2496 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2499 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2504 === release 0.10.7 ===
2506 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2509 releasing 0.10.7, "Soepeke, ik zie ou"
2511 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2534 * win32/common/config.h:
2537 2006-06-07 Wim Taymans <wim@fluendo.com>
2539 * gst/gstindex.c: (gst_index_gtype_resolver):
2540 * tools/gst-xmlinspect.c: (print_plugin_info):
2541 Fix leak spotted by coverity checker. Fixes #343827
2542 Fix another other leak found by paolo borelli.
2544 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2546 * libs/gst/dataprotocol/dataprotocol.c:
2547 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2548 (gst_dp_version_get_type), (gst_dp_init),
2549 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2550 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2551 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2552 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2553 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2554 (gst_dp_packetizer_free):
2555 * libs/gst/dataprotocol/dataprotocol.h:
2556 API: add a GstDPPacketizer object, and create/free functions
2557 API: add GstDPVersion enum
2558 Add 1.0 event function that uses the string serialization
2559 Serialize more useful buffer flags
2562 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2564 * tests/check/Makefile.am:
2565 * tests/check/gst/gstabi.c:
2566 * tests/check/gst/struct_ppc64.h:
2567 * tests/check/libs/libsabi.c:
2568 * tests/check/libs/struct_ppc64.h:
2569 add ppc64 structure sizes
2571 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2573 * tests/check/Makefile.am:
2574 * tests/check/gst/gstabi.c:
2575 * tests/check/gst/struct_x86_64.h:
2576 * tests/check/libs/libsabi.c:
2577 * tests/check/libs/struct_x86_64.h:
2578 generate and add structure size lists for x86_64
2580 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2582 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2583 * libs/gst/check/gstcheck.h:
2584 factor out the method from tests that checks size of structures,
2585 and add code to generate the header containing these sizes
2586 * tests/check/gst/gstabi.c: (GST_START_TEST):
2587 * tests/check/gst/struct_i386.h:
2588 * tests/check/libs/libsabi.c: (GST_START_TEST):
2589 * tests/check/libs/struct_i386.h:
2592 2006-06-06 Michael Smith <msmith@fluendo.com>
2595 Don't use c++-style comments, fixes #343929
2597 2006-06-05 Edward Hervey <edward@fluendo.com>
2600 plugin_paths is not used if we build without registry support.
2602 * gst/gstsegment.c: (gst_segment_copy):
2603 _copy() was always returning NULL...
2605 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2607 * libs/gst/dataprotocol/dataprotocol.c:
2608 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2609 (gst_dp_packet_from_event):
2612 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2614 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2615 make sure we unset caps
2617 2006-06-02 Michael Smith <msmith@fluendo.com>
2619 * libs/gst/check/gstcheck.c: (gst_check_init),
2620 (gst_check_chain_func):
2621 * libs/gst/check/gstcheck.h:
2622 Add a cond/mutex to the check support lib, signal this whenever we
2623 add to the buffers list. This will allow tests to not busy-wait on
2626 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2628 * libs/gst/dataprotocol/dataprotocol.c:
2629 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2630 (gst_dp_packet_from_event):
2631 factor out some common header init code
2633 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2635 * docs/libs/gstreamer-libs-sections.txt:
2636 * docs/libs/tmpl/gstdataprotocol.sgml:
2637 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2638 * libs/gst/dataprotocol/dataprotocol.h:
2639 API: make gst_dp_crc() public
2641 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2643 * plugins/indexers/gstindexers.c: (plugin_init):
2644 conditionally register fileindexer (fixes #343598)
2646 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2648 * gst/gsttagsetter.h:
2649 Can't cast ifaces to a class
2651 * libs/gst/net/gstnetclientclock.h:
2652 * libs/gst/net/gstnettimeprovider.h:
2653 * plugins/elements/gstfakesink.h:
2654 * plugins/elements/gstfakesrc.h:
2655 * plugins/elements/gstfdsink.h:
2656 * plugins/elements/gstfdsrc.h:
2657 * plugins/elements/gstfilesink.h:
2658 * plugins/elements/gstfilesrc.h:
2659 * plugins/elements/gstidentity.h:
2660 * plugins/elements/gstqueue.h:
2661 * plugins/elements/gsttee.h:
2662 * plugins/indexers/gstfileindex.c:
2663 * plugins/indexers/gstmemindex.c:
2664 * tests/old/examples/plugins/example.h:
2665 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2667 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2669 * libs/gst/dataprotocol/dataprotocol.c:
2670 (gst_dp_header_from_buffer):
2671 make sure we zero the whole ABI-compatible area
2673 2006-06-01 Wim Taymans <wim@fluendo.com>
2675 Patch by: Alessandro Decina <alessandro at nnva dot org>
2677 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2678 Make sure the EOS flag is cleared from pads after a flush
2679 or stop. Fixes #343538.
2681 * tests/check/libs/collectpads.c: (GST_START_TEST),
2682 (gst_collect_pads_suite):
2683 Added test for collectpads reusage after EOS.
2685 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2688 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2689 * win32/common/libgstbase.def:
2690 export gst_collect_pads_set_flushing
2691 * win32/common/libgstreamer.def:
2692 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2693 gst_value_fraction_multiply
2694 * win32/vs6/gst_inspect.dsp:
2695 add a link to intl.lib
2697 2006-05-30 Wim Taymans <wim@fluendo.com>
2699 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2700 (gst_collect_pads_chain):
2701 Handle the case where a pad is removed from the collection
2702 that could cause the other pads to become collectable.
2704 2006-05-30 Wim Taymans <wim@fluendo.com>
2707 Clarify the use of _release_request_pad() and
2708 _get_request_pad() a bit better.
2710 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2711 (gst_adapter_take_buffer):
2712 Fix some doc and comment typos.
2714 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2716 * docs/gst/gstreamer-sections.txt:
2717 * docs/libs/gstreamer-libs-sections.txt:
2718 add declared symbols
2720 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2722 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2723 Add debug that can be enabled using a #define at the top of the file,
2724 for dumping stats about how late/early we were when waking up from
2725 waiting on the clock.
2727 2006-05-30 Wim Taymans <wim@fluendo.com>
2729 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2730 When rebuilding the pad list, don't leak the previous list.
2732 2006-05-30 Wim Taymans <wim@fluendo.com>
2734 Patch by: Lutz Mueller <lutz at topfrose dot de>
2736 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2737 (gst_base_src_get_query_types), (gst_base_src_update_length):
2738 Publish supported query types.
2739 Update last_stop field in get_range mode so the position
2740 query works. Fixes #342321.
2742 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2744 * docs/gst/gstreamer-sections.txt:
2745 * gst/gsttaglist.c: (_gst_tag_initialize):
2747 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2749 2006-05-30 Wim Taymans <wim@fluendo.com>
2751 Patch by: Alessandro Decina <alessandro at nnva dot org>
2753 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2754 Unlock mutex when removing an unknown pad.
2757 * tests/check/Makefile.am:
2758 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2759 (push_event), (setup), (teardown), (GST_START_TEST),
2760 (gst_collect_pads_suite), (main):
2761 Added collecpads check, disabled for now as check crashes for
2764 2006-05-29 Wim Taymans <wim@fluendo.com>
2766 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2767 Don't leak pads lists.
2769 2006-05-29 Wim Taymans <wim@fluendo.com>
2771 * docs/libs/gstreamer-libs-sections.txt:
2772 * libs/gst/base/gstcollectpads.c:
2773 (gst_collect_pads_set_flushing_unlocked),
2774 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2775 (gst_collect_pads_stop):
2776 * libs/gst/base/gstcollectpads.h:
2777 API: gst_collect_pads_set_flushing()
2778 Added api to set the pads to flushing, useful for seeking
2779 code in elements using collectpads.
2780 Clear segment when receiving a flush.
2782 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2784 * gst/gst.c: (add_path_func), (init_post):
2785 Don't scan registry paths passed via --gst-plugin-path immediately
2786 (will crash, because absolutely nothing is set up and no types are
2787 registered etc.); do this later in init_post(). Fixes #343057.
2789 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2791 * gst/gst.c: (init_post):
2792 if we have fork, fork while reading/rebuilding the registry
2793 so the parent doesn't take the hit of having all plugins loaded
2794 in memory. Fixes #342777.
2796 Check if we have fork()
2797 * win32/common/config.h.in:
2800 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2802 * plugins/elements/gstelements.c:
2803 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2804 (gst_file_src_init), (gst_file_src_set_property),
2805 (gst_file_src_get_property), (gst_file_src_start):
2806 * plugins/elements/gstfilesrc.h:
2807 API: GstFileSrc::use-mmap
2809 Add a use-mmap property to enable easier testing of all code paths.
2810 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2811 in the absence of gnomevfssrc. (Closes #340501)
2813 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2815 * tools/gst-inspect.c:
2816 Add missing include, removes warning of ngettext not being defined on
2819 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2821 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2822 Handle NULL input and output pointers silently as a failed conversion,
2823 rather than g_warnings.
2825 2006-05-25 Wim Taymans <wim@fluendo.com>
2827 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2828 Initialize variable before using. Fixes #342820.
2830 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2832 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2833 Fix off-by-one bug that would only allow peeks of N-1 bytes
2834 from the start even if the buffer to typefind on contains
2835 in fact N bytes of data (makes vorbis typefinding from a
2836 vorbis identification header buffer work).
2838 * tests/check/Makefile.am:
2839 * tests/check/libs/.cvsignore:
2840 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2841 (gst_typefindhelper_suite), (main), (foobar_typefind),
2843 Add very basic unit test for gst_type_find_helper_for_buffer()
2844 that checks for the problem fixed above.
2846 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2848 * tools/gst-inspect.c: (print_interfaces),
2849 (print_element_properties_info), (print_element_list), (main):
2850 add more translatable strings
2852 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2854 Patch by: Julien Moutte <julien at moutte net>
2856 * docs/gst/gstreamer-sections.txt:
2857 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2859 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2860 (gst_fake_sink_preroll):
2861 * plugins/elements/gstfakesink.h:
2862 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2864 2006-05-23 Wim Taymans <wim@fluendo.com>
2866 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2868 Added _CUSTOM error and success GstFlowReturn that can be
2869 used be elements internally.
2870 Added macro to check for SUCCESS flowreturns.
2871 API: GST_FLOW_CUSTOM_SUCCESS
2872 API: GST_FLOW_CUSTOM_ERROR
2873 API: GST_FLOW_IS_SUCCESS
2875 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2876 Added check for GstFlowReturn sanity.
2878 2006-05-23 Wim Taymans <wim@fluendo.com>
2880 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2882 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2883 (gst_collect_pads_event):
2884 clear/reset segment info in FLUSH_STOP.
2887 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2889 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2890 (gst_collect_pads_check_collected):
2891 Flush queued buffer on _stop(), fixes playing again (#342454)
2893 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2895 * tests/check/gst/gststructure.c: (GST_START_TEST),
2896 (gst_structure_suite):
2897 add a test for a complete structure
2899 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2901 * docs/faq/developing.xml:
2903 * docs/faq/troubleshooting.xml:
2904 * docs/faq/using.xml:
2905 Some minor FAQ updates that won't change the fact that
2906 our FAQ is badly structured, full of information hardly
2907 anyone new to GStreamer needs to know and lacking lots
2908 of information people constantly ask for.
2910 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2912 * gst/gstpad.c: (gst_pad_set_caps):
2913 Short-circuit gst_pad_set_caps if setting the existing
2914 caps pointer again, and avoid printing debug and
2915 reffing/unreffing the caps.
2917 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2918 There's actually no need to set the caps before pushing -
2919 the acceptcaps method will handle it anyway.
2921 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2923 * docs/gst/gstreamer-sections.txt:
2924 * win32/common/libgstreamer.def:
2925 * gst/gstutils.c: (gst_element_seek_simple):
2927 API: add gst_element_seek_simple() (#342238).
2929 2006-05-18 Edward Hervey <edward@fluendo.com>
2931 * gst/gsttypefind.c: (gst_type_find_get_type):
2932 * gst/gsttypefind.h:
2933 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2934 registered for GstTypeFind pointers. This allows wrapping the structure
2935 in bindings (i.e. gst-python).
2937 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2939 * gst/gsttagsetter.c:
2940 Docs additions and fixes (see #339918).
2942 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2944 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2945 The caps intersection algorithm can produce multiple copies of the
2946 caps. Until that is fixed, we need to simplify the result to be
2947 sure whether the allowed caps are fixed or not.
2949 * plugins/elements/gstqueue.c: (gst_queue_init),
2950 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2951 (gst_queue_push_one):
2952 Proxied buffer alloc should not set the caps on the source pad.
2953 When pushing buffers, we always accept the caps change that triggers.
2954 This prevents negotiation errors caused by caps changing mid-stream
2955 and then being refused on our source pad (because upstream is now
2956 refusing those caps).
2958 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2960 * tests/examples/helloworld/helloworld.c: (main):
2961 Must plug audioconvert and audioresample between decoder
2964 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2966 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2967 (load_feature), (load_plugin):
2968 Allow empty strings for some of the plugin fields so we don't
2969 drop valid plugin entries that were written out correctly
2972 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2974 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2975 Use g_remove and g_rename instead of remove and rename that don't
2976 handle utf8 characters. rename was failing for users who had specific
2977 characters in their name then the registry was built at each
2979 * win32/vs6/gst_inspect.dsp:
2980 * win32/vs6/gst_launch.dsp:
2981 * win32/vs6/libgstbase.dsp:
2982 * win32/vs6/libgstcoreelements.dsp:
2983 * win32/vs6/libgstreamer.dsp:
2984 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2985 build of libgstreamer and clean unused libraries in projects link
2988 2006-05-17 Edward Hervey <edward@fluendo.com>
2990 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2991 The queue is not responsible for pushing an EOS when receiving a fatal
2992 flow error. It's up to the real element driving the pipeline to do that.
2994 2006-05-16 Edward Hervey <edward@fluendo.com>
2996 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2997 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2998 buffer returned a fatal error. It should just send an EOS and stop
3000 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3001 when pushing buffers on the queue and will be able to handle the event.
3003 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
3005 * docs/manual/basics-bins.xml:
3006 * docs/manual/basics-init.xml:
3007 Fix typos and minor errors in sample code (#341856).
3009 2006-05-16 Wim Taymans <wim@fluendo.com>
3011 * docs/design/part-qos.txt:
3012 Fix indexes in formulas to make more sense.
3014 2006-05-15 Wim Taymans <wim@fluendo.com>
3016 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3017 Don't report POSITION based on clock time if sync is
3020 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
3023 Add cast to make compiler happy - refcount variable was a gint
3024 in GstObject but is a guint in GObject and g_atomic_int_get()
3027 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
3029 * gst/parse/Makefile.am:
3030 chain commands using &&, which also makes parallel make work
3032 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
3034 * docs/gst/gstreamer-sections.txt:
3040 === release 0.10.6 ===
3042 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
3045 releasing 0.10.6, "Take the cannoli"
3047 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
3049 * tools/gst-launch.c: (print_tag):
3050 Fix use of uninitialized variable in the hypothetical
3051 case that some broken plugin creates a GST_TAG_IMAGE
3052 tag containing a NULL buffer (#341667).
3054 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
3056 * tools/gst-launch.c: (print_tag):
3057 Print something more intelligible for image tags when
3058 using the -t switch (#341556).
3060 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3065 define GST_MAJORMINOR so we have it available in win32/common/config.h
3066 Possibly remove it from our Makefile.am files later
3067 * win32/common/config.h:
3068 * win32/common/config.h.in:
3069 added GST_MAJORMINOR
3070 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3071 * win32/common/gstversion.h:
3074 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3077 Update win32 files listing.
3078 * win32/common/gstversion.h:
3079 Add GST_MAJORMINOR definition.
3080 * win32/common/libgstreamer.def:
3081 Add new exported functions.
3083 2006-05-12 Michael Smith <msmith@fluendo.com>
3085 * gst/gstplugin.c: (gst_plugin_load_file):
3086 If an so file has no plugin entry point, unload the module.
3088 2006-05-11 Wim Taymans <wim@fluendo.com>
3090 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3091 (gst_queue_set_property):
3092 Don't forget to signal the _chain or _loop function
3093 when the queue size or thresholds change since that might
3094 cause them to make progres again.
3096 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3098 * gst/gstclock.c: (gst_clock_class_init):
3099 * gst/gstindex.c: (gst_index_class_init):
3100 * gst/gstobject.c: (gst_object_class_init):
3101 * gst/gstpad.c: (gst_pad_class_init):
3102 * gst/gstpipeline.c: (gst_pipeline_class_init):
3103 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3104 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3105 * libs/gst/base/gstbasetransform.c:
3106 (gst_base_transform_class_init):
3107 * libs/gst/net/gstnetclientclock.c:
3108 (gst_net_client_clock_class_init):
3109 * libs/gst/net/gstnettimeprovider.c:
3110 (gst_net_time_provider_class_init):
3111 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3112 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3113 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3114 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3115 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3116 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3117 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3118 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3119 * plugins/elements/gsttee.c: (gst_tee_class_init):
3120 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3121 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3122 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3124 2006-05-11 Wim Taymans <wim@fluendo.com>
3126 * gst/gstbuffer.c: (_gst_buffer_initialize):
3127 Register subbufer along with the buffer type so that
3128 it does not accidentally gets registered from N
3129 different streaming threads in a non threadsafe way.
3131 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3136 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3137 gst_event_ref() and gst_message_ref() functions again
3138 (ugly hack, please do fix if there's a better way besides
3139 overrides.txt, which doesn't seem to work).
3141 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3143 * libs/gst/check/gstcheck.h:
3144 add an assert for setting state to avoid lots of repetitive code
3147 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3149 * gst/gstvalue.c: (gst_value_serialize_flags):
3150 fix a leak if no flags are set
3151 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3154 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3156 * docs/manual/basics-pads.xml:
3157 Expand a bit on caps and filtered links and update
3158 examples that were still using the no longer existing
3159 gst_pad_link_filtered() (#338206).
3161 2006-05-10 Wim Taymans <wim@fluendo.com>
3163 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3164 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3165 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3166 (gst_collect_pads_stop):
3167 * libs/gst/base/gstcollectpads.h:
3168 No need to call _stop in _finalize.
3169 Iterate the main pad list in _finalize.
3170 Added some more debug.
3171 Free lists and data in the right order.
3172 Also free data whem doing _remove_pad when stopped for
3173 backward compatibility protect ::started with PAD_LOCK as
3176 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3178 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3179 (gst_structure_parse_value):
3181 rename a method so that it actually says what it does better
3183 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3185 * gst/gstevent.c: (_gst_event_initialize):
3186 * gst/gstformat.c: (_gst_format_initialize):
3187 make sure some essential types used by events are registered
3188 as part of gst_init()
3189 * gst/gstvalue.c: (gst_value_serialize_flags):
3190 if no flags are set, serialize them to a value that represents NONE
3191 so that deserializing them works
3192 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3193 add tests for serialization and deserialization of flags
3195 2006-05-10 Wim Taymans <wim@fluendo.com>
3197 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3198 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3199 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3200 (gst_collect_pads_event), (gst_collect_pads_chain):
3203 Catch and return errors from the collect function
3204 Refuse data on eos pads.
3206 2006-05-10 Edward Hervey <edward@fluendo.com>
3208 * gst/gstinterface.h:
3209 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3210 GInterface type checking.
3211 They were previously using non-defined macros.
3213 2006-05-09 Wim Taymans <wim@fluendo.com>
3215 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3216 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3217 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3218 (gst_collect_pads_start), (gst_collect_pads_stop),
3219 (gst_collect_pads_peek), (gst_collect_pads_pop),
3220 (gst_collect_pads_available), (gst_collect_pads_read),
3221 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3222 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3223 (gst_collect_pads_chain):
3224 * libs/gst/base/gstcollectpads.h:
3225 Clean up the mess that is collectpads, add comments and
3226 FIXMEs where needed.
3227 Maintain a separate pad list so we can add pads while
3228 collecting the other ones. For this we need a new separate
3230 Fix memory leak in finalize.
3231 Refactor some weird code to set/unset pad flushing flags, mark
3233 Don't crash in _available, _read, _flush when we're EOS.
3235 * tests/check/libs/.cvsignore:
3236 Ignore adapter check binary.
3238 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3240 * gst/gstindex.c: (gst_index_resolver_get_type):
3241 * plugins/elements/gstfakesink.c:
3242 (gst_fake_sink_state_error_get_type):
3243 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3244 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3245 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3246 Const-ify GEnumValue arrays.
3248 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3250 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3251 Add test case for flags + gst_buffer_make_metadata_writable().
3253 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3255 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3256 gst_buffer_make_metadata_writable() should maintain the
3257 buffer flags (those that make sense at least) (see #340859).
3259 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3261 * tools/gst-inspect.c:
3262 * tools/gst-launch.c:
3263 * tools/gst-typefind.c:
3264 * tools/gst-xmlinspect.c:
3266 Fix up includes: need to include stdlib.h in tools.h for exit().
3268 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3270 * gst/gsttaglist.c: (_gst_tag_initialize):
3272 API: add GST_TAG_IMAGE tag (#340721).
3274 2006-05-08 Wim Taymans <wim@fluendo.com>
3277 Added some docs for the segment query.
3279 2006-05-08 Wim Taymans <wim@fluendo.com>
3281 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3282 (gst_base_src_loop), (gst_base_src_change_state):
3283 Always push non-flushing serialized events in the streaming
3286 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3288 * gst/gsterror.c: (_gst_stream_errors_init):
3289 Add a missing error string.
3291 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3293 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3294 Add applied_rate to the debug
3296 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3297 Copy applied_rate into the outgoing NEWSEGMENT event
3299 2006-05-08 Wim Taymans <wim@fluendo.com>
3301 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3303 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3304 (gst_base_sink_change_state):
3305 call ::unlock before taking the PREROLL_LOCK so we can safely
3306 handle elements that lock in ::render.
3309 2006-05-08 Edward Hervey <edward@fluendo.com>
3311 * autogen.sh: (CONFIGURE_DEF_OPT):
3312 Darwin's libtoolize is in fact called glibtoolize.
3313 Adding glibtoolize to the list of accepted names for libtoolize.
3315 2006-05-08 Wim Taymans <wim@fluendo.com>
3317 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3318 Unify error handling, don't post an error message
3319 when a push() returns EOS but perform our normal EOS
3320 handling code. Fixes #340772.
3322 2006-05-08 Wim Taymans <wim@fluendo.com>
3324 * docs/design/part-overview.txt:
3325 Make upsteam/downstream concepts more clear.
3326 Give an example of serialized/non-serialized events.
3328 * docs/design/part-events.txt:
3329 * docs/design/part-streams.txt:
3330 Mention applied_rate.
3332 * docs/design/part-trickmodes.txt:
3333 Mention applied rate, flesh out some more use cases.
3335 * gst/gstevent.c: (gst_event_new_new_segment),
3336 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3337 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3338 (gst_event_parse_tag), (gst_event_new_buffer_size),
3339 (gst_event_parse_buffer_size), (gst_event_new_qos),
3340 (gst_event_parse_qos), (gst_event_parse_seek),
3341 (gst_event_new_navigation):
3343 Add applied_rate field to NEWSEGMENT event.
3344 API: gst_event_new_new_segment_full()
3345 API: gst_event_parse_new_segment_full()
3347 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3348 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3349 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3351 Add applied_rate to GstSegment structure.
3352 Make calculation of stream_time and running_time more correct
3353 wrt rate/applied_rate.
3355 API: GstSegment::applied_rate field
3356 API: gst_segment_set_newsegment_full();
3358 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3359 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3360 * libs/gst/base/gstbasetransform.c:
3361 (gst_base_transform_sink_eventfunc),
3362 (gst_base_transform_handle_buffer):
3363 Parse and use applied_rate in the GstSegment field.
3365 * tests/check/gst/gstevent.c: (GST_START_TEST):
3366 Add check for applied_rate field.
3368 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3369 (gstsegments_suite):
3370 Add more checks for various GstSegment operations.
3372 2006-05-08 Wim Taymans <wim@fluendo.com>
3374 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3375 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3376 (gst_base_sink_get_position), (gst_base_sink_change_state):
3377 Store the sync time of the buffer end position separatly in a
3378 new variable eos_rtime so we can properly sync the EOS event.
3380 Fix the docs for gst_base_sink_set_qos_enabled().
3381 Don't set segment start to invalid value when we receive a
3382 non TIME newsegment.
3383 get closer to handling position reporting for negative rates
3386 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3389 Docs about how to print caps for debug purposes.
3391 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3392 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3394 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3397 use full enum names and preprend a '%' in docs strings to make recent
3398 gtk-doc turn that into a link
3400 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3402 * docs/manual/basics-bins.xml:
3403 * docs/manual/basics-bus.xml:
3404 * docs/manual/basics-pads.xml:
3405 Some typo fixes, some additions, some clarifications.
3407 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3409 * tools/gst-inspect.c: (main):
3410 * tools/gst-launch.c: (main):
3411 * tools/gst-run.c: (main):
3412 * tools/gst-typefind.c: (main):
3413 * tools/gst-xmlinspect.c: (main):
3414 Use the string passed to g_option_context_new() for
3415 what it's intended for - the program name is already
3418 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3420 * tools/Makefile.am:
3421 * tools/gst-inspect.c: (main):
3422 * tools/gst-launch.c: (main):
3423 * tools/gst-xmlinspect.c: (main):
3425 Add back --version command line option (#340460).
3427 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3428 Add --version option and use GOption for argument parsing; refactor a
3429 bit; accept directories as arguments and recurse into them; lastly,
3430 print a decent error message when things go wrong.
3432 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3434 * docs/manual/basics-bins.xml:
3435 Don't mention GstThread (#340611)
3436 * docs/manual/basics-elements.xml:
3437 Update link to GObject tutorial (#340607)
3439 2006-05-05 Wim Taymans <wim@fluendo.com>
3442 * gst/gstminiobject.c:
3443 Add note about refcounting and miniobject/buffer writeability
3444 to docs. Fixes #340604
3446 * gst/gstelementfactory.h:
3447 Added some explanation about @klass.
3449 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3451 * docs/manual/intro-motivation.xml:
3452 * docs/manual/manual.xml:
3453 Avoid CORBA & Bonobo references (#340598)
3455 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3457 * docs/manual/basics-bus.xml:
3458 * docs/manual/basics-pads.xml:
3459 Fix up some inaccuracies and omissions (#340609)
3461 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3463 * gst/gstghostpad.c:
3464 Small typo in docs (#340625)
3466 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3468 * gst/parse/Makefile.am:
3469 Make 'make -j' proof (see #340698).
3471 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3474 Require GLib-2.8 here as well.
3476 2006-05-05 Wim Taymans <wim@fluendo.com>
3478 * gst/glib-compat.c:
3479 * gst/gst.c: (init_pre):
3480 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3481 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3482 (gst_object_dispatch_properties_changed):
3484 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3485 * gst/gststructure.c: (gst_structure_set_valist):
3486 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3487 Remove pre glib2.8 compatibility, fixes #340508
3489 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3492 Mention type of tags in doc blurbs.
3494 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3496 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3497 (gst_pad_configure_src), (gst_pad_push):
3498 Restore acceptcaps checking behaviour now that good plugins have
3501 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3503 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3514 * gst/parse/Makefile.am:
3515 * libs/gst/base/gstadapter.c:
3516 * libs/gst/base/gstbasesrc.c:
3517 * libs/gst/base/gstpushsrc.c:
3518 * libs/gst/base/gsttypefindhelper.c:
3519 * plugins/elements/gstfakesrc.c:
3520 * plugins/elements/gstidentity.c:
3521 Make sure gstprivate.h and/or config.h are
3522 always included first, otherwise some of our
3523 defines (like _FILE_OFFSET_BITS) might be
3524 redefined in the system headers. Fixes build
3525 on opensolaris (#340016).
3527 2006-05-04 Wim Taymans <wim@fluendo.com>
3529 * docs/libs/gstreamer-libs-sections.txt:
3530 API: addition: gst_adapter_take_buffer()
3532 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3533 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3534 (gst_adapter_available_fast):
3535 * libs/gst/base/gstadapter.h:
3536 Prepare for optimizing the hell out of this hugely inefficient
3538 Added gst_adapter_take_buffer() so we can at least start thinking
3539 about subbuffering and merging.
3540 Added some comments.
3542 * tests/check/Makefile.am:
3543 * tests/check/libs/adapter.c: (GST_START_TEST),
3544 (gst_adapter_suite), (main):
3545 Added GstAdapter check.
3547 2006-05-04 Wim Taymans <wim@fluendo.com>
3549 * docs/design/part-overview.txt:
3550 Fix some typos, add blurb about buffer flags.
3552 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3554 * docs/libs/gstreamer-libs-sections.txt:
3555 make sure GstBaseTransformClass shows up in the docs
3556 * libs/gst/base/gstbasetransform.c:
3557 * libs/gst/base/gstbasetransform.h:
3558 move docs so gtk-doc picks it up now
3560 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3562 * docs/libs/gstreamer-libs-sections.txt:
3563 add missing symbols to docs
3565 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3567 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3568 back out the newsegment handling change, see #340060 for ongoing
3571 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3573 * tools/gst-run.c: (get_candidates), (main):
3574 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3575 work); fix typo in error message. Fixes #340079.
3577 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3579 * common/Makefile.am:
3581 * docs/faq/Makefile.am:
3582 * docs/gst/Makefile.am:
3583 * docs/libs/Makefile.am:
3584 * docs/manual/Makefile.am:
3585 * docs/plugins/Makefile.am:
3586 * docs/pwg/Makefile.am:
3587 * docs/slides/Makefile.am:
3589 * common/upload.mak:
3590 move upload.mak to common
3592 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3594 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3595 add more asserts on refcounts
3596 do more cleanup at end of tests
3597 fix test leaks showing in FC5
3599 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3601 * plugins/elements/gsttypefindelement.c:
3602 (gst_type_find_element_handle_event):
3603 reverted wrong change and reflowed code to avoid others falling into
3606 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3608 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3609 fix changelog entry about last collectpads change,
3610 add notes about proper fix
3612 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3615 * gst/gstregistry.c: (gst_registry_scan_path_level),
3616 (gst_registry_scan_path):
3617 * gst/gstregistry.h:
3618 only write out registry if it has changed, fixes #338339
3620 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3623 * gst/gstpipeline.c:
3624 * plugins/elements/gstcapsfilter.c:
3625 * plugins/elements/gstfakesink.c:
3626 * plugins/elements/gstfakesrc.c:
3627 * plugins/elements/gstfdsink.c:
3628 * plugins/elements/gstfdsrc.c:
3629 * plugins/elements/gstfilesink.c:
3630 * plugins/elements/gstfilesrc.c:
3631 * plugins/elements/gstidentity.c:
3632 * plugins/elements/gstqueue.c:
3633 * plugins/elements/gsttee.c:
3634 * plugins/elements/gsttypefindelement.c:
3635 (gst_type_find_element_handle_event):
3636 make GstElementDetails const
3638 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3640 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3641 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3642 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3643 more detailed debug and formatting cleanup,
3644 forward newsegments to src-pad (so that e.g. adder not eats them)
3646 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3648 * gst/gstutils.c: (gst_element_link_pads):
3651 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3653 * libs/gst/controller/gstcontroller.c:
3654 (gst_controller_sync_values):
3656 * tests/check/libs/controller.c: (GST_START_TEST),
3657 (gst_controller_suite):
3658 a new test for live value handling
3660 2006-04-28 Wim Taymans <wim@fluendo.com>
3662 * gst/gstutils.c: (push_and_ref):
3663 Added some more docs.
3664 Fix refcount issue whith gst_element_found_tags() helper
3665 function. Fixes #338335
3667 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3668 Added testsuite for gst_element_found_tags().
3670 2006-04-28 Michael Smith <msmith@fluendo.com>
3672 * gst/gstvalue.c: (gst_value_serialize_flags):
3673 Avoid NULL dereference when trying to serialize flags containing
3676 2006-04-28 Michael Smith <msmith@fluendo.com>
3678 * plugins/elements/gsttypefindelement.c:
3679 (gst_type_find_element_handle_event):
3680 If we get EOS before any data is accumulated, don't use
3681 uninitialised local variables.
3683 2006-04-28 Michael Smith <msmith@fluendo.com>
3685 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3686 (gst_dp_event_from_packet):
3687 Fixes in reading/writing events over GDP (not currently used?) -
3688 dereferencing NULL events for unknown/invalid event types, memory
3689 leak, and change g_warning to GST_WARNING.
3691 2006-04-28 Wim Taymans <wim@fluendo.com>
3693 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3694 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3695 (gst_base_sink_get_position), (gst_base_sink_change_state):
3696 When frame dropping is enabled, we should not ignore frames
3698 Update some documentation.
3700 2006-04-28 Wim Taymans <wim@fluendo.com>
3702 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3703 (gst_base_src_send_event), (gst_base_src_change_state):
3704 Documentation updates.
3706 2006-04-28 Wim Taymans <wim@fluendo.com>
3708 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3709 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3710 handle EAGAIN, EINTR and short writes correctly. Also clean
3711 up some error cases, avoid a deadlock on bad file descriptors and
3712 use GST_DEBUG_OBJECT.
3715 2006-04-28 Wim Taymans <wim@fluendo.com>
3717 * gst/gstvalue.c: (gst_value_serialize_buffer),
3718 (gst_value_deserialize_buffer):
3719 Don't try to serialize a GValue with a NULL buffer.
3722 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3723 Added check for serialisation of NULL buffers.
3725 2006-04-28 Wim Taymans <wim@fluendo.com>
3727 * gst/gstminiobject.c: (gst_value_take_mini_object):
3728 Taking a NULL miniobject is valid, fix the case where
3729 we try to unref the NULL miniobject.
3731 2006-04-28 Wim Taymans <wim@fluendo.com>
3733 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3735 * gst/gstbin.c: (gst_bin_handle_message_func):
3737 Don't leak bin refcount when a state recalc is
3738 in progress and we delay another one #339808.
3740 2006-04-28 Wim Taymans <wim@fluendo.com>
3742 * docs/design/part-TODO.txt:
3743 Mention QoS as an ongoing work item.
3745 * docs/design/part-buffering.txt:
3746 New doc about buffering that needs to be fleshed out
3749 * docs/design/part-qos.txt:
3750 More QoS policy for decoders/demuxers/transforms
3752 * docs/design/part-trickmodes.txt:
3755 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3760 === release 0.10.5 ===
3762 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3765 releasing 0.10.5, "Fogo"
3767 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3769 patch by: Wim Taymans
3771 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3772 (gst_pad_configure_src), (gst_pad_push):
3773 * gst/gstpipeline.c: (gst_pipeline_init):
3774 Fix internal data flow errors. Fixes #338711.
3776 2006-04-12 Wim Taymans <wim@fluendo.com>
3778 * tests/check/gst/gstelement.c: (GST_START_TEST):
3779 Don't leak the factory.
3781 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3784 * win32/common/config.h:
3787 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3789 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3790 (gst_controller_unset_all):
3791 Free allocated GstTimedValues when freeing list nodes.
3792 Should fix leaks 'make check-valgrind' complains about.
3794 * win32/common/libgstcontroller.def:
3795 Add gst_controller_unset_all.
3797 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3799 * docs/libs/gstreamer-libs-sections.txt:
3800 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3801 (gst_controller_unset_all):
3802 * libs/gst/controller/gstcontroller.h:
3803 API: Added new method gst_controller_unset_all()
3804 fixed gst_controller_unset()
3805 * tests/check/libs/controller.c: (GST_START_TEST),
3806 (gst_controller_suite):
3807 Added two testcases for new and fixed method
3809 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3811 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3812 MSG_DONTWAIT is not defined on Cygwin, so work
3813 around that (fixes #317048).
3815 2006-04-11 Wim Taymans <wim@fluendo.com>
3817 * gst/gstelementfactory.c: (gst_element_register),
3818 (gst_element_factory_create), (gst_element_factory_make):
3821 Updated docs (Fixes #131079)
3823 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3826 * tests/check/gst/gstelement.c: (GST_START_TEST),
3827 (gst_element_suite):
3828 Added testcase for elementfactory class field.
3830 2006-04-10 Wim Taymans <wim@fluendo.com>
3833 Added some more docs.
3835 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3836 (gst_base_sink_reset_qos):
3837 Calculate more accurate rate values.
3839 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3841 * gst/gst_private.h:
3842 add a new #ifdef to use __declspec(dllimport) only for
3843 other modules and not for gstreamer core
3844 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3845 use gst_guint64_to_gdouble for conversion
3846 * win32/common/libgstreamer.def:
3847 add new exported functions
3848 * win32/vs6/gst_inspect.dsp:
3849 * win32/vs6/gst_launch.dsp:
3850 * win32/vs6/libgstbase.dsp:
3851 * win32/vs6/libgstcontroller.dsp:
3852 * win32/vs6/libgstcoreelements.dsp:
3853 * win32/vs6/libgstdataprotocol.dsp:
3854 * win32/vs6/libgstnet.dsp:
3855 update project files
3857 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3859 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3860 * gst/gstclock.c: (gst_clock_class_init):
3861 * gst/gstelement.c: (gst_element_class_init):
3862 * gst/gstindex.c: (gst_index_class_init):
3863 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3864 * gst/gstobject.c: (gst_object_class_init),
3865 (gst_signal_object_class_init):
3866 * gst/gstpad.c: (gst_pad_class_init):
3867 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3868 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3869 * gst/gstregistry.c: (gst_registry_class_init):
3870 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3871 * gst/gsttask.c: (gst_task_class_init):
3872 * gst/gstxml.c: (gst_xml_class_init):
3873 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3874 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3875 (gst_base_src_loop):
3876 * libs/gst/controller/gstcontroller.c:/
3877 (_gst_controller_class_init):
3878 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3879 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3880 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3881 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3882 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3883 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3885 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3887 * gst/gstpad.c: (gst_pad_link):
3888 Must set peer pads before calling the link function, otherwise
3889 a task started from a link function might get a flow-not-linked
3890 result when trying to push because the other thread where the
3891 linking happens hasn't had a chance to set the peers yet. This
3892 might happen for example when a queue gets linked to a downstream
3893 element, as queue starts a streaming task when its source pad
3894 gets linked. Happens in real life when playing back flac/musepack
3895 files in playbin (#332390).
3897 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3901 * libs/gst/base/gstadapter.h:
3902 * libs/gst/base/gstbasesink.h:
3903 * libs/gst/base/gstbasesrc.h:
3904 * libs/gst/base/gstbasetransform.h:
3905 * libs/gst/base/gstcollectpads.h:
3906 * libs/gst/base/gstpushsrc.h:
3907 Fix broken GObject macros
3909 2006-04-07 Wim Taymans <wim@fluendo.com>
3911 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3912 Initialize start and stop times, thanks valgrind.
3914 2006-04-07 Wim Taymans <wim@fluendo.com>
3916 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3917 Be a bit nicer to badly behaving upstream elements that expect
3918 us to deal with non TIME segments and timestamps (such as fakesrc
3921 2006-04-07 Wim Taymans <wim@fluendo.com>
3924 Small documentation clarification about the signal watch.
3926 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3927 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3928 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3929 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3930 (gst_base_sink_get_position_last),
3931 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3932 Convert and store timestamps in stream time and running time, the
3933 raw timestamps are not usefull, also document this better.
3934 Use different window sizes for good and bad QoS observations so
3935 we react to badness a little quicker.
3936 Keep track of the amount of rendered and dropped buffers.
3937 Send QoS timestamps in running time.
3939 * libs/gst/base/gstbasetransform.c:
3940 (gst_base_transform_sink_eventfunc),
3941 (gst_base_transform_handle_buffer):
3942 Compare QoS timestamps against running time.
3944 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3949 2006-04-06 Michael Smith <msmith@fluendo.com>
3951 * gst/gstpad.c: (gst_pad_set_property):
3952 Use g_value_get_object() instead of g_value_dup_gst_object(),
3953 to avoid double-reffing the pad template (which we then sink,
3954 so this worked previously if (and only if) the pad template
3957 * gst/gstpadtemplate.c: (gst_pad_template_init),
3958 (gst_pad_template_pad_created):
3959 Never return floating references to pad templates, create
3960 them as initially-sunken.
3962 Document an extra function (and make this stop sinking our
3963 pad template, since that is now guaranteed to do nothing,
3964 since we created it sunken).
3966 * gst/gstghostpad.c:
3969 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3971 * gst/gstinfo.c: (__gst_in_valgrind):
3974 * plugins/elements/gsttypefindelement.c:
3975 (gst_type_find_element_chain):
3976 Don't leak buffer caps.
3978 2006-04-06 Michael Smith <msmith@fluendo.com>
3980 * gst/parse/grammar.y:
3981 Fix a leak in parse-launch for any source-or-sink named element
3984 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3985 Unref the pipeline if it exists after we've failed parsing.
3987 2006-04-05 Michael Smith <msmith@fluendo.com>
3989 * gst/gstpipeline.c: (gst_pipeline_init):
3990 When we create a pipeline bus, initially create it in flushing mode.
3991 Fixes leaks in at least one test, and makes a new pipeline work the
3992 same as one that has gone to READY and then back to NULL.
3997 2006-04-05 Michael Smith <msmith@fluendo.com>
3999 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4000 Unref a pad we reffed.
4001 * tests/check/gst/gstutils.c: (GST_START_TEST):
4004 2006-04-05 Michael Smith <msmith@fluendo.com>
4006 * gst/gstquery.c: (gst_query_set_formats),
4007 (gst_query_set_formatsv):
4008 Fix leaking GValues in queries, as shown by valgrind/testsuite.
4010 2006-04-05 Michael Smith <msmith@fluendo.com>
4012 * tests/check/generic/sinks.c: (GST_START_TEST):
4013 Fix a variety of memleaks in sinks check, which are only sometimes
4014 shown by running the tests under valgrind (weird?).
4016 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
4018 * docs/version.entities.in:
4019 Fix the substituted entity name after thomas' changes on the
4022 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4024 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4027 2006-04-05 Andy Wingo <wingo@pobox.com>
4029 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4031 * libs/gst/base/gstbasetransform.c
4032 (gst_base_transform_sink_eventfunc): When resetting our segment on
4033 FLUSH_STOP, also update the flag saying we haven't seen a
4036 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4038 Patch by: Paolo Borelli <pborelli at katamail dot com>
4040 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4041 (gst_plugin_check_license):
4042 minor clean-ups: G_DEFINE_TYPE already takes care of the
4043 parent_class stuff, no need to do it twice. Mark array of
4044 license strings as constant. (#337103)
4046 2006-04-04 Michael Smith <msmith@fluendo.com>
4048 * tools/gst-inspect.c: (print_element_list):
4049 Free the right plugin list; fixes a memory leak.
4051 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4053 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4055 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4056 Don't error out on empty buffers (#336945).
4058 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4060 * docs/libs/gstreamer-libs-sections.txt:
4062 * libs/gst/base/gstbasesink.c:
4063 * libs/gst/base/gstbasesink.h:
4064 * libs/gst/base/gstbasesrc.c:
4065 * libs/gst/base/gstbasesrc.h:
4066 Documentation updates. Make BaseSink and BaseSrc docs contain the
4067 class structure so that people can actually see the prototypes for
4068 virtual functions they're supposed to be overriding.
4070 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4072 * plugins/elements/gsttypefindelement.c:
4073 (gst_type_find_element_chain):
4074 More debug info; when skipping typefinding, send cached
4075 events in all cases.
4077 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4080 use new AS_VERSION and AS_NANO macros
4081 * gst/gst-i18n-lib.h:
4084 * gst/gstversion.h.in:
4085 * win32/common/config.h:
4086 * win32/common/config.h.in:
4089 2006-03-31 Michael Smith <msmith@fluendo.com>
4091 * plugins/elements/gsttypefindelement.c:
4092 (gst_type_find_element_chain):
4093 Do not typefind content if the buffers already have caps.
4094 Neccesary for icydemux (#333657), and the right thing to do anyway.
4096 2006-03-30 Wim Taymans <wim@fluendo.com>
4098 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4099 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4100 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4101 (gst_base_sink_record_qos_observation),
4102 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4103 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4104 (gst_base_sink_change_state):
4105 More QoS measurements as described in the design doc.
4106 Get rid of ringbuffer with observations, running average is
4107 more simple and equally good.
4108 Calculates valid proportion now.
4109 Added beginning of flood measurement.
4111 2006-03-29 Wim Taymans <wim@fluendo.com>
4113 * docs/design/part-qos.txt:
4115 Small documentation updates and additions.
4117 2006-03-29 Wim Taymans <wim@fluendo.com>
4119 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4120 (gst_base_src_send_event), (gst_base_src_loop),
4121 (gst_base_src_change_state):
4122 Perform the EOS logic when we reach the segment stop position.
4123 Fix compilation on gcc4.1
4125 2006-03-29 Wim Taymans <wim@fluendo.com>
4127 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4129 * plugins/elements/gstqueue.c: (gst_queue_init),
4130 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4131 (gst_queue_set_property):
4132 * plugins/elements/gstqueue.h:
4133 In queue, when EOS is received, if minimum threshold > max_size -
4134 current_level, there is chance that queue blocks forever in conditional
4135 item del wait. This is because the queue is not emptied completely due
4136 to minimum threshold. Here is another approach. Instead of setting
4137 cur_levels to max in EOS, just zero all minimum threshold levels. This
4138 should make sure that queue gives out all data. When going to READY
4139 (stop) state, just reset the original minimum threshold levels.
4142 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4144 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4145 (gst_type_find_element_handle_event),
4146 (gst_type_find_element_send_cached_events),
4147 (gst_type_find_element_change_state):
4148 * plugins/elements/gsttypefindelement.h:
4149 When typefinding is done in push mode, we should cache
4150 events we receive during typefinding instead of just
4151 dropping them (e.g. newsegment, custom events from
4152 dvdreadsrc etc.) and then send them out once we've
4153 determined the type of the stream (and decodebin
4154 has had a chance to plug in a decoder/demuxer).
4156 2006-03-27 Wim Taymans <wim@fluendo.com>
4158 * docs/design/part-qos.txt:
4161 2006-03-27 Wim Taymans <wim@fluendo.com>
4163 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4165 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4166 (gst_base_src_send_event), (gst_base_src_change_state):
4167 Handle element seek correctly when we are streaming.
4170 2006-03-24 Michael Smith <msmith@fluendo.com>
4172 * docs/faq/gst-uninstalled:
4173 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4174 allow you to correctly run intalled applications built against old
4175 core, using plugins that require updated core (e.g. running
4176 installed totem against a full uninstalled gstreamer stack)
4178 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4180 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4183 2006-03-24 Wim Taymans <wim@fluendo.com>
4185 * docs/gst/gstreamer-sections.txt:
4186 Rearrange the order of the methods so that related methods
4187 are grouped together in sections.
4189 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4192 Little clarification in the docs
4194 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4198 * plugins/elements/gstidentity.c:
4199 * plugins/elements/gstqueue.c:
4200 * plugins/elements/gsttee.c:
4201 * plugins/elements/gsttypefindelement.c:
4202 GST_ELEMENT_DETAILS formatting
4204 2006-03-24 Wim Taymans <wim@fluendo.com>
4206 * libs/gst/base/gstbasesink.h:
4207 Only add fields, not insert or we break ABI.
4209 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4211 * win32/common/libgstbase.def:
4212 * win32/common/libgstreamer.def:
4213 Update, add recently added functions.
4215 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4217 * docs/gst/gstreamer-sections.txt:
4218 * gst/gstutils.c: (gst_pad_query_peer_position),
4219 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4221 API: add some new utility functions:
4222 - gst_pad_query_peer_position()
4223 - gst_pad_query_peer_duration()
4224 - gst_pad_query_peer_convert()
4226 2006-03-23 Wim Taymans <wim@fluendo.com>
4228 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4229 (gst_base_sink_init), (gst_base_sink_finalize),
4230 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4231 (gst_base_sink_set_property), (gst_base_sink_get_property),
4232 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4233 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4234 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4235 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4236 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4237 (gst_base_sink_preroll_object), (gst_base_sink_event),
4238 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4239 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4240 (gst_base_sink_query), (gst_base_sink_change_state):
4241 Decouple max-lateness and the fact that QoS messages are generated
4242 with a new property (qos).
4243 added API: GstBaseSink::async_play()
4244 Add vmethod so subclasses can be notified of ASYNC playing
4246 Collect timestamp start and stop to report better current
4247 position in EOS/PLAYING/PAUSED/READY/NULL.
4248 Refactor QoS/frame dropping and other measurements.
4249 API: GstBaseSrc::qos
4252 * libs/gst/base/gstbasesink.h:
4253 Added Private struct.
4254 API: gst_base_sink_set_qos_enabled()
4255 API: gst_base_sink_is_qos_enabled()
4257 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4259 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4260 If compiling against GLib-2.8 or newer, try to read the
4261 registry file using GMappedFile first before falling back
4262 to fopen() + fread() (#332151).
4264 2006-03-22 Wim Taymans <wim@fluendo.com>
4266 * gst/gstinfo.c: (gst_debug_set_active),
4267 (gst_debug_category_set_threshold):
4268 Disable debugging unless explicitly activated.
4271 2006-03-22 Wim Taymans <wim@fluendo.com>
4273 * gst/gstelement.c: (gst_element_set_locked_state),
4274 (gst_element_dispose):
4275 Cleanup the error case.
4277 * gst/gstobject.c: (gst_object_dispose):
4278 print a critical when some object was disposed with
4279 a parent, also revive the object since it might
4282 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4284 * tools/gst-launch.1.in:
4287 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4290 * tests/check/Makefile.am:
4291 disable some tests when we don't have a registry
4292 * tests/check/gst/gstutils.c: (gst_utils_suite):
4293 don't build the part that needs parsing
4295 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4298 * tests/examples/Makefile.am:
4299 fix --disable-parse build
4301 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4303 * tools/gst-feedback.1.in:
4304 Fix typo: s/feeback/feedback/ (#133494).
4306 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4308 * tools/Makefile.am:
4309 * tools/gst-launch.1.in:
4310 Add FILES section and correct entry about GST_REGISTRY_PATH
4311 environment variable (#133495; #133494).
4313 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4315 * tools/Makefile.am:
4316 * tools/gst-md5sum.1.in:
4317 * tools/gst-md5sum.c:
4318 Remove gst-md5sum and man page (the md5sink element
4319 required was removed ages ago)
4321 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4323 * gst/gststructure.c: (gst_structure_id_set_value):
4324 Make sure that string fields in structures/taglists
4325 contain valid UTF-8 - we don't want to pass rubbish to
4326 applications because of a buggy plugin (cp. #334167).
4328 2006-03-21 Edward Hervey <edward@fluendo.com>
4330 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4331 (gst_bin_handle_message_func):
4332 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4333 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4334 (gst_element_set_bus_func):
4335 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4336 * gst/gstminiobject.c: (gst_value_set_mini_object),
4337 (gst_value_take_mini_object):
4338 * gst/gstpad.c: (gst_pad_set_pad_template):
4339 * gst/gstpipeline.c: (gst_pipeline_dispose),
4340 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4341 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4342 (gst_collect_pads_chain):
4343 * libs/gst/net/gstnettimeprovider.c:
4344 (gst_net_time_provider_set_property):
4345 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4346 It's in fact all issues with gst_*object_replace().
4348 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4350 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4352 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4353 * pkgconfig/gstreamer-check.pc.in:
4354 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4356 2006-03-21 Edward Hervey <edward@fluendo.com>
4361 gst_[buffer|event|message]_ref() macros are replaced by a static
4362 inline functions because gcc-4.1 will about if the return value
4364 * tests/check/gst/gstevent.c: (event_probe):
4365 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4367 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4370 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4371 the type' case. (Closes: #335195 for now). In the future, when we
4372 depend on GLib 2.10, we could also intern the type name using
4373 g_intern_static_string()
4375 2006-03-20 Wim Taymans <wim@fluendo.com>
4377 * gst/gstbin.c: (gst_bin_handle_message_func),
4378 (bin_query_max_init), (bin_query_position_fold),
4379 (bin_query_position_done), (gst_bin_query):
4380 Position query should also take max of all streams.
4382 2006-03-20 Wim Taymans <wim@fluendo.com>
4384 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4385 (gst_fake_src_finalize):
4386 Fix leaks in fakesrc.
4388 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4389 Fix leaks in the testcase.
4391 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4393 * gst/gst_private.h:
4394 add win32 specific import decoration(__declspec(dllimport))
4395 for all extern GstDebugCategory * variables
4396 * win32/common/libgstbase.def:
4397 * win32/common/libgstcontroller.def:
4398 * win32/common/libgstreamer.def:
4399 Add some exports, remove empty lines
4400 * win32/common/libgstdataprotocol.def:
4401 * win32/common/libgstdataprotocol.dsp:
4402 * win32/common/libgstnet.def:
4403 * win32/common/libgstnet.dsp:
4404 new project files and exportation files added
4406 2006-03-19 Wim Taymans <wim@fluendo.com>
4408 * tests/check/libs/basesrc.c: (eos_event_counter):
4409 Use proper return value for probe.
4411 2006-03-17 Wim Taymans <wim@fluendo.com>
4413 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4415 Don't leak buffers, caps and pads on negotiation errors.
4417 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4420 * docs/faq/dependencies.xml:
4421 * docs/faq/developing.xml:
4423 * docs/faq/general.xml:
4424 * docs/faq/getting.xml:
4425 * docs/faq/legal.xml:
4426 * docs/faq/troubleshooting.xml:
4427 * docs/faq/using.xml:
4428 Faq review and update.
4430 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4432 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4434 Don't pound the cpu to pieces by checking get_caps when accept_caps
4435 is called with the same caps as the pad already has.
4436 Use GST_DEBUG_OBJECT when outputting caps change information.
4438 2006-03-15 Wim Taymans <wim@fluendo.com>
4440 * gst/gstclock.c: (gst_clock_class_init):
4443 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4448 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4449 (gst_pad_accept_caps), (gst_pad_configure_sink),
4450 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4451 Make the default acceptcaps behaviour be to check the requested
4452 caps against the gst_pad_get_caps output.
4454 Ensure that gst_pad_accept_caps is used to check caps when a pad
4455 doesn't have a setcaps function, so that pads automatically refuse
4456 caps that they don't allow in their pad template. (Fixes #332986)
4458 When a buffer with attached caps is pushed, ensure that the source
4459 pad receives those caps even if the element didn't call
4460 gst_pad_set_caps first.
4462 2006-03-15 Wim Taymans <wim@fluendo.com>
4464 * libs/gst/base/gstadapter.c:
4467 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4469 * win32/common/libgstbase.def:
4470 * win32/common/libgstcontroller.def:
4471 * win32/common/libgstreamer.def:
4472 Add a whole bunch of missing functions (#334434).
4474 2006-03-14 Wim Taymans <wim@fluendo.com>
4476 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4477 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4478 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4479 Better debug info when we receive a segment event.
4480 Reorganize a bit so we can pass the get_times() results around.
4481 Use the segment format when calculating the running time.
4482 Don't do QoS is sync is disabled or we have no clock or the
4483 element does not want us to sync to the clock.
4484 Don't drop buffers if QoS is disabled for now.
4486 2006-03-14 Wim Taymans <wim@fluendo.com>
4488 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4489 Marked the stats property as unimplemented so people don't get
4491 Add debug message when regression goes wrong.
4492 Added some more docs.
4494 2006-03-14 Wim Taymans <wim@fluendo.com>
4496 * gst/gstsegment.c: (gst_segment_to_stream_time):
4497 Return correct return type in case of errors.
4499 2006-03-14 Wim Taymans <wim@fluendo.com>
4501 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4502 Don't segfault on invalid formats.
4504 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4506 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4507 Can't use gst_segment_to_running_time() when the segment
4508 is not in GST_TIME_FORMAT (like with filesink, for example).
4509 Stops flac encoding pipelines from spewing critical warnings
4512 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4514 * gst/gstpipeline.c: (gst_pipeline_class_init):
4515 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4517 * plugins/elements/gsttypefindelement.c:
4518 (gst_type_find_element_handle_event):
4519 Don't try to typefind empty streams.
4521 2006-03-14 Wim Taymans <wim@fluendo.com>
4523 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4524 (gst_base_sink_do_qos):
4525 Separate QoS calculation.
4526 Only drop buffers when lateness is bigger than the
4527 duration of the buffer.
4529 2006-03-13 Wim Taymans <wim@fluendo.com>
4531 * gst/gstpipeline.c: (gst_pipeline_set_property),
4532 (gst_pipeline_get_property), (do_pipeline_seek),
4533 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4534 (gst_pipeline_get_delay):
4535 Don't deadlock when reading properties.
4537 2006-03-13 Wim Taymans <wim@fluendo.com>
4539 * libs/gst/base/gstbasetransform.c:
4540 (gst_base_transform_class_init), (gst_base_transform_init),
4541 (gst_base_transform_sink_event),
4542 (gst_base_transform_sink_eventfunc),
4543 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4544 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4545 (gst_base_transform_set_property),
4546 (gst_base_transform_get_property),
4547 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4548 (gst_base_transform_set_qos_enabled),
4549 (gst_base_transform_is_qos_enabled):
4550 * libs/gst/base/gstbasetransform.h:
4551 Make basetransform virtual method for src events too.
4552 Handle QOS in basetransform.
4553 API: gst_base_transform_update_qos()
4554 API: gst_base_transform_set_qos_enabled()
4555 API: gst_base_transform_is_qos_enabled()
4557 2006-03-13 Wim Taymans <wim@fluendo.com>
4559 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4560 (gst_base_sink_do_sync):
4562 Use QOS debug category.
4564 2006-03-13 Wim Taymans <wim@fluendo.com>
4566 * plugins/elements/gstqueue.c:
4567 Very small doc update.
4569 2006-03-13 Wim Taymans <wim@fluendo.com>
4571 * gst/gst_private.h:
4572 * gst/gstinfo.c: (_gst_debug_init):
4573 Added QOS debug category
4575 2006-03-13 Wim Taymans <wim@fluendo.com>
4577 * docs/gst/gstreamer-sections.txt:
4578 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4580 * gst/gstbus.c: (gst_bus_class_init):
4583 * gst/gstelement.c: (gst_element_set_locked_state):
4585 Documentation updates.
4587 * gst/gstpipeline.c: (gst_pipeline_get_type),
4588 (gst_pipeline_class_init), (gst_pipeline_init),
4589 (gst_pipeline_dispose), (gst_pipeline_set_property),
4590 (gst_pipeline_get_property), (do_pipeline_seek),
4591 (gst_pipeline_send_event), (gst_pipeline_change_state),
4592 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4593 (gst_pipeline_get_delay):
4594 * gst/gstpipeline.h:
4595 Added methods for setting the delay.
4596 API: gst_pipeline_set_delay()
4597 API: gst_pipeline_get_delay()
4598 Add pipeline debug category
4601 Don't reset stream time when seek failed.
4603 2006-03-13 Wim Taymans <wim@fluendo.com>
4605 * docs/design/draft-klass.txt:
4606 * docs/design/part-clocks.txt:
4607 * docs/design/part-events.txt:
4608 * docs/design/part-gstbin.txt:
4609 * docs/design/part-gstpipeline.txt:
4610 * docs/design/part-messages.txt:
4611 * docs/design/part-negotiation.txt:
4612 * docs/design/part-overview.txt:
4613 * docs/design/part-preroll.txt:
4614 * docs/design/part-seeking.txt:
4615 * docs/design/part-states.txt:
4616 * docs/design/part-streams.txt:
4617 Documentation updates.
4619 2006-03-12 Julien MOUTTE <julien@moutte.net>
4621 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4622 us to leak strings...
4624 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4626 * libs/gst/net/gstnettimeprovider.c:
4628 * win32/common/config.h:
4631 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4633 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4636 Don't check for libgnomeui (leftover from old examples
4637 that aren't built or disted any longer) (#334303).
4639 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4641 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4642 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4643 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4644 there's no space left on the device.
4646 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4649 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4650 to cast the input to GstClockTime before comparing with
4651 another GstClockTime value.
4653 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4658 === release 0.10.4 ===
4660 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4663 releasing 0.10.4, "Light"
4665 2006-03-10 Michael Smith <msmith@fluendo.com>
4667 * libs/gst/dataprotocol/dataprotocol.c:
4668 Fix docs for dataprocotol to not get the return types completely
4669 wrong for a few functions.
4671 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4673 * docs/gst/gstreamer-sections.txt:
4674 * gst/gstpipeline.c: (gst_pipeline_class_init),
4675 (gst_pipeline_init), (gst_pipeline_set_property),
4676 (gst_pipeline_get_property), (gst_pipeline_change_state),
4677 (gst_pipeline_set_auto_flush_bus),
4678 (gst_pipeline_get_auto_flush_bus):
4679 * gst/gstpipeline.h:
4680 Add new API: gst_pipeline_set_auto_flush_bus() and
4681 gst_pipeline_get_auto_flush_bus() to disable automatic
4682 flushing of the pipeline's GstBus when going from READY
4683 to NULL state (#332045).
4685 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4687 * docs/gst/gstreamer-sections.txt:
4688 * gst/gsturi.c: (gst_uri_has_protocol):
4690 Add new API: gst_uri_has_protocol() (#333779).
4692 2006-03-09 Wim Taymans <wim@fluendo.com>
4694 * gst/gstclock.c: (gst_clock_entry_new),
4695 (gst_clock_id_compare_func), (gst_clock_id_wait),
4696 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4697 (gst_clock_init), (gst_clock_get_internal_time),
4698 (gst_clock_set_master), (do_linear_regression),
4699 (gst_clock_add_observation), (gst_clock_set_property):
4703 Fix a possible segfault when the window-size is made smaller.
4704 Calculate jitter before performing the clock wait. Ideally
4705 the clock implementation should calculate jitter but we need
4706 API breakage for that.
4708 * gst/gstsystemclock.c: (gst_system_clock_init):
4711 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4712 Remove leftover else
4714 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4715 (gst_systemclock_suite):
4716 Added check to test GST_CLOCK_DIFF.
4718 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4720 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4721 (gst_type_find_helper_get_range):
4722 If we are provided with the size, we should implement
4723 GstTypeFind::get_length, so that typefind functions who
4724 want to can actually peek at the middle of a file.
4726 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4728 * docs/manual/advanced-dataaccess.xml:
4729 Add some very very basic error checking.
4731 * docs/pwg/appendix-checklist.xml:
4732 Some updates to the list of things to check when writing an element.
4734 2006-03-08 Wim Taymans <wim@fluendo.com>
4736 * docs/design/part-element-transform.txt:
4737 Added some docs about the design of tranform elements.
4739 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4740 (gst_base_src_loop), (gst_base_src_change_state):
4741 Mark buffers with the DISCONT flag.
4743 2006-03-08 Michael Smith <msmith@fluendo.com>
4745 * gst/gstregistry.h:
4746 * gst/gstregistryxml.c: (gst_registry_save),
4747 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4748 (gst_registry_xml_save_pad_template),
4749 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4750 (gst_registry_xml_write_cache):
4751 Rewrite registry-saving to avoid race conditions and check for
4754 2006-03-08 Wim Taymans <wim@fluendo.com>
4756 * libs/gst/base/gstbasetransform.c:
4757 (gst_base_transform_transform_caps),
4758 (gst_base_transform_transform_size),
4759 (gst_base_transform_prepare_output_buffer),
4760 (gst_base_transform_get_unit_size),
4761 (gst_base_transform_buffer_alloc),
4762 (gst_base_transform_handle_buffer),
4763 (gst_base_transform_change_state):
4764 Cleanups, separate normal flow from errors, add sensible
4766 Don't try to renegotiate when allocating an output buffer.
4767 Also copy DISCONT buffer flag when copying a buffer.
4768 Reset the transform after we finish streaming, not during.
4770 2006-03-08 Wim Taymans <wim@fluendo.com>
4772 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4773 Use last buffer timestamp in qos message.
4775 2006-03-07 Wim Taymans <wim@fluendo.com>
4777 Patch by: Christophe Fergeau
4779 * docs/pwg/advanced-tagging.xml:
4780 * docs/pwg/building-pads.xml:
4783 2006-03-07 Wim Taymans <wim@fluendo.com>
4785 * docs/libs/gstreamer-libs-sections.txt:
4786 Added basesink new methods.
4790 Docs updates. Flesh out the QoS docs.
4792 * libs/gst/base/gstadapter.c:
4793 Small doc clarification about ownership and flushing.
4795 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4796 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4797 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4798 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4799 * libs/gst/base/gstbasesink.h:
4801 Added new methods to allow subclass to control max-lateness
4803 Generate very basic QoS events based on last sync observation.
4804 Updated docs, fix typo, added some QoS blurb.
4806 * libs/gst/base/gstbasesrc.c:
4807 Remove obsolete _get_state() calls from docs.
4809 2006-03-07 Wim Taymans <wim@fluendo.com>
4811 * docs/libs/gstreamer-libs-sections.txt:
4812 * libs/gst/base/gstbasetransform.h:
4813 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4814 Fix docs for GstBaseSrc.
4816 2006-03-07 Wim Taymans <wim@fluendo.com>
4818 * docs/gst/gstreamer-sections.txt:
4821 * libs/gst/base/gstbasetransform.h:
4822 Small documentation fixes.
4824 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4827 Document thread-unsafety of gst_value_register_foo_func()
4828 when used at the same time as gst_value_foo() (#322628).
4830 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4832 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4833 (gst_push_src_check_get_range):
4834 Push sources don't support pull mode by default.
4836 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4838 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4839 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4840 (gst_base_src_default_check_get_range):
4841 * libs/gst/base/gstbasesrc.h:
4842 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4843 provide default implementation, and rename
4844 gst_base_src_check_get_range() to
4845 gst_base_src_pad_check_get_range() for clarity.
4847 2006-03-06 Wim Taymans <wim@fluendo.com>
4849 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4850 Make property overridable.
4852 2006-03-06 Wim Taymans <wim@fluendo.com>
4854 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4855 (gst_base_sink_init), (gst_base_sink_set_property),
4856 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4857 * libs/gst/base/gstbasesink.h:
4858 API addition: Make max-lateness a property.
4860 2006-03-06 Wim Taymans <wim@fluendo.com>
4862 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4863 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4864 Don't ever draw a frame that is >10ms late.
4866 2006-03-06 Michael Smith <msmith@fluendo.com>
4868 * gst/gstmessage.c: (_gst_message_copy):
4869 When copying a message, set the parent_refcount of the enclosed
4870 structure to point at the copy, not the original message.
4872 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4874 Patch by: Christophe Fergeau
4877 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4878 usable in c++ code (#333417)
4880 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4883 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4885 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4887 * libs/gst/base/gstbasetransform.c:
4888 (gst_base_transform_transform_caps):
4889 Make sure caps are writable before passing them to
4892 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4895 Fix some minor docs errors.
4897 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4899 Patch by: Ross Burton <ross at burtonini dot com>
4901 * gst/gsterror.c: (_gst_resource_errors_init):
4903 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4905 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4908 Add a check and output a g_warning when GStreamer is built
4909 against GLib 2.6 but running against 2.8 or higher, and vice
4910 versa. (Closes: #323542)
4912 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4914 * gst/parse/parse.l:
4915 Commit patch for parse_launch syntax from #331255. Removes
4916 support for quoted strings and mimetypes when writing filtered
4917 caps. See the bug report for more details - I'm pretty sure this
4918 obscure feature is not in use by _anyone_ anywhere.
4920 With this simple change, the size of the gstreamer.so here
4921 drops from 2193KB to 1565KB.
4923 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4925 * plugins/elements/gsttypefindelement.h:
4926 * plugins/elements/gsttypefindelement.c:
4927 (gst_type_find_element_src_event), (start_typefinding),
4928 (stop_typefinding), (gst_type_find_element_handle_event),
4929 (gst_type_find_element_chain),
4930 (gst_type_find_element_chain_do_typefinding):
4931 Use gst_type_find_helper_for_buffer() for chain-based
4934 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4936 * plugins/elements/gsttypefindelement.c:
4937 (gst_type_find_element_class_init),
4938 (gst_type_find_element_set_property),
4939 (gst_type_find_element_get_property):
4940 Deprecate "maximum" property (not only was it only taken into
4941 account for typefinding in push-mode anyway, it also was never
4942 actually possible to set it in the first place because the
4943 property was registered with the numeric property ID for the
4944 "minimum" property). Register "maximum" property correctly,
4945 for the sake of future copy'n'pasters. Remove some cruft
4946 from property get/set functions.
4948 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4950 * plugins/elements/gsttypefindelement.c:
4951 (gst_type_find_element_activate):
4952 Use gst_type_find_helper_get_range() here, so we
4953 can honour the "minimum" property and also emit
4954 the signal with the correct probability of the found caps.
4956 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4958 * docs/libs/gstreamer-libs-sections.txt:
4959 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4960 (helper_find_suggest), (gst_type_find_helper_get_range),
4961 (gst_type_find_helper):
4962 * libs/gst/base/gsttypefindhelper.h:
4963 New API: gst_type_find_helper_get_range() (#333042).
4965 2006-03-02 Michael Smith <msmith@fluendo.com>
4967 * gst/gstregistryxml.c: (load_feature):
4968 Asserting on a failure to read part of the registry is Not Cool.
4969 Just log a warning and return NULL (which is already handled)
4971 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4973 * win32/common/libgstbase.def:
4974 added export of gst_type_find_helper_for_buffer
4975 * win32/common/libgstbase.def:
4976 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4977 gst_ghost_pad_get_target
4979 2006-02-28 Wim Taymans <wim@fluendo.com>
4981 * docs/design/draft-klass.txt:
4983 Added Connector to mark elements that are only used to
4984 allow pipeline connections.
4985 Moved Debug to extra feature since most of them are
4986 functionally something else.
4988 2006-02-28 Wim Taymans <wim@fluendo.com>
4990 * docs/design/draft-klass.txt:
4991 Some updates and clarifications.
4993 2006-02-28 Wim Taymans <wim@fluendo.com>
4995 * docs/design/draft-klass.txt:
4996 Proposal for klass field values.
4998 * docs/design/part-streams.txt:
4999 Start of a doc describing stream anatomy.
5001 2006-02-28 Wim Taymans <wim@fluendo.com>
5003 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5004 Help the compiler a bit with type registration.
5005 Use existing forward cod path instead of duplicating it when
5008 * gst/gstbus.c: (gst_bus_get_type):
5009 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5010 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5011 * gst/gstclock.c: (gst_clock_get_type):
5012 * gst/gstelement.c: (gst_element_get_type),
5013 * gst/gstelementfactory.c: (gst_element_factory_get_type):
5014 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5015 * gst/gstminiobject.c: (gst_mini_object_get_type):
5016 * gst/gstpad.c: (gst_pad_get_type):
5017 * gst/gstsegment.c: (gst_segment_get_type):
5018 * gst/gststructure.c: (gst_structure_get_type):
5019 * gst/gstsystemclock.c: (gst_system_clock_get_type):
5020 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5022 Help compiler with type registration.
5024 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5027 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5029 * plugins/elements/gsttypefindelement.c:
5030 (gst_type_find_element_handle_event):
5031 When we get an EOS event and have not found a type yet
5032 (most likely because we had not yet accumulated
5033 TYPE_FIND_MIN_SIZE of data yet), try to determine the
5034 type given the data we have so far. Fixes typefinding
5035 for very short streams again, most notably quicktime
5036 redirections as used on Apple's trailer site (#331701).
5038 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5040 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5041 (gst_type_find_helper):
5042 Try typefinding factories with the highest rank first.
5044 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5046 * docs/libs/gstreamer-libs-docs.sgml:
5047 * docs/libs/gstreamer-libs-sections.txt:
5048 * libs/gst/base/gsttypefindhelper.c:
5049 Add section for typefind helper and add documentation
5050 for the old and the new function.
5052 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5054 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5055 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5056 (gst_type_find_helper_for_buffer):
5057 * libs/gst/base/gsttypefindhelper.h:
5058 New API: gst_type_find_helper_for_buffer() (#332723).
5060 2006-02-27 Michael Smith <msmith@fluendo.com>
5062 Patch by: Loïc Minier
5066 * docs/slides/Makefile.am:
5067 prevent CVS directories getting disted.
5069 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5071 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5072 Use the REFCOUNTING category for caps refcounting.
5074 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5076 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5077 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5079 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5081 * plugins/elements/gsttypefindelement.c:
5082 (gst_type_find_element_activate):
5083 Use gst_pad_check_pull_range() before _activate_pull()
5084 to avoid unnecessary open/close (see #331690).
5086 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5089 Docs enhancement: make it crystal clear what the
5090 gst_pad_add_*_probe() callbacks should look like.
5092 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5094 * libs/gst/base/gstbasesrc.c:
5095 Document how applications can stop recording from
5096 live sources (see #330996).
5098 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5100 * tests/check/Makefile.am:
5101 * tests/check/libs/basesrc.c: (eos_event_counter),
5102 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5103 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5104 (gst_basesrc_suite), (main):
5105 ... and add some tests for the base source EOS stuff.
5107 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5109 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5110 Test case originally showed the problem fixed below,
5111 but was then amended. Add checks back at the place
5112 where they used to be.
5114 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5116 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5117 (gst_base_src_init), (gst_base_src_loop),
5118 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5119 (gst_base_src_change_state):
5120 * libs/gst/base/gstbasesrc.h:
5121 Don't unconditionally send EOS when going from PAUSED to
5122 READY state, esp. make sure we don't send two EOS events
5123 in some cases (e.g. one when reaching EOS and one when
5124 going from PAUSED to READY). Also, we don't want to send
5125 EOS events when operating in pull mode. However, we do
5126 want to send an EOS event when shutting down a live
5127 source explicitly, for example (fixes #330996).
5129 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5131 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5132 Update src->read_position after a seek when not using mmap.
5133 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5135 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5141 Make things work with --disable-parse as they do with
5142 --disable-load-save - the symbols involved disappear, but the
5143 header is still installed and GST_DISABLE_PARSE is included via
5146 2006-02-20 Julien MOUTTE <julien@moutte.net>
5148 * libs/gst/base/gstbasetransform.c:
5149 (gst_base_transform_change_state): Fix a stupid bug. I was
5150 sure I compiled that.
5152 2006-02-20 Julien MOUTTE <julien@moutte.net>
5154 * gst/gstpad.c: (gst_pad_set_blocked_async):
5155 * gst/gstutils.c: (gst_pad_add_data_probe),
5156 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5157 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5158 (gst_pad_remove_buffer_probe): Make those function act on the
5159 ghostpad target when it's a ghostpad. (Closes #331727)
5161 2006-02-20 Julien MOUTTE <julien@moutte.net>
5163 * libs/gst/base/gstbasetransform.c:
5164 (gst_base_transform_change_state): Make basetransform reusable.
5167 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5169 * docs/random/release:
5170 Move the current documentation of how to do a release to the top
5173 * gst/gstbin.c: (gst_bin_class_init),
5174 (gst_bin_handle_message_func):
5175 Allow multiple state-recalculation threads. (Closes #328873)
5177 2006-02-19 Julien MOUTTE <julien@moutte.net>
5179 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5180 * gst/gstpad.c: (gst_pad_set_event_function),
5181 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5182 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5183 2 strings. You can't use the STR_NULL macro on that.
5185 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5187 * gst/gstpad.c: (gst_pad_set_event_function),
5188 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5189 (gst_pad_set_getcaps_function)
5190 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5191 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5192 So now, we can use --gst-debug-level=5 on Windows
5193 * win32/common/libgstcontroller.def:
5194 Added export of gst_controller_init
5195 * win32/vs6/libgstcontroller.dsp:
5196 Fixed Release post build configuration
5198 2006-02-17 Wim Taymans <wim@fluendo.com>
5200 * tests/check/gst/gstquery.c: (GST_START_TEST):
5201 Added another check.
5203 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5205 * plugins/elements/gsttypefindelement.c: (find_peek):
5206 We can do peeks at non-zero offsets, as long as they
5207 fall within the buffer we have.
5209 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5211 * tests/check/Makefile.am:
5212 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5213 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5214 (parse_suite), (main):
5215 Add testsuite for parse launch syntax
5217 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5219 * plugins/elements/gsttypefindelement.c:
5220 (gst_type_find_element_chain):
5221 When typefinding is unsuccessful in the chain function, don't
5222 error out immediately. Only error out with NO_CAPS_FOUND if
5223 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5224 otherwise simply wait for more data so we can try typefinding
5225 again with more data later. Also, don't attempt to typefind
5226 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5227 this should improve typefinding from network sources where the
5228 size of the first buffer can be somewhat random.
5230 2006-02-14 Wim Taymans <wim@fluendo.com>
5232 * docs/gst/gstreamer-sections.txt:
5233 * gst/gstpadtemplate.c:
5234 * gst/gstpadtemplate.h:
5235 Fix padtemplate docs, fixes #328805.
5237 2006-02-14 Wim Taymans <wim@fluendo.com>
5239 * tools/gst-launch.c: (main):
5240 NO_PREROLL is not an ERROR so don't send confusing messages
5243 2006-02-14 Wim Taymans <wim@fluendo.com>
5245 Patch by: Torsten Schoenfeld
5247 * gst/gstregistry.c: (gst_registry_get_default),
5248 (_gst_registry_cleanup):
5249 Protect default registry with lock and ref/sink it.
5252 2006-02-14 Wim Taymans <wim@fluendo.com>
5255 * gst/gstquery.c: (gst_query_list_add_format),
5256 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5257 (gst_query_parse_formats_nth):
5258 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5261 2006-02-14 Wim Taymans <wim@fluendo.com>
5263 * docs/gst/gstreamer-sections.txt:
5264 Reworked query docs.
5266 * gst/gstquery.c: (gst_query_new_formats),
5267 (gst_query_list_add_format), (gst_query_set_formats),
5268 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5269 (gst_query_parse_formats_nth):
5271 Flesh out formats query, added some new methods.
5272 Fix part of #324398.
5274 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5275 Added query creation tests.
5277 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5279 * gst/gstpad.c: (fixate_value):
5280 Add a default fixation for fraction lists.
5282 2006-02-13 Wim Taymans <wim@fluendo.com>
5284 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5285 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5288 Detect and warn for obvious deadlocks. fixes #320340
5289 Fix error case where lock was not released.
5291 * tests/check/Makefile.am:
5292 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5293 (task_func), (gst_element_suite), (main):
5296 2006-02-13 Wim Taymans <wim@fluendo.com>
5298 * docs/gst/gstreamer-sections.txt:
5300 Add new functions to docs.
5302 2006-02-13 Wim Taymans <wim@fluendo.com>
5304 * docs/design/part-TODO.txt:
5305 Updated TODO list, basesrc supports seeking to non-bytes
5308 * docs/design/part-element-sink.txt:
5311 * gst/gstbin.c: (bin_replace_message),
5312 (gst_bin_handle_message_func):
5313 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5314 * gst/gstevent.c: (gst_event_finalize):
5315 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5316 (gst_pad_send_event):
5317 Use shiny new _TYPE_NAME macros.
5319 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5320 Move debug statement up.
5322 * gst/gstelement.c: (gst_element_set_locked_state):
5325 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5327 * docs/gst/gstreamer-sections.txt:
5330 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5331 macros (#330906). Also, document the already existing
5332 GST_QUERY_TYPE macro.
5334 2006-02-13 Wim Taymans <wim@fluendo.com>
5336 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5337 (event_probe), (GST_START_TEST):
5338 Only events up to the pipeline EOS are counted, there are
5339 some more when going to NULL currently which we don't care
5342 2006-02-13 Wim Taymans <wim@fluendo.com>
5344 * gst/gstpad.c: (gst_pad_send_event):
5345 Correctly check flushing and emit probes. fixes #330125
5347 2006-02-10 Andy Wingo <wingo@pobox.com>
5349 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5351 (gst_bus_init): Cache the location of the private data in the
5353 (gst_bus_enable_sync_message_emission)
5354 (gst_bus_disable_sync_message_emission): Implement new public
5356 (gst_bus_post): Emit the sync-message signal if the user asked for
5359 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5360 location of the bus-private structure.
5361 (gst_bus_enable_sync_message_emission)
5362 (gst_bus_disable_sync_message_emission): API addition
5364 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5366 Patch by: Vincent Torri
5368 * docs/pwg/building-boiler.xml:
5369 PWG patch from #326800
5371 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5375 * docs/design/Makefile.am:
5378 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5383 === release 0.10.3 ===
5385 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5388 releasing 0.10.3, "Like a virgin"
5390 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5393 2nd prerelease of 0.10.3
5394 Bump libtool versioning.
5396 2006-02-07 Andy Wingo <wingo@pobox.com>
5398 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5399 update last_stop if we're in TIME format and the timestamp is
5402 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5403 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5404 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5405 If we get a new newsegment with a different format, adapt
5408 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5409 of 0. Not a problem, really.
5411 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5414 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5419 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5422 project files updated to the default vs7 configuration
5423 * win32/common/libgstbase.def:
5424 * win32/common/libgstreamer.def:
5426 removed empty lines,
5427 sorted all exported symbols alphabetically
5428 * win32/common/dirent.c:
5429 * win32/common/dirent.h:
5430 * win32/common/gchar.h:
5431 use windows line end.
5433 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5435 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5436 Send EOS event when stopping.
5438 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5441 Tell folks what to do if the plugin-foobar.xml file
5442 hasn't been generated for a newly-added plugin.
5444 2006-02-05 Julien MOUTTE <julien@moutte.net>
5446 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5447 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5448 (gst_collect_pads_start), (gst_collect_pads_stop),
5449 (gst_collect_pads_event): Collectpads now holds a reference
5450 to the GstPad that was added. Indeed we don't want to look
5451 at pads that might just go away with no warning...
5453 2006-02-05 Julien MOUTTE <julien@moutte.net>
5455 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5456 (gst_collect_pads_start), (gst_collect_pads_stop),
5457 (gst_collect_pads_event), (gst_collect_pads_chain):
5458 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5459 Mark Nauwelaerts's patch on bug #328491.
5461 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5463 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5465 Add some simple tests for gst_parse_bin_from_description() and
5466 gst_bin_find_unconnected_pad() (#329069).
5468 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5470 * tools/gst-launch.c: (event_loop), (main):
5471 Catch errors during preroll (#320084).
5473 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5475 * plugins/elements/gsttypefindelement.c:
5476 (gst_type_find_element_activate):
5477 Post TYPE_NOT_FOUND error message when typefinding
5478 is unsuccessful in the activate function as well.
5480 2006-02-02 Wim Taymans <wim@fluendo.com>
5482 * docs/design/part-element-sink.txt:
5485 2006-02-02 Wim Taymans <wim@fluendo.com>
5487 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5488 (gst_base_sink_render_object),
5489 (gst_base_sink_queue_object_unlocked):
5490 Only keep track of prerollable items when we are
5492 Before rendering after preroll, always check if we
5494 Added some more debugging.
5496 2006-02-02 Wim Taymans <wim@fluendo.com>
5498 * gst/gstelement.c: (gst_element_continue_state),
5499 (gst_element_set_state_func), (gst_element_change_state):
5500 Fixed #326576, been running this for quite some time with
5501 no regressions at all.
5503 2006-02-02 Wim Taymans <wim@fluendo.com>
5506 Added more suppressions
5508 2006-02-02 Wim Taymans <wim@fluendo.com>
5510 * docs/design/part-element-sink.txt:
5513 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5514 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5515 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5516 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5517 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5518 (gst_base_sink_preroll_object),
5519 (gst_base_sink_queue_object_unlocked),
5520 (gst_base_sink_queue_object), (gst_base_sink_event),
5521 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5522 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5523 (gst_base_sink_get_position), (gst_base_sink_change_state):
5524 * libs/gst/base/gstbasesink.h:
5525 Totally refactored matching the design doc.
5526 Use two segments, one to clip incomming buffers and another to
5528 Handle queueing correctly, bypass the queue when playing.
5529 Make EOS cancelable.
5530 Handle errors correctly when operating in pull based mode.
5532 * tests/check/elements/fakesink.c: (GST_START_TEST),
5534 Added new check for sinks.
5536 2006-02-02 Wim Taymans <wim@fluendo.com>
5538 * gst/gstsegment.c: (gst_segment_clip):
5539 No reason to refuse to clip when start == -1
5541 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5544 * docs/manual/intro-basics.xml:
5545 * docs/manual/intro-preface.xml:
5546 * docs/manual/manual.xml:
5547 * docs/pwg/advanced-dparams.xml:
5548 * docs/pwg/intro-basics.xml:
5549 * docs/pwg/intro-preface.xml:
5551 describe dparams (controller) for plugins
5552 unify docs a little more
5554 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5556 * docs/gst/gstreamer-sections.txt:
5557 * gst/gstutils.c: (element_find_unconnected_pad),
5558 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5560 Add new API: gst_parse_bin_from_description() and
5561 gst_bin_find_unconnected_pad() (#329069).
5563 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5565 * docs/manual/README:
5566 uncover a nasty detail of the docs build
5568 2006-01-31 Wim Taymans <wim@fluendo.com>
5570 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5571 Don't cache duration messages if we're not going to use or
5574 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5576 * docs/manual/advanced-dparams.xml:
5577 * docs/pwg/advanced-dparams.xml:
5581 * libs/gst/controller/lib.c: (gst_controller_init):
5584 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5586 * gst/gstelement.c: (gst_element_message_full):
5587 also show file/line/func if no additional debug was given
5589 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5591 * win32/vs7/grammar.vcproj:
5592 activate copy of autogenerated files for Release mode
5594 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5596 * win32/common/libgstreamer.def:
5597 export gst_value_compare
5599 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5601 * plugins/elements/Makefile.am:
5602 * plugins/elements/gstelements.c:
5603 * plugins/elements/gstfdsink.c: (_do_init),
5604 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5605 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5606 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5607 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5608 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5609 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5610 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5611 * plugins/elements/gstfdsink.h:
5612 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5614 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5616 * docs/manual/advanced-dparams.xml:
5618 * docs/manual/advanced-position.xml:
5619 * docs/manual/basics-init.xml:
5620 * docs/manual/manual.xml:
5621 * docs/manual/titlepage.xml:
5623 * docs/pwg/titlepage.xml:
5624 cleanup xml (more to come)
5625 * libs/gst/controller/gstcontroller.c:
5628 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5630 * win32/vs6/grammar.dsp:
5631 add autogen of gstmarshal.c,h for Release mode
5633 2006-01-30 Wim Taymans <wim@fluendo.com>
5635 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5636 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5637 (gst_base_sink_handle_object), (gst_base_sink_event),
5638 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5639 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5640 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5641 (gst_base_sink_deactivate), (gst_base_sink_activate),
5642 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5643 (gst_base_sink_query), (gst_base_sink_change_state):
5644 Basesink cleanups, remove some old code.
5645 Handle the case where a subclass can preroll in the render
5646 method (mostly audiosinks).
5648 Remove some locks around variables that are now protected
5649 with the PREROLL_LOCK (clock_id, flushing, ..).
5650 Optimize position query some more, do correct locking.
5651 Remove old code to push queue in state change, this is not
5652 needed anymore since preroll blocks on all prerollable items
5654 Almost implemented as described in design doc.
5656 2006-01-30 Wim Taymans <wim@fluendo.com>
5658 * tests/check/gst/gstbin.c: (GST_START_TEST):
5659 Wait for refcount to settle down before checking.
5661 2006-01-30 Wim Taymans <wim@fluendo.com>
5663 * docs/design/part-element-sink.txt:
5664 Pseudo code overview of desired sink behaviour regarding
5667 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5668 * win32/vs6/grammar.dsp:
5669 fix some bugs in Release mode for autogenerated files
5671 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5672 * win32/common/libgstbase.def:
5673 * win32/common/libgstreamer.def:
5674 export some new symbols: gst_base_src_set_format,
5675 gst_iterator_next, gst_structure_set_valist
5677 2006-01-29 Julien MOUTTE <julien@moutte.net>
5679 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5680 Set pad functions unconditionally. Fixes #329105.
5682 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5684 add vs8 project files created by Sergey Scobich
5686 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5688 * gst/gstutils.c: (gst_element_unlink_pads):
5689 Don't leak pad references.
5691 * tests/check/elements/fakesink.c: (GST_START_TEST):
5692 * tests/check/generic/sinks.c: (GST_START_TEST):
5693 * tests/check/generic/states.c: (GST_START_TEST):
5694 * tests/check/gst/gstbin.c: (GST_START_TEST):
5695 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5696 * tests/check/gst/gstelement.c: (GST_START_TEST):
5697 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5698 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5699 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5700 Fix a bunch of leaks. Make generic/sinks.c
5701 use a bit less cpu by slowing the buffer rate
5702 between fakesrc and fakesink.
5704 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5706 * gst/gstelement.c: (gst_element_send_event):
5709 * gst/gstiterator.c:
5710 * gst/gstiterator.h:
5711 * gst/gstpad.c: (gst_pad_send_event):
5712 * gst/gststructure.c:
5716 * libs/gst/base/gstadapter.c:
5717 doc fixes, to link to function, just write gst_cool_function(), don't
5720 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5722 * plugins/elements/gsttee.c: (gst_tee_do_push),
5723 (gst_tee_handle_buffer):
5724 Always prefer an actual return value from a src
5725 pad in place of NOT_LINKED. This means we return
5726 WRONG_STATE when all src pads are WRONG_STATE
5727 instead of NOT_LINKED.
5729 Lock when replacing the last message to prevent
5730 racing with the get_property method.
5734 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5736 * tests/check/Makefile.am:
5737 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5739 Add a very simple check that should have caught the memleak I fixed
5740 last night (if not for the slice allocator hiding it)
5742 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5744 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5745 (gst_bin_remove_func), (gst_bin_handle_message_func),
5746 (bin_query_duration_fold), (bin_query_generic_fold):
5747 Clean up references to the clock provider when disposed or when
5748 handling a clock-lost message from it.
5750 Unref sinks when performing a query via gst_iterator_fold, as the
5751 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5753 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5754 (gst_clock_set_master):
5755 Drop our reference to the master clock, if any, when we are disposed.
5757 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5758 Chain up in dispose.
5760 2006-01-26 Wim Taymans <wim@fluendo.com>
5762 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5765 2006-01-26 Julien MOUTTE <julien@moutte.net>
5767 * plugins/elements/gsttee.c: (gst_tee_do_push),
5768 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5769 handles pad being NOT_LINKED or in WRONG_STATE.
5771 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5776 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5779 remove obsolete entry
5781 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5783 * docs/gst/gstreamer-sections.txt:
5784 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5785 (gst_bin_iterate_sources), (gst_bin_send_event):
5787 * gst/gstelement.c: (gst_element_send_event):
5789 * gst/gstpad.c: (gst_pad_send_event):
5790 added code for downstream events, reviewed docs in gstevent.c
5792 2006-01-25 Julien MOUTTE <julien@moutte.net>
5794 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5795 We only query position using the clock in the playing state.
5796 Query peer in the other cases.
5797 * win32/common/config.h: Updates.
5799 2006-01-24 Wim Taymans <wim@fluendo.com>
5801 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5802 A clock entry that is scheduled for the exact time of the
5803 clock is still in time.
5805 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5806 (gst_base_sink_do_sync):
5807 Add some more debug info.
5809 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5812 Add new vs7 project files and solution.
5814 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5817 all files removed as they were out-dated.
5819 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5821 * docs/random/release:
5823 * gst/gstbin.c: (gst_bin_init):
5824 * gst/gstbus.c: (gst_bus_new):
5826 * gst/gstpipeline.c: (gst_pipeline_init):
5827 use gst_bus_new(), improve logging, fix docs
5828 * win32/common/config.h:
5829 update for cvs build
5831 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5834 up required version of automake to 1.7
5836 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5838 * win32/common/libgstreamer.def:
5839 export gst_buffer_is_metadata_writable
5841 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5843 * docs/gst/gstreamer-sections.txt:
5845 Add gst_event_replace() (#327001)
5847 2006-01-20 Wim Taymans <wim@fluendo.com>
5849 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5850 Make it actually compile too..
5852 2006-01-20 Wim Taymans <wim@fluendo.com>
5855 Clarify behaviour of _is_equal() when passing NULL parameters.
5857 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5859 Cleanups. Don't unref NULL caps.
5860 When setting the same caps, protect caps of the pad with
5862 Use full functionality of _is_equal() when comparing caps.
5864 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5866 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5867 Don't loop infinitely if there are no buffers to present. Partially
5868 fixes #327197, but collectpads is just broken for reusing elements
5869 to do multiple encodes atm.
5871 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5873 * tools/gst-inspect.c: (print_element_features):
5874 * tools/gst-xmlinspect.c: (main):
5875 URL_HANDLER is not a plugin feature we can search for in
5878 2006-01-19 Edward Hervey <edward@fluendo.com>
5880 * gst/gstelement.c: (gst_element_pads_activate):
5881 When activating, do src pads first, then sink pads.
5882 When de-activating, do sink pads first, then src pads.
5884 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5886 * docs/gst/gstreamer-sections.txt:
5887 Add gst_index_add_associationv to the docs
5889 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5894 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5895 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5896 Do some refactoring. Doesn't actually change functionality,
5897 but makes landing the DRAIN event easier later.
5899 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5901 * docs/pwg/advanced-scheduling.xml:
5902 Update from 0.9.x to 0.10 API and make example a bit
5905 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5907 * docs/gst/gstreamer-sections.txt:
5908 Add gst_buffer_(is|make)_metadata_writable methods.
5910 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5912 * docs/design/part-sparsestreams.txt:
5913 Update sparse streams doc, hopefully for greater clarity
5915 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5917 * docs/design/part-events.txt:
5918 Remove mention of FILLER events.
5921 * docs/design/part-sparsestreams.txt:
5922 Write some things about using NEWSEGMENT to keep sparse streams
5925 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5927 * gst/gstbin.c: (gst_bin_dispose):
5928 Guard gst_object_unref call against a NULL object (dispose
5929 can theoretically be called multiple times).
5931 2006-01-18 Wim Taymans <wim@fluendo.com>
5933 * gst/gstbin.c: (gst_bin_element_set_state):
5934 * gst/gstclock.c: (gst_clock_id_wait):
5935 Added some more debug info.
5937 * libs/gst/base/gstadapter.c:
5940 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5941 (gst_base_sink_do_sync), (gst_base_sink_chain):
5942 Added some comments.
5944 2006-01-18 Wim Taymans <wim@fluendo.com>
5946 * tests/check/Makefile.am:
5947 * tests/check/elements/fakesink.c: (chain_async_buffer),
5948 (chain_async), (chain_async_return), (GST_START_TEST),
5949 (fakesink_suite), (main):
5950 Added fakesink test that checks prerolling and clipping
5953 * tests/check/gst/gstutils.c: (GST_START_TEST):
5954 Make check run faster so that buildbots don't timeout.
5956 2006-01-18 Wim Taymans <wim@fluendo.com>
5958 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5959 (gst_base_sink_do_sync):
5961 When the sink finishes blocking on the preroll buffer, it can
5962 immediatly render it instead of rendering when the next buffer
5965 2006-01-18 Wim Taymans <wim@fluendo.com>
5967 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5968 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5969 (gst_base_sink_chain):
5971 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5972 Don't store _last_stop if the buffer is dropped.
5974 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5976 * plugins/elements/gsttypefindelement.c:
5977 (gst_type_find_element_class_init):
5978 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5979 object method handler that sets the caps on the pad and we want
5980 that to happen before we emit the signal (fixes e.g. feeding a
5981 plain text file to decodebin).
5983 2006-01-18 Christian Schaller <Christian@fluendo.com>
5985 * gst/gstplugin.c: Add MPL and Proprietary as license options
5987 2006-01-18 Andy Wingo <wingo@pobox.com>
5989 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5990 symbol was exported before, it appears this was just an oversight.
5992 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5994 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5995 prototype to gint. OK since this prototype was not in the header.
5997 2006-01-17 Andy Wingo <wingo@pobox.com>
5999 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6000 registry while we remove plugins.
6002 * tools/gst-inspect.c (print_element_info): Don't unref the
6003 factory arg, that should be the responsibility of whatever code
6004 received the ref. Fixes a double-free when called from
6005 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6006 (main): Unref the factory if we have one.
6007 (print_element_list): No change -- relies on the
6008 plugin_feature_list_free to free the list of features.
6010 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
6012 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6013 (gst_buffer_make_metadata_writable):
6015 * libs/gst/base/gstbasetransform.c:
6016 (gst_base_transform_prepare_output_buf):
6017 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6018 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6019 Replace gst_buffer_(make|is)_metadata_writable patch now
6020 that the release is out.
6022 2006-01-17 Andy Wingo <wingo@pobox.com>
6024 * gst/gstregistry.c: Reflow design comment. Update so as to speak
6025 in the present tense without reference to versions.
6027 * gst/gstregistry.c (gst_registry_add_plugin)
6028 (gst_registry_remove_plugin, gst_registry_remove_feature)
6029 (gst_registry_find_feature, gst_registry_get_feature_list)
6030 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6031 (gst_registry_lookup, gst_registry_scan_path)
6032 (_gst_registry_remove_cache_plugins)
6033 (gst_registry_get_feature_list_by_plugin): Add argument
6036 === release 0.10.2 ===
6038 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
6041 releasing 0.10.2, "If man is five"
6043 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6047 * libs/gst/base/gstbasetransform.c:
6048 (gst_base_transform_prepare_output_buf):
6049 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6050 * tests/check/gst/gstbuffer.c: (gst_test_suite):
6051 Back out patch until after the release.
6053 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6055 * gst/gstminiobject.c:
6056 Spelling fix in docs.
6057 * ChangeLog - remove conflict indicator
6059 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6061 Reviewed By: Andy Wingo
6063 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6064 (gst_buffer_make_metadata_writable):
6066 Add gst_buffer_(is|make)_metadata_writable as analogues of
6067 gst_buffer_(is|make)_writable.
6069 * libs/gst/base/gstbasetransform.c:
6070 (gst_base_transform_prepare_output_buf):
6071 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6072 Use name gst_buffer_(is|make)_metadata_writable functions.
6074 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6075 Test gst_buffer_(is|make)_metadata_writable
6079 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6081 * docs/manual/Makefile.am:
6082 don't do parallel make
6085 * win32/common/config.h.in:
6086 add generations for HOST_CPU and GST_MAJORMINOR
6087 * win32/common/config.h:
6088 commit generated result
6090 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6092 * docs/manual/appendix-integration.xml:
6093 Update GNOME integration section to use gst_init_get_option_group()
6094 instead of the old popt stuff (#322911). Also, GNOME applications
6095 should now use gconf*sink and gconf*src instead of the old gconf
6098 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6101 * docs/gst/gstreamer-docs.sgml:
6102 * docs/gst/gstreamer-sections.txt:
6103 * docs/libs/gstreamer-libs-sections.txt:
6104 add new API entries to the docs
6105 * libs/gst/controller/Makefile.am:
6106 * libs/gst/controller/gstcontroller.c:
6107 * libs/gst/controller/gstcontroller.h:
6108 * libs/gst/controller/gstcontrollerprivate.h:
6109 * libs/gst/controller/gsthelper.c:
6110 * libs/gst/controller/gstinterpolation.c:
6111 move private structs to private header
6113 gstreamer-0.7 -> gstreamer-0.10
6114 * tests/check/libs/struct_i386.h:
6115 remove private structs
6117 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6119 * plugins/indexers/Makefile.am:
6120 Fixes as part of #317048
6122 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6124 * plugins/indexers/Makefile.am:
6125 fix #316086 - compilation when mmap is missing
6127 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6129 * libs/gst/base/gstbasesink.c:
6130 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6131 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6132 * win32/common/config.h:
6133 added some defines GST_MAJORMINOR and HOST_CPU
6134 * win32/common/libgstbase.def:
6135 * win32/common/libgstreamer.def:
6136 added some exported functions.
6138 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6140 * libs/gst/controller/gstcontroller.c:
6141 (gst_controlled_property_set_interpolation_mode),
6142 (gst_controlled_property_new):
6143 * libs/gst/controller/gstcontroller.h:
6144 * libs/gst/controller/gstinterpolation.c:
6145 (interpolate_none_get_string_value_array):
6146 make G_TYPE_STRING controlable
6148 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6151 * tools/gst-feedback.1.in:
6152 * tools/gst-inspect.1.in:
6153 * tools/gst-launch.1.in:
6154 * tools/gst-md5sum.1.in:
6155 * tools/gst-typefind.1.in:
6156 * tools/gst-xmlinspect.1.in:
6157 * tools/gst-xmllaunch.1.in:
6158 cleanup man-pages, remove reference to gst-register, document env-vars
6160 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6162 * gst/gstbuffer.c: (gst_buffer_span):
6163 gst_buffer_span should copy the timestamp of the first buffer
6164 if they were both originally overlapping subbuffers of the
6165 same parent, using the same logic as the 'slow copy' case.
6167 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6170 Need to awaken ALL the pads when we pop a buffer, otherwise
6171 collectpads only works when there is 2 input streams.
6173 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6175 * docs/random/ensonic/media-device-daemon.txt:
6178 fix doc example, add clarification
6179 * tools/gst-launch.1.in:
6180 add initial info about GST_PLUGIN_PATH, needs more work
6182 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6184 * docs/manual/basics-bins.xml:
6185 * docs/manual/basics-elements.xml:
6186 * docs/manual/intro-basics.xml:
6187 Some more minor docs additions and updates.
6189 2006-01-11 Wim Taymans <wim@fluendo.com>
6191 * docs/manual/basics-bins.xml:
6192 * docs/manual/basics-elements.xml:
6193 Some small fixes as pointed out by Ser-ver on IRC.
6195 2006-01-10 Edward Hervey <edward@fluendo.com>
6197 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6198 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6199 the single-segment mode.
6201 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6203 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6205 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6206 (gst_base_src_perform_seek), (gst_base_src_send_event),
6207 (gst_base_src_set_property), (gst_base_src_get_property),
6208 (gst_base_src_loop), (gst_base_src_start),
6209 (gst_base_src_activate_push):
6210 * libs/gst/base/gstbasesrc.h:
6211 Name (private) union; makes Sun's Forte compiler happy (#324900).
6213 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6216 gst-register is gone.
6218 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6220 * gst/gstvalue.c: (_gst_value_initialize):
6221 make the G_TYPE_DATE instantiation work if debug is disabled
6223 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6225 * gst/gstmessage.c: (gst_message_parse_tag),
6226 (gst_message_parse_error), (gst_message_parse_warning):
6227 Don't crash when return location for error/warning debug
6228 string is NULL; add fact that return locations can be
6229 NULL to docs where appropriate.
6231 2006-01-05 Wim Taymans <wim@fluendo.com>
6233 * gst/gstplugin.c: (gst_plugin_load_file):
6234 Replace strdup by g_strdup.
6236 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6238 * docs/pwg/advanced-types.xml:
6241 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6243 submitted by: Abel Cheung
6247 Added Chinese (traditional) translation
6249 2006-01-04 Wim Taymans <wim@fluendo.com>
6251 * docs/manual/basics-pads.xml:
6252 * docs/plugins/Makefile.am:
6253 * docs/plugins/gstreamer-plugins-docs.sgml:
6254 * docs/plugins/gstreamer-plugins-sections.txt:
6255 * docs/pwg/advanced-clock.xml:
6256 * docs/pwg/advanced-scheduling.xml:
6257 * docs/pwg/advanced-types.xml:
6258 * plugins/elements/gstfdsink.c:
6259 * plugins/elements/gstfdsrc.c:
6260 * plugins/elements/gstfdsrc.h:
6261 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6262 * plugins/elements/gstidentity.h:
6263 * plugins/elements/gstqueue.h:
6264 * plugins/elements/gsttee.c:
6265 * plugins/elements/gsttee.h:
6266 * plugins/elements/gsttypefindelement.c:
6267 (gst_type_find_element_class_init):
6268 * plugins/elements/gsttypefindelement.h:
6269 Small updates to various docs.
6270 Added core plugins to docs.
6272 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6275 add a suppression for liboil's uninitialized variable
6277 2006-01-02 James Livingston <jrl at ids dot org dot au>
6279 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6282 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6283 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6284 compiler switch is being used (#325429).
6286 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6288 * gst/gstbin.c: (gst_bin_query):
6289 Disable duration query caching in bins until it gets
6290 fixed (see #324807).
6292 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6294 * tools/gst-inspect.c: (print_element_properties_info):
6295 Handle properties of POINTER and BOXED type.
6297 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6299 * gst/gst.c: (init_post):
6300 Init tags stuff and some other things before loading
6301 any static plugins (there may be other static plugins
6302 than just the GStreamer ones, and they may want to
6303 register their own tags or formats or whatever, and
6304 preferably without segfaulting).
6306 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6307 Print at least a warning in the debug logs if we drop a
6308 query just because we don't know how to adjust the value
6309 in the particular format.
6311 2005-12-24 David Schleef <ds@schleef.org>
6313 * tools/gstreamer-completion:
6314 Replacement for gst-complete written in sh and sed. Only
6315 completes names of features, but that's 90% of what I want
6316 it for. Properties are not available in registry.xml. (Maybe
6319 === release 0.10.1 ===
6321 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6324 releasing 0.10.1, "Nollaig chridheil"
6326 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6329 Add missing quote, should be make ERROR_CFLAGS="".
6331 2005-12-20 Wim Taymans <wim@fluendo.com>
6333 * docs/design/part-trickmodes.txt:
6334 More documentation on trickmodes.
6336 2005-12-20 Edward Hervey <edward@fluendo.com>
6338 * gst/gstcaps.c: (gst_static_caps_get_type):
6340 API addition: GST_TYPE_STATIC_CAPS
6341 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6342 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6343 * gst/gstpadtemplate.h:
6344 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6345 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6348 2005-12-18 Wim Taymans <wim@fluendo.com>
6350 * libs/gst/base/gstadapter.c:
6351 * libs/gst/base/gstadapter.h:
6352 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6353 (gst_base_sink_get_position):
6354 * libs/gst/base/gstbasesink.h:
6355 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6356 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6357 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6358 (gst_base_src_send_event), (gst_base_src_update_length),
6359 (gst_base_src_get_range), (gst_base_src_loop),
6360 (gst_base_src_start):
6361 * libs/gst/base/gstbasesrc.h:
6362 * libs/gst/base/gstbasetransform.h:
6363 * libs/gst/base/gstcollectpads.h:
6364 * libs/gst/base/gstpushsrc.c:
6365 * libs/gst/base/gstpushsrc.h:
6366 * libs/gst/dataprotocol/dataprotocol.c:
6367 * libs/gst/dataprotocol/dataprotocol.h:
6368 * libs/gst/net/gstnetclientclock.h:
6369 * libs/gst/net/gstnettimeprovider.h:
6370 Documentation updates.
6372 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6374 * docs/manual/basics-helloworld.xml:
6375 Remove superfluous closing bracket in helloworld example.
6377 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6379 * tools/gst-launch.1.in:
6380 Update gst-launch man page; add a section with useful
6381 environment variables. Fixes #323882.
6383 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6386 * gst/gst_private.h:
6387 change some char* into char[]
6389 2005-12-16 Wim Taymans <wim@fluendo.com>
6391 * gst/gstregistryxml.c: (load_feature):
6393 Don't use g_object_unref on GstObjects so that we avoid
6394 leaks on unsafe glibs.
6396 2005-12-16 Wim Taymans <wim@fluendo.com>
6398 * gst/gstbin.c: (gst_bin_recalc_state):
6401 2005-12-16 Wim Taymans <wim@fluendo.com>
6404 Added make forever target for check.
6406 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6408 * gst/gst.c: (init_post):
6409 make the registry cache file HOST_CPU-dependent
6411 2005-12-16 Andy Wingo <wingo@pobox.com>
6413 * plugins/elements/gstbufferstore.c
6414 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6417 * tests/check/gst/gstobject.c
6418 (test_fake_object_name_threaded_unique): Pay attention to
6419 g_list_sort return value.
6421 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6423 * tools/gst-feedback-m.m:
6424 Update for 0.9/0.10 (fixes #323870).
6426 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6428 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6429 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6431 * tests/check/gst/gstminiobject.c: (my_foo_init),
6432 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6433 (test_value_collection), (gst_mini_object_suite):
6434 Add test to ensure refcounts end up as expected when passing
6435 GstMiniObjects through g_object_get() and g_object_set().
6437 2005-12-14 Julien MOUTTE <julien@moutte.net>
6439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6440 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6441 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6442 of collectpads. This version removes a lot of races without
6443 touching API/ABI. Yay !
6445 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6447 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6448 Don't allow activation of a srcpad in pull_range if it has no
6450 Change some debug statements to be a little clearer
6452 * plugins/elements/gsttypefindelement.c:
6453 (gst_type_find_handle_src_query):
6454 Check that we have a peer before executing queries thereupon.
6456 * tests/examples/metadata/read-metadata.c: (message_loop):
6457 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6458 immediately return us any available message with 0 timeout.
6460 2005-12-12 Michael Smith <msmith@fluendo.com>
6462 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6463 Don't unref factories after calling them.
6464 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6465 * plugins/elements/gsttypefindelement.c:
6466 (gst_type_find_element_chain):
6467 Free lists of factories after using them. Fixing typefinding memory
6470 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6472 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6473 (gst_plugin_feature_load):
6474 more meaningful debug output
6476 * tests/Makefile.am:
6477 * tests/old/examples/Makefile.am:
6478 make make distcheck happy again
6480 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6482 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6483 Catch the special case where we are operating chain-based,
6484 but the downstream peer pad has no chain function. Emit a
6485 custom error message in this case instead of letting the
6486 core generate one implying that this is some sort of core
6487 bug. It's not, it just means that whatever got plugged
6488 into the pipeline downstream when we announced the type
6489 can only operate pull-based, while our source can only
6490 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6491 Error string has not been marked for translation yet, as
6492 it probably needs some more work first.
6494 (gst_type_find_element_get_best_possibility):
6495 Add helper function to find the best of all available
6496 found possibilities that qualify given the min. threshold.
6498 (gst_type_find_element_handle_event):
6499 Fix the case where we get an EOS while still in TYPEFIND
6500 mode (we want to chose the best of all possible types,
6501 not just the first type that happens to be in our unsorted
6502 list of possible types).
6504 (gst_type_find_element_chain):
6505 Make sure we return GST_FLOW_ERROR when we errored out
6506 in stop_typefinding(); also, don't just find the best of
6507 all found type entries and then use the last examined
6508 type entry, but actually use the best entry.
6510 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6512 * tests/examples/typefind/typefind.c: (type_found):
6513 * tests/examples/xml/runxml.c: (xml_loaded):
6514 More gcc4 fixes and a mem leak fix.
6516 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6518 * tests/examples/xml/createxml.c: (object_saved):
6521 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6523 * tests/Makefile.am:
6524 enable the examples even more
6526 2005-12-12 Andy Wingo <wingo@pobox.com>
6528 * libs/gst/net/gstnettimeprovider.c
6529 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6530 (gst_net_time_provider_set_property)
6531 (gst_net_time_provider_get_property):
6532 API addition: Export "active" as a GObject property.
6533 (gst_net_time_provider_thread): Only respond to time queries if
6534 the time provider is active.
6536 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6537 NetTimeProvider, preserving binary compat.
6539 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6541 * tests/examples/controller/audio-example.c: (main):
6542 * tests/examples/launch/Makefile.am:
6543 convert comments again
6545 2005-12-12 Wim Taymans <wim@fluendo.com>
6547 * libs/gst/base/gstpushsrc.c:
6550 2005-12-12 Wim Taymans <wim@fluendo.com>
6552 * docs/libs/gstreamer-libs-sections.txt:
6553 Added new symbol to docs.
6555 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6556 (gst_base_src_init), (gst_base_src_set_format),
6557 (gst_base_src_default_query), (gst_base_src_query),
6558 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6559 (gst_base_src_perform_seek), (gst_base_src_send_event),
6560 (gst_base_src_default_event), (gst_base_src_event_handler),
6561 (gst_base_src_set_property), (gst_base_src_get_property),
6562 (gst_base_src_wait), (gst_base_src_do_sync),
6563 (gst_base_src_update_length), (gst_base_src_get_range),
6564 (gst_base_src_check_get_range), (gst_base_src_loop),
6565 (gst_base_src_default_negotiate), (gst_base_src_start),
6566 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6567 (gst_base_src_change_state):
6568 * libs/gst/base/gstbasesrc.h:
6569 Implement seeking to other formats than _BYTES.
6570 Implement more seeking methods correctly.
6572 Added query vmethod.
6573 Added do_seek vmethod to make life easier for subclasses
6575 API addition: gst_base_src_set_format()
6577 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6579 * tests/examples/Makefile.am:
6582 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6585 * docs/random/ensonic/media-device-daemon.txt:
6586 * tests/examples/controller/.cvsignore:
6587 * tests/examples/controller/Makefile.am:
6588 * tests/examples/controller/audio-example.c: (main):
6589 * tests/examples/helloworld/.cvsignore:
6590 * tests/examples/helloworld/Makefile.am:
6591 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6592 * tests/examples/launch/.cvsignore:
6593 * tests/examples/launch/Makefile.am:
6594 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6595 * tests/examples/metadata/.cvsignore:
6596 * tests/examples/metadata/Makefile.am:
6597 * tests/examples/metadata/read-metadata.c: (message_loop),
6598 (make_pipeline), (print_tag), (main):
6599 * tests/examples/queue/.cvsignore:
6600 * tests/examples/queue/Makefile.am:
6601 * tests/examples/queue/queue.c: (event_loop), (main):
6602 * tests/examples/typefind/.cvsignore:
6603 * tests/examples/typefind/Makefile.am:
6604 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6606 * tests/examples/xml/.cvsignore:
6607 * tests/examples/xml/Makefile.am:
6608 * tests/examples/xml/createxml.c: (object_saved), (main):
6609 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6610 * tests/old/examples/Makefile.am:
6611 * tests/old/examples/TODO:
6612 * tests/old/examples/controller/.cvsignore:
6613 * tests/old/examples/controller/Makefile.am:
6614 * tests/old/examples/controller/audio-example.c:
6615 * tests/old/examples/helloworld/.cvsignore:
6616 * tests/old/examples/helloworld/Makefile.am:
6617 * tests/old/examples/helloworld/helloworld.c:
6618 * tests/old/examples/launch/.cvsignore:
6619 * tests/old/examples/launch/Makefile.am:
6620 * tests/old/examples/launch/mp3parselaunch.c:
6621 * tests/old/examples/launch/mp3play:
6622 * tests/old/examples/manual/Makefile.am:
6623 * tests/old/examples/metadata/Makefile.am:
6624 * tests/old/examples/metadata/read-metadata.c:
6625 * tests/old/examples/queue/.cvsignore:
6626 * tests/old/examples/queue/Makefile.am:
6627 * tests/old/examples/queue/queue.c:
6628 * tests/old/examples/typefind/.cvsignore:
6629 * tests/old/examples/typefind/Makefile.am:
6630 * tests/old/examples/typefind/typefind.c:
6631 * tests/old/examples/xml/.cvsignore:
6632 * tests/old/examples/xml/Makefile.am:
6633 * tests/old/examples/xml/createxml.c:
6634 * tests/old/examples/xml/runxml.c:
6635 applied some simple fixing to some examples
6636 re-enabled the working examples
6638 2005-12-12 Wim Taymans <wim@fluendo.com>
6640 * gst/gstsegment.c: (gst_segment_init),
6641 (gst_segment_set_last_stop), (gst_segment_set_seek),
6642 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6643 (gst_segment_to_running_time):
6644 Added more documentation.
6645 Make sure the last_pos value is updated properly.
6646 Make sure to_stream_time and to_running_time don't
6647 operate on wrong values.
6649 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6652 2005-12-12 Michael Smith <msmith@fluendo.com>
6654 * plugins/elements/gsttypefindelement.c: (free_entry),
6655 (gst_type_find_element_chain):
6656 Now that we're not leaking factories, make sure we keep references
6657 to them while we need them.
6659 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6661 * tests/check/gst/struct_i386.h:
6662 ifdef out the XML structs
6664 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6666 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6667 floor is not needed, F is always positive; this obviates the
6668 need for adding -lm when building without libxml
6670 2005-12-12 Wim Taymans <wim@fluendo.com>
6672 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6673 Take current playback rate into account when reporting
6676 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6678 * docs/manual/mime-world.fig:
6679 Let's try this again, this time with a file that is
6680 actually in XFig format.
6682 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6684 * docs/manual/mime-world.fig:
6685 Add audioconvert element to diagram so that it
6686 matches the text and the code (fixes #319526).
6688 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6690 * docs/pwg/building-chainfn.xml:
6691 * docs/pwg/building-pads.xml:
6692 * docs/pwg/building-state.xml:
6693 * docs/pwg/other-source.xml:
6694 Update state change stuff for 0.10 (fixes #322969).
6696 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6698 * docs/manual/advanced-dataaccess.xml:
6699 * docs/manual/appendix-checklist.xml:
6700 * docs/manual/appendix-programs.xml:
6701 * docs/manual/basics-pads.xml:
6702 * docs/manual/highlevel-components.xml:
6703 * docs/manual/manual.xml:
6704 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6705 add converters in front of pipelines; remove curly
6706 brackets for threads stuff, they no longer exist; use
6707 GST_TYPE_FRACTION for framerates; update some pieces of
6708 code to 0.10, but there's plenty more to do.
6710 * docs/manual/appendix-porting.xml:
6711 Expand on asynchroneous state changes; s/0.9/0.10/;
6712 mention disappearance of gst_init_get_popt_table()
6715 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6717 * docs/faq/using.xml:
6718 Spider no longer exists, and neither does gst-launch-ext.
6719 Update examples to use decodebin and playbin and put
6720 converters in front of sinks (fixes #323726).
6722 2005-12-09 Michael Smith <msmith@fluendo.com>
6724 * plugins/elements/gsttypefindelement.c: (find_peek),
6725 (gst_type_find_element_chain):
6726 Fix leaking element factories in typefinding.
6727 Fix problem where we forgot about a probable type on non-seekable
6728 files, and thus later mis-typefound it.
6730 2005-12-09 Michael Smith <msmith@fluendo.com>
6732 * common/m4/gst-makecontext.m4:
6733 * common/m4/gst-mcsc.m4:
6735 * win32/common/config.h:
6736 * win32/common/config.h.in:
6737 Remove makecontext stuff; not used in 0.10 and causes problems on
6738 HPUX according to bug #322441
6740 2005-12-07 Wim Taymans <wim@fluendo.com>
6742 * tests/check/Makefile.am:
6743 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6745 * tests/check/libs/struct_i386.h:
6746 Added ABI check for libs
6748 2005-12-07 Wim Taymans <wim@fluendo.com>
6750 * tests/check/Makefile.am:
6751 And add the struct_i386.h to dist.
6753 2005-12-07 Wim Taymans <wim@fluendo.com>
6755 * tests/check/Makefile.am:
6756 * tests/check/gst/.cvsignore:
6757 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6759 * tests/check/gst/struct_i386.h:
6760 Added check for ABI compatibility.
6762 2005-12-07 Wim Taymans <wim@fluendo.com>
6764 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6765 (gst_fake_src_get_times), (gst_fake_src_create):
6766 Fix broken sync option, fixes #323259
6768 2005-12-07 Wim Taymans <wim@fluendo.com>
6773 * gst/gstcaps.c: (gst_caps_is_equal):
6774 Don't assert on NULL <--> X. Fixes #323260
6776 * gst/gstminiobject.c: (gst_mini_object_replace):
6777 If we're doing atomic operations, we might just as well use
6778 the proper way to get an atomic pointer.
6780 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6783 2005-12-07 Michael Smith <msmith@fluendo.com>
6785 * gst/parse/grammar.y:
6786 Remove handling of { } for threads.
6788 2005-12-06 David Schleef <ds@schleef.org>
6790 * libs/gst/base/gstbasetransform.c: speling fix.
6792 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6794 * docs/libs/tmpl/gstdataprotocol.sgml:
6795 * docs/random/omega/testing/gstobject.c:
6799 * gst/gstelementfactory.c:
6802 * gst/gstghostpad.c:
6804 * gst/gstpadtemplate.c:
6805 * gst/gstregistryxml.c:
6807 * gst/gsttagsetter.c:
6808 * gst/gsttypefind.c:
6810 * libs/gst/base/gstbasesrc.c:
6811 * libs/gst/net/gstnetclientclock.c:
6812 * libs/gst/net/gstnettimeprovider.c:
6813 * plugins/elements/gstfakesrc.c:
6814 * plugins/elements/gstfdsrc.c:
6815 * plugins/elements/gstfilesrc.c:
6816 * plugins/elements/gstidentity.c:
6817 * plugins/elements/gstqueue.c:
6818 * plugins/elements/gsttypefindelement.c:
6819 * plugins/indexers/gstfileindex.c:
6820 * plugins/indexers/gstmemindex.c:
6821 * tests/check/gst/gsttag.c:
6822 * tests/old/examples/cutter/cutter.c:
6823 * tests/old/examples/mixer/mixer.c:
6824 * tests/old/examples/xml/runxml.c: (main):
6825 * tests/old/testsuite/caps/normalisation.c:
6826 * tests/old/testsuite/debug/global.c:
6827 * tests/old/testsuite/parse/parse1.c:
6828 * tools/gst-xmlinspect.c:
6829 * win32/common/dirent.c:
6832 === release 0.10.0 ===
6834 2005-12-05 <thomas (at) apestaart (dot) org>
6837 releasing 0.10.0, "Maroilles"
6839 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6841 submitted by: Funda Wang <fundawang@linux.net.cn>
6845 added Chinese (Traditional) translation
6847 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6849 * docs/gst/gstreamer-sections.txt:
6850 * docs/libs/tmpl/gstdataprotocol.sgml:
6851 * docs/random/thomasvs/TODO:
6856 2005-12-05 Andy Wingo <wingo@pobox.com>
6858 patch by: Wim Taymans <wim@fluendo.com>
6860 * libs/gst/base/gstbasetransform.c
6861 (gst_base_transform_prepare_output_buf)
6862 (gst_base_transform_buffer_alloc):
6863 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6864 alloc_buffer_and_set_caps.
6866 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6867 set_caps on the source pad.
6868 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6869 alloc_buffer used to do. Fixes #322874.
6871 * docs/gst/gstreamer-sections.txt:
6872 * docs/design/part-negotiation.txt:
6873 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6876 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6878 patch by: Sebastien Moutte
6881 * win32/common/config.h.in:
6882 * win32/vs6/libgstcontroller.dsp:
6885 2005-12-05 Wim Taymans <wim@fluendo.com>
6887 * gst/gstcaps.c: (gst_caps_is_equal):
6888 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6889 (gst_fake_src_create):
6890 Back out previous code changes, leave doc updates, file bugs
6893 2005-12-05 Wim Taymans <wim@fluendo.com>
6895 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6896 (gst_fake_src_get_times), (gst_fake_src_create):
6897 * plugins/elements/gstfakesrc.h:
6898 Fix broken sync code.
6900 2005-12-05 Wim Taymans <wim@fluendo.com>
6902 * gst/gstcaps.c: (gst_caps_is_equal):
6903 Comparing NULL against !NULL yields different caps, not a
6906 2005-12-05 Wim Taymans <wim@fluendo.com>
6908 * gst/gstpipeline.c:
6909 Fix small typo in docs.
6911 2005-12-05 Andy Wingo <wingo@pobox.com>
6913 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6915 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6916 registries/plugins with a MAJORMINOR one.
6917 (plugin_desc): Rename library from gstcoreleements to
6918 staticelements. Fixes #323222.
6920 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6922 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6923 Change debug category to 'collectpads' from 'collect_pads'
6926 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6928 patch by: Sebastien Moutte
6930 * libs/gst/controller/gstinterpolation.c:
6931 use convert function for uint64/double
6932 * win32/vs6/libgstcontroller.dsp:
6935 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6937 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6938 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6940 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6941 add tests that seem to show that the guint64/gdouble conversions
6944 2005-12-02 Wim Taymans <wim@fluendo.com>
6946 * gst/gstregistry.c: (gst_registry_add_path):
6947 * gst/gstregistry.h:
6948 * gst/gstregistryxml.c:
6951 2005-12-02 Wim Taymans <wim@fluendo.com>
6953 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6954 (gst_util_uint64_scale_int):
6957 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6960 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6963 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6966 * win32/common/config.h:
6967 * win32/vs6/gstreamer.dsw:
6968 * win32/vs6/libgstcoreelements.dsp:
6969 * win32/vs6/libgstelements.dsp:
6970 renamed core elements plugin
6972 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6974 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6976 do piece-wise major/minor comparison so 0.9 < 0.10
6977 also allow .exe extensions for tools
6979 2005-12-02 Michael Smith <msmith@fluendo.com>
6982 Escape a % to make gtkdoc happier; bug 322958.
6984 === release 0.9.7 ===
6986 2005-12-01 <thomas (at) apestaart (dot) org>
6989 releasing 0.9.7, "My Dog Has No Nose"
6991 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6993 * common/gst-xmlinspect.py:
6995 * docs/libs/tmpl/gstdataprotocol.sgml:
6996 * docs/random/release:
7015 * win32/common/config.h:
7016 * win32/common/config.h.in:
7017 * win32/vs6/gst_inspect.dsp:
7018 * win32/vs6/gst_launch.dsp:
7019 * win32/vs6/libgstbase.dsp:
7020 * win32/vs6/libgstelements.dsp:
7021 * win32/vs6/libgstreamer.dsp:
7022 * win32/vs7/GStreamer.vcproj:
7023 * win32/vs7/gst-inspect.vcproj:
7024 * win32/vs7/gst-launch.vcproj:
7025 * win32/vs7/libgstbase.vcproj:
7026 bump GST_MAJORMINOR to 0.10
7027 reset libtool version
7029 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7033 Added Bulgarian translation by (Alexander Shopov)
7035 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7037 * tests/check/gst/gstplugin.c:
7040 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7042 * common/gst-xmlinspect.py:
7043 * common/gtk-doc-plugins.mak:
7046 * docs/gst/Makefile.am:
7047 * docs/gst/gstreamer-docs.sgml:
7048 * docs/gst/gstreamer-sections.txt:
7049 * docs/gst/gstreamer.types:
7050 * docs/gst/gstreamer.types.in:
7051 * docs/plugins/Makefile.am:
7052 * docs/plugins/gstreamer-plugins-docs.sgml:
7053 * docs/plugins/gstreamer-plugins-sections.txt:
7054 * docs/plugins/gstreamer-plugins.types:
7055 * docs/plugins/inspect.stamp:
7056 * docs/plugins/inspect/plugin-coreelements.xml:
7057 * docs/plugins/inspect/plugin-coreindexers.xml:
7058 * docs/plugins/scanobj-build.stamp:
7059 * gstreamer.spec.in:
7060 * plugins/elements/Makefile.am:
7061 * plugins/elements/gstelements.c:
7062 * plugins/elements/gstfakesink.c:
7063 * plugins/elements/gstfakesrc.c:
7064 * plugins/elements/gstfilesink.c:
7065 * plugins/elements/gstfilesrc.c:
7066 * plugins/elements/gstqueue.c:
7067 * plugins/indexers/Makefile.am:
7068 * plugins/indexers/gstindexers.c:
7069 document core plugins in a separate document just like all the
7071 rename these plugins to something starting with core
7073 2005-12-01 Andy Wingo <wingo@pobox.com>
7075 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7076 padding here before, but it missed the commit.
7078 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7080 * libs/gst/controller/gstinterpolation.c:
7081 whitespace prices have crashed, we should feel free to use some now
7082 use gst_guint64_to_gdouble
7084 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7086 * libs/gst/controller/gstcontroller.c:
7087 * libs/gst/controller/gsthelper.c:
7088 * libs/gst/controller/gstinterpolation.c:
7089 * libs/gst/controller/lib.c:
7090 wrap config.h include
7092 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7094 * docs/gst/gstreamer-sections.txt:
7097 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7099 * plugins/elements/gstelements.c:
7100 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7101 (gst_fd_sink__class_init), (gst_fd_sink__init),
7102 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7103 (gst_fd_sink__get_property):
7104 * plugins/elements/gstfdsink.h:
7105 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7106 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7107 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7108 (gst_fd_src_unlock), (gst_fd_src_set_property),
7109 (gst_fd_src_get_property), (gst_fd_src_create),
7110 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7111 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7112 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7113 (gst_fd_src_uri_handler_init):
7114 * plugins/elements/gstfdsrc.h:
7115 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7118 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7120 * docs/gst/Makefile.am:
7121 * docs/gst/gstreamer.types.in:
7125 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7131 * gst/gstregistry.h:
7132 * tests/benchmarks/complexity.c:
7133 * tests/benchmarks/mass-elements.c:
7134 * tests/check/Makefile.am:
7135 * tools/Makefile.am:
7136 * tools/gst-inspect.c:
7137 * tools/gst-xmlinspect.c:
7138 various fixes to make
7139 --disable-nls --disable-registry --disable-loadsave
7140 --disable-parse --disable-gst-debug
7141 work and get the core .so down to 360444 bytes after stripping
7143 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7148 * docs/random/thomasvs/TODO:
7149 * tests/Makefile.am:
7153 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7155 * win32/GStreamer.vcproj:
7158 * win32/Makefile.inspect:
7159 * win32/Makefile.launch:
7160 * win32/Makefile.register:
7162 * win32/gst-inspect.vcproj:
7163 * win32/gst-launch.vcproj:
7164 * win32/gst-register.vcproj:
7165 * win32/gstelements.vcproj:
7166 * win32/gstgetbits.def:
7167 * win32/gstgetbits.vcproj:
7168 * win32/gstreamer-dbg.def:
7169 * win32/gstreamer.def:
7170 * win32/libgstbase.def:
7171 * win32/libgstbase.vcproj:
7172 * win32/link_oldruntime.c:
7177 move even more stuff, win32/ is nice and clean now
7179 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7181 * libs/gst/control/.cvsignore:
7186 * win32/gstbytestream.def:
7187 * win32/gstbytestream.vcproj:
7188 * win32/gstconfig.h:
7189 * win32/gstenumtypes.c:
7190 * win32/gstenumtypes.h:
7191 * win32/gstoptimalscheduler.vcproj:
7192 * win32/gstversion.h:
7194 * win32/testsuite/bins.vcproj:
7195 * win32/testsuite/bytestream.vcproj:
7196 * win32/testsuite/caps.vcproj:
7197 * win32/testsuite/cleanup.vcproj:
7198 * win32/testsuite/clock.vcproj:
7199 * win32/testsuite/debug.vcproj:
7200 * win32/testsuite/dlopen.vcproj:
7201 * win32/testsuite/dynparams.vcproj:
7202 * win32/testsuite/elements.vcproj:
7203 * win32/testsuite/ghostpads.vcproj:
7204 * win32/testsuite/indexers.vcproj:
7205 * win32/testsuite/negotiation.vcproj:
7206 * win32/testsuite/parse.vcproj:
7207 * win32/testsuite/plugin.vcproj:
7208 * win32/testsuite/refcounting.vcproj:
7209 * win32/testsuite/schedulers.vcproj:
7210 * win32/testsuite/states.vcproj:
7211 * win32/testsuite/tags.vcproj:
7212 * win32/testsuite/threads.vcproj:
7213 remove old win32 stuff that isn't maintained and should be
7216 2005-11-30 Andy Wingo <wingo@pobox.com>
7218 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7219 loading the gst.interfaces python module bork.
7221 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7222 available since GLib 2.2. Fixes #318031.
7224 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7228 * check/Makefile.am:
7229 * check/elements/.cvsignore:
7230 * check/elements/fakesrc.c:
7231 * check/elements/fdsrc.c:
7232 * check/elements/identity.c:
7233 * check/generic/.cvsignore:
7234 * check/generic/states.c:
7235 * check/gst-libs/.cvsignore:
7236 * check/gst-libs/controller.c:
7237 * check/gst-libs/gdp.c:
7238 * check/gst/.cvsignore:
7239 * check/gst/capslist.h:
7241 * check/gst/gstbin.c:
7242 * check/gst/gstbuffer.c:
7243 * check/gst/gstbus.c:
7244 * check/gst/gstcaps.c:
7245 * check/gst/gstelement.c:
7246 * check/gst/gstevent.c:
7247 * check/gst/gstghostpad.c:
7248 * check/gst/gstiterator.c:
7249 * check/gst/gstmessage.c:
7250 * check/gst/gstminiobject.c:
7251 * check/gst/gstobject.c:
7252 * check/gst/gstpad.c:
7253 * check/gst/gstpipeline.c:
7254 * check/gst/gstplugin.c:
7255 * check/gst/gstsegment.c:
7256 * check/gst/gststructure.c:
7257 * check/gst/gstsystemclock.c:
7258 * check/gst/gsttag.c:
7259 * check/gst/gstutils.c:
7260 * check/gst/gstvalue.c:
7261 * check/net/.cvsignore:
7262 * check/net/gstnetclientclock.c:
7263 * check/net/gstnettimeprovider.c:
7264 * check/pipelines/.cvsignore:
7265 * check/pipelines/cleanup.c:
7266 * check/pipelines/simple_launch_lines.c:
7267 * check/pipelines/stress.c:
7268 * check/states/.cvsignore:
7269 * check/states/sinks.c:
7271 * examples/Makefile.am:
7272 * examples/appreader/.cvsignore:
7273 * examples/appreader/Makefile.am:
7274 * examples/appreader/appreader.c:
7275 * examples/controller/.cvsignore:
7276 * examples/controller/Makefile.am:
7277 * examples/controller/audio-example.c:
7278 * examples/cutter/.cvsignore:
7279 * examples/cutter/Makefile.am:
7280 * examples/cutter/cutter.c:
7281 * examples/cutter/cutter.h:
7282 * examples/events/Makefile.am:
7283 * examples/events/seek.c:
7284 * examples/helloworld/.cvsignore:
7285 * examples/helloworld/Makefile.am:
7286 * examples/helloworld/helloworld.c:
7287 * examples/helloworld2/.cvsignore:
7288 * examples/helloworld2/Makefile.am:
7289 * examples/helloworld2/helloworld2.c:
7290 * examples/launch/.cvsignore:
7291 * examples/launch/Makefile.am:
7292 * examples/launch/mp3parselaunch.c:
7293 * examples/launch/mp3play:
7294 * examples/manual/.cvsignore:
7295 * examples/manual/Makefile.am:
7296 * examples/manual/extract.pl:
7297 * examples/metadata/Makefile.am:
7298 * examples/metadata/read-metadata.c:
7299 * examples/mixer/.cvsignore:
7300 * examples/mixer/Makefile.am:
7301 * examples/mixer/mixer.c:
7302 * examples/mixer/mixer.h:
7303 * examples/pingpong/.cvsignore:
7304 * examples/pingpong/Makefile.am:
7305 * examples/pingpong/pingpong.c:
7306 * examples/plugins/.cvsignore:
7307 * examples/plugins/Makefile.am:
7308 * examples/plugins/example.c:
7309 * examples/plugins/example.h:
7310 * examples/pwg/.cvsignore:
7311 * examples/pwg/Makefile.am:
7312 * examples/pwg/extract.pl:
7313 * examples/queue/.cvsignore:
7314 * examples/queue/Makefile.am:
7315 * examples/queue/queue.c:
7316 * examples/queue2/.cvsignore:
7317 * examples/queue2/Makefile.am:
7318 * examples/queue2/queue2.c:
7319 * examples/queue3/.cvsignore:
7320 * examples/queue3/Makefile.am:
7321 * examples/queue3/queue3.c:
7322 * examples/queue4/.cvsignore:
7323 * examples/queue4/Makefile.am:
7324 * examples/queue4/queue4.c:
7325 * examples/retag/.cvsignore:
7326 * examples/retag/Makefile.am:
7327 * examples/retag/retag.c:
7328 * examples/retag/transcode.c:
7329 * examples/thread/.cvsignore:
7330 * examples/thread/Makefile.am:
7331 * examples/thread/thread.c:
7332 * examples/typefind/.cvsignore:
7333 * examples/typefind/Makefile.am:
7334 * examples/typefind/typefind.c:
7335 * examples/xml/.cvsignore:
7336 * examples/xml/Makefile.am:
7337 * examples/xml/createxml.c:
7338 * examples/xml/runxml.c:
7339 * tests/Makefile.am:
7340 * tests/check/Makefile.am:
7341 * testsuite/.cvsignore:
7342 * testsuite/Makefile.am:
7344 * testsuite/caps/.cvsignore:
7345 * testsuite/caps/Makefile.am:
7346 * testsuite/caps/app_fixate.c:
7347 * testsuite/caps/audioscale.c:
7348 * testsuite/caps/caps.c:
7349 * testsuite/caps/caps.h:
7350 * testsuite/caps/caps_strings:
7351 * testsuite/caps/compatibility.c:
7352 * testsuite/caps/deserialize.c:
7353 * testsuite/caps/enumcaps.c:
7354 * testsuite/caps/eratosthenes.c:
7355 * testsuite/caps/filtercaps.c:
7356 * testsuite/caps/fixed.c:
7357 * testsuite/caps/fraction-convert.c:
7358 * testsuite/caps/fraction-multiply-and-zero.c:
7359 * testsuite/caps/intersect2.c:
7360 * testsuite/caps/intersection.c:
7361 * testsuite/caps/normalisation.c:
7362 * testsuite/caps/random.c:
7363 * testsuite/caps/renegotiate.c:
7364 * testsuite/caps/sets.c:
7365 * testsuite/caps/simplify.c:
7366 * testsuite/caps/string-conversions.c:
7367 * testsuite/caps/structure.c:
7368 * testsuite/caps/subtract.c:
7369 * testsuite/caps/union.c:
7370 * testsuite/debug/.cvsignore:
7371 * testsuite/debug/Makefile.am:
7372 * testsuite/debug/category.c:
7373 * testsuite/debug/commandline.c:
7374 * testsuite/debug/global.c:
7375 * testsuite/debug/output.c:
7376 * testsuite/debug/printf_extension.c:
7377 * testsuite/dlopen/.cvsignore:
7378 * testsuite/dlopen/Makefile.am:
7379 * testsuite/dlopen/dlopen_gst.c:
7380 * testsuite/dlopen/loadgst.c:
7381 * testsuite/elements/.cvsignore:
7382 * testsuite/elements/Makefile.am:
7383 * testsuite/elements/gst-inspect-check.in:
7384 * testsuite/elements/struct_i386.h:
7385 * testsuite/elements/struct_size.c:
7386 * testsuite/indexers/.cvsignore:
7387 * testsuite/indexers/Makefile.am:
7388 * testsuite/indexers/cache1.c:
7389 * testsuite/indexers/indexdump.c:
7390 * testsuite/parse/.cvsignore:
7391 * testsuite/parse/Makefile.am:
7392 * testsuite/parse/parse1.c:
7393 * testsuite/parse/parse2.c:
7394 * testsuite/plugin/.cvsignore:
7395 * testsuite/plugin/Makefile.am:
7396 * testsuite/plugin/README:
7397 * testsuite/plugin/dynamic.c:
7398 * testsuite/plugin/linked.c:
7399 * testsuite/plugin/loading.c:
7400 * testsuite/plugin/registry.c:
7401 * testsuite/plugin/static.c:
7402 * testsuite/plugin/static2.c:
7403 * testsuite/plugin/testplugin.c:
7404 * testsuite/plugin/testplugin2.c:
7405 * testsuite/plugin/testplugin2_s.c:
7406 * testsuite/plugin/testplugin_s.c:
7407 * testsuite/refcounting/.cvsignore:
7408 * testsuite/refcounting/Makefile.am:
7409 * testsuite/refcounting/bin.c:
7410 * testsuite/refcounting/element.c:
7411 * testsuite/refcounting/element_pad.c:
7412 * testsuite/refcounting/mainloop.c:
7413 * testsuite/refcounting/mem.c:
7414 * testsuite/refcounting/mem.h:
7415 * testsuite/refcounting/object.c:
7416 * testsuite/refcounting/pad.c:
7417 * testsuite/refcounting/sched.c:
7418 * testsuite/refcounting/thread.c:
7419 * testsuite/states/.cvsignore:
7420 * testsuite/states/Makefile.am:
7421 * testsuite/states/bin.c:
7422 * testsuite/states/locked.c:
7423 * testsuite/states/parent.c:
7424 * testsuite/threads/.cvsignore:
7425 * testsuite/threads/159566.c:
7426 * testsuite/threads/159852.c:
7427 * testsuite/threads/Makefile.am:
7428 * testsuite/threads/queue.c:
7429 * testsuite/threads/signals.c:
7430 * testsuite/threads/staticrec.c:
7431 * testsuite/threads/thread.c:
7432 * testsuite/threads/threadb.c:
7433 * testsuite/threads/threadc.c:
7434 * testsuite/threads/threadd.c:
7435 * testsuite/threads/threade.c:
7436 * testsuite/threads/threadf.c:
7437 * testsuite/threads/threadg.c:
7438 * testsuite/threads/threadh.c:
7439 * testsuite/threads/threadi.c:
7440 move all of these under tests
7442 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7445 * tests/Makefile.am:
7448 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7450 * docs/gst/gstreamer-sections.txt:
7451 * tests/sched/.cvsignore:
7452 * tests/sched/Makefile.am:
7453 * tests/sched/cases/(fs-fs).xml:
7454 * tests/sched/cases/(fs-i-fs).xml:
7455 * tests/sched/cases/(fs-i-i-fs).xml:
7456 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7457 * tests/sched/dynamic-pipeline.c:
7458 * tests/sched/interrupt1.c:
7459 * tests/sched/interrupt2.c:
7460 * tests/sched/interrupt3.c:
7461 * tests/sched/runtestcases:
7462 * tests/sched/runxml.c:
7463 * tests/sched/sched-stress.c:
7464 * tests/sched/sort.c:
7465 * tests/sched/testcases:
7466 * tests/sched/testcases1.tc:
7467 * tests/seeking/.cvsignore:
7468 * tests/seeking/Makefile.am:
7469 * tests/seeking/seeking1.c:
7470 * tests/threadstate/.cvsignore:
7471 * tests/threadstate/Makefile.am:
7472 * tests/threadstate/test1.c:
7473 * tests/threadstate/test2.c:
7474 * tests/threadstate/threadstate1.c:
7475 * tests/threadstate/threadstate2.c:
7476 * tests/threadstate/threadstate3.c:
7477 * tests/threadstate/threadstate4.c:
7478 * tests/threadstate/threadstate5.c:
7479 remove obsolete tests
7481 * tests/bench-complexity.scm:
7482 * tests/bench-mass_elements.scm:
7483 * tests/complexity.c:
7484 * tests/complexity.gnuplot:
7485 * tests/instantiate/.cvsignore:
7486 * tests/instantiate/Makefile.am:
7487 * tests/instantiate/caps.c:
7488 * tests/mass_elements.c:
7489 * tests/network-clock-utils.scm:
7490 * tests/network-clock.scm:
7492 First pass at cleaning up tests/ dir before moving the rest
7493 Combined with CVS surgery
7495 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7498 queue has moved, update
7500 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7502 * docs/gst/gstreamer-sections.txt:
7503 remove double entries from the docs
7504 * gst/gst_private.h:
7505 * gst/gstinfo.c: (_gst_debug_init):
7506 remove the THREAD debug category
7510 * docs/gst/gstreamer.types:
7511 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7512 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7513 completely move queue and fix up debugging categories
7515 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7517 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7518 make initialization portable, using LL is not
7520 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7522 * win32/common/gstconfig.h:
7525 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7527 * win32/common/libgstreamer.def:
7528 rename symbols; sort base section
7530 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7532 * gst/gstclock.c: (do_linear_regression):
7533 remove crack non-portable handrolled DEBUG macro
7535 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7537 * docs/random/release:
7539 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7540 (gst_object_flags_get_type), (register_gst_bin_flags),
7541 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7542 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7543 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7544 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7545 (gst_caps_flags_get_type), (register_gst_clock_return),
7546 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7547 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7548 (gst_clock_flags_get_type), (register_gst_state),
7549 (gst_state_get_type), (register_gst_state_change_return),
7550 (gst_state_change_return_get_type), (register_gst_state_change),
7551 (gst_state_change_get_type), (register_gst_element_flags),
7552 (gst_element_flags_get_type), (register_gst_core_error),
7553 (gst_core_error_get_type), (register_gst_library_error),
7554 (gst_library_error_get_type), (register_gst_resource_error),
7555 (gst_resource_error_get_type), (register_gst_stream_error),
7556 (gst_stream_error_get_type), (register_gst_event_type_flags),
7557 (gst_event_type_flags_get_type), (register_gst_event_type),
7558 (gst_event_type_get_type), (register_gst_seek_type),
7559 (gst_seek_type_get_type), (register_gst_seek_flags),
7560 (gst_seek_flags_get_type), (register_gst_format),
7561 (gst_format_get_type), (register_gst_index_certainty),
7562 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7563 (gst_index_entry_type_get_type),
7564 (register_gst_index_lookup_method),
7565 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7566 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7567 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7568 (gst_index_flags_get_type), (register_gst_debug_level),
7569 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7570 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7571 (gst_iterator_result_get_type), (register_gst_iterator_item),
7572 (gst_iterator_item_get_type), (register_gst_message_type),
7573 (gst_message_type_get_type), (register_gst_mini_object_flags),
7574 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7575 (gst_pad_link_return_get_type), (register_gst_flow_return),
7576 (gst_flow_return_get_type), (register_gst_activate_mode),
7577 (gst_activate_mode_get_type), (register_gst_pad_direction),
7578 (gst_pad_direction_get_type), (register_gst_pad_flags),
7579 (gst_pad_flags_get_type), (register_gst_pad_presence),
7580 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7581 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7582 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7583 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7584 (gst_plugin_flags_get_type), (register_gst_rank),
7585 (gst_rank_get_type), (register_gst_query_type),
7586 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7587 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7588 (gst_tag_flag_get_type), (register_gst_task_state),
7589 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7590 (gst_alloc_trace_flags_get_type),
7591 (register_gst_type_find_probability),
7592 (gst_type_find_probability_get_type), (register_gst_uri_type),
7593 (gst_uri_type_get_type), (register_gst_parse_error),
7594 (gst_parse_error_get_type):
7595 * win32/common/gstenumtypes.h:
7596 * win32/common/gstversion.h:
7597 update visual studio generated files
7599 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7601 * win32/vs6/libgstbase.dsp:
7602 * win32/vs6/libgstelements.dsp:
7603 update project files for new locations
7605 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7610 reinstate and update
7615 * docs/random/LICENSE:
7618 2005-11-30 Edward Hervey <edward@fluendo.com>
7620 * gst/gsttypefind.c: (gst_type_find_register):
7621 * gst/gsttypefind.h:
7622 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7623 (gst_type_find_factory_dispose):
7624 * gst/gsttypefindfactory.h:
7625 Fix memory leak in GstTypeFindFactory.
7627 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7630 * plugins/elements/Makefile.am:
7631 * plugins/elements/gstelements.c:
7632 * plugins/elements/gstqueue.c:
7633 move queue from core to the elements plugin
7635 2005-11-29 Andy Wingo <wingo@pobox.com>
7637 * libs/gst/base/gstbasetransform.h:
7638 * libs/gst/base/gstbasesrc.h:
7639 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7641 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7642 of pointers by which to pad very extensible base classes (like the
7643 ones in libs/gst/base).
7645 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7647 * docs/gst/gstreamer-docs.sgml:
7648 * docs/gst/gstreamer-sections.txt:
7649 * docs/libs/gstreamer-libs-docs.sgml:
7650 * docs/libs/gstreamer-libs-sections.txt:
7651 moving documentation from core to lib
7653 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7655 * check/Makefile.am:
7657 * docs/gst/Makefile.am:
7659 * gst/base/.cvsignore:
7660 * gst/base/Makefile.am:
7662 * gst/base/gstadapter.c:
7663 * gst/base/gstadapter.h:
7664 * gst/base/gstbasesink.c:
7665 * gst/base/gstbasesink.h:
7666 * gst/base/gstbasesrc.c:
7667 * gst/base/gstbasesrc.h:
7668 * gst/base/gstbasetransform.c:
7669 * gst/base/gstbasetransform.h:
7670 * gst/base/gstcollectpads.c:
7671 * gst/base/gstcollectpads.h:
7672 * gst/base/gstpushsrc.c:
7673 * gst/base/gstpushsrc.h:
7674 * gst/base/gsttypefindhelper.c:
7675 * gst/base/gsttypefindhelper.h:
7676 * gst/check/Makefile.am:
7677 * gst/check/gstcheck.c:
7678 * gst/check/gstcheck.h:
7679 * gst/net/Makefile.am:
7681 * gst/net/gstnetclientclock.c:
7682 * gst/net/gstnetclientclock.h:
7683 * gst/net/gstnettimepacket.c:
7684 * gst/net/gstnettimepacket.h:
7685 * gst/net/gstnettimeprovider.c:
7686 * gst/net/gstnettimeprovider.h:
7687 * libs/gst/Makefile.am:
7688 * libs/gst/base/Makefile.am:
7689 * libs/gst/base/gstbasetransform.c:
7690 * libs/gst/check/Makefile.am:
7691 * plugins/elements/Makefile.am:
7693 CVS surgery + support to move base, check, and net out of gst
7696 2005-11-29 Andy Wingo <wingo@pobox.com>
7698 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7700 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7703 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7705 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7707 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7709 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7710 padding; reduces object size by about 30%. We don't expect
7711 anything else to go into gstobject.
7713 * gst/gstminiobject.h (struct _GstMiniObject)
7714 (struct _GstMiniObjectClass): Only one pointer of padding; the
7715 payload is only a pointer and two ints anyway. For the class there
7716 are only two methods as well.
7718 * gst/gstelement.h (struct _GstElementClass): Removed
7719 the state_changed signal callback, it is not used.
7721 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7723 * docs/gst/gstreamer.types:
7724 fix includes, though they are a little dinky
7726 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7728 * check/Makefile.am:
7729 look in the right place for elements, a lot more chance of
7732 remove indexers and elements subdirs
7733 * plugins/Makefile.am:
7734 make indexers conditional
7736 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7740 * plugins/elements/Makefile.am:
7741 * plugins/elements/gstcapsfilter.c:
7742 * plugins/elements/gstfilesink.c:
7743 * plugins/elements/gstfilesrc.c:
7744 * plugins/elements/gstidentity.c:
7745 * plugins/indexers/Makefile.am:
7746 do CVS surgery and related build fixery to move elements
7747 and indexers in a new gstreamer/plugins directory, out of the
7750 2005-11-29 Andy Wingo <wingo@pobox.com>
7752 * check/Makefile.am:
7753 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7754 * pkgconfig/gstreamer-net.pc.in:
7755 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7758 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7760 * tools/Makefile.am:
7761 * tools/gst-complete.1.in:
7762 * tools/gst-complete.c:
7763 * tools/gst-compprep.1.in:
7764 * tools/gst-compprep.c:
7765 removing -compprep and -complete
7767 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7769 * gst/gstevent.c: (gst_event_new_new_segment),
7770 (gst_event_parse_new_segment):
7772 fix #320529 - clean up new_segment API and structure.
7773 Let's hope everyone was using the methods, and not the structure.
7775 2005-11-29 Edward Hervey <edward@fluendo.com>
7777 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7778 (gst_base_sink_event), (gst_base_sink_do_sync),
7779 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7780 Properly handle non GST_FORMAT_TIME segment
7781 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7782 Properly handle non GST_FORMAT_TIME segment
7784 This function is valid if the accumulator is 0 and the format
7785 is different from the requested format.
7787 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7789 * docs/gst/gstreamer-sections.txt:
7790 Add gst_query_new_seeking and gst_query_parse_seeking to the
7793 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7795 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7796 Treat a pad alloc with new caps the same as if we were not
7797 negotiated, in order to allow a changing upstream output
7798 to produce a new format of data.
7800 2005-11-29 Edward Hervey <edward@fluendo.com>
7802 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7803 (gst_base_transform_event), (gst_base_transform_eventfunc):
7804 The event virtual method is now properly implemented, with a default
7806 Sub classes should call the parent_class event method. They should
7807 return FALSE if they had a problem handling the given event, or don't
7808 want GstBaseTransform to send that even downstream
7809 * gst/elements/gstidentity.c: (gst_identity_class_init),
7810 (gst_identity_init), (gst_identity_event),
7811 (gst_identity_transform_ip), (gst_identity_set_property),
7812 (gst_identity_get_property):
7813 * gst/elements/gstidentity.h:
7814 Added the single-segment boolean property.
7815 If set to TRUE, it will output a single segment of data, starting from
7816 0, will eat up all incoming newsegment, and modify the timestamp of the
7819 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7821 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7822 Don't ref NULL target pad (#322751). Improve docs.
7824 2005-11-29 Michael Smith <msmith@fluendo.com>
7826 * gst/gstregistryxml.c: (load_plugin):
7827 Don't crash if we failed to load a feature from a plugin.
7829 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7831 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7833 use more check API and less GLib API
7835 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7838 don't run checks if we don't have check
7840 remove the registry when running make torture
7841 * docs/gst/gstreamer-sections.txt:
7842 remove second multiply
7843 * gst/gstqueue.c: (gst_queue_loop):
7844 fix a compile warning when disabling debug
7846 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7849 Hey! Let's print the pad name if the pointer != NULL instead
7850 of when it == NULL :-)
7852 2005-11-28 Wim Taymans <wim@fluendo.com>
7854 * check/gst/gstutils.c: (GST_START_TEST):
7855 Updated check, add some scaling accuracy checking code.
7857 * gst/gstutils.c: (gst_util_div128_64),
7858 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7859 (gst_util_uint64_scale_int):
7860 Fix 6 times faster division code. Optimize for common
7861 1/1 and less common X/1 cases.
7863 2005-11-28 Wim Taymans <wim@fluendo.com>
7865 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7868 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7869 (do_linear_regression), (gst_clock_add_observation):
7871 Release lock when the clock cannot be slaved.
7872 Catch the case where the regression returned an invalid denominator.
7874 * gst/gstutils.c: (gst_util_div128_64_iterate),
7875 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7876 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7877 Add protentially more performant non-iterative 128/64 divide function
7878 that unfortunatly does not work yet.
7879 Shortcut the trivial 0/X = 0 case.
7880 Remove the warnings on overflow.
7882 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7884 * gst/gstplugin.c: (gst_plugin_register_func):
7885 everything causing a plugin not to load should be at least a WARNING
7887 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7889 * docs/random/ensonic/dparams.txt:
7890 some TODOs for the next dev cycle
7891 * libs/gst/controller/gstcontroller.c:
7892 (gst_controlled_property_set_interpolation_mode),
7893 (gst_controlled_property_new):
7894 * libs/gst/controller/gstcontroller.h:
7895 use base type to assign acccessor functions
7897 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7899 * check/Makefile.am:
7900 Oops, that should have been top_srcdir
7902 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7904 * check/Makefile.am:
7905 * check/elements/fdsrc.c: (GST_START_TEST):
7906 Use a cmdline define to specify the location of a file to use for
7907 testing, to avoid breaking distcheck.
7909 2005-11-28 Andy Wingo <wingo@pobox.com>
7911 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7913 2005-11-28 Edward Hervey <edward@fluendo.com>
7915 * tools/gst-launch.c: (main):
7916 Clarify the output strings, makes it easier to translate.
7919 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7922 don't try and build net if we don't even have <sys/socket.h>
7924 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7926 * check/Makefile.am:
7927 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7928 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7929 Add tests for fdsrc seekability
7931 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7932 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7933 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7934 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7935 * gst/elements/gstfdsrc.h:
7936 fdsrc should not be a 'live' source.
7937 Implement seeking on seekable fd's.
7939 * gst/gstquery.c: (gst_query_new_seeking),
7940 (gst_query_parse_seeking):
7942 Implement SEEKING query functions:
7943 *_new_seeking and *_parse_seeking
7945 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7947 * gst/gstelement.c: (gst_element_dispose):
7950 * gst/gstiterator.c:
7951 * gst/gststructure.c:
7954 * libs/gst/controller/gstcontroller.c:
7955 (gst_controlled_property_set_interpolation_mode):
7956 * libs/gst/controller/gstcontroller.h:
7957 * libs/gst/controller/gstinterpolation.c:
7958 (interpolate_none_get_enum_value_array):
7959 support controlling enums
7961 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7964 Improve documentation for gst_value_union().
7967 Change return value for union, intersect and subtract functions
7968 from gint to gboolean.
7970 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7972 * gst/gstvalue.c: (gst_value_serialize_any_list),
7973 (gst_value_transform_any_list_string),
7974 (gst_value_deserialize_list), (gst_value_deserialize_array),
7975 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7976 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7977 (gst_value_set_fraction_range_full),
7978 (gst_value_deserialize_fraction_range),
7979 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7980 (gst_value_deserialize_boolean),
7981 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7982 (gst_value_serialize_float), (gst_value_deserialize_float),
7983 (gst_string_wrap), (gst_value_deserialize_string),
7984 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7985 (gst_value_union_int_range_int_range),
7986 (gst_value_intersect_int_range_int_range),
7987 (gst_value_intersect_double_range_double_range),
7988 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7989 (gst_value_subtract_int_range_int_range),
7990 (gst_value_subtract_double_double_range),
7991 (gst_value_subtract_double_range_double_range),
7992 (gst_value_deserialize_fraction):
7994 Use gint, gdouble and gchar in our API instead of int, double and
7995 char (and make usage in gstvalue.c more consistent).
7997 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7999 * check/Makefile.am:
8000 * libs/gst/controller/Makefile.am:
8001 * libs/gst/dataprotocol/Makefile.am:
8002 fix up Makefile.am and remove GST_ENABLE_NEW
8004 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8008 * gst/base/Makefile.am:
8009 * gst/check/Makefile.am:
8010 * gst/elements/Makefile.am:
8011 * gst/net/Makefile.am:
8012 update LDFLAGS use some more
8014 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8016 * common/m4/gst-doc.m4:
8019 2005-11-26 Edward Hervey <edward@fluendo.com>
8021 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8022 This shouldn't issue a g_warning since it returns NULL if it
8023 couldn't find the plugin, and all functions using this behave
8024 properly on a NULL return. Switching to a GST_WARNING.
8026 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
8028 * gst/gstbin.c: (gst_bin_handle_message_func):
8029 Don't leak clock messages.
8031 2005-11-25 Wim Taymans <wim@fluendo.com>
8033 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8034 (gst_util_uint64_scale_int):
8035 Optimisations, remove unneeded vars.
8037 2005-11-25 Wim Taymans <wim@fluendo.com>
8039 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8040 Added more checks for the high precision uint64 cases.
8042 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8043 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8044 Implement high precision (guint64 * guint64) / guint64.
8046 2005-11-24 Wim Taymans <wim@fluendo.com>
8048 * gst/base/gstbasesrc.c: (gst_base_src_query):
8049 Fix wrong percentage query.
8051 * gst/gstutils.c: (gst_util_uint64_scale),
8052 (gst_util_uint64_scale_int):
8053 Add some more common cases that can be handled
8054 efficiently to _scale.
8056 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8058 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8059 (gst_mini_object_suite):
8060 don't use check calls from threads; check probably isn't
8061 threadsafe and using a lock to make it threadsafe would
8062 defeat the purpose of this check
8063 * gst/check/gstcheck.c:
8064 * gst/check/gstcheck.h:
8065 use GST_DEBUG some more
8067 2005-11-24 Wim Taymans <wim@fluendo.com>
8069 * gst/gstutils.c: (gst_util_uint64_scale),
8070 (gst_util_uint64_scale_int):
8071 Chain trivial case to _scale_int.
8073 2005-11-24 Wim Taymans <wim@fluendo.com>
8075 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8076 Added test for scaling.
8081 * gst/gstutils.c: (gst_util_uint64_scale_int):
8082 Implemented high precision scaling code.
8084 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8087 do not crash on pad==NULL
8089 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8091 Patch by: Stefan Kost
8093 * common/gtk-doc.mak:
8094 * docs/gst/Makefile.am:
8095 * docs/libs/Makefile.am:
8096 Fix distcheck issues for the libraries docs build
8099 2005-11-24 Michael Smith <msmith@fluendo.com>
8101 * docs/manual/basics-helloworld.xml:
8102 Fix bug #315027: memory leak in example code in docs.
8104 2005-11-24 Michael Smith <msmith@fluendo.com>
8106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8107 Unlock the PREROLL_LOCK in a failure case.
8109 2005-11-24 Wim Taymans <wim@fluendo.com>
8111 * docs/gst/gstreamer-sections.txt:
8112 * gst/base/gstadapter.h:
8113 * gst/base/gstbasesink.h:
8114 * gst/base/gstbasesrc.h:
8115 * gst/base/gstbasetransform.h:
8116 * gst/base/gstpushsrc.h:
8117 * gst/elements/gstfakesink.h:
8118 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8119 * gst/elements/gstfakesrc.h:
8120 * gst/elements/gstfilesink.h:
8121 * gst/elements/gstfilesrc.h:
8124 * gst/gstbuffer.c: (_gst_buffer_copy):
8127 * gst/gstchildproxy.c:
8130 * gst/gstelementfactory.c:
8131 * gst/gstelementfactory.h:
8133 * gst/gstghostpad.h:
8135 * gst/gstinterface.h:
8136 * gst/gstminiobject.c:
8137 * gst/gstminiobject.h:
8140 * gst/gstpadtemplate.h:
8141 * gst/gstpipeline.h:
8142 * gst/gstpluginfeature.h:
8147 * gst/gsttagsetter.c:
8148 * gst/gsttagsetter.h:
8151 * gst/gsttypefind.h:
8154 * gst/net/gstnetclientclock.c:
8155 * gst/net/gstnetclientclock.h:
8156 * gst/net/gstnettimepacket.c:
8157 * gst/net/gstnettimeprovider.c:
8158 * gst/net/gstnettimeprovider.h:
8161 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8163 * configure.ac: back to HEAD
8165 === release 0.9.6 ===
8167 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8170 releasing 0.9.6, "Always On Time"
8172 2005-11-23 Wim Taymans <wim@fluendo.com>
8174 * docs/gst/gstreamer-sections.txt:
8175 * gst/glib-compat.c:
8176 * gst/gsttagsetter.c:
8178 * gst/net/gstnetclientclock.c:
8179 * gst/net/gstnettimepacket.h:
8182 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8184 * docs/faq/using.xml:
8185 * docs/libs/tmpl/gstcontrol.sgml:
8186 * docs/manual/advanced-dparams.xml:
8187 * docs/manual/appendix-checklist.xml:
8188 * docs/manual/basics-elements.xml:
8189 * docs/pwg/other-source.xml:
8190 * docs/random/moving-plugins:
8192 * tools/gst-launch.1.in:
8193 remove mentions of sinesrc
8195 2005-11-23 Michael Smith <msmith@fluendo.com>
8197 * docs/gst/gstreamer-sections.txt:
8198 Update for new API and API changes.
8200 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8202 Documentation typo fix.
8203 * gst/net/gstnettimepacket.c:
8204 Documentation fixes for arguments.
8206 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8208 * gst/gststructure.c: (gst_structure_get_fraction),
8209 (gst_structure_parse_value),
8210 (gst_structure_fixate_field_nearest_fraction):
8211 * gst/gststructure.h:
8212 * gst/gstutils.c: (gst_util_uint64_scale_int):
8214 * scripts/update-funcnames:
8216 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8217 Make gst_structure_fixate_field_nearest_fraction take a numerator
8218 and denominator argument instead of a GValue
8219 add gst_structure_get_fraction helper function.
8221 2005-11-23 Wim Taymans <wim@fluendo.com>
8223 * docs/design/part-TODO.txt:
8226 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8227 * gst/net/gstnetclientclock.h:
8228 Use parent fields for timeout and window_size.
8230 2005-11-23 Andy Wingo <wingo@pobox.com>
8232 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8233 rate_num/rate_denom change.
8235 * gst/net/gstnetclientclock.c
8236 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8237 OBJECT_LOCK. Don't call add_observation with the lock.
8239 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8241 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8243 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8244 deal with rate as a fraction whose numerator and denominator are
8245 GstClockTime values.
8246 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8247 master; the other fields are protected by the SLAVE_LOCK.
8248 (do_linear_regression): Note that this must be called with the
8250 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8251 OBJECT_LOCK. Call set_calibration instead of touching the
8253 (gst_clock_set_property, gst_clock_get_property): Protect
8254 master/slave parameters with the SLAVE_LOCK.
8256 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8257 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8258 note that all of the instance variables that add_observation and
8259 the set_master functions use are protected by that lock and not
8261 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8263 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8264 the caller to take the object lock.
8266 2005-11-23 Wim Taymans <wim@fluendo.com>
8268 * gst/gsterror.c: (_gst_core_errors_init):
8270 Add error for clock stuff.
8272 * gst/gstpipeline.c: (gst_pipeline_change_state),
8273 (gst_pipeline_set_clock):
8274 Post clock error when clock cannot be used in a pipeline.
8276 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8278 * docs/gst/gstreamer-sections.txt:
8279 make two symbols from gstinfo private for the docs
8280 * gst/base/gstcollectpads.h:
8282 fix doc typos, update docs
8284 2005-11-22 Wim Taymans <wim@fluendo.com>
8286 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8287 (gst_base_sink_wait), (gst_base_sink_do_sync),
8288 (gst_base_sink_handle_event):
8289 * gst/base/gstbasesink.h:
8290 No need to store the clock, the parent element class already
8293 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8294 Updates for clock_set returning a gboolean
8296 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8297 (gst_clock_id_wait_async), (gst_clock_class_init),
8298 (gst_clock_init), (gst_clock_finalize),
8299 (gst_clock_get_internal_time), (gst_clock_get_time),
8300 (gst_clock_slave_callback), (gst_clock_set_master),
8301 (gst_clock_get_master), (do_linear_regression),
8302 (gst_clock_add_observation), (gst_clock_set_property),
8303 (gst_clock_get_property):
8305 Implement master/slave. When setting a clock as a slave, a
8306 periodic timeout is scheduled to sample master and slave times.
8307 Then the slave clock is recalibrated to match offset and rate
8308 of the master clock.
8309 Update logging a bit.
8310 Add flag so that a clock can state that is cannot be slaved to
8313 * gst/gstelement.c: (gst_element_set_clock):
8315 The set clock returns a gboolean for when an element cannot
8316 deal with the selected clock in the pipeline.
8318 * gst/gstpipeline.c: (gst_pipeline_change_state),
8319 (gst_pipeline_set_clock):
8320 * gst/gstpipeline.h:
8321 Handle the case where the selected clock cannot be set on
8324 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8325 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8326 (gst_net_client_clock_set_property),
8327 (gst_net_client_clock_get_property),
8328 (gst_net_client_clock_observe_times):
8329 * gst/net/gstnetclientclock.h:
8330 Use regression code in GstClock parent, remove duplicated
8333 2005-11-22 Michael Smith <msmith@fluendo.com>
8335 * gst/gstutils.c: (gst_util_clock_time_scale):
8337 * docs/gst/gstreamer-sections.txt:
8338 Rename method to have extra underscore.
8340 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8342 * gst/elements/Makefile.am:
8343 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8344 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8345 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8346 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8347 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8348 * gst/elements/gstfakesrc.h:
8349 * gst/gstqueue.c: (queue_leaky_get_type):
8350 correctly fix GEnumValues so that nick is the short lowercase
8352 * tools/gst-inspect.c: (print_element_properties_info):
8353 also show the nick, since it's useful to use from parse_launch
8357 2005-11-22 Michael Smith <msmith@fluendo.com>
8359 * gst/gstutils.c: (gst_util_clocktime_scale):
8361 * docs/gst/gstreamer-sections.txt:
8362 Add util method for scaling a clocktime by a fraction. Useful
8363 implementation is left as an exercise for the reader.
8365 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8367 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8368 If needed, allocate storage in the destination value during
8371 2005-11-22 Edward Hervey <edward@fluendo.com>
8373 * docs/gst/gstreamer-sections.txt:
8378 * gst/gstutils.c: (gst_util_set_object_arg):
8379 * tools/gst-compprep.c: (main):
8380 * tools/gst-inspect.c: (print_element_properties_info):
8381 Removed GstURI, closes bug #321061
8383 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8385 * check/gst/gststructure.c: (GST_START_TEST):
8386 * gst/gststructure.c: (gst_structure_parse_value):
8387 Oops, broke automatic string type parsing.
8388 Add a test to catch it in future.
8390 2005-11-22 Andy Wingo <wingo@pobox.com>
8392 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8393 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8394 Actually rename the function implementations. Grr.
8396 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8398 * check/gst/capslist.h:
8400 * check/gst/gststructure.c: (GST_START_TEST),
8401 (gst_structure_suite):
8402 Test automatic value type detection in gst_structure_from_string.
8403 * gst/gststructure.c: (gst_structure_parse_value):
8404 Add fraction as a type we try and guess automatically in
8405 caps/structure strings.
8407 2005-11-22 Andy Wingo <wingo@pobox.com>
8409 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8411 * gst/gsttagsetter.h:
8412 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8413 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8414 (gst_tag_setter_add_tag_valist)
8415 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8416 _add_values, _add_valist, and _add_valist_values. Since this is an
8417 interface the function suffixes should be more explicit so
8418 language binding don't end up with element.add_valist ->
8419 gst_tag_setter_add_valist, for example. Fixes #322069.
8421 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8423 * check/gst/gstcaps.c: (GST_START_TEST):
8424 Extend caps string tests to check that a caps to string
8425 conversion is reversible and produces the same caps.
8427 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8428 Output "fraction" as the generic type fraction range, so caps
8429 serialisation and deserialisation works.
8430 * check/gst/capslist.h:
8431 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8432 Support 'MIN' and 'MAX' for deserialising fractions.
8434 2005-11-22 Andy Wingo <wingo@pobox.com>
8436 * gst/gstevent.h (gst_event_new_new_segment)
8437 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8438 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8439 Renamed from *_newsegment, *_buffersize, *_notarget.
8441 * scripts/update-funcnames: New script, performs the changes
8444 2005-11-22 Wim Taymans <wim@fluendo.com>
8446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8447 Make sure the GstFlowReturn is returned.
8449 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8450 (gst_bus_add_signal_watch):
8452 add gst_bus_add_signal_watch_full.
8454 * gst/gstplugin.c: (gst_plugin_load_file):
8455 Small style cleanup.
8457 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8459 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8460 Block the fakesrc srcpad when we send an event, to avoid
8461 contention on the stream_lock causing random test failures.
8463 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8465 * check/gst/gstvalue.c: (GST_START_TEST):
8466 * gst/gstvalue.c: (gst_value_fraction_subtract):
8469 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8472 include "gstchildproxy.h"
8473 * gst/gstchildproxy.h:
8474 * libs/gst/controller/gstcontroller.h:
8475 use G_GNUC_NULL_TERMINATED
8477 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8479 * check/gst/capslist.h:
8480 * check/gst/gstcaps.c: (GST_START_TEST):
8481 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8482 * gst/gststructure.c: (gst_structure_parse_range),
8483 (gst_structure_fixate_field_nearest_fraction):
8484 * gst/gststructure.h:
8485 * gst/gstvalue.c: (gst_value_init_fraction_range),
8486 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8487 (gst_value_collect_fraction_range),
8488 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8489 (gst_value_set_fraction_range_full),
8490 (gst_value_get_fraction_range_min),
8491 (gst_value_get_fraction_range_max),
8492 (gst_value_serialize_fraction_range),
8493 (gst_value_transform_fraction_range_string),
8494 (gst_value_compare_fraction_range),
8495 (gst_value_deserialize_fraction_range),
8496 (gst_value_intersect_fraction_fraction_range),
8497 (gst_value_intersect_fraction_range_fraction_range),
8498 (gst_value_subtract_fraction_fraction_range),
8499 (gst_value_subtract_fraction_range_fraction),
8500 (gst_value_subtract_fraction_range_fraction_range),
8501 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8502 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8503 (gst_value_transform_string_fraction), (_gst_value_initialize):
8505 Implement fraction ranges and extend GstFraction to support
8506 arithmetic subtraction, as well as deserialization from integer
8507 strings such as "100"
8508 Add a testsuite as for int and double range set operations
8510 2005-11-21 Andy Wingo <wingo@pobox.com>
8514 * gst/gststructure.h: Add glib-compat.h.
8516 2005-11-21 Wim Taymans <wim@fluendo.com>
8518 * gst/gstbin.c: (gst_bin_change_state_func):
8521 2005-11-21 Wim Taymans <wim@fluendo.com>
8524 And add a nice define too.
8526 2005-11-21 Wim Taymans <wim@fluendo.com>
8528 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8529 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8530 (gst_segment_set_duration), (gst_segment_set_last_stop),
8531 (gst_segment_set_seek), (gst_segment_set_newsegment),
8532 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8535 Make binding friendly.
8537 2005-11-21 Andy Wingo <wingo@pobox.com>
8539 * gst/gsttagsetter.h:
8541 * gst/gststructure.h:
8543 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8546 * gst/gsterror.c (_gst_core_errors_init):
8547 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8550 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8551 (noinst_HEADERS): noinst the -private.
8553 2005-11-21 Michael Smith <msmith@fluendo.com>
8556 * gst/gstregistry.h:
8557 Remove unimplemented declarations for which we can see no sensible
8560 2005-11-21 Andy Wingo <wingo@pobox.com>
8562 * gst/gst.h: Include glib-compat.h.
8564 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8566 * gst/glib-compat.c: Include the public and the private header.
8568 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8572 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8574 * check/gst/gstevent.c (create_custom_events): Check that
8575 FLUSH_STOP is serialized.
8577 * check/elements/identity.c (event_func):
8578 * check/elements/fakesrc.c (event_func): No stream lock, the core
8581 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8582 stream lock taking, yay.
8584 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8585 ensure that core takes the stream lock.
8587 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8590 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8591 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8592 it already. For the flush start we do take it though so we get the
8593 right preroll state change messages.
8595 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8596 the stream lock here, the core does it for us.
8598 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8599 GST_STREAM_GET_LOCK.
8600 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8601 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8602 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8603 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8604 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8605 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8607 * gst/gstpad.c: Update for stream lock name change.
8609 * gst/base/gstbasesink.c: Update for preroll lock name change.
8611 2005-11-21 Wim Taymans <wim@fluendo.com>
8613 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8614 (gst_clock_get_master):
8616 * gst/gstsystemclock.c: (gst_system_clock_init):
8617 Convert Clock flags to object flags.
8618 Added methods to manage master/slave clocks.
8620 2005-11-21 Wim Taymans <wim@fluendo.com>
8622 * check/gst/gstsegment.c: (GST_START_TEST):
8623 * docs/design/part-TODO.txt:
8624 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8625 (gst_base_sink_event), (gst_base_sink_do_sync),
8626 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8627 (gst_base_sink_query), (gst_base_sink_change_state):
8628 * gst/base/gstbasesink.h:
8629 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8630 (gst_base_src_default_newsegment),
8631 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8632 (gst_base_src_get_range), (gst_base_src_loop),
8633 (gst_base_src_change_state):
8634 * gst/base/gstbasesrc.h:
8635 * gst/base/gstbasetransform.c:
8636 (gst_base_transform_prepare_output_buf),
8637 (gst_base_transform_event), (gst_base_transform_change_state):
8638 * gst/base/gstbasetransform.h:
8639 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8640 (gst_collect_pads_event):
8641 * gst/base/gstcollectpads.h:
8642 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8643 (gst_fake_src_create):
8644 * gst/elements/gstfakesrc.h:
8645 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8646 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8647 (gst_segment_set_last_stop), (gst_segment_set_seek),
8648 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8649 (gst_segment_to_running_time), (gst_segment_clip):
8651 More segment updates, replace code in plugins with segment
8654 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8656 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8657 Don't ignore sscanf results
8659 2005-11-21 Andy Wingo <wingo@pobox.com>
8661 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8664 * *.c: Ran scripts/update-macros. Oh yes.
8666 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8667 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8670 * scripts/update-macros: New script. Run it on your files to
8671 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8674 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8676 * docs/gst/Makefile.am:
8677 * docs/gst/gstreamer-docs.sgml:
8678 * docs/gst/gstreamer-sections.txt:
8679 * docs/gst/gstreamer.types:
8681 more docs fixes, add new api to the docs
8683 2005-11-21 Andy Wingo <wingo@pobox.com>
8685 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8686 state_broadcast call.
8688 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8690 2005-11-21 Julien MOUTTE <julien@moutte.net>
8692 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8693 function calls for arrays.
8695 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8697 * docs/random/ensonic/media-device-daemon.txt:
8698 wild idea, can this be done?
8699 * docs/gst/gstreamer-sections.txt:
8704 * gst/gstpluginfeature.c:
8708 doc fixes and additions
8710 2005-11-21 Andy Wingo <wingo@pobox.com>
8712 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8713 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8714 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8715 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8716 private to the basesrc implementation.
8718 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8719 behalf of event function if necessary. It should no longer be
8720 necessary to take the stream lock in pad's event functions. Fixes
8723 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8724 * docs/gst/gstreamer-sections.txt:
8725 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8726 (gst_structure_fixate_field_nearest_double),
8727 (gst_structure_fixate_field_boolean):
8728 * gst/gststructure.h:
8729 * win32/common/libgstreamer.def:
8730 * win32/gstreamer.def:
8732 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8735 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8737 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8738 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8739 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8740 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8741 (gst_fdsrc_uri_handler_init):
8742 * gst/elements/gstfdsrc.h:
8743 Port fd:// URI handler from 0.8 to fdsrc
8745 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8747 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8748 (gst_value_serialize_fourcc):
8750 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8751 consistent with our other format defines (#320324).
8753 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8755 * gst/gstvalue.c: (gst_value_is_fixed):
8756 Revert previous commit. Value lists are by definition
8757 not fixed, as they are a list of possible values.
8759 2005-11-21 Andy Wingo <wingo@pobox.com>
8761 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8762 during the stable series if we need it. Fixes #319178.
8764 * gst/gstevent.c (gst_event_new_filler): Removed.
8766 * check/gst/gstevent.c: Update comment about filler events.
8768 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8770 * gst/gstvalue.c: (gst_value_is_fixed):
8771 Should handle both value arrays and value lists.
8773 2005-11-21 Andy Wingo <wingo@pobox.com>
8775 patch by: Alessandro Dessina <alessandro nnva org>
8777 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8778 functions to access arrays. Fixes #321962.
8780 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8782 * docs/gst/gstreamer.types:
8783 gst_collectpads_get_type => gst_collect_pads_get_type.
8785 * gst/base/gstbasetransform.c:
8786 Remove unused SIGNAL_HANDOFF enum.
8788 2005-11-21 Andy Wingo <wingo@pobox.com>
8790 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8791 the event type (upstream, downstream, serialized). Renamed
8792 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8793 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8794 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8796 * gst/gstevent.c: Update for new CUSTOM event names.
8798 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8801 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8804 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8806 * docs/gst/gstreamer-sections.txt:
8807 * win32/common/libgstbase.def:
8808 * win32/libgstbase.def:
8809 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8810 (gst_collect_pads_class_init), (gst_collect_pads_init),
8811 (gst_collect_pads_finalize), (gst_collect_pads_new),
8812 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8813 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8814 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8815 (gst_collect_pads_start), (gst_collect_pads_stop),
8816 (gst_collect_pads_peek), (gst_collect_pads_pop),
8817 (gst_collect_pads_available), (gst_collect_pads_read),
8818 (gst_collect_pads_flush), (gst_collect_pads_event),
8819 (gst_collect_pads_chain):
8820 * gst/base/gstcollectpads.h:
8821 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8822 unimplemented functions as unimplemented. Add padding to
8823 GstCollectData. (#320766, #320423)
8825 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8828 Improve docs for DURATION message (usage of duration parameter)
8831 2005-11-20 Wim Taymans <wim@fluendo.com>
8833 * check/Makefile.am:
8834 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8838 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8839 (gst_segment_set_seek), (gst_segment_set_newsegment),
8840 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8843 Added segment helper structure and methods. Not fully implemented
8845 Added segment check.
8847 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8849 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8850 Add a deserialisation test for fractions
8851 * examples/metadata/read-metadata.c: (message_loop),
8852 (make_pipeline), (main):
8853 Fix up metadata reading sample.
8854 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8856 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8857 Don't try and fixate empty caps
8858 * gst/gst_private.h:
8859 Wrap in G_BEGIN_DECLS/G_END_DECLS
8860 * gst/gstvalue.c: (gst_value_collect_fraction),
8861 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8862 (gst_value_transform_string_fraction),
8863 (gst_value_compare_fraction):
8864 Add some extra guards to ensure that we don't end up
8865 with an invalid denominator of 0 in a gstfraction and
8866 that fractions always get reduced.
8868 2005-11-20 Wim Taymans <wim@fluendo.com>
8870 * docs/gst/gstreamer-sections.txt:
8881 2005-11-20 Wim Taymans <wim@fluendo.com>
8883 * docs/design/part-TODO.txt:
8885 Make a proper enum of the flag.
8887 2005-11-19 Wim Taymans <wim@fluendo.com>
8889 * docs/design/part-TODO.txt:
8890 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8891 (gst_format_to_quark), (gst_format_register):
8893 * gst/gstquery.c: (_gst_query_initialize),
8894 (gst_query_type_get_name), (gst_query_type_to_quark),
8895 (gst_query_type_register):
8897 Add type to quark and type to string conversions.
8899 2005-11-19 Andy Wingo <wingo@pobox.com>
8901 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8904 2005-11-19 Wim Taymans <wim@fluendo.com>
8906 * docs/design/part-TODO.txt:
8907 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8908 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8909 (gst_bin_handle_message_func):
8911 Make message handling overridable.
8913 2005-11-19 Andy Wingo <wingo@pobox.com>
8915 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8918 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8920 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8921 is a GstClockTime. Fixes #321710.
8923 * gst/gstclock.h (GstClock): Remove offset property. Add
8924 internal_calibration and external_calibration. Fix padding. Pad
8925 also by GstClockTime so we don't run into problems.
8927 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8928 (gst_clock_get_rate_offset): Remove.
8929 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8932 * gst/gstutils.c (g_static_rec_cond_wait)
8933 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8935 * gst/gstbin.c: Remove terrible continue_state prototype.
8937 * gst/gstelement.h (gst_element_continue_state): Make public.
8940 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8941 by continue_state. Fixes #319389.
8943 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8944 Really fixes #168438. However I don't see anywhere where the
8945 filter function is called... stupid GStreamer...
8947 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8948 don't have a dispose function, so it won't get called when the
8949 object is unreffed, but oh well!
8951 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8952 allows a destroy function to be set so user_data can be freed.
8954 (gst_index_set_filter): Call gst_index_set_filter_full.
8956 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8958 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8959 string should produce an error, given the lack of a way to
8960 represent NULL strings. Fixes #165650.
8963 * gst/gstvalue.c (gst_value_array_append_value)
8964 (gst_value_array_prepend_value, gst_value_array_get_size)
8965 (gst_value_array_get_value): New API, copied from
8966 gst_value_list_*, only operates on arrays.
8967 (gst_value_list_append_value, gst_value_list_prepend_value)
8968 (gst_value_list_concat, gst_value_list_get_size)
8969 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8971 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8972 init_list, because it works on both.
8973 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8974 (gst_value_copy_list_or_array): Renamed from copy_list.
8975 (gst_value_free_list_or_array): Renamed from free_list.
8976 (gst_value_collect_list_or_array): Renamed from collect_list.
8977 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8978 (gst_value_list_or_array_peek_pointer): Renamed from
8980 (_gst_value_array_value_table, _gst_value_list_value_table):
8981 Update value table functions.
8982 (gst_value_compare_list_or_array): Renamed from compare_list.
8984 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8988 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8989 GstTagList*. Fixes #143472.
8991 * gst/gststructure.h: Clarify what the foreach/map functions can
8992 or can't do to their arguments.
8994 2005-11-18 Wim Taymans <wim@fluendo.com>
8996 * gst/gstclock.c: (gst_clock_set_calibration),
8997 (gst_clock_get_calibration):
8999 Calibration can be set with internal time equal to current
9002 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
9008 2005-11-18 Andy Wingo <wingo@pobox.com>
9011 * pkgconfig/gstreamer-net.pc.in:
9012 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9013 * pkgconfig/Makefile.am: Add net pkgconfig files.
9015 2005-11-18 Stefan Kost <ensonic@users.sf.net>
9018 * gst/gstghostpad.c:
9024 2005-11-18 Andy Wingo <wingo@pobox.com>
9026 * gst/net/gstnetclientclock.c: Turn off debugging.
9028 * check/net/gstnetclientclock.c (test_functioning): Assert that the
9029 times connverge somewhat. Can't make a real test.
9031 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9032 integer arithmetic. Return the minimum of the domain, which can be
9033 set as "internal" for gst_clock_set_calibration.
9034 (gst_net_client_clock_observe_times): Call _set_calibration.
9035 (gst_net_client_clock_new): Call _set_calibration instead of
9038 * check/net/gstnetclientclock.c (test_functioning): Use the right
9042 * gst/gstclock.c (gst_clock_get_calibration)
9043 (gst_clock_set_calibration): New functions, obsolete the ones I
9044 added yesterday. Doh. Precision issues mean we have to extrapolate
9045 from a point in the more recent past than 1970.
9046 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9048 (gst_clock_adjust_unlocked): Use the right calibration data.
9050 2005-11-18 Edward Hervey <edward@fluendo.com>
9052 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9053 Also reset the ->current_* values in READY->PAUSED
9055 2005-11-18 Andy Wingo <wingo@pobox.com>
9057 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9058 Whoops, check the right fd. Also add some debugging.
9059 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9060 (do_linear_regression): Add a crapload of debugging. Subtract off
9061 the minimum values from the input series to discard unneeded bits.
9062 Use only int arithmetic. There is still double arithmetic when
9063 calculating the intercept that needs fixing. Return boolean to
9064 indicate success; FALSE would mean the domain or range is too
9065 great. Still needs fixes.
9067 2005-11-18 Wim Taymans <wim@fluendo.com>
9069 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9070 For the current position in stream time, we need to subtract
9073 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9074 Release lock before calling the callback function of async
9077 2005-11-18 Andy Wingo <wingo@pobox.com>
9079 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9080 Port goes all the way to MAXUINT16.
9082 * gst/net/gstnettimeprovider.c: Make the port range the same as
9083 for the kernel: 0 assigns, otherwise ports are less than
9086 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9089 * check/net/gstnetclientclock.c (test_functioning): Add the start
9092 2005-11-18 Wim Taymans <wim@fluendo.com>
9094 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9095 (gst_bin_remove_func), (bin_bus_handler):
9097 Removing a clock provider from a bin, triggers a clock lost message
9098 so that a new clock will be selected.
9099 Adding a clock to a bin triggers a clock provider message.
9100 Make sure we reselect a clock when we received a clock lost message.
9101 Keep a reference to the element that provided the clock.
9103 2005-11-18 Andy Wingo <wingo@pobox.com>
9105 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9106 the clock initially so it produces values around the base time.
9107 (gst_net_client_clock_class_init): Typo fix.
9108 (gst_net_client_clock_thread): Add note on when the socket gets
9111 2005-11-17 Wim Taymans <wim@fluendo.com>
9113 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9114 Free remote and local time arrays.
9116 2005-11-17 Wim Taymans <wim@fluendo.com>
9118 * gst/net/gstnetclientclock.c: (do_linear_regression),
9119 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9120 Fix compilation, uninitialized vars and a forgotten continue.
9122 2005-11-17 Andy Wingo <wingo@pobox.com>
9124 * check/Makefile.am (check_PROGRAMS):
9125 * check/net/gstnetclientclock.c: Add a most minimal test for the
9126 net client clock. More to come later.
9129 * gst/net/Makefile.am: Add netclientclock.
9131 * gst/net/gstnetclientclock.h:
9132 * gst/net/gstnetclientclock.c: New files, implement an untested
9133 GstClock that takes its time from a network time provider.
9134 Implements the algorithm in network-clock.scm.
9136 * tests/network-clock.scm (*window-size*): Rename from
9138 * tests/network-clock.scm (network-time):
9139 * tests/network-clock-utils.scm (q-push): Update callers.
9141 2005-11-17 Wim Taymans <wim@fluendo.com>
9143 * gst/gstbin.c: (gst_bin_provide_clock_func),
9144 (gst_bin_sort_iterator_new):
9145 And unref the child too..
9147 2005-11-17 Wim Taymans <wim@fluendo.com>
9149 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9150 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9151 Refactor the sort iterator so it can be used while holding the
9153 Make clock selection select a clock closest to the source.
9155 2005-11-17 Michael Smith <msmith@fluendo.com>
9157 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9158 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9160 Anonymous structs are a gcc (and some other compilers) extension, so
9161 don't use them. Since this is only for ABI-compatibility, and our
9162 API/ABI freeze is over in a few days, this whole thing will only
9163 last a few days, so don't bother trying to think up a meaningful
9164 name for the struct.
9166 2005-11-17 Andy Wingo <wingo@pobox.com>
9168 * gst/gstclock.h (GstClock): Add rate and offset properties,
9169 preserving ABI stability. Add rate/offset accessors. Will file bug
9170 for the freeze break.
9172 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9173 and offset, trying to keep precision and avoiding
9175 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9176 functions. Make gst_clock_set_time_adjust obsolete.
9177 (gst_clock_set_time_adjust): Note that this function is obsolete.
9180 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9181 greppable by using GST_PADDING-1+1.
9183 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9185 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9187 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9188 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9190 * gst/gstpadtemplate.h:
9191 * gst/gstpluginfeature.h:
9192 Don't use c++ style comments in headers (#321638).
9194 2005-11-16 Andy Wingo <wingo@pobox.com>
9196 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9199 * check/net/gstnettimeprovider.c: Check to see that the time
9200 provider actually provides times. Works, yo!
9202 2005-11-16 Wim Taymans <wim@fluendo.com>
9204 * check/Makefile.am:
9207 * check/elements/fakesrc.c: (GST_START_TEST):
9208 Set element to NULL before disposing it.
9210 2005-11-16 Andy Wingo <wingo@pobox.com>
9212 * gst/net/Makefile.am:
9214 * gst/net/gstnettimeprovider.c:
9215 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9216 provider, include it from gstnet.h, and add it to the build.
9218 * gst/net/gstnettimepacket.h:
9219 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9220 sending and receiving.
9222 2005-11-16 Wim Taymans <wim@fluendo.com>
9224 * check/Makefile.am:
9225 Enable valgrind check.
9227 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9228 (gst_fake_src_alloc_buffer):
9231 2005-11-16 Wim Taymans <wim@fluendo.com>
9233 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9234 Call parent finalize too.
9236 2005-11-16 Wim Taymans <wim@fluendo.com>
9238 * check/Makefile.am:
9239 Enable valgrind check that should work fine now.
9241 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9242 * gst/gstqueue.c: (gst_queue_init):
9243 Fix memleaks in pad allocation.
9245 2005-11-16 Andy Wingo <wingo@pobox.com>
9247 * gst/net/Makefile.am:
9248 * gst/net/gstnet.h: New part of core to hold network elements and
9249 objects. Put in core because it exposes API that applications want
9250 to use. The library is named libgstnet-tempname right now because
9251 of the existing libgstnet in gst-plugins-base. Solution is
9252 probably to rename the one in plugins-base; will file a bug for
9255 * gst/net/gstnettimeprovider.c:
9256 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9257 get_time call over the network.
9260 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9262 * check/Makefile.am:
9263 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9264 get additions shortly.
9266 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9268 * gst/gstpad.c: (gst_pad_new_from_static_template):
9270 add gst_pad_new_from_static_template functions
9271 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9272 (gst_check_setup_sink_pad):
9273 * gst/elements/gsttee.c: (gst_tee_init):
9276 2005-11-16 Wim Taymans <wim@fluendo.com>
9278 * gst/gstpad.c: (gst_pad_pause_task):
9279 Removed warning, it's not really an error either.
9281 2005-11-16 Wim Taymans <wim@fluendo.com>
9283 * gst/base/gstbasetransform.c:
9284 (gst_base_transform_prepare_output_buf),
9285 (gst_base_transform_event):
9286 Check if the caps are NULL, this can happen if the element
9287 is shutting down and the pad caps are set to NULL.
9289 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9291 * gst/elements/gsttee.c: (gst_tee_init):
9292 fix pad template leak in tee
9294 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9296 * gst/glib-compat.c: (g_value_dup_gst_object):
9297 * gst/glib-compat.h:
9298 * gst/gstpad.c: (gst_pad_set_property):
9299 use gst_object_ref when setting the pad template; this will
9300 trigger the pad template leaks on GLib 2.6 and the slaves
9302 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9304 * gst/glib-compat.c: (gst_flags_get_first_value):
9305 * gst/glib-compat.h:
9306 * gst/gstregistryxml.c:
9307 remove functions copied from GLib 2.6
9309 2005-11-16 Michael Smith <msmith@fluendo.com>
9312 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9313 do, but only breaks with newer valgrind versions. We're not a
9314 valgrind tool, we have no link-time dependencies on libcoregrind.
9316 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9318 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9323 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9325 * gst/base/gstbasesrc.c: (gst_base_src_init):
9326 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9327 * gst/gstqueue.c: (gst_queue_init):
9328 * gst/gstregistryxml.c: (load_feature):
9329 Revert all these unrefs, they don't even pass make check !
9331 2005-11-15 Johan Dahlin <johan@gnome.org>
9333 * gst/base/gstbasesrc.c: (gst_base_src_init):
9334 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9335 * gst/gstqueue.c: (gst_queue_init):
9336 Free pad templates, fixes a couple of leaks.
9338 2005-11-15 Daniel Fischer <dan at f3c dot com>
9340 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9342 * gst/gstpad.c: (gst_pad_get_property):
9343 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9344 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9347 2005-11-15 Wim Taymans <wim@fluendo.com>
9352 2005-11-15 Andy Wingo <wingo@pobox.com>
9354 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9356 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9357 using GST_CLOCK_TIME_NONE to disable base time management.
9358 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9359 time if it was NONE before.
9360 (gst_pipeline_change_state): Only munge the base time if
9361 stream_time != GST_CLOCK_TIME_NONE.
9363 * check/gst/gstpipeline.c (test_base_time): Punt around the
9364 problem of the probe not being called, because that's not the
9365 issue I'm looking at. Add a check that setting stream_time to NONE
9366 disables base time management.
9368 2005-11-15 Wim Taymans <wim@fluendo.com>
9370 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9371 segment_stop == -1 at startup.
9373 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9374 (gst_base_transform_change_state):
9375 Init segment values at start.
9377 2005-11-15 Wim Taymans <wim@fluendo.com>
9379 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9380 0 segment values are 0 in any format.
9382 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9383 * gst/base/gstbasetransform.h:
9384 Parse newsegment correctly in basetransform
9386 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9387 Sync to clock using updated segment values.
9389 2005-11-15 Andy Wingo <wingo@pobox.com>
9391 * check/gst/gstpipeline.c (test_base_time): Add check that the
9392 base time and stream time are reset correctly.
9394 2005-11-15 Wim Taymans <wim@fluendo.com>
9396 * docs/design/part-TODO.txt:
9397 Some more TODO items.
9399 2005-11-15 Andy Wingo <wingo@pobox.com>
9401 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9402 error if the user selected "no clock" as the clocking method.
9404 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9405 timestamps with live capture.
9407 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9408 is 0 but we are a live source, timestamp the buffers using the
9411 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9413 * docs/gst/gstreamer-sections.txt:
9415 * gst/gstghostpad.c:
9420 2005-11-14 Wim Taymans <wim@fluendo.com>
9423 add suppressions from Wim's Debian machine
9425 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9428 add suppressions from Andy's AMD64 Ubuntu machine
9430 2005-11-14 Andy Wingo <wingo@pobox.com>
9432 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9433 STATE_LOCK not necessary. Fixes #311489.
9435 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9438 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9439 this function is not implemented.
9441 2005-11-14 Julien MOUTTE <julien@moutte.net>
9443 * gst/base/gstbasetransform.c:
9444 (gst_base_transform_prepare_output_buf):
9445 Ref the source pad caps while we need them.
9448 2005-11-11 Wim Taymans <wim@fluendo.com>
9450 * docs/gst/gstreamer-sections.txt:
9451 Added some docs for GstCollectData.
9453 * gst/base/gstadapter.c:
9454 Some small code example fix.
9456 * gst/base/gstcollectpads.c:
9457 * gst/base/gstcollectpads.h:
9460 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9462 * configure.ac: back to HEAD
9464 === release 0.9.5 ===
9466 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9469 releasing 0.9.5, "Bike Lunch Day"
9471 2005-11-11 Wim Taymans <wim@fluendo.com>
9473 * gst/gstbuffer.c: (_gst_buffer_copy):
9476 * gst/gstcaps.c: (gst_caps_is_equal):
9478 Make _is_equal fast in the trivial cases.
9480 * gst/gstminiobject.c:
9481 * gst/gstminiobject.h:
9482 More docs. Spifify .h file.
9487 2005-11-11 Wim Taymans <wim@fluendo.com>
9489 * gst/base/gstbasetransform.c:
9490 (gst_base_transform_prepare_output_buf),
9491 (gst_base_transform_handle_buffer):
9493 If we're processing a buffer and need to allocate an output
9494 buffer, we cannot accept a format change. If we did get a
9495 format change, we have to alloc a buffer ourselves of the
9498 2005-11-11 Wim Taymans <wim@fluendo.com>
9500 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9501 While checking the flag for reentrancy in the gstcaps function
9502 is nice to detect recursive invocations, it also makes it
9503 impossible to call getcaps from multiple threads, which must be
9504 possible. So, checking for recursive calls has to go.
9506 2005-11-11 Michael Smith <msmith@fluendo.com>
9508 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9509 Don't sync on buffers that fall partially outside our current
9510 segment. Prevents an assertion failure/abort playing some files.
9512 2005-11-10 Andy Wingo <wingo@pobox.com>
9514 * check/gst/gstbin.c (test_message_state_changed_children): Style
9517 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9518 gst_bus_poll with the signal watch. Ensures that poll and a signal
9519 watch see the same messages.
9521 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9522 a poll and a watch at the same time get the same messages.
9524 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9526 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9527 * gst/gstcaps.c: (gst_caps_intersect):
9528 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9529 and it's not needed.
9531 2005-11-10 Wim Taymans <wim@fluendo.com>
9533 * docs/design/part-TODO.txt:
9536 2005-11-10 Wim Taymans <wim@fluendo.com>
9538 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9539 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9540 (gst_base_src_do_sync), (gst_base_src_get_range):
9541 Implement clock sync in base class.
9543 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9545 patch by: Tim-Philipp Müller <tim at centricular dot net>
9547 * gst/gststructure.c: (gst_structure_parse_field),
9548 (gst_structure_from_string):
9549 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9550 so that gst_parse_launch() can deal with spaces in filtered link
9551 caps (fixes #164479)
9552 * check/gst/capslist.h:
9553 * check/gst/gststructure.c: (GST_START_TEST):
9554 add unit tests for this change
9556 2005-11-10 Wim Taymans <wim@fluendo.com>
9558 * docs/gst/gstreamer-sections.txt:
9561 Fix docs, move some STATE macros to private.
9563 2005-11-10 Wim Taymans <wim@fluendo.com>
9565 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9566 Added check for bug #317341
9570 Some more spiffifying.
9572 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9573 Call peer linkfunction if we are a source pad. Totally fixes
9577 Update docs, source pads should call the peer linkfunction
9578 so they can atomically perform the pad link.
9580 2005-11-09 Wim Taymans <wim@fluendo.com>
9584 Uber-spiffy-spiffify some more.
9586 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9588 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9589 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9590 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9591 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9592 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9593 * gst/gstpad.c: (gst_pad_init):
9594 Use GST_DEBUG_FUNCPTR() more extensively.
9596 2005-11-09 Wim Taymans <wim@fluendo.com>
9598 * gst/gstobject.c: (gst_object_class_init):
9600 Documentation fixes.
9602 2005-11-09 Edward Hervey <edward@fluendo.com>
9604 * gst/gsttypefindfactory.c:
9607 2005-11-09 Edward Hervey <edward@fluendo.com>
9609 * gst/base/gsttypefindhelper.c:
9610 * gst/gsttypefind.c:
9611 * gst/gsttypefind.h:
9614 2005-11-09 Wim Taymans <wim@fluendo.com>
9616 * gst/gstiterator.c:
9623 2005-11-09 Wim Taymans <wim@fluendo.com>
9629 2005-11-09 Wim Taymans <wim@fluendo.com>
9631 * docs/gst/gstreamer-sections.txt:
9632 Moved the message async delivery private lock and cond
9633 to the private section.
9639 2005-11-09 Edward Hervey <edward@fluendo.com>
9641 * docs/gst/gstreamer-sections.txt:
9644 Document GstURIHandler
9646 2005-11-09 Wim Taymans <wim@fluendo.com>
9648 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9649 (gst_iterator_find_custom):
9650 * gst/gstiterator.h:
9653 2005-11-09 Wim Taymans <wim@fluendo.com>
9656 Document another field.
9658 * gst/gststructure.c:
9659 * gst/gststructure.h:
9662 2005-11-09 Wim Taymans <wim@fluendo.com>
9667 2005-11-09 Wim Taymans <wim@fluendo.com>
9669 * docs/gst/gstreamer-sections.txt:
9670 Added some new macros.
9677 2005-11-09 Wim Taymans <wim@fluendo.com>
9679 * docs/design/part-TODO.txt:
9680 Some more items for the TODO
9686 2005-11-09 Andy Wingo <wingo@pobox.com>
9688 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9689 to work on something else now tho...
9691 * gst/base/gstadapter.c: More adapter docs.
9693 * gst/elements/gstfilesink.c (gst_file_sink_start)
9694 (gst_file_sink_stop): New functions, replace the state change
9696 (gst_file_sink_class_init): Hook up the start and stop functions.
9697 (gst_file_sink_base_init): Don't set the state change handler any
9698 more. It was a bit ugly too, being set from here...
9699 (gst_file_sink_get_property, gst_file_sink_set_property):
9701 (gst_file_sink_set_location): More robust check that doesn't call
9704 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9706 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9707 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9709 2005-11-08 Wim Taymans <wim@fluendo.com>
9711 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9712 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9713 (gst_base_sink_chain), (gst_base_sink_change_state):
9714 * gst/base/gstbasesink.h:
9715 * gst/base/gstbasesrc.h:
9718 Avoid excessive typechecking in macros.
9720 * gst/gstminiobject.c: (gst_mini_object_get_type),
9721 (gst_mini_object_init), (gst_mini_object_new),
9722 (gst_mini_object_free):
9723 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9724 (gst_object_finalize):
9725 Remove cruft code, optimize alloc_trace.
9727 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9729 * docs/faq/gst-uninstalled:
9730 fix up PS1 for systems that try to reset it
9732 2005-11-07 Wim Taymans <wim@fluendo.com>
9734 * gst/base/gstbasesrc.c: (gst_base_src_init),
9735 (gst_base_src_get_range):
9736 Set the segment_end to -1 initially. Fixed typefind.
9738 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9740 * gst/base/gstadapter.c:
9741 Debug category should be 'adapter', not 'GstAdapter'.
9743 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9744 (gst_collectpads_class_init), (gst_collectpads_init),
9745 (gst_collectpads_peek), (gst_collectpads_pop),
9746 (gst_collectpads_event), (gst_collectpads_chain):
9747 Add debug category and some debugging output. Use boilerplate
9748 macros. Remove some extraneous words from docs.
9750 2005-11-05 Andy Wingo <wingo@pobox.com>
9752 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9755 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9757 * docs/gst/gstreamer-sections.txt:
9760 * gst/gstminiobject.h:
9765 2005-11-04 Wim Taymans <wim@fluendo.com>
9767 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9768 Small update to stop at the configured segment_end
9771 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9773 * gst/gstregistry.c:
9774 * gst/gstregistry.h:
9777 2005-11-04 Edward Hervey <edward@fluendo.com>
9779 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9780 Check if we are doing a segment seek and have arrived at the
9781 end of that segment.
9783 2005-11-04 Wim Taymans <wim@fluendo.com>
9785 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9786 Don't leak a mutex unlock in case of an error.
9791 2005-11-04 Wim Taymans <wim@fluendo.com>
9793 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9795 Get the context to wake up only once.
9797 2005-11-03 Wim Taymans <wim@fluendo.com>
9799 * check/states/sinks.c: (GST_START_TEST):
9800 Uncomment fixed check.
9802 * docs/design/part-TODO.txt:
9805 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9806 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9807 (gst_base_sink_get_position):
9808 If we are going to PLAYING, post the right pending state
9809 when we post the intermediate paused message.
9811 * gst/gstelement.c: (gst_element_continue_state),
9812 (gst_element_set_state_func), (gst_element_change_state):
9813 Don't post state changes that were between the same state
9816 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9818 * docs/gst/gstreamer-sections.txt:
9821 * gst/gstminiobject.h:
9824 more docs and doc style fixes
9826 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9828 * docs/gst/gstreamer-sections.txt:
9830 * gst/gstminiobject.c:
9833 2005-11-03 Andy Wingo <wingo@pobox.com>
9835 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9836 state-changed messages actually have the right order and the right
9839 2005-11-03 Wim Taymans <wim@fluendo.com>
9841 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9842 Added some more checks. Specifically the case where NO_PREROLL
9843 elements are in the pipeline.
9845 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9846 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9847 (gst_base_sink_get_position):
9848 Post READY->PAUSED state change messages too.
9849 Fix bug where VOID was posted as pending state...
9851 * gst/gstbin.c: (gst_bin_recalc_state):
9852 use _element_continue_state() to continue the state change.
9854 * gst/gstelement.c: (gst_element_continue_state),
9855 (gst_element_commit_state), (gst_element_set_state_func),
9856 (gst_element_change_state), (gst_element_change_state_func):
9857 Lots of state change cleanups, assign the STATE_RETURN in
9858 a new continue_state() function that also propagates the
9859 last return value from a state change to the app.
9860 Update some debug statements with proper category.
9862 2005-11-03 Wim Taymans <wim@fluendo.com>
9864 * docs/design/part-events.txt:
9865 * docs/design/part-gstpipeline.txt:
9866 * docs/design/part-messages.txt:
9867 * docs/design/part-overview.txt:
9868 * docs/design/part-seeking.txt:
9869 * docs/design/part-states.txt:
9870 * docs/design/part-trickmodes.txt:
9871 * docs/manual/advanced-position.xml:
9875 People think !! is ugly, this looks better.
9877 * gst/gstpad.c: (gst_pad_set_blocked_async):
9878 Remove !! since it's fixed elsewhere now.
9880 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9882 * gst/gstminiobject.h:
9884 Add !! to _FLAG_IS_SET macros to make the result boolean.
9886 2005-11-03 Edward Hervey <edward@fluendo.com>
9888 * gst/gstpad.c: (gst_pad_set_blocked_async):
9889 comparing a flag and a gboolean rarely returns coherent results...
9890 Added two characters (!!) to make that work correctly.
9892 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9894 * gst/gstbus.c: (gst_bus_class_init):
9897 * gst/gstqueue.c: (gst_queue_loop):
9898 Don't assume a miniobject that isn't a buffer is an
9899 event (it could be that there is a refcounting
9900 problem somewhere and the pointer is stale and
9901 refers to an already destroyed miniobject).
9903 2005-11-03 Julien MOUTTE <julien@moutte.net>
9905 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9907 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9909 * docs/manual/advanced-position.xml:
9910 Update seek example and explanations to current 0.9 API.
9912 * gst/elements/gsttypefindelement.c:
9913 (gst_type_find_element_activate):
9914 Remove FIXME comment now that the found caps
9917 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9919 * gst/gstregistryxml.c: (load_feature):
9920 Add another GST_STR_NULL instance
9922 2005-11-02 Edward Hervey <edward@fluendo.com>
9924 * gst/gstpad.c: (handle_pad_block):
9925 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9927 2005-11-02 Wim Taymans <wim@fluendo.com>
9932 * gst/gstelement.c: (gst_element_commit_state):
9933 Remove unused value.
9935 * gst/gstiterator.c:
9936 Mention that the returned element is reffed in the docs.
9938 2005-11-02 Wim Taymans <wim@fluendo.com>
9940 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9941 (gst_pad_push), (gst_pad_push_event):
9942 Unlock blocked pads when they are flushed.
9944 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9947 * docs/gst/gstreamer-sections.txt:
9950 * gst/gstregistry.c: (gst_registry_scan_path_level):
9951 fix for a nasty little missed situation where an installed plug-in
9952 which was in the cache did not get overridden by an uninstalled one
9953 which was earlier in the plugin path because the newly created plugin
9954 for the uninstalled one (not in the registry) didn't get its
9955 ->registered set to TRUE
9957 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9959 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9960 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9961 (gst_collectpads_is_active), (gst_collectpads_collect),
9962 (gst_collectpads_collect_range), (gst_collectpads_start),
9963 (gst_collectpads_stop), (gst_collectpads_peek),
9964 (gst_collectpads_pop), (gst_collectpads_available),
9965 (gst_collectpads_read), (gst_collectpads_flush):
9966 Guard public API with assertions.
9969 Fix docs for gst_pad_set_link_function().
9971 2005-11-02 Johan Dahlin <johan@gnome.org>
9973 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9974 Unref found_caps after we used it.
9976 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9978 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9979 Don't try to ref NULL.
9981 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9983 * win32/common/config.h.in:
9984 provide a GST_FUNCTION that just gives a string for now
9986 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9988 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9989 (gst_object_flags_get_type), (register_gst_bin_flags),
9990 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9991 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9992 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9993 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9994 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9995 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9996 (gst_clock_flags_get_type), (register_gst_state),
9997 (gst_state_get_type), (register_gst_state_change_return),
9998 (gst_state_change_return_get_type), (register_gst_state_change),
9999 (gst_state_change_get_type), (register_gst_element_flags),
10000 (gst_element_flags_get_type), (register_gst_core_error),
10001 (gst_core_error_get_type), (register_gst_library_error),
10002 (gst_library_error_get_type), (register_gst_resource_error),
10003 (gst_resource_error_get_type), (register_gst_stream_error),
10004 (gst_stream_error_get_type), (register_gst_event_type),
10005 (gst_event_type_get_type), (register_gst_seek_type),
10006 (gst_seek_type_get_type), (register_gst_seek_flags),
10007 (gst_seek_flags_get_type), (register_gst_format),
10008 (gst_format_get_type), (register_gst_index_certainty),
10009 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10010 (gst_index_entry_type_get_type),
10011 (register_gst_index_lookup_method),
10012 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10013 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10014 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10015 (gst_index_flags_get_type), (register_gst_debug_level),
10016 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10017 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10018 (gst_iterator_result_get_type), (register_gst_iterator_item),
10019 (gst_iterator_item_get_type), (register_gst_message_type),
10020 (gst_message_type_get_type), (register_gst_mini_object_flags),
10021 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10022 (gst_pad_link_return_get_type), (register_gst_flow_return),
10023 (gst_flow_return_get_type), (register_gst_activate_mode),
10024 (gst_activate_mode_get_type), (register_gst_pad_direction),
10025 (gst_pad_direction_get_type), (register_gst_pad_flags),
10026 (gst_pad_flags_get_type), (register_gst_pad_presence),
10027 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10028 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10029 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10030 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10031 (gst_plugin_flags_get_type), (register_gst_rank),
10032 (gst_rank_get_type), (register_gst_query_type),
10033 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10034 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10035 (gst_tag_flag_get_type), (register_gst_task_state),
10036 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10037 (gst_alloc_trace_flags_get_type),
10038 (register_gst_type_find_probability),
10039 (gst_type_find_probability_get_type), (register_gst_uri_type),
10040 (gst_uri_type_get_type), (register_gst_parse_error),
10041 (gst_parse_error_get_type):
10042 * win32/common/gstversion.h:
10043 update win32 copies
10045 2005-11-01 Luca Ognibene <luogni@tin.it>
10048 fix docs. popt is dead, long live GOption.
10050 2005-10-31 Wim Taymans <wim@fluendo.com>
10055 2005-10-31 Andy Wingo <wingo@pobox.com>
10059 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10061 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10062 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10063 the possibility of deadlocks here if code calling notify() or
10064 set() has a lock that can be taken in another notify handler (ABBA
10065 with class lock and e.g. python GIL state lock).
10067 2005-10-28 Julien MOUTTE <julien@moutte.net>
10069 * gst/gstbus.c: Doc updates.
10071 2005-10-28 Wim Taymans <wim@fluendo.com>
10073 * docs/design/part-TODO.txt:
10074 * gst/gstiterator.c:
10075 * gst/gstsystemclock.c:
10076 * gst/gstsystemclock.h:
10079 2005-10-28 Edward Hervey <edward@fluendo.com>
10081 * docs/gst/gstreamer-docs.sgml:
10082 * docs/gst/gstreamer-sections.txt:
10083 the GstURIType documentation page is private, it only defines GstURIType
10084 which should be defined in the GstURIHandler page
10086 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10088 * gst/gstbin.c: (gst_bin_class_init):
10091 Documentation updates.
10093 2005-10-28 Wim Taymans <wim@fluendo.com>
10095 * docs/gst/gstreamer-sections.txt:
10098 Documented the clocks.
10100 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10102 * docs/gst/gstreamer-sections.txt:
10103 move some macros to private sections
10104 * gst/gstminiobject.c:
10105 * gst/gstminiobject.h:
10106 add descriptions provided by ds and some more
10108 mark macro as to be removed
10110 2005-10-28 Wim Taymans <wim@fluendo.com>
10112 * docs/design/part-TODO.txt:
10113 Add an item to TODO.
10115 * gst/gstiterator.c: (gst_iterator_fold),
10116 (gst_iterator_find_custom):
10117 * gst/gstiterator.h:
10120 2005-10-28 Wim Taymans <wim@fluendo.com>
10122 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10123 (gst_base_transform_init):
10126 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10127 An EOS event marks the queue as completely filled.
10129 2005-10-27 Wim Taymans <wim@fluendo.com>
10131 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10132 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10133 Some more debugging.
10135 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10136 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10137 (gst_base_transform_event), (gst_base_transform_getrange),
10138 (gst_base_transform_chain):
10139 * gst/base/gstbasetransform.h:
10141 Protect transform and concurrent buffer alloc with a new lock.
10142 Try not to break ABI/API.
10144 2005-10-27 Wim Taymans <wim@fluendo.com>
10146 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10147 (gst_base_src_init), (gst_base_src_query),
10148 (gst_base_src_default_newsegment),
10149 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10150 (gst_base_src_send_event), (gst_base_src_event_handler),
10151 (gst_base_src_pad_get_range), (gst_base_src_loop),
10152 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10153 (gst_base_src_start), (gst_base_src_deactivate),
10154 (gst_base_src_activate_push), (gst_base_src_change_state):
10155 Move some stuff around and cleanup things.
10157 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10159 * gst/base/gstbasesrc.c: (gst_base_src_query):
10160 Add missing break statements.
10162 2005-10-27 Wim Taymans <wim@fluendo.com>
10164 * check/gst/gstbin.c: (GST_START_TEST):
10165 An extra refcount is taken in basesrc.
10167 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10168 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10169 (gst_base_src_loop):
10170 Small cleanups, check for flushing after being unlocked from the
10171 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10172 Don't send out EOS when going to READY.
10174 2005-10-27 Wim Taymans <wim@fluendo.com>
10176 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10177 (gst_base_sink_get_position):
10180 * gst/gstbin.c: (message_check), (bin_replace_message),
10181 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10182 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10183 (bin_query_duration_init), (bin_query_duration_fold),
10184 (bin_query_duration_done), (bin_query_generic_fold),
10186 * tools/gst-launch.c: (main):
10189 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10191 * examples/controller/audio-example.c: (main):
10192 * examples/queue/queue.c: (event_loop):
10193 * gst/base/gstbasetransform.h:
10194 * gst/gstelement.c: (gst_element_send_event):
10196 * gst/gstpad.c: (gst_pad_send_event):
10199 changing log priority in error situations
10201 2005-10-25 Wim Taymans <wim@fluendo.com>
10203 * gst/gstbin.c: (message_check), (bin_replace_message),
10204 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10205 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10206 (bin_query_duration_init), (bin_query_duration_fold),
10207 (bin_query_duration_done), (bin_query_generic_fold),
10209 Some doc and debug updates.
10210 Cache previously requested query DURATION for speed. invalidate
10211 cached duration if element posts a DURATION message.
10213 2005-10-25 Wim Taymans <wim@fluendo.com>
10215 * docs/design/part-TODO.txt:
10218 * gst/gstbin.c: (message_check), (bin_replace_message),
10219 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10220 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10221 (bin_query_duration_init), (bin_query_duration_fold),
10222 (bin_query_duration_done), (bin_query_generic_fold),
10224 Handle SEGMENT_START/DONE messages correctly.
10225 More evolved query algorithm that handles duration queries
10228 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10229 (gst_element_get_state_func), (gst_element_abort_state),
10230 (gst_element_commit_state), (gst_element_lost_state):
10231 Some more debugging.
10233 * gst/gstmessage.h:
10236 2005-10-25 Wim Taymans <wim@fluendo.com>
10238 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10239 Don't use invalid stream_time.
10241 * gst/gstevent.c: (gst_event_new_newsegment):
10242 stream_time in newsegment cannot be undefined.
10244 2005-10-24 Wim Taymans <wim@fluendo.com>
10249 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10251 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10253 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10255 * docs/libs/tmpl/gstdparam.sgml:
10256 * docs/libs/tmpl/gstdplinint.sgml:
10257 * docs/libs/tmpl/gstdpman.sgml:
10258 * docs/libs/tmpl/gstdpsmooth.sgml:
10259 * docs/libs/tmpl/gstunitconvert.sgml:
10262 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10267 === release 0.9.4 ===
10269 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10272 releasing 0.9.4, "Tyrannosaurus Rex"
10274 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10276 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10277 (gst_file_sink_get_current_offset):
10278 Use fseeko() and ftello() if available. When falling back on
10279 lseek() to get the current offset, fflush() first to make sure
10280 everything is up-to-date and we get the right offset.
10282 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10285 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10286 * gst/gsterror.c: (_gst_stream_errors_init):
10288 * gst/gstqueue.c: (gst_queue_loop):
10290 remove prematurely added error category and clean up the instances
10292 2005-10-21 Wim Taymans <wim@fluendo.com>
10294 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10295 (gst_base_sink_get_position), (gst_base_sink_query),
10296 (gst_base_sink_change_state):
10297 Simply set the right flag when going to playing, that's all
10298 we need to do instead of calling a function inside the object
10299 lock (that could take the lock as well and deadlock)
10301 2005-10-21 Wim Taymans <wim@fluendo.com>
10303 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10304 (gst_base_src_loop):
10305 Don't warn, the peer element knows what to do best when
10306 the seek failed, it might try something else.
10308 2005-10-21 Wim Taymans <wim@fluendo.com>
10310 * gst/base/gstbasesrc.c: (gst_base_src_init),
10311 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10314 2005-10-21 Wim Taymans <wim@fluendo.com>
10316 * docs/design/part-segments.txt:
10319 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10320 Correctly set caps, even on the subbufer.
10322 2005-10-21 Wim Taymans <wim@fluendo.com>
10324 * docs/gst/gstreamer-docs.sgml:
10325 * docs/gst/gstreamer-sections.txt:
10326 * gst/gstelement.h:
10329 * gst/gstmessage.h:
10332 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10336 And 2% more doc coverage.
10338 2005-10-21 Andy Wingo <wingo@pobox.com>
10340 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10341 position reporting.
10343 2005-10-20 Wim Taymans <wim@fluendo.com>
10345 * gst/gsterror.c: (gst_error_get_message):
10348 * gst/gststructure.c:
10353 2005-10-20 Wim Taymans <wim@fluendo.com>
10358 Another 1% more coverage.
10360 2005-10-20 Wim Taymans <wim@fluendo.com>
10362 * docs/gst/gstreamer-sections.txt:
10363 * gst/gstelement.c: (gst_element_get_state_func),
10364 (gst_element_abort_state), (gst_element_commit_state),
10365 (gst_element_lost_state):
10367 * gst/gstquery.c: (gst_query_set_position),
10368 (gst_query_parse_position), (gst_query_set_duration),
10369 (gst_query_parse_duration), (gst_query_new_convert):
10371 Yay! 1% more docs coverage.
10373 2005-10-20 Wim Taymans <wim@fluendo.com>
10376 * gst/gstquery.c: (gst_query_set_position),
10377 (gst_query_parse_position), (gst_query_set_duration),
10378 (gst_query_parse_duration), (gst_query_new_convert):
10380 * gst/gstutils.c: (gst_element_query_convert):
10382 Docs and consistency fixes.
10384 2005-10-20 Wim Taymans <wim@fluendo.com>
10390 2005-10-20 Wim Taymans <wim@fluendo.com>
10392 * gst/gstbin.c: (message_check), (bin_replace_message),
10393 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10394 (update_degree), (gst_bin_sort_iterator_next),
10395 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10396 Reworked the message handling a bit, cache the messages instead of
10397 only the senders. alows us to do more in the future.
10399 2005-10-20 Wim Taymans <wim@fluendo.com>
10401 * docs/design/part-TODO.txt:
10404 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10405 (gst_base_sink_query):
10406 Don't use clock time to report position when in EOS.
10408 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10410 * tools/gst-inspect.c: (print_interfaces),
10411 (print_element_properties_info), (print_element_info):
10412 Fix interface output with gst-inspect -a; don't print
10413 newlines after double/float properties.
10415 2005-10-20 Wim Taymans <wim@fluendo.com>
10417 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10418 (gst_base_sink_query):
10419 Speed up current position calculation.
10421 * gst/base/gstbasesrc.c: (gst_base_src_query),
10422 (gst_base_src_default_newsegment):
10423 Correctly set stream position in newsegment.
10425 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10426 (update_degree), (gst_bin_sort_iterator_next),
10427 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10428 * gst/gstmessage.c: (gst_message_new_custom):
10429 Clean up debugging info
10431 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10432 (gst_queue_loop), (gst_queue_handle_src_query):
10435 2005-10-19 Wim Taymans <wim@fluendo.com>
10437 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10438 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10439 Fix query handling again.
10441 2005-10-19 Wim Taymans <wim@fluendo.com>
10443 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10444 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10445 * gst/base/gstbasesrc.c: (gst_base_src_query):
10446 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10447 * gst/elements/gsttypefindelement.c:
10448 (gst_type_find_handle_src_query), (find_element_get_length),
10449 (gst_type_find_element_activate):
10452 * gst/gstquery.c: (gst_query_new_position),
10453 (gst_query_set_position), (gst_query_parse_position),
10454 (gst_query_new_duration), (gst_query_set_duration),
10455 (gst_query_parse_duration), (gst_query_set_segment),
10456 (gst_query_parse_segment):
10458 Bundling query position/duration is not a good idea since duration
10459 does not change much and we don't want to recalculate it for every
10460 position query, so they are separated again..
10461 Base value in segment query is not needed.
10463 * gst/gstqueue.c: (gst_queue_handle_src_query):
10464 * gst/gstutils.c: (gst_element_query_position),
10465 (gst_element_query_duration), (gst_pad_query_position),
10466 (gst_pad_query_duration):
10468 Updates for query API change.
10469 Added some docs here and there.
10471 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10473 * check/gst/gstbin.c: (GST_START_TEST):
10474 * check/gst/gstghostpad.c: (GST_START_TEST):
10475 * check/pipelines/cleanup.c: (GST_START_TEST):
10476 wait on thread to die so we can check refcount correctly
10478 2005-10-18 Wim Taymans <wim@fluendo.com>
10480 * check/pipelines/stress.c: (GST_START_TEST):
10481 Make check a little more time consuming.
10483 2005-10-18 Wim Taymans <wim@fluendo.com>
10485 * check/Makefile.am:
10486 * check/pipelines/stress.c: (GST_START_TEST),
10487 (simple_launch_lines_suite), (main):
10488 Small state change torture test.
10490 * docs/design/part-states.txt:
10491 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10492 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10493 (gst_base_sink_change_state):
10494 Never take state lock from streaming thread, clean up ugly
10495 hacks. Unfortunatly core does not yet support nice ways to
10496 async commit state.
10498 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10500 Start state recalc if a STATE_DIRTY message is posted, but only
10501 on the toplevel bin.
10503 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10504 (gst_element_get_state_func), (gst_element_abort_state),
10505 (gst_element_commit_state), (gst_element_lost_state),
10506 (gst_element_set_state_func), (gst_element_change_state):
10507 * gst/gstelement.h:
10508 State variables are now protected with the LOCK, the state
10509 lock is only used to serialize _set_state().
10511 2005-10-18 Wim Taymans <wim@fluendo.com>
10513 * check/gst/gstbin.c: (GST_START_TEST):
10514 * check/gst/gstmessage.c: (GST_START_TEST):
10515 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10516 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10518 * gst/gstelement.c: (gst_element_abort_state),
10519 (gst_element_commit_state), (gst_element_lost_state):
10520 * gst/gstmessage.c: (gst_message_new_state_changed),
10521 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10522 (gst_message_new_segment_done), (gst_message_new_duration),
10523 (gst_message_parse_state_changed),
10524 (gst_message_parse_segment_start),
10525 (gst_message_parse_segment_done), (gst_message_parse_duration):
10526 * gst/gstmessage.h:
10527 * tools/gst-launch.c: (event_loop):
10528 Seriously, this is better than a previous commit as we only need
10529 to notify the fact that an element changed state in a streaming
10530 thread, marking the state of the parents dirty, hence the
10531 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10534 2005-10-18 Wim Taymans <wim@fluendo.com>
10536 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10537 (gst_bin_recalc_func):
10538 * gst/gstelement.c: (gst_element_set_clock),
10539 (gst_element_abort_state), (gst_element_lost_state):
10540 Cleanups, prepare for state change fixes.
10542 2005-10-18 Wim Taymans <wim@fluendo.com>
10545 * gst/gstelement.c: (gst_element_class_init),
10546 (gst_element_set_state), (gst_element_set_state_func):
10547 * gst/gstelement.h:
10548 Pending ABI changes.
10549 GThreadPool in GstBinClass to monitor async state changes.
10550 state_cookie in GstElement to detect concurrent gst/set state.
10551 set_state is now virtual too in case a very complicated element
10552 has to be constructed.
10554 2005-10-18 Wim Taymans <wim@fluendo.com>
10556 * check/gst/gstbin.c: (GST_START_TEST):
10557 * check/gst/gstmessage.c: (GST_START_TEST):
10558 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10559 * gst/gstbin.c: (bin_bus_handler):
10560 * gst/gstelement.c: (gst_element_commit_state),
10561 (gst_element_lost_state):
10562 * gst/gstmessage.c: (gst_message_new_state_changed),
10563 (gst_message_new_segment_start), (gst_message_new_segment_done),
10564 (gst_message_new_duration), (gst_message_parse_state_changed),
10565 (gst_message_parse_segment_start),
10566 (gst_message_parse_segment_done), (gst_message_parse_duration):
10567 * gst/gstmessage.h:
10568 * tools/gst-launch.c: (event_loop):
10569 Make messages future proof.
10570 state-change gets a flag if it was a message comming from the
10572 segment-start/stop can also be specified in other formats.
10573 A message to notify an app that a pipeline changed playback
10575 Also fix a GstMessage leak in -launch
10577 2005-10-18 Andy Wingo <wingo@pobox.com>
10579 * gst/gstelement.c (gst_element_dispose): More helpful message.
10581 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10583 reviewed by: <delete if not using a buddy>
10585 * common/gtk-doc.mak:
10587 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10589 * gst/gstregistry.c: (gst_registry_scan_path_level):
10590 unref a plug-in we get that was already initialized
10592 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10594 * docs/gst/gstreamer-sections.txt:
10595 * docs/libs/gstreamer-libs-sections.txt:
10596 * gst/gstelement.h:
10597 add new api entries
10598 hide internal macro
10600 2005-10-17 Andy Wingo <wingo@pobox.com>
10602 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10605 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10607 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10609 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10610 (gst_element_get_state_func): Better debug message.
10611 (gst_element_commit_state): s/INFO/DEBUG/.
10612 (gst_element_lost_state, gst_element_change_state):
10614 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10615 (gst_message_new_custom): s/INFO/LOG/.
10617 2005-10-17 Michael Smith <msmith@fluendo.com>
10619 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10620 Check if end time is valid using end time, not start time.
10622 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10624 * check/gst-libs/controller.c: (GST_START_TEST),
10625 (gst_controller_suite):
10626 * libs/gst/controller/gstcontroller.c:
10627 (gst_controlled_property_set_interpolation_mode):
10628 * libs/gst/controller/gstcontroller.h:
10629 * libs/gst/controller/gstinterpolation.c:
10630 * testsuite/controller/.cvsignore:
10631 * testsuite/controller/Makefile.am:
10632 * testsuite/controller/interpolator.c:
10633 merge controller testsuites
10635 remove mem-chunk from docs
10637 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10639 * gst/gstmemchunk.c:
10640 * gst/gstmemchunk.h:
10641 * gst/gsttrashstack.c:
10642 * gst/gsttrashstack.h:
10643 out. get out. you're fired. to the Attic !
10645 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10647 * gst/gstcaps.c: (gst_caps_intersect):
10648 fix signedness issues in a (hopefully) correct way
10649 * gst/gstelement.c: (gst_element_pads_activate):
10651 * gst/gstobject.c: (gst_object_set_parent):
10654 2005-10-17 Julien MOUTTE <julien@moutte.net>
10656 * gst/gstvalue.h: Fix prototypes.
10658 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10660 * docs/gst/gstreamer-sections.txt:
10661 * gst/gst.c: (gst_version_string):
10663 * gst/gstversion.h.in:
10664 * win32/common/libgstreamer.def:
10665 add gst_version_string ()
10667 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10671 * gst/gst.c: (init_post):
10672 * win32/common/config.h.in:
10674 * gst/gstcaps.c: (gst_caps_intersect):
10675 use gint64, the range could be bigger than a guint
10677 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10680 document potential problem in 2038
10682 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10684 * gst/gstcaps.c: (gst_caps_intersect):
10685 Fix guint j diving under 0
10687 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10690 * win32/common/config.h:
10691 * win32/common/config.h.in:
10692 check for process.h, declares getpid() on Windows
10694 include process.h if we have it
10695 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10696 * gst/gstmemchunk.h:
10697 fix signedness issues
10698 * win32/common/libgstreamer.def:
10701 2005-10-16 Julien MOUTTE <julien@moutte.net>
10703 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10704 fix. Because of unsigned ints, caps intersection was going nuts and
10705 trying to access structures with G_MAXUINT index. That fixes
10706 videotestsrc ! ffmpegcolorspace ! fakesink
10707 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10710 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10713 use the gettext macro
10714 * gst/elements/gstelements.c:
10716 * gst/indexers/gstindexers.c:
10717 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10718 * win32/common/config.h:
10720 * win32/common/config.h.in:
10721 add the template to generate config.h
10722 * win32/common/gstenumtypes.c:
10723 * win32/common/gstversion.h:
10726 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10728 * gst/gst.c: (gst_version):
10729 * gst/gstversion.h.in:
10732 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10735 Oops, add missing closing bracket.
10737 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10740 use common m4's for argument checking
10742 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10744 * docs/gst/gstreamer-sections.txt:
10746 Add GST_EVENT_TYPE_NAME() macro.
10748 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10751 * gst/gstpluginfeature.c:
10753 privatize more symbols
10755 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10758 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10759 everything that uses GStreamer API should have the includes
10761 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10763 * docs/gst/gstreamer-sections.txt:
10764 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10766 give each value a _get_type, removes the DATA exports
10768 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10772 remove _gst_registry_auto_load, not used anymore
10773 * gst/gstbin.c: (gst_bin_get_type):
10775 * gst/gstelement.c: (gst_element_get_type):
10776 * gst/gstelement.h:
10777 * gst/gstobject.c: (gst_object_get_type):
10779 * gst/gstpad.c: (gst_pad_get_type):
10781 make _get_type functions similar, fixes data export from library
10783 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10786 correctly make conditionals
10787 * gst/elements/Makefile.am:
10788 * gst/elements/gstelements.c:
10789 fix typo causing fdsrc not to build
10791 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10793 * testsuite/Makefile.am:
10794 * testsuite/bytestream/.cvsignore:
10795 * testsuite/bytestream/Makefile.am:
10796 * testsuite/bytestream/filepadsink.c:
10797 * testsuite/bytestream/gstbstest.c:
10798 * testsuite/bytestream/test1.c:
10799 * testsuite/bytestream/testfile1:
10800 * testsuite/caps/normalisation.c:
10801 * testsuite/caps/random.c: (main):
10802 * testsuite/cleanup/.cvsignore:
10803 * testsuite/cleanup/Makefile.am:
10804 * testsuite/cleanup/cleanup1.c:
10805 * testsuite/cleanup/cleanup2.c:
10806 * testsuite/cleanup/cleanup3.c:
10807 * testsuite/cleanup/cleanup4.c:
10808 * testsuite/cleanup/cleanup5.c:
10809 * testsuite/controller/interpolator.c:
10810 * testsuite/debug/printf_extension.c: (main):
10811 * testsuite/elements/tee.c:
10812 * testsuite/negotiation/.cvsignore:
10813 * testsuite/negotiation/Makefile.am:
10814 * testsuite/negotiation/pad_link.c:
10815 * testsuite/pad/Makefile.am:
10816 * testsuite/pad/chainnopull.c:
10817 * testsuite/pad/getnopush.c:
10818 * testsuite/pad/link.c:
10819 * testsuite/refcounting/sched.c: (create_pipeline):
10820 * testsuite/registry/Makefile.am:
10821 * testsuite/registry/gst-print-formats.c:
10822 * testsuite/schedulers/.cvsignore:
10823 * testsuite/schedulers/142183-2.c:
10824 * testsuite/schedulers/142183.c:
10825 * testsuite/schedulers/143777-2.c:
10826 * testsuite/schedulers/143777.c:
10827 * testsuite/schedulers/147713.c:
10828 * testsuite/schedulers/147819.c:
10829 * testsuite/schedulers/147894-2.c:
10830 * testsuite/schedulers/147894.c:
10831 * testsuite/schedulers/Makefile.am:
10832 * testsuite/schedulers/group_link.c:
10833 * testsuite/schedulers/queue_link.c:
10834 * testsuite/schedulers/relink.c:
10835 * testsuite/schedulers/unlink.c:
10836 * testsuite/schedulers/unref.c:
10837 * testsuite/schedulers/useless_iteration.c:
10838 * testsuite/states/bin.c:
10839 clean out/remove some stuff from the testsuite directories
10841 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10844 check for some headers
10845 * gst/elements/Makefile.am:
10846 * gst/elements/gstelements.c:
10847 don't compile fdsrc without sys/socket.h
10848 * gst/indexers/Makefile.am:
10849 * gst/indexers/gstindexers.c: (plugin_init):
10850 don't compile fileindex without mmap
10852 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10859 * check/Makefile.am:
10860 * docs/gst/Makefile.am:
10861 * examples/helloworld/Makefile.am:
10863 * gst/base/Makefile.am:
10864 * gst/check/Makefile.am:
10865 * gst/elements/Makefile.am:
10866 * gst/indexers/Makefile.am:
10867 * gst/parse/Makefile.am:
10868 * libs/gst/controller/Makefile.am:
10869 * libs/gst/dataprotocol/Makefile.am:
10870 * examples/helloworld/helloworld.c: (event_loop):
10871 compile fixes, though it's not being compiled currently
10873 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10875 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10876 Add some simple tests for the new taglist date API.
10878 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10880 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10881 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10882 Beautify 'last-message' output: print 'none' for buffer timestamps
10883 and durations if none is set; improve alignment with next messages.
10885 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10887 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10888 * gst/gstpluginfeature.h:
10889 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10890 * gst/gstregistry.h:
10891 * docs/gst/gstreamer-sections.txt:
10892 Add new API to check plugin feature version requirements.
10894 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10895 Some basic tests for the above.
10897 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10899 * gst/gststructure.c: (gst_structure_to_string):
10900 guard against NULL printf - happens when for example
10901 a message structure with GstClock gets serialized
10903 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10905 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10906 Fix presumable copy'n'pasto.
10908 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10910 * gst/elements/gstfakesrc.h:
10911 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10912 * gst/elements/gsttypefindelement.c:
10913 fix some signedness
10914 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10915 I wonder if this could actually write +2GB files before
10917 2005-10-13 Andy Wingo <wingo@pobox.com>
10919 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10920 Fix Timmeke Waymans bug.
10921 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10922 string of the proper length to gst_caps_from_string. There's a
10923 potential for, before this fix, that this could cause someone
10924 connecting over the network to cause a segfault if the payload is
10925 not NUL-terminated.
10927 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10929 * docs/design/draft-push-pull.txt:
10930 * docs/design/part-overview.txt:
10931 * docs/random/TODO-pre-0.9:
10932 * docs/random/old/ChangeLog.gstreamer:
10933 * gst/base/gstpushsrc.c:
10937 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10939 * gst/glib-compat.c: (gst_flags_get_first_value):
10940 * gst/glib-compat.h:
10941 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10942 (gst_value_compare_double), (gst_value_serialize_flags):
10943 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10946 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10948 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10949 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10951 * tools/gst-launch.c: (event_loop):
10952 print out clock nicely
10954 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10956 * docs/gst/gstreamer-sections.txt:
10957 * gst/gsttaglist.h:
10958 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10959 (gst_tag_list_get_date_index):
10960 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10961 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10963 2005-10-13 Julien MOUTTE <julien@moutte.net>
10965 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10966 (gst_collectpads_chain):
10967 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10970 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10972 * docs/gst/gstreamer-sections.txt:
10975 * tools/gst-inspect.c: (main):
10976 * tools/gst-launch.c: (main):
10977 * tools/gst-run.c: (main):
10978 * tools/gst-xmlinspect.c: (main):
10979 fix GOption context leaks
10982 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10986 * win32/common/config.h:
10988 * win32/vs6/grammar.dsp:
10989 * win32/vs6/libgstelements.dsp:
10990 * win32/vs6/libgstreamer.dsp:
10993 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10996 * gst/base/gstbasesrc.c: (gst_base_src_query):
10997 fix more guint64<->gdouble conversions
10999 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11002 add win32-update target
11003 * win32/common/gstconfig.h:
11004 * win32/common/gstenumtypes.c:
11005 * win32/common/gstenumtypes.h:
11006 * win32/common/gstversion.h:
11007 add files that visual studio can't generate
11009 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11012 add a win32-update target
11015 2005-10-12 Wim Taymans <wim@fluendo.com>
11017 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11018 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11019 * gst/gstelement.c: (gst_element_commit_state),
11020 (gst_element_set_state):
11021 Protect flags with proper lock.
11022 unref provided cached clock in dispose.
11024 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11027 * gst/gstminiobject.h:
11029 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11030 removed unused flags from miniobject
11033 2005-10-12 Wim Taymans <wim@fluendo.com>
11035 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11036 (gst_file_sink_event), (gst_file_sink_render):
11037 Flush before seeking.
11039 2005-10-12 Andy Wingo <wingo@pobox.com>
11041 * gst/gst.c (gst_init_check): Ignore unknown options, as has
11042 always been the case.
11044 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11046 * check/gst/gstbin.c: (GST_START_TEST):
11047 * docs/gst/gstreamer-sections.txt:
11048 * gst/base/gstbasesink.c: (gst_base_sink_init):
11049 * gst/base/gstbasesrc.c: (gst_base_src_init),
11050 (gst_base_src_get_range), (gst_base_src_check_get_range),
11051 (gst_base_src_start), (gst_base_src_stop):
11052 * gst/base/gstbasesrc.h:
11053 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11054 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11055 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11059 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11061 * gst/gstelement.c: (gst_element_is_locked_state),
11062 (gst_element_set_locked_state), (gst_element_commit_state),
11063 (gst_element_set_state):
11064 * gst/gstelement.h:
11065 * gst/gstindex.c: (gst_index_init):
11067 * gst/gstminiobject.h:
11068 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11069 (gst_object_set_parent):
11071 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11072 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11074 * gst/gstpadtemplate.h:
11075 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11076 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11077 * gst/gstpipeline.h:
11078 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11079 (gst_file_index_commit):
11080 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11081 * testsuite/pad/link.c: (gst_test_src_init),
11082 (gst_test_filter_init), (gst_test_sink_init):
11083 * testsuite/states/locked.c: (main):
11084 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11085 moved bitshift from macro to enum definition
11087 2005-10-12 Wim Taymans <wim@fluendo.com>
11089 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11090 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11091 (gst_file_sink_render):
11092 Some more debugging info.
11094 2005-10-12 Wim Taymans <wim@fluendo.com>
11096 * docs/design/part-states.txt:
11097 * tools/gst-launch.c: (main):
11099 Revert non-intentional change.
11101 2005-10-12 Wim Taymans <wim@fluendo.com>
11103 * check/gst/gstbin.c: (GST_START_TEST):
11104 * check/gst/gstelement.c: (GST_START_TEST):
11105 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11106 * check/gst/gstghostpad.c: (GST_START_TEST):
11107 * check/gst/gstpipeline.c: (GST_START_TEST):
11108 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11109 * check/states/sinks.c: (GST_START_TEST):
11110 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11111 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11112 (gst_bin_remove_func), (gst_bin_get_state_func),
11113 (gst_bin_recalc_state), (gst_bin_change_state_func),
11115 * gst/gstelement.c: (gst_element_get_state_func),
11116 (gst_element_get_state), (gst_element_abort_state),
11117 (gst_element_commit_state), (gst_element_set_state),
11118 (gst_element_change_state), (gst_element_change_state_func):
11119 * gst/gstelement.h:
11120 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11121 (gst_pipeline_provide_clock_func):
11122 * gst/gstutils.c: (gst_element_link_pads_filtered):
11123 * tools/gst-launch.c: (main):
11124 * tools/gst-typefind.c: (main):
11125 Use GstClockTime in _get_state() instead of GTimeVal.
11126 Remove old code in gstutils.c
11128 2005-10-12 Andy Wingo <wingo@pobox.com>
11130 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11133 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11134 there is no task. Shouldn't affect any code, as nothing in our
11135 plugins checks this return value.
11136 (gst_pad_stop_task): Also take the stream lock if the pad has no
11137 task. Docs updated.
11139 2005-10-12 Wim Taymans <wim@fluendo.com>
11141 * gst/gstpad.c: (pre_activate), (post_activate),
11142 (gst_pad_activate_pull), (gst_pad_activate_push):
11143 Cleanup activation code. Reset old state if
11146 2005-10-12 Wim Taymans <wim@fluendo.com>
11148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11149 (gst_base_sink_change_state):
11150 No need to prerol after receiving EOS.
11152 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11153 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11154 * gst/elements/gstidentity.c: (gst_identity_event):
11155 Print events more verbosely.
11157 2005-10-12 Wim Taymans <wim@fluendo.com>
11159 * check/Makefile.am:
11160 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11161 * check/states/sinks2.c:
11162 Moved sinks2 testcode in sinks check.
11164 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11165 (gst_bin_remove_func), (gst_bin_recalc_state),
11166 (gst_bin_change_state_func), (bin_bus_handler):
11167 Fix potential race condition when _get_state() iterated over an
11168 ASYNC element right before it posted a state completion.
11171 Do proper cast here.
11173 * gst/gstevent.c: (gst_event_new_newsegment),
11174 (gst_event_parse_newsegment):
11175 A playback rate of 0.0 is not allowed.
11177 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11179 * win32/common/config.h:
11180 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11181 (_trewinddir), (_ttelldir), (_tseekdir):
11182 * win32/common/dirent.h:
11183 * win32/common/gtchar.h:
11184 * win32/common/libgstbase.def:
11185 * win32/common/libgstreamer.def:
11186 * win32/vs6/grammar.dsp:
11187 * win32/vs6/gst_inspect.dsp:
11188 * win32/vs6/gst_launch.dsp:
11189 * win32/vs6/gstreamer.dsw:
11190 * win32/vs6/libgstbase.dsp:
11191 * win32/vs6/libgstelements.dsp:
11192 * win32/vs6/libgstreamer.dsp:
11193 Visual Studio 6 project files, and a new common directory.
11196 2005-10-11 Wim Taymans <wim@fluendo.com>
11198 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11199 (gst_base_sink_do_sync), (gst_base_sink_query),
11200 (gst_base_sink_change_state):
11201 * gst/base/gstbasesink.h:
11202 Correctly parse newsegment info.
11204 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11206 * gst/gst.c: (init_post):
11207 split plugin paths correctly
11209 2005-10-11 Wim Taymans <wim@fluendo.com>
11211 * check/gst/gstevent.c: (GST_START_TEST):
11212 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11213 (gst_base_sink_change_state):
11214 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11215 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11216 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11217 * gst/gstevent.c: (gst_event_new_newsegment),
11218 (gst_event_parse_newsegment):
11220 Added extra flag to newsegment for future API freeze.
11221 Updated check and base elements.
11223 2005-10-11 Julien MOUTTE <julien@moutte.net>
11225 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11226 (gst_collectpads_add_pad), (gst_collectpads_pop),
11227 (gst_collectpads_event), (gst_collectpads_chain):
11228 * gst/base/gstcollectpads.h: Handle EOS correctly.
11230 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11232 * tools/gst-launch.c: (main):
11233 more null protecting
11235 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11237 * gst/gst-i18n-lib.h:
11238 check for ENABLE_NLS, not GETTEXT_PACKAGE
11239 * gst/gstregistry.c: (gst_registry_add_plugin),
11240 (gst_registry_scan_path_level),
11241 (_gst_registry_remove_cache_plugins):
11242 protect possibly NULL strings
11243 * gst/parse/types.h:
11244 config.h already included before
11245 * tools/gst-inspect.c: (main):
11246 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11247 check for ENABLE_NLS, not GETTEXT_PACKAGE
11248 * tools/gst-launch.c: (main):
11249 check for ENABLE_NLS, not GETTEXT_PACKAGE
11251 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11254 if we don't have glib, fail before testing 2.8
11255 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11256 fix a leak, should fix plugins-base testsuite
11258 2005-10-11 Andy Wingo <wingo@pobox.com>
11260 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11261 take the mode we're going to as an arg. Go head and set the mode
11262 and flushing flags now, so that if the activate function starts a
11263 thread all the flags will be in the right state.
11264 (post_activate): Renamed also. Just handle making sure streaming
11265 finishes for the deactivation case, and setting the deactivated
11267 (gst_pad_set_active): Complain loudly if deactivation fails.
11268 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11269 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11270 remove the terrible hack.
11272 2005-10-11 Wim Taymans <wim@fluendo.com>
11274 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11275 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11276 (gst_bin_recalc_state), (gst_bin_change_state_func),
11277 (gst_bin_dispose), (bin_bus_handler):
11279 Prepare to make current EOS message queue more generic.
11282 * gst/gstevent.c: (gst_event_new_newsegment),
11283 (gst_event_parse_newsegment):
11285 Rename base to stream_time.
11287 * gst/gstmessage.h:
11290 2005-10-11 Wim Taymans <wim@fluendo.com>
11292 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11293 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11294 (gst_bin_change_state_func), (bin_bus_handler):
11296 Work on proper clock selection.
11298 2005-10-11 Edward Hervey <edward@fluendo.com>
11300 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11301 * libs/gst/controller/gstcontroller.h:
11302 Added GList* version of _remove_properties() in order to be able to wrap
11305 2005-10-11 Wim Taymans <wim@fluendo.com>
11307 * docs/design/part-states.txt:
11310 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11311 (gst_bin_change_state_func), (bin_bus_handler):
11312 Doc updates. Don't distribute the same clock over and over again.
11318 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11319 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11320 (gst_pad_send_event):
11322 Make probe emission threadsafe again.
11323 Register quarks and move _get_name() from utils.
11326 * gst/gstpipeline.c: (gst_pipeline_class_init),
11327 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11328 Only redistribute the clock of it changed.
11330 * gst/gstsystemclock.h:
11335 Moved the _flow_get_name() to GstPad.
11337 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11339 * check/gst-libs/gdp.c: (GST_START_TEST):
11340 * check/gst/gstcaps.c: (GST_START_TEST):
11341 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11342 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11343 (gst_dp_packet_from_caps):
11344 fix more valgrind warnings before turning up the heat
11346 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11348 * gst/parse/grammar.y:
11349 some cleanup before the hacking
11351 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11353 * gst/base/gstbasesrc.c: (gst_base_src_query):
11355 * gst/gstutils.c: (gst_guint64_to_gdouble),
11356 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11358 externalize, basesrc uses it
11359 obviously the implementation needs testing
11361 2005-10-10 Wim Taymans <wim@fluendo.com>
11363 * tests/sched/Makefile.am:
11364 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11365 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11367 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11369 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11370 apparently converting from guint64 to double is not implemented
11373 2005-10-10 Wim Taymans <wim@fluendo.com>
11375 * check/Makefile.am:
11376 * check/generic/states.c: (GST_START_TEST):
11377 * check/gst/gstbin.c: (GST_START_TEST):
11378 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11379 * check/states/sinks.c: (GST_START_TEST):
11380 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11382 Check fixes, use API as stated in design docs, remove hacks.
11384 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11385 (gst_base_sink_change_state):
11386 Catch stopping our task while we're shutting down.
11388 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11389 (gst_bin_remove_func), (gst_bin_get_state_func),
11390 (gst_bin_recalc_state), (gst_bin_change_state_func),
11393 * gst/gstelement.c: (gst_element_init),
11394 (gst_element_get_state_func), (gst_element_abort_state),
11395 (gst_element_commit_state), (gst_element_lost_state),
11396 (gst_element_set_state), (gst_element_change_state),
11397 (gst_element_change_state_func):
11398 * gst/gstelement.h:
11399 New state change algorithm (see #318116)
11401 * gst/gstpipeline.c: (gst_pipeline_class_init),
11402 (gst_pipeline_init), (gst_pipeline_set_property),
11403 (gst_pipeline_get_property), (do_pipeline_seek),
11404 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11405 * gst/gstpipeline.h:
11406 Remove crude state change hacks.
11409 Remove crude hacks.
11411 * tools/gst-launch.c: (main):
11412 Fixes for state change. Needs some more work to fully use the
11415 2005-10-10 Andy Wingo <wingo@pobox.com>
11417 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11419 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11420 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11423 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11425 * gst/gstiterator.c: (gst_iterator_new):
11426 Fix my previous commit: GTypes passed to gst_iterator_new()
11427 can be fundamental types.
11429 2005-10-10 Wim Taymans <wim@fluendo.com>
11431 * gst/gstelement.c: (gst_element_iterate_pad_list),
11432 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11433 (gst_element_iterate_sink_pads):
11434 Use src/sink pads lists for the respective iterators instead
11437 2005-10-10 Andy Wingo <wingo@pobox.com>
11439 Merged in popt removal + GOption addition patch from Ronald, bug
11442 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11443 GstElement macros around, remove popt-related symbols, add goption
11446 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11448 * docs/gst/Makefile.am:
11449 * docs/libs/Makefile.am: No POPT_CFLAGS.
11451 * examples/manual/Makefile.am:
11452 * docs/manual/basics-init.xml: Doc updates with an example.
11454 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11455 (gst_init), (parse_one_option), (parse_goption_arg):
11456 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11457 bit of hand merging and debugging to get the GOption stuff working
11460 * tests/Makefile.am:
11461 * tools/Makefile.am:
11462 * tools/gst-inspect.c: (main):
11463 * tools/gst-launch.c: (main):
11464 * tools/gst-run.c: (main):
11465 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11467 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11469 * gst/gstiterator.c: (gst_iterator_new):
11470 Add assertions to make sure passed GType is likely to really
11471 be a GType (as the compiler won't catch it if the size and
11472 GType arguments get mixed up, see #318447).
11474 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11476 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11478 * gst/gstbin.c: (gst_bin_iterate_sorted):
11479 Pass GType and size arguments to gst_iterator_new() in the right
11480 order (maybe we should make _new() take the GType as first argument
11481 just like _new_list()?) (#318447).
11484 2005-10-10 Wim Taymans <wim@fluendo.com>
11486 * gst/gstelement.c: (gst_element_finalize):
11487 And free the GStaticRecMutex too
11489 2005-10-10 Andy Wingo <wingo@pobox.com>
11491 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11492 Allocate and free the mutex properly.
11494 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11496 (GstElement): The state_lock is now recursive. Rebuild your
11497 plugins, suckers. Old macros adapted.
11499 * docs/gst/gstreamer-sections.txt: Doc updates.
11502 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11503 (g_static_rec_cond_wait): Ported from state changes patch, while
11504 we wait on bug #317802 to be solved in a well-distributed GLib.
11506 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11507 gst_element_change_state, variable name changes.
11508 (gst_element_change_state): Split out of gst_element_set_state in
11509 preparation for the state change merge. Doesn't pay attention to
11510 the 'transition' argument.
11511 (gst_element_set_state): Updates, hopefully purely cosmetic.
11512 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11513 state change patch.
11514 (gst_element_get_state_func): Renamed from get_state, cosmetic
11517 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11519 * gst/elements/gstelements.c:
11520 * win32/GStreamer.vcproj:
11522 * win32/dirent.c: (_tseekdir):
11523 * win32/gst-inspect.vcproj:
11524 * win32/gst-launch.vcproj:
11525 * win32/gstconfig.h:
11526 * win32/gstelements.vcproj:
11527 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11528 * win32/gstreamer.def:
11529 * win32/msvc71.sln:
11530 updates for the win32 build (patch from Sebastien Moutte)
11532 2005-10-10 Andy Wingo <wingo@pobox.com>
11534 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11535 gst_bin_get_state, cleaned up (but no logic changes).
11536 (bin_element_is_sink): Comment updates.
11537 (sink_iterator_filter): Remove needless cast.
11538 (gst_bin_iterate_sinks): Doc update.
11539 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11540 cleaned up (but no logic changes).
11542 * check/states/sinks.c (test_src_sink): Cleanups from the state
11544 (test_livesrc_sink): Sync on the state.
11546 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11547 the state change patch.
11549 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11552 * check/gst/gstbin.c: Merge in some style fixes and additional
11553 checks from Wim's state change patch.
11555 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11557 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11558 (gst_type_find_helper):
11559 Check whether we have the requested data already in our list of
11560 cached buffers before pulling a new buffer; also make the buffer
11561 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11563 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11568 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11569 don't use long long, it's not portable. Replacing with
11570 gint64 seems to work; let's hope no skeletons fall out of the closet.
11572 2005-10-10 Andy Wingo <wingo@pobox.com>
11574 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11576 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11578 * docs/gst/gstreamer-sections.txt:
11583 * gst/gstmessage.c: (gst_message_parse_state_changed):
11586 more docs, fix compilation
11588 2005-10-09 Philippe Khalaf <burger@speedy.org>
11589 * gst/gstmessage.c:
11590 Fixed a few forgotten variables on previous commit
11592 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11594 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11595 Fix evil typefind crasher: getrange() might return a short
11596 buffer at the end of a file, but gst_type_find_peek() must
11597 either return the full data as requested or NULL, but
11598 never a short buffer.
11600 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11602 * gst/gstmessage.c: (gst_message_new_state_changed),
11603 (gst_message_parse_state_changed):
11604 * gst/gstmessage.h:
11605 don't use "new", it's a C++ keyword
11607 2005-10-08 Wim Taymans <wim@fluendo.com>
11609 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11610 * gst/gstelement.c: (gst_element_post_message):
11611 * gst/gstpipeline.c: (gst_pipeline_change_state):
11612 Small docs and debug updates.
11614 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11616 * docs/gst/gstreamer-sections.txt:
11617 * gst/gstelementfactory.c:
11619 * gst/gsttaglist.c:
11622 2005-10-08 Wim Taymans <wim@fluendo.com>
11624 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11625 (gst_bin_dispose), (bin_bus_handler):
11626 Fix typos, add comments.
11627 Clear EOS list when going to PAUSED from any direction and do it
11628 in a threadsafe way.
11629 Get base time in a threadsafe way too.
11630 Fix confusing debug in the change_state function.
11631 Various other small cleanups.
11633 * gst/gstelement.c: (gst_element_post_message):
11634 Fix very verbose bus posting code.
11636 * gst/gstpipeline.c: (gst_pipeline_class_init),
11637 (gst_pipeline_set_property), (gst_pipeline_get_property),
11638 (gst_pipeline_change_state):
11639 Small ARG_ -> PROP_ cleanup
11641 2005-10-08 Wim Taymans <wim@fluendo.com>
11643 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11644 Do a less CPU demanding EOS check because we can.
11646 2005-10-08 Wim Taymans <wim@fluendo.com>
11648 * libs/gst/dataprotocol/dataprotocol.c:
11649 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11650 (gst_dp_packet_from_event):
11651 * libs/gst/dataprotocol/dataprotocol.h:
11652 * libs/gst/dataprotocol/dp-private.h:
11653 It's about time we bump the version number.
11654 Since event types don't fit in the guint8 anymore describing
11655 the payload type, make payload type 16 bits wide.
11657 2005-10-08 Wim Taymans <wim@fluendo.com>
11659 * docs/design/part-TODO.txt:
11660 * docs/design/part-clocks.txt:
11661 * docs/design/part-events.txt:
11662 * docs/design/part-gstbin.txt:
11663 * docs/design/part-gstelement.txt:
11664 * docs/design/part-gstpipeline.txt:
11665 * docs/design/part-live-source.txt:
11666 * docs/design/part-messages.txt:
11667 * docs/design/part-overview.txt:
11668 * docs/design/part-states.txt:
11671 2005-10-08 Wim Taymans <wim@fluendo.com>
11675 Fix event quark registration.
11676 Add some space between events so we can insert them in the
11679 2005-10-08 Wim Taymans <wim@fluendo.com>
11681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11682 (gst_base_sink_handle_buffer):
11683 Better log message.
11686 * gst/gstelement.h:
11689 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11690 (gst_queue_set_property), (gst_queue_get_property):
11692 Remove old unused properties.
11694 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11695 * docs/gst/gstreamer-sections.txt:
11696 * gst/gstmessage.c:
11697 * gst/gstmessage.h:
11698 * gst/gstminiobject.c:
11699 * gst/gstminiobject.h:
11703 lots of new docs and doc fixes
11705 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11707 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11709 * gst/gstregistry.c: (gst_registry_lookup_locked),
11710 (gst_registry_scan_path_level):
11711 * gst/gstregistryxml.c: (load_plugin):
11712 Only ever load one plugin for a given plugin basename.
11713 This ensures correct overriding of GST_PLUGIN_PATH over
11714 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11715 system installed plugins.
11717 2005-10-08 Wim Taymans <wim@fluendo.com>
11719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11720 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11721 Prepare for doing QOS.
11723 2005-10-08 Wim Taymans <wim@fluendo.com>
11725 * check/gst/gstbin.c: (GST_START_TEST):
11726 * check/pipelines/cleanup.c: (GST_START_TEST):
11727 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11728 Allow new clock message too.
11730 2005-10-08 Wim Taymans <wim@fluendo.com>
11732 * gst/gstmessage.c: (gst_message_new_error),
11733 (gst_message_new_warning), (gst_message_new_tag),
11734 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11735 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11736 (gst_message_new_segment_start), (gst_message_new_segment_done),
11737 (gst_message_parse_state_changed),
11738 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11739 (gst_message_parse_new_clock):
11740 * gst/gstmessage.h:
11741 Also carry the clock in question.
11743 2005-10-08 Wim Taymans <wim@fluendo.com>
11745 * gst/gstmessage.c: (gst_message_new_custom),
11746 (gst_message_new_eos), (gst_message_new_error),
11747 (gst_message_new_warning), (gst_message_new_tag),
11748 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11749 (gst_message_new_new_clock), (gst_message_new_segment_start),
11750 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11751 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11752 * gst/gstmessage.h:
11754 Added clock related messages.
11756 * gst/gstpipeline.c: (gst_pipeline_change_state):
11757 Post message when the clock changed.
11759 * tools/gst-launch.c: (event_loop):
11762 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11764 * tools/gst-inspect.c: (print_element_properties_info):
11765 Can't pass NULL strings to g_print() on windows.
11767 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11769 * docs/Makefile.am:
11770 * docs/gst/Makefile.am:
11771 * docs/gst/gstreamer-docs.sgml:
11772 * docs/gst/running.xml:
11773 * docs/version.entities.in:
11774 add a chapter on running GStreamer.
11775 document GST_DEBUG and GST_PLUGIN* env vars
11777 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11782 remove PLUGINS_BUILDDIR stuff
11783 * gst/gst.c: (init_post):
11784 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11786 remove, it was condescending and not needed
11788 2005-10-08 Wim Taymans <wim@fluendo.com>
11790 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11791 (gst_base_sink_handle_object), (gst_base_sink_event),
11792 (gst_base_sink_wait), (gst_base_sink_handle_event),
11793 (gst_base_sink_change_state):
11794 * gst/base/gstbasesink.h:
11795 Repost EOS message while going to PLAYING if still EOS.
11796 Make sure that when receiving a FLUSH_START we don't attempt
11797 to sync on the clock anymore.
11799 2005-10-08 Wim Taymans <wim@fluendo.com>
11801 * tools/gst-launch.c: (event_loop):
11802 Better message printout.
11804 2005-10-08 Wim Taymans <wim@fluendo.com>
11806 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11807 (gst_bin_child_proxy_get_children_count):
11808 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11809 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11810 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11811 (gst_child_proxy_set_valist):
11812 * gst/parse/grammar.y:
11813 Make ChildProxy threadsafe and fix mem leaks.
11815 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11817 * gst/gst.c: (init_post):
11818 debug the GST_PLUGIN_ env vars
11820 2005-10-08 Wim Taymans <wim@fluendo.com>
11822 * check/gst/gstbin.c: (GST_START_TEST):
11823 * check/gst/gstmessage.c: (GST_START_TEST):
11824 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11825 * gst/gstelement.c: (gst_element_commit_state),
11826 (gst_element_lost_state):
11827 * gst/gstmessage.c: (gst_message_new_state_changed),
11828 (gst_message_parse_state_changed):
11829 * gst/gstmessage.h:
11830 * tools/gst-launch.c: (event_loop):
11831 Added extra field to STATE_CHANGE message with the pending
11832 state, which will be different from the new state soon.
11834 2005-10-08 Wim Taymans <wim@fluendo.com>
11836 * gst/gstbus.c: (gst_bus_pop):
11838 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11839 Small cleanups and doc updates.
11841 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11843 * gst/gst.c: (init_pre):
11844 * gst/gstbin.c: (gst_bin_add_func):
11845 log distributing clocks and base time
11846 * gst/gstregistry.c: (gst_registry_add_plugin),
11847 (gst_registry_scan_path_level), (gst_registry_scan_path):
11848 clean up the debugging output a little
11849 * gst/gstutils.c: (gst_element_state_get_name):
11850 warn about a memleak (I've actually seen this be used, though
11851 it was probably a bug)
11853 2005-10-07 Wim Taymans <wim@fluendo.com>
11855 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11856 (gst_base_src_init), (gst_base_src_default_newsegment),
11857 (gst_base_src_newsegment), (gst_base_src_do_seek),
11858 (gst_base_src_loop), (gst_base_src_start):
11859 * gst/base/gstbasesrc.h:
11860 Make the newsegment event customizable by subclasses.
11862 2005-10-07 Wim Taymans <wim@fluendo.com>
11864 * gst/gstevent.c: (gst_event_new_buffersize),
11865 (gst_event_parse_buffersize):
11867 New event for future idea.
11869 2005-10-07 Andy Wingo <wingo@pobox.com>
11871 * gst/gstelement.c (gst_element_post_message): Doc update.
11873 * docs/gst/gstreamer-sections.txt: Update.
11875 * gst/gstmessage.c (gst_message_new_application): Made into a
11876 function like honest API calls.
11877 (gst_message_new_element): New message type.
11879 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11881 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11882 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11885 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11886 NO_PREROLL from gst_element_change_state to fall through.
11888 2005-10-07 Wim Taymans <wim@fluendo.com>
11890 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11891 (gst_ghost_pad_do_activate_push):
11892 Activating a ghostpad with no internal pad in push mode
11895 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11898 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11899 Fixes compilation on Windows.
11901 2005-10-07 Michael Smith <msmith@fluendo.com>
11903 * tools/gst-inspect.c:
11904 Print out feature and plugin count at the end when printing out
11907 2005-10-04 Michael Smith <msmith@fluendo.com>
11909 * gst/gsterror.c: (_gst_stream_errors_init):
11910 Add another error string used in a few existing plugins.
11913 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11914 * tools/gst-inspect.c: (print_element_info):
11915 When a feature disappears from a plugin (and the feature exists in
11916 the cached registry file), things went horribly wrong. This isn't a
11917 complete fix, we should actually be removing the 'missing' features
11918 from the features list when we load the actual plugin. That's not
11921 2005-10-04 Johan Dahlin <johan@gnome.org>
11923 * check/gst/gstiterator.c: (GST_START_TEST):
11924 * gst/gstbin.c: (gst_bin_iterate_elements),
11925 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11926 * gst/gstelement.c: (gst_element_iterate_pads):
11927 * gst/gstformat.c: (gst_format_iterate_definitions):
11928 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11929 (gst_iterator_new_list), (gst_iterator_filter):
11930 * gst/gstiterator.h:
11931 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11932 Add a GType to GstIterator, update callsites and tests.
11934 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11936 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11937 give events a chance to be handled by event probes when the pad
11940 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11942 * gst/gstevent.c: (gst_event_type_get_name),
11943 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11945 add string representations for event types
11947 2005-10-06 Wim Taymans <wim@fluendo.com>
11949 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11950 Don't use NULL pointers.
11952 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11954 * gst/gst_private.h:
11956 * gst/gstelement.c:
11958 * gst/gstpluginfeature.c:
11959 widen the debug category in output to fit the biggest one we have
11960 add a bus category and use it
11961 play with the colors
11962 fix up some categories
11964 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11966 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11967 add push activation of sink ghost pads.
11968 Andye, please verify
11970 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11972 * gst/gstutils.c: (gst_element_link_pads):
11973 fix a bug in the case where neither element has a pad
11974 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11975 add a test for that case
11977 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11979 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11980 emit have-data before checking for peers. This allows
11981 for probe handlers to connect elements. This helps autopluggers.
11982 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11984 add six checks, linked/unlinked with no/true/false probe
11986 2005-10-04 Wim Taymans <wim@fluendo.com>
11988 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11989 (gst_fake_sink_event), (gst_fake_sink_preroll),
11990 (gst_fake_sink_render), (gst_fake_sink_change_state):
11991 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11992 (gst_fake_src_get_property), (gst_fake_src_create),
11993 (gst_fake_src_stop):
11994 * gst/elements/gstidentity.c: (gst_identity_stop):
11995 Protect last_message with lock.
11997 2005-10-04 Edward Hervey <edward@fluendo.com>
12000 Added precision in the comments for GST_FORMAT_DEFAULT
12002 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
12004 * tools/gst-launch.c: (main):
12005 Don't try to run erroneous pipelines.
12007 2005-10-04 Julien MOUTTE <julien@moutte.net>
12009 * gst/gstbus.c: We don't need this header.
12011 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12014 back to development
12016 === release 0.9.3 ===
12018 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12022 Releasing 0.9.3, "Unregistered"
12024 2005-10-03 Andy Wingo <wingo@pobox.com>
12026 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12027 whereby calling a pad's activatepush() function can start a thread
12028 that starts to push or pull before the pad gets the FLUSHING flag
12029 unset. Hack around it by holding the stream lock until the flag is
12030 set. Need to replace this with a proper solution. Together with
12031 the ghost pad fixes, this fixes mp3 playing/tagreading.
12033 * docs/design/part-gstghostpad.txt: Add a note about activation of
12034 proxy pads outside of ghost pads.
12036 * gst/gstghostpad.c: Implement the ghost pad activation design.
12038 2005-10-02 Andy Wingo <wingo@pobox.com>
12040 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12041 It is volatile, after all.
12043 * docs/design/part-gstghostpad.txt: Flesh out activation with
12046 * gst/base/gstbasesrc.c (gst_base_src_init): Use
12049 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
12052 Fix (unused) AM_CONDITIONAL tests.
12054 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
12056 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12058 * gst/gstutils.c: (gst_pad_query_convert):
12059 Add assertion that makes sure src_val is >=0, just like
12060 gst_query_new_convert() has. (#315895)
12062 2005-09-30 Edward Hervey <edward@fluendo.com>
12064 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12065 Let's not iterate pads we're not interested in, it avoids getting
12066 sky-high refcounts on sinkpad.
12068 2005-09-30 Wim Taymans <wim@fluendo.com>
12070 * gst/gstelement.c: (gst_element_set_state),
12071 (gst_element_change_state):
12072 Small tweak, element in ASYNC remains ASYNC.
12074 2005-09-30 Wim Taymans <wim@fluendo.com>
12076 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12077 Only error is an error.
12079 * gst/gstbin.c: (gst_bin_change_state):
12082 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12083 Also call pad_block in pad alloc.
12085 * gst/gstutils.c: (gst_flow_get_name):
12088 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12090 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12091 (gst_base_src_get_range):
12092 Fix documentation typos. Add some more debug info.
12094 2005-09-29 David Schleef <ds@schleef.org>
12096 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12097 more end-user friendly.
12098 * tools/gst-inspect.c: (main): Check if command-line argument is
12099 a file and attempt to load that file as a plugin.
12101 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12103 * check/gst/gstbin.c:
12104 * check/states/sinks.c:
12105 fix tests for the new warning
12106 * check/gst/gstpipeline.c:
12107 add a test for pipeline and bus interaction
12108 * gst/gstelement.c:
12109 elements should be NULL if they get disposed; add a warning if not
12111 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12114 for 2.6 refcounting, make debug log more correct by printing
12115 the actual refcounts at the time of swap (Wim)
12117 2005-09-29 Andy Wingo <wingo@pobox.com>
12119 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12120 removes signal watches previously added via
12121 gst_bus_add_signal_watch.
12122 (gst_bus_add_signal_watch): Don't return the source id, just store
12123 it on the bus if there wasn't an id already.
12125 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12126 add_signal_watch and remove_signal_watch.
12128 2005-09-29 Edward Hervey <edward@fluendo.com>
12130 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12131 Better if we actually iterate the list :)
12133 2005-09-29 Wim Taymans <wim@fluendo.com>
12135 * check/gst/gstbin.c: (GST_START_TEST):
12136 Change for new bus API.
12138 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12139 (send_messages), (GST_START_TEST), (gstbus_suite):
12140 Change for new bus signal API.
12142 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12143 (gst_bus_source_prepare), (gst_bus_source_check),
12144 (gst_bus_create_watch), (gst_bus_add_watch_full),
12145 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12146 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12148 Remove support for multiple GSources operating on different
12149 message types as it is too complex and unneeded when using
12151 Added support for receiving signals from the bus.
12153 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12155 * docs/libs/tmpl/gstdataprotocol.sgml:
12156 * docs/manual/advanced-dataaccess.xml:
12157 * gst/elements/gstcapsfilter.c:
12159 rename filter-caps to caps property
12161 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12163 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12164 More robust fraction string parsing.
12166 * docs/pwg/appendix-porting.xml:
12167 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12169 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12171 * gst/gstcaps.c: (gst_caps_do_simplify):
12172 Thou shalt not free a structure and then continue using it
12173 in the next loop iteration.
12175 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12177 Add test case for caps simplification.
12179 2005-09-29 Wim Taymans <wim@fluendo.com>
12181 * check/gst/gstbin.c: (GST_START_TEST):
12184 2005-09-29 Wim Taymans <wim@fluendo.com>
12186 * check/gst/gstbin.c: (GST_START_TEST):
12189 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12190 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12191 (find_element), (gst_bin_sort_iterator_next),
12192 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12193 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12194 (gst_bin_change_state), (gst_bin_dispose):
12195 A bin does not have a bus, it gets the bus from the parent.
12197 * gst/gstelement.c: (gst_element_requires_clock),
12198 (gst_element_provides_clock), (gst_element_is_indexable),
12199 (gst_element_is_locked_state), (gst_element_change_state),
12200 (gst_element_set_bus_func):
12203 * gst/gstpipeline.c: (gst_pipeline_class_init),
12204 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12205 The pipeline provides a bus.
12207 2005-09-28 Johan Dahlin <johan@gnome.org>
12209 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12210 gst_structure_get_enum instead of gst_structure_get_int
12212 * gst/gststructure.c (gst_structure_get_enum): Impl.
12214 * gst/gststructure.h (gst_structure_get_enum): Add
12216 * docs/gst/gstreamer-sections.txt: Ditto
12218 * gst/gstmessage.c (gst_message_new_state_changed): Use
12219 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12220 which does introspection.
12221 Reviewed by Christian Schaller
12223 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12225 * gst/gstinfo.c: (gst_debug_log_default):
12226 don't do dummy g_strdup()s
12227 * libs/gst/controller/gstcontroller.c:
12228 (on_object_controlled_property_changed),
12229 (gst_controlled_property_new), (gst_controller_new_valist),
12230 (gst_controller_new_list),
12231 (gst_controller_remove_properties_valist), (gst_controller_set),
12232 (gst_controller_get), (gst_controller_sync_values),
12233 (gst_controller_get_value_array), (_gst_controller_class_init),
12234 (gst_controller_get_type):
12235 * libs/gst/controller/gstcontroller.h:
12236 * libs/gst/controller/gstinterpolation.c:
12237 (gst_controlled_property_find_timed_value_node):
12238 convert // to /**/ comments
12240 2005-09-28 Wim Taymans <wim@fluendo.com>
12242 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12243 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12244 (gst_bus_sync_signal_handler):
12246 Added async-message and sync-message signals to the bus.
12247 Added helper BusFunc to emit signals for all posted messages.
12249 * gst/gstmessage.c: (gst_message_type_get_name),
12250 (gst_message_type_to_quark), (gst_message_get_type):
12251 * gst/gstmessage.h:
12252 Register quarks for message names.
12254 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12256 * docs/libs/gstreamer-libs-sections.txt:
12257 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12258 (gst_controller_new_list):
12259 * libs/gst/controller/gstcontroller.h:
12260 added another constructor for language bindings
12262 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12264 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12268 * gst/gstinfo.c: (_gst_debug_init):
12269 slightly more readable color for refcount debugging
12271 2005-09-28 Wim Taymans <wim@fluendo.com>
12273 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12274 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12275 (find_element), (gst_bin_sort_iterator_next),
12276 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12277 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12278 (gst_bin_change_state), (gst_bin_dispose):
12279 Small doc fixes. get_clock -> provide_clock.
12281 * gst/gstelement.c: (gst_element_class_init),
12282 (gst_element_provides_clock), (gst_element_provide_clock),
12283 (gst_element_get_clock), (gst_element_commit_state),
12284 (gst_element_lost_state):
12285 * gst/gstelement.h:
12286 Make get/set_clock() symetric. Add provide_clock vmethod since
12287 that is actually what this function does.
12289 * gst/gstpipeline.c: (gst_pipeline_class_init),
12290 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12291 (gst_pipeline_get_clock):
12292 get_clock -> provide_clock.
12294 2005-09-28 Andy Wingo <wingo@pobox.com>
12296 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12297 lieu of real docs...
12299 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12301 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12303 * gst/elements/gstcapsfilter.c:
12304 * gst/elements/gstfakesink.c:
12305 * gst/elements/gstfakesrc.c:
12306 * gst/elements/gstfdsink.c:
12307 * gst/elements/gstfdsrc.c:
12308 * gst/elements/gstfilesink.c:
12309 * gst/elements/gstfilesrc.c:
12310 * gst/elements/gstidentity.c:
12311 * gst/elements/gsttee.c:
12312 * gst/elements/gsttypefindelement.c:
12313 Make element details static.
12315 2005-09-28 Wim Taymans <wim@fluendo.com>
12317 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12318 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12319 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12320 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12321 (gst_bin_change_state), (gst_bin_dispose):
12322 Some documentation updates.
12323 Clean up dispose handlers.
12325 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12326 * gst/gstpad.c: (gst_pad_dispose):
12327 Clean up dispose handler.
12329 * gst/gstpipeline.c: (gst_pipeline_change_state):
12330 Removed spurious UNLOCK.
12332 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12334 * docs/gst/gstreamer-sections.txt:
12335 * gst/base/gstbasesrc.h:
12336 * gst/gstelement.h:
12340 * gst/gstpipeline.c:
12341 * gst/gstpipeline.h:
12344 added two new functions to the docs
12345 documents all undocumented GstXXXFlags
12346 completed some incomplete docs
12348 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12350 * gst/gstbin.c: (gst_bin_dispose):
12351 * gst/gstelement.c: (gst_element_dispose):
12352 remove now useless and leaky resurrection code in dispose
12353 * gst/base/gstbasesrc.c: (gst_base_src_init):
12354 * gst/gstelementfactory.c: (gst_element_factory_create):
12355 * gst/gstobject.c: (gst_object_set_parent):
12358 2005-09-27 Wim Taymans <wim@fluendo.com>
12360 * docs/design/part-TODO.txt:
12363 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12364 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12365 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12366 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12367 (gst_bin_change_state):
12368 * gst/gstelement.h:
12369 Remove element variable, we keep element info in the iterator now.
12371 2005-09-27 Andy Wingo <wingo@pobox.com>
12373 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12376 2005-09-27 Wim Taymans <wim@fluendo.com>
12378 * check/gst/gstbin.c: (GST_START_TEST):
12379 Enable check that works now.
12381 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12382 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12383 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12384 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12385 (gst_bin_change_state):
12387 Redid the state change algorithm using a topological sort algo.
12388 Handles all cases correctly.
12389 Exposed iterator for state change order.
12391 * gst/gstelement.h:
12392 Temp storage for state changes. Need to get rid of this soon.
12394 2005-09-27 Wim Taymans <wim@fluendo.com>
12396 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12397 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12398 (link_fold_func), (gst_pad_proxy_setcaps):
12399 Leak fixes, the fold functions need to unref the passed object and
12400 _get_parent_*() returns ref to parent.
12402 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12404 * check/gst/gstbuffer.c: (test_make_writable):
12405 Plug leak in test case and fix 'make check-valgrind'
12407 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12409 * gst/gstbuffer.c: (gst_subbuffer_init):
12410 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12411 works correctly in all circumstances (we could have just copied
12412 the parent buffer's readonly flag, but conceptually it seems
12413 cleaner to mark all subbuffers as read-only). (based on patch
12414 by Alessandro Decina, #314710).
12416 * check/gst/gstbuffer.c: (create_read_only_buffer),
12417 (test_make_writable), (test_subbuffer_make_writable),
12419 Add some tests for gst_buffer_make_writable().
12421 2005-09-27 Wim Taymans <wim@fluendo.com>
12423 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12424 use gst_object_has_ancestor().
12426 * gst/gstobject.c: (gst_object_has_ancestor):
12428 gst_object_has_ancestor() copied from gstbin.c as it is a
12431 * tests/instantiate/create.c: (create_all_elements):
12432 * tests/lat.c: (handoff_src), (handoff_sink):
12433 * tests/sched/runxml.c: (main):
12434 * tests/seeking/seeking1.c: (main):
12435 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12437 Fix compilation of some tests.
12439 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12442 Remove comment. GST_TYPE_G_ERROR is here to stay,
12443 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12444 (#316961, #300610).
12446 2005-09-26 Wim Taymans <wim@fluendo.com>
12448 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12449 Added check that shows error in state change order.
12451 2005-09-26 Wim Taymans <wim@fluendo.com>
12453 * gst/gstbin.c: (gst_bin_change_state):
12454 Make state change function use 3 queues again, we were
12455 adding elements in the wrong order.
12457 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12460 * gst/gstpad.c: (gst_pad_dispose):
12461 Added some debug info first.
12463 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12465 * docs/design/draft-push-pull.txt:
12466 * docs/design/part-events.txt:
12467 * docs/design/part-overview.txt:
12468 * docs/design/part-scheduling.txt:
12469 Replace all _pull_region() with _pull_range()
12471 2005-09-26 Andy Wingo <wingo@pobox.com>
12473 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12475 * check/gst-libs/controller.c: Update for controller api change.
12478 * tests/Makefile.am:
12479 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12480 over by GLib bug 118439.
12482 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12483 routines to a function.
12485 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12487 * libs/gst/controller/gsthelper.c:
12488 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12489 (gst_object_sync_values): Renamed from sink_values. Ugh.
12491 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12493 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12494 Renamed from controller_key, as it is exported.
12496 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12498 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12503 * gst/gstpadtemplate.h:
12506 * gst/gstqueryutils.c:
12507 * gst/gstqueryutils.h:
12508 remove queryutils headers after moving the two used functions
12509 to gstquery. also fixes build problem for gstsiddec
12511 2005-09-26 Michael Smith <msmith@fluendo.com>
12513 * tools/gst-launch.1.in:
12514 Correct documentation in manpage of debug syntax
12516 2005-09-26 Wim Taymans <wim@fluendo.com>
12518 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12519 (gst_base_src_is_seekable), (gst_base_src_change_state):
12520 Some more debugging info.
12522 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12524 * docs/gst/gstreamer-sections.txt:
12525 * gst/base/gstbasetransform.h:
12529 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12531 * docs/gst/.cvsignore:
12532 * docs/gst/tmpl/.cvsignore:
12533 * docs/gst/tmpl/gstpipeline.sgml:
12534 * docs/gst/tmpl/gstplugin.sgml:
12535 * gst/gstpipeline.c:
12538 inlined the last two docs files
12539 removed the tmpl directory from cvs (no more conflicts here!)
12541 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12543 * docs/gst/gstreamer-sections.txt:
12544 * docs/gst/tmpl/.cvsignore:
12545 * docs/gst/tmpl/gstpad.sgml:
12546 * docs/gst/tmpl/gstpadtemplate.sgml:
12548 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12549 (gst_pad_finalize), (gst_pad_set_pad_template):
12551 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12552 (gst_pad_template_class_init), (gst_pad_template_init),
12553 (gst_pad_template_dispose), (name_is_valid),
12554 (gst_static_pad_template_get), (gst_pad_template_new),
12555 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12556 (gst_pad_template_pad_created):
12557 * gst/gstpadtemplate.h:
12558 inlined two more docs
12559 factored gstpadtemplate out of gstpad
12561 2005-09-24 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):
12565 Fix test case: we can't rely on a fixed state change order when
12566 going from READY => PAUSED because the sink might commit its
12567 new state first when the first buffer created by the source
12568 reaches the sink before the source has finished its change state.
12569 (Test case still fails at times, see #316856, comment 5 onwards)
12571 2005-09-24 Wim Taymans <wim@fluendo.com>
12573 * docs/design/part-events.txt:
12574 * docs/design/part-gstbus.txt:
12575 * docs/design/part-gstpipeline.txt:
12576 * docs/design/part-messages.txt:
12577 * docs/design/part-overview.txt:
12578 * docs/design/part-segments.txt:
12582 * gst/gstelement.c:
12585 * gst/gstiterator.c:
12586 Various documentation updates.
12588 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12591 Well, that's embarassing. Luckily we weren't using
12592 GST_CLOCK_DIFF anywhere.
12594 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12596 * common/gtk-doc.mak:
12597 don't fail on building XML, FC4 slave shows a bunch of doc
12598 missing bits that I don't get
12600 * gst/gstpipeline.c:
12601 * gst/gststructure.c:
12604 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12606 * docs/design/part-gstbin.txt:
12607 * docs/design/part-gstbus.txt:
12609 Add blurb about how the bus goes into flushing mode and
12610 drops all messages when its bin goes from READY into NULL
12613 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12615 * docs/gst/gstreamer-sections.txt:
12616 * gst/gststructure.c: (gst_structure_get_clock_time):
12617 * gst/gststructure.h:
12618 add a method to get a GstClockTime out of a structure
12620 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12622 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12623 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12624 Added test to check state change order in bins (can still be made
12625 to fail here under heavy disk load; bails out with 'Push on pad
12626 fakesink:sink0, but it was not activated in push mode').
12628 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12629 Fix state change order when there is only a semi sink (#316856)
12631 * gst/gstbus.c: (gst_bus_class_init):
12632 Use _class_peek_parent(), not _class_ref(); fix docs to say
12633 'default main context' instead of 'mainloop' where that is
12636 * gst/gstelement.c: (gst_element_commit_state),
12637 (gst_element_set_state):
12638 Fix typos in debug messages
12640 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12643 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12644 * gst/gstpluginfeature.c:
12646 various doc updates
12647 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12648 change an assert into an error until it gets fixed properly
12650 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12652 * docs/gst/gstreamer-sections.txt:
12653 * docs/gst/tmpl/.cvsignore:
12654 * docs/gst/tmpl/gstelement.sgml:
12655 * docs/gst/tmpl/gstinfo.sgml:
12656 * docs/gst/tmpl/gstobject.sgml:
12657 * gst/gstelement.c:
12658 * gst/gstelement.h:
12661 * gst/gstobject.c: (gst_object_class_init):
12663 inlined 3 more biiiig doc files and added some missing docs on the fly
12665 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12667 * check/gst/.cvsignore:
12668 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12669 * gst/gstregistryxml.c: (load_plugin),
12670 (gst_registry_xml_save_plugin):
12671 put back source in registry. add checks for find_plugin.
12672 * testsuite/states/bin.c: (assert_state), (empty_bin),
12673 (test_adding_one_element), (main):
12674 * testsuite/states/locked.c: (main):
12675 some compile/run fixes
12677 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12679 * check/gst/gstvalue.c: (GST_START_TEST):
12680 fix leaks in the test itself
12682 2005-09-22 Wim Taymans <wim@fluendo.com>
12684 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12685 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12686 (gst_base_sink_query):
12687 Prepare for more accurate position reporting and query
12690 * gst/gstelement.c: (gst_element_send_event),
12691 (gst_element_set_state):
12694 2005-09-22 Wim Taymans <wim@fluendo.com>
12696 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12697 (gst_query_parse_segment):
12699 More documentation.
12700 Add segment query for future use.
12702 2005-09-22 Wim Taymans <wim@fluendo.com>
12704 * gst/gstbin.c: (gst_bin_add_func):
12705 Some more debug info.
12707 * gst/gstelement.c: (gst_element_send_event):
12708 Simplify send_event
12710 * gst/gstelement.h:
12711 Don't know how flags got broken.
12716 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12718 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12719 Add simplistic test suite for GST_TYPE_DATE serialisation and
12722 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12724 * docs/gst/gstreamer-sections.txt:
12725 * gst/gststructure.c: (gst_structure_set_valist),
12726 (gst_structure_get_date):
12727 * gst/gststructure.h:
12728 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12729 (gst_date_copy), (gst_value_compare_date),
12730 (gst_value_serialize_date), (gst_value_deserialize_date),
12731 (gst_value_transform_date_string),
12732 (gst_value_transform_string_date), (_gst_value_initialize):
12734 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12735 bunch of utility functions along with a hack that checks that
12736 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12737 is required. Part of the grand scheme in #170777.
12739 2005-09-22 Andy Wingo <wingo@pobox.com>
12741 * gst/gstconfig.h.in: Psych out gtk-doc.
12743 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12745 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12747 * tools/gst-inspect.c (print_element_list): Plug some
12748 inconsequential leaks.
12750 * gst/gstregistry.c (gst_registry_get_default): Doc.
12752 * check/gst/gstplugin.c:
12753 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12754 * gst/gstelementfactory.c (gst_element_factory_create):
12755 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12758 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12759 (gst_plugin_feature_load): Doc, don't eat refs.
12761 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12762 (gst_plugin_list_free): Doc.
12763 (gst_plugin_load_file): Doc updates.
12765 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12766 accessors returning refcounted objects, return a ref.
12768 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12769 accessor for caps. IDEMPOTENCE. Oh yes.
12771 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12773 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12775 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12776 (_gst_debug_register_funcptr):
12777 Add mutex to serialise access to the hash table with
12778 the function pointer => function name string mapping;
12779 make that hash table static scope (#316809).
12781 * gst/registries/.cvsignore:
12782 Remove left-over file.
12784 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12786 * docs/pwg/appendix-porting.xml:
12787 And something about newsegment events and caps-on-buffers to
12788 the porting guide (feel free to improve).
12790 2005-09-21 Andy Wingo <wingo@pobox.com>
12792 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12793 data and event probes on the same pad.
12794 (test_buffer_probe_once): Test that removing probes from within
12795 the probe functions works.
12797 2005-09-21 Andy Wingo <wingo@pobox.com>
12799 * check/gst/gstutils.c: New file.
12800 (test_buffer_probe_n_times): A simple buffer probe test. More to
12803 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12804 have-data::buffer, not have-data.
12805 (gst_pad_add_event_probe): Likewise for have-data::event.
12806 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12807 peer' isn't quite right yet though.
12808 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12809 (gst_pad_remove_data_probe): Change to take the guint handler_id
12810 as their arg, not the function+data, which is more glib-like.
12812 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12813 the signal emission to indicate if the data is a buffer or an
12815 (gst_pad_get_type): Initialize buffer and event quarks.
12816 (gst_pad_class_init): have-data is now a detailed signal, yes it
12819 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12821 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12822 * gst/gstutils.c: (gst_util_set_value_from_string),
12823 (gst_util_set_object_arg):
12824 Don't put functional code in g_return_if_fail() or
12825 g_return_val_if_fail() statements, otherwise things will
12826 break when G_DISABLE_CHECKS is defined during compilation.
12828 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12830 * docs/gst/tmpl/.cvsignore:
12831 * docs/gst/tmpl/gstvalue.sgml:
12834 inlied another one and added some obvious docs
12836 2005-09-21 Wim Taymans <wim@fluendo.com>
12838 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12839 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12840 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12841 (gst_fdsrc_get_property), (gst_fdsrc_create):
12842 * gst/elements/gstfdsrc.h:
12843 Properly implement fdsrc. Removed signal and timeout,
12844 better implemented somewhere else.
12846 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12848 * docs/gst/tmpl/.cvsignore:
12849 * docs/gst/tmpl/gstimplementsinterface.sgml:
12850 * gst/gstinterface.c:
12853 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12855 * docs/gst/gstreamer-sections.txt:
12856 * docs/gst/tmpl/.cvsignore:
12857 * docs/gst/tmpl/gstenumtypes.sgml:
12858 remove obsolete doc file
12860 2005-09-21 David Schleef <ds@schleef.org>
12862 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12863 little beer, fix a little leak.
12865 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12867 * docs/gst/gstreamer-docs.sgml:
12868 * docs/gst/gstreamer-sections.txt:
12869 * docs/gst/tmpl/.cvsignore:
12873 * gst/gstelement.h:
12874 * gst/gstindex.c: (gst_index_class_init):
12876 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12877 (gst_index_factory_class_init), (gst_index_factory_init),
12878 (gst_index_factory_finalize), (gst_index_factory_new),
12879 (gst_index_factory_destroy), (gst_index_factory_find),
12880 (gst_index_factory_create), (gst_index_factory_make):
12881 * gst/gstindexfactory.h:
12882 * gst/gstpluginfeature.c:
12883 * gst/gstpluginfeature.h:
12884 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12885 more docs inlined, splitted gstindex.{c,h}
12887 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12889 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12892 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12894 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12895 Set sync to FALSE by default.
12897 2005-09-20 Wim Taymans <wim@fluendo.com>
12899 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12900 (gst_base_sink_init):
12901 Make sync property settable from subclass.
12903 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12904 (gst_fake_sink_change_state):
12905 Set sync to FALSE by default.
12907 2005-09-20 Wim Taymans <wim@fluendo.com>
12909 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12910 * tools/gst-launch.c: (main):
12911 The timeout handler should have lower priority than the source
12912 so we don't timeout before popping a message with 0 timeout.
12913 Dump error messages after failed state change.
12915 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12917 * tools/gst-inspect.c: (print_element_properties_info):
12920 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12922 * check/gst/gstevent.c:
12923 * gst/elements/gstfakesink.c:
12924 * gst/elements/gstfakesink.h:
12925 remove the sync property from fakesink.
12926 has the side effect of setting sync TRUE
12927 for fakesink, which is a change. Anyone who knows how
12928 to fix this nicely in a GObject-y way, feel free.
12930 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12932 * docs/gst/gstreamer-docs.sgml:
12933 remove probe refsection
12935 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12937 * check/Makefile.am:
12938 disable valgrinding the controller test again
12939 * docs/gst/gstreamer-sections.txt:
12940 update for api-changes
12942 2005-09-20 Wim Taymans <wim@fluendo.com>
12944 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12945 (gst_base_sink_set_property), (gst_base_sink_get_property),
12946 (gst_base_sink_do_sync):
12947 * gst/base/gstbasesink.h:
12948 Added sync property to basesink to disable clock sync.
12950 2005-09-20 Andy Wingo <wingo@pobox.com>
12952 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12953 eating the caller's refcount.
12955 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12956 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12959 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12960 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12961 of GLib 2.8 public, so we can know which refcount to check in
12964 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12965 (gst_object_init): Only set the gst refcount if we're going ahead
12966 with the refcount hack.
12968 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12970 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12971 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12972 more leaks plumbed, added more debug-logging
12976 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12978 * gst/gstmessage.c:
12979 remove include of gstmemchunk.h
12981 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12983 * gst/gstclock.c: (_gst_clock_id_free):
12984 Commit from the Political Party For More Atomic CVS Commits,
12985 so that people don't waste too much of their day fishing
12986 out obvious leaks out of massive commits.
12987 Oh, and fix a pretty damn obvious leak in the memchunk
12990 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12992 * check/Makefile.am:
12993 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12994 plug mem-leak, re-add to valgrindable tests
12996 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12999 unbreak the build for those who have chronic arthritis
13000 and typing "make check" is just too taxing on the hands
13002 2005-09-20 Andy Wingo <wingo@pobox.com>
13004 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13005 really want it out, you should fix plugins at the same time.
13007 2005-09-19 Stefan Kost <ensonic@users.sf.net>
13010 * docs/gst/gstreamer-sections.txt:
13012 added missing symbols to api docs
13013 disable ref-count hack if we have glib >= 2.8
13015 2005-09-19 David Schleef <ds@schleef.org>
13017 * docs/gst/Makefile.am: Ignore a few more internal headers
13018 * docs/gst/gstreamer-docs.sgml: Remove old sections
13019 * docs/gst/gstreamer-sections.txt: Remove old sections
13020 * docs/gst/tmpl/gstobject.sgml: update
13021 * docs/gst/tmpl/gstplugin.sgml: update
13022 * docs/gst/tmpl/gstpluginfeature.sgml: update
13023 * docs/random/ds/0.9-suggested-changes: update.
13024 * gst/Makefile.am: remove memchunk and trashstack, since they're
13026 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13027 * gst/gst.h: don't include some headers
13028 * gst/gstchildproxy.c: add gstmarshal.h
13029 * gst/gstclock.c: Don't use memchunks
13030 * gst/gstminiobject.c: Add some docs
13031 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13032 * gst/gstobject.h: same
13033 * gst/gstplugin.c: include gstmacros.h
13034 * gst/gstplugin.h: don't include gstmacros.h, since it's private
13035 * gst/gstquery.c: don't use memchunks
13036 * gst/gstregistry.c: rename gst_registry_deinit()
13037 * gst/gstregistry.h: same
13039 2005-09-19 David Schleef <ds@schleef.org>
13041 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13042 * docs/libs/gstreamer-libs-sections.txt:
13043 * docs/libs/tmpl/gstgetbits.sgml:
13044 * docs/libs/tmpl/gstputbits.sgml:
13046 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
13048 * win32/gstenumtypes.c:
13049 * win32/gstenumtypes.h:
13052 2005-09-19 Wim Taymans <wim@fluendo.com>
13054 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13055 Automatically PAUSE and RESUME a pipeline when a flushing seek
13058 2005-09-19 Andy Wingo <wingo@pobox.com>
13060 * gst/gstregistry.h: Spacing fixen.
13062 2005-09-19 Wim Taymans <wim@fluendo.com>
13064 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13065 Handle state change failure more correctly.
13067 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13069 * check/Makefile.am:
13070 * check/pipelines/cleanup.c: (run_pipeline):
13071 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13073 enable cleanup again after fixing the leak
13075 some more info on docs
13077 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13079 * check/Makefile.am:
13080 re-enable tests now that leaks are plugged
13082 * check/gst/gstbin.c:
13083 * check/gst/gstpipeline.c:
13084 add some more tests while fixing leaks
13085 * common/check.mak:
13086 make sure binaries are uptodate when valgrinding/gdbing
13088 * gst/gstelementfactory.c:
13089 remove a ref too many, and add a FIXME for when we get
13090 round to disposing of classes
13092 fix the refcounting when loading a plugin from a file and
13093 the code pretends that the pointer is the same even though
13094 of course it can change
13095 * gst/gstpluginfeature.c:
13096 unref plugins marked cached (a bit confusing as a name)
13097 as the docs state should be done
13098 various doc additions to explain refcounting
13099 * gst/gstregistry.c:
13100 * gst/gstregistryxml.c:
13103 2005-09-19 Wim Taymans <wim@fluendo.com>
13105 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13106 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13107 (send_messages), (GST_START_TEST), (gstbus_suite):
13108 * check/gst/gstpipeline.c: (GST_START_TEST):
13109 * check/pipelines/cleanup.c: (run_pipeline):
13110 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13112 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13113 (gst_bus_source_check), (gst_bus_source_dispatch),
13114 (gst_bus_create_watch), (gst_bus_add_watch_full),
13115 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13117 * tools/gst-launch.c: (event_loop):
13118 * tools/gst-md5sum.c: (event_loop):
13119 GstBusHandler -> GstBusFunc, return value has the same meaning as
13120 any other GSource (FALSE == remove source).
13121 _add_watch() and _add_watch_full() now take a MessageType mask to
13122 only handle specific types of messages.
13123 _poll() returns the GstMessage instead of the message type to avoid
13125 _have_pending() takes a MessageType mask now too.
13126 Added testsuite for multiple bus watches.
13127 Fix testsuites and applications for new bus API.
13129 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13131 * check/Makefile.am:
13132 mark a bunch of the tests as to fix until we fix them
13134 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13136 * common/check.mak:
13137 use GST_PLUGIN settings for valgrind tests as well, so we're
13138 valgrinding the correct thing
13139 * gst/gst.c: (init_post):
13142 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13144 * gst/gst.c: (init_post), (gst_deinit):
13145 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13146 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13147 * gst/gstindex.c: (gst_index_factory_class_init),
13148 (gst_index_factory_finalize):
13149 * gst/gstobject.c: (gst_object_dispose):
13150 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13151 (gst_plugin_load_file), (gst_plugin_desc_free):
13152 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13153 (gst_plugin_feature_finalize):
13154 * gst/gstregistry.c: (gst_registry_class_init),
13155 (gst_registry_init), (gst_registry_finalize),
13156 (gst_registry_get_default), (gst_registry_deinit):
13157 * gst/gstregistry.h:
13158 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13159 various cleanups and memleak plugging. make valgrind is happy now.
13161 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13163 * common/check.mak:
13164 add a check-valgrind target
13166 2005-09-18 David Schleef <ds@schleef.org>
13168 * tools/gst-inspect.c: Revert the GOption code.
13170 2005-09-17 David Schleef <ds@schleef.org>
13172 * check/Makefile.am: Fix environment variables.
13173 * check/gst/gstplugin.c: Fix for API changes.
13174 * tools/gst-inspect.c: Fix for API changes.
13175 * tools/gst-xmlinspect.c: Fix for API changes.
13176 * gst/gstelementfactory.c:
13179 * gst/gstpluginfeature.c:
13180 * gst/gstpluginfeature.h:
13181 * gst/gstregistry.c:
13182 * gst/gstregistry.h:
13183 * gst/gstregistryxml.c:
13184 * gst/gsttypefind.c:
13185 * gst/gsttypefindfactory.c:
13186 * gst/indexers/gstfileindex.c:
13187 * gst/indexers/gstmemindex.c:
13188 * gst/schedulers/Makefile.am:
13189 Change registry to keep track of both plugins and features,
13190 removing the feature tracking from plugins themselves.
13192 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13194 * check/Makefile.am:
13195 * tools/gst-register.1.in:
13196 remove gst-register
13198 2005-09-15 David Schleef <ds@schleef.org>
13200 * check/gst/gstplugin.c:
13201 * gst/gstelementfactory.c:
13203 * gst/gstpluginfeature.c:
13204 * gst/gstregistry.c:
13205 Getting tired of debugging. Disabled all the unreffing of
13206 plugins and features, which fixes the segfaults, but of
13207 course leaks like crazy. At least playbin works.
13209 2005-09-15 David Schleef <ds@schleef.org>
13211 * check/gst/gstplugin.c: (register_check_elements),
13212 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13214 * gst/elements/gsttypefindelement.c: Fix refcounting.
13215 * gst/gsttypefind.c:
13216 * gst/gsttypefindfactory.c:
13217 * gst/gsttypefindfactory.h:
13219 2005-09-15 David Schleef <ds@schleef.org>
13221 * gst/gstindex.c: get refcounting correct.
13222 * gst/gstregistry.c: Handle the case where a feature/plugin is
13225 2005-09-15 David Schleef <ds@schleef.org>
13227 * check/Makefile.am:
13228 * check/gst/gstplugin.c: Add test
13229 * gst/gstplugin.c: Fix problems noticed by testsuite
13231 * gst/gstregistry.c:
13232 * gst/gstregistry.h:
13234 2005-09-15 David Schleef <ds@schleef.org>
13236 * gst/gstplugin.c: Implement semi-decent recounting and locking
13237 in plugins and plugin features.
13239 * gst/gstpluginfeature.c:
13240 * gst/gstpluginfeature.h:
13241 * gst/gstregistry.c:
13243 2005-09-15 Michael Smith <msmith@fluendo.com>
13245 * gst/gstregistry.c: (gst_registry_get_feature_list):
13246 Implement this. Makes oggdemux work; decodebin still broken.
13248 2005-09-14 David Schleef <ds@schleef.org>
13250 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13252 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13253 * gst/check/Makefile.am:
13254 * libs/gst/controller/Makefile.am:
13255 * libs/gst/dataprotocol/Makefile.am:
13257 2005-09-14 David Schleef <ds@schleef.org>
13259 * configure.ac: Remove getbits library. Nothing uses it, and
13260 it should be in something like liboil if someone did want
13262 * libs/gst/Makefile.am:
13263 * libs/gst/getbits/Makefile.am:
13264 * libs/gst/getbits/gbtest.c:
13265 * libs/gst/getbits/getbits.c:
13266 * libs/gst/getbits/getbits.h:
13267 * libs/gst/getbits/gstgetbits_generic.c:
13268 * libs/gst/getbits/gstgetbits_i386.s:
13269 * libs/gst/getbits/gstgetbits_inl.h:
13271 2005-09-14 David Schleef <ds@schleef.org>
13273 * gst/Makefile.am: Dist glib-compat.h
13275 2005-09-14 David Schleef <ds@schleef.org>
13277 * configure.ac: Remove gst/registries, since it's no longer used.
13278 * gst/registries/Makefile.am:
13279 * gst/registries/gstlibxmlregistry.c:
13280 * gst/registries/gstlibxmlregistry.h:
13281 * gst/registries/gstxmlregistry.c:
13282 * gst/registries/gstxmlregistry.h:
13283 * gst/registries/registrytest.c:
13285 2005-09-14 David Schleef <ds@schleef.org>
13287 * gst/glib-compat.h:
13288 * gst/gstregistryxml.c:
13289 Convergence is near. Seriously.
13291 2005-09-14 David Schleef <ds@schleef.org>
13293 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13294 * gst/glib-compat.h:
13295 Attempt #4 to appease the buildbots.
13297 2005-09-14 David Schleef <ds@schleef.org>
13299 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13302 2005-09-14 David Schleef <ds@schleef.org>
13304 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13307 2005-09-14 David Schleef <ds@schleef.org>
13309 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13312 2005-09-14 David Schleef <ds@schleef.org>
13314 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13315 * gst/glib-compat.h: Add some functions that are in newer versions
13316 of glib than we care to require.
13317 * gst/gstregistryxml.c: Use them.
13319 2005-09-14 David Schleef <ds@schleef.org>
13321 * po/POTFILES.in: remove gst-register.c
13323 2005-09-14 David Schleef <ds@schleef.org>
13325 * docs/gst/gstreamer-docs.sgml:
13326 * docs/gst/gstreamer-sections.txt:
13327 * docs/gst/gstreamer.types:
13328 * docs/gst/tmpl/gstelement.sgml:
13329 * docs/gst/tmpl/gstplugin.sgml:
13330 * docs/gst/tmpl/gstpluginfeature.sgml:
13331 Documentation updates for registry changes.
13333 2005-09-14 David Schleef <ds@schleef.org>
13335 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13336 because we don't require glib-2.8.
13338 2005-09-14 David Schleef <ds@schleef.org>
13340 * gst/gstregistryxml.c: Added. Essentially moved out of the
13341 registries directory.
13343 2005-09-14 David Schleef <ds@schleef.org>
13345 * check/Makefile.am:
13346 * check/generic/states.c:
13350 * gst/gst_private.h:
13351 * gst/gstelementfactory.c:
13356 * gst/gstpluginfeature.c:
13357 * gst/gstpluginfeature.h:
13358 * gst/gstregistry.c:
13359 * gst/gstregistry.h:
13360 * gst/gstregistrypool.c: remove
13361 * gst/gstregistrypool.h: remove
13362 * gst/gsttypefind.c:
13363 * gst/gsttypefindfactory.c:
13365 * tools/Makefile.am:
13366 * tools/gst-compprep.c:
13367 * tools/gst-inspect.c:
13368 * tools/gst-register.c: remove
13369 * tools/gst-xmlinspect.c:
13370 Registry rewrite. Changes registry from being a file created
13371 by a tool into a simple cache file created automatically by
13372 libgstreamer. Removed gst-register (because it's no longer
13373 needed). Remove registry pools, because we only have one
13374 registry implementation (XML). Fix up other subsystems as
13377 2005-09-13 Michael Smith <msmith@fluendo.com>
13379 * gst/gstconfig.h.in:
13380 Don't Use windows linking attributes for MinGW. Fixes #316157
13382 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13384 * gst/gstutils.c: (set_state_async_thread_func),
13385 (gst_element_set_state_async):
13386 Apparently people think it's better if this function doesn't
13387 try to set the state to whatever state was asked for on the first
13388 call to this function for any object. Seriously.
13390 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13392 * check/gst/gstpipeline.c: (GST_START_TEST):
13393 * docs/gst/gstreamer-sections.txt:
13394 * gst/gstutils.c: (set_state_async_thread_func),
13395 (gst_element_set_state_async):
13397 add a "gst_element_set_state_async" method that
13398 sets the state and starts a thread to make sure the state
13399 change completes as best as it can
13401 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13403 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13404 codify design+behaviour in testsuite after discussion
13406 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13408 * docs/gst/tmpl/gstelement.sgml:
13409 * docs/manual/appendix-quotes.xml:
13411 * gst/gstelement.c: (gst_element_set_state):
13414 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13416 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13417 (gst_base_transform_prepare_output_buf),
13418 (gst_base_transform_handle_buffer):
13419 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13420 (gst_capsfilter_prepare_buf):
13421 Remove the requirement for sub-classes to call the parent
13422 implementation of prepare_output_buffer with a wrapper function.
13424 * gst/gsttaglist.h:
13425 * gst/gsttagsetter.h:
13426 Fix #define wrapper
13428 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13430 * docs/gst/gstreamer-sections.txt:
13433 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13435 * docs/gst/gstreamer-sections.txt:
13436 * docs/gst/tmpl/gstelement.sgml:
13437 * docs/gst/tmpl/gstplugin.sgml:
13438 * gst/gstminiobject.c:
13440 docs now stop throwing warnings
13442 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13444 * docs/gst/gstreamer-sections.txt:
13445 * docs/gst/gstreamer.types:
13446 * docs/gst/tmpl/gstpad.sgml:
13447 * docs/gst/tmpl/gsttypes.sgml:
13448 * gst/base/gstadapter.h:
13449 * gst/base/gstbasesink.h:
13450 * gst/base/gstbasesrc.h:
13456 * gst/gstelement.h:
13458 * gst/gstmessage.h:
13460 * gst/gststructure.c:
13461 * gst/registries/gstlibxmlregistry.h:
13462 various documentation fixes
13464 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13466 * docs/gst/gstreamer-sections.txt:
13467 * docs/gst/tmpl/gstvalue.sgml:
13468 rearrange gstvalue section
13469 * gst/gstutils.c: (gst_element_state_get_name):
13471 * gst/gstvalue.c: (_gst_value_initialize):
13475 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13477 * check/gst-libs/controller.c:
13478 Header include fix.
13479 * gst/base/gstbasetransform.c:
13480 (gst_base_transform_default_prepare_buf),
13481 (gst_base_transform_handle_buffer):
13482 * gst/base/gstbasetransform.h:
13483 Some more basetransform changes and fixes to enable sub-classes
13484 that modify buffer metadata only.
13485 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13486 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13487 (gst_capsfilter_prepare_buf):
13488 If the output pad has fixed allowed caps and input buffers
13489 don't have any, set the fixed caps on outgoing buffers.
13491 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13492 * check/elements/identity.c: (GST_START_TEST):
13493 Make the error a little clearer when the test fails because
13494 identity made a copy of the buffer.
13495 * docs/gst/gstreamer-sections.txt:
13496 New symbols in gstbasetransform.h
13497 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13498 (gst_base_transform_init), (gst_base_transform_transform_size),
13499 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13500 (gst_base_transform_default_prepare_buf),
13501 (gst_base_transform_get_unit_size),
13502 (gst_base_transform_buffer_alloc),
13503 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13504 (gst_base_transform_change_state),
13505 (gst_base_transform_set_passthrough),
13506 (gst_base_transform_set_in_place),
13507 (gst_base_transform_is_in_place):
13508 * gst/base/gstbasetransform.h:
13509 Change BaseTransform to separate in_place operate from same_caps
13510 output. in_place implies that the element can perform the transform
13511 on incoming buffers in-place, even if the caps on the output are
13513 Sub-class elements can now implement special buffer allocation
13514 methods for outgoing buffers if they wish to.
13515 Big documentation addition.
13516 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13517 * gst/elements/gstelements.c:
13518 Changes for basetransform modifications.
13519 * gst/elements/Makefile.am:
13520 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13521 Compile fix. Extra debug output.
13523 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13525 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13527 add tests for valid pad naming
13528 * gst/check/gstcheck.c: (gst_check_log_message_func),
13529 (gst_check_log_critical_func):
13531 remove printing of code, it is fragile when the code contains
13532 % and the line number is enough info
13533 * gst/check/gstcheck.h:
13534 * gst/gstpad.c: (gst_pad_template_new):
13537 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13540 say what CHECK flags we use
13541 * docs/libs/gstreamer-libs.types:
13542 * libs/gst/controller/Makefile.am:
13543 * libs/gst/controller/gst-controller.c:
13544 * libs/gst/controller/gst-controller.h:
13545 * libs/gst/controller/gst-helper.c:
13546 * libs/gst/controller/gst-interpolation.c:
13547 * libs/gst/controller/gstcontroller.c:
13548 * libs/gst/controller/gsthelper.c:
13549 * libs/gst/controller/gstinterpolation.c:
13550 * tools/gst-inspect.c: (print_plugin_info):
13551 we don't use dashes in header names
13553 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13555 * check/Makefile.am:
13556 * check/gst/.cvsignore:
13557 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13558 (gst_pipeline_suite), (main):
13559 adding a test for pipelines and state changes
13560 * gst/gstutils.c: (get_state_func):
13562 * gstreamer.spec.in:
13565 2005-09-08 Michael Smith <msmith@fluendo.com>
13567 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13568 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13569 (gst_file_src_is_seekable), (gst_file_src_get_size),
13570 (gst_file_src_start):
13571 * gst/elements/gstfilesrc.h:
13572 Various fixes for unseekable, unmmapable, and non-normal files, so
13573 that fallback to read() rather than mmap() works.
13574 * gst/gstevent.c: (gst_event_new_newsegment):
13575 Allow newsegment events with segment_start == segment_end, as will
13576 correctly happen if you use filesrc on a zero-size file, for
13579 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13581 * gst/gstplugin.c: (gst_plugin_load_file):
13582 Call g_module_close when we don't load the module
13584 * gst/registries/gstlibxmlregistry.c:
13585 (gst_xml_registry_get_property):
13586 Port leak fix from 0.8
13588 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13590 * docs/gst/gstreamer-docs.sgml:
13591 * docs/gst/tmpl/.cvsignore:
13592 * docs/gst/tmpl/gsttrace.sgml:
13593 * docs/gst/tmpl/gsttrashstack.sgml:
13596 * gst/gstelement.h:
13598 * gst/gstmessage.c:
13599 * gst/gstmessage.h:
13602 * gst/gsttaginterface.c:
13603 * gst/gsttaginterface.h:
13604 * gst/gsttaglist.c:
13605 * gst/gsttaglist.h:
13606 * gst/gsttagsetter.c:
13607 * gst/gsttagsetter.h:
13610 * gst/gsttrashstack.c:
13611 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13612 inlined docs for gsttrace, gsttrashstack
13614 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13617 * gst/elements/gstbufferstore.h:
13618 * gst/elements/gsttypefindelement.c:
13619 * gst/elements/gsttypefindelement.h:
13621 * gst/gsttypefind.c:
13622 * gst/gsttypefind.h:
13623 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13624 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13625 (gst_type_find_factory_dispose),
13626 (gst_type_find_factory_unload_thyself),
13627 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13628 (gst_type_find_factory_get_caps),
13629 (gst_type_find_factory_get_extensions),
13630 (gst_type_find_factory_call_function):
13631 * gst/gsttypefindfactory.h:
13632 * gst/registries/gstlibxmlregistry.c:
13633 * gst/registries/gstxmlregistry.c:
13634 splitted gsttypefind into gsttypefind, gsttypefindfactory
13636 2005-09-07 Andy Wingo <wingo@pobox.com>
13638 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13639 condition whereby the pad's task function is entered before the
13640 pad_mode variable was set.
13642 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13644 * gst/gstpad.c: (gst_pad_alloc_buffer):
13645 Catch misbehaving pad_alloc functions that don't
13646 set up caps and do it for them.
13648 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13650 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13651 test for pipe!=NULL
13652 * docs/gst/tmpl/.cvsignore:
13653 * docs/gst/tmpl/gstmemchunk.sgml:
13654 * docs/gst/tmpl/gstparse.sgml:
13655 * docs/gst/tmpl/gsttaglist.sgml:
13656 * docs/gst/tmpl/gsttagsetter.sgml:
13657 * docs/gst/tmpl/gsttypefind.sgml:
13658 * docs/gst/tmpl/gsttypefindfactory.sgml:
13659 * gst/gstmemchunk.c:
13662 * gst/gsttaginterface.c:
13663 * gst/gsttypefind.c:
13664 * gst/gsttypefind.h:
13667 === release 0.9.2 ===
13669 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13674 releasing 0.9.2, "South"
13676 2005-09-05 Andy Wingo <wingo@pobox.com>
13678 * gst/registries/gstxmlregistry.h:
13679 * gst/registries/gstxmlregistry.c: Um... resurrect...
13681 * gst/registries/gstxmlregistry.h:
13682 * gst/registries/gstxmlregistry.c: and update to newer API.
13683 Incidentally they should be a bit faster now that they don't have
13686 2005-09-05 Andy Wingo <wingo@pobox.com>
13688 * gst/registries/gstxmlregistry.h:
13689 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13690 replaced by the libxml registry a while back
13692 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13694 * docs/gst/tmpl/gstplugin.sgml:
13695 * gst/elements/gstelements.c:
13697 * gst/gstplugin.c: (gst_plugin_register_func),
13698 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13699 (gst_plugin_get_source):
13701 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13702 (gst_xml_registry_save_plugin):
13703 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13704 (gst_xml_registry_save_plugin):
13705 * tools/gst-inspect.c: (print_plugin_info):
13706 add a "source" plugin description field, to represent the source
13707 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13708 will set it to PACKAGE, which is automake's idea of the name of
13709 the source project.
13711 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13716 * docs/Makefile.am:
13717 * docs/faq/Makefile.am:
13718 * docs/gst/tmpl/gstelement.sgml:
13719 * docs/gst/tmpl/gsttypes.sgml:
13720 * docs/htmlinstall.mak:
13721 * docs/manual/Makefile.am:
13722 * docs/pwg/Makefile.am:
13723 reorganize doc build a little
13724 split out docbook and gtk-doc stuff
13725 have two separate --enable's and enable them through autogen
13726 but disable by default in configure (to be similar to other
13728 * gstreamer.spec.in:
13729 clean up docs install
13747 translation updates
13749 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13751 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13754 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13755 (gst_fake_sink_change_state):
13756 Make state change function thread-safe.
13758 * gst/gstpad.c: (gst_pad_alloc_buffer):
13759 Set offset on generic buffer allocated by fallback.
13761 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13763 * docs/gst/gstreamer-sections.txt:
13764 * docs/gst/tmpl/gstelement.sgml:
13766 * libs/gst/controller/gst-controller.c:
13767 (gst_controlled_property_set_interpolation_mode),
13768 (gst_controlled_property_new),
13769 (gst_controller_find_controlled_property):
13770 run the wingo-magic script against the docs
13772 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13774 * docs/gst/gstreamer-docs.sgml:
13775 * docs/gst/gstreamer-sections.txt:
13776 * docs/gst/tmpl/.cvsignore:
13777 * docs/gst/tmpl/gstelementdetails.sgml:
13778 * docs/gst/tmpl/gstelementfactory.sgml:
13781 * gst/gstelementfactory.c:
13782 * gst/gstelementfactory.h:
13783 merged elementdetails docs into elementfactory docs
13786 2005-09-02 Andy Wingo <wingo@pobox.com>
13788 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13789 consider this enum an enum and not a flags.
13791 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13793 * docs/gst/gstreamer-docs.sgml:
13794 * docs/gst/tmpl/.cvsignore:
13795 * docs/gst/tmpl/gstghostpad.sgml:
13796 * docs/gst/tmpl/gstiterator.sgml:
13797 * docs/gst/tmpl/gstmacros.sgml:
13798 * docs/gst/tmpl/gstrealpad.sgml:
13799 * docs/gst/tmpl/gstregistry.sgml:
13800 * docs/gst/tmpl/gstregistrypool.sgml:
13801 * docs/gst/tmpl/gststructure.sgml:
13802 * docs/gst/tmpl/gstsystemclock.sgml:
13803 * docs/gst/tmpl/gsttrace.sgml:
13804 * gst/gstghostpad.c:
13806 * gst/gstmemchunk.c:
13807 * gst/gstmemchunk.h:
13809 * gst/gstregistry.c:
13810 * gst/gstregistrypool.c:
13811 * gst/gststructure.c:
13812 * gst/gstsystemclock.c:
13815 2005-09-02 Andy Wingo <wingo@pobox.com>
13817 * gst/gstelement.h (GstState): Renamed from GstElementState,
13818 changed to be a normal enum instead of flags.
13819 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13820 munged to be GST_STATE_CHANGE_*.
13821 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13822 work with the new state representation.
13823 (GstStateChange): New enumeration of possible state transitions.
13824 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13825 (GstElementClass::change_state): Pass the GstStateChange along as
13826 an argument. Helps language bindings, so they don't have to use
13827 tricky lock-needing macros like GST_STATE_CHANGE ().
13829 * scripts/update-states (file): New script. Run it on a file to
13830 update it for state naming and API changes. Updates files in
13833 * All files updated for the new API.
13835 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13837 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13838 * gst/gstutils.c: (gst_util_set_value_from_string),
13839 (gst_util_set_object_arg):
13840 fix a bunch of unchecked return values
13841 * tools/gst-complete.c: (main):
13842 * gstreamer.spec.in:
13845 2005-09-01 Wim Taymans <wim@fluendo.com>
13847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13848 (gst_base_sink_event), (gst_base_sink_do_sync),
13849 (gst_base_sink_handle_event):
13850 * gst/base/gstbasesink.h:
13851 Handle newsegments more correctly.
13856 * gst/gstevent.c: (gst_event_new_newsegment):
13857 A newsegment cannot have a start_time of -1
13859 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13861 * win32/gstenumtypes.c:
13862 * win32/gstenumtypes.h:
13865 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13867 * libs/gst/controller/gst-controller.c:
13868 (gst_controlled_property_set_interpolation_mode),
13869 (gst_controlled_property_new):
13870 fixed boolean again
13872 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13874 * docs/faq/gst-uninstalled:
13879 * gst/gstutils.c: (gst_element_link_filtered):
13881 add gst_element_link_filtered
13883 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13885 * docs/gst/gstreamer-docs.sgml:
13886 * docs/gst/gstreamer-sections.txt:
13887 * docs/gst/tmpl/.cvsignore:
13888 * docs/gst/tmpl/gsterror.sgml:
13889 * docs/gst/tmpl/gstfilter.sgml:
13890 * docs/gst/tmpl/gsturihandler.sgml:
13891 * docs/gst/tmpl/gsturitype.sgml:
13892 * docs/gst/tmpl/gstutils.sgml:
13893 * docs/gst/tmpl/gstxml.sgml:
13898 * gst/gsturitype.c:
13901 inlined more docs, fixed double id-ref
13903 2005-08-31 Wim Taymans <wim@fluendo.com>
13905 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13906 (gst_base_transform_handle_buffer):
13907 Passthrough elements don't need the caps as they don't care.
13909 2005-08-31 Wim Taymans <wim@fluendo.com>
13911 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13912 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13913 Don't leak refcounts on buffers.
13915 2005-08-31 Wim Taymans <wim@fluendo.com>
13917 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13918 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13919 (gst_base_transform_chain), (gst_base_transform_change_state):
13920 * gst/base/gstbasetransform.h:
13921 Handle the case where we are not negotiated more gracefully.
13923 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13925 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13926 (gst_file_src_map_region):
13927 Set READONLY flag on mmap'ed buffers, otherwise
13928 gst_buffer_make_writable() won't work properly (#314708).
13930 2005-08-31 Wim Taymans <wim@fluendo.com>
13932 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13933 passthrough elements can even do inplace on non writable
13934 buffers (as they don't touch them).
13936 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13938 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13939 (gst_test_mono_source_set_property),
13940 (gst_test_mono_source_class_init), (GST_START_TEST),
13941 (gst_controller_suite):
13942 more tests (hehe I have the most)
13944 describe popping messages whenusing mulltiple sources
13945 * libs/gst/controller/gst-controller.c:
13946 (gst_controlled_property_set_interpolation_mode),
13947 (gst_controlled_property_new):
13948 * libs/gst/controller/gst-controller.h:
13949 * libs/gst/controller/gst-interpolation.c:
13950 implement boolean properties
13952 2005-08-31 Wim Taymans <wim@fluendo.com>
13954 * gst/gstminiobject.c: (gst_mini_object_ref):
13955 Cannot assert that the refcount has to be positive
13956 since a disposed object can be resurrected.
13958 2005-08-31 Wim Taymans <wim@fluendo.com>
13960 * gst/gstpad.c: (gst_pad_init):
13961 Revert change, need to first fix badly behaving
13964 2005-08-30 Wim Taymans <wim@fluendo.com>
13966 * check/elements/fakesrc.c: (setup_fakesrc):
13967 * check/elements/identity.c: (setup_identity):
13968 Activate pads before using them.
13970 2005-08-30 Wim Taymans <wim@fluendo.com>
13972 * gst/base/gstadapter.c: (gst_adapter_flush):
13973 Flushing out 0 bytes is ok for this function.
13975 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13976 no newsegment gives a warning and sets the start/stop to
13979 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13980 (gst_base_transform_set_passthrough):
13983 * gst/gstminiobject.c: (gst_mini_object_ref):
13984 Check refcount here too.
13986 * gst/gstpad.c: (gst_pad_init):
13987 Pads are initially flushing and refusing data.
13989 * gst/gstutils.c: (gst_element_link_pads_filtered):
13990 When adding a capsfilter element make sure it has the
13991 same state as the parent bin.
13993 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13995 * docs/gst/tmpl/.cvsignore:
13996 * docs/gst/tmpl/gstformat.sgml:
13997 * docs/gst/tmpl/gstversion.sgml:
14001 * gst/gstversion.h.in:
14002 more docs and two more inlined
14004 2005-08-30 Wim Taymans <wim@fluendo.com>
14006 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14007 Don't sync to clock.
14009 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14011 * docs/gst/gstreamer-sections.txt:
14012 ultral33t func10ns deserve to appear in the docs actually
14013 * docs/gst/tmpl/.cvsignore:
14014 * docs/gst/tmpl/gstcompat.sgml:
14015 * docs/gst/tmpl/gstconfig.sgml:
14016 * gst/check/gstcheck.c:
14018 * gst/gstconfig.h.in:
14021 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14023 * docs/gst/tmpl/.cvsignore:
14024 * docs/gst/tmpl/gstquery.sgml:
14025 * docs/gst/tmpl/gstutils.sgml:
14028 inlined and extended docs
14030 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14032 * check/gst-libs/controller.c: (GST_START_TEST),
14033 (gst_controller_suite):
14035 * docs/gst/tmpl/gstutils.sgml:
14036 * docs/libs/gstreamer-libs-sections.txt:
14037 * docs/libs/tmpl/gstdataprotocol.sgml:
14039 * examples/controller/audio-example.c: (main):
14040 controller example works now
14043 * tools/gst-inspect.c: (print_element_properties_info):
14044 show param spec flags
14046 2005-08-29 Andy Wingo <wingo@pobox.com>
14048 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14050 2005-08-28 Andy Wingo <wingo@pobox.com>
14052 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14053 as having two arguments instead of just one. Allows superclasses
14054 to access information on subclasses -- see the terrible for() loop
14055 in gtype.c:g_type_create_instance for the reason why. All callers
14058 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14060 * docs/design/part-messages.txt:
14062 * docs/gst/tmpl/.cvsignore:
14063 * docs/gst/tmpl/gstcaps.sgml:
14064 * docs/gst/tmpl/gstclock.sgml:
14070 * gst/gstmessage.c:
14071 added descriptions for bus and message
14072 inline caps and clock docs
14074 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14076 * gst/gstmessage.c:
14077 * gst/gstmessage.h:
14080 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14082 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14085 2005-08-26 Andy Wingo <wingo@pobox.com>
14087 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14088 element_set_state's return val.
14089 (test_2_elements): Add test that's been disabled for months.
14091 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14092 can-activate-pull properties.
14094 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14095 can-activate-pull properties. Implement is_seekable so fakesrc can
14096 operate in pull mode.
14098 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14100 (gst_base_sink_activate, gst_base_sink_activate_pull)
14101 (gst_base_sink_activate_push): Make activation mode choosing work.
14103 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14104 is right. Make pull mode work. Post an eos before pausing in pull
14106 (gst_base_sink_change_state): Pay attention to the core's
14107 change_state() return val.
14109 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14110 has-getrange properties. Cleanups.
14112 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14113 has_getrange and replace with can_activate_pull and
14116 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14117 locking comments. Remove has_loop, has_chain and replace with
14118 can_activate_pull and can_activate_push.
14120 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14123 * examples/Makefile.am:
14124 * examples/metadata/Makefile.am:
14125 * examples/metadata/read-metadata.c: (message_loop),
14126 (have_pad_handler), (make_pipeline), (print_tag), (main):
14127 Add metadata reading example that loops over a list of filenames,
14128 dumping any tags found.
14130 * gst/gstbus.c: (gst_bus_dispose):
14131 * gst/gstelement.c: (gst_element_dispose):
14132 Release a few potentially-held references in dispose.
14134 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14136 * docs/gst/tmpl/gstminiobject.sgml:
14137 do *not* add tmpl/*.sgml files to CVS!
14139 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14141 * libs/gst/bytestream/.cvsignore:
14142 * libs/gst/bytestream/Makefile.am:
14143 * libs/gst/bytestream/adapter.c:
14144 * libs/gst/bytestream/adapter.h:
14145 * libs/gst/bytestream/bytestream.c:
14146 * libs/gst/bytestream/bytestream.h:
14147 * libs/gst/bytestream/filepad.c:
14148 * libs/gst/bytestream/filepad.h:
14149 removing obsolete files
14151 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14153 * docs/gst/gstreamer-docs.sgml:
14154 * docs/libs/gstreamer-libs-docs.sgml:
14155 disabed additional index entries again, as this makes docs-gen just
14156 slow and they aren't useful yet
14157 * docs/libs/gstreamer-libs-sections.txt:
14158 little -section.txt cleanup for libs
14160 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14162 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14163 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14164 fix up some debugging
14165 (gst_base_transform_get_unit_size),
14166 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14167 (gst_base_transform_handle_buffer):
14168 * gst/base/gstbasetransform.h:
14169 handle and store timed NEWSEGMENT events so that subclasses that
14170 calculate time by counting samples have a segment_start time they
14171 need to add to their timestamps - see audioresample
14173 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14176 removed ';' from the end of macro defs
14177 * docs/gst/gstreamer-docs.sgml:
14178 * docs/gst/gstreamer-sections.txt:
14179 * docs/gst/tmpl/.cvsignore:
14181 * gst/gstelement.c: (gst_element_class_init),
14182 (gst_element_set_state), (activate_pads),
14183 (gst_element_save_thyself):
14184 * gst/gstevent.c: (gst_event_new_newsegment):
14186 * gst/gstiterator.c:
14187 * gst/gstiterator.h:
14190 * gst/gstutils.c: (gst_pad_query_convert):
14192 fixed parameter name mismatches between source, header and docs
14193 added some more docs, resolved the last batch of unused elements in
14194 docs (now someone needs to doc them)
14196 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14198 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14199 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14200 don't walk through the plugins backwards. Where is all this
14201 reversed logic coming from ?
14203 2005-08-25 Wim Taymans <wim@fluendo.com>
14205 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14206 (gst_base_transform_transform_size),
14207 (gst_base_transform_configure_caps),
14208 (gst_base_transform_get_unit_size),
14209 (gst_base_transform_buffer_alloc),
14210 (gst_base_transform_change_state):
14211 * gst/base/gstbasetransform.h:
14212 Cache caps unit_size.
14213 Make sure we cannot negotiate up and downstream at the
14216 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14218 * gst/gst.c: (init_pre), (init_post):
14219 register the installed plugin path after the env var
14220 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14221 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14222 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14223 directories, so the tests can prefer uninstalled over installed
14225 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14227 * gst/base/gstbasetransform.h:
14232 2005-08-25 Wim Taymans <wim@fluendo.com>
14234 * gst/gstbin.c: (bin_bus_handler):
14235 Be a bit more conservative about the posted message.
14237 * gst/gstbus.c: (gst_bus_post):
14238 Some cleanups, warn wrong return values.
14240 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14242 * check/gst/gstbin.c: (GST_START_TEST):
14243 * gst/gstbin.c: (bin_bus_handler):
14244 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14245 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14246 (gst_message_new_warning), (gst_message_new_tag),
14247 (gst_message_new_state_changed), (gst_message_new_segment_start),
14248 (gst_message_new_segment_done), (gst_message_new_custom):
14249 * gst/gstmessage.h:
14250 * tools/gst-launch.c: (event_loop):
14251 * tools/gst-md5sum.c: (event_loop):
14252 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14254 2005-08-25 Wim Taymans <wim@fluendo.com>
14256 * check/generic/states.c: (GST_START_TEST):
14257 Cleanup can be done at the end.
14259 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14260 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14261 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14262 Oh boy.. Thanks for finding this, Thomas.
14264 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14266 * docs/gst/gstreamer.types:
14267 added missing types
14269 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14271 * docs/gst/gstreamer-docs.sgml:
14272 * docs/gst/gstreamer-sections.txt:
14273 * docs/gst/tmpl/.cvsignore:
14275 * gst/gstiterator.c:
14277 * gst/registries/gstxmlregistry.h:
14278 added missing classes and symbols (123 more to go)
14279 removed removed symbols from section file
14280 fixed many doc-comments
14282 2005-08-24 Wim Taymans <wim@fluendo.com>
14284 * check/generic/states.c: (GST_START_TEST):
14285 Make sure all tasks are stopped.
14287 * check/gst/gstbin.c: (GST_START_TEST):
14288 Unref after usage for proper valgrinding.
14290 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14291 Really wait for the task to stop before destroying the
14294 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14295 (gst_queue_src_activate_push):
14296 Small cleanups. Don't stop the task when we did not start
14299 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14300 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14301 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14304 Protect the stream lock with the object lock.
14305 Disallow setting the stream lock when running.
14306 Add cleanup_all to wait for the threadpool to finish.
14307 Remove code to autoallocate a mutex if none was provided.
14308 Add _join() to wait for a task to stop.
14309 Protect the thread pool with a global lock.
14311 2005-08-24 Wim Taymans <wim@fluendo.com>
14313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14314 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14315 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14316 * gst/base/gstbasesink.h:
14317 Handle newsegment events correctly.
14318 Drop buffers out of the segment range.
14320 2005-08-22 Andy Wingo <wingo@pobox.com>
14322 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14323 macro, implements an interface and gstimplementsinterface for a
14326 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14328 * check/Makefile.am:
14329 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14330 add a test that does a bunch of state changes on elements
14331 needs some fixing for valgrind
14332 * check/states/sinks.c: (gst_object_suite):
14335 add prototype for gst_caps_is_equal_fixed
14337 * gst/gstregistrypool.c:
14340 2005-08-24 Andy Wingo <wingo@pobox.com>
14342 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14343 convert a negative value. Doesn't make much sense. Mostly this is
14344 here to force callers to ensure -1 maps to -1.
14346 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14348 * docs/pwg/advanced-types.xml:
14349 Well done to Michael for catching my deliberate introduction
14350 of this spelling mistake.
14351 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14352 * gst/gstelement.h:
14353 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14354 unlink pads before removing the element from the bin.
14356 2005-08-24 Andy Wingo <wingo@pobox.com>
14358 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14359 the same thing as GST_DEBUG=*:4.
14360 (parse_debug_level, parse_debug_category): New helper parsers.
14362 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14364 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14365 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14366 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14367 (gst_base_transform_buffer_alloc),
14368 (gst_base_transform_handle_buffer):
14369 use gboolean return values and pointers to size so we can use the
14370 full GST_BUFFER_SIZE range (guint) for buffer sizes
14371 use GstPadDirection for transform_caps
14372 * gst/base/gstbasetransform.h:
14373 rename get_size to get_unit_size since that's what it is
14374 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14375 use GstPadDirection for transform_caps
14376 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14378 cleanup and debugging
14380 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14382 * gst/gstelement.c: (gst_element_class_init),
14383 (gst_element_set_state), (activate_pads),
14384 (gst_element_save_thyself):
14385 * tools/gst-compprep.c: (main):
14386 * tools/gst-inspect.c: (print_element_properties_info):
14387 * tools/gst-xmlinspect.c: (print_element_properties):
14388 Fixed long standing mem-leak
14390 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14392 * check/gst/gstbin.c: (GST_START_TEST):
14393 * gst/gstbin.c: (bin_bus_handler):
14394 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14395 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14396 (gst_message_new_warning), (gst_message_new_tag),
14397 (gst_message_new_state_changed), (gst_message_new_segment_start),
14398 (gst_message_new_segment_done), (gst_message_new_custom):
14399 * gst/gstmessage.h:
14400 * tools/gst-launch.c: (event_loop):
14401 * tools/gst-md5sum.c: (event_loop):
14402 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14403 that applications can sensibly post custom messages with references
14404 to their own objects.
14406 2005-08-24 Andy Wingo <wingo@pobox.com>
14408 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14411 2005-08-24 Wim Taymans <wim@fluendo.com>
14413 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14414 (gst_base_transform_transform_caps),
14415 (gst_base_transform_transform_size),
14416 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14417 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14418 (gst_base_transform_handle_buffer):
14419 * gst/base/gstbasetransform.h:
14420 Many fixes and new features added by Thomas. Can now also do
14421 transforms with variable sizes and a custom fixate_caps function.
14423 2005-08-24 Wim Taymans <wim@fluendo.com>
14425 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14429 Cast to ClockTime before formatting to time.
14434 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14436 * check/gst-libs/controller.c: (GST_START_TEST),
14437 (gst_controller_suite):
14438 * docs/gst/tmpl/gstcaps.sgml:
14439 * docs/gst/tmpl/gstghostpad.sgml:
14440 * docs/gst/tmpl/gstquery.sgml:
14441 * docs/gst/tmpl/gstutils.sgml:
14442 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14443 (gst_object_sink_values), (gst_object_get_value_arrays),
14444 (gst_object_get_value_array):
14445 gracefully handle helper method calls to objects that are not beeing
14446 controlled, added test case for that
14448 2005-08-23 Wim Taymans <wim@fluendo.com>
14450 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14451 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14452 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14453 (gst_event_parse_qos), (gst_event_new_seek),
14454 (gst_event_parse_seek):
14456 Some more debugging output and doc cleanups.
14458 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14459 Fix possible deadlock.
14461 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14463 * docs/gst/gstreamer-docs.sgml:
14464 * docs/gst/gstreamer-sections.txt:
14465 * docs/gst/gstreamer.types:
14466 * docs/gst/tmpl/.cvsignore:
14469 * gst/gstelement.c:
14471 added 100 symbols from gstreamer-unused.txt to the right sections
14472 fixed more broken comments
14473 added GstBus to docs
14475 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14477 * docs/gst/gstreamer-sections.txt:
14478 * docs/gst/tmpl/.cvsignore:
14479 * docs/gst/tmpl/gstbin.sgml:
14480 * docs/gst/tmpl/gstbuffer.sgml:
14481 * gst/base/gstbasesrc.c:
14482 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14485 * tools/gst-launch.1.in:
14486 inlined more doc comments, added missing comments and fixed comments
14489 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14491 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14495 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14497 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14498 * gst/gststructure.h:
14499 add a fixate function for booleans; add a FIXME that these func
14500 names should probably be gst_structure_fixate_*
14502 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14504 * docs/gst/gstreamer-docs.sgml:
14505 * docs/gst/gstreamer-sections.txt:
14507 * gst/gstbin.c: (gst_bin_get_type),
14508 (gst_bin_child_proxy_get_child_by_index),
14509 (gst_bin_child_proxy_get_children_count),
14510 (gst_bin_child_proxy_init):
14511 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14512 (gst_child_proxy_get_child_by_index),
14513 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14514 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14515 (gst_child_proxy_get), (gst_child_proxy_set_property),
14516 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14517 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14518 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14519 * gst/gstchildproxy.h:
14520 * gst/parse/grammar.y:
14521 * tools/gst-inspect.c: (print_interfaces),
14522 (print_element_properties_info), (print_element_info):
14523 ported gstchildproxy over from 0.8
14524 ported gst-inspect fixes and enhancements over from 0.8
14526 2005-08-22 Wim Taymans <wim@fluendo.com>
14528 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14529 (gst_base_transform_handle_buffer):
14530 Also call the transform function if we have ANY caps.
14532 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14535 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14537 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14538 Don't pretend to handle seek events if the source is not seekable
14540 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14542 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14543 Remove extra parameter to debug output
14545 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14546 (gst_base_src_do_seek), (gst_base_src_activate_push):
14547 Fix seek event handling.
14549 * gst/gstpipeline.c: (gst_pipeline_change_state):
14550 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14551 (gst_queue_src_activate_push):
14552 Don't start the src pad task on FLUSH_STOP if the pad
14556 2005-08-22 Wim Taymans <wim@fluendo.com>
14558 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14559 Added check for gst_static_caps_get() refcounting.
14561 2005-08-22 Wim Taymans <wim@fluendo.com>
14563 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14564 Make _static_caps_get() refcounting sane.
14566 * gst/gstelement.c: (gst_element_set_state):
14567 Add g_return_val_if_fail() to protect against segfaults.
14569 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14571 * docs/gst/tmpl/gstevent.sgml:
14574 inlined remaining docs, added missing doc comments
14576 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14578 * check/gst/gstbin.c: (GST_START_TEST):
14579 since we don't know when preroll is done, use refcount range
14581 * gst/check/gstcheck.h:
14582 add macro for checking refcount range
14584 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14586 * check/Makefile.am:
14587 clean up environment for when registry gets built versus
14588 when actual tests are run; valgrind seems to not report
14589 leaks if GST_PLUGIN_PATH is set to some specific values
14590 * check/gst/gstbin.c: (GST_START_TEST):
14591 add more refcounting checks; maybe this exposes a
14593 * common/check.mak:
14594 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14595 * gst/check/gstcheck.h:
14596 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14597 (gst_bin_change_state):
14598 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14599 add/fix debugging/whitespace
14601 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14603 * check/gst/gstevent.c: (event_probe), (test_event),
14605 Er, don't call gst_bin_watch_for_state_change you idiot.
14607 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14609 * check/Makefile.am:
14610 Use CHECK_CFLAGS and CHECK_LIBS
14611 * check/gst/gstevent.c: (event_probe), (test_event),
14614 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14615 (gst_base_src_start), (gst_base_src_stop),
14616 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14617 (gst_base_src_change_state):
14618 Sprinkle gst_base_src_stop liberally around error paths to fix
14619 problems reusing a source after failed state changes.
14620 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14621 (helper_find_suggest), (gst_type_find_helper):
14622 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14624 * docs/gst/tmpl/gstevent.sgml:
14625 Migrate part of the docs from the SGML file. Wait for ensonic to
14626 tell me how I did it wrong ;)
14627 * tools/gst-typefind.c: (main):
14628 Extra robustness to state changes between files.
14630 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14632 * check/Makefile.am:
14633 don't valgrind the controller test - it's leaking - Stefan, HELP
14634 * gst/check/gstcheck.c: (gst_check_message_error),
14635 (gst_check_chain_func), (gst_check_setup_element),
14636 (gst_check_teardown_element), (gst_check_setup_src_pad),
14637 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14638 (gst_check_teardown_sink_pad):
14639 * gst/check/gstcheck.h:
14640 add a bunch of methods to set up elements, and src and sink pads
14641 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14642 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14645 * gst/gstmessage.c:
14647 whitespace/doc fixes
14649 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14651 * gst/gstelement.h:
14652 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14653 be handled by the application and not always printed as well
14655 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14657 * check/Makefile.am:
14659 * gst/check/gstcheck.c: (gst_check_message_error):
14660 * gst/check/gstcheck.h:
14661 add a fail_unless_equals_int
14662 add fail_unless for error messages
14664 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14666 * check/Makefile.am:
14668 * common/Makefile.am:
14669 * common/check.mak:
14671 factor out some of the common stuff so we can use it
14673 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14675 * check/Makefile.am:
14676 * check/gst/gstiterator.c: (GST_START_TEST):
14677 * check/gst/gstsystemclock.c: (GST_START_TEST),
14678 (gst_systemclock_suite):
14679 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14681 valgrind more tests
14683 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14685 * check/elements/.cvsignore:
14686 * check/elements/gstfakesrc.c:
14687 rename to name of element
14688 * check/elements/identity.c: (chain_func), (event_func),
14689 (setup_identity), (cleanup_identity), (GST_START_TEST),
14690 (identity_suite), (main):
14691 add a test for identity
14692 * check/Makefile.am:
14693 * pkgconfig/Makefile.am:
14694 * pkgconfig/gstreamer-check.pc.in:
14695 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14699 move the check stuff to a library that gets installed
14700 * check/gst-libs/controller.c: (GST_START_TEST):
14701 * check/gst-libs/gdp.c:
14702 * check/gst/gst.c: (GST_START_TEST):
14703 * check/gst/gstbin.c:
14704 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14705 * check/gst/gstbus.c:
14706 * check/gst/gstcaps.c: (GST_START_TEST):
14707 * check/gst/gstelement.c:
14708 * check/gst/gstghostpad.c:
14709 * check/gst/gstiterator.c:
14710 * check/gst/gstmessage.c:
14711 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14712 * check/gst/gstobject.c:
14713 * check/gst/gstpad.c: (GST_START_TEST):
14714 * check/gst/gststructure.c: (GST_START_TEST):
14715 * check/gst/gstsystemclock.c: (GST_START_TEST),
14716 (gst_systemclock_suite):
14717 * check/gst/gsttag.c: (gst_tag_suite):
14718 * check/gst/gstvalue.c:
14719 * check/pipelines/cleanup.c:
14720 * check/pipelines/simple_launch_lines.c:
14721 * check/states/sinks.c:
14722 change include statement
14724 * docs/gst/gstreamer-sections.txt:
14725 * docs/gst/tmpl/gstpad.sgml:
14726 document more pad stuff
14727 * gst/gstminiobject.c: (gst_mini_object_ref),
14728 (gst_mini_object_unref):
14731 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14733 * docs/gst/tmpl/gst.sgml:
14735 eliminate another tmpl file, fix spelling in the long-description
14737 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14739 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14740 (test_event), (timediff), (gstevents_suite):
14741 Should fix build on 64-bit arch's
14743 2005-08-18 Andy Wingo <wingo@pobox.com>
14745 Make sure that when a pipeline goes to PLAYING, that data has
14746 actually hit the sink.
14748 * check/states/sinks.c (test_sink): A sink that doesn't get any
14749 data shouldn't return SUCCESS for going to either PLAYING or
14750 PAUSED. Test also the return values on the way back down.
14752 * gst/gstelement.c (gst_element_set_state): When changing the
14753 state of an element currently changing state asynchronously, go to
14754 lost-state after commiting the pending state. Makes future calls
14755 to get_state continue to return ASYNC.
14757 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14758 ASYNC when going to PLAYING if we still don't have preroll, as can
14759 happen with live sources.
14761 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14763 * docs/pwg/advanced-types.xml:
14764 Hack long paragraph into 2 chunks as a workaround for buggy
14765 jadetex version in sid and breezy that loops infinitely and
14768 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14770 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14771 (test_event), (timediff), (gstevents_suite):
14772 Provide more error margin in clock measurements to allow for
14773 g_get_current_time inaccuracies.
14775 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14777 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14778 (test_event), (timediff), (gstevents_suite):
14779 Fix error message output so I might be able to tell why the
14780 test works here but fails on the build farm.
14782 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14784 * check/Makefile.am:
14785 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14786 (test_event), (timediff), (gstevents_suite), (main):
14789 * docs/design/part-seeking.txt:
14790 Spelling correction
14792 * docs/gst/tmpl/gstevent.sgml:
14793 * docs/gst/tmpl/gstfakesrc.sgml:
14796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14797 Treat a buffer-without-newsegment the same as a receiving
14798 a newsegment not in time format, and disable syncing to the clock
14801 * gst/gstbus.c: (gst_bus_set_sync_handler):
14802 Assert if anyone tries to replace the existing sync_handler for bus,
14803 as only the owner should be setting it.
14806 Have a fixed set of custom event enums with events identified by
14807 their structure name (as in 0.8), rather than a free-for-all
14808 allowing collisions between enum values from different plugins.
14810 * gst/gstpad.c: (gst_pad_class_init):
14813 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14814 Handle out-of-band downstream events from the sending thread.
14816 2005-08-17 Andy Wingo <wingo@pobox.com>
14818 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14819 play-timeout==0 to mean no timeout at all. In that case, don't
14820 bother with a get_state or a warning, just return directly, even
14823 * gst/base/gstbasetransform.c: Debug changes.
14826 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14827 ensure bins post state change messages. A bit of a hack but I can't
14828 think of a way to avoid it.
14830 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14832 2005-08-16 Andy Wingo <wingo@pobox.com>
14834 * gst/base/gstadapter.h:
14835 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14836 peek() but you own the data. Not terribly efficient atm.
14838 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14840 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14841 (gst_element_found_tags):
14843 Add two utility functions for tag handling.
14845 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14847 * docs/manual/advanced-dataaccess.xml:
14848 * docs/manual/basics-helloworld.xml:
14849 Fix docs to use _bin_add() before _link(), which fixes the examples
14850 with recent core versions (reported by Madhan Raj M
14851 <raj_madan@rediffmail.com>, #313199).
14853 2005-08-16 Wim Taymans <wim@fluendo.com>
14855 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14856 Added subtract checks.
14858 * docs/design/part-events.txt:
14859 Some more docs about newsegment
14861 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14864 * gst/gstcaps.c: (gst_caps_to_string):
14865 Add comments, cleanups.
14867 * gst/gstelement.c: (gst_element_save_thyself):
14870 * gst/gstvalue.c: (gst_value_collect_int_range),
14871 (gst_string_unwrap), (gst_value_union_int_int_range),
14872 (gst_value_union_int_range_int_range),
14873 (gst_value_intersect_int_int_range),
14874 (gst_value_intersect_int_range_int_range),
14875 (gst_value_intersect_double_double_range),
14876 (gst_value_intersect_double_range_double_range),
14877 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14878 (gst_value_subtract_int_range_int),
14879 (gst_value_subtract_double_range_double),
14880 (gst_value_subtract_double_range_double_range),
14881 (gst_value_subtract_from_list), (gst_value_subtract_list),
14882 (gst_value_can_compare), (gst_value_compare_fraction):
14883 Cleanups, add comments, remove unneeded asserts.
14885 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14887 * tools/gst-launch.c: (event_loop):
14888 don't convert NULL structures to strings
14890 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14892 * docs/gst/gstreamer-sections.txt:
14893 made some defines private
14894 * docs/gst/tmpl/gstconfig.sgml:
14895 * docs/gst/tmpl/gstqueue.sgml:
14896 * docs/gst/tmpl/gsttaglist.sgml:
14897 * docs/gst/tmpl/gsttypes.sgml:
14898 * docs/gst/tmpl/gstutils.sgml:
14899 * docs/pwg/appendix-porting.xml:
14900 * gst/base/gstbasesink.h:
14901 * gst/base/gstbasesrc.c:
14902 * gst/base/gstbasesrc.h:
14903 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14904 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14905 * gst/gstelement.c: (gst_element_class_init):
14906 * gst/gstpad.c: (gst_pad_class_init):
14907 * gst/gstqueue.c: (gst_queue_class_init):
14908 * gst/gstxml.c: (gst_xml_class_init):
14909 documented all undocumented signal inline
14910 * libs/gst/controller/gst-controller.h:
14913 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14915 * docs/pwg/appendix-porting.xml:
14916 Document _set_link_function -> _set_setcaps_function.
14918 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14920 * check/Makefile.am:
14921 add a .check target for running the check
14922 * check/gst-libs/controller.c: (GST_START_TEST):
14924 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14925 complete checks for gstbuffer; would be nice if I could get the
14926 gcov stuff to work so I can see if I actually completed gstbuffer.c
14927 * check/gstcheck.h:
14928 add ASSERT_BUFFER_REFCOUNT
14930 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14932 * docs/gst/gstreamer-sections.txt:
14933 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14935 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14936 spew out a warning if a tag that is already registered
14937 is re-registered, unless it is re-registered with a
14938 different type (#308438).
14940 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14942 * docs/pwg/appendix-porting.xml:
14943 * docs/pwg/building-state.xml:
14944 Add some paragraphs about state changes in 0.9 to the PWG
14945 and the porting guide, in particular about the new meaning
14946 of GST_STATE_PAUSED and how to write state change functions
14947 with concurrent access by multiple threads in mind.
14949 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14951 * docs/gst/gstreamer-docs.sgml:
14952 * docs/libs/gstreamer-libs-docs.sgml:
14953 added deprecation and since indexes
14954 * libs/gst/controller/gst-controller.c:
14955 * libs/gst/controller/gst-helper.c:
14959 2005-08-11 Wim Taymans <wim@fluendo.com>
14961 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14962 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14963 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14964 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14965 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14966 (gst_ghost_pad_set_target):
14967 Actually implement (re)setting the target on a ghostpad
14968 as described in the docs.
14970 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14972 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14973 Check whether GST_DEBUG_NO_COLOR environment variable is
14974 set and disable coloured debug output if that is the case.
14976 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14978 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14979 (gst_type_find_helper):
14980 The memory returned by gst_type_find_peek() needs to
14981 stay valid until the end of a typefind function, and
14982 typefind functions may keep results from different
14983 offsets around, so we can't just unref the buffer from
14984 the previous _peek(), but have to save all buffers
14985 returned by _peek() until typefinding is done and only
14988 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14990 * docs/gst/gstreamer-sections.txt:
14992 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14994 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14996 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14997 Fix a pretty good memleak.
14999 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15001 * gst/gstiterator.h:
15002 Fix wrong include and 'make distcheck'.
15004 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15006 * gst/gstbin.c: (bin_bus_handler):
15007 Use gst_element_post_message() instead.
15009 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15011 * gst/base/gstadapter.h:
15012 * gst/base/gstbasesink.h:
15013 * gst/base/gstbasesrc.h:
15014 * gst/base/gstbasetransform.h:
15015 * gst/base/gstcollectpads.h:
15016 * gst/base/gstpushsrc.h:
15017 * gst/gstiterator.h:
15018 Add padding to our base elements' class and instance structs and
15019 to GstIterator (you will need to rebuild all plugins and apps!)
15021 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15023 * gst/gstbin.c: (bin_bus_handler):
15024 Make default message forwarding from child->bus to bin->bus
15025 threadsafe and make it not emit warnings if the parent has no bus.
15027 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15029 * gst/gstelement.c: (activate_pads):
15030 On paused->ready, set pad->caps to NULL, as is the documented
15031 behaviour in this state change. Fixes playback of series of
15032 media files when visualization is enabled in Totem.
15034 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15036 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15037 Allow NULL as filter-caps (which means "any").
15039 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15041 * docs/libs/gstreamer-libs-sections.txt:
15042 * libs/gst/controller/gst-controller.c:
15043 * libs/gst/controller/gst-controller.h:
15044 * libs/gst/controller/gst-helper.c:
15045 adding more entries to the docs and fix small doc-bugs
15047 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15049 * docs/gst/gstreamer-docs.sgml:
15050 * docs/gst/gstreamer-sections.txt:
15051 * docs/gst/gstreamer.types:
15052 * docs/gst/tmpl/gstbasesink.sgml:
15053 * docs/gst/tmpl/gstbasesrc.sgml:
15054 * docs/gst/tmpl/gstbasetransform.sgml:
15055 * docs/gst/tmpl/gstfakesrc.sgml:
15056 * gst/base/gstcollectpads.c:
15057 * gst/base/gstcollectpads.h:
15058 * libs/gst/controller/gst-controller.c:
15059 * libs/gst/controller/gst-controller.h:
15060 * libs/gst/controller/gst-helper.c:
15061 * libs/gst/controller/gst-interpolation.c:
15062 * libs/gst/controller/lib.c:
15063 added long/short desc for controller docs
15064 added collectpads base class docs
15065 added correct includes to base-class docs
15067 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15069 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15070 (gst_test_mono_source_set_property),
15071 (gst_test_mono_source_class_init), (GST_START_TEST),
15072 (gst_controller_suite):
15073 * docs/gst/gstreamer-docs.sgml:
15074 * docs/gst/gstreamer-sections.txt:
15075 * docs/gst/gstreamer.types:
15076 * docs/libs/gstreamer-libs-docs.sgml:
15077 * docs/libs/gstreamer-libs-sections.txt:
15078 * gst/base/gstadapter.c:
15079 * libs/gst/controller/gst-controller.c:
15080 (gst_controlled_property_new), (gst_controlled_property_free),
15081 (gst_controller_new_valist),
15082 (gst_controller_remove_properties_valist),
15083 (gst_controller_sink_values), (_gst_controller_finalize):
15084 * libs/gst/controller/gst-controller.h:
15085 * libs/gst/controller/gst-helper.c:
15086 (gst_object_control_properties), (gst_object_uncontrol_properties),
15087 (gst_object_get_controller), (gst_object_set_controller),
15088 (gst_object_sink_values), (gst_object_get_value_arrays),
15089 (gst_object_get_value_array):
15090 more tests (and fixes) for the controller
15091 more docs for the controller
15092 integrated companies docs for the adapter
15094 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15096 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15097 (GST_START_TEST), (fakesrc_suite):
15098 add tests for sizetype
15100 2005-08-04 Andy Wingo <wingo@pobox.com>
15102 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15103 fixes buffer_alloc proxying among other things.
15105 * gst/base/gstbasetransform.c:
15106 * gst/base/gstbasetransform.h:
15107 Revert patch to gstbasetransform from 7-28 removing
15110 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15111 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15112 Semantics changed, should return not the size of the output buffer
15113 but the byte size of a buffer with a given caps.
15115 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15117 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15118 out) are not the pad caps until setcaps finishes.
15119 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15120 not-in-place case as well. Deal with changing from in-place to
15121 not-in-place within calling pad_alloc_buffer. Still a bit
15122 concerned about the overhead here...
15124 2005-08-03 Andy Wingo <wingo@pobox.com>
15126 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15127 fixating is an error.
15129 2005-08-04 Edward Hervey <edward@fluendo.com>
15131 * gst/base/gstadapter.h:
15132 Added gst_adapter_get_type() to the header
15134 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15136 * check/Makefile.am:
15137 * check/gst-libs/controller.c:
15138 * libs/gst/controller/gst-controller.c:
15139 (gst_controller_new_valist):
15140 added check test suite for the controller
15141 * gst/base/gstpushsrc.c:
15144 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15146 * docs/gst/Makefile.am:
15147 * docs/gst/gstreamer-docs.sgml:
15148 * docs/gst/gstreamer-sections.txt:
15149 * docs/gst/gstreamer.types:
15150 * docs/gst/tmpl/gstfakesrc.sgml:
15152 * gst/base/gstbasesink.c:
15153 * gst/base/gstbasesink.h:
15154 * gst/base/gstbasesrc.c:
15155 * gst/base/gstbasesrc.h:
15156 * gst/base/gstbasetransform.c:
15157 * gst/base/gstpushsrc.c:
15158 * gst/base/gstpushsrc.h:
15159 add short/long description docs to base classes
15160 add pushsrc to the docs
15161 remove consolidated doc fragments
15163 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15166 * docs/libs/Makefile.am:
15167 * docs/libs/gstreamer-libs-docs.sgml:
15168 * docs/libs/gstreamer-libs-sections.txt:
15169 * docs/libs/gstreamer-libs.types:
15170 * examples/Makefile.am:
15171 * examples/controller/.cvsignore:
15172 * examples/controller/Makefile.am:
15173 * examples/controller/audio-example.c: (main):
15174 * libs/gst/Makefile.am:
15175 * libs/gst/controller/.cvsignore:
15176 * libs/gst/controller/Makefile.am:
15177 * libs/gst/controller/gst-controller.c:
15178 (on_object_controlled_property_changed), (gst_timed_value_compare),
15179 (gst_timed_value_find),
15180 (gst_controlled_property_set_interpolation_mode),
15181 (gst_controlled_property_new), (gst_controlled_property_free),
15182 (gst_controller_find_controlled_property),
15183 (gst_controller_new_valist), (gst_controller_new),
15184 (gst_controller_remove_properties_valist),
15185 (gst_controller_remove_properties), (gst_controller_set),
15186 (gst_controller_set_from_list), (gst_controller_unset),
15187 (gst_controller_get), (gst_controller_get_all),
15188 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15189 (gst_controller_get_value_array),
15190 (gst_controller_set_interpolation_mode),
15191 (_gst_controller_finalize), (_gst_controller_init),
15192 (_gst_controller_class_init), (gst_controller_get_type):
15193 * libs/gst/controller/gst-controller.h:
15194 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15195 (g_object_uncontrol_properties), (g_object_get_controller),
15196 (g_object_set_controller), (g_object_sink_values),
15197 (g_object_get_value_arrays), (g_object_get_value_array):
15198 * libs/gst/controller/gst-interpolation.c:
15199 (gst_controlled_property_find_timed_value_node),
15200 (interpolate_none_get), (interpolate_trigger_get),
15201 (interpolate_trigger_get_value_array):
15202 * libs/gst/controller/lib.c: (gst_controller_init):
15203 * pkgconfig/Makefile.am:
15204 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15205 * pkgconfig/gstreamer-control.pc.in:
15206 * testsuite/Makefile.am:
15207 * testsuite/controller/.cvsignore:
15208 * testsuite/controller/Makefile.am:
15209 * testsuite/controller/interpolator.c: (main):
15210 added controller code
15211 removed dparam pc files
15213 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15214 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15215 (gst_collectpads_stop):
15216 Broadcast the condition when shutting down, to make sure we wake all
15217 threads up. Shut down pads on finalize, for safety.
15219 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15220 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15221 (gst_base_transform_handle_buffer),
15222 (gst_base_transform_change_state):
15223 Handle PAUSED->READY->PAUSED transition after negotiation
15225 * gst/gstmessage.c: (gst_message_init):
15226 Extra piece of debug for new messages.
15228 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15231 * docs/gst/tmpl/gstbasesrc.sgml:
15232 * docs/gst/tmpl/gstelement.sgml:
15233 * docs/gst/tmpl/gstevent.sgml:
15234 * docs/gst/tmpl/gstfakesrc.sgml:
15235 * docs/gst/tmpl/gstformat.sgml:
15236 * docs/gst/tmpl/gstghostpad.sgml:
15237 * docs/gst/tmpl/gstpad.sgml:
15238 * docs/gst/tmpl/gstquery.sgml:
15239 * docs/gst/tmpl/gststructure.sgml:
15240 * docs/gst/tmpl/gsttaglist.sgml:
15241 * docs/gst/tmpl/gstvalue.sgml:
15242 * docs/libs/gstreamer-libs-docs.sgml:
15243 * docs/libs/gstreamer-libs-sections.txt:
15244 * docs/libs/gstreamer-libs.types:
15245 * libs/gst/Makefile.am:
15246 * libs/gst/control/.cvsignore:
15247 * libs/gst/control/Makefile.am:
15248 * libs/gst/control/control.c:
15249 * libs/gst/control/control.h:
15250 * libs/gst/control/dparam.c:
15251 * libs/gst/control/dparam.h:
15252 * libs/gst/control/dparam_smooth.c:
15253 * libs/gst/control/dparam_smooth.h:
15254 * libs/gst/control/dparamcommon.h:
15255 * libs/gst/control/dparammanager.c:
15256 * libs/gst/control/dparammanager.h:
15257 * libs/gst/control/dplinearinterp.c:
15258 * libs/gst/control/dplinearinterp.h:
15259 * libs/gst/control/unitconvert.c:
15260 * libs/gst/control/unitconvert.h:
15261 * testsuite/Makefile.am:
15262 * testsuite/dynparams/.cvsignore:
15263 * testsuite/dynparams/Makefile.am:
15264 * testsuite/dynparams/dparamstest.c:
15265 * tools/Makefile.am:
15266 * tools/gst-inspect.c: (print_element_info), (main):
15267 * tools/gst-xmlinspect.c: (print_element_info), (main):
15268 deactivate and remove dparams (libgstcontrol)
15270 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15272 * gst/elements/gsttypefindelement.c:
15273 (gst_type_find_element_have_type), (gst_type_find_element_init),
15274 (stop_typefinding), (gst_type_find_element_handle_event),
15275 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15276 * gst/elements/gsttypefindelement.h:
15277 Set caps on all outgoing buffers, not just the first one.
15279 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15281 * gst/elements/gsttypefindelement.c:
15282 (gst_type_find_element_have_type),
15283 (gst_type_find_element_check_set_buffer_caps),
15284 (gst_type_find_element_init), (stop_typefinding),
15285 (gst_type_find_element_handle_event),
15286 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15287 * gst/elements/gsttypefindelement.h:
15288 Set caps on first outgoing buffer when we've found the type.
15290 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15292 * docs/gst/gstreamer-docs.sgml:
15293 * docs/gst/gstreamer-sections.txt:
15294 * docs/gst/tmpl/gstscheduler.sgml:
15295 * docs/gst/tmpl/gstschedulerfactory.sgml:
15296 Remove some old cruft from docs.
15298 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15301 Fix inline docs for GstPadLinkReturn.
15303 * gst/gststructure.c: (gst_structure_has_name):
15304 * gst/gststructure.h:
15305 * docs/gst/gstreamer-sections.txt:
15306 New API: gst_structure_has_name().
15308 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15311 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15312 and _LARGEFILE_SOURCE in config.h as required. Do not
15313 export those flags in our .pc files any longer (#142209).
15315 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15317 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15318 (gst_file_sink_do_seek), (gst_file_sink_event),
15319 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15320 Redo seek/tell calls with large file support in mind; add some
15321 debugging messages; add log message that tells us when large
15322 file support is unavailable or not enabled for some reason.
15324 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15325 Add log message that tells us when large file support
15326 is unavailable or not enabled for some reason.
15328 2005-07-29 Wim Taymans <wim@fluendo.com>
15330 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15331 Added test for removing an element with ghostpad from a bin.
15332 Fixed test as current implementation does the right thing.
15334 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15335 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15336 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15337 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15338 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15339 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15340 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15341 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15342 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15343 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15344 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15345 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15346 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15347 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15348 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15349 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15350 * gst/gstghostpad.h:
15351 Clean up ghostpads, remove properties for internal stuff.
15354 Prepare for switching targets, not all use cases work yet.
15356 2005-07-29 Wim Taymans <wim@fluendo.com>
15358 * docs/design/part-gstghostpad.txt:
15361 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15362 (gst_bin_remove_func):
15363 Unlinking pads while holding the bin LOCK is not a good
15366 * gst/gstpad.c: (gst_pad_class_init),
15367 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15368 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15369 No prob setting template after creating the pad.
15371 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15373 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15374 (gst_bus_peek), (gst_bus_source_dispatch),
15375 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15376 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15377 gst_bus_poll may be called from other threads. Handle
15378 this nicely by not making poll_data disappear off the
15379 stack once gst_bus_poll returns.
15380 gst_bus_peek now increments the refcount on the returned
15383 2005-07-29 Wim Taymans <wim@fluendo.com>
15385 * docs/design/part-gstghostpad.txt:
15386 Overview of current GhostPad datastructures and use
15387 cases for changing the target.
15389 2005-07-28 Wim Taymans <wim@fluendo.com>
15391 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15392 Added checks for hierarchy consistency whan adding linked
15395 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15396 Added check to test element scheduling without bin/pipeline.
15398 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15399 First add elements to bin, then link.
15401 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15402 (gst_bin_remove_func):
15403 Unlink pads from elements added/removed from bin to maintain
15404 hierarchy consistency.
15406 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15408 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15409 (gst_base_transform_handle_buffer):
15410 * gst/base/gstbasetransform.h:
15411 Remove broken delay_configure (fixes renegotiation of software
15412 scaling pipelines); remove some leftover printf()s.
15414 2005-07-28 Wim Taymans <wim@fluendo.com>
15416 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15417 Added some more tests for wrong hierarchy
15419 * docs/design/part-overview.txt:
15422 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15425 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15426 (gst_element_dispose):
15427 Some more cleanups.
15429 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15430 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15431 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15432 (gst_pad_set_caps), (gst_pad_send_event):
15433 Check for correct hierarchy when linking pads. Moving to
15434 strict requirement for ghostpads when linking elements in
15438 Clean ups. Added WRONG_HIERARCHY return value.
15440 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15442 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15443 Better debug if no transform is possible.
15445 2005-07-27 Wim Taymans <wim@fluendo.com>
15447 * docs/random/wtay/network-transp:
15448 Some old doc I had.
15450 2005-07-27 Wim Taymans <wim@fluendo.com>
15452 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15453 (gst_dp_event_from_packet):
15454 Fix serialization of seek events.
15456 2005-07-27 Wim Taymans <wim@fluendo.com>
15458 * check/gst-libs/gdp.c: (GST_START_TEST):
15459 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15460 Fix compilation and fix event serialization.
15462 2005-07-27 Wim Taymans <wim@fluendo.com>
15465 * docs/design/part-TODO.txt:
15466 * docs/design/part-events.txt:
15469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15470 (gst_base_sink_event), (gst_base_sink_do_sync),
15471 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15472 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15473 (gst_base_src_do_seek), (gst_base_src_event_handler),
15474 (gst_base_src_loop):
15475 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15476 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15477 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15478 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15479 (gst_base_transform_set_passthrough),
15480 (gst_base_transform_is_passthrough):
15481 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15482 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15488 * gst/gstelement.c: (gst_element_seek):
15489 * gst/gstelement.h:
15490 Update gst_element_seek.
15492 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15493 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15494 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15495 (gst_event_new_eos), (gst_event_new_newsegment),
15496 (gst_event_parse_newsegment), (gst_event_new_tag),
15497 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15498 (gst_event_parse_qos), (gst_event_new_seek),
15499 (gst_event_parse_seek), (gst_event_new_navigation):
15501 Make GstEvent use GstStructure. Add parsing code, make sure the
15502 API is sufficiently generic.
15503 Mark possible directions of events and serialization.
15505 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15506 (_gst_message_copy), (gst_message_new_segment_start),
15507 (gst_message_new_segment_done), (gst_message_new_custom),
15508 (gst_message_parse_segment_start),
15509 (gst_message_parse_segment_done):
15512 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15513 (gst_pad_set_caps), (gst_pad_send_event):
15514 Update for new events.
15515 Catch events sent in wrong directions.
15517 * gst/gstqueue.c: (gst_queue_link_src),
15518 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15519 (gst_queue_handle_src_query):
15524 Remove event code from this file.
15526 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15527 (gst_dp_event_from_packet):
15530 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15532 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15533 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15534 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15535 Make debugging actually useful.
15537 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15539 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15540 (gst_pad_fixate_caps):
15541 Implement default fixation once again, so that gst_pad_fixate()
15542 actually does anything at all. This probably needs to be some
15543 sort of a last resort, and use profile-based fixation first, but
15544 since that doesn't exist yet, this is the best we have. Fixes
15545 visualization in Totem.
15547 2005-07-22 Wim Taymans <wim@fluendo.com>
15549 * docs/design/part-events.txt:
15552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15553 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15554 (gst_base_sink_activate_pull):
15555 Some more comments.
15557 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15558 (gst_fake_src_create):
15559 Fix handoff marshall.
15561 * gst/elements/gstidentity.c: (gst_identity_class_init),
15562 (gst_identity_transform_ip):
15563 We're a real inplace element.
15565 * gst/gstbus.c: (gst_bus_post):
15566 Added some comments.
15568 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15569 * tests/muxing/case1.c: (main):
15570 * tests/sched/dynamic-pipeline.c: (main):
15571 * tests/sched/interrupt1.c: (main):
15572 * tests/sched/interrupt2.c: (main):
15573 * tests/sched/interrupt3.c: (main):
15574 * tests/sched/runxml.c: (main):
15575 * tests/sched/sched-stress.c: (main):
15576 * tests/seeking/seeking1.c: (event_received), (main):
15577 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15579 * tests/threadstate/threadstate3.c: (main):
15580 * tests/threadstate/threadstate4.c: (main):
15581 * tests/threadstate/threadstate5.c: (main):
15584 2005-07-21 Wim Taymans <wim@fluendo.com>
15586 * docs/design/part-seeking.txt:
15587 Some small additions.
15589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15590 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15591 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15592 * gst/base/gstbasesink.h:
15593 discont values are gint64, handle the math correctly.
15595 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15596 Make the basesrc report error if the source pad is not linked.
15598 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15599 (gst_queue_loop), (gst_queue_handle_src_query),
15600 (gst_queue_src_activate_push):
15601 Make queue collect data even if the srcpad is not linked.
15602 Start pushing out data as soon as it is linked.
15604 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15606 Added gst_flow_get_name() to ease error reporting.
15608 2005-07-20 Wim Taymans <wim@fluendo.com>
15610 * gst/gstmessage.c: (gst_message_new_segment_start),
15611 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15612 (gst_message_parse_segment_done):
15613 * gst/gstmessage.h:
15614 Added a bunch of messages for advanced seeking.
15616 * gst/parse/grammar.y:
15617 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15618 (gst_dpman_state_changed):
15619 Fix some new-pad -> pad-added signals
15621 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15623 * docs/manual/appendix-porting.xml:
15624 * docs/pwg/appendix-porting.xml:
15625 Document new-pad/state-change signal renames and the FixedList
15628 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15630 * docs/manual/advanced-autoplugging.xml:
15631 * docs/manual/basics-helloworld.xml:
15632 * docs/manual/basics-pads.xml:
15633 * docs/random/ds/0.9-suggested-changes:
15634 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15635 * gst/gstelement.h:
15639 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15640 (gst_structure_parse_array), (gst_structure_parse_value):
15641 * gst/gstvalue.c: (gst_type_is_fixed),
15642 (gst_value_list_prepend_value), (gst_value_list_append_value),
15643 (gst_value_list_get_size), (gst_value_list_get_value),
15644 (gst_value_transform_array_string), (gst_value_serialize_array),
15645 (gst_value_deserialize_array), (gst_value_intersect_array),
15646 (gst_value_is_fixed), (_gst_value_initialize):
15648 GstElement::new-pad -> pad-added, GstElement::state-change ->
15649 state-changed, GstValueFixedList -> GstValueArray, add format and
15650 flags as their own arguments in gst_element_seek() (should improve
15651 "bindeability"), remove function generators since they don't work
15652 under a whole bunch of compilers (they were deprecated already
15655 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15657 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15658 (_gst_debug_register_funcptr):
15660 Fix illegal cast on some platforms (#309253).
15662 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15664 * gst/gstmessage.c: (gst_message_new_custom):
15665 * gst/gstmessage.h:
15666 Add _new_custom, make _new_application a macro to _new_custom.
15668 2005-07-20 Wim Taymans <wim@fluendo.com>
15670 * gst/base/gstbasesrc.c: (gst_base_src_init),
15671 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15672 * gst/base/gstbasesrc.h:
15673 Add a gboolean to decide when to push out a discont.
15675 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15676 (gst_queue_loop), (gst_queue_handle_src_query),
15677 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15678 (gst_queue_set_property), (gst_queue_get_property):
15681 * tests/threadstate/threadstate1.c: (main):
15682 Make a thread test compile and run... very silly..
15685 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15687 * docs/manual/appendix-porting.xml:
15688 Mention removal of libgstgconf-0.9.la and existence of gconf
15691 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15693 * docs/pwg/advanced-clock.xml:
15694 * docs/pwg/appendix-porting.xml:
15695 * docs/pwg/intro-preface.xml:
15696 * docs/pwg/other-base.xml:
15697 * docs/pwg/other-manager.xml:
15698 * docs/pwg/other-nton.xml:
15699 * docs/pwg/other-ntoone.xml:
15700 * docs/pwg/other-oneton.xml:
15701 * docs/pwg/pwg.xml:
15702 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15703 demuxer), remove n-to-n (was never written), fix some code examples
15704 and links and update the porting section to include all this.
15706 2005-07-19 Wim Taymans <wim@fluendo.com>
15708 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15709 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15710 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15711 (gst_queue_src_activate_push), (gst_queue_change_state),
15712 (gst_queue_get_property):
15714 Propagate GstFlowReturn more intelligently upstream and output
15715 an ERROR/EOS when streaming stopped due to fatal error.
15717 2005-07-19 Wim Taymans <wim@fluendo.com>
15719 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15720 Don't block forever for the state change to complete, the
15721 pipeline already did with a sensible timeout.
15723 2005-07-19 Wim Taymans <wim@fluendo.com>
15725 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15726 Make sure we never call the create function is we
15729 2005-07-19 Andy Wingo <wingo@pobox.com>
15731 * gst/parse/parse.l: Attempt to solve bug #172815.
15733 2005-07-19 Wim Taymans <wim@fluendo.com>
15735 * docs/design/part-clocks.txt:
15736 * docs/design/part-events.txt:
15737 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15738 Small docs updates.
15739 Only update the seeking values when we are not
15742 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15744 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15745 Oops, ignore the result of gst_pad_push_event here.
15747 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15749 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15750 (gst_base_src_activate_push):
15751 Send discont event from the loop function, as pads
15752 aren't activated yet in the activate_push handler.
15754 * gst/gstbin.c: (bin_bus_handler):
15755 Don't leak element name.
15757 2005-07-18 Andy Wingo <wingo@pobox.com>
15759 * configure.ac: Use AS_LIBTOOL_TAGS.
15761 2005-07-18 Wim Taymans <wim@fluendo.com>
15763 * docs/gst/gstreamer.types:
15764 Remove deleted types.
15766 2005-07-18 Wim Taymans <wim@fluendo.com>
15768 * check/elements/gstfakesrc.c: (GST_START_TEST):
15771 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15772 (init_popt_callback):
15774 * gst/gst_private.h:
15775 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15776 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15779 * gst/gstconfig.h.in:
15780 * gst/gstelement.c: (gst_element_class_init),
15781 (gst_element_set_base_time), (gst_element_get_base_time),
15782 (iterator_fold_with_resync), (gst_element_change_state),
15783 (gst_element_dispose), (gst_element_get_bus):
15784 * gst/gstelement.h:
15785 * gst/gstelementfactory.h:
15786 * gst/gsterror.c: (_gst_core_errors_init):
15789 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15791 * gst/gstinfo.c: (_gst_debug_init):
15792 * gst/gstmessage.c: (_gst_message_copy):
15793 * gst/gstmessage.h:
15794 * gst/gstminiobject.h:
15797 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15798 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15801 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15802 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15803 (gst_pipeline_get_last_stream_time):
15804 * gst/gstpipeline.h:
15805 * gst/gstpluginfeature.h:
15807 * gst/gstscheduler.c:
15808 * gst/gstscheduler.h:
15809 * gst/gststructure.h:
15810 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15811 (gst_task_finalize), (gst_task_func), (gst_task_create),
15812 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15813 (gst_task_stop), (gst_task_pause):
15815 * gst/gsttypefind.h:
15817 * gst/registries/gstlibxmlregistry.c: (load_feature),
15818 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15819 * gst/registries/gstxmlregistry.c:
15820 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15821 * gst/schedulers/threadscheduler.c:
15822 * libs/gst/control/dparammanager.h:
15823 * tools/gst-inspect.c: (print_element_list),
15824 (print_plugin_features), (print_element_features):
15825 * tools/gst-xmlinspect.c: (print_element_list),
15826 (print_plugin_info), (main):
15827 Removed plugable schedulers.
15828 Removed Scheduler/Manager from elements.
15829 Removed gsttypes.h, rearranged includes.
15830 Removed dependency pad<->element, element<>pipeline, and
15831 various others, fix includes.
15832 implement gst_pad_get_parent() with gst_object_get_parent()
15833 Make GstTask sefcontained.
15834 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15836 Fix endless loop in iterator_fold_with_resync.
15839 2005-07-18 Wim Taymans <wim@fluendo.com>
15845 2005-07-18 Wim Taymans <wim@fluendo.com>
15848 No more cothreads.h
15850 2005-07-18 Wim Taymans <wim@fluendo.com>
15854 Let's remove these.
15856 2005-07-18 Wim Taymans <wim@fluendo.com>
15858 * docs/design/part-dynamic.txt:
15859 * docs/design/part-events.txt:
15860 * docs/design/part-seeking.txt:
15861 Some more docs in the works.
15863 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15864 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15865 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15866 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15867 (gst_base_transform_handle_buffer),
15868 (gst_base_transform_sink_activate_push),
15869 (gst_base_transform_src_activate_pull),
15870 (gst_base_transform_set_passthrough),
15871 (gst_base_transform_is_passthrough):
15874 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15877 * gst/gstevent.c: (gst_event_finalize):
15880 * gst/gstutils.c: (gst_element_unlink),
15881 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15882 (gst_pad_proxy_setcaps):
15884 Add _get_parent_element() to get a pads parent as an element.
15886 2005-07-18 Wim Taymans <wim@fluendo.com>
15888 * check/gst/gstbin.c: (GST_START_TEST):
15891 2005-07-18 Wim Taymans <wim@fluendo.com>
15893 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15894 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15895 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15896 (gst_base_sink_event), (gst_base_sink_do_sync),
15897 (gst_base_sink_chain), (gst_base_sink_loop),
15898 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15899 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15901 Fix logic for returning ASYNC when not prerolled.
15903 2005-07-18 Wim Taymans <wim@fluendo.com>
15905 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15906 Fix nasty refcount bug.
15908 2005-07-16 Philippe Khalaf <burger@speedy.org>
15910 * gst/elements/gstfdsrc.c:
15911 * gst/elements/gstfdsrc.h:
15912 * gst/elements/gstelements.c:
15913 * gst/elements/Makefile.am:
15914 Ported fdsrc to 0.9.
15916 2005-07-16 Wim Taymans <wim@fluendo.com>
15918 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15919 (gst_base_sink_do_sync):
15922 2005-07-16 Wim Taymans <wim@fluendo.com>
15924 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15925 (gst_base_sink_event), (gst_base_sink_get_times),
15926 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15927 * gst/base/gstbasesink.h:
15928 Store and use discont values when syncing buffers as described
15931 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15932 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15933 (gst_base_src_activate_push):
15934 Push discont event when starting.
15936 * gst/elements/gstidentity.c: (gst_identity_transform):
15939 * gst/gstbin.c: (gst_bin_change_state):
15940 Small cleanups in base_time distribution.
15942 * gst/gstelement.c: (gst_element_set_base_time),
15943 (gst_element_get_base_time), (gst_element_change_state):
15944 * gst/gstelement.h:
15945 Added methods for the base_time of the element.
15948 * gst/gstpipeline.c: (gst_pipeline_send_event),
15949 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15950 (gst_pipeline_get_last_stream_time):
15951 * gst/gstpipeline.h:
15953 Handle seeking as described in design doc, remove stream_time
15955 Cleanups clock and stream_time selection code. Added accessors
15956 for the stream_time.
15959 2005-07-16 Andy Wingo <wingo@pobox.com>
15961 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15964 2005-07-16 Wim Taymans <wim@fluendo.com>
15966 * check/gst/gstbin.c: (GST_START_TEST):
15967 Make elements silent as the deep_notify refs the
15968 parent, which might make the test fail.
15970 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15971 Don't hold the lock for too long.
15973 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15975 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15976 Don't unref the caps we passed to gst_caps_make_writable() after
15977 passing them. gst_caps_make_writable() will do that for us.
15979 2005-07-15 Andy Wingo <wingo@pobox.com>
15981 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15984 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15985 own marshalling function for the handoff signal. Properly type the
15986 buffer as a buffer. Fixes some warnings. Should do a more general
15988 (gst_identity_class_init): Plug into the right marshaller.
15990 2005-07-15 Wim Taymans <wim@fluendo.com>
15992 * docs/design/part-TODO.txt:
15993 * docs/design/part-clocks.txt:
15994 * docs/design/part-element-sink.txt:
15995 * docs/design/part-events.txt:
15996 * docs/design/part-gstpipeline.txt:
15997 Updated docs, mostly DISCONT related.
15999 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
16001 * docs/pwg/building-pads.xml:
16002 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16004 2005-07-15 Andy Wingo <wingo@pobox.com>
16006 * tools/gst-typefind.c: Update, add copyright block.
16008 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16009 Normalize and truncate caps before fixation.
16012 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16013 discards all but the first structure from its argument.
16015 2005-07-15 Wim Taymans <wim@fluendo.com>
16017 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16018 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16019 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16020 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16021 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16022 (gst_base_transform_chain), (gst_base_transform_change_state),
16023 (gst_base_transform_set_passthrough),
16024 (gst_base_transform_is_passthrough):
16025 * gst/base/gstbasetransform.h:
16026 Make passthrough work using the bufferpools.
16027 Changed API a bit, subclasses have to write into a buffer
16028 provided by the base class.
16029 More debug info in nego functions.
16031 * gst/elements/gstidentity.c: (gst_identity_init),
16032 (gst_identity_transform):
16033 Port to new base class.
16035 2005-07-15 Wim Taymans <wim@fluendo.com>
16037 * gst/gstmessage.c: (gst_message_new_state_changed):
16038 * tools/gst-launch.c: (event_loop), (main):
16039 Totally dump messages in -launch with the -m option.
16040 Fix message name for State messages,
16042 2005-07-14 Wim Taymans <wim@fluendo.com>
16044 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16045 Post error messages on errors.
16047 2005-07-14 Wim Taymans <wim@fluendo.com>
16049 * gst/gstcaps.c: (gst_caps_do_simplify):
16053 Define error for stream stopped.
16055 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16056 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16057 Do proper return values.
16059 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16060 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16061 (gst_pad_get_range):
16062 Better return values.
16065 Reorganise return values, add macro to check for fatal errors.
16067 * gst/gstqueue.c: (gst_queue_chain):
16068 Return proper GstFlowReturn values,
16070 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16072 * docs/gst/gstreamer-sections.txt:
16073 * docs/gst/gstreamer.types:
16074 * docs/gst/tmpl/gst.sgml:
16075 * docs/gst/tmpl/gstbasesink.sgml:
16076 * docs/gst/tmpl/gstbasesrc.sgml:
16077 * docs/gst/tmpl/gstbasetransform.sgml:
16078 * docs/gst/tmpl/gstbin.sgml:
16079 * docs/gst/tmpl/gstbuffer.sgml:
16080 * docs/gst/tmpl/gstcaps.sgml:
16081 * docs/gst/tmpl/gstclock.sgml:
16082 * docs/gst/tmpl/gstcompat.sgml:
16083 * docs/gst/tmpl/gstconfig.sgml:
16084 * docs/gst/tmpl/gstelement.sgml:
16085 * docs/gst/tmpl/gstelementdetails.sgml:
16086 * docs/gst/tmpl/gstelementfactory.sgml:
16087 * docs/gst/tmpl/gstenumtypes.sgml:
16088 * docs/gst/tmpl/gsterror.sgml:
16089 * docs/gst/tmpl/gstevent.sgml:
16090 * docs/gst/tmpl/gstfakesink.sgml:
16091 * docs/gst/tmpl/gstfakesrc.sgml:
16092 * docs/gst/tmpl/gstfilesink.sgml:
16093 * docs/gst/tmpl/gstfilesrc.sgml:
16094 * docs/gst/tmpl/gstfilter.sgml:
16095 * docs/gst/tmpl/gstformat.sgml:
16096 * docs/gst/tmpl/gstghostpad.sgml:
16097 * docs/gst/tmpl/gstimplementsinterface.sgml:
16098 * docs/gst/tmpl/gstindex.sgml:
16099 * docs/gst/tmpl/gstindexfactory.sgml:
16100 * docs/gst/tmpl/gstinfo.sgml:
16101 * docs/gst/tmpl/gstiterator.sgml:
16102 * docs/gst/tmpl/gstmacros.sgml:
16103 * docs/gst/tmpl/gstmemchunk.sgml:
16104 * docs/gst/tmpl/gstminiobject.sgml:
16105 * docs/gst/tmpl/gstobject.sgml:
16106 * docs/gst/tmpl/gstpad.sgml:
16107 * docs/gst/tmpl/gstpadtemplate.sgml:
16108 * docs/gst/tmpl/gstparse.sgml:
16109 * docs/gst/tmpl/gstpipeline.sgml:
16110 * docs/gst/tmpl/gstplugin.sgml:
16111 * docs/gst/tmpl/gstpluginfeature.sgml:
16112 * docs/gst/tmpl/gstquery.sgml:
16113 * docs/gst/tmpl/gstqueue.sgml:
16114 * docs/gst/tmpl/gstregistry.sgml:
16115 * docs/gst/tmpl/gstregistrypool.sgml:
16116 * docs/gst/tmpl/gstscheduler.sgml:
16117 * docs/gst/tmpl/gstschedulerfactory.sgml:
16118 * docs/gst/tmpl/gststructure.sgml:
16119 * docs/gst/tmpl/gstsystemclock.sgml:
16120 * docs/gst/tmpl/gsttaglist.sgml:
16121 * docs/gst/tmpl/gsttagsetter.sgml:
16122 * docs/gst/tmpl/gsttrace.sgml:
16123 * docs/gst/tmpl/gsttrashstack.sgml:
16124 * docs/gst/tmpl/gsttypefind.sgml:
16125 * docs/gst/tmpl/gsttypefindfactory.sgml:
16126 * docs/gst/tmpl/gsttypes.sgml:
16127 * docs/gst/tmpl/gsturihandler.sgml:
16128 * docs/gst/tmpl/gsturitype.sgml:
16129 * docs/gst/tmpl/gstutils.sgml:
16130 * docs/gst/tmpl/gstvalue.sgml:
16131 * docs/gst/tmpl/gstversion.sgml:
16132 * docs/gst/tmpl/gstxml.sgml:
16133 * docs/libs/tmpl/gstcontrol.sgml:
16134 * docs/libs/tmpl/gstdataprotocol.sgml:
16135 * docs/libs/tmpl/gstdparam.sgml:
16136 * docs/libs/tmpl/gstdplinint.sgml:
16137 * docs/libs/tmpl/gstdpman.sgml:
16138 * docs/libs/tmpl/gstdpsmooth.sgml:
16139 * docs/libs/tmpl/gstgetbits.sgml:
16140 * docs/libs/tmpl/gstunitconvert.sgml:
16141 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16142 (gst_push_src_base_init), (gst_push_src_class_init),
16143 (gst_push_src_init), (gst_push_src_create):
16144 * gst/base/gstpushsrc.h:
16145 * gst/elements/gstelements.c:
16146 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16147 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16148 (gst_fake_sink_init), (gst_fake_sink_set_property),
16149 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16150 (gst_fake_sink_event), (gst_fake_sink_preroll),
16151 (gst_fake_sink_render), (gst_fake_sink_change_state):
16152 * gst/elements/gstfakesink.h:
16153 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16154 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16155 (gst_fake_src_base_init), (gst_fake_src_class_init),
16156 (gst_fake_src_init), (gst_fake_src_event_handler),
16157 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16158 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16159 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16160 (gst_fake_src_create_buffer), (gst_fake_src_create),
16161 (gst_fake_src_start), (gst_fake_src_stop):
16162 * gst/elements/gstfakesrc.h:
16163 * gst/elements/gstfilesink.c: (_do_init),
16164 (gst_file_sink_base_init), (gst_file_sink_class_init),
16165 (gst_file_sink_init), (gst_file_sink_dispose),
16166 (gst_file_sink_set_location), (gst_file_sink_set_property),
16167 (gst_file_sink_get_property), (gst_file_sink_open_file),
16168 (gst_file_sink_close_file), (gst_file_sink_query),
16169 (gst_file_sink_event), (gst_file_sink_render),
16170 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16171 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16172 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16173 * gst/elements/gstfilesink.h:
16174 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16175 (gst_file_src_class_init), (gst_file_src_init),
16176 (gst_file_src_finalize), (gst_file_src_set_location),
16177 (gst_file_src_set_property), (gst_file_src_get_property),
16178 (gst_file_src_map_region), (gst_file_src_map_small_region),
16179 (gst_file_src_create_mmap), (gst_file_src_create_read),
16180 (gst_file_src_create), (gst_file_src_is_seekable),
16181 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16182 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16183 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16184 (gst_file_src_uri_handler_init):
16185 * gst/elements/gstfilesrc.h:
16186 more autistic cleanliness in functions/names/defines
16188 2005-07-13 Andy Wingo <wingo@pobox.com>
16190 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16191 source couldn't negotiate.
16193 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16197 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16198 function. I am channeling Hades. Put your boots on suckers!!!
16200 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16202 * testsuite/caps/Makefile.am:
16203 * testsuite/caps/value_compare.c:
16204 * testsuite/caps/value_intersect.c:
16205 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16206 move two testsuite apps over to the check dir
16208 2005-07-12 Wim Taymans <wim@fluendo.com>
16210 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16211 Added more debug info in the negotiate process.
16213 * gst/gstmessage.h:
16214 Prepare for segment playback.
16216 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16222 * tools/gst-launch.c: (main):
16223 NULL pipeline on errors.
16225 2005-07-12 Andy Wingo <wingo@pobox.com>
16227 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16228 not it comes from a malloc region. Make sure our copy gets freed.
16230 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16232 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16233 * check/gst/gstmessage.c: (GST_START_TEST):
16234 * check/gst/gststructure.c: (GST_START_TEST),
16235 (gst_structure_suite), (main):
16237 * gst/gstelement.c: (gst_element_message_full):
16238 clean up GError and debug string now that they get copied
16239 * gst/gstmessage.c: (gst_message_new_error),
16240 (gst_message_new_warning), (gst_message_parse_error),
16241 (gst_message_parse_warning):
16242 use GST_TYPE_G_ERROR for structure_new, and take copies of
16243 arguments, so that we don't mess up refcounting
16245 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16247 * check/Makefile.am:
16248 add per-test valgrind targets
16249 * check/gst-libs/gdp.c: (GST_START_TEST),
16250 (gst_data_protocol_suite), (main):
16253 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16255 * check/Makefile.am:
16256 instate more valgrindable tests
16257 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16258 (GST_START_TEST), (fakesrc_suite):
16259 * check/gst/gstpad.c: (GST_START_TEST):
16260 * check/gst/gststructure.c: (GST_START_TEST):
16262 * docs/gst/tmpl/gstminiobject.sgml:
16263 * gst/gstpad.c: (gst_pad_finalize):
16264 fix the static mutex leak
16266 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16268 * check/Makefile.am:
16269 add two more tests for valgrinding
16270 * check/gst/gstvalue.c: (GST_START_TEST):
16271 test refcount of deserialized buffer, found a leak
16272 * docs/gst/gstreamer-docs.sgml:
16273 * docs/gst/gstreamer-sections.txt:
16274 * docs/gst/gstreamer.types:
16275 * docs/gst/tmpl/gstminiobject.sgml:
16276 add miniobject to docs
16277 * gst/gstminiobject.c:
16279 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16280 (gst_string_unwrap):
16281 fix a hard-to-find invalid write for one of the tests
16282 fix a leak for deserialized buffers
16284 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16286 * docs/pwg/advanced-events.xml:
16287 * docs/pwg/advanced-request.xml:
16288 * docs/pwg/advanced-scheduling.xml:
16289 * docs/pwg/appendix-porting.xml:
16290 * docs/pwg/building-boiler.xml:
16291 * docs/pwg/intro-preface.xml:
16292 * docs/pwg/other-ntoone.xml:
16293 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16294 of example code and explanation for pad activation, loop() and
16295 getrange() functions and a bit more. Remove old comments pointing
16297 * examples/pwg/Makefile.am:
16298 Add loop/getrange examples.
16300 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16303 check for valgrind binary + some fixes
16305 valgrind suppressions for the tests
16306 * check/Makefile.am:
16307 add a valgrind: target that valgrinds the unit tests
16308 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16309 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16310 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16311 * check/gst/gstghostpad.c:
16313 * check/gst/gstdata.c:
16315 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16316 (thread_unref), (gst_mini_object_suite), (main):
16318 * gst/gst.c: (gst_deinit):
16320 add a method to clean up.
16321 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16322 (gst_system_clock_obtain):
16323 allow for disposing the system clock.
16324 * tools/gst-launch.c: (main):
16327 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16329 * docs/gst/tmpl/gstbasesrc.sgml:
16330 * docs/gst/tmpl/gstfakesrc.sgml:
16331 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16332 (gst_base_src_init), (gst_base_src_set_property),
16333 (gst_base_src_get_property), (gst_base_src_get_range),
16334 (gst_base_src_start):
16335 * gst/base/gstbasesrc.h:
16336 add num-buffers property
16337 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16338 (gst_fakesrc_init), (gst_fakesrc_set_property),
16339 (gst_fakesrc_get_property), (gst_fakesrc_create),
16340 (gst_fakesrc_start):
16341 remove num-buffers property
16343 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16345 * docs/gst/gstreamer-sections.txt:
16346 * docs/gst/tmpl/gstbasesink.sgml:
16347 * docs/gst/tmpl/gstbasesrc.sgml:
16348 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16349 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16350 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16351 (gst_base_sink_set_property), (gst_base_sink_get_property),
16352 (gst_base_sink_handle_object), (gst_base_sink_event),
16353 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16354 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16355 (gst_base_sink_loop), (gst_base_sink_deactivate),
16356 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16357 (gst_base_sink_change_state):
16358 * gst/base/gstbasesink.h:
16359 * gst/base/gstbasesrc.h:
16360 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16361 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16362 (gst_filesink_init):
16363 more macro splitting
16365 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16367 * gst/gstelement.c: (gst_element_get_bus):
16369 * tools/gst-launch.c: (check_intr), (event_loop):
16372 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16374 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16377 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16379 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16380 (gst_base_src_finalize):
16381 add finalize method and clean up properly
16382 * gst/gstpipeline.c: (gst_pipeline_dispose):
16385 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16387 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16389 add more things to check
16390 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16391 * gst/gstelement.c:
16394 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16396 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16397 (GST_START_TEST), (fakesrc_suite):
16398 * check/gst-libs/gdp.c: (GST_START_TEST):
16399 * check/gst/gst.c: (GST_START_TEST):
16400 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16401 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16402 * check/gst/gstbus.c: (GST_START_TEST):
16403 * check/gst/gstcaps.c: (GST_START_TEST):
16404 * check/gst/gstdata.c: (GST_START_TEST):
16405 * check/gst/gstelement.c: (GST_START_TEST):
16406 * check/gst/gstghostpad.c: (GST_START_TEST):
16407 * check/gst/gstiterator.c: (GST_START_TEST):
16408 * check/gst/gstmessage.c: (GST_START_TEST):
16409 * check/gst/gstobject.c: (GST_START_TEST):
16410 * check/gst/gstpad.c: (GST_START_TEST):
16411 * check/gst/gststructure.c: (GST_START_TEST):
16412 * check/gst/gstsystemclock.c: (GST_START_TEST),
16413 (gst_systemclock_suite):
16414 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16415 * check/gst/gstvalue.c: (GST_START_TEST):
16416 * check/pipelines/cleanup.c: (GST_START_TEST):
16417 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16418 * check/states/sinks.c: (GST_START_TEST):
16419 * check/gstcheck.c: (gst_check_init):
16420 * check/gstcheck.h:
16421 add debugging category
16422 use GST_START_TEST now, so we add a debug line
16424 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16426 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16427 add test for state change message on a bin
16428 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16430 * gst/gstbin.c: (gst_bin_init):
16431 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16432 * gst/gstelement.c: (gst_element_post_message),
16433 (gst_element_set_state):
16434 * gst/gstelementfactory.c: (gst_element_factory_create):
16435 * gst/gstmessage.c: (gst_message_new):
16436 * gst/gstscheduler.c:
16437 various debugging additions and cleanups
16439 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16441 * check/Makefile.am:
16442 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16444 adding tests for elements
16445 * gst/gstelement.c: (gst_element_dispose):
16447 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16449 * gst/registries/gstlibxmlregistry.c: (load_feature):
16450 plug more leaks. A simple gst_init() now is leakfree, yay.
16452 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16454 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16455 (gst_xml_registry_load):
16456 plug another memleak
16458 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16461 use GST_SET_ERROR_CFLAGS
16462 * docs/faq/cvs.xml:
16463 change to ERROR_CFLAGS
16465 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16468 make GST_ERROR_CFLAGS overridable and re-enable Werror
16469 * docs/faq/cvs.xml:
16470 add a note about error CFLAGS
16471 * docs/gst/tmpl/gstfakesrc.sgml:
16472 * gst/elements/gstfakesrc.c:
16473 comment out some unused code
16474 * gst/gst.c: (split_and_iterate):
16475 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16479 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16481 * common/Makefile.am:
16482 * common/gtk-doc.mak:
16483 * docs/gst/Makefile.am:
16484 factor out gtk-doc.mak
16486 2005-07-07 Wim Taymans <wim@fluendo.com>
16488 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16489 (gst_thread_scheduler_dispose):
16490 Unlock the STREAM_LOCK completely.
16492 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16494 * check/Makefile.am:
16495 * check/elements/.cvsignore:
16496 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16497 (START_TEST), (fakesrc_suite), (main):
16498 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16499 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16500 (gst_fakesrc_create), (gst_fakesrc_start):
16501 * gst/elements/gstfakesrc.h:
16502 adding a first element test
16504 2005-07-07 Andy Wingo <wingo@pobox.com>
16506 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16509 2005-07-07 Wim Taymans <wim@fluendo.com>
16515 2005-07-07 Wim Taymans <wim@fluendo.com>
16517 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16518 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16519 Allow subclasses to implement their own negotiation.
16521 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16523 * docs/design/part-gstbin.txt:
16524 * docs/design/part-gstpipeline.txt:
16525 Update design notes to reflect the movement of
16526 responsibility for bus handling from GstPipeline to
16529 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16532 Remove unnecessary queue2/3/4 examples.
16534 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16536 * examples/Makefile.am:
16537 * examples/helloworld/helloworld.c: (event_loop), (main):
16538 * examples/queue/queue.c: (event_loop), (main):
16539 * examples/queue2/queue2.c: (main):
16540 Update a couple of the examples to work again.
16542 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16543 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16544 Spelling corrections and extra debug.
16546 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16547 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16548 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16550 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16551 (gst_pipeline_change_state):
16552 * gst/gstpipeline.h:
16553 Move the bus handler for children to the GstBin, and create a
16554 separate bus for receiving messages from children to the one the
16555 bus sends 'upwards' on.
16557 2005-07-06 Wim Taymans <wim@fluendo.com>
16560 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16561 (gst_base_sink_handle_object), (gst_base_sink_loop),
16562 (gst_base_sink_change_state):
16563 * gst/base/gstbasesink.h:
16564 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16565 (gst_base_src_init), (gst_base_src_setcaps),
16566 (gst_base_src_getcaps), (gst_base_src_loop),
16567 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16568 (gst_base_src_start), (gst_base_src_change_state):
16569 * gst/base/gstbasesrc.h:
16570 Make basesrc negotiate.
16571 Handle the case where preroll fails in basesink.
16574 2005-07-06 Wim Taymans <wim@fluendo.com>
16576 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16577 Implement the fixate function.
16578 Clean up acceptcaps.
16580 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16582 * docs/pwg/building-filterfactory.xml:
16583 * docs/pwg/pwg.xml:
16584 Remove never-written filter-factory chapter; I'll add the various
16585 base classes to part 4 ("other element types") later on.
16587 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16589 * docs/pwg/advanced-negotiation.xml:
16590 * docs/pwg/building-boiler.xml:
16591 * docs/pwg/building-pads.xml:
16592 * docs/pwg/pwg.xml:
16593 * examples/pwg/Makefile.am:
16594 Add a chapter on caps negotiation, simplify the original code
16595 samples a bit w.r.t. caps negotiation, add link to the advanced
16596 section. Add a bunch of examples showing different use cases of
16597 different types of caps negotiation. Upstream renegotiation isn't
16598 fully documented yet since nobody knows how that works.
16600 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16602 * check/gst/gstpad.c:
16603 * check/gstcheck.c:
16604 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16605 if pad has no parent, return NULL as list of internal links
16607 2005-07-05 Andy Wingo <wingo@pobox.com>
16609 * gst/elements/gstfilesrc.c:
16610 * gst/elements/gstfakesrc.c:
16611 * gst/base/gstpushsrc.c:
16612 * gst/base/gstbasesrc.h:
16613 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16615 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16618 better report generation target (lcov needs a patch)
16620 2005-07-05 Andy Wingo <wingo@pobox.com>
16622 * gst/elements, testsuite: Null if we got it...
16624 2005-07-05 Wim Taymans <wim@fluendo.com>
16627 * libs/gst/dataprotocol/Makefile.am:
16628 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16629 * libs/gst/dataprotocol/dataprotocol.h:
16630 * pkgconfig/Makefile.am:
16631 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16632 * pkgconfig/gstreamer-dataprotocol.pc.in:
16633 Ported dataprotol to 0.9.
16634 Added pkgconfig files.
16636 2005-07-05 Andy Wingo <wingo@pobox.com>
16638 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16639 Default to returning TRUE for the case when tranform_caps returns
16640 a fixed caps, like for identity or volume.
16642 * check/gst/gstbus.c (pound_bus_with_messages):
16643 * check/gst/gstmessage.c (START_TEST):
16644 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16645 message API change.
16647 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16648 logic weaks here: always run transform_caps, trying passthrough
16649 operation only if the original caps intersects with the transform.
16651 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16652 source and sink caps.
16654 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16655 Intersect the peer caps with the pad template before going into
16657 (gst_base_transform_transform_caps): More debugging.
16659 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16662 2005-07-04 Edward Hervey <edward@fluendo.com>
16666 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16669 2005-07-04 Andy Wingo <wingo@pobox.com>
16671 * check/gst/gstpad.c: Only set explicit caps on pads.
16673 2005-07-01 Andy Wingo <wingo@pobox.com>
16675 * tests/network-clock.scm: Commentary update.
16677 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16678 Didn't really make sense, not implementable with basetransform,
16680 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16681 attempt at implementing the sync property, needs an unlock method.
16683 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16684 New func, by default returns the same caps (the identity
16686 (gst_base_transform_getcaps): Uses transform_caps to return
16687 something sensible.
16688 (gst_base_transform_setcaps): Complicated logic to get caps on
16689 both pads, even if they are different, and to call set_caps once
16690 for every time both pads get their caps set.
16691 (gst_base_transform_handle_buffer): Give the ref to the transform
16692 function. Allows in-place modification of the buffer.
16694 * gst/base/gstbasetransform.h (transform_caps): New class method.
16695 Given caps on one side, what can I do on the other.
16696 (set_caps): Take two caps, one for each side of the element.
16699 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16700 caps in place. This is safe because we can check the mutability of
16701 the caps, and a good idea because fixate functions are just called
16702 as a matter of last resort. (Not actually implemented.)
16703 (gst_pad_set_caps): If the caps we're setting is actually the same
16704 as the existing pad caps, just update the pointer without calling
16705 setcaps. Assert that caps is either NULL or fixed, as per the
16708 * gst/gstghostpad.c: Update for fixate changes.
16710 2005-07-02 Andy Wingo <wingo@pobox.com>
16713 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16714 two refcounts makes it immutable, which is enough. Doc more.
16716 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16718 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16719 Put the mini_object into GValue as a mini_object,
16720 not a gpointer, since that's how we declared
16723 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16725 * examples/pwg/Makefile.am:
16726 Fix buildbot again.
16728 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16730 * docs/pwg/building-testapp.xml:
16732 * examples/pwg/Makefile.am:
16735 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16738 * examples/Makefile.am:
16739 * examples/pwg/Makefile.am:
16740 * examples/pwg/extract.pl:
16741 Enable building the PWG examples.
16742 * docs/pwg/advanced-interfaces.xml:
16743 Add URI interface stub.
16744 * docs/pwg/advanced-types.xml:
16745 * docs/pwg/other-autoplugger.xml:
16746 * docs/pwg/appendix-porting.xml:
16747 * docs/pwg/pwg.xml:
16748 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16749 * docs/pwg/building-boiler.xml:
16750 * docs/pwg/building-chainfn.xml:
16751 * docs/pwg/building-pads.xml:
16752 * docs/pwg/building-props.xml:
16753 * docs/pwg/building-state.xml:
16754 * docs/pwg/building-testapp.xml:
16755 Update the building-*.xml parts for 0.9 changes. All examples
16756 code blocks compile in examples/pwg/*.
16758 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16760 * docs/manual/advanced-autoplugging.xml:
16761 * docs/manual/appendix-checklist.xml:
16762 * docs/manual/appendix-integration.xml:
16763 * docs/manual/highlevel-components.xml:
16764 Fix playbin/decodebin examples, update docs a bit, mention bus
16765 instead of signals in various places, mention kmplayer and
16766 kaffeine since they have a working GStreamer backend in the KDE
16769 2005-06-30 Wim Taymans <wim@fluendo.com>
16772 * docs/design/draft-ghostpads.txt:
16773 * docs/design/draft-push-pull.txt:
16774 * docs/design/draft-query.txt:
16775 * docs/design/part-TODO.txt:
16776 * docs/design/part-query.txt:
16777 Added CHANGES-0.9 doc, updated status of other docs.
16782 2005-06-30 Wim Taymans <wim@fluendo.com>
16784 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16785 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16786 (gst_base_sink_change_state):
16787 * gst/base/gstbasesink.h:
16788 Some tweaks, only EOS and a buffer complete a preroll.
16790 2005-06-30 Andy Wingo <wingo@pobox.com>
16792 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16793 activate_push down to the internal pad as well.
16795 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16797 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16799 * gst/gsttaginterface.c:
16800 Some documentation fixes (#307394 and #307397).
16802 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16804 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16806 * gst/gstvalue.c: (gst_value_intersect_list):
16807 Fix memleak (#309125).
16809 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16811 * docs/manual/advanced-dataaccess.xml:
16812 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16813 * docs/manual/basics-pads.xml:
16814 Add reference for filtered caps to above chapter.
16816 2005-06-30 Wim Taymans <wim@fluendo.com>
16818 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16819 (gst_bin_change_state):
16821 Lame attempt at making the state change function a bit
16824 2005-06-30 Wim Taymans <wim@fluendo.com>
16826 * docs/design/part-clocks.txt:
16827 * docs/design/part-element-sink.txt:
16828 * docs/design/part-events.txt:
16829 * docs/design/part-preroll.txt:
16830 * docs/design/part-states.txt:
16831 Some more tweeks and additions to the docs.
16833 2005-06-30 Wim Taymans <wim@fluendo.com>
16835 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16836 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16837 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16838 (gst_pad_check_pull_range), (gst_pad_get_range),
16839 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16841 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16842 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16843 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16844 (gst_pad_remove_buffer_probe):
16845 Removed atomic operations, use existing LOCK.
16846 Move exception handling out of main code path.
16848 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16850 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16851 (silly_return_true_function), (gst_pad_class_init),
16852 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16853 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16854 (gst_pad_send_event):
16855 Fix accumulator, add default value by using _emitv() instead
16856 of _emit() for signal emission.
16858 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16860 * docs/manual/advanced-dataaccess.xml:
16861 * examples/manual/Makefile.am:
16863 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16866 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16868 * gst/elements/gstfilesink.c: (gst_filesink_render):
16869 Simplify code so that we don't have to handle short
16870 writes and return GST_FLOW_ERROR if an error occured.
16872 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16874 * docs/gst/gstreamer-docs.sgml:
16875 Remove probes more.
16877 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16879 * docs/gst/gstreamer-sections.txt:
16880 * docs/gst/tmpl/gstpad.sgml:
16881 * docs/gst/tmpl/gstprobe.sgml:
16883 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16884 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16885 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16886 (gst_pad_push_event), (gst_pad_send_event):
16888 * gst/gstutils.c: (gst_pad_add_data_probe),
16889 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16890 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16891 (gst_pad_remove_buffer_probe):
16893 Remove old probes, add new g-signal-based probes and some utility
16896 2005-06-29 Edward Hervey <edward@fluendo.com>
16898 * gst/gstelementfactory.c:
16901 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16902 the definition to the header file.
16904 2005-06-29 Andy Wingo <wingo@pobox.com>
16906 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16907 plugins from the source directory.
16909 2005-06-29 Wim Taymans <wim@fluendo.com>
16911 * docs/gst/tmpl/gstbuffer.sgml:
16912 * docs/gst/tmpl/gstclock.sgml:
16913 Some fixings for blantently wrong text.
16915 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16917 * check/Makefile.am:
16918 * gst/gst.c: (add_path_func), (init_pre):
16919 * gst/gstregistry.c: (gst_registry_add_path):
16920 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16921 only scan the GST_PLUGIN_PATH locations, and not add
16924 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16926 * docs/gst/gstreamer-sections.txt:
16927 * docs/gst/tmpl/gstbasesrc.sgml:
16928 * gst/gstelement.c:
16929 * gst/gstelement.h:
16934 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16936 * docs/manual/advanced-autoplugging.xml:
16937 Fix autoplugging example.
16939 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16941 * docs/manual/advanced-autoplugging.xml:
16942 * docs/manual/mime-world.fig:
16943 Try to get autoplugging working, fix type detection. Fix text
16944 in hello-world image.
16946 2005-06-29 Wim Taymans <wim@fluendo.com>
16948 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16949 (gst_base_sink_change_state):
16953 map SIGNAL and BROADCAST to the right function.
16956 Remove redundant braces.
16958 * gst/gstpad.c: (gst_pad_set_caps):
16959 Don't call setcaps function when reseting caps to NULL.
16961 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16962 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16963 (gst_system_clock_id_unschedule):
16964 Use BROADCAST as this is what we do.
16966 2005-06-29 Wim Taymans <wim@fluendo.com>
16968 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16969 We are actually prerolling before commiting the state
16972 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16974 * docs/manual/advanced-clocks.xml:
16975 * docs/manual/advanced-interfaces.xml:
16976 * docs/manual/advanced-metadata.xml:
16977 * docs/manual/advanced-position.xml:
16978 * docs/manual/advanced-schedulers.xml:
16979 * docs/manual/advanced-threads.xml:
16980 * docs/manual/appendix-porting.xml:
16981 * docs/manual/basics-bins.xml:
16982 * docs/manual/basics-bus.xml:
16983 * docs/manual/basics-elements.xml:
16984 * docs/manual/basics-helloworld.xml:
16985 * docs/manual/basics-pads.xml:
16986 * docs/manual/highlevel-components.xml:
16987 * docs/manual/manual.xml:
16988 * docs/manual/thread.fig:
16989 Update (until threads/scheduling) Application Development Manual;
16990 remove GstThread, add GstBus, add simple porting checklist, add
16991 documentation for tag writing, clocks, make all examples until this
16992 part compile and run.
16993 * examples/manual/Makefile.am:
16994 Update from changes to Application Development Manual; add bus
16995 example, remove thread example.
16997 2005-06-28 Wim Taymans <wim@fluendo.com>
16999 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17000 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17001 (gst_bus_source_dispatch):
17002 Add debugging messages.
17003 Make internal methods static.
17004 Handle the case where the bus is flushed in the handler.
17006 * gst/gstelement.c: (gst_element_get_bus):
17007 Fix refcount in _get_bus();
17009 * gst/gstpipeline.c: (gst_pipeline_change_state),
17010 (gst_pipeline_get_clock_func):
17011 Clock refcounting fixes.
17012 Handle the case where preroll timed out more gracefully.
17014 * gst/gstsystemclock.c: (gst_system_clock_dispose):
17015 Clean up the internal thread in dispose. This is needed
17016 for subclasses that actually get disposed.
17018 * gst/schedulers/threadscheduler.c:
17019 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17020 (gst_thread_scheduler_dispose):
17021 Free thread pool in dispose.
17023 2005-06-28 Andy Wingo <wingo@pobox.com>
17025 * tests/network-clock-utils.scm (debug, print-event): New utils.
17027 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17028 (*packet-loss*): Unified loss probability.
17029 (network-time): Report out-of-band events.
17031 * tests/plot-data: Add support for out-of-band events. Hack it
17032 into this script instead of passing it down the pipe; should fix
17035 2005-06-28 Wim Taymans <wim@fluendo.com>
17037 * docs/gst/gstreamer.types:
17038 * docs/gst/tmpl/gstbasesrc.sgml:
17039 * docs/gst/tmpl/gstpad.sgml:
17042 2005-06-28 Wim Taymans <wim@fluendo.com>
17044 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17045 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17046 (gst_proxy_pad_do_fixatecaps):
17047 Correctly proxy the check_pull_range function.
17049 2005-06-28 Andy Wingo <wingo@pobox.com>
17051 * tests/network-clock.scm: Removed need for slib.
17053 2005-06-28 Wim Taymans <wim@fluendo.com>
17055 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17056 (gst_basesink_preroll_queue_flush):
17057 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17058 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17059 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17060 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17061 (gst_proxy_pad_set_property):
17064 * gst/gstqueue.c: (gst_queue_init):
17065 The deprecated pad loop function is removed now.
17067 2005-06-28 Andy Wingo <wingo@pobox.com>
17069 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17070 New parameters, simulate network packet loss.
17072 * tests/network-clock-utils.scm: Initialize the RNG.
17074 2005-06-28 Wim Taymans <wim@fluendo.com>
17076 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17077 (gst_basesink_event), (gst_basesink_deactivate):
17078 Flushing the preroll queue always needs to unlock the waiters.
17080 2005-06-28 Edward Hervey <edward@fluendo.com>
17082 * gst/gstpipeline.c: (gst_pipeline_send_event):
17083 Wheen a seek was successful on a pipeline, set the stream_time to the
17084 seek offset in order to have a synchronized stream_time.
17086 2005-06-28 Wim Taymans <wim@fluendo.com>
17088 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17089 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17090 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17091 (gst_proxy_pad_do_fixatecaps):
17092 Call wrapper function instead of just calling the function
17093 pointers. This takes care of any locking and whatmore.
17095 2005-06-28 Wim Taymans <wim@fluendo.com>
17097 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17098 (gst_pad_pull_range):
17100 CONNECTED -> LINKED.
17102 2005-06-28 Andy Wingo <wingo@pobox.com>
17104 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17105 source-munging commit!!!
17107 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17108 (gst_object_sink): Take gpointer arguments, not GstObject --
17109 avoids casts. Like GLib.
17111 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17114 2005-06-27 Andy Wingo <wingo@pobox.com>
17116 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17119 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17120 returns a sorted copy of the trace list.
17121 (gst_alloc_trace_print_live): New API, only prints traces with
17122 live objects. Sort the list.
17123 (gst_alloc_trace_print_all): Sort the list.
17124 (gst_alloc_trace_print): Align columns.
17126 * gst/elements/gstttypefindelement.c:
17127 * gst/elements/gsttee.c:
17128 * gst/base/gstbasesrc.c:
17129 * gst/base/gstbasesink.c:
17130 * gst/base/gstbasetransform.c:
17131 * gst/gstqueue.c: Adapt for pad activation changes.
17133 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17135 (gst_pipeline_dispose): Drop ref on sched.
17137 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17138 (gst_pad_activate_default): Push mode by default.
17139 (pre_activate_switch, post_activate_switch): New stubs, things to
17140 do before and after switching activation modes on pads.
17141 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17142 the pad's activate function to choose which mode to activate.
17143 Shortcut on deactivation and call the right function directly.
17144 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17146 (gst_pad_activate_push): New API, same for push mode.
17147 (gst_pad_set_activate_function)
17148 (gst_pad_set_activatepull_function)
17149 (gst_pad_set_activatepush_function): Setters for new API.
17151 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17152 Trace all miniobjects.
17153 (gst_mini_object_make_writable): Unref the arg if we copy, like
17154 gst_caps_make_writable.
17156 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17158 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17159 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17160 Adapt for new pad API.
17162 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17164 * gst/gstelement.h:
17165 * gst/gstelement.c (gst_element_iterate_src_pads)
17166 (gst_element_iterate_sink_pads): New API functions.
17168 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17169 should fold into gstiterator.c in some form.
17170 (gst_element_pads_activate): Simplified via use of fold and
17171 delegation of decisions to gstpad->activate.
17173 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17176 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17177 class once in init, like gstmessage. Didn't run into this issue
17178 but it seems correct. Don't initialize a trace, gstminiobject does
17181 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17182 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17184 (assert_live_count): New util function, uses alloc traces to check
17187 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17188 To be modified when unlink drops the internal pad.
17190 2005-06-27 Wim Taymans <wim@fluendo.com>
17192 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17193 (gst_bin_change_state):
17194 Cleanup the get_state() function a little, make sure it
17195 iterates the same set of elements.
17196 Added stub iterate_state_order().
17198 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17200 * docs/gst/gstreamer-docs.sgml:
17201 * docs/gst/gstreamer-sections.txt:
17202 * docs/gst/gstreamer.types:
17203 * docs/gst/tmpl/gstbasesink.sgml:
17204 * docs/gst/tmpl/gstbasesrc.sgml:
17205 * docs/gst/tmpl/gstbasetransform.sgml:
17206 * docs/gst/tmpl/gstelement.sgml:
17207 * docs/gst/tmpl/gstiterator.sgml:
17208 * gst/base/gstbasesrc.c:
17209 * gst/base/gstbasesrc.h:
17210 * gst/base/gstbasetransform.h:
17211 * gst/gstelement.c:
17212 * gst/gstiterator.h:
17213 adding basetransform and iterator docs
17215 2005-06-27 Andy Wingo <wingo@pobox.com>
17217 * docs/design/part-activation.txt: Notes on how activation should
17218 work -- not quite implemented yet.
17220 2005-06-25 Wim Taymans <wim@fluendo.com>
17222 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17223 At least get the chain function correct, needs more
17226 2005-06-25 Wim Taymans <wim@fluendo.com>
17228 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17229 (gst_basesink_handle_object), (gst_basesink_event),
17230 (gst_basesink_do_sync), (gst_basesink_handle_event),
17231 (gst_basesink_change_state):
17233 Right, two problems here: ghostpads don't take locks and
17234 glib _rec_mutex_lock_full() with depth==0 still locks.
17235 Catch illegal locking and g_warn them.
17237 2005-06-25 Wim Taymans <wim@fluendo.com>
17239 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17240 Have to check for completion now...
17242 2005-06-25 Wim Taymans <wim@fluendo.com>
17244 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17245 (gst_basesink_handle_object), (gst_basesink_event),
17246 (gst_basesink_do_sync), (gst_basesink_handle_event),
17247 (gst_basesink_change_state):
17249 Unlock STREAM_LOCK whatever the recursion was.
17251 2005-06-25 Wim Taymans <wim@fluendo.com>
17253 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17254 (gst_basesink_preroll_queue_empty),
17255 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17256 (gst_basesink_event), (gst_basesink_do_sync),
17257 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17258 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17259 (gst_basesink_change_state):
17260 Reworked the base sink, handle event and buffer serialisation
17261 correctly and removed possible deadlock.
17262 Handle EOS correctly.
17264 2005-06-25 Wim Taymans <wim@fluendo.com>
17266 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17267 (gst_pipeline_change_state):
17268 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17269 Allow elements to post EOS in the state change function.
17270 Fix up -launch, make it exit the poll loop when the
17271 pipeline actually changed state.
17272 Fix up warning parsing in -launch.
17274 2005-06-25 Wim Taymans <wim@fluendo.com>
17276 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17277 (gst_tee_sink_activate):
17278 Core takes STREAM_LOCK for us now.
17280 2005-06-25 Wim Taymans <wim@fluendo.com>
17282 * gst/gstelement.c: (gst_element_get_state_func),
17283 (gst_element_set_state):
17284 * gst/gstelement.h:
17285 * gst/gstmessage.c: (gst_message_parse_error),
17286 (gst_message_parse_warning):
17287 Keep track of current target state while performing a state
17288 change so that subclasses can do something interesting.
17289 Fix parsing of warning/error messages when GError is NULL.
17291 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17293 * docs/gst/Makefile.am:
17294 * docs/gst/gstreamer-docs.sgml:
17295 * docs/gst/gstreamer-sections.txt:
17296 * docs/gst/gstreamer.types:
17297 * docs/gst/tmpl/gstbasesink.sgml:
17298 * docs/gst/tmpl/gstbasesrc.sgml:
17299 * docs/gst/tmpl/gstbin.sgml:
17300 * docs/gst/tmpl/gstcompat.sgml:
17301 * docs/gst/tmpl/gstfakesink.sgml:
17302 * docs/gst/tmpl/gstfakesrc.sgml:
17303 * docs/gst/tmpl/gstfilesink.sgml:
17304 * docs/gst/tmpl/gstfilesrc.sgml:
17305 * docs/gst/tmpl/gstindex.sgml:
17306 * docs/manual/appendix-quotes.xml:
17307 * gst/base/gstbasesrc.h:
17308 * gst/elements/gstfakesrc.h:
17309 * gst/gstmessage.h:
17310 start pulling in base classes and elements in our docs
17312 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17314 * docs/gst/Makefile.am:
17315 * docs/libs/Makefile.am:
17316 fixed make distcheck with gtk-doc 1.3
17318 2005-06-23 Wim Taymans <wim@fluendo.com>
17320 * gst/gstelement.c: (gst_element_get_state_func),
17321 (gst_element_set_state), (gst_element_change_state):
17322 When the state did not change, also report NO_PREROLL
17325 2005-06-23 Wim Taymans <wim@fluendo.com>
17327 * gst/gstpad.c: (gst_pad_event_default):
17328 * gst/gstqueue.c: (gst_queue_loop):
17329 No unsafe task pausing please.
17331 2005-06-23 Wim Taymans <wim@fluendo.com>
17333 * gst/schedulers/threadscheduler.c:
17334 (gst_thread_scheduler_task_start),
17335 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17336 Ref the task before pushing it on the threadpool. This
17337 makes sure that we have a ref when the threadfunction is
17340 2005-06-23 Andy Wingo <wingo@pobox.com>
17342 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17343 offset is greater than the file's size.
17345 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17346 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17347 * gst/gstobject.c (gst_object_class_init): Make the class lock
17348 recursive. Wim won't let me drop deep_notify. Decodebin works
17349 again, whoopdy doo.
17351 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17352 internal pad, and hacks accordingly. Doesn't do it on the target
17353 pad because we change its caps. Probably catches all cases of
17355 (gst_ghost_pad_set_property): Connect to notify::caps as
17358 * tests/network-clock.scm (plot-simulation): Pipe data to the
17359 elite python skript.
17361 * tests/network-clock-utils.scm (define-parameter): New macro,
17362 defines a parameter that can be set via the command line.
17363 (set-parameter!, parse-parameter-arguments): Command line args
17366 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17369 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17371 * gst/elements/gsttypefindelement.c:
17372 (gst_type_find_element_handle_event):
17373 Don't restart typefinding on a discont.
17374 * gst/gstelement.c: (gst_element_set_state):
17375 Debug spelling fix.
17376 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17377 Allow changing mode of an active pad.
17378 Debug output fixes.
17379 * gst/registries/gstlibxmlregistry.c: (load_feature):
17380 Don't cast a static pad template to a normal pad template.
17382 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17384 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17385 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17386 remove gst_strtoll completely, since it didn't actually do
17387 anything more than what g_ascii_strtoull already does.
17388 check for range errors when deserializing
17389 do a cast for the unsigned cases; but further fixing needs
17390 a decision on what the interpretation of "(int)" and
17391 deserialization should be for values that fall outside the
17392 type's boundaries (ie, refuse, or interpret as casting)
17394 2005-06-23 Wim Taymans <wim@fluendo.com>
17396 * check/Makefile.am:
17397 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17398 * docs/design/part-live-source.txt:
17399 * docs/design/part-states.txt:
17400 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17401 (gst_basesrc_set_live), (gst_basesrc_is_live),
17402 (gst_basesrc_get_range), (gst_basesrc_activate),
17403 (gst_basesrc_change_state):
17404 * gst/base/gstbasesrc.h:
17405 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17406 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17407 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17408 * gst/gstelement.c: (gst_element_get_state_func),
17409 (gst_element_set_state):
17410 * gst/gstelement.h:
17412 * tools/gst-launch.c: (event_loop), (main):
17413 Added support for live sources and other elements that
17415 Updated design docs, added live-source design doc.
17416 Implemented live source functionality in basesrc
17417 Fix error condition in _bin_get_state()
17418 Implement live source handling in -launch.
17419 Added check for live sources.
17420 Fixed case in GstBin where elements were changed state
17424 2005-06-23 Andy Wingo <wingo@pobox.com>
17426 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17427 borken refcounting.
17429 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17430 gst_caps_replace takes care of this for us.
17432 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17433 gst_pad_set_caps on the target, not just its setcaps() function.
17435 * tests/network-clock.scm:
17436 * tests/network-clock-utils.scm: A network clock simulator.
17437 Something of an algorithmic testbed before doing something in C.
17439 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17441 * check/Makefile.am:
17442 * check/gst/capslist.h:
17443 copy over from 0.8, and add two with bitmasks specified with
17445 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17446 add test to parse everything from capslist.h
17447 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17449 add test for structure deserialization
17450 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17451 add tests for deserialization of strings to int types
17452 * gst/gststructure.c: (gst_structure_nth_field_name):
17453 * gst/gststructure.h:
17454 add a way to get the name of a field referenced by index
17455 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17456 instead of checking if the resulting long long lies between
17457 min and max, we check if the long long would fit into
17458 a number of bytes for the final type.
17459 This fixes cases where a string represents 2^32 - 1, which
17460 when cast to int would be the (valid) -1, but is bigger than
17463 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17465 * gst/parse/grammar.y:
17466 add a log line for type deserialization
17468 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17470 * check/gst/gstvalue.c: (START_TEST):
17471 * gst/gstvalue.c: (gst_value_deserialize):
17472 return long long, not int, so gint64 deserialization actually
17473 works. Is there any flag that makes the compiler check this ?
17476 2005-06-22 Wim Taymans <wim@fluendo.com>
17479 Added convenience macros for setting buffers in GValue.
17481 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17483 * check/gst/.cvsignore:
17484 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17485 add a test deserializing int64, and comment part out because
17488 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17490 * check/Makefile.am:
17491 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17492 * testsuite/Makefile.am:
17493 * testsuite/caps/Makefile.am:
17494 * testsuite/caps/value_serialize.c:
17495 * testsuite/test_gst_init.c:
17496 move a value_serialize test over
17498 2005-06-20 Wim Taymans <wim@fluendo.com>
17503 * gst/gstvalue.c: (gst_value_compare_buffer),
17504 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17505 (gst_value_compare_flags), (gst_value_serialize_flags),
17506 (gst_value_deserialize_flags), (_gst_value_initialize):
17507 Fix serialisation of buffers, they are not boxed types anymore
17509 2005-06-20 Wim Taymans <wim@fluendo.com>
17511 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17512 Testcase to show error in buffer-on-caps serialisation.
17514 2005-06-20 Andy Wingo <wingo@pobox.com>
17516 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17517 will be adding to later.
17519 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17520 if its socks fill with rocks.
17521 (gst_system_clock_obtain): Set the name on object construction.
17522 Avoid double-checked locking.
17524 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17526 * gst/gsturi.c: (gst_element_make_from_uri):
17527 Fix potential endless loop.
17529 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17531 * check/Makefile.am:
17533 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17535 move over from testsuite dir and clean up
17538 * testsuite/Makefile.am:
17539 * testsuite/tags/.cvsignore:
17540 * testsuite/tags/Makefile.am:
17541 * testsuite/tags/merge.c:
17542 remove testsuite/tags
17544 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17546 * docs/gst/gstreamer-sections.txt:
17547 * docs/gst/tmpl/gstenumtypes.sgml:
17548 * win32/gstenumtypes.c:
17549 clean up documentation build a little
17551 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17553 * check/gstcheck.h:
17554 add macros for checking refcounts on objects and caps
17555 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17556 add some more unit tests
17557 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17558 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17559 fix leaked refcounts (I hope :)) so unittest works
17563 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17565 * configure.ac: back to HEAD
17567 === release 0.9.1 ===
17569 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17575 2005-06-17 Andy Wingo <wingo@pobox.com>
17577 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17578 assert; it's always possible that the pad gets deactivated in
17579 between the checks in gstpad.c and the implementation. Rely on
17580 finish_preroll() to return a FLUSHING or similar instead of on the
17583 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17584 clock and post an EOS message if we come out of finish_preroll in
17587 2005-06-16 David Schleef <ds@schleef.org>
17589 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17590 (gst_capsfilter_set_property): Allow NULL as possible value
17591 for filter_caps property, indicating GST_CAPS_ANY.
17593 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17595 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17597 * gst/schedulers/Makefile.am:
17599 * gstreamer.spec.in:
17602 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17604 * gstreamer.spec.in:
17607 2005-06-08 Andy Wingo <wingo@pobox.com>
17609 * gst/gstutils.c: RPAD fixes all around.
17610 (gst_element_link_pads): Refcounting fixes.
17612 * tools/gst-inspect.c:
17613 * tools/gst-xmlinspect.c:
17615 * gst/base/gsttypefindhelper.c:
17616 * gst/base/gstbasesink.c:
17617 * gst/gstqueue.c: RPAD fixes.
17619 * gst/gstghostpad.h:
17620 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17621 pads. The tricky thing is they provide both source and sink
17622 interfaces, since they proxy the internal pad for the external
17623 pad, and vice versa. Implement with lower-level ProxyPad objects,
17624 with the interior proxy pad as a child of the exterior ghost pad.
17625 Should write a doc on this.
17627 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17628 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17631 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17632 pads are real pads. No ghost pads in this file. Not documenting
17633 the myriad s/RPAD/PAD/ and REALIZE fixes.
17634 (gst_pad_class_init): Add properties for "direction" and
17635 "template". Both are construct-only, so they can't change during
17636 the life of the pad. Fixes properly deriving from GstPad.
17637 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17638 derived objects, just set properties when creating the objects via
17640 (gst_pad_get_parent): Implement as a function, return NULL if the
17641 parent is not an element.
17642 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17643 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17645 * gst/gstobject.c (gst_object_class_init): Make name a construct
17646 property. Don't set it in the object init.
17648 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17649 with UNKNOWN direction.
17650 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17651 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17652 (gst_element_remove_pad): Remove ghost-pad special cases.
17653 (gst_element_pads_activate): Remove rpad cruft.
17655 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17656 catch the pad's-parent-not-an-element case.
17658 * gst/gst.h: Include gstghostpad.h.
17660 * gst/gst.c (init_post): No more real, ghost pads.
17662 * gst/Makefile.am: Add gstghostpad.[ch].
17664 * check/Makefile.am:
17665 * check/gst/gstbin.c:
17666 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17667 into a bin creates ghost pads, and that the refcounts are right.
17668 Partly moved from gstbin.c.
17670 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17672 * check/gst-libs/.cvsignore:
17673 * check/gst/.cvsignore:
17674 * check/pipelines/.cvsignore:
17676 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17677 (START_TEST), (cleanup_suite), (main):
17678 add some tests related to cleanup after running pipelines
17680 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17682 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17683 add a testsuite for GstBuffer
17685 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17687 * gst/gstminiobject.h:
17688 add defines for accessing the refcount
17690 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17692 * Makefile.am: added support for html unit test coverage reports
17694 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17696 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17697 Free existing caps if the capsfilter changes. Add a FIXME about
17698 setting those caps on the pads.
17700 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17701 Before adding a ghost pad to a parent bin, check that there isn't
17702 already one for the element on the bin. Prevents infinite recursion
17703 when using decodebin in parse pipelines. Andy says he'll rewrite the
17704 way this works anyway, so ignore the hack.
17706 2005-06-02 Andy Wingo <wingo@pobox.com>
17708 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17709 file size, pass it on to the type find helper.
17711 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17712 segment_start and segment_end properly according to the seek
17713 method. Segment_end is still a bit flaky because offset can be
17714 negative for CUR and END cases, but it takes -1 as an "unset"
17717 2005-06-02 Wim Taymans <wim@fluendo.com>
17719 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17720 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17721 (gst_basesink_activate):
17722 * gst/base/gstbasesink.h:
17723 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17724 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17725 (gst_pad_query), (gst_pad_start_task):
17727 * gst/gstqueue.c: (gst_queue_bufferalloc),
17728 (gst_queue_handle_sink_event), (gst_queue_chain):
17729 Bufferalloc: return GstFlowReturn to more accuratly report
17730 why allocation failed.
17732 2005-06-02 Wim Taymans <wim@fluendo.com>
17734 * gst/gstpipeline.c: (gst_pipeline_send_event):
17735 Take snapshot of state without blocking.
17737 2005-06-02 Wim Taymans <wim@fluendo.com>
17739 * docs/design/part-TODO.txt:
17740 * docs/design/part-caps.txt:
17741 * docs/design/part-clocks.txt:
17742 * docs/design/part-negotiation.txt:
17743 * docs/design/part-preroll.txt:
17746 2005-05-30 Wim Taymans <wim@fluendo.com>
17748 * gst/elements/gstidentity.c: (gst_identity_event),
17749 (gst_identity_transform), (gst_identity_get_property):
17750 Protect last_message property as it is accessed from
17753 2005-05-30 Wim Taymans <wim@fluendo.com>
17755 * gst/gstelement.c: (gst_element_init),
17756 (gst_element_pads_activate), (gst_element_change_state):
17757 Slicker pad activation code.
17759 2005-05-30 Wim Taymans <wim@fluendo.com>
17762 * gst/gstelement.h:
17763 * gst/gstelementfactory.h:
17765 Move elementfactory methods to separate .h file.
17767 2005-05-30 Wim Taymans <wim@fluendo.com>
17769 * docs/design/part-overview.txt:
17770 * gst/gstsystemclock.h:
17771 Small typo fixes, doc updates.
17773 2005-05-30 Wim Taymans <wim@fluendo.com>
17775 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17776 (init_popt_callback):
17777 Remove cpu-opt flag.
17779 2005-05-30 Wim Taymans <wim@fluendo.com>
17781 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17782 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17784 Avoid typechecking in places where not needed.
17785 Added accessor for malloc_data.
17787 2005-05-30 Wim Taymans <wim@fluendo.com>
17789 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17790 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17791 (gst_pad_configure_sink), (gst_pad_configure_src),
17792 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17793 (gst_pad_start_task):
17794 Propagate errors from _set_caps() in configure_src/sink
17795 functions instead of returning TRUE.
17796 FLUSH events can travel up and downstream
17799 2005-05-30 Wim Taymans <wim@fluendo.com>
17801 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17802 (gst_basesink_activate):
17803 Handle EOS in preroll.
17805 2005-05-30 Wim Taymans <wim@fluendo.com>
17807 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17808 (gst_queue_loop), (gst_queue_handle_src_event):
17809 Remove old pieces of code
17810 Flushing the queue in an upstream event is a very bad idea.
17812 2005-05-26 Andy Wingo <wingo@pobox.com>
17814 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17815 gst_value_set_mini_object so as to add a ref on the object (which
17816 will be removed when the value is unset).
17818 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17819 arg type in ::handoff.
17821 * gst/gstelement.c (gst_element_change_state): Also deactivate
17822 pads in READY->NULL, just in case the element didn't make it to
17823 PAUSED. Wingo tested, Wim approved.
17825 2005-05-26 Wim Taymans <wim@fluendo.com>
17827 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17828 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17829 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17830 A flushing pad cannot be used to alloc_buffer from.
17832 2005-05-26 Wim Taymans <wim@fluendo.com>
17834 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17835 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17836 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17837 (gst_bus_create_watch), (gst_bus_add_watch_full):
17839 Implement a real GSource and use g_main_context_wakeup() to
17840 signal new messages instead of the socketpair.
17842 2005-05-25 Wim Taymans <wim@fluendo.com>
17844 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17845 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17846 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17847 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17848 (gst_pad_send_event), (gst_pad_start_task):
17849 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17850 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17851 (gst_queue_sink_activate), (gst_queue_src_activate),
17852 (gst_queue_change_state):
17854 Fix state changes for non sinks. We now change sinks, then elements
17855 with unconnected srcpads, then the rest.
17856 More efficient queue unlocking in flush and state changes.
17857 Set the pad activate mode even if it does not have an activate
17860 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17862 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17863 Don't go in pull mode for non-seekable sources.
17864 * gst/elements/gsttypefindelement.h:
17865 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17866 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17867 (free_entry), (stop_typefinding),
17868 (gst_type_find_element_handle_event), (find_peek),
17869 (gst_type_find_element_chain), (do_pull_typefind),
17870 (gst_type_find_element_change_state):
17871 Allow typefinding (w/o seeking) in push-mode, simplified version
17872 of what was in 0.8.
17873 * gst/gstutils.c: (gst_buffer_join):
17875 gst_buffer_join() from 0.8.
17877 2005-05-25 Wim Taymans <wim@fluendo.com>
17879 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17880 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17881 (gst_pad_send_event), (gst_pad_start_task):
17882 Disable attempt at mode switching until it is figured out.
17884 2005-05-25 Wim Taymans <wim@fluendo.com>
17886 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17887 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17888 (gst_basesink_finish_preroll), (gst_basesink_chain),
17889 (gst_basesink_loop), (gst_basesink_activate),
17890 (gst_basesink_change_state):
17891 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17892 (gst_basesrc_get_range), (gst_basesrc_loop),
17893 (gst_basesrc_activate):
17894 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17895 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17896 (gst_real_pad_init), (gst_real_pad_set_property),
17897 (gst_real_pad_get_property), (gst_pad_set_active),
17898 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17899 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17900 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17901 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17902 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17903 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17904 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17905 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17906 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17907 (gst_pad_stop_task):
17909 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17910 (gst_queue_loop), (gst_queue_src_activate):
17911 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17912 (gst_task_get_state):
17914 * gst/schedulers/threadscheduler.c:
17915 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17916 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17918 Remove ACTIVE pad flag, use FLUSHING everywhere
17919 Added _pad_chain(), _pad_get_range() to call chain/getrange
17921 Add locks around IS_FLUSHING when reading.
17922 Take STREAM lock in chain(), get_range() functions so plugins
17923 don't need to take it anymore.
17927 2005-05-25 Wim Taymans <wim@fluendo.com>
17929 * tools/gst-launch.c: (event_loop):
17930 Unref message after using its contents instead of
17933 2005-05-24 Wim Taymans <wim@fluendo.com>
17935 * docs/design/draft-ghostpads.txt:
17936 * docs/design/draft-push-pull.txt:
17937 * docs/design/draft-query.txt:
17938 * docs/design/part-overview.txt:
17939 Docs updates, added general overview doc.
17941 2005-05-21 David Schleef <ds@schleef.org>
17943 * docs/gst/tmpl/old/GstBin.sgml:
17944 * docs/gst/tmpl/old/GstBuffer.sgml:
17945 * docs/gst/tmpl/old/GstCaps.sgml:
17946 * docs/gst/tmpl/old/GstClock.sgml:
17947 * docs/gst/tmpl/old/GstCompat.sgml:
17948 * docs/gst/tmpl/old/GstData.sgml:
17949 * docs/gst/tmpl/old/GstElement.sgml:
17950 * docs/gst/tmpl/old/GstEvent.sgml:
17951 * docs/gst/tmpl/old/GstIndex.sgml:
17952 * docs/gst/tmpl/old/GstStructure.sgml:
17953 * docs/gst/tmpl/old/GstTag.sgml:
17954 * docs/gst/tmpl/old/cothreads.sgml:
17955 * docs/gst/tmpl/old/cothreads_compat.sgml:
17956 * docs/gst/tmpl/old/gettext.sgml:
17957 * docs/gst/tmpl/old/gobject2gtk.sgml:
17958 * docs/gst/tmpl/old/grammar.tab.sgml:
17959 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17960 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17961 * docs/gst/tmpl/old/gst_private.sgml:
17962 * docs/gst/tmpl/old/gstaggregator.sgml:
17963 * docs/gst/tmpl/old/gstarch.sgml:
17964 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17965 * docs/gst/tmpl/old/gstbufferstore.sgml:
17966 * docs/gst/tmpl/old/gstdata_private.sgml:
17967 * docs/gst/tmpl/old/gstdisksink.sgml:
17968 * docs/gst/tmpl/old/gstdisksrc.sgml:
17969 * docs/gst/tmpl/old/gstelementfactory.sgml:
17970 * docs/gst/tmpl/old/gstextratypes.sgml:
17971 * docs/gst/tmpl/old/gstfakesink.sgml:
17972 * docs/gst/tmpl/old/gstfakesrc.sgml:
17973 * docs/gst/tmpl/old/gstfdsink.sgml:
17974 * docs/gst/tmpl/old/gstfdsrc.sgml:
17975 * docs/gst/tmpl/old/gstfilesink.sgml:
17976 * docs/gst/tmpl/old/gstfilesrc.sgml:
17977 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17978 * docs/gst/tmpl/old/gstidentity.sgml:
17979 * docs/gst/tmpl/old/gstindexfactory.sgml:
17980 * docs/gst/tmpl/old/gstmarshal.sgml:
17981 * docs/gst/tmpl/old/gstmd5sink.sgml:
17982 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17983 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17984 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17985 * docs/gst/tmpl/old/gstpipefilter.sgml:
17986 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17987 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17988 * docs/gst/tmpl/old/gstshaper.sgml:
17989 * docs/gst/tmpl/old/gstspider.sgml:
17990 * docs/gst/tmpl/old/gstspideridentity.sgml:
17991 * docs/gst/tmpl/old/gststatistics.sgml:
17992 * docs/gst/tmpl/old/gsttee.sgml:
17993 * docs/gst/tmpl/old/gsttimecache.sgml:
17994 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17995 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17996 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17997 * docs/gst/tmpl/old/types.sgml:
17998 I didn't intend to add these or check them in.
18000 2005-05-19 David Schleef <ds@schleef.org>
18002 * configure.ac: Use -no-common everywhere. In a sane world, it
18003 would be the default in libtool, because without it, you can't
18004 build DLLs on Windows.
18005 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18006 * docs/gst/gstreamer-sections.txt:
18007 * docs/gst/tmpl/gstcpu.sgml:
18008 * docs/gst/tmpl/gstdata.sgml:
18009 * docs/gst/tmpl/gstthread.sgml:
18011 2005-05-19 David Schleef <ds@schleef.org>
18013 * gst/gstminiobject.c: (gst_value_set_mini_object),
18014 (gst_value_take_mini_object), (gst_value_get_mini_object):
18015 * gst/gstminiobject.h: Add GValue set/get functions.
18017 2005-05-19 Wim Taymans <wim@fluendo.com>
18019 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18020 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18021 (gst_subbuffer_init), (gst_buffer_is_span_fast):
18023 * gst/gstbus.c: (gst_bus_post):
18024 * gst/gstelement.c: (gst_element_get_random_pad):
18025 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18026 Make subbufer unref the parent in finalize.
18027 some more debugging info.
18030 2005-05-19 Wim Taymans <wim@fluendo.com>
18032 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18033 (gst_basesink_init), (gst_basesink_finalize),
18034 (gst_basesink_activate), (gst_basesink_change_state):
18035 Don't free preroll queue too early.
18037 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18041 Hi, I'm outdated. Please shoot me.
18043 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18045 * gst/gstpipeline.c: (gst_pipeline_send_event):
18046 Do not access variables after they have been deleted.
18048 2005-05-19 Wim Taymans <wim@fluendo.com>
18050 * tools/gst-inspect.c: (print_plugin_features):
18051 A plugin feature does unfortunatly not use the
18054 2005-05-18 Wim Taymans <wim@fluendo.com>
18056 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18057 Port _span() functions to new subbuffers.
18059 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18061 * gst/gstbin.c: (gst_bin_add_func):
18062 Fix clock settery in bins when adding kids after the clock has
18065 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18067 * gst/elements/gstidentity.c: (gst_identity_class_init):
18068 Workaround until signals support GstMiniObject.
18070 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18073 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18075 2005-05-18 Wim Taymans <wim@fluendo.com>
18077 * gst/base/Makefile.am:
18078 * gst/base/gstadapter.c: (gst_adapter_base_init),
18079 (gst_adapter_class_init), (gst_adapter_init),
18080 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18081 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18082 (gst_adapter_flush), (gst_adapter_available),
18083 (gst_adapter_available_fast):
18084 * gst/base/gstadapter.h:
18085 Ported and added adapter to the base classes.
18087 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18090 * gst/gstmessage.c:
18091 Make sure the class is reffed/unreffed once before threads can be
18092 used. Fixes #304551.
18094 2005-05-17 Wim Taymans <wim@fluendo.com>
18096 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18097 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18098 * gst/gstminiobject.c: (gst_mini_object_get_type),
18099 (gst_mini_object_free):
18100 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18101 (gst_pad_push), (gst_pad_push_event):
18102 * gst/gstqueue.c: (gst_queue_change_state):
18103 Don't queue buffers in basesink when we are flushing.
18104 Unref buffer when flushing in basesink.
18105 Flush queue when going to READY
18106 Unref buffer when _push() returns an error.
18107 Don't free MiniObject instance when refcount is incremented
18108 in _finalize() so that we can recover objects.
18110 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18112 * docs/manual/advanced-schedulers.xml:
18113 * docs/manual/appendix-checklist.xml:
18114 * docs/pwg/advanced-clock.xml:
18115 * docs/pwg/advanced-interfaces.xml:
18116 * docs/pwg/advanced-request.xml:
18117 * docs/pwg/advanced-types.xml:
18118 * docs/pwg/intro-preface.xml:
18119 * examples/plugins/example.c: (gst_example_get_type),
18120 (gst_example_class_init), (gst_example_chain),
18121 (gst_example_set_property), (gst_example_get_property),
18122 (gst_example_change_state), (plugin_init):
18123 * examples/plugins/example.h:
18126 2005-05-17 Wim Taymans <wim@fluendo.com>
18128 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18129 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18130 * gst/gstqueue.c: (gst_queue_change_state):
18131 Clear queue when going to READY.
18132 Remove IN_SETCAPS flag too.
18134 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18136 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18137 Remove implicit cast from gboolean to GstElementStateReturn;
18138 make sure we still return failure in paused => ready case if
18139 the parent class fails to change state and our own stop
18142 2005-05-17 Wim Taymans <wim@fluendo.com>
18144 * tools/gst-launch.c: (event_loop):
18145 Message was unreffed too soon.
18147 2005-05-16 Andy Wingo <wingo@pobox.com>
18149 * gst/gstbin.c (sink_iterator_filter): Err... um...
18151 * check/gst/gstbin.c (test_ghost_pads): New test for the
18152 ghosting-if-elements-not-in-same-bin behavior.
18154 2005-05-16 David Schleef <ds@schleef.org>
18156 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18157 accessing refcount directly.
18159 2005-05-15 David Schleef <ds@schleef.org>
18161 * check/Makefile.am: remove GstData checks
18162 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18163 * gst/Makefile.am: add miniobject, remove data
18164 * gst/gst.h: add miniobject, remove data
18165 * gst/gstdata.c: remove
18166 * gst/gstdata.h: remove
18167 * gst/gstdata_private.h: remove
18168 * gst/gsttypes.h: remove GstEvent and GstMessage
18169 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18170 * gst/gstmarshal.list: change BOXED -> OBJECT
18172 Implement GstMiniObject.
18173 * gst/gstminiobject.c:
18174 * gst/gstminiobject.h:
18176 Modify to be subclasses of GstMiniObject.
18177 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18178 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18179 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18180 (gst_subbuffer_get_type), (gst_subbuffer_init),
18181 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18184 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18185 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18186 (_gst_event_copy), (gst_event_new):
18188 * gst/gstmessage.c: (_gst_message_initialize),
18189 (gst_message_get_type), (gst_message_class_init),
18190 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18191 (gst_message_new), (gst_message_new_error),
18192 (gst_message_new_warning), (gst_message_new_tag),
18193 (gst_message_new_state_changed), (gst_message_new_application):
18194 * gst/gstmessage.h:
18195 * gst/gstprobe.c: (gst_probe_perform),
18196 (gst_probe_dispatcher_dispatch):
18198 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18199 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18200 (_gst_query_copy), (gst_query_new):
18202 Update elements for GstData -> GstMiniObject changes
18204 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18205 (gst_queue_chain), (gst_queue_loop):
18206 * gst/elements/gstbufferstore.c:
18207 (gst_buffer_store_add_buffer_func),
18208 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18209 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18210 (gst_fakesink_render):
18211 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18212 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18213 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18214 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18215 (gst_filesrc_create_read):
18216 * gst/elements/gstidentity.c: (gst_identity_class_init):
18217 * gst/elements/gsttypefindelement.c:
18218 (gst_type_find_element_src_event), (free_entry_buffers),
18219 (gst_type_find_element_handle_event):
18220 * libs/gst/dataprotocol/dataprotocol.c:
18221 (gst_dp_header_from_buffer):
18222 * libs/gst/dataprotocol/dataprotocol.h:
18223 * libs/gst/dataprotocol/dp-private.h:
18225 2005-05-15 David Schleef <ds@schleef.org>
18227 * gst/elements/gstelements.c: Don't include headers that were
18230 2005-05-15 David Schleef <ds@schleef.org>
18232 * gst/elements/Makefile.am: Remove some elements that don't
18233 need to be in the core (or even exist at all).
18234 * gst/elements/gstaggregator.c:
18235 * gst/elements/gstaggregator.h:
18236 * gst/elements/gstmd5sink.c:
18237 * gst/elements/gstmd5sink.h:
18238 * gst/elements/gstmultifilesrc.c:
18239 * gst/elements/gstmultifilesrc.h:
18240 * gst/elements/gstpipefilter.c:
18241 * gst/elements/gstpipefilter.h:
18242 * gst/elements/gstshaper.c:
18243 * gst/elements/gstshaper.h:
18244 * gst/elements/gststatistics.c:
18245 * gst/elements/gststatistics.h:
18246 * po/POTFILES.in: Remove above files.
18248 2005-05-14 Andy Wingo <wingo@pobox.com>
18250 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18251 so as to get the refs right.
18252 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18253 unreffing objects that don't pass the filter.
18255 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18256 gst_element_set_bus.
18257 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18258 normal cases, this will destroy the bus.
18260 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18263 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18266 2005-05-13 Andy Wingo <wingo@pobox.com>
18268 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18269 gst_pad_link, call pad_link_maybe_ghosting,
18270 (pad_link_maybe_ghosting): Links pads, making sure that the
18271 elements being linked are in the same bin.
18272 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18273 Helpers for pad_link_maybe_ghosting.
18275 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18278 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18280 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18282 * docs/design/part-element-source.txt:
18285 2005-05-12 Wim Taymans <wim@fluendo.com>
18287 * gst/base/gstbasesink.c: (gst_basesink_init),
18288 (gst_basesink_activate):
18289 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18290 (gst_basesrc_is_seekable):
18291 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18292 (bin_element_is_sink), (gst_bin_change_state):
18293 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18294 * gst/gstelement.h:
18295 Identify sinks by their flag to avoid overly complicated
18297 Do state changes even for elements not reachable from the
18299 BaseSink is a sink now :)
18300 Some more debugging info in the basesrc.
18303 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18305 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18306 Implement _query on a bin, similar to _send_event.
18308 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18310 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18311 Discont event offset format should be GST_FORMAT_BYTES,
18312 not GST_FORMAT_TIME.
18314 2005-05-12 Wim Taymans <wim@fluendo.com>
18316 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18317 Same fix as Ronald's but without the signal.
18319 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18321 * gst/gstutils.c: (gst_element_query_position):
18322 No, an element is not a pad.
18324 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18326 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18327 (gst_bin_get_state):
18328 If a child is removed from a bin while we remove the child from
18329 the bin and while we're retrieving its state, signal this to the
18330 get_state function so we abort the wait (instead of waiting for
18331 a timeout) and can immediately re-iterate over all other elements.
18333 2005-05-12 Wim Taymans <wim@fluendo.com>
18335 * gst/base/Makefile.am:
18336 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18337 (gst_basesrc_start):
18338 * gst/base/gstbasesrc.h:
18339 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18340 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18341 (gst_pushsrc_init), (gst_pushsrc_create):
18342 * gst/base/gstpushsrc.h:
18343 Added is_seekable to BaseSrc
18344 Added simple PushSrc.
18346 2005-05-11 Wim Taymans <wim@fluendo.com>
18348 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18349 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18350 (gst_element_link_pads), (gst_element_query_position),
18351 (gst_element_query_convert), (intersect_caps_func),
18352 (gst_pad_query_position), (gst_pad_query_convert):
18353 Fix refcounting in utils function.
18354 No point in trying to activate a pad when it's added, it could
18355 be added from the state change function and then we deadlock, the
18356 element has to decide what to do.
18358 2005-05-10 Andy Wingo <wingo@pobox.com>
18360 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18361 *all* the arguments.
18363 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18364 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18365 lock (according to the docs -- if this is wrong change the docs).
18367 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18368 flush messages in the NULL state.
18370 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18371 message immediately and return.
18372 (gst_bus_set_flushing): New function. If a bus is flushing, it
18373 flushes out any queued messages and immediately unrefs new
18374 messages. This is so when an element goes to NULL, all of the
18375 unhandled messages coming from it can be freed, and their
18376 references to the element dropped. In other words: message source
18377 ref considered harmful :P
18379 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18380 we're finished with it.
18382 * gst/gstmessage.c (gst_message_new_state_changed):
18384 2005-05-10 Wim Taymans <wim@fluendo.com>
18386 * gst/gstvalue.c: (gst_value_compare_flags),
18387 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18388 (_gst_value_initialize):
18389 Added flags serialize/deserialize/compare code.
18391 2005-05-09 Andy Wingo <wingo@pobox.com>
18393 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18394 Intersect the peer's caps with our caps.
18396 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18398 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18399 * gst/elements/gsttypefindelement.c: (find_peek):
18400 Handle negative offsets better. Fixes decodebin.
18402 2005-05-09 Wim Taymans <wim@fluendo.com>
18404 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18405 (gst_base_transform_event):
18406 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18407 Implement accept_caps.
18408 Fix silly lock/unlock mismatch in base class.
18410 2005-05-09 Wim Taymans <wim@fluendo.com>
18412 * docs/design/draft-push-pull.txt:
18413 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18414 * gst/elements/gstfilesink.c: (gst_filesink_init),
18415 (gst_filesink_query):
18416 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18417 (gst_type_find_handle_src_query), (find_element_get_length):
18418 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18419 * gst/gstelement.h:
18420 * gst/gstmessage.c:
18421 * gst/gstmessage.h:
18422 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18423 (gst_real_pad_get_caps_unlocked),
18424 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18425 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18426 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18427 (gst_real_pad_dispose), (gst_real_pad_finalize),
18428 (gst_pad_load_and_link), (gst_pad_save_thyself),
18429 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18430 (gst_pad_check_pull_range), (gst_pad_pull_range),
18431 (gst_pad_template_get_type), (gst_pad_template_class_init),
18432 (gst_pad_template_init), (gst_pad_template_dispose),
18433 (name_is_valid), (gst_static_pad_template_get),
18434 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18435 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18436 (gst_pad_get_element_private), (gst_pad_start_task),
18437 (gst_pad_pause_task), (gst_pad_stop_task),
18438 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18439 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18440 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18441 (gst_ghost_pad_new):
18443 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18444 (gst_query_new_position), (gst_query_set_position),
18445 (gst_query_parse_position), (gst_query_new_convert),
18446 (gst_query_set_convert), (gst_query_parse_convert):
18448 * gst/gstqueryutils.c:
18449 * gst/gstqueryutils.h:
18450 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18451 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18452 (gst_queue_handle_src_query):
18453 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18454 (gst_element_query_position), (gst_element_query_convert),
18455 (intersect_caps_func), (gst_pad_query_position),
18456 (gst_pad_query_convert):
18458 * tools/gst-inspect.c: (print_pad_info):
18459 * tools/gst-xmlinspect.c: (print_element_info):
18460 Remove old query functions. Ported old code.
18461 Added position/convert helper functions to gstutils.
18462 Reordered gstpad.c code, grouping relevant things.
18463 Remove gst_message_new(), always need to speficy a specific
18467 2005-05-09 Andy Wingo <wingo@pobox.com>
18469 * gst/gstiterator.h: Add some includes.
18471 * gst/gstqueryutils.h: Include more headers.
18474 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18475 some uses of gst_pad_query.
18477 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18478 NULL out parameters.
18479 (gst_query_new_position): New proc, allocates a new position
18482 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18483 gstqueryutils.c to the build.
18485 * gst/gststructure.c (gst_structure_set_valist): Implement with
18486 the generic G_VALUE_COLLECT.
18488 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18490 * gst/Makefile.am: (gst_headers):
18491 Added gstqueryutils.h to the list of headers to install, that was
18492 a 'nachty' move wingo :)
18494 2005-05-06 Andy Wingo <wingo@pobox.com>
18497 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18498 GstData, init a memchunk.
18499 (standard_definitions): Add a few query types, deprecate a few.
18500 (gst_query_get_type): New proc.
18501 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18503 (gst_query_new_application, gst_query_get_structure): New public
18506 * docs/design/draft-query.txt: Removed LINKS from the query types,
18507 because all the rest can be dispatched to other pads -- seemed
18508 ugly to have a query that couldn't be dispatched. internal_links
18509 is fine as a pad method.
18511 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18512 in gstpad.c, but maintain binary compatibility for the moment.
18513 Will fix before 0.9 is out.
18515 * gst/gstqueryutils.c:
18516 * gst/gstqueryutils.h: New files, implement 3 methods for each
18517 query type: parse_query, parse_response, and set. Probably need an
18520 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18522 * gst/elements/gstfilesink.c (gst_filesink_query2):
18523 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18524 query_types, and formats methods.
18526 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18527 (gst_pad_set_query2_function): New functions.
18528 (gst_real_pad_init): Set query2_default as the default query2
18529 function. Basically just dispatches to internally linked pads.
18533 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18534 without using the atomic operations. Only one thread can possibly
18535 be accessing the data at this point. Changed so as to avoid
18536 gst_atomic operations.
18538 2005-05-06 Wim Taymans <wim@fluendo.com>
18540 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18541 Also set caps if we use the fallback buffer alloc.
18543 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18545 * docs/gst/Makefile.am:
18546 * docs/gst/gstreamer-docs.sgml:
18547 * docs/gst/gstreamer-sections.txt:
18548 * docs/gst/tmpl/gstatomic.sgml:
18549 * docs/gst/tmpl/gstmemchunk.sgml:
18550 * testsuite/elements/struct_i386.h:
18551 * win32/GStreamer.vcproj:
18553 Purge GstAtomic stuff from docs and win32 makefiles as well
18555 2005-05-06 Wim Taymans <wim@fluendo.com>
18557 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18558 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18559 * gst/gstpad.c: (gst_pad_peer_get_caps):
18560 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18561 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18562 (gst_queue_src_activate), (gst_queue_change_state):
18564 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18565 (intersect_caps_func):
18566 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18567 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18568 Some fixes for the peer_get_caps() change.
18570 2005-05-06 Wim Taymans <wim@fluendo.com>
18572 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18573 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18574 (gst_basesink_activate):
18575 Actually do something with error codes returned from the push
18578 2005-05-06 Wim Taymans <wim@fluendo.com>
18580 * docs/design/part-element-sink.txt:
18581 * docs/design/part-element-source.txt:
18582 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18583 (gst_basesink_event), (gst_basesink_activate):
18584 * gst/base/gstbasesink.h:
18585 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18586 (gst_basesrc_activate):
18587 * gst/base/gstbasesrc.h:
18588 * gst/gstelement.c: (gst_element_pads_activate):
18589 Some more documentation.
18590 Fixed scheduling decision in _pads_activate().
18592 2005-05-05 Andy Wingo <wingo@pobox.com>
18594 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18597 2005-05-05 Wim Taymans <wim@fluendo.com>
18599 * gst/base/Makefile.am:
18600 * gst/base/gstbasesink.h:
18601 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18602 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18603 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18604 (gst_collectpads_class_init), (gst_collectpads_init),
18605 (gst_collectpads_finalize), (gst_collectpads_new),
18606 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18607 (find_pad), (gst_collectpads_remove_pad),
18608 (gst_collectpads_is_active), (gst_collectpads_collect),
18609 (gst_collectpads_collect_range), (gst_collectpads_start),
18610 (gst_collectpads_stop), (gst_collectpads_peek),
18611 (gst_collectpads_pop), (gst_collectpads_available),
18612 (gst_collectpads_read), (gst_collectpads_flush),
18613 (gst_collectpads_chain):
18614 * gst/base/gstcollectpads.h:
18615 * gst/elements/Makefile.am:
18616 * gst/elements/gstelements.c:
18617 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18618 (gst_fakesink_get_times), (gst_fakesink_event),
18619 (gst_fakesink_preroll), (gst_fakesink_render):
18620 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18621 (gst_filesink_init), (gst_filesink_set_location),
18622 (gst_filesink_open_file), (gst_filesink_close_file),
18623 (gst_filesink_pad_query), (gst_filesink_event),
18624 (gst_filesink_render), (gst_filesink_change_state):
18625 * gst/elements/gstfilesink.h:
18626 Added object to help in making collect pad based elements.
18628 Make event function in sink baseclass return gboolean.
18630 2005-05-05 Wim Taymans <wim@fluendo.com>
18632 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18633 (gst_bin_get_by_name):
18635 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18636 (gst_clock_finalize):
18637 * gst/gstdata.c: (gst_data_replace):
18639 * gst/gstelement.c: (gst_element_request_pad),
18640 (gst_element_pads_activate):
18641 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18642 (gst_object_unref):
18643 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18644 (gst_pad_set_checkgetrange_function),
18645 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18646 (gst_pad_check_pull_range), (gst_pad_pull_range),
18647 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18648 (gst_pad_pause_task), (gst_pad_stop_task):
18649 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18650 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18651 Fix name lookup in GstBin.
18652 Added _data_replace() function and _buffer_replace()
18653 Use finalize method to clean up clock.
18654 Fix refcounting on request pads.
18655 Fix pad schedule mode error.
18656 Some more object refcounting debug info,
18659 2005-05-04 Andy Wingo <wingo@pobox.com>
18661 * check/Makefile.am:
18662 * docs/gst/tmpl/gstatomic.sgml:
18663 * docs/gst/tmpl/gstplugin.sgml:
18664 * gst/base/gstbasesink.c: (gst_basesink_activate):
18665 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18666 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18667 (gst_basesrc_query), (gst_basesrc_set_property),
18668 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18669 (gst_basesrc_activate):
18670 * gst/base/gstbasesrc.h:
18671 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18672 (gst_base_transform_src_activate):
18673 * gst/elements/gstelements.c:
18674 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18675 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18676 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18677 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18678 (gst_type_find_element_checkgetrange),
18679 (gst_type_find_element_activate):
18680 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18681 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18682 (gst_caps_load_thyself):
18683 * gst/gstelement.c: (gst_element_pads_activate),
18684 (gst_element_save_thyself), (gst_element_restore_thyself):
18685 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18686 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18688 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18689 (gst_xml_parse_file), (gst_xml_parse_memory),
18690 (gst_xml_get_element), (gst_xml_make_element):
18691 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18692 (_file_index_id_save_xml), (gst_file_index_commit):
18693 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18694 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18696 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18697 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18698 * tools/gst-complete.c: (main):
18699 * tools/gst-compprep.c: (main):
18700 * tools/gst-inspect.c: (print_element_properties_info):
18701 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18702 * tools/gst-xmlinspect.c: (print_element_properties):
18705 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18707 * gst/gstplugin.c: (gst_plugin_check_module),
18708 (gst_plugin_check_file), (gst_plugin_load_file):
18709 apply patch from #172526 to make register work on MacOSX
18711 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18713 * docs/gst/tmpl/gstconfig.sgml:
18714 * gst/gstconfig.h.in:
18715 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18716 * testsuite/debug/printf_extension.c: (main):
18717 Do not use GST_PTR_FORMAT on pointers to types with
18718 sizeof < sizeof(gpointer). Fixes test on 64-bit
18719 * testsuite/elements/property.h:
18720 use correct printf format
18722 2005-05-02 Wim Taymans <wim@fluendo.com>
18724 * docs/design/draft-push-pull.txt:
18725 * docs/design/draft-query.txt:
18726 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18727 (gst_basesrc_start):
18728 Added draft for new query API.
18729 Added draft for better selecting scheduling methods.
18730 Make basesrc ignore length if the subclass does not support
18733 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18736 possible fixes for automake-1.5 - _LIBADD is reserved
18738 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18740 * docs/faq/Makefile.am:
18741 * docs/manual/Makefile.am:
18742 * docs/manuals.mak:
18743 * docs/pwg/Makefile.am:
18745 possible fixes for automake-1.5
18747 2005-04-28 Wim Taymans <wim@fluendo.com>
18749 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18750 (gst_basesink_pad_getcaps), (gst_basesink_init),
18751 (gst_basesink_do_sync):
18752 * gst/gstclock.c: (gst_clock_entry_new):
18753 * gst/gstevent.c: (gst_event_discont_get_value):
18754 * gst/gstpipeline.c: (pipeline_bus_handler),
18755 (gst_pipeline_change_state):
18756 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18757 Better debugging of clocking info.
18758 Allow NULL values when getting discont values.
18760 2005-04-27 Wim Taymans <wim@fluendo.com>
18762 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18763 * check/gst/gstpad.c: (gst_pad_suite):
18764 Increase timeout for checks.
18766 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18768 * check/Makefile.am:
18769 fix the broken rule for cleanup. Apparently this rule is
18770 only needed on FC2, so maybe this warrants further autotool
18773 2005-04-26 Wim Taymans <wim@fluendo.com>
18775 * gst/gsttrashstack.h:
18776 Ooohh. a nasty one! After having a failed pop() from the stack,
18777 it's possible that the stack is empty. In that case, don't
18778 follow the NULL pointer.
18780 2005-04-25 Wim Taymans <wim@fluendo.com>
18782 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18783 (gst_pad_set_checkgetrange_function),
18784 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18785 (gst_pad_check_pull_range), (gst_pad_pull_range),
18786 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18787 (gst_pad_pause_task), (gst_pad_stop_task):
18788 * gst/gstplugin.c: (gst_plugin_load):
18790 Remove gst_library_load as it does more harm than good with
18791 the new g_module flags.
18792 Revert bogus caps template check in pad linking, pad caps
18793 are important when linking not the template, which is more
18794 general than the current caps.
18796 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18798 * gst/autoplug/.cvsignore:
18799 * gst/autoplug/Makefile.am:
18800 * gst/autoplug/gstsearchfuncs.c:
18801 * gst/autoplug/gstsearchfuncs.h:
18802 * gst/autoplug/gstspider.c:
18803 * gst/autoplug/gstspider.h:
18804 * gst/autoplug/gstspideridentity.c:
18805 * gst/autoplug/gstspideridentity.h:
18806 * gst/autoplug/spidertest.c:
18809 2005-04-25 Wim Taymans <wim@fluendo.com>
18811 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18812 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18813 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18814 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18816 Added stubs for unimplemented functions.
18818 2005-04-24 David Schleef <ds@schleef.org>
18820 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18823 2005-04-24 David Schleef <ds@schleef.org>
18825 Convert everything from GstAtomicInt to g_atomic_int_*, and
18830 * gst/gstatomic_impl.h:
18838 * gst/gstdata_private.h:
18842 * gst/gstmessage.c:
18845 * gst/gststructure.c:
18846 * gst/gststructure.h:
18847 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18850 2005-04-24 David Schleef <ds@schleef.org>
18852 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18853 make the regressions tests work. Remove some code that is no
18855 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18856 Disable warning for pads without templates.
18858 2005-04-24 David Schleef <ds@schleef.org>
18860 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18861 functions that handle filtered links.
18862 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18864 * gst/gstutils.c: Fix/remove utility functions that handle
18867 * gst/gstvalue.c: Add serialization/deserialization of caps
18868 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18869 requires fixing so that the filter caps notation creates
18870 a capsfilter element and sets the filter_caps property. I
18871 think everyone probably wants to keep the shorthand notation.
18872 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18873 * docs/gst/tmpl/gstpad.sgml:
18875 * gst/elements/gstelements.c: Register capsfilter element.
18876 * gst/Makefile.am: fix spacing
18877 * docs/random/ds/0.9-suggested-changes: random
18879 2005-04-23 David Schleef <ds@schleef.org>
18881 * gst/elements/Makefile.am:
18882 * gst/elements/gstcapsfilter.c: New element that acts like an
18883 identity, but filters caps. Will eventually replace filtered
18884 caps in pad linking.
18885 * gst/gstutils.c: (gst_element_create_all_pads): New function
18886 to create all the ALWAYS pads that are registered with an
18887 element class. This functionality should eventually be
18888 merged in with GstElement initialization.
18890 * testsuite/trigger/README: part of trigger test code that should
18891 have been checked in a long time ago.
18893 2005-04-23 David Schleef <ds@schleef.org>
18895 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18896 needed with new versions of libtool (nobody will confirm this),
18897 and hard to carry around.
18898 * gst/autoplug/Makefile.am:
18899 * gst/base/Makefile.am:
18900 * gst/elements/Makefile.am:
18901 * gst/indexers/Makefile.am:
18902 * gst/schedulers/Makefile.am:
18903 * libs/gst/bytestream/Makefile.am:
18904 * libs/gst/control/Makefile.am:
18905 * libs/gst/dataprotocol/Makefile.am:
18906 * libs/gst/getbits/Makefile.am:
18908 2005-04-21 Wim Taymans <wim@fluendo.com>
18910 * docs/design/draft-push-pull.txt:
18911 * docs/design/part-MT-refcounting.txt:
18912 * docs/design/part-TODO.txt:
18913 * docs/design/part-caps.txt:
18914 * docs/design/part-events.txt:
18915 * docs/design/part-gstbus.txt:
18916 * docs/design/part-gstpipeline.txt:
18917 * docs/design/part-messages.txt:
18918 * docs/design/part-push-pull.txt:
18919 * docs/design/part-query.txt:
18922 2005-04-21 Wim Taymans <wim@fluendo.com>
18924 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18925 (gst_message_new), (gst_message_new_error),
18926 (gst_message_new_warning), (gst_message_new_tag),
18927 (gst_message_new_state_changed), (gst_message_new_application),
18928 (gst_message_get_structure):
18929 * gst/gstmessage.h:
18930 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18931 (gst_structure_copy_conditional):
18932 Use parent refcount in GstMessage to ensure GstStructure
18934 Cleaned up headers a bit.
18937 2005-04-20 Wim Taymans <wim@fluendo.com>
18939 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18940 (gst_basesink_pad_getcaps), (gst_basesink_init),
18941 (gst_basesink_chain_unlocked):
18942 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18943 (gst_type_find_helper):
18944 * gst/elements/gsttypefindelement.c:
18945 (gst_type_find_element_have_type), (gst_type_find_element_init),
18946 (stop_typefinding), (gst_type_find_element_handle_event),
18947 (find_suggest), (gst_type_find_element_chain),
18948 (gst_type_find_element_checkgetrange),
18949 (gst_type_find_element_getrange), (do_typefind),
18950 (gst_type_find_element_activate):
18951 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18952 (gst_buffer_default_free), (gst_buffer_default_copy),
18953 (gst_buffer_set_caps):
18954 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18955 (gst_caps_replace):
18956 * gst/gstmessage.c: (gst_message_new),
18957 (gst_message_new_state_changed):
18958 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18959 (gst_pad_set_checkgetrange_function),
18960 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18961 (gst_pad_set_caps), (gst_pad_check_pull_range),
18962 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18964 * gst/gsttypefind.c: (gst_type_find_register):
18965 Make gst_caps_replace() work like other _replace() functions.
18966 Use _caps_replace() where possible.
18967 Make sure _message_new() initialises its field.
18968 Add gst_static_pad_template_get_caps()
18971 2005-04-18 Andy Wingo <wingo@pobox.com>
18973 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18974 on the peer, not the pad. I think that was a typo. Pass an extra
18975 arg to see if random access is possible. Activate the pads as
18976 PULL_RANGE if possible.
18978 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18980 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18981 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18984 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18986 * docs/faq/using.xml:
18987 Add note on gstreamer-properties (#154996).
18989 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18991 * docs/random/bbb/optional-properties:
18992 Some analysis on optional properties.
18994 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18996 * docs/gst/tmpl/gstelementfactory.sgml:
18997 * gst/gstelement.h:
18998 * gst/gstelementfactory.c: (gst_element_factory_init),
18999 (gst_element_factory_cleanup), (gst_element_register),
19000 (__gst_element_factory_add_static_pad_template),
19001 (gst_element_factory_get_static_pad_templates),
19002 (gst_element_factory_can_src_caps),
19003 (gst_element_factory_can_sink_caps):
19004 * gst/registries/Makefile.am:
19005 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19006 (gst_xml_registry_class_init), (gst_xml_registry_init),
19007 (gst_xml_registry_new), (gst_xml_registry_set_property),
19008 (gst_xml_registry_get_property), (get_time), (make_dir),
19009 (gst_xml_registry_get_perms_func),
19010 (plugin_times_older_than_recurse), (plugin_times_older_than),
19011 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19012 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19013 (add_to_char_array), (read_string), (read_uint), (read_enum),
19014 (load_pad_template), (load_feature), (load_plugin), (load_paths),
19015 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19016 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19017 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19018 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19019 (gst_xml_registry_rebuild):
19020 * gst/registries/gstlibxmlregistry.h:
19021 * tools/gst-compprep.c: (main):
19022 * tools/gst-inspect.c: (print_pad_templates_info):
19023 * tools/gst-xmlinspect.c: (print_element_info):
19024 Use libxml2 for registry parsing, use staticpadtemplates in
19025 elementfactories. Makes gst_init() +/- 10x faster.
19027 2005-04-12 Wim Taymans <wim@fluendo.com>
19029 * gst/base/Makefile.am:
19030 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19031 (gst_basesink_pad_getcaps), (gst_basesink_init),
19032 (gst_basesink_event), (gst_basesink_change_state):
19033 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19034 (gst_basesrc_init), (gst_basesrc_query),
19035 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19036 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19037 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19038 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19039 (gst_basesrc_stop), (gst_basesrc_activate),
19040 (gst_basesrc_change_state):
19041 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19042 (helper_find_suggest), (gst_type_find_helper):
19043 * gst/base/gsttypefindhelper.h:
19044 * gst/elements/Makefile.am:
19045 * gst/elements/gstelements.c:
19046 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19047 (gst_fakesink_get_times), (gst_fakesink_event),
19048 (gst_fakesink_preroll), (gst_fakesink_render):
19049 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19050 (gst_fakesrc_init), (gst_fakesrc_event_handler),
19051 (gst_fakesrc_get_property), (gst_fakesrc_create),
19052 (gst_fakesrc_start), (gst_fakesrc_stop):
19053 * gst/elements/gstfakesrc.h:
19054 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19055 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19056 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19057 (gst_filesrc_create_read), (gst_filesrc_create),
19058 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19059 (gst_filesrc_start):
19060 * gst/elements/gsttypefindelement.c:
19061 (gst_type_find_element_have_type), (gst_type_find_element_init),
19062 (start_typefinding), (stop_typefinding), (push_buffer_store),
19063 (gst_type_find_element_handle_event),
19064 (gst_type_find_element_chain),
19065 (gst_type_find_element_checkgetrange),
19066 (gst_type_find_element_getrange), (do_typefind),
19067 (gst_type_find_element_activate),
19068 (gst_type_find_element_change_state):
19069 * gst/elements/gsttypefindelement.h:
19070 * gst/gstpipeline.c: (pipeline_bus_handler):
19071 Added typefind helper.
19072 Small preroll fix in the base sink.
19073 Disable typefind code in basesrc.
19074 Crude port of typefindelement.
19078 2005-04-11 Wim Taymans <wim@fluendo.com>
19080 * check/gst/gstbus.c: (gstbus_suite):
19081 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19082 * check/gstcheck.h:
19083 Fix up the timeout so that the test does not fail.
19085 2005-04-06 Wim Taymans <wim@fluendo.com>
19088 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19089 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19090 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19091 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19092 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19093 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19094 (gst_basesrc_stop), (gst_basesrc_activate),
19095 (gst_basesrc_change_state), (basesrc_find_peek),
19096 (basesrc_find_suggest), (gst_basesrc_type_find):
19097 * gst/base/gstbasesrc.h:
19098 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19099 (gst_filesrc_class_init), (gst_filesrc_init),
19100 (gst_filesrc_finalize), (gst_filesrc_set_location),
19101 (gst_filesrc_set_property), (gst_filesrc_get_property),
19102 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19103 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19104 (gst_filesrc_create_read), (gst_filesrc_create),
19105 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19106 * gst/elements/gstfilesrc.h:
19107 * gst/gstelement.c: (gst_element_get_state_func),
19108 (gst_element_lost_state), (gst_element_pads_activate):
19109 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19110 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19111 (gst_pad_pull_range):
19113 More work on the generic source base class, implement seeking,
19115 Make filesrc extend the base source class.
19116 Added gst_pad_set_checkgetrange_function to GstPad.
19118 2005-04-06 Andy Wingo <wingo@pobox.com>
19120 * pkgconfig/gstreamer-base.pc.in:
19121 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19123 * pkgconfig/Makefile.am:
19124 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19126 2005-04-04 Wim Taymans <wim@fluendo.com>
19128 * gst/base/Makefile.am:
19130 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19131 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19132 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19133 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19134 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19135 (gst_basesrc_base_init), (gst_basesrc_class_init),
19136 (gst_basesrc_init), (gst_basesrc_get_formats),
19137 (gst_basesrc_get_query_types), (gst_basesrc_query),
19138 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19139 (gst_basesrc_set_property), (gst_basesrc_get_property),
19140 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19141 (gst_basesrc_loop), (gst_basesrc_activate),
19142 (gst_basesrc_change_state):
19143 * gst/base/gstbasesrc.h:
19144 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19145 (gst_fakesrc_class_init), (gst_fakesrc_init),
19146 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19147 (gst_fakesrc_get_property), (gst_fakesrc_create):
19148 * gst/elements/gstfakesrc.h:
19149 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19150 (gst_filesrc_open_file), (gst_filesrc_loop),
19151 (gst_filesrc_activate), (filesrc_find_peek),
19152 (gst_filesrc_type_find):
19153 Made base source class, make fakesrc extend it.
19154 Add comments to basesink class.
19155 Some filesrc cleanup.
19157 2005-03-31 David Schleef <ds@schleef.org>
19159 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19160 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19161 expected to link against libgstreamer.
19162 * gst/base/Makefile.am: link against libgstreamer
19163 * gst/elements/Makefile.am: same
19165 2005-03-31 Andy Wingo <wingo@pobox.com>
19167 * tests/instantiate/Makefile.am:
19168 * tests/instantiate/caps.c: Add test to test speed of caps copy
19171 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19172 GMemChunk to be fair.
19174 * gst/gsttrashstack.h: Remove warning about using the fallback
19175 trash stack implementation, it's still faster than malloc.
19177 2005-03-30 Andy Wingo <wingo@pobox.com>
19179 * tests/complexity.c: Add a copyright.
19181 2005-03-31 Wim Taymans <wim@fluendo.com>
19183 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19184 (gst_base_transform_class_init), (gst_base_transform_init),
19185 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19186 (gst_base_transform_get_property),
19187 (gst_base_transform_sink_activate),
19188 (gst_base_transform_src_activate),
19189 (gst_base_transform_change_state):
19190 * gst/base/gstbasetransform.h:
19191 * gst/elements/gstidentity.c: (gst_identity_class_init),
19192 (gst_identity_event), (gst_identity_check_perfect),
19193 (gst_identity_transform), (gst_identity_start),
19194 (gst_identity_stop):
19195 Added start/stop methods to transform base class so subclasses
19196 don't need to deal with state changes even.
19198 2005-03-31 Wim Taymans <wim@fluendo.com>
19200 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19201 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19203 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19204 (gst_pad_pull_range):
19205 Added rate to the discont event to prepare for variable speed
19206 and reverse playback.
19208 2005-03-29 David Schleef <ds@schleef.org>
19211 * testsuite/trigger/Makefile.am:
19212 * testsuite/trigger/trigger.c: A little example program to show
19213 how trigger-based elements can work.
19215 2005-03-29 Wim Taymans <wim@fluendo.com>
19217 * gst/base/Makefile.am:
19219 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19220 (gst_basesink_base_init), (gst_basesink_class_init),
19221 (gst_basesink_pad_getcaps), (gst_basesink_init),
19222 (gst_basesink_activate), (gst_basesink_change_state):
19223 * gst/base/gstbasesink.h:
19224 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19225 (gst_base_transform_base_init), (gst_base_transform_finalize),
19226 (gst_base_transform_class_init), (gst_base_transform_init),
19227 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19228 (gst_base_transform_event), (gst_base_transform_getrange),
19229 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19230 (gst_base_transform_set_property),
19231 (gst_base_transform_get_property),
19232 (gst_base_transform_sink_activate),
19233 (gst_base_transform_src_activate),
19234 (gst_base_transform_change_state):
19235 * gst/base/gstbasetransform.h:
19236 * gst/elements/gstidentity.c: (gst_identity_finalize),
19237 (gst_identity_class_init), (gst_identity_init),
19238 (gst_identity_event), (gst_identity_check_perfect),
19239 (gst_identity_transform), (gst_identity_set_property),
19240 (gst_identity_get_property), (gst_identity_change_state):
19241 * gst/elements/gstidentity.h:
19242 * gst/gstelement.c: (gst_element_get_state_func),
19243 (gst_element_lost_state), (gst_element_pads_activate):
19244 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19245 (gst_pad_check_pull_range), (gst_pad_pull_range):
19247 Simplify pad activation.
19248 Added function to check if pull_range can be performed.
19249 Error out when pulling inactive or flushing pads.
19250 Removed const from refcounted types as it does not make sense.
19251 Simplify pad templates in basesink
19252 Added base class for simple 1-to-1 transforms.
19253 Make identity subclass the base transform.
19255 2005-03-29 Andy Wingo <wingo@pobox.com>
19257 * docs/libs/gstreamer-libs-overrides.txt:
19258 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19259 really don't understand what's going on, but like whatever. I want
19262 * docs/gst/Makefile.am:
19263 * docs/libs/Makefile.am: Dist the overrides files.
19265 * check/Makefile.am (clean-local): Remove .libs directories.
19267 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19268 elements to EXTRA_DIST, so po/ files are happy.
19270 * po/POTFILES.in: Er, remove it here.
19272 * po/POTFILES: Remove gstspider.c.
19274 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19276 * docs/libs/gstreamer-libs-docs.sgml:
19277 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19280 * tests/complexity.c (main): Set the length of the preroll queue
19281 on the sinks to prevent a lockup.
19283 * libs/gst/dataprotocol/Makefile.am:
19284 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19285 the same as the one in check/gst-libs/gdp.c.
19287 * po/, docs/gst/: Commit automatic changes to docs and po files.
19289 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19290 the versioned libgstbase.
19292 * check/Makefile.am: Depend on an unversioned gst-register, seems
19293 to make autoconf happier.
19295 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19297 2005-03-28 Wim Taymans <wim@fluendo.com>
19300 * docs/design/part-gstelement.txt:
19301 * docs/design/part-negotiation.txt:
19302 * docs/design/part-preroll.txt:
19303 * docs/design/part-scheduling.txt:
19304 * docs/design/part-states.txt:
19306 * gst/base/Makefile.am:
19308 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19309 (gst_basesink_base_init), (gst_basesink_class_init),
19310 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19311 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19312 (gst_basesink_set_pad_functions),
19313 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19314 (gst_basesink_set_property), (gst_basesink_get_property),
19315 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19316 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19317 (gst_basesink_preroll_queue_push),
19318 (gst_basesink_preroll_queue_empty),
19319 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19320 (gst_basesink_event), (gst_basesink_get_times),
19321 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19322 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19323 (gst_basesink_loop), (gst_basesink_activate),
19324 (gst_basesink_change_state):
19325 * gst/base/gstbasesink.h:
19326 * gst/elements/Makefile.am:
19327 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19328 (gst_fakesink_class_init), (gst_fakesink_init),
19329 (gst_fakesink_set_property), (gst_fakesink_get_property),
19330 (gst_fakesink_get_times), (gst_fakesink_event),
19331 (gst_fakesink_preroll), (gst_fakesink_render),
19332 (gst_fakesink_change_state):
19333 * gst/elements/gstfakesink.h:
19334 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19335 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19336 * gst/gstelement.c: (gst_element_add_pad),
19337 (gst_element_get_state_func), (gst_element_abort_state),
19338 (gst_element_commit_state), (gst_element_lost_state),
19339 (gst_element_set_state), (gst_element_pads_activate):
19340 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19341 * gst/gstpipeline.c: (gst_pipeline_send_event),
19342 (gst_pipeline_change_state):
19343 Added state change code.
19344 Added/updated docs.
19345 Added sink base class, make fakesink extend the base class.
19346 Small cleanups in GstPipeline.
19348 2005-03-26 David Schleef <ds@schleef.org>
19350 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19351 is broken and should be implemented in a different library.
19352 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19353 * gst/gst.h: remove gstcpu.h
19354 * gst/gstcpu.c: remove
19355 * gst/gstcpu.h: remove
19356 * gst/Makefile.am.future: Remove this file. It's ancient.
19358 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19360 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19361 (gst_bin_send_event):
19362 Add default event/set_manager handlers. The set_manager handler
19363 takes care that the manager is distributed over kids that were
19364 already in the bin before the manager was set. The event handler
19365 is a utility virtual function that sends the event over all sinks,
19366 so that gst_element_send_event (bin, event); has the expected
19368 * gst/gstpad.c: (gst_pad_event_default):
19369 Re-install default event handling for discontinuities, so that
19370 seeking works without requiring hacks in applications or extra
19372 * gst/gstpipeline.c: (gst_pipeline_class_init),
19373 (gst_pipeline_send_event):
19374 Half hack, half utility: set a pipeline to PAUSED for seek events,
19375 since that is the only way we can guarantee a/v sync. Means that
19376 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19377 and it "just works".
19379 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19381 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19382 Lock/unlock mismatch.
19384 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19386 * docs/faq/gst-uninstalled:
19387 add gst-plugins-base
19388 * docs/gst/Makefile.am:
19389 don't error out until docs are fixed
19390 * docs/gst/gstreamer.types:
19393 2005-03-22 Wim Taymans <wim@fluendo.com>
19395 * check/Makefile.am:
19396 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19397 * gst/gststructure.c: (gst_structure_set_valist),
19398 (gst_structure_copy_conditional):
19399 Activated more tests.
19400 Added message test.
19401 Added G_TYPE_POINTER to GstStructure.
19404 2005-03-22 Wim Taymans <wim@fluendo.com>
19406 * docs/design/part-TODO.txt:
19407 * docs/design/part-events.txt:
19408 * docs/design/part-gstbin.txt:
19409 * docs/design/part-gstbus.txt:
19410 * docs/design/part-gstpipeline.txt:
19411 * docs/design/part-messages.txt:
19413 * gst/gstmessage.c:
19416 2005-03-21 Wim Taymans <wim@fluendo.com>
19418 * gst/gstbus.c: (gst_bus_post):
19419 Fix copy-and-paste error.
19421 2005-03-21 Wim Taymans <wim@fluendo.com>
19423 * check/Makefile.am:
19425 * gst/elements/Makefile.am:
19426 * gst/elements/gstelements.c:
19427 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19428 (gst_fakesink_event), (gst_fakesink_chain):
19429 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19430 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19431 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19432 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19433 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19434 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19435 (gst_fakesrc_loop), (gst_fakesrc_activate),
19436 (gst_fakesrc_change_state):
19437 * gst/elements/gstfakesrc.h:
19438 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19439 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19440 (gst_filesrc_open_file), (gst_filesrc_loop),
19441 (gst_filesrc_activate), (gst_filesrc_change_state),
19442 (filesrc_find_peek), (filesrc_find_suggest),
19443 (gst_filesrc_type_find):
19444 * gst/elements/gstidentity.c: (gst_identity_finalize),
19445 (gst_identity_class_init), (gst_identity_init),
19446 (gst_identity_proxy_getcaps), (identity_queue_push),
19447 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19448 (gst_identity_getrange), (gst_identity_chain),
19449 (gst_identity_sink_loop), (gst_identity_src_loop),
19450 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19451 (gst_identity_set_property), (gst_identity_get_property),
19452 (gst_identity_change_state):
19453 * gst/elements/gstidentity.h:
19454 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19455 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19456 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19457 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19458 (gst_tee_sink_activate):
19459 * gst/elements/gsttee.h:
19460 * gst/gst.c: (gst_register_core_elements), (init_post):
19462 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19463 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19464 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19465 (gst_bin_change_state):
19467 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19468 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19469 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19470 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19471 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19472 (bus_watch_callback), (bus_watch_destroy),
19473 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19474 (poll_timeout), (gst_bus_poll):
19478 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19479 (gst_element_post_message), (gst_element_message_full),
19480 (gst_element_get_state_func), (gst_element_get_state),
19481 (gst_element_abort_state), (gst_element_commit_state),
19482 (gst_element_lost_state), (gst_element_set_state),
19483 (gst_element_pads_activate), (gst_element_change_state),
19484 (gst_element_dispose), (gst_element_set_manager_func),
19485 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19486 (gst_element_set_manager), (gst_element_get_manager),
19487 (gst_element_set_bus), (gst_element_get_bus),
19488 (gst_element_set_scheduler), (gst_element_get_scheduler):
19489 * gst/gstelement.h:
19490 * gst/gstevent.c: (gst_event_new_segment_seek),
19491 (gst_event_new_flush):
19493 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19494 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19495 (gst_message_new_eos), (gst_message_new_error),
19496 (gst_message_new_warning), (gst_message_new_tag),
19497 (gst_message_new_state_changed), (gst_message_new_application),
19498 (gst_message_get_structure), (gst_message_parse_tag),
19499 (gst_message_parse_state_changed), (gst_message_parse_error),
19500 (gst_message_parse_warning):
19501 * gst/gstmessage.h:
19502 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19503 (gst_real_pad_set_property), (gst_pad_set_active),
19504 (gst_pad_is_active), (gst_pad_set_blocked_async),
19505 (gst_pad_set_blocked), (gst_pad_is_blocked),
19506 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19507 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19508 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19509 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19510 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19511 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19512 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19513 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19514 (gst_pad_set_caps), (gst_pad_configure_sink),
19515 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19516 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19517 (gst_real_pad_dispose), (gst_real_pad_finalize),
19518 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19519 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19520 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19522 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19523 (pipeline_bus_handler), (gst_pipeline_change_state),
19524 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19525 * gst/gstpipeline.h:
19527 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19528 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19529 (gst_queue_link_src), (gst_queue_bufferalloc),
19530 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19531 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19532 (gst_queue_loop), (gst_queue_handle_src_event),
19533 (gst_queue_handle_src_query), (gst_queue_src_activate),
19534 (gst_queue_change_state):
19536 * gst/gstscheduler.c: (gst_scheduler_init),
19537 (gst_scheduler_dispose), (gst_scheduler_create_task),
19538 (gst_scheduler_factory_create):
19539 * gst/gstscheduler.h:
19540 * gst/gststructure.c: (gst_structure_get_type),
19541 (gst_structure_copy_conditional):
19542 * gst/gststructure.h:
19543 * gst/gsttaginterface.h:
19544 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19545 (gst_task_init), (gst_task_dispose), (gst_task_create),
19546 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19552 * gst/schedulers/Makefile.am:
19553 * gst/schedulers/cothreads_compat.h:
19554 * gst/schedulers/entryscheduler.c:
19555 * gst/schedulers/faircothreads.c:
19556 * gst/schedulers/faircothreads.h:
19557 * gst/schedulers/fairscheduler.c:
19558 * gst/schedulers/gstbasicscheduler.c:
19559 * gst/schedulers/gstoptimalscheduler.c:
19560 * gst/schedulers/gthread-cothreads.h:
19561 * gst/schedulers/threadscheduler.c:
19562 (gst_thread_scheduler_task_get_type),
19563 (gst_thread_scheduler_task_class_init),
19564 (gst_thread_scheduler_task_init),
19565 (gst_thread_scheduler_task_start),
19566 (gst_thread_scheduler_task_stop),
19567 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19568 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19569 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19570 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19572 * libs/gst/Makefile.am:
19573 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19574 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19575 (gst_file_pad_parent_set):
19576 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19577 (gst_dp_event_from_packet):
19578 * tests/complexity.c: (main):
19579 * tests/mass_elements.c: (main):
19580 * testsuite/states/locked.c: (message_received), (main):
19581 * testsuite/states/parent.c: (main):
19582 * tools/gst-inspect.c: (print_element_flag_info),
19583 (print_implementation_info), (print_pad_info):
19584 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19586 * tools/gst-md5sum.c: (event_loop), (main):
19587 * tools/gst-typefind.c: (main):
19588 * tools/gst-xmlinspect.c: (print_element_info):
19590 Added GstBus for mainloop integration.
19591 Added GstMessage for sending notifications on the bus.
19592 Added GstTask as an abstraction for pipeline entry points.
19594 Removed Schedulers.
19595 Simplified GstQueue for multithreaded core.
19596 Made _link threadsafe, removed old capsnego.
19597 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19598 Added pad blocking functions.
19599 Reworked scheduling functions in GstPad to prepare for
19600 scheduling updates soon.
19601 Moved events out of data stream.
19602 Simplified GstEvent types.
19603 Added return values to push/pull.
19604 Removed clocking from GstElement.
19605 Added prototypes for state change function for next merge.
19606 Removed iterate from bins and state change management.
19607 Fixed some elements, disabled others for now.
19608 Fixed -inspect and -launch.
19609 Added check for GstBus.
19611 2005-03-10 Wim Taymans <wim@fluendo.com>
19613 * docs/design/part-MT-refcounting.txt:
19614 * docs/design/part-clocks.txt:
19615 * docs/design/part-gstelement.txt:
19616 * docs/design/part-gstobject.txt:
19617 * docs/design/part-standards.txt:
19618 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19619 (gst_bin_remove_func), (gst_bin_remove):
19623 * testsuite/clock/clock1.c: (main):
19624 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19626 * testsuite/dlopen/loadgst.c: (do_test):
19627 * testsuite/refcounting/bin.c: (add_remove_test1),
19628 (add_remove_test2), (main):
19629 * testsuite/refcounting/element.c: (main):
19630 * testsuite/refcounting/element_pad.c: (main):
19631 * testsuite/refcounting/pad.c: (main):
19632 * tools/gst-launch.c: (sigint_handler_sighandler):
19633 * tools/gst-typefind.c: (main):
19635 Added doc about clock.
19636 removed gst_bin_iterate_recurse_up(), marked methods
19638 Fix more testsuites.
19640 2005-03-09 Wim Taymans <wim@fluendo.com>
19642 * gst/gstpad.c: (gst_pad_get_direction),
19643 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19644 (gst_pad_collect_valist):
19645 * testsuite/bins/interface.c: (main):
19646 * testsuite/caps/audioscale.c: (test_caps):
19647 * testsuite/caps/caps.c: (test1), (test2), (test3):
19648 * testsuite/caps/deserialize.c: (main):
19649 * testsuite/caps/enumcaps.c: (main):
19650 * testsuite/caps/filtercaps.c: (main):
19651 * testsuite/caps/intersect2.c: (main):
19652 * testsuite/caps/random.c: (main):
19653 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19654 * testsuite/caps/sets.c: (check_caps):
19655 * testsuite/caps/simplify.c: (check_caps), (main):
19656 * testsuite/caps/subtract.c: (check_caps):
19657 Fix _pad_get_direction wrt ghostpads.
19658 Fix caps testsuite.
19660 2005-03-09 Wim Taymans <wim@fluendo.com>
19662 * check/Makefile.am:
19663 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19664 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19665 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19666 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19667 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19668 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19669 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19670 (bin_element_is_sink), (gst_bin_iterate_sinks),
19671 (gst_bin_iterate_all_by_interface):
19673 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19674 (gst_element_change_state), (gst_element_dispose),
19675 (gst_element_finalize), (gst_element_set_loop_function):
19676 * gst/gstelement.h:
19677 * gst/gstiterator.c: (find_custom_fold_func):
19678 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19679 (gst_pad_collectv), (gst_pad_collect_valist),
19680 (gst_pad_template_new):
19681 * gst/gstpipeline.c: (gst_pipeline_class_init),
19682 (gst_pipeline_dispose), (gst_pipeline_set_property),
19683 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19684 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19685 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19687 * gst/schedulers/entryscheduler.c:
19688 * gst/schedulers/gstbasicscheduler.c:
19689 (gst_basic_scheduler_cothreaded_chain),
19690 (gst_basic_scheduler_chain_add_element):
19691 * testsuite/bins/interface.c: (main):
19693 Added GstSystemClock test.
19694 Implemented clock distribution code in GstBin.
19695 Implemented iterate sinks method for future use.
19696 Rearranged gstelement.h
19697 Fix GstIterator comparison bug.
19698 Moved some code to GstPipeline, mostly clocking related.
19700 2005-03-09 Wim Taymans <wim@fluendo.com>
19703 * gst/gst_private.h:
19704 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19705 (gst_bin_remove_func), (gst_bin_remove),
19706 (gst_bin_get_by_name_recurse_up):
19707 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19708 (gst_clock_id_compare_func), (gst_clock_id_wait),
19709 (gst_clock_id_wait_async), (gst_clock_init),
19710 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19711 * gst/gstelement.h:
19712 * gst/gstinfo.c: (_gst_debug_init):
19714 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19715 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19717 Bump version number, we're now 0.9.0
19718 Add future debugging category.
19719 Fix NULL _unref() in _get_by_name_recurse_up
19720 Rearrange gstpad.h.
19723 2005-03-08 Wim Taymans <wim@fluendo.com>
19725 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19726 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19727 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19728 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19729 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19730 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19731 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19732 * gst/elements/gstidentity.c: (gst_identity_class_init):
19733 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19734 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19735 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19736 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19737 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19739 * gst/gstelement.c: (gst_element_class_init),
19740 (gst_element_base_class_init), (gst_element_init),
19741 (gst_element_get_random_pad), (gst_element_wait_state_change),
19742 (gst_element_change_state), (gst_element_dispose),
19743 (gst_element_finalize), (gst_element_set_loop_function):
19744 * gst/gstelement.h:
19745 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19746 * gst/gstthread.c: (gst_thread_class_init),
19747 (gst_thread_release_children_locks), (gst_thread_change_state):
19748 * gst/schedulers/gstbasicscheduler.c:
19749 (gst_basic_scheduler_loopfunc_wrapper),
19750 (gst_basic_scheduler_chain_wrapper),
19751 (gst_basic_scheduler_src_wrapper),
19752 (gst_basic_scheduler_remove_element):
19753 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19754 Remove threadsafe properties. Fix elements because GObject
19755 complains when installing a property before declaring a
19756 set/get_property handler.
19757 Rearrange gstelement.h file, use STATE macros for state locks.
19758 Free mutexes in the finalize method instead of dispose.
19760 2005-03-08 Wim Taymans <wim@fluendo.com>
19762 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19763 * gst/gstthread.c: (gst_thread_release_children_locks):
19764 Added parentage check.
19765 Fix build og GstThread again.
19767 2005-03-08 Wim Taymans <wim@fluendo.com>
19769 * docs/design/part-MT-refcounting.txt:
19770 * docs/design/part-conventions.txt:
19771 * docs/design/part-gstobject.txt:
19772 * docs/design/part-relations.txt:
19773 * docs/design/part-standards.txt:
19774 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19775 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19776 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19777 (gst_bin_iterate_all_by_interface):
19780 * gst/gstelement.c: (gst_element_class_init),
19781 (gst_element_change_state), (gst_element_set_loop_function):
19782 * gst/gstelement.h:
19783 * gst/gstiterator.c:
19784 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19785 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19786 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19787 (gst_object_set_parent), (gst_object_unparent),
19788 (gst_object_check_uniqueness):
19790 Docs updates, clean up some headers.
19792 2005-03-07 Wim Taymans <wim@fluendo.com>
19794 * check/.cvsignore:
19795 * check/Makefile.am:
19796 * check/gst-libs/.cvsignore:
19797 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19798 * check/gst/.cvsignore:
19799 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19800 (START_TEST), (gstbus_suite), (main):
19801 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19802 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19803 (gst_data_suite), (main):
19804 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19805 (add_fold_func), (gstiterator_suite), (main):
19806 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19807 (thread_name_object), (thread_name_object_default),
19808 (gst_object_name_compare), (gst_object_suite), (main):
19809 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19810 (gst_pad_suite), (main):
19811 * check/gstcheck.c: (gst_check_log_message_func),
19812 (gst_check_log_critical_func), (gst_check_init):
19813 * check/gstcheck.h:
19814 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19815 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19818 2005-03-07 Wim Taymans <wim@fluendo.com>
19820 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19821 (gst_list_iterator_next), (gst_list_iterator_resync),
19822 (gst_list_iterator_free), (gst_iterator_new_list),
19823 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19824 (gst_iterator_free), (gst_iterator_push), (filter_next),
19825 (filter_resync), (filter_uninit), (filter_free),
19826 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19827 (gst_iterator_foreach), (find_custom_fold_func),
19828 (gst_iterator_find_custom):
19829 * gst/gstiterator.h:
19830 Added missing files.
19832 2005-03-07 Wim Taymans <wim@fluendo.com>
19836 * docs/design/part-MT-refcounting.txt:
19837 * docs/design/part-conventions.txt:
19838 * docs/design/part-gstobject.txt:
19839 * docs/design/part-relations.txt:
19840 * examples/mixer/mixer.c: (main):
19841 * examples/thread/thread.c: (eos), (main):
19843 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19844 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19845 (gst_spider_plug_from_srcpad):
19846 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19847 (gst_spider_identity_change_state),
19848 (gst_spider_identity_sink_loop_type_finding):
19849 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19850 * gst/elements/gstidentity.c: (gst_identity_init):
19851 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19852 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19853 * gst/elements/gsttypefindelement.c: (free_entry):
19856 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19857 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19858 (gst_bin_set_index), (gst_bin_set_element_sched),
19859 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19860 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19861 (gst_bin_iterate_elements), (iterate_child_recurse),
19862 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19863 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19864 (compare_interface), (gst_bin_get_by_interface),
19865 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19867 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19868 (gst_buffer_default_free), (gst_buffer_default_copy),
19869 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19870 (gst_buffer_create_sub):
19872 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19873 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19874 (gst_caps_unref), (gst_static_caps_get),
19875 (gst_caps_remove_and_get_structure), (gst_caps_append),
19876 (gst_caps_append_structure), (gst_caps_remove_structure),
19877 (gst_caps_copy_nth), (gst_caps_set_simple),
19878 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19879 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19880 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19881 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19882 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19883 (gst_caps_structure_figure_out_union),
19884 (gst_caps_switch_structures), (gst_caps_do_simplify),
19885 (gst_caps_replace), (gst_caps_from_string),
19886 (gst_caps_copy_conditional):
19888 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19889 (_gst_clock_id_free), (gst_clock_id_unref),
19890 (gst_clock_id_compare_func), (gst_clock_id_wait),
19891 (gst_clock_id_wait_async), (gst_clock_class_init),
19892 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19893 (gst_clock_get_time), (gst_clock_set_time_adjust),
19894 (gst_clock_set_property), (gst_clock_get_property):
19897 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19898 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19900 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19901 (gst_element_requires_clock), (gst_element_provides_clock),
19902 (gst_element_set_clock), (gst_element_clock_wait),
19903 (gst_element_wait), (gst_element_set_time_delay),
19904 (gst_element_is_indexable), (gst_element_add_pad),
19905 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19906 (pad_compare_name), (gst_element_get_static_pad),
19907 (gst_element_request_pad), (gst_element_get_request_pad),
19908 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19909 (gst_element_class_get_pad_template_list),
19910 (gst_element_class_get_pad_template), (gst_element_error_func),
19911 (gst_element_get_random_pad), (gst_element_get_event_masks),
19912 (gst_element_send_event), (gst_element_seek),
19913 (gst_element_get_query_types), (gst_element_query),
19914 (gst_element_get_formats), (gst_element_convert),
19915 (gst_element_is_locked_state), (gst_element_set_locked_state),
19916 (gst_element_sync_state_with_parent), (gst_element_change_state),
19917 (gst_element_finalize), (gst_element_yield),
19918 (gst_element_interrupt), (gst_element_set_scheduler),
19919 (gst_element_get_scheduler), (gst_element_set_loop_function):
19920 * gst/gstelement.h:
19922 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19923 (gst_format_get_by_nick), (gst_format_get_details),
19924 (gst_format_iterate_definitions):
19926 * gst/gstindex.c: (gst_index_gtype_resolver):
19929 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19930 (gst_mem_chunk_free):
19931 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19932 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19933 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19934 (gst_object_dispatch_properties_changed),
19935 (gst_object_set_name_default), (gst_object_set_name),
19936 (gst_object_get_name), (gst_object_set_name_prefix),
19937 (gst_object_get_name_prefix), (gst_object_set_parent),
19938 (gst_object_get_parent), (gst_object_unparent),
19939 (gst_object_check_uniqueness), (gst_object_save_thyself),
19940 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19941 (gst_object_set_property), (gst_object_get_property),
19942 (gst_object_get_path_string):
19944 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19945 (gst_real_pad_init), (gst_real_pad_get_property),
19946 (gst_pad_custom_new), (gst_pad_get_direction),
19947 (gst_pad_set_active), (gst_pad_is_active),
19948 (gst_pad_set_event_function), (gst_pad_is_linked),
19949 (gst_pad_link_free), (gst_pad_link_intersect),
19950 (gst_pad_link_fixate), (gst_pad_set_caps),
19951 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19952 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19953 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19954 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19955 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19956 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19957 (gst_pad_realize), (gst_pad_get_allowed_caps),
19958 (gst_real_pad_dispose), (gst_real_pad_finalize),
19959 (gst_pad_collectv), (gst_pad_collect_valist),
19960 (gst_pad_template_dispose), (gst_pad_template_new),
19961 (gst_pad_get_internal_links):
19963 * gst/gstpipeline.c: (gst_pipeline_dispose),
19964 (gst_pipeline_change_state):
19965 * gst/gstpipeline.h:
19967 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19968 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19969 * gst/gstpluginfeature.h:
19970 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19971 * gst/gstquery.c: (_gst_query_type_initialize),
19972 (gst_query_type_register), (gst_query_type_get_by_nick),
19973 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19975 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19976 * gst/gstscheduler.c: (gst_scheduler_add_element),
19977 (gst_scheduler_factory_create):
19978 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19979 (gst_structure_free), (gst_structure_set_name),
19980 (gst_structure_id_set_value), (gst_structure_set_value),
19981 (gst_structure_set_valist), (gst_structure_remove_field),
19982 (gst_structure_remove_fields),
19983 (gst_structure_remove_fields_valist),
19984 (gst_structure_remove_all_fields), (gst_structure_foreach),
19985 (gst_structure_map_in_place),
19986 (gst_caps_structure_fixate_field_nearest_int),
19987 (gst_caps_structure_fixate_field_nearest_double):
19988 * gst/gststructure.h:
19989 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19990 (gst_system_clock_init), (gst_system_clock_dispose),
19991 (gst_system_clock_async_thread),
19992 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19993 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19994 * gst/gstsystemclock.h:
19995 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19996 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19997 * gst/gsttaginterface.c:
19998 * gst/gstthread.c: (gst_thread_dispose),
19999 (gst_thread_release_children_locks), (gst_thread_change_state),
20000 (gst_thread_main_loop):
20001 * gst/gsttrashstack.h:
20002 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20004 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20005 (gst_element_request_pad), (gst_element_get_pad_from_template),
20006 (gst_element_request_compatible_pad),
20007 (gst_element_get_compatible_pad_filtered),
20008 (gst_element_get_compatible_pad), (gst_element_state_get_name),
20009 (gst_element_link_pads_filtered), (gst_element_link_filtered),
20010 (gst_element_link_many), (gst_element_link),
20011 (gst_element_link_pads), (gst_element_unlink_pads),
20012 (gst_element_unlink_many), (gst_element_unlink),
20013 (gst_pad_can_link_filtered), (gst_pad_can_link),
20014 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20015 (gst_object_default_error), (gst_bin_add_many),
20016 (gst_bin_remove_many), (gst_element_populate_std_props),
20017 (gst_element_class_install_std_props), (gst_buffer_merge),
20018 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20019 (link_fold_func), (gst_pad_proxy_setcaps):
20021 * gst/gstvalue.c: (gst_value_deserialize_string):
20022 * gst/parse/grammar.y:
20023 * gst/schedulers/gstbasicscheduler.c:
20024 (gst_basic_scheduler_cothreaded_chain),
20025 (gst_basic_scheduler_chain_recursive_add),
20026 (gst_basic_scheduler_pad_link):
20027 * gst/schedulers/gstoptimalscheduler.c:
20028 (get_group_schedule_function),
20029 (gst_opt_scheduler_state_transition),
20030 (gst_opt_scheduler_add_element), (element_get_reachables_func):
20031 * libs/gst/bytestream/bytestream.c:
20032 * libs/gst/dataprotocol/dataprotocol.c:
20033 (gst_dp_header_from_buffer):
20036 * tests/threadstate/threadstate2.c: (eos):
20037 * tools/gst-compprep.c: (main):
20038 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20039 (print_pad_info), (print_children_info):
20040 * tools/gst-launch.c: (idle_func), (main):
20041 * tools/gst-md5sum.c: (idle_func), (main):
20042 * tools/gst-xmlinspect.c: (print_element_info):
20043 First THREADED backport attempt, focusing on adding locks and
20044 making sure the API is threadsafe. Needs more work. More docs
20047 2005-02-24 Andy Wingo <wingo@pobox.com>
20049 * tests/bench-complexity.scm:
20050 * tests/complexity.gnuplot: New files, good for running complexity
20053 * tests/Makefile.am:
20054 * tests/complexity.c: New test, sets up N elements, at each level
20055 teeing into M streams per element. Eeeenteresting.
20057 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20058 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20059 running bench-mass_elements.scm.
20061 * tests/bench-mass_elements.scm: New script, runs mass_elements
20062 for various numbers of identities, outputting the results to a
20063 file. Requires guile 1.6. Just for testing.
20065 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20067 * gst/schedulers/fairscheduler.c:
20068 compile with debug disabled
20070 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20073 hunting season on 0.9 is now OPEN