1 2006-10-18 Wim Taymans <wim@fluendo.com>
3 * gst/gstsegment.c: (gst_segment_set_last_stop),
4 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5 _set_last_stop() must be with a value != -1
6 A _TYPE_SET to -1 means seek to 0.
7 Calc last_stop correctly for negative rates.
8 Make sure we work with positive durations when updating a segment.
10 2006-10-18 Wim Taymans <wim@fluendo.com>
12 * docs/design/part-live-source.txt:
16 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
19 Add an explicit cast to GstBuffer** to keep old code that added an
20 explicit cast to GstMiniObject** for gst_mini_object_replace()
21 compiling without warning.
23 2006-10-18 Stefan Kost <ensonic@users.sf.net>
25 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
26 check for validity of dates
28 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
30 * docs/gst/gstreamer-sections.txt:
31 Forgot this one, makes gtk-doc shut up.
33 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
35 Patch by: Peter Kjellerstedt <pkj at axis com>
38 Don't define xmlNodePtr to gpointer if the core was built with
39 --disable-loadsave and --disable-registry, this will break
40 applications that want to use libxml2 but are buildling against a
41 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
42 instead so we don't have to mess with the libxml2 namespace
45 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
48 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
49 type-punned pointer warnings.
51 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
54 Add casts to the correct return type to state <=> state transition
57 2006-10-16 Stefan Kost <ensonic@users.sf.net>
59 * docs/design/part-live-source.txt:
60 describe howto handle latency
62 * docs/random/ensonic/profiling.txt:
65 * tools/gst-plot-timeline.py:
66 fix log parsing for solaris, remove unused function
68 2006-10-16 Wim Taymans <wim@fluendo.com>
70 * docs/design/part-trickmodes.txt:
72 Update some docs regarding reverse playback.
74 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
76 Patch by: Marcus Granado <mrc dot gran at gmail com>
78 * win32/vs8/grammar.vcproj:
79 Error out with a warning if glib-genmarshal.exe is not in path,
80 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
82 2006-10-13 Wim Taymans <wim@fluendo.com>
84 * gst/gstsegment.c: (gst_segment_set_seek):
85 When seeking to stop -1, set last_stop (current position) to the
86 duration of the segment.
88 2006-10-13 Wim Taymans <wim@fluendo.com>
91 Clarify _NO_PREROLL a bit more.
96 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
97 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
98 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
99 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
100 due to wrong locking order. Fixes #361769.
101 Remove some redundant/misplaced checks in pad_block.
103 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
104 For negative rates, count backwards from the duration.
106 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
108 * gst/gsterror.c: (_gst_library_errors_init):
109 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
110 up with something better).
112 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
114 * win32/vs6/libgstreamer.dsp:
115 * win32/vs7/libgstreamer.vcproj:
116 * win32/vs8/libgstreamer.vcproj:
117 Don't reference glib-compat.c which is currently not used and not
118 disted; add gstquark.c which was recently added. Fixes #361730.
120 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
122 * win32/common/libgstbase.def:
123 * win32/common/libgstcontroller.def:
124 * win32/common/libgstreamer.def:
125 Add gst_caps_merge() and a bunch of other recently-added functions.
128 2006-10-11 Wim Taymans <wim@fluendo.com>
130 * docs/plugins/gstreamer-plugins.args:
131 * docs/plugins/inspect/plugin-coreelements.xml:
132 * docs/plugins/inspect/plugin-coreindexers.xml:
135 * gst/gstsystemclock.c:
136 Small comment update.
138 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
139 (gst_tee_request_new_pad), (gst_tee_release_pad),
140 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
141 (gst_tee_sink_activate_pull):
142 * plugins/elements/gsttee.h:
144 Add default property defines.
145 Implement release pad function.
146 Give properties better blubs etc.
147 Activate pads before adding them to a running tee.
148 Do simple buffer_alloc on the first requested pad.
149 Post error when activation fails.
151 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
153 * gst/gst.c: (ensure_current_registry_forking):
154 Check return value of write() to make compiler happy.
156 2006-10-11 Wim Taymans <wim@fluendo.com>
158 Patch by: Sjoerd Simons <sjoerd at luon dot net>
160 * plugins/elements/gstqueue.c: (gst_queue_chain):
161 Recheck queue filledness after signalling the overrun when we're about
162 to leak downstream because we released the lock when emitting the signal
163 and the queue could be empty again. Fixes #352345.
165 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
167 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
168 Fix refcounting here too, just like we did for _new_valist() a few
169 days ago (#357180) (thanks to René Stadler). Also remove all those
170 'Since: 0.9' from the gtk-doc blobs.
172 * tests/check/libs/controller.c: (controller_refcount_new_list),
173 (gst_controller_suite):
174 Unit test for the above.
176 2006-10-10 Wim Taymans <wim@fluendo.com>
178 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
180 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
181 (gst_pad_save_thyself):
183 Write pad direction in XML output. Fixes #345496.
185 2006-10-10 Wim Taymans <wim@fluendo.com>
187 Patch by: René Stadler <mail at renestadler dot de>
189 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
190 (gst_controller_new_list), (_gst_controller_dispose),
191 (_gst_controller_finalize), (_gst_controller_class_init):
192 Take ref to controlled object so that it cannot disappear.
195 2006-10-10 Wim Taymans <wim@fluendo.com>
197 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
198 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
199 (gst_check_teardown_sink_pad):
200 Activate/deactivate pads in setup/teardown respectively.
202 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
204 Patch by: Josep Torre Valles <josep@fluendo.com>
207 Cast values when making gstenumtypes.h. This pacifies Forte
208 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
211 2006-10-09 Wim Taymans <wim@fluendo.com>
213 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
214 Rename some more @cur to @start to fix docs.
216 * gst/gstsegment.c: (gst_segment_set_seek):
218 time and start must always stay in sync as defined in design doc.
220 * gst/gsttaglist.c: (gst_tag_list_is_empty):
221 Rename param to fix docs.
223 * tests/check/gst/gstsegment.c: (GST_START_TEST):
224 Check that start and time are in sync.
226 * tests/check/pipelines/parse-launch.c:
227 (gst_parse_test_element_change_state):
228 Activate pad before adding to the element.
230 2006-10-09 Wim Taymans <wim@fluendo.com>
232 * docs/design/part-qos.txt:
237 Update seek event docs regarding negative rates.
238 Rename @cur to @start.
240 * gst/gstsegment.c: (gst_segment_set_seek):
242 Update set_seek docs regarding negative rates.
243 Correctly update last_stop to @stop when dealing with negative
245 Rename @cur to @start.
247 * tests/check/gst/gstpad.c: (GST_START_TEST):
248 Activate pads before trying to use them.
250 * tests/check/gst/gstsegment.c: (GST_START_TEST),
252 Add simple check for segments and negative rates.
254 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
256 * gst/gsttaglist.c: (gst_tag_list_is_empty):
258 * docs/gst/gstreamer-sections.txt:
259 API: add gst_tag_list_is_empty() (#360467).
261 * tests/check/gst/gsttag.c: (GST_START_TEST):
264 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
267 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
268 a value that doesn't fit on enumeration.
270 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
272 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
273 Remove local debugging system and use Gstreamer's instead.
275 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
277 Patch by: Josep Torre Valles <josep@fluendo.com>
279 * common/m4/gst-error.m4:
280 Disable warning of statement not reached on Forte.
282 Fix warning on Forte (value doesn't fit on enumeration).
283 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
284 Fix warning on Forte (value doesn't fit on enumeration).
285 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
286 DEBUG macro says it takes minimum of 2 args and so Forte
287 complains about the use with just 1 arg.
288 * plugins/elements/gstfdsink.c:
289 * plugins/elements/gstfdsrc.c:
290 * plugins/elements/gstfilesink.c:
291 * plugins/elements/gstfilesrc.c:
292 Use correct return type for the uri handler implementations.
294 All these fix warnings in Forte. Fixes bug #360860.
296 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
299 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
300 format string, so don't use G_GNUC_PRINTF for those versions.
302 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
304 * gst/gsttaglist.c: (gst_is_tag_list):
306 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
308 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
309 Small test for the above.
311 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
314 Less tabs, more spaces.
316 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
319 Those two function declarations do actually belong there, revert
320 commit from yesterday that turned them intro macros.
322 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
324 Patch by: Josep Torre Valles <josep@fluendo.com>
326 * gst/gst.c: (gst_init_get_option_group):
327 Fix empty declaration and type mismatch.
328 * gst/gstbin.c: (gst_bin_change_state_func):
330 * gst/gstelement.c: (gst_element_continue_state),
331 (gst_element_set_state_func), (gst_element_change_state),
332 (gst_element_change_state_func):
334 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
335 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
337 * gst/gstobject.c: (gst_class_signal_connect):
338 Cast as appropriate. The function pointer parameter really
339 has the wrong type but would break API if we change it.
341 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
342 order of including string.h.
343 * gst/gstutils.c: (gst_element_state_get_name):
344 Remove unreachable line.
345 * gst/gstxml.c: (gst_xml_parse_doc):
347 All these caught by Forte.
349 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
351 Patch by: Josep Torre Valles <josep@fluendo.com>
353 * common/m4/gst-error.m4:
355 We need to disable warnings on Forte for empty declarations
356 due to gst-indent adding ;s to lines that just use macros
357 where the macro actually doesn't need a ; at end to end
360 2006-10-06 Wim Taymans <wim@fluendo.com>
362 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
363 (gst_file_sink_close_file), (gst_file_sink_event),
364 (gst_file_sink_render):
365 Add some FIXME for the NEWSEGMENT handling.
367 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
369 * gst/parse/grammar.y:
370 Remove static function gst_parse_element_lock as all it does
371 is return. Looks like cruft from 0.8.
373 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
375 Patch by: Josep Torre Valles <josep@fluendo.com>
377 * common/m4/gst-error.m4:
379 * libs/gst/net/Makefile.am:
380 Fix a compilation issue with Forte on Solaris. inet_aton is in
383 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
385 * gst/gstpad.c: (pre_activate):
386 * gst/gstregistry.c: (gst_registry_scan_path_level):
387 * gst/gstregistryxml.c: (load_plugin):
388 * libs/gst/controller/gstcontroller.c:
389 (gst_controlled_property_set_interpolation_mode):
390 * libs/gst/dataprotocol/dataprotocol.c:
391 (gst_dp_packet_from_event_1_0):
392 * libs/gst/net/gstnetclientclock.c:
393 (gst_net_client_clock_observe_times):
394 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
397 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
400 * docs/gst/gstreamer-sections.txt:
401 * gst/gstconfig.h.in:
404 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
405 whether we can use G_GNUC_PRINTF in other header files and at
406 least check the printf format/arguments of debug messages and
407 GST_ELEMENT_ERROR messages when the printf extension is not
409 Replace more tabs with spaces in gstinfo.h and remove two spurious
410 function declarations in GST_DISABLE_DEBUG part with macros.
412 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
414 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
415 More docs for the sync-message signal (mention that it is not
416 emitted by default); log message structures of messages posted on
419 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
421 * gst/gst.c: (ensure_current_registry_forking):
422 Use a pipe pair to receive status results from the forked child, and
423 ignore the result from waitpid. Fixes #355499
425 2006-10-02 Wim Taymans <wim@fluendo.com>
427 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
428 (gst_ghost_pad_suite):
431 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
434 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
436 2006-10-02 Edward Hervey <edward@fluendo.com>
438 * docs/design/part-block.txt:
439 Further explain the use of flushing on blocked pads.
440 * docs/gst/gstreamer-sections.txt:
441 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
442 (gst_pad_push_event):
444 Added new GstPadFlag : GST_PAD_BLOCKING.
445 Adds the notion of pads really blocking, which enables to properly
446 handle FLUSH_START/FLUSH_STOP events on blocked pads.
448 API: gst_pad_is_blocking()
449 API: GST_PAD_IS_BLOCKING() macro
450 API: GST_PAD_BLOCKING GstPadFlag
452 2006-10-02 Wim Taymans <wim@fluendo.com>
454 Patch by: mrcgran <mrc.gran at gmail dot com>
456 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
457 Filter the proxied caps against the padtemplate if we have one.
459 * gst/gstquery.c: (gst_query_new_segment):
460 Add include for gstinfo.h so that compilation with
461 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
463 2006-10-02 Wim Taymans <wim@fluendo.com>
465 Patch by: Alessandro Decina <alessandro at nnva org>
467 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
468 (gst_file_sink_set_location), (gst_file_sink_open_file),
469 (gst_file_sink_close_file), (gst_file_sink_event),
470 (gst_file_sink_render):
471 Set file to NULL when closing filesink so that we can set a new filename
472 in READY. Fixes #358613.
474 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
476 Patch by: Alessandro Decina <alessandro at nnva org>
478 * gst/gstevent.c: (_gst_event_copy):
479 Fix gst_mini_object_make_writable() and gst_event_copy() for events
480 with event structures by setting the parent refcount address of the
481 copied structure to the address of the refcount member of the newly
482 copied event rather than the address of the refcount member of the
483 original event. Fixes #358737.
485 * tests/check/gst/gstevent.c: (GST_START_TEST):
486 Unit test for the above.
488 2006-09-29 Stefan Kost <ensonic@users.sf.net>
490 * docs/design/Makefile.am:
491 Dist some more files.
493 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
495 * tests/check/libs/controller.c: (GST_START_TEST),
496 (gst_controller_suite):
497 Add test for the previous fix; add some more tests
498 for correct refcounting behaviour; fix a few leaks
499 in test cases; call gst_controller_init() at start
502 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
504 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
505 (gst_controller_set_from_list):
506 Don't g_return_val_if_fail() on timed values with invalid timestamps
507 inside a critical section without unlocking the mutex. Spotted by
508 René Stadler. (#357617)
509 Also, fix up refcounting properly: when returning an existing
510 controller, we should increase the reference only once and not
511 once per property and when trying to control a property again
512 we should also increase the refcount.
514 2006-09-29 Wim Taymans <wim@fluendo.com>
516 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
517 * libs/gst/net/gstnettimeprovider.c:
518 (gst_net_time_provider_thread):
519 Stop reading commands when EOF as well.
521 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
522 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
523 * plugins/elements/gstidentity.c: (gst_identity_class_init):
524 Unify description of the dump property.
526 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
528 * tests/examples/manual/.cvsignore:
529 OK, so it's actually cvsignore that needs changing. Stop laughing.
531 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
533 * tests/examples/manual/Makefile.am:
534 Gah, declare vars *before* using them
536 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
538 * gst/gst.c: (init_pre), (scan_and_update_registry),
539 (ensure_current_registry_nonforking),
540 (ensure_current_registry_forking), (ensure_current_registry),
541 (init_post), (gst_debug_help), (gst_deinit):
543 * gst/gstregistry.c: (gst_registry_finalize),
544 (gst_registry_remove_features_for_plugin_unlocked),
545 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
546 (gst_registry_scan_path),
547 (_priv_gst_registry_remove_cache_plugins),
548 (_priv_gst_registry_cleanup):
550 Re-commit the registry changes, along with an extra fix:
551 When a cached plugin is encountered at a different file path,
552 update the stored path in the registry cache so that the parent
553 process knows where it actually is now when it re-reads the registry
554 cache. Fixes the thing that broke distcheck with the previous commit.
556 * tests/check/Makefile.am:
557 Clean up files named 'core' too when running make clean.
559 * tests/examples/manual/Makefile.am:
560 Set up a registry path for running these tests, and clean it properly
563 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
566 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
567 want gmodule-no-export-2.0.pc instead so that we don't drag in
568 --export-dynamic on every project that links to GStreamer.
570 Also, make our export regex only match the start of symbols, rather
571 than any symbol that contains '_gst' somewhere.
573 * libs/gst/check/Makefile.am:
574 The libgstcheck we build does however need export-dynamic, as it
575 produces some symbols that don't match our _gst... style regex.
578 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
580 * gst/gst.c: (init_pre), (scan_and_update_registry),
581 (ensure_current_registry_nonforking),
582 (ensure_current_registry_forking), (ensure_current_registry),
583 (init_post), (gst_debug_help), (gst_deinit):
585 * gst/gstregistry.c: (gst_registry_finalize),
586 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
587 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
588 (_gst_registry_cleanup):
590 Revert previous change until I figure out why it breaks distcheck.
592 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
594 * gst/gst.c: (init_pre), (scan_and_update_registry),
595 (ensure_current_registry_nonforking),
596 (ensure_current_registry_forking), (ensure_current_registry),
597 (init_post), (gst_debug_help), (gst_deinit):
599 Make init_pre and init_post take the full complement of GOptionFunc
600 args so they can return useful GErrors. Make the registry updating
603 Call _priv_gst_registry_remove_cache_plugins after scanning files to
604 ensure that the registry we're about to write out doesn't contain
605 stale information about old-deleted plugin files.
607 Make _priv_gst_registry_remove_cache_plugins return a boolean so
608 that deletion of plugin files is considered a registry change.
611 * gst/gstregistry.c: (gst_registry_finalize),
612 (gst_registry_remove_features_for_plugin_unlocked),
613 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
614 (gst_registry_scan_path),
615 (_priv_gst_registry_remove_cache_plugins),
616 (_priv_gst_registry_cleanup):
618 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
619 by adding _priv prefix, so that they won't appear in the global
620 symbol table. They still do atm though because of #318031. Move the
621 prototypes to gst_private.h
623 When removing a plugin, remove all features for that plugin too.
626 2006-09-27 Wim Taymans <wim@fluendo.com>
628 * docs/random/moving-plugins:
629 Make it clear that the "compiled-in descriptions" really mean
632 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
633 (gst_base_sink_wait_preroll):
636 * docs/libs/gstreamer-libs-sections.txt:
637 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
638 (gst_base_src_get_range), (gst_base_src_activate_push):
639 * libs/gst/base/gstbasesrc.h:
640 Added function to block while waiting for PLAYING, this function
641 is used by live sources that block on the clock.
642 API: gst_base_src_wait_playing()
644 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
646 Patch by: Peter Kjellerstedt <pkj at axis com>
649 gst-element-check.m4 is generated and should therefore be
650 copied from the build dir rather than the source dir (#357593).
651 'make distcheck' hasn't noticed this because we were disting
652 the file as well, so stop doing that.
654 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
656 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
657 Add some tests for gst_caps_intersect().
659 * tools/gst-launch.c: (event_loop):
660 Print all buffering percentages we get, even the 100% one.
662 2006-09-26 Wim Taymans <wim@fluendo.com>
664 * tools/gst-inspect.c: (print_element_properties_info),
666 Fix printing of flags to match the look of enums.
668 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
670 * gst/gstelementfactory.c:
671 Fix typo in docs blurb.
673 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
675 * gst/gsturi.c: (search_by_entry):
676 Don't assert/crash here if a uri handler doesn't return any
677 supported protocols. The list of protocols could be generated
678 dynamically at runtime or at plugin registration, and an error
679 in the underlying library shouldn't be fatal (#353301).
681 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
684 Fix warning if HAVE_PRINTF_EXTENSION is undefined
685 (spotted by Peter Kjellerstedt).
687 2006-09-23 Wim Taymans <wim@fluendo.com>
689 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
691 * libs/gst/base/gstbasesrc.c:
692 (gst_base_src_default_check_get_range), (gst_base_src_start),
693 (gst_base_src_activate_push), (gst_base_src_activate_pull),
694 (gst_base_src_change_state):
695 Match _start/_stop calls in the activate functions. Remove redundant
696 _stop call from the state change function. Fixes #356910.
697 Turn failure DEBUG into ERROR.
699 2006-09-22 Wim Taymans <wim@fluendo.com>
701 * docs/design/part-buffering.txt:
702 * gst/gstmessage.c: (gst_message_new_buffering),
703 (gst_message_parse_buffering):
704 Update docs about buffering.
706 * docs/design/part-trickmodes.txt:
709 2006-09-22 Stefan Kost <ensonic@users.sf.net>
711 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
712 (gst_controller_new_list):
713 Ref instances when returning them again (fixes #357180)
715 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
717 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
718 Don't forget to release proxy lock when there's an error.
720 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
723 Add extra initialisers for Caps things, to fix some plugin warnings
726 2006-09-18 Wim Taymans <wim@fluendo.com>
728 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
729 Also set template on the internal pad so that a getcaps from the
730 target pad returns the template caps.
732 2006-09-18 Wim Taymans <wim@fluendo.com>
734 * gst/gstelement.c: (gst_element_post_message),
735 (gst_element_dispose):
736 Use _DEBUG_OBJECT some more.
738 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
741 * tools/gst-launch.c: (main):
742 If the toplevel element is not a GstPipeline, it must be put in a
743 pipeline so that a bus and clock is selected.
745 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
747 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
748 JITTER, RATE, and LATENCY query should be handled by the
749 default case and not by the CONVERT query code.
751 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
753 * gst/gstformat.c: (gst_format_register):
754 Fix locking order (must take lock before using n_values).
756 * gst/gstvalue.c: (gst_value_serialize_enum),
757 (gst_value_deserialize_enum_iter_cmp),
758 (gst_value_deserialize_enum):
759 Fix serialisation/deserialisation of custom registered GstFormats.
761 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
762 Unit test for custom format serialisation/deserialisation.
764 2006-09-17 Stefan Kost <ensonic@users.sf.net>
766 * docs/pwg/building-boiler.xml:
767 * plugins/elements/gstcapsfilter.c:
768 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
771 2006-09-16 Edward Hervey <edward@fluendo.com>
773 * libs/gst/base/gstbasetransform.c:
774 (gst_base_transform_buffer_alloc):
775 Check if requested caps are the same as the sinks caps IF
776 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
778 This fixes the renegotiation issues stated in #352827.
780 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
783 * docs/manual/advanced-autoplugging.xml:
784 * tests/examples/Makefile.am:
785 * tests/examples/manual/.cvsignore:
786 * tests/examples/manual/Makefile.am:
787 * tests/examples/manual/extract.pl:
788 Extract the manual examples again like we used to do.
791 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
793 * win32/common/config.h:
796 2006-09-16 Stefan Kost <ensonic@users.sf.net>
799 Documents how to receive errors.
801 2006-09-15 Wim Taymans <wim@fluendo.com>
803 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
804 (event_loop), (main):
805 Added some comments here and there.
806 Post an application message when an interrupt is caught instead of doing
807 an uncontrolled state change.
808 Clean up the event loop.
809 Handle buffering messages, pause/resume the pipeline.
810 Make shutdown because of an interrupt more reliable.
812 2006-09-15 Wim Taymans <wim@fluendo.com>
814 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
815 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
816 (gst_base_sink_preroll_object):
817 Make sure that our internal state is correct when we commit our state
818 asynchronously. This solves a race where a state change to PLAYING
819 could cause the sink to remain blocked in preroll in some situations.
821 2006-09-15 Wim Taymans <wim@fluendo.com>
823 * tools/gst-inspect.c: (print_element_properties_info),
825 List flags as hex so it's easier to deal with.
827 2006-09-15 Wim Taymans <wim@fluendo.com>
829 * docs/libs/gstreamer-libs-sections.txt:
830 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
831 (gst_base_sink_do_sync):
832 * libs/gst/base/gstbasesink.h:
833 Expose logic to wait for preroll so that subclasses such as audiosink
834 can also use this method.
835 API: gst_base_sink_wait_preroll()
837 2006-09-15 Wim Taymans <wim@fluendo.com>
839 * gst/gstobject.c: (gst_object_set_parent):
840 * gst/gstpipeline.c: (do_pipeline_seek):
841 Small cleanups in docs and code.
843 * gst/gstsegment.c: (gst_segment_clip):
844 * tests/check/gst/gstsegment.c: (GST_START_TEST):
845 if stop == start and start is in the segment, no clipping should be
846 done. Also add a test for this.
848 2006-09-15 Wim Taymans <wim@fluendo.com>
850 * docs/design/part-buffering.txt:
851 * docs/gst/gstreamer-sections.txt:
852 * gst/gstmessage.c: (gst_message_new_buffering),
853 (gst_message_parse_buffering):
855 Added methods to create and parse BUFFERING messages.
856 Added preliminary docs about buffering.
857 API: gst_message_new_buffering
858 API: gst_message_parse_buffering
860 2006-09-06 Wim Taymans <wim@fluendo.com>
863 Update documentation.
865 * gst/gstelement.c: (gst_element_class_init),
866 (gst_element_release_request_pad), (gst_element_set_clock),
867 (gst_element_get_index), (gst_element_add_pad),
868 (gst_element_remove_pad), (gst_element_get_random_pad),
869 (gst_element_send_event), (gst_element_get_query_types),
870 (gst_element_query), (gst_element_post_message),
871 (gst_element_message_full), (gst_element_continue_state),
872 (gst_element_lost_state), (gst_element_save_thyself),
873 (gst_element_restore_thyself):
874 Documentation updates.
875 Rename last bit of the new-pad -> pad-added signal rename.
876 Fix the case where an element query would only work if the source
878 Avoid some useless type checking in message handling.
883 Documentation updates.
885 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
887 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
888 add an INFO line for when we actually update the fd
890 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
895 === release 0.10.10 ===
897 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
900 releasing 0.10.10, "Pais"
902 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
904 * docs/manual/advanced-position.xml:
905 Fix typo in sample code.
907 2006-09-05 Wim Taymans <wim@fluendo.com>
909 * libs/gst/net/gstnetclientclock.c: (inet_aton),
910 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
911 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
912 * libs/gst/net/gstnetclientclock.h:
913 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
914 * libs/gst/net/gstnettimepacket.h:
915 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
916 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
917 (gst_net_time_provider_thread), (gst_net_time_provider_new):
918 * libs/gst/net/gstnettimeprovider.h:
919 Make stuff compile on windows. Fixes #345295.
921 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
923 * gst/gst.c: (ensure_current_registry_forking):
924 Print better details when child was terminated by signal.
926 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
928 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
929 Print a warning rather than g_assert() if a plugin feature
930 is a URI handler but returns no protocols (#353976).
932 2006-09-02 Stefan Kost <ensonic@users.sf.net>
934 * docs/random/moving-plugins:
937 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
939 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
940 Fix locking order, handle NULL function values properly.
945 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
946 Initialise variable before using it and fix debug statement to
947 print the address of the function rather than the address of the
948 variable on the stack holding the address of the function.
950 2006-09-01 Wim Taymans <wim@fluendo.com>
952 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
953 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
954 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
955 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
956 (gst_ghost_pad_parent_unset),
957 (gst_ghost_pad_internal_do_activate_push),
958 (gst_ghost_pad_internal_do_activate_pull),
959 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
960 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
961 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
962 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
963 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
964 (gst_ghost_pad_new_no_target_from_template),
965 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
967 Avoid needless typechecking in macros.
968 Since the internal pad is always present and never changes, there is
969 no need to locking or ref when retrieving it.
970 Improve debugging a bit.
971 Handle link errors when setting the target. Fixes #341029.
973 2006-09-01 Wim Taymans <wim@fluendo.com>
975 * docs/libs/gstreamer-libs-sections.txt:
976 * docs/plugins/gstreamer-plugins-sections.txt:
979 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
980 (gst_collect_pads_event):
981 * libs/gst/base/gstcollectpads.h:
982 Documentation updates.
983 Free queued buffer when removing a pad.
985 2006-08-31 Michael Smith <msmith@fluendo.com>
987 * gst/gstutils.c: (gst_element_link_pads),
988 (gst_element_link_pads_filtered):
989 Ensure that we set a capsfilter to NULL if we failed to link it
990 when doing filtered linking, to avoid criticals.
992 No need to check for unreffing srcpad, which is explicly NULLed
993 above (a trivial code cleanup).
995 2006-08-31 Wim Taymans <wim@fluendo.com>
997 * docs/design/part-gstghostpad.txt:
998 Update ascii art in documentation.
1000 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
1001 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
1002 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1003 (gst_ghost_pad_internal_do_activate_push),
1004 (gst_ghost_pad_internal_do_activate_pull),
1005 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1006 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1007 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
1008 (gst_ghost_pad_set_target):
1009 Small cleanups and leak fixes.
1010 Remove some checks now that the internal pad is never NULL.
1011 Fix the case where linking pads without a target would create nasty
1012 criticals. Fixes #341029.
1013 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
1014 value of _set_target().
1016 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1017 (gst_ghost_pad_suite):
1018 Some more tests for creating and linking untargeted ghostpads.
1020 2006-08-31 Edward Hervey <edward@fluendo.com>
1022 * docs/gst/gstreamer-sections.txt:
1023 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
1024 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1025 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
1026 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
1027 (gst_ghost_pad_new_from_template),
1028 (gst_ghost_pad_new_no_target_from_template):
1029 * gst/gstghostpad.h:
1030 Refactored *_new() functions.
1031 Templates are now used as a g_object_new() parameter.
1032 Use template in _do_getcaps() if we don't have a target.
1033 Small documentation cleanups.
1034 Added two new constructors:
1035 gst_ghost_pad_new_from_template()
1036 gst_ghost_pad_new_no_target_from_template()
1037 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1038 (gst_ghost_pad_suite):
1039 Added tests for new ghostpad instanciation functions.
1041 API additions: gst_ghost_pad_new_from_template,
1042 gst_ghost_pad_new_no_target_from_template
1044 2006-08-30 Stefan Kost <ensonic@users.sf.net>
1046 * docs/random/ensonic/profiling.txt:
1047 Ideas about qos profiling.
1049 2006-08-29 Wim Taymans <wim@fluendo.com>
1051 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1055 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
1058 Improve and detypofy docs.
1060 * tests/check/Makefile.am:
1061 * tests/check/gst/.cvsignore:
1062 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
1063 Add a basic test suite for GstXML.
1065 2006-08-29 Wim Taymans <wim@fluendo.com>
1067 * gst/gstelement.c: (activate_pads), (clear_caps),
1068 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1069 Clear the pad caps when the element shut down all of the pads and
1070 is not streaming data that could modify the caps.
1073 2006-08-28 Michael Smith <msmith@fluendo.com>
1075 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1076 Revert previous change; I misunderstood single-segment mode.
1078 2006-08-28 Michael Smith <msmith@fluendo.com>
1080 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1081 Unset DISCONT on buffers when using single-segment mode.
1083 2006-08-28 Wim Taymans <wim@fluendo.com>
1085 * gst/gstcaps.c: (gst_caps_merge_structure):
1087 Fix docs and indentation again.
1089 * tests/check/gst/gstquery.c: (GST_START_TEST):
1090 Fix leak in tests and add some more tests.
1092 2006-08-28 Edward Hervey <edward@fluendo.com>
1094 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1095 Inform GstSegment of the last stop position in order for the current
1096 segment to have a proper duration if it doesn't have a specific stop
1097 position from which a duration could be calculated.
1098 This bug was noticeable when a non-flushing, non-update new segment was
1099 followed by another segment (all buffers from the new segment were being
1102 2006-08-28 Wim Taymans <wim@fluendo.com>
1104 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1105 Small comment update.
1107 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1108 (gst_identity_transform_ip):
1109 Drop-probability is broken, mention this in the code with a
1110 FIXME and also in the property description.
1111 Make silent also be silent about the drop messages.
1113 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
1115 * docs/manual/appendix-win32.xml:
1116 Remove mention of popt, we don't depend on that any
1117 longer (#353136). Add some comments pointing out that
1118 this section is slightly outdated.
1120 2006-08-28 Wim Taymans <wim@fluendo.com>
1122 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1124 * gst/gstquery.c: (gst_query_new_segment):
1125 * tests/check/gst/gstquery.c: (GST_START_TEST):
1126 Initialize variables when creating a new segment query.
1129 2006-08-28 Wim Taymans <wim@fluendo.com>
1131 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1133 * gst/gstelement.c: (gst_element_get_bus):
1134 * tests/check/gst/gstelement.c: (GST_START_TEST):
1135 Check for NULL before _reffing the bus. Fixes #353122.
1137 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
1139 * docs/manual/basics-bus.xml:
1140 Docs update: fix wrong callback return value explanation; add
1141 some lines about the implicit relationship between main loop
1142 and main context; remove duplicate main loop variable declaration.
1144 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
1146 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1147 Don't leak caps in unit test; add a few more simple
1150 2006-08-24 Stefan Kost <ensonic@users.sf.net>
1152 * docs/gst/gstreamer-sections.txt:
1153 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1154 (gst_caps_structure_is_subset), (gst_caps_merge),
1155 (gst_caps_merge_structure):
1157 * libs/gst/base/gstbasetransform.c:
1158 (gst_base_transform_transform_caps):
1159 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1160 implement caps merging (fixes #352580)
1162 2006-08-23 Stefan Kost <ensonic@users.sf.net>
1164 * tools/Makefile.am:
1165 * tools/gst-plot-timeline.py:
1166 add debug-log plotting developer tool (#340674)
1168 2006-08-23 Wim Taymans <wim@fluendo.com>
1170 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1171 (gst_pad_stop_task):
1172 Improve debugging for task functions.
1174 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1175 (gst_task_start), (gst_task_pause), (gst_task_join):
1176 Make sure that the task function started and finished after a
1178 Don't try to push the task function on the threadpool multiple
1180 Improve the g_warning message with some useful suggestions
1181 about how to fix the problem.
1183 2006-08-23 Wim Taymans <wim@fluendo.com>
1185 * gst/gstutils.c: (gst_pad_proxy_getcaps):
1186 Handle RESYNC correctly in _proxy_getcaps.
1188 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
1190 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1191 (gst_xml_parse_memory), (gst_xml_get_element):
1192 Chain up to parent class in dispose function and also
1193 unref the elements in the toplevel_elements GList.
1194 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1195 Always return a reference in gst_xml_get_element() rather
1196 than only sometimes.
1198 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1199 Don't leak GstXml object.
1201 2006-08-21 Stefan Kost <ensonic@users.sf.net>
1203 * docs/gst/gstreamer-sections.txt:
1204 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1207 * libs/gst/base/gstbasetransform.c:
1208 (gst_base_transform_transform_caps):
1209 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1212 2006-08-21 Edward Hervey <edward@fluendo.com>
1214 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1215 Implement GObject::dispose virtual method in GstXML so we can free the
1218 2006-08-21 Wim Taymans <wim@fluendo.com>
1220 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1221 (gst_buffer_create_sub):
1222 Copy duration/offset_end/caps when creating a subbuffer of the
1224 Make the subbuffer read-only when we make the metadata writable for
1227 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1228 Added check for metadata copy when creating subbuffers.
1230 2006-08-21 Edward Hervey <edward@fluendo.com>
1232 * libs/gst/base/gstbasetransform.c:
1233 (gst_base_transform_buffer_alloc):
1234 Only call downstream buffer_alloc if transform element is passthrough
1235 or always_in_place. Closes #350449.
1237 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1240 ChangeLog surgery to add comments to previous changes
1242 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1247 * gst/gstpad.c: (gst_pad_set_active):
1248 Be more verbose in the log
1250 * libs/gst/base/gstbasetransform.c:
1251 (gst_base_transform_transform_caps):
1252 Simplify caps to get rid of duplicates, fixes #345444
1254 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1258 Use these optimizations only internally.
1260 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1262 * gst/gstvalue.c: (gst_value_compare_list),
1263 (gst_value_compare_fraction_range),
1264 (gst_value_intersect_fraction_fraction_range),
1265 (gst_value_intersect_fraction_range_fraction_range),
1266 (gst_value_subtract_fraction_fraction_range),
1267 (gst_value_subtract_fraction_range_fraction_range),
1268 (gst_value_get_compare_func), (gst_value_compare),
1269 (gst_value_compare_with_func):
1271 Saves the expensive lookup of the compare function in many cases
1274 2006-08-18 Edward Hervey <edward@fluendo.com>
1276 * tests/check/gst/gstinfo.c: (gst_info_suite):
1277 Disable test that require gstdebug if it wasn't built in core.
1279 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1281 * docs/random/ensonic/logging.txt:
1284 * gst/gstinfo.c: (gst_debug_log_default):
1285 reorder fields, save some columns, add optional color codes for log
1288 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1290 * docs/random/ensonic/logging.txt:
1291 add ideas about making the logs a bit more useful
1293 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1295 * docs/pwg/advanced-events.xml:
1296 * docs/pwg/titlepage.xml:
1297 Update for 0.10 API (#340627). Add myself
1300 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1302 * docs/libs/gstreamer-libs-docs.sgml:
1303 * docs/libs/gstreamer-libs-sections.txt:
1304 * libs/gst/check/gstbufferstraw.c:
1305 Make gstcheck stuff show up in docs (still needs to
1306 be documented properly though).
1308 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
1310 * docs/gst/gstreamer-sections.txt:
1312 * gst/gst.c: (init_post):
1313 * gst/gst_private.h:
1314 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1316 * gst/gstquery.c: (gst_query_new_position),
1317 (gst_query_set_position), (gst_query_parse_position),
1318 (gst_query_new_duration), (gst_query_set_duration),
1319 (gst_query_parse_duration), (gst_query_new_convert),
1320 (gst_query_set_convert), (gst_query_parse_convert),
1321 (gst_query_new_segment), (gst_query_set_segment),
1322 (gst_query_parse_segment), (gst_query_new_seeking),
1323 (gst_query_set_seeking), (gst_query_parse_seeking):
1324 Add internal helpers for pre-registering quarks from static strings
1325 and using the quark values directly instead of looking them up when
1326 creating and parsing queries. Can be used for event construction too.
1329 2006-08-16 Wim Taymans <wim@fluendo.com>
1334 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1336 * gst/gstutils.c: (gst_util_set_value_from_string):
1337 Fix memleak (#351502).
1339 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1340 Add unit test for most of gst_util_set_value_from_string()
1341 (not that one would want to encourage use of this function).
1343 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1345 * libs/gst/check/gstcheck.h:
1346 Use const gchar * variables in fail_unless_equals_string
1347 macro to avoid compiler warnings (and don't use tabs for
1350 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1352 * tools/gst-launch.c: (print_tag):
1353 More space on the left for the tag names, to cater
1354 for the 'extended comment' tag (not touching the
1355 string for the first line since it's translated).
1357 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1359 * libs/gst/check/gstcheck.h:
1360 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1361 print something when they fail.
1363 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1365 * docs/gst/gstreamer-sections.txt:
1366 * gst/gsttaglist.c: (_gst_tag_initialize):
1368 API: add GST_TAG_EXTENDED_COMMENT (#350935).
1369 Also change merge function for GST_TAG_COMMENT to
1372 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1374 * gst/gstinfo.c: (gst_debug_print_object):
1375 Make GST_PTR_FORMAT print messages as well.
1377 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1378 (GST_START_TEST), (gst_info_suite):
1381 2006-08-14 Edward Hervey <edward@fluendo.com>
1383 * gst/gstelementfactory.c: (gst_element_register):
1384 If the GstElementClass doesn't have a GstElementDetails with all fields
1385 filled up correctly (longname, description AND author), then error out
1386 nicely instead of crashing.
1388 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1390 * gst/gststructure.c:
1391 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1394 Expand on the difference between arrays and lists as we use them.
1396 2006-08-14 Wim Taymans <wim@fluendo.com>
1398 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1399 If the parent state change function failed, don't assume we can safely
1400 stop the source, this will be done when the pads are deactivated.
1402 2006-08-14 Wim Taymans <wim@fluendo.com>
1405 * gst/gsttask.c: (gst_task_join):
1408 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1409 (gst_pad_stop_task):
1410 When pad (de)activation failed for some reason, restore the old
1411 activation mode and set the pad to flushing instead of assuming the
1413 If the _task_join() failed, reinstall the task on the pad so that it can
1414 be stopped later and return an error.
1416 2006-08-11 Andy Wingo <wingo@pobox.com>
1419 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1420 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1421 is only for users of API that don't want to see deprecated
1422 functions in the headers; people that want to compile out
1423 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1424 CFLAGS. Fixes the build of multifdsink, or will soon..
1426 2006-08-11 Wim Taymans <wim@fluendo.com>
1428 * docs/gst/gstreamer-sections.txt:
1429 Add GstClockClass vmethod docs.
1432 Mark #endif with comment for associated #if
1434 * gst/gstclock.c: (gst_clock_id_wait):
1436 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1437 most clock implementations.
1439 Flesh out docs about resolution methods.
1440 API: GstClockClass::wait_jitter
1442 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1443 (gst_system_clock_async_thread),
1444 (gst_system_clock_id_wait_jitter_unlocked),
1445 (gst_system_clock_id_wait_jitter):
1446 Use base class wait_jitter variant for improved performance
1447 due to less clock polling.
1449 2006-08-11 Edward Hervey <edward@fluendo.com>
1451 * gst/gst.c: (gst_init_check), (init_post):
1452 Set gst as being initialized before scanning/updating the registry,
1453 since there might be my python plugin loader that calls gst_init() and
1454 we don't want to loop back in.
1457 2006-08-11 Wim Taymans <wim@fluendo.com>
1459 * docs/design/part-qos.txt:
1460 Bring docs in line with the code. Mostly the sign of the jitter was
1461 wrong in the docs. Fixes #349943.
1464 Fix the docs for the jitter.
1466 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1467 (gst_event_parse_tag), (gst_event_new_buffer_size),
1468 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1469 (gst_event_new_seek), (gst_event_parse_seek),
1470 (gst_event_new_navigation):
1471 Make sure the GstStructure has no parent when creating custom
1473 Add some more argument checking so that we avoid 0.0 rates.
1474 Flesh out the docs for the QoS event some more.
1476 2006-08-11 Wim Taymans <wim@fluendo.com>
1478 * docs/gst/gstreamer-sections.txt:
1479 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1480 (ensure_current_registry_forking), (ensure_current_registry),
1481 (parse_one_option), (parse_goption_arg), (gst_deinit),
1482 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1485 Added API and command line option to disable registry forking in
1486 addition to the environment variable.
1487 Constify some static arrays.
1488 Added some more debug.
1490 API: gst_registry_fork_is_enabled()
1491 API: gst_registry_fork_set_enabled()
1492 API: --gst-disable-registry-fork command line option
1495 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1497 * gst/gst.c: (gst_init):
1498 Fix typo in error message.
1500 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1502 * libs/gst/controller/gstcontroller.h:
1503 fix ABI size-correction
1505 * tests/check/libs/gdp.c: (gst_dp_suite):
1506 make tests that use deprecated API conditional
1508 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1510 * docs/libs/gstreamer-libs-sections.txt:
1511 * libs/gst/controller/gstcontroller.c:
1512 (_gst_controller_get_property), (_gst_controller_set_property),
1513 (_gst_controller_init), (_gst_controller_class_init):
1514 * libs/gst/controller/gstcontroller.h:
1515 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1516 (gst_object_set_control_rate):
1517 API: add gst_object_{s,g}et_control_rate(), add private data section,
1520 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1521 * libs/gst/dataprotocol/dataprotocol.h:
1522 add deprecation guards to make gtk-doc happy and allow disabling cruft
1524 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1526 * tests/check/Makefile.am:
1527 * tests/check/gst/.cvsignore:
1528 Let's enable the new unit test as well.
1530 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1533 * docs/gst/gstreamer-sections.txt:
1534 * gst/gstconfig.h.in:
1535 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1536 (_gst_info_printf_extension_ptr),
1537 (_gst_info_printf_extension_segment):
1538 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1539 register that lets us easily dump GstSegments into debug
1542 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1543 (info_segment_format_printf_extension), (gst_info_suite):
1544 Add simple unit test that logs a bunch of different segments (not
1545 valgrinded at the moment because of leaks in
1546 gst_debug_add_log_function).
1548 2006-08-09 Edward Hervey <edward@fluendo.com>
1550 * libs/gst/base/gstbasetransform.c:
1551 (gst_base_transform_buffer_alloc):
1552 Even if we can't figure out the proper format to request downstream,
1553 call buffer_alloc() downstream with the input parameters without setting
1554 the caps on the srcpad. This will force negotiation in the chain
1558 2006-08-08 Edward Hervey <edward@fluendo.com>
1560 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1561 Unlinking from a pad without a target is now a perfectly valid case
1562 which should NOT raise an assertion.
1563 This case would happen if a linked ghostpad its target set to NULL after
1564 it was previously linked.
1566 2006-08-08 Edward Hervey <edward@fluendo.com>
1568 * tests/check/libs/gdp.c:
1569 Also comment out the test (see below).
1571 2006-08-08 Edward Hervey <edward@fluendo.com>
1573 * tests/check/libs/gdp.c: (gst_dp_suite):
1574 Use the architecture information from config.h and not gcc macros
1575 in order to properly disable a test that fails on PPC64.
1577 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1579 * gst/gstelement.c: (gst_element_remove_pad):
1580 Don't crash printing the warning if the pad has no parent.
1582 2006-08-02 Wim Taymans <wim@fluendo.com>
1584 * libs/gst/dataprotocol/dataprotocol.c:
1585 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1586 (gst_dp_crc), (gst_dp_header_payload_length),
1587 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1588 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1589 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1590 (gst_dp_event_from_packet), (gst_dp_validate_header),
1591 (gst_dp_validate_payload):
1592 Make debug category static
1593 Constify the crc table.
1594 Do some more arg checking in public functions.
1595 Fix some docs and do some small cleanups.
1597 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1598 Add some more checks to see if GDP deals with bogus input.
1600 2006-07-31 Wim Taymans <wim@fluendo.com>
1602 * gst/gstvalue.c: (gst_value_compare_list):
1603 Fix GstValueList comparison code. Fixes #347293.
1605 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1606 Check to test GstValueList comparison.
1608 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1610 * gst/gstelementfactory.c: (gst_element_factory_create):
1611 Remove unnecessary ref/unref pair
1613 * gst/parse/grammar.y:
1614 Make sure to free the parse buffer on all code paths.
1615 Move a g_free up to the error handler where it's easier to see.
1617 * tests/check/gst/gstevent.c: (test_event):
1618 Extending timeout for downstream travelling events to 10 seconds to
1619 hopefully avoid intermittent failure on the buildbots.
1621 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1622 Don't manually set the state of the src element - it will happen as a
1623 natural consequence of the pipeline changing state, and that way it
1624 will do it in the right order too.
1626 2006-07-31 Wim Taymans <wim@fluendo.com>
1628 * libs/gst/base/gstbasetransform.c:
1629 (gst_base_transform_buffer_alloc):
1630 Use OBJECT_LOCK and refcounting to get the pad caps in the
1631 buffer_alloc function because the caps could change while we are
1632 busy with them. Fixes #349105
1634 2006-07-31 Wim Taymans <wim@fluendo.com>
1636 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1637 Protect _PAD_CAPS with OBJECT_LOCK.
1639 2006-07-31 Wim Taymans <wim@fluendo.com>
1641 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1642 (gst_pad_get_property), (gst_pad_activate_pull),
1643 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1644 (gst_pad_set_activate_function),
1645 (gst_pad_set_activatepull_function),
1646 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1647 (gst_pad_set_getrange_function),
1648 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1649 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1650 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1651 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1652 (gst_pad_set_acceptcaps_function),
1653 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1654 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1655 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1656 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1657 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1658 (gst_pad_configure_sink), (gst_pad_configure_src),
1659 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1660 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1661 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1662 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1663 (gst_pad_send_event):
1664 Use _DEBUG_OBJECT when it makes sense.
1665 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1666 Small cleanups and code reflows.
1667 Avoid caps refcounting in _accept_caps.
1668 Refactor alloc_buffer so that the code performed on the peer is in a
1669 separate function. Also if the pad does not implement a buffer alloc
1670 function, we should still check if the pad is flushing before falling
1671 back to the default allocator.
1673 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1675 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1676 Make all uses of identity and fakesink have silent=true to avoid
1677 serialising every passing data structure, which is breaking tests
1678 on FC4 for some unknown reason.
1680 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1682 * gst/parse/Makefile.am:
1683 * gst/parse/grammar.y:
1684 * gst/parse/parse.l:
1685 Reverted previous patch as it required to bump the flex dependency to
1686 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1688 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1690 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1692 * gst/parse/Makefile.am:
1693 * gst/parse/grammar.y:
1694 * gst/parse/parse.l:
1695 push & pop the state of the lexer for reentrant use case
1698 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1700 * libs/gst/base/gstbasesrc.h:
1701 Note in the docs that the ::newsegment vfunc is not actually used by
1704 2006-07-28 Wim Taymans <wim@fluendo.com>
1706 * libs/gst/base/gstcollectpads.c:
1707 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1708 (gst_collect_pads_clear), (gst_collect_pads_flush),
1709 (gst_collect_pads_event), (gst_collect_pads_chain):
1710 When flushing a pad, also clear the queued buffer so that we don't
1711 accidentally use it when we shouldn't.
1712 Fix leaks by inreffing incomming buffer.
1713 Flush out queued buffers in case of errors.
1716 2006-07-28 Wim Taymans <wim@fluendo.com>
1718 * docs/random/phonon-gst:
1719 Random notes about a Phonon backend.
1721 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1723 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1725 * tests/check/libs/gdp.c: (gst_dp_suite):
1726 Take a whack at fixing the ppc compile using a different define to
1727 disable the broken test.
1729 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1730 Remove excess g_print()
1732 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1734 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1735 Oops, meant to uncomment this line too to dampen the noise a bit.
1737 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1739 * gst/parse/grammar.y:
1740 * gst/parse/parse.l:
1741 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1742 (GST_START_TEST), (parse_suite):
1743 Fix some of the leaks exposed by extending the parse-launch testsuite,
1744 and move the 3 I can't figure out into a separate test that won't run
1745 the pipelines unless the appropriate line is uncommented.
1747 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1749 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1750 Requesting 0 bytes before the end of the file should result in
1751 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1754 2006-07-27 Wim Taymans <wim@fluendo.com>
1756 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1757 Fix useless assert, a uint is always positive.
1759 * gst/gststructure.c: (gst_structure_nth_field_name),
1760 (gst_structure_foreach), (gst_structure_map_in_place):
1761 Check input arguments for public functions to avoid obvious crashes.
1763 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1764 * plugins/elements/gstfakesink.h:
1765 Do less useless typechecking.
1767 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1769 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1770 Do not use mmap() by default since there are a number of error
1771 conditions that we would like to handle in a non-fatal way that
1772 will result in a SIGBUS if we use mmap(). Examples: external
1773 devices (USB harddrive, portable music player) being unplugged
1774 while in use; file on mounted CD/DVD that can't be read because
1775 the medium is partly damaged. Fixes #348455 and #348475.
1777 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1780 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1783 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1785 * gst/gstregistry.c:
1786 Move big documentation comment into class section header, so that it
1787 appears in the API docs.
1789 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1791 * docs/gst/gstreamer-sections.txt:
1792 Oops. Commit the docs additions too for new API.
1793 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1795 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1797 * gst/gststructure.c: (gst_structure_id_set),
1798 (gst_structure_id_set_valist):
1799 * gst/gststructure.h:
1800 Add API for setting values into structures without performing
1801 a quark lookup, if the appropriate quark is already known.
1803 API: gst_structure_id_set
1804 API: gst_structure_id_set_valist
1806 * gst/parse/grammar.y:
1807 * gst/parse/parse.l:
1808 Remove some dead code shown by the coverage information.
1809 Don't throw a critical g_warning when encountering a syntax error,
1810 just warn and let the normal error path handle it.
1812 * plugins/elements/gstelements.c:
1813 Bump the rank of filesink up to PRIMARY so that it is preferred over
1814 gnomevfssink for file:// sink uri's
1816 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1817 (GST_START_TEST), (run_delayed_test),
1818 (gst_parse_test_element_base_init),
1819 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1820 (gst_parse_test_element_change_state),
1821 (gst_register_parse_element), (parse_suite):
1822 Beef up the tests for parse syntax to check that more error cases
1823 fail as they are supposed to. Increases the test coverage a bit.
1825 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1827 * docs/manual/basics-elements.xml:
1828 Fix gst_element_link() example.
1831 Mention in API docs that one should usually gst_bin_add()
1832 elements to a bin or pipeline before doing the linking.
1834 2006-07-26 Wim Taymans <wim@fluendo.com>
1836 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1837 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1838 Avoid function call for known types by keeping the buffer and
1839 subbuffer GType global.
1841 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1842 Random silly optimisations in read() path.
1844 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1846 * tools/gst-launch.c: (main):
1847 If the top-level of the parse is a normal bin, it doesn't do the
1848 right logic to run as a top-level element, so place it inside a
1851 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1853 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1854 Remove superfluous g_object_notify() calls, GObject does
1855 that for us automatically.
1857 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1860 on Win32, use dllspec to export the debug category symbols
1862 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1864 * gst/gsttaglist.c: (_gst_tag_initialize):
1865 Allow more than one GST_TAG_IMAGE per taglist.
1867 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1869 * gst/gstminiobject.c:
1871 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1872 (gst_fd_src_create):
1873 log recurring events at LOG level
1874 add more debug for when the fd gets set
1876 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1878 * gst/gstparse.c: (gst_parse_launch):
1879 Also remove reentrance checks if flex is MT safe (#348179)
1880 Fix my empty ChangeLog entry below
1882 2006-07-21 Andy Wingo <wingo@pobox.com>
1884 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1886 * libs/gst/check/Makefile.am
1887 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1888 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1889 * libs/gst/check/gstbufferstraw.h:
1890 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1891 functions, thus proving I am still a GStreamer haxor. OK I wrote
1892 them a long time ago, but anyways.
1894 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1897 * gst/gstparse.c: (gst_parse_launch):
1898 Check for flex version and omit mutex if we have a MT save flex
1901 2006-07-21 Wim Taymans <wim@fluendo.com>
1903 * gst/gstparse.c: (gst_parse_launch):
1904 Protect recursive calls to _parse with a recursive mutex
1907 2006-07-21 Wim Taymans <wim@fluendo.com>
1909 * tests/check/gst/gstpad.c: (GST_START_TEST):
1912 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1914 * gst/gstparse.c: (gst_parse_launch):
1915 Do not hang on recursive usage of gst_parse_launch()
1917 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1920 Add some more docs, comments and FIXME 0.11s here and there
1921 and also fix some typos.
1923 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1926 Convert tabs to spaces for better readability.
1928 2006-07-20 Edward Hervey <edward@fluendo.com>
1930 * tests/check/libs/gdp.c: (gst_dp_suite):
1931 the test_buffer test fails at line 140 on ppc64 at the following
1933 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1934 GST_BUFFER_FLAG_IN_CAPS),
1935 "GST_BUFFER_IN_CAPS flag should have been copied !");
1936 See bug #348114 for more details.
1938 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1940 * docs/pwg/advanced-scheduling.xml:
1942 Fix typos (#348000).
1944 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1946 * docs/pwg/intro-basics.xml:
1947 Fix wrong links (#347927).
1949 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1951 * gst/gstregistry.h:
1952 * gst/gstregistryxml.c: (load_feature),
1953 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1954 * win32/common/config.h:
1955 make --disable-index work (#342564)
1957 2006-07-18 Wim Taymans <wim@fluendo.com>
1959 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1963 The attached patch adds two missing defines to gsttrace.h when tracing
1964 is disabled. It also corrects one existing define.
1967 2006-07-17 Wim Taymans <wim@fluendo.com>
1969 * docs/gst/gstreamer-sections.txt:
1970 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1972 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1973 Add two functions to check and change the SIGSEGV behaviour
1974 when loading plugins.
1975 Don't mess with the SIGSEGV handler when we were told not to.
1977 API: gst_segtrap_is_enabled
1978 API: gst_segtrap_set_enabled
1980 2006-07-14 Wim Taymans <wim@fluendo.com>
1982 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1983 * tests/check/elements/filesrc.c: (GST_START_TEST):
1984 Revert fix for regression in #347408 after release.
1986 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1988 Patch by: Antoine Tremblay <hexa00 at gmail com>
1990 * gst/gstutils.c: (gst_element_unlink):
1991 Free iterator when done (#347311).
1993 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1994 And add a test case for this.
1996 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1999 Bump nano back to CVS
2001 === release 0.10.9 ===
2003 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2006 releasing 0.10.9, "On the road again"
2008 2006-07-13 Wim Taymans <wim@fluendo.com>
2010 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2011 * tests/check/elements/filesrc.c: (GST_START_TEST):
2012 Revert pull-0 fix for release. Disable check. Fixes #347408.
2014 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2016 * libs/gst/dataprotocol/dataprotocol.c:
2017 (gst_dp_event_from_packet_1_0):
2018 Fixes #347337: failure to deserialize event packets with
2019 empty payload (only event type)
2021 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2024 do not install a .c file in the header directory
2026 2006-07-13 Edward Hervey <edward@fluendo.com>
2028 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
2029 GhostPad no longer implicitely use the padtemplates of the targets.
2032 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
2034 * gst/gstvalue.c: (gst_value_compare_list),
2035 (gst_value_compare_array), (_gst_value_initialize):
2036 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2037 Make GstValueArray comparison be order dependent as designed.
2038 Add checks for value lists and value array comparisons.
2041 2006-07-11 Edward Hervey <edward@fluendo.com>
2043 * gst/gstbin.c: (activate_pads),
2044 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
2045 (gst_bin_change_state_func):
2046 (de)activate src pads before calling state_change on the childs.
2047 This is to avoid the case where a src ghostpad is blocked (holding the
2048 stream lock), which would block the deactivation of the ghostpad's
2050 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
2051 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
2052 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
2053 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2054 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2055 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2056 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2057 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
2058 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
2059 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2060 (gst_ghost_pad_class_init),
2061 (gst_ghost_pad_internal_do_activate_push),
2062 (gst_ghost_pad_internal_do_activate_pull),
2063 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2064 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2065 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
2066 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
2067 GhostPads now create their internal GstProxyPad at creation (and not
2068 when they're linked, as it was being done previously).
2069 The internal and target pads are linked straight away.
2070 The data will also travel through the other pad in order to make
2071 pad blocking and probes non-hackish (the probe/block now really happens
2072 on the GhostPad and not on the target).
2073 * gst/gstpad.c: (gst_pad_set_blocked_async),
2074 (gst_pad_link_prepare), (gst_pad_push_event):
2075 Remove previous ghostpad cruft.
2076 * gst/gstutils.c: (gst_pad_add_data_probe),
2077 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2078 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2079 (gst_pad_remove_buffer_probe):
2080 Remove previous ghost pad cruft.
2081 Added more detailed debug statements.
2082 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2083 Fix the testsuite for refcounting changes.
2084 The comments about who has references were correct, but the refcount
2085 being checked wasn't the same (!?!).
2089 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2091 * docs/gst/gstreamer-sections.txt:
2092 * gst/gstconfig.h.in:
2093 More docs for configuration options, add docs to gtk-doc.
2095 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2098 * gst/gstconfig.h.in:
2099 * win32/common/config.h:
2100 Fix build when disabling tracing (fixes #344016). Also start to document
2101 the defines that disable the sub-systems.
2103 2006-07-10 Edward Hervey <edward@fluendo.com>
2105 * gst/gst.c: (ensure_current_registry_forking):
2106 let's make valgrind happy...
2108 2006-07-09 Wim Taymans <wim@fluendo.com>
2110 * gst/gstelement.c: (activate_pads),
2111 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2112 Better pad activation code: Reset the collect value too on resync.
2115 2006-07-09 Wim Taymans <wim@fluendo.com>
2117 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2118 (gst_pad_activate_push):
2119 Use some more macros where it makes sense.
2120 Allow pad mode switching instead of asserting. When a pad
2121 is activated in one mode and we activate it in another,
2122 deactivate it first before activating it in a different mode.
2125 2006-07-08 Andy Wingo <wingo@pobox.com>
2127 * tools/gst-launch.c (main): Handle err == NULL.
2129 * gst/gst.c (init_post, ensure_current_registry)
2130 (ensure_current_registry_forking)
2131 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2132 factoring out the registry scanning into separate functions. Don't
2133 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2134 Better environment var name/interface suggestions accepted.
2136 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2138 * gst/gstobject.c: (gst_object_set_name_default),
2139 (gst_object_set_name):
2140 Random micro-optimisation: don't use a hash table
2141 with strings as keys and the usual strdup/strcmp
2142 involved, but rather just use the GQuark of the
2143 type name as key, since it needs to be looked up
2144 anyway to get the type name string.
2146 * tests/check/gst/gstobject.c: (GST_START_TEST):
2149 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2151 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2152 (gst_bin_iterate_all_by_interface):
2153 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2154 GTypes are gulongs and thus the top 4 bytes might be cut
2155 off on some platforms when doing GPOINTER_TO_INT, leading
2156 to invalid GTypes and bad things happening (see RH bug #179654).
2157 Also add a check to make sure the type passed in is really
2160 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2165 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2169 * gst-element-check.m4:
2170 * gst-element-check.m4.in:
2171 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2172 instead of the unversioned gst-inspect (#324176, #168659).
2174 2006-07-06 Wim Taymans <wim@fluendo.com>
2177 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2180 2006-07-06 Wim Taymans <wim@fluendo.com>
2182 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2183 (gst_base_src_wait), (gst_base_src_update_length),
2184 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2185 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2186 (gst_base_src_loop), (gst_base_src_start),
2187 (gst_base_src_activate_pull):
2189 blocksize == 0 now means the default blocksize when working in push
2191 Remove some pointless asserts in _wait function.
2192 Fix offset/length calculations and EOS handling. We can now pull 0
2193 bytes as well, which is allowed.
2194 use _check_get_range() to decide if we can operate in _pull based
2196 Fix refcounting leak when check_get_range function was not
2198 API GstBaseSrc::blocksize range can be 0 too now (default)
2200 * tests/check/elements/filesrc.c: (GST_START_TEST),
2202 Added check to test _get_range() behaviour.
2204 2006-07-06 Wim Taymans <wim@fluendo.com>
2206 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2207 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2208 (gst_pad_pull_range):
2210 Lots of comments and docs added to the pad functions.
2211 Flesh out the expected behaviour of the get_range() functions.
2213 2006-07-06 Wim Taymans <wim@fluendo.com>
2218 * gst/gstiterator.h:
2222 Remove comma at end of enumerator list.
2224 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
2226 * win32/common/libgstbase.def:
2227 * win32/common/libgstdataprotocol.def:
2228 * win32/common/libsgtreamer.def:
2229 Add new exported functions.
2231 2006-07-05 Wim Taymans <wim@fluendo.com>
2233 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2234 Add some more docs here and there.
2236 2006-07-05 Wim Taymans <wim@fluendo.com>
2238 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2239 (gst_base_sink_loop), (gst_base_sink_get_position):
2240 When operating in pull mode update the offset so that we
2243 2006-07-05 Wim Taymans <wim@fluendo.com>
2245 * gst/gstregistryxml.c: (read_string):
2246 Avoid strdup. (will happen in libxml, but hey!)
2251 2006-07-05 Wim Taymans <wim@fluendo.com>
2253 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2254 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2256 No point in checking if the size of the subbuffer > 0, the
2257 code handles it correclty as demonstrated by unit test.
2258 Also add a unit test for the zero sized _new_and_alloc and
2259 _copy. Fixes #346663.
2261 2006-07-05 Wim Taymans <wim@fluendo.com>
2263 * libs/gst/base/gstbasetransform.c:
2264 (gst_base_transform_prepare_output_buffer),
2265 (gst_base_transform_buffer_alloc),
2266 (gst_base_transform_handle_buffer):
2267 Make sure the buffer we pass to transform_ip has a refcount of
2268 1 and thus is writable. Fixes #343196
2270 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
2272 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2273 (gst_file_src_init), (gst_file_src_set_property),
2274 (gst_file_src_get_property), (gst_file_src_map_region):
2275 * plugins/elements/gstfilesrc.h:
2276 Add "sequential" property, off by default, to use madvise and hint
2277 to the kernel that sequential access is desired.
2278 Touch all retrieved pages by default to ensure they are pulled
2279 into memory. (Closes #345720)
2281 2006-07-03 Wim Taymans <wim@fluendo.com>
2283 * docs/design/part-block.txt:
2284 * docs/design/part-dynamic.txt:
2287 2006-07-03 Wim Taymans <wim@fluendo.com>
2289 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2290 (gst_caps_unref), (gst_static_caps_get),
2291 (gst_caps_append_structure):
2292 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2293 Use GSlice when the glib we build against is >= 2.10
2295 2006-07-03 Wim Taymans <wim@fluendo.com>
2297 * gst/gstelement.c: (gst_element_pads_activate):
2298 Small cleanup in pad activation code.
2300 2006-07-03 Wim Taymans <wim@fluendo.com>
2302 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2304 * gst/gst-i18n-app.h:
2305 * gst/gst-i18n-lib.h:
2306 * tools/gst-inspect.c: (print_signal_info):
2307 The attached patch will make the inclusion of gettext.h unconditional in
2308 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2309 libintl.h in tools/gst-inspect.c.
2310 This allows use of --disable-nls again and fixes #344642.
2312 2006-07-03 Edward Hervey <edward@fluendo.com>
2314 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2315 Implement pad blocking on events according to part-block.txt.
2316 More comments on behaviour.
2317 * tests/check/gst/gstevent.c: (test_event):
2318 Send event to peer pad of blocked pad (else it will block).
2320 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2322 * libs/gst/check/gstcheck.c: (gst_check_message_error),
2323 (gst_check_run_suite):
2324 if we get the wrong message, give us the types as string
2325 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2327 * tests/check/elements/filesrc.c: (GST_START_TEST):
2328 add a test for trying to open a non-existing file
2330 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2332 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2333 add a test for adding self
2335 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2337 * libs/gst/check/gstcheck.h:
2338 add some assert_ as alias for fail_unless_*
2339 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2340 increase test coverage
2342 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2345 include lcov.mak for lcov coverage generation
2346 * tools/Makefile.am:
2349 2006-07-02 Edward Hervey <edward@fluendo.com>
2351 * tests/check/elements/.cvsignore:
2354 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2357 don't set CFLAGS and friends for gcov, done from GST_GCOV now
2358 * tests/check/Makefile.am:
2361 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2363 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2364 remove gst_caps_simplify; it was not declared and not used
2365 and deprecated in 0.8
2367 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2369 * docs/faq/gst-uninstalled:
2370 don't put empty paths on PYTHONPATH
2371 * docs/gst/gstreamer-sections.txt:
2372 remove some symbols that are not there
2374 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2376 * gst/gstcaps.c: (gst_caps_compare_structures):
2378 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2379 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2382 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2384 * libs/gst/dataprotocol/Makefile.am:
2385 build dataprotocol test by linking to the lib, instead of
2386 compiling the source, so we get coverage
2387 * tests/check/Makefile.am:
2388 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2389 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2390 add a test for filesrc
2392 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2394 * tests/check/gst/gststructure.c: (GST_START_TEST),
2395 (gst_structure_suite):
2396 Push coverage from 59.04% to 70.00%
2398 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2400 * tests/check/Makefile.am:
2401 gst-inspect every element; this makes sure that we also get
2402 coverage on element's get/set functions
2404 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2407 set CFLAGS and friends to -O0 if gcov is being used
2410 * libs/gst/base/Makefile.am:
2411 * libs/gst/check/Makefile.am:
2412 * libs/gst/controller/Makefile.am:
2413 * libs/gst/dataprotocol/Makefile.am:
2414 * libs/gst/net/Makefile.am:
2415 * plugins/elements/Makefile.am:
2416 * plugins/indexers/Makefile.am:
2417 add makefile rules to generate gcov data and clean up
2418 * tests/check/Makefile.am:
2419 add a coverage target that generates an html overview
2422 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2424 * tests/check/elements/fakesink.c:
2425 * tests/check/elements/fakesrc.c:
2426 * tests/check/elements/fdsrc.c:
2427 * tests/check/elements/identity.c:
2428 * tests/check/generic/sinks.c: (gst_sinks_suite):
2429 * tests/check/generic/states.c:
2430 * tests/check/gst/gst.c:
2431 * tests/check/gst/gstabi.c:
2432 * tests/check/gst/gstbin.c:
2433 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2434 * tests/check/gst/gstbus.c: (gst_bus_suite):
2435 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2436 * tests/check/gst/gstelement.c:
2437 * tests/check/gst/gstevent.c: (gst_event_suite):
2438 * tests/check/gst/gstghostpad.c:
2439 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2440 * tests/check/gst/gstmessage.c: (gst_message_suite):
2441 * tests/check/gst/gstminiobject.c:
2442 * tests/check/gst/gstobject.c:
2443 * tests/check/gst/gstpad.c:
2444 * tests/check/gst/gstpipeline.c:
2445 * tests/check/gst/gstplugin.c:
2446 * tests/check/gst/gstquery.c: (gst_query_suite):
2447 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2448 * tests/check/gst/gststructure.c:
2449 * tests/check/gst/gstsystemclock.c:
2450 * tests/check/gst/gsttag.c:
2451 * tests/check/gst/gsttask.c: (gst_task_suite):
2452 * tests/check/gst/gstutils.c:
2453 * tests/check/gst/gstvalue.c:
2454 * tests/check/libs/adapter.c:
2455 * tests/check/libs/basesrc.c:
2456 * tests/check/libs/collectpads.c:
2457 * tests/check/libs/controller.c:
2458 * tests/check/libs/gdp.c: (gst_dp_suite):
2459 * tests/check/libs/gstnetclientclock.c:
2460 * tests/check/libs/gstnettimeprovider.c:
2461 * tests/check/libs/libsabi.c: (libsabi_suite):
2462 * tests/check/libs/typefindhelper.c:
2463 * tests/check/pipelines/cleanup.c:
2464 * tests/check/pipelines/parse-launch.c:
2465 * tests/check/pipelines/simple-launch-lines.c:
2466 * tests/check/pipelines/stress.c: (stress_suite):
2469 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2471 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2472 * libs/gst/check/gstcheck.h:
2473 create a macro and function so that the simple unit test
2474 case can be just one macro to create main()
2476 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2478 * gst/gstbin.c: (gst_bin_restore_thyself):
2479 * gst/gstxml.c: (gst_xml_make_element):
2480 Fix deserialisation from XML. Set parent manually
2481 instead of using gst_bin_add(), since gst_bin_add()
2482 will unlink all pads of the element being added.
2485 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2487 Patch by: Peter Kjellerstedt <pkj at axis com>
2489 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2490 Fix missing g_strdup() and double free when using the
2491 --gst-plugin-load command line option (#346097).
2493 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2496 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2498 * libs/gst/net/gstnetclientclock.c:
2499 * libs/gst/net/gstnettimeprovider.c:
2500 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2502 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2504 * docs/manual/advanced-dataaccess.xml:
2505 Fix buffer probe example compilation in
2508 2006-06-22 Edward Hervey <edward@fluendo.com>
2510 * gst/gstelement.c: (gst_element_pads_activate):
2511 We need to deactivate src pads first and then sink pads.
2512 The reason is the src pads might be blocking while holding the streaming
2513 lock, so we need to deactivate them first so that deactivating the sink
2514 pads doesn't block (since it will require the streaming lock).
2516 2006-06-22 Wim Taymans <wim@fluendo.com>
2518 * libs/gst/base/gstbasetransform.c:
2519 (gst_base_transform_buffer_alloc):
2520 Forgot to remove two unneeded unrefs.
2521 Simplify a check _is_equal allready checks the obvious case.
2523 2006-06-22 Wim Taymans <wim@fluendo.com>
2525 * docs/design/part-block.txt:
2526 Some docs about what pad_block should do.
2528 2006-06-22 Wim Taymans <wim@fluendo.com>
2530 * gst/gstcaps.c: (gst_caps_replace):
2531 Fix crasher when passed NULL. Doc clarification.
2532 Optimize for the trivial case.
2534 * gst/gstpipeline.c: (gst_pipeline_change_state):
2537 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2538 Small documentation cleanup.
2540 * libs/gst/base/gstbasetransform.c:
2541 (gst_base_transform_buffer_alloc):
2542 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2543 is what we need and it avoids a whole lot of redundant
2544 refcount operations.
2546 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2548 Patch by: Philip Jägenstedt <philip at lysator liu se>
2550 * docs/manual/advanced-dataaccess.xml:
2551 Fix 'Embedding static elements' section to use
2552 GST_PLUGIN_DEFINE_STATIC (#345607).
2554 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2556 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2557 Attempt to 'fix' spuriously failing test case: it seems like the
2558 timeout of half a second is simply too small when the system is under
2559 load otherwise, and the timeout doesn't really seem to serve any
2560 particular purpose here. Give the pipeline a few seconds to preroll
2561 first, and then give it another half a second to go from PAUSED to
2562 PLAYING and marshal the message into the main thread.
2564 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2566 * tools/gst-feedback-m.m:
2567 Don't only use unversioned tools, try versioned tools as well
2570 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2572 * gst/gstbus.c: (gst_bus_class_init):
2573 Fix some typos, make docs more explicit.
2575 2006-06-20 Wim Taymans <wim@fluendo.com>
2577 * tests/check/gst/gstghostpad.c: (block_callback),
2578 (GST_START_TEST), (gst_ghost_pad_suite):
2579 Added some more ghostpad tests, mainly blocking
2582 2006-06-16 Wim Taymans <wim@fluendo.com>
2584 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2585 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2586 (gst_file_sink_event), (gst_file_sink_render):
2587 * plugins/elements/gstfilesink.h:
2588 Check if we can seek in the file instead of assuming
2589 we always can. Post an error when we are asked to seek in a
2590 non-seekable file (like a fifo). Fixes #343312.
2593 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2595 * tools/gst-launch.1.in:
2596 Un-garble (fourcc) bit in filtered caps section.
2598 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2600 * docs/manual/advanced-autoplugging.xml:
2601 * docs/manual/basics-helloworld.xml:
2602 * docs/manual/highlevel-components.xml:
2603 Don't leak bus reference in sample code.
2605 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2608 Add default for new --enable-plugin-docs switch.
2611 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2615 Use new ENABLE_PLUGIN_DOCS conditional.
2617 2006-06-14 Wim Taymans <wim@fluendo.com>
2619 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2620 Make it clear with a FIXME and a real define what the #if 0
2621 previously disabled.
2623 2006-06-14 Wim Taymans <wim@fluendo.com>
2625 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2626 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2627 * libs/gst/base/gstbasetransform.c:
2628 (gst_base_transform_sink_eventfunc):
2629 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2630 Don't randomly and silently reset a segment when the format
2631 changes as this is a bug somewhere upstream. Fixes #330379.
2633 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2635 Patch by: Wouter Paesen <wouter at kangaroot net>
2637 * libs/gst/controller/gstcontroller.c:
2638 (gst_controlled_property_new):
2639 Fix controlling of float properties (#344849).
2641 * tests/check/libs/controller.c:
2642 (gst_test_mono_source_get_property),
2643 (gst_test_mono_source_set_property),
2644 (gst_test_mono_source_class_init), (GST_START_TEST):
2645 While we're at it, add some float stuff to unit test.
2647 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2650 * docs/images/gdp-header.svg:
2652 * docs/libs/Makefile.am:
2653 * docs/libs/gdp-header.png:
2654 * libs/gst/dataprotocol/dataprotocol.c:
2655 add it to the API docs
2656 * docs/manual/intro-motivation.xml:
2659 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2661 * gst/gst.c: (scan_and_update_registry), (init_post):
2662 If the fork()'ed child process can't write the updated registry cache
2663 file to disk for some reason, make it exit with a failure exit code,
2664 so that the parent can then re-scan the plugins itself and update the
2665 registry structures in memory and work with that (rather than failing
2666 when creating elements because seemingly no plugins are available).
2667 Refactor registry scanning code into separate function for this and
2668 also separate fork() and non-fork() code paths. Fixes #344748.
2670 2006-06-13 Wim Taymans <wim@fluendo.com>
2672 * docs/manual/advanced-dataaccess.xml:
2673 Fix wrong PluginDesc. Fixes #344755.
2675 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2677 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2678 Fix silly bug that prevented us from creating
2679 ~/.gstreamer-0.10 and writing the registry in one
2680 go (the first call to g_mkstemp() would overwrite the
2681 placeholder in the template string, so the second call
2682 to g_mkstemp() after creating the missing directory
2683 would then error out with 'invalid argument').
2685 2006-06-13 Edward Hervey <edward@fluendo.com>
2687 * gst/gst.c: (init_post):
2690 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2692 * gst/glib-compat-private.h:
2693 * gst/glib-compat.c:
2694 * gst/glib-compat.h:
2695 * gst/gstvalue.c: (gst_value_serialize_flags):
2696 remove GLib 2.6 compatibility code
2698 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2700 * gst/parse/Makefile.am:
2701 Fix build with 'make -j N' even more (#340016).
2703 2006-06-12 Wim Taymans <wim@fluendo.com>
2705 * docs/gst/gstreamer-sections.txt:
2708 2006-06-12 Wim Taymans <wim@fluendo.com>
2710 * gst/gstsegment.c: (gst_segment_set_duration),
2711 (gst_segment_set_last_stop), (gst_segment_set_seek),
2712 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2713 (gst_segment_to_running_time), (gst_segment_clip):
2714 Use G_UNLIKELY to help the compiler a bit.
2716 2006-06-12 Wim Taymans <wim@fluendo.com>
2718 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2720 * gst/gstevent.c: (gst_event_get_type):
2722 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2724 constify quark registration strings. Fixes #344115
2725 Avoid unneeded type checking is _pad_push() by internally
2726 calling gst_pad_chain_unchecked().
2728 2006-06-12 Wim Taymans <wim@fluendo.com>
2730 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2731 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2732 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2733 (gst_buffer_is_span_fast), (gst_buffer_span):
2734 Init _type for consistency.
2735 Use _FLAGS macro to avoid type check.
2736 Avoid unneeded type checks in subbufer code.
2738 2006-06-12 Wim Taymans <wim@fluendo.com>
2740 * gst/gst.c: (gst_debug_help):
2741 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2742 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2743 (gst_plugin_feature_list_free):
2744 * gst/gstregistry.c: (gst_registry_add_plugin),
2745 (gst_registry_add_feature), (gst_registry_plugin_filter),
2746 (gst_registry_feature_filter), (gst_registry_find_plugin),
2747 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2748 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2749 * gst/gstregistryxml.c: (load_feature),
2750 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2751 * gst/gstminiobject.c: (gst_mini_object_unref),
2752 (gst_mini_object_replace), (gst_value_mini_object_free),
2753 (gst_value_mini_object_copy):
2754 Use _CAST macros to avoid unneeded type checking.
2755 Added some more G_UNLIKELY.
2757 2006-06-12 Wim Taymans <wim@fluendo.com>
2760 Avoid unneeded type checking.
2761 API: GST_BUFFER_IS_DISCONT
2763 * gst/gstminiobject.h:
2764 Avoid type check in flag accessor.
2766 * gst/gstelementfactory.h:
2768 * gst/gstpluginfeature.h:
2770 API: GST_ELEMENT_FACTORY_CAST
2771 API: GST_PLUGIN_CAST
2772 API: GST_PLUGIN_FEATURE_CAST
2774 2006-06-12 Wim Taymans <wim@fluendo.com>
2776 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2778 Add G_UNLIKELY in type registration.
2779 Avoid type check in _ref/_unref since that is also
2782 2006-06-12 Wim Taymans <wim@fluendo.com>
2784 * gst/gsterror.c: (gst_g_error_get_type):
2785 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2786 (gst_static_pad_template_get_type):
2787 * gst/gsttaglist.c: (gst_tag_list_get_type):
2788 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2789 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2790 * gst/gsturi.c: (gst_uri_handler_get_type):
2791 * gst/gstvalue.c: (gst_date_get_type):
2792 * gst/gstxml.c: (gst_xml_get_type):
2793 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2794 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2795 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2796 Add G_UNLIKELY in type registration.
2798 2006-06-12 Wim Taymans <wim@fluendo.com>
2800 * tools/gst-inspect.c: (print_signal_info):
2801 Properly print enum values.
2803 2006-06-12 Wim Taymans <wim@fluendo.com>
2805 * gst/gstinfo.c: (gst_debug_set_active),
2806 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2808 Add some G_[UN]LIKELY.
2809 Maintain __gst_debug_min to avoid formatting the arguments of
2810 debug messages that will be dropped anyway to avoid a lot of
2811 overhead from the debugging system.
2813 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2817 add missing files containing translatable strings, tell intltool about
2820 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2822 * tests/check/libs/.cvsignore:
2823 add test-binary to ignore list
2825 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2827 * docs/libs/gstreamer-libs-docs.sgml:
2828 reorder (put dp into a chapter) and indent
2830 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2835 === release 0.10.8 ===
2837 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2840 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2842 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2844 * gst/gst.c: (init_post):
2845 move pid declaration to declaration block
2847 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2849 * gst/gst.c: (init_post):
2850 use _exit() instead of exit() in our forked child; this ensures
2851 that none of the registered exit handlers from whatever is using
2852 GStreamer get executed. This fixes gnome-mixer-applet failing
2853 to load, because ORBit would shut down.
2854 Spotted by: Edward Hervey <edward@fluendo.com>
2855 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2858 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2863 === release 0.10.7 ===
2865 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2868 releasing 0.10.7, "Soepeke, ik zie ou"
2870 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2893 * win32/common/config.h:
2896 2006-06-07 Wim Taymans <wim@fluendo.com>
2898 * gst/gstindex.c: (gst_index_gtype_resolver):
2899 * tools/gst-xmlinspect.c: (print_plugin_info):
2900 Fix leak spotted by coverity checker. Fixes #343827
2901 Fix another other leak found by paolo borelli.
2903 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2905 * libs/gst/dataprotocol/dataprotocol.c:
2906 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2907 (gst_dp_version_get_type), (gst_dp_init),
2908 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2909 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2910 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2911 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2912 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2913 (gst_dp_packetizer_free):
2914 * libs/gst/dataprotocol/dataprotocol.h:
2915 API: add a GstDPPacketizer object, and create/free functions
2916 API: add GstDPVersion enum
2917 Add 1.0 event function that uses the string serialization
2918 Serialize more useful buffer flags
2921 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2923 * tests/check/Makefile.am:
2924 * tests/check/gst/gstabi.c:
2925 * tests/check/gst/struct_ppc64.h:
2926 * tests/check/libs/libsabi.c:
2927 * tests/check/libs/struct_ppc64.h:
2928 add ppc64 structure sizes
2930 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2932 * tests/check/Makefile.am:
2933 * tests/check/gst/gstabi.c:
2934 * tests/check/gst/struct_x86_64.h:
2935 * tests/check/libs/libsabi.c:
2936 * tests/check/libs/struct_x86_64.h:
2937 generate and add structure size lists for x86_64
2939 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2941 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2942 * libs/gst/check/gstcheck.h:
2943 factor out the method from tests that checks size of structures,
2944 and add code to generate the header containing these sizes
2945 * tests/check/gst/gstabi.c: (GST_START_TEST):
2946 * tests/check/gst/struct_i386.h:
2947 * tests/check/libs/libsabi.c: (GST_START_TEST):
2948 * tests/check/libs/struct_i386.h:
2951 2006-06-06 Michael Smith <msmith@fluendo.com>
2954 Don't use c++-style comments, fixes #343929
2956 2006-06-05 Edward Hervey <edward@fluendo.com>
2959 plugin_paths is not used if we build without registry support.
2961 * gst/gstsegment.c: (gst_segment_copy):
2962 _copy() was always returning NULL...
2964 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2966 * libs/gst/dataprotocol/dataprotocol.c:
2967 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2968 (gst_dp_packet_from_event):
2971 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2973 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2974 make sure we unset caps
2976 2006-06-02 Michael Smith <msmith@fluendo.com>
2978 * libs/gst/check/gstcheck.c: (gst_check_init),
2979 (gst_check_chain_func):
2980 * libs/gst/check/gstcheck.h:
2981 Add a cond/mutex to the check support lib, signal this whenever we
2982 add to the buffers list. This will allow tests to not busy-wait on
2985 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2987 * libs/gst/dataprotocol/dataprotocol.c:
2988 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2989 (gst_dp_packet_from_event):
2990 factor out some common header init code
2992 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2994 * docs/libs/gstreamer-libs-sections.txt:
2995 * docs/libs/tmpl/gstdataprotocol.sgml:
2996 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2997 * libs/gst/dataprotocol/dataprotocol.h:
2998 API: make gst_dp_crc() public
3000 2006-06-01 Stefan Kost <ensonic@users.sf.net>
3002 * plugins/indexers/gstindexers.c: (plugin_init):
3003 conditionally register fileindexer (fixes #343598)
3005 2006-06-01 Stefan Kost <ensonic@users.sf.net>
3007 * gst/gsttagsetter.h:
3008 Can't cast ifaces to a class
3010 * libs/gst/net/gstnetclientclock.h:
3011 * libs/gst/net/gstnettimeprovider.h:
3012 * plugins/elements/gstfakesink.h:
3013 * plugins/elements/gstfakesrc.h:
3014 * plugins/elements/gstfdsink.h:
3015 * plugins/elements/gstfdsrc.h:
3016 * plugins/elements/gstfilesink.h:
3017 * plugins/elements/gstfilesrc.h:
3018 * plugins/elements/gstidentity.h:
3019 * plugins/elements/gstqueue.h:
3020 * plugins/elements/gsttee.h:
3021 * plugins/indexers/gstfileindex.c:
3022 * plugins/indexers/gstmemindex.c:
3023 * tests/old/examples/plugins/example.h:
3024 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
3026 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
3028 * libs/gst/dataprotocol/dataprotocol.c:
3029 (gst_dp_header_from_buffer):
3030 make sure we zero the whole ABI-compatible area
3032 2006-06-01 Wim Taymans <wim@fluendo.com>
3034 Patch by: Alessandro Decina <alessandro at nnva dot org>
3036 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
3037 Make sure the EOS flag is cleared from pads after a flush
3038 or stop. Fixes #343538.
3040 * tests/check/libs/collectpads.c: (GST_START_TEST),
3041 (gst_collect_pads_suite):
3042 Added test for collectpads reusage after EOS.
3044 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
3047 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
3048 * win32/common/libgstbase.def:
3049 export gst_collect_pads_set_flushing
3050 * win32/common/libgstreamer.def:
3051 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
3052 gst_value_fraction_multiply
3053 * win32/vs6/gst_inspect.dsp:
3054 add a link to intl.lib
3056 2006-05-30 Wim Taymans <wim@fluendo.com>
3058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3059 (gst_collect_pads_chain):
3060 Handle the case where a pad is removed from the collection
3061 that could cause the other pads to become collectable.
3063 2006-05-30 Wim Taymans <wim@fluendo.com>
3066 Clarify the use of _release_request_pad() and
3067 _get_request_pad() a bit better.
3069 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
3070 (gst_adapter_take_buffer):
3071 Fix some doc and comment typos.
3073 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3075 * docs/gst/gstreamer-sections.txt:
3076 * docs/libs/gstreamer-libs-sections.txt:
3077 add declared symbols
3079 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
3081 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3082 Add debug that can be enabled using a #define at the top of the file,
3083 for dumping stats about how late/early we were when waking up from
3084 waiting on the clock.
3086 2006-05-30 Wim Taymans <wim@fluendo.com>
3088 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3089 When rebuilding the pad list, don't leak the previous list.
3091 2006-05-30 Wim Taymans <wim@fluendo.com>
3093 Patch by: Lutz Mueller <lutz at topfrose dot de>
3095 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3096 (gst_base_src_get_query_types), (gst_base_src_update_length):
3097 Publish supported query types.
3098 Update last_stop field in get_range mode so the position
3099 query works. Fixes #342321.
3101 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
3103 * docs/gst/gstreamer-sections.txt:
3104 * gst/gsttaglist.c: (_gst_tag_initialize):
3106 API: add GST_TAG_PREVIEW_IMAGE (#343341).
3108 2006-05-30 Wim Taymans <wim@fluendo.com>
3110 Patch by: Alessandro Decina <alessandro at nnva dot org>
3112 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3113 Unlock mutex when removing an unknown pad.
3116 * tests/check/Makefile.am:
3117 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3118 (push_event), (setup), (teardown), (GST_START_TEST),
3119 (gst_collect_pads_suite), (main):
3120 Added collecpads check, disabled for now as check crashes for
3123 2006-05-29 Wim Taymans <wim@fluendo.com>
3125 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3126 Don't leak pads lists.
3128 2006-05-29 Wim Taymans <wim@fluendo.com>
3130 * docs/libs/gstreamer-libs-sections.txt:
3131 * libs/gst/base/gstcollectpads.c:
3132 (gst_collect_pads_set_flushing_unlocked),
3133 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3134 (gst_collect_pads_stop):
3135 * libs/gst/base/gstcollectpads.h:
3136 API: gst_collect_pads_set_flushing()
3137 Added api to set the pads to flushing, useful for seeking
3138 code in elements using collectpads.
3139 Clear segment when receiving a flush.
3141 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
3143 * gst/gst.c: (add_path_func), (init_post):
3144 Don't scan registry paths passed via --gst-plugin-path immediately
3145 (will crash, because absolutely nothing is set up and no types are
3146 registered etc.); do this later in init_post(). Fixes #343057.
3148 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
3150 * gst/gst.c: (init_post):
3151 if we have fork, fork while reading/rebuilding the registry
3152 so the parent doesn't take the hit of having all plugins loaded
3153 in memory. Fixes #342777.
3155 Check if we have fork()
3156 * win32/common/config.h.in:
3159 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3161 * plugins/elements/gstelements.c:
3162 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3163 (gst_file_src_init), (gst_file_src_set_property),
3164 (gst_file_src_get_property), (gst_file_src_start):
3165 * plugins/elements/gstfilesrc.h:
3166 API: GstFileSrc::use-mmap
3168 Add a use-mmap property to enable easier testing of all code paths.
3169 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3170 in the absence of gnomevfssrc. (Closes #340501)
3172 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3174 * tools/gst-inspect.c:
3175 Add missing include, removes warning of ngettext not being defined on
3178 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3180 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3181 Handle NULL input and output pointers silently as a failed conversion,
3182 rather than g_warnings.
3184 2006-05-25 Wim Taymans <wim@fluendo.com>
3186 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3187 Initialize variable before using. Fixes #342820.
3189 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
3191 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3192 Fix off-by-one bug that would only allow peeks of N-1 bytes
3193 from the start even if the buffer to typefind on contains
3194 in fact N bytes of data (makes vorbis typefinding from a
3195 vorbis identification header buffer work).
3197 * tests/check/Makefile.am:
3198 * tests/check/libs/.cvsignore:
3199 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3200 (gst_typefindhelper_suite), (main), (foobar_typefind),
3202 Add very basic unit test for gst_type_find_helper_for_buffer()
3203 that checks for the problem fixed above.
3205 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
3207 * tools/gst-inspect.c: (print_interfaces),
3208 (print_element_properties_info), (print_element_list), (main):
3209 add more translatable strings
3211 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
3213 Patch by: Julien Moutte <julien at moutte net>
3215 * docs/gst/gstreamer-sections.txt:
3216 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3218 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3219 (gst_fake_sink_preroll):
3220 * plugins/elements/gstfakesink.h:
3221 API: Add new GstFakeSink::preroll-handoff signal (#337100).
3223 2006-05-23 Wim Taymans <wim@fluendo.com>
3225 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3227 Added _CUSTOM error and success GstFlowReturn that can be
3228 used be elements internally.
3229 Added macro to check for SUCCESS flowreturns.
3230 API: GST_FLOW_CUSTOM_SUCCESS
3231 API: GST_FLOW_CUSTOM_ERROR
3232 API: GST_FLOW_IS_SUCCESS
3234 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3235 Added check for GstFlowReturn sanity.
3237 2006-05-23 Wim Taymans <wim@fluendo.com>
3239 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3241 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3242 (gst_collect_pads_event):
3243 clear/reset segment info in FLUSH_STOP.
3246 2006-05-22 Stefan Kost <ensonic@users.sf.net>
3248 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3249 (gst_collect_pads_check_collected):
3250 Flush queued buffer on _stop(), fixes playing again (#342454)
3252 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
3254 * tests/check/gst/gststructure.c: (GST_START_TEST),
3255 (gst_structure_suite):
3256 add a test for a complete structure
3258 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3260 * docs/faq/developing.xml:
3262 * docs/faq/troubleshooting.xml:
3263 * docs/faq/using.xml:
3264 Some minor FAQ updates that won't change the fact that
3265 our FAQ is badly structured, full of information hardly
3266 anyone new to GStreamer needs to know and lacking lots
3267 of information people constantly ask for.
3269 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
3271 * gst/gstpad.c: (gst_pad_set_caps):
3272 Short-circuit gst_pad_set_caps if setting the existing
3273 caps pointer again, and avoid printing debug and
3274 reffing/unreffing the caps.
3276 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3277 There's actually no need to set the caps before pushing -
3278 the acceptcaps method will handle it anyway.
3280 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3282 * docs/gst/gstreamer-sections.txt:
3283 * win32/common/libgstreamer.def:
3284 * gst/gstutils.c: (gst_element_seek_simple):
3286 API: add gst_element_seek_simple() (#342238).
3288 2006-05-18 Edward Hervey <edward@fluendo.com>
3290 * gst/gsttypefind.c: (gst_type_find_get_type):
3291 * gst/gsttypefind.h:
3292 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3293 registered for GstTypeFind pointers. This allows wrapping the structure
3294 in bindings (i.e. gst-python).
3296 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3298 * gst/gsttagsetter.c:
3299 Docs additions and fixes (see #339918).
3301 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3303 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3304 The caps intersection algorithm can produce multiple copies of the
3305 caps. Until that is fixed, we need to simplify the result to be
3306 sure whether the allowed caps are fixed or not.
3308 * plugins/elements/gstqueue.c: (gst_queue_init),
3309 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3310 (gst_queue_push_one):
3311 Proxied buffer alloc should not set the caps on the source pad.
3312 When pushing buffers, we always accept the caps change that triggers.
3313 This prevents negotiation errors caused by caps changing mid-stream
3314 and then being refused on our source pad (because upstream is now
3315 refusing those caps).
3317 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3319 * tests/examples/helloworld/helloworld.c: (main):
3320 Must plug audioconvert and audioresample between decoder
3323 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
3325 * gst/gstregistryxml.c: (read_string), (load_pad_template),
3326 (load_feature), (load_plugin):
3327 Allow empty strings for some of the plugin fields so we don't
3328 drop valid plugin entries that were written out correctly
3331 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
3333 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3334 Use g_remove and g_rename instead of remove and rename that don't
3335 handle utf8 characters. rename was failing for users who had specific
3336 characters in their name then the registry was built at each
3338 * win32/vs6/gst_inspect.dsp:
3339 * win32/vs6/gst_launch.dsp:
3340 * win32/vs6/libgstbase.dsp:
3341 * win32/vs6/libgstcoreelements.dsp:
3342 * win32/vs6/libgstreamer.dsp:
3343 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
3344 build of libgstreamer and clean unused libraries in projects link
3347 2006-05-17 Edward Hervey <edward@fluendo.com>
3349 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3350 The queue is not responsible for pushing an EOS when receiving a fatal
3351 flow error. It's up to the real element driving the pipeline to do that.
3353 2006-05-16 Edward Hervey <edward@fluendo.com>
3355 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3356 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3357 buffer returned a fatal error. It should just send an EOS and stop
3359 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3360 when pushing buffers on the queue and will be able to handle the event.
3362 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
3364 * docs/manual/basics-bins.xml:
3365 * docs/manual/basics-init.xml:
3366 Fix typos and minor errors in sample code (#341856).
3368 2006-05-16 Wim Taymans <wim@fluendo.com>
3370 * docs/design/part-qos.txt:
3371 Fix indexes in formulas to make more sense.
3373 2006-05-15 Wim Taymans <wim@fluendo.com>
3375 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3376 Don't report POSITION based on clock time if sync is
3379 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
3382 Add cast to make compiler happy - refcount variable was a gint
3383 in GstObject but is a guint in GObject and g_atomic_int_get()
3386 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
3388 * gst/parse/Makefile.am:
3389 chain commands using &&, which also makes parallel make work
3391 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
3393 * docs/gst/gstreamer-sections.txt:
3399 === release 0.10.6 ===
3401 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
3404 releasing 0.10.6, "Take the cannoli"
3406 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
3408 * tools/gst-launch.c: (print_tag):
3409 Fix use of uninitialized variable in the hypothetical
3410 case that some broken plugin creates a GST_TAG_IMAGE
3411 tag containing a NULL buffer (#341667).
3413 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
3415 * tools/gst-launch.c: (print_tag):
3416 Print something more intelligible for image tags when
3417 using the -t switch (#341556).
3419 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3424 define GST_MAJORMINOR so we have it available in win32/common/config.h
3425 Possibly remove it from our Makefile.am files later
3426 * win32/common/config.h:
3427 * win32/common/config.h.in:
3428 added GST_MAJORMINOR
3429 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3430 * win32/common/gstversion.h:
3433 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3436 Update win32 files listing.
3437 * win32/common/gstversion.h:
3438 Add GST_MAJORMINOR definition.
3439 * win32/common/libgstreamer.def:
3440 Add new exported functions.
3442 2006-05-12 Michael Smith <msmith@fluendo.com>
3444 * gst/gstplugin.c: (gst_plugin_load_file):
3445 If an so file has no plugin entry point, unload the module.
3447 2006-05-11 Wim Taymans <wim@fluendo.com>
3449 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3450 (gst_queue_set_property):
3451 Don't forget to signal the _chain or _loop function
3452 when the queue size or thresholds change since that might
3453 cause them to make progres again.
3455 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3457 * gst/gstclock.c: (gst_clock_class_init):
3458 * gst/gstindex.c: (gst_index_class_init):
3459 * gst/gstobject.c: (gst_object_class_init):
3460 * gst/gstpad.c: (gst_pad_class_init):
3461 * gst/gstpipeline.c: (gst_pipeline_class_init):
3462 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3463 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3464 * libs/gst/base/gstbasetransform.c:
3465 (gst_base_transform_class_init):
3466 * libs/gst/net/gstnetclientclock.c:
3467 (gst_net_client_clock_class_init):
3468 * libs/gst/net/gstnettimeprovider.c:
3469 (gst_net_time_provider_class_init):
3470 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3471 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3472 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3473 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3474 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3475 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3476 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3477 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3478 * plugins/elements/gsttee.c: (gst_tee_class_init):
3479 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3480 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3481 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3483 2006-05-11 Wim Taymans <wim@fluendo.com>
3485 * gst/gstbuffer.c: (_gst_buffer_initialize):
3486 Register subbufer along with the buffer type so that
3487 it does not accidentally gets registered from N
3488 different streaming threads in a non threadsafe way.
3490 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3495 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3496 gst_event_ref() and gst_message_ref() functions again
3497 (ugly hack, please do fix if there's a better way besides
3498 overrides.txt, which doesn't seem to work).
3500 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3502 * libs/gst/check/gstcheck.h:
3503 add an assert for setting state to avoid lots of repetitive code
3506 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3508 * gst/gstvalue.c: (gst_value_serialize_flags):
3509 fix a leak if no flags are set
3510 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3513 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3515 * docs/manual/basics-pads.xml:
3516 Expand a bit on caps and filtered links and update
3517 examples that were still using the no longer existing
3518 gst_pad_link_filtered() (#338206).
3520 2006-05-10 Wim Taymans <wim@fluendo.com>
3522 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3523 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3524 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3525 (gst_collect_pads_stop):
3526 * libs/gst/base/gstcollectpads.h:
3527 No need to call _stop in _finalize.
3528 Iterate the main pad list in _finalize.
3529 Added some more debug.
3530 Free lists and data in the right order.
3531 Also free data whem doing _remove_pad when stopped for
3532 backward compatibility protect ::started with PAD_LOCK as
3535 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3537 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3538 (gst_structure_parse_value):
3540 rename a method so that it actually says what it does better
3542 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3544 * gst/gstevent.c: (_gst_event_initialize):
3545 * gst/gstformat.c: (_gst_format_initialize):
3546 make sure some essential types used by events are registered
3547 as part of gst_init()
3548 * gst/gstvalue.c: (gst_value_serialize_flags):
3549 if no flags are set, serialize them to a value that represents NONE
3550 so that deserializing them works
3551 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3552 add tests for serialization and deserialization of flags
3554 2006-05-10 Wim Taymans <wim@fluendo.com>
3556 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3557 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3558 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3559 (gst_collect_pads_event), (gst_collect_pads_chain):
3562 Catch and return errors from the collect function
3563 Refuse data on eos pads.
3565 2006-05-10 Edward Hervey <edward@fluendo.com>
3567 * gst/gstinterface.h:
3568 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3569 GInterface type checking.
3570 They were previously using non-defined macros.
3572 2006-05-09 Wim Taymans <wim@fluendo.com>
3574 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3575 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3576 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3577 (gst_collect_pads_start), (gst_collect_pads_stop),
3578 (gst_collect_pads_peek), (gst_collect_pads_pop),
3579 (gst_collect_pads_available), (gst_collect_pads_read),
3580 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3581 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3582 (gst_collect_pads_chain):
3583 * libs/gst/base/gstcollectpads.h:
3584 Clean up the mess that is collectpads, add comments and
3585 FIXMEs where needed.
3586 Maintain a separate pad list so we can add pads while
3587 collecting the other ones. For this we need a new separate
3589 Fix memory leak in finalize.
3590 Refactor some weird code to set/unset pad flushing flags, mark
3592 Don't crash in _available, _read, _flush when we're EOS.
3594 * tests/check/libs/.cvsignore:
3595 Ignore adapter check binary.
3597 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3599 * gst/gstindex.c: (gst_index_resolver_get_type):
3600 * plugins/elements/gstfakesink.c:
3601 (gst_fake_sink_state_error_get_type):
3602 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3603 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3604 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3605 Const-ify GEnumValue arrays.
3607 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3609 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3610 Add test case for flags + gst_buffer_make_metadata_writable().
3612 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3614 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3615 gst_buffer_make_metadata_writable() should maintain the
3616 buffer flags (those that make sense at least) (see #340859).
3618 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3620 * tools/gst-inspect.c:
3621 * tools/gst-launch.c:
3622 * tools/gst-typefind.c:
3623 * tools/gst-xmlinspect.c:
3625 Fix up includes: need to include stdlib.h in tools.h for exit().
3627 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3629 * gst/gsttaglist.c: (_gst_tag_initialize):
3631 API: add GST_TAG_IMAGE tag (#340721).
3633 2006-05-08 Wim Taymans <wim@fluendo.com>
3636 Added some docs for the segment query.
3638 2006-05-08 Wim Taymans <wim@fluendo.com>
3640 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3641 (gst_base_src_loop), (gst_base_src_change_state):
3642 Always push non-flushing serialized events in the streaming
3645 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3647 * gst/gsterror.c: (_gst_stream_errors_init):
3648 Add a missing error string.
3650 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3652 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3653 Add applied_rate to the debug
3655 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3656 Copy applied_rate into the outgoing NEWSEGMENT event
3658 2006-05-08 Wim Taymans <wim@fluendo.com>
3660 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3662 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3663 (gst_base_sink_change_state):
3664 call ::unlock before taking the PREROLL_LOCK so we can safely
3665 handle elements that lock in ::render.
3668 2006-05-08 Edward Hervey <edward@fluendo.com>
3670 * autogen.sh: (CONFIGURE_DEF_OPT):
3671 Darwin's libtoolize is in fact called glibtoolize.
3672 Adding glibtoolize to the list of accepted names for libtoolize.
3674 2006-05-08 Wim Taymans <wim@fluendo.com>
3676 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3677 Unify error handling, don't post an error message
3678 when a push() returns EOS but perform our normal EOS
3679 handling code. Fixes #340772.
3681 2006-05-08 Wim Taymans <wim@fluendo.com>
3683 * docs/design/part-overview.txt:
3684 Make upsteam/downstream concepts more clear.
3685 Give an example of serialized/non-serialized events.
3687 * docs/design/part-events.txt:
3688 * docs/design/part-streams.txt:
3689 Mention applied_rate.
3691 * docs/design/part-trickmodes.txt:
3692 Mention applied rate, flesh out some more use cases.
3694 * gst/gstevent.c: (gst_event_new_new_segment),
3695 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3696 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3697 (gst_event_parse_tag), (gst_event_new_buffer_size),
3698 (gst_event_parse_buffer_size), (gst_event_new_qos),
3699 (gst_event_parse_qos), (gst_event_parse_seek),
3700 (gst_event_new_navigation):
3702 Add applied_rate field to NEWSEGMENT event.
3703 API: gst_event_new_new_segment_full()
3704 API: gst_event_parse_new_segment_full()
3706 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3707 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3708 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3710 Add applied_rate to GstSegment structure.
3711 Make calculation of stream_time and running_time more correct
3712 wrt rate/applied_rate.
3714 API: GstSegment::applied_rate field
3715 API: gst_segment_set_newsegment_full();
3717 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3718 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3719 * libs/gst/base/gstbasetransform.c:
3720 (gst_base_transform_sink_eventfunc),
3721 (gst_base_transform_handle_buffer):
3722 Parse and use applied_rate in the GstSegment field.
3724 * tests/check/gst/gstevent.c: (GST_START_TEST):
3725 Add check for applied_rate field.
3727 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3728 (gstsegments_suite):
3729 Add more checks for various GstSegment operations.
3731 2006-05-08 Wim Taymans <wim@fluendo.com>
3733 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3734 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3735 (gst_base_sink_get_position), (gst_base_sink_change_state):
3736 Store the sync time of the buffer end position separatly in a
3737 new variable eos_rtime so we can properly sync the EOS event.
3739 Fix the docs for gst_base_sink_set_qos_enabled().
3740 Don't set segment start to invalid value when we receive a
3741 non TIME newsegment.
3742 get closer to handling position reporting for negative rates
3745 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3748 Docs about how to print caps for debug purposes.
3750 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3751 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3753 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3756 use full enum names and preprend a '%' in docs strings to make recent
3757 gtk-doc turn that into a link
3759 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3761 * docs/manual/basics-bins.xml:
3762 * docs/manual/basics-bus.xml:
3763 * docs/manual/basics-pads.xml:
3764 Some typo fixes, some additions, some clarifications.
3766 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3768 * tools/gst-inspect.c: (main):
3769 * tools/gst-launch.c: (main):
3770 * tools/gst-run.c: (main):
3771 * tools/gst-typefind.c: (main):
3772 * tools/gst-xmlinspect.c: (main):
3773 Use the string passed to g_option_context_new() for
3774 what it's intended for - the program name is already
3777 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3779 * tools/Makefile.am:
3780 * tools/gst-inspect.c: (main):
3781 * tools/gst-launch.c: (main):
3782 * tools/gst-xmlinspect.c: (main):
3784 Add back --version command line option (#340460).
3786 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3787 Add --version option and use GOption for argument parsing; refactor a
3788 bit; accept directories as arguments and recurse into them; lastly,
3789 print a decent error message when things go wrong.
3791 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3793 * docs/manual/basics-bins.xml:
3794 Don't mention GstThread (#340611)
3795 * docs/manual/basics-elements.xml:
3796 Update link to GObject tutorial (#340607)
3798 2006-05-05 Wim Taymans <wim@fluendo.com>
3801 * gst/gstminiobject.c:
3802 Add note about refcounting and miniobject/buffer writeability
3803 to docs. Fixes #340604
3805 * gst/gstelementfactory.h:
3806 Added some explanation about @klass.
3808 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3810 * docs/manual/intro-motivation.xml:
3811 * docs/manual/manual.xml:
3812 Avoid CORBA & Bonobo references (#340598)
3814 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3816 * docs/manual/basics-bus.xml:
3817 * docs/manual/basics-pads.xml:
3818 Fix up some inaccuracies and omissions (#340609)
3820 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3822 * gst/gstghostpad.c:
3823 Small typo in docs (#340625)
3825 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3827 * gst/parse/Makefile.am:
3828 Make 'make -j' proof (see #340698).
3830 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3833 Require GLib-2.8 here as well.
3835 2006-05-05 Wim Taymans <wim@fluendo.com>
3837 * gst/glib-compat.c:
3838 * gst/gst.c: (init_pre):
3839 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3840 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3841 (gst_object_dispatch_properties_changed):
3843 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3844 * gst/gststructure.c: (gst_structure_set_valist):
3845 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3846 Remove pre glib2.8 compatibility, fixes #340508
3848 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3851 Mention type of tags in doc blurbs.
3853 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3855 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3856 (gst_pad_configure_src), (gst_pad_push):
3857 Restore acceptcaps checking behaviour now that good plugins have
3860 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3862 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3873 * gst/parse/Makefile.am:
3874 * libs/gst/base/gstadapter.c:
3875 * libs/gst/base/gstbasesrc.c:
3876 * libs/gst/base/gstpushsrc.c:
3877 * libs/gst/base/gsttypefindhelper.c:
3878 * plugins/elements/gstfakesrc.c:
3879 * plugins/elements/gstidentity.c:
3880 Make sure gstprivate.h and/or config.h are
3881 always included first, otherwise some of our
3882 defines (like _FILE_OFFSET_BITS) might be
3883 redefined in the system headers. Fixes build
3884 on opensolaris (#340016).
3886 2006-05-04 Wim Taymans <wim@fluendo.com>
3888 * docs/libs/gstreamer-libs-sections.txt:
3889 API: addition: gst_adapter_take_buffer()
3891 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3892 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3893 (gst_adapter_available_fast):
3894 * libs/gst/base/gstadapter.h:
3895 Prepare for optimizing the hell out of this hugely inefficient
3897 Added gst_adapter_take_buffer() so we can at least start thinking
3898 about subbuffering and merging.
3899 Added some comments.
3901 * tests/check/Makefile.am:
3902 * tests/check/libs/adapter.c: (GST_START_TEST),
3903 (gst_adapter_suite), (main):
3904 Added GstAdapter check.
3906 2006-05-04 Wim Taymans <wim@fluendo.com>
3908 * docs/design/part-overview.txt:
3909 Fix some typos, add blurb about buffer flags.
3911 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3913 * docs/libs/gstreamer-libs-sections.txt:
3914 make sure GstBaseTransformClass shows up in the docs
3915 * libs/gst/base/gstbasetransform.c:
3916 * libs/gst/base/gstbasetransform.h:
3917 move docs so gtk-doc picks it up now
3919 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3921 * docs/libs/gstreamer-libs-sections.txt:
3922 add missing symbols to docs
3924 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3926 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3927 back out the newsegment handling change, see #340060 for ongoing
3930 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3932 * tools/gst-run.c: (get_candidates), (main):
3933 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3934 work); fix typo in error message. Fixes #340079.
3936 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3938 * common/Makefile.am:
3940 * docs/faq/Makefile.am:
3941 * docs/gst/Makefile.am:
3942 * docs/libs/Makefile.am:
3943 * docs/manual/Makefile.am:
3944 * docs/plugins/Makefile.am:
3945 * docs/pwg/Makefile.am:
3946 * docs/slides/Makefile.am:
3948 * common/upload.mak:
3949 move upload.mak to common
3951 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3953 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3954 add more asserts on refcounts
3955 do more cleanup at end of tests
3956 fix test leaks showing in FC5
3958 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3960 * plugins/elements/gsttypefindelement.c:
3961 (gst_type_find_element_handle_event):
3962 reverted wrong change and reflowed code to avoid others falling into
3965 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3967 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3968 fix changelog entry about last collectpads change,
3969 add notes about proper fix
3971 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3974 * gst/gstregistry.c: (gst_registry_scan_path_level),
3975 (gst_registry_scan_path):
3976 * gst/gstregistry.h:
3977 only write out registry if it has changed, fixes #338339
3979 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3982 * gst/gstpipeline.c:
3983 * plugins/elements/gstcapsfilter.c:
3984 * plugins/elements/gstfakesink.c:
3985 * plugins/elements/gstfakesrc.c:
3986 * plugins/elements/gstfdsink.c:
3987 * plugins/elements/gstfdsrc.c:
3988 * plugins/elements/gstfilesink.c:
3989 * plugins/elements/gstfilesrc.c:
3990 * plugins/elements/gstidentity.c:
3991 * plugins/elements/gstqueue.c:
3992 * plugins/elements/gsttee.c:
3993 * plugins/elements/gsttypefindelement.c:
3994 (gst_type_find_element_handle_event):
3995 make GstElementDetails const
3997 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3999 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4000 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4001 (gst_collect_pads_is_collected), (gst_collect_pads_event):
4002 more detailed debug and formatting cleanup,
4003 forward newsegments to src-pad (so that e.g. adder not eats them)
4005 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4007 * gst/gstutils.c: (gst_element_link_pads):
4010 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4012 * libs/gst/controller/gstcontroller.c:
4013 (gst_controller_sync_values):
4015 * tests/check/libs/controller.c: (GST_START_TEST),
4016 (gst_controller_suite):
4017 a new test for live value handling
4019 2006-04-28 Wim Taymans <wim@fluendo.com>
4021 * gst/gstutils.c: (push_and_ref):
4022 Added some more docs.
4023 Fix refcount issue whith gst_element_found_tags() helper
4024 function. Fixes #338335
4026 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4027 Added testsuite for gst_element_found_tags().
4029 2006-04-28 Michael Smith <msmith@fluendo.com>
4031 * gst/gstvalue.c: (gst_value_serialize_flags):
4032 Avoid NULL dereference when trying to serialize flags containing
4035 2006-04-28 Michael Smith <msmith@fluendo.com>
4037 * plugins/elements/gsttypefindelement.c:
4038 (gst_type_find_element_handle_event):
4039 If we get EOS before any data is accumulated, don't use
4040 uninitialised local variables.
4042 2006-04-28 Michael Smith <msmith@fluendo.com>
4044 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4045 (gst_dp_event_from_packet):
4046 Fixes in reading/writing events over GDP (not currently used?) -
4047 dereferencing NULL events for unknown/invalid event types, memory
4048 leak, and change g_warning to GST_WARNING.
4050 2006-04-28 Wim Taymans <wim@fluendo.com>
4052 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
4053 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4054 (gst_base_sink_get_position), (gst_base_sink_change_state):
4055 When frame dropping is enabled, we should not ignore frames
4057 Update some documentation.
4059 2006-04-28 Wim Taymans <wim@fluendo.com>
4061 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4062 (gst_base_src_send_event), (gst_base_src_change_state):
4063 Documentation updates.
4065 2006-04-28 Wim Taymans <wim@fluendo.com>
4067 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4068 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
4069 handle EAGAIN, EINTR and short writes correctly. Also clean
4070 up some error cases, avoid a deadlock on bad file descriptors and
4071 use GST_DEBUG_OBJECT.
4074 2006-04-28 Wim Taymans <wim@fluendo.com>
4076 * gst/gstvalue.c: (gst_value_serialize_buffer),
4077 (gst_value_deserialize_buffer):
4078 Don't try to serialize a GValue with a NULL buffer.
4081 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4082 Added check for serialisation of NULL buffers.
4084 2006-04-28 Wim Taymans <wim@fluendo.com>
4086 * gst/gstminiobject.c: (gst_value_take_mini_object):
4087 Taking a NULL miniobject is valid, fix the case where
4088 we try to unref the NULL miniobject.
4090 2006-04-28 Wim Taymans <wim@fluendo.com>
4092 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4094 * gst/gstbin.c: (gst_bin_handle_message_func):
4096 Don't leak bin refcount when a state recalc is
4097 in progress and we delay another one #339808.
4099 2006-04-28 Wim Taymans <wim@fluendo.com>
4101 * docs/design/part-TODO.txt:
4102 Mention QoS as an ongoing work item.
4104 * docs/design/part-buffering.txt:
4105 New doc about buffering that needs to be fleshed out
4108 * docs/design/part-qos.txt:
4109 More QoS policy for decoders/demuxers/transforms
4111 * docs/design/part-trickmodes.txt:
4114 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4119 === release 0.10.5 ===
4121 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4124 releasing 0.10.5, "Fogo"
4126 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
4128 patch by: Wim Taymans
4130 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4131 (gst_pad_configure_src), (gst_pad_push):
4132 * gst/gstpipeline.c: (gst_pipeline_init):
4133 Fix internal data flow errors. Fixes #338711.
4135 2006-04-12 Wim Taymans <wim@fluendo.com>
4137 * tests/check/gst/gstelement.c: (GST_START_TEST):
4138 Don't leak the factory.
4140 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4143 * win32/common/config.h:
4146 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
4148 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4149 (gst_controller_unset_all):
4150 Free allocated GstTimedValues when freeing list nodes.
4151 Should fix leaks 'make check-valgrind' complains about.
4153 * win32/common/libgstcontroller.def:
4154 Add gst_controller_unset_all.
4156 2006-04-11 Stefan Kost <ensonic@users.sf.net>
4158 * docs/libs/gstreamer-libs-sections.txt:
4159 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4160 (gst_controller_unset_all):
4161 * libs/gst/controller/gstcontroller.h:
4162 API: Added new method gst_controller_unset_all()
4163 fixed gst_controller_unset()
4164 * tests/check/libs/controller.c: (GST_START_TEST),
4165 (gst_controller_suite):
4166 Added two testcases for new and fixed method
4168 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
4170 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4171 MSG_DONTWAIT is not defined on Cygwin, so work
4172 around that (fixes #317048).
4174 2006-04-11 Wim Taymans <wim@fluendo.com>
4176 * gst/gstelementfactory.c: (gst_element_register),
4177 (gst_element_factory_create), (gst_element_factory_make):
4180 Updated docs (Fixes #131079)
4182 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4185 * tests/check/gst/gstelement.c: (GST_START_TEST),
4186 (gst_element_suite):
4187 Added testcase for elementfactory class field.
4189 2006-04-10 Wim Taymans <wim@fluendo.com>
4192 Added some more docs.
4194 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4195 (gst_base_sink_reset_qos):
4196 Calculate more accurate rate values.
4198 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
4200 * gst/gst_private.h:
4201 add a new #ifdef to use __declspec(dllimport) only for
4202 other modules and not for gstreamer core
4203 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4204 use gst_guint64_to_gdouble for conversion
4205 * win32/common/libgstreamer.def:
4206 add new exported functions
4207 * win32/vs6/gst_inspect.dsp:
4208 * win32/vs6/gst_launch.dsp:
4209 * win32/vs6/libgstbase.dsp:
4210 * win32/vs6/libgstcontroller.dsp:
4211 * win32/vs6/libgstcoreelements.dsp:
4212 * win32/vs6/libgstdataprotocol.dsp:
4213 * win32/vs6/libgstnet.dsp:
4214 update project files
4216 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4218 * gst/gstbuffer.c: (gst_subbuffer_class_init):
4219 * gst/gstclock.c: (gst_clock_class_init):
4220 * gst/gstelement.c: (gst_element_class_init):
4221 * gst/gstindex.c: (gst_index_class_init):
4222 * gst/gstindexfactory.c: (gst_index_factory_class_init):
4223 * gst/gstobject.c: (gst_object_class_init),
4224 (gst_signal_object_class_init):
4225 * gst/gstpad.c: (gst_pad_class_init):
4226 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4227 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4228 * gst/gstregistry.c: (gst_registry_class_init):
4229 * gst/gstsystemclock.c: (gst_system_clock_class_init):
4230 * gst/gsttask.c: (gst_task_class_init):
4231 * gst/gstxml.c: (gst_xml_class_init):
4232 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4233 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4234 (gst_base_src_loop):
4235 * libs/gst/controller/gstcontroller.c:/
4236 (_gst_controller_class_init):
4237 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4238 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4239 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4240 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4241 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4242 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4244 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
4246 * gst/gstpad.c: (gst_pad_link):
4247 Must set peer pads before calling the link function, otherwise
4248 a task started from a link function might get a flow-not-linked
4249 result when trying to push because the other thread where the
4250 linking happens hasn't had a chance to set the peers yet. This
4251 might happen for example when a queue gets linked to a downstream
4252 element, as queue starts a streaming task when its source pad
4253 gets linked. Happens in real life when playing back flac/musepack
4254 files in playbin (#332390).
4256 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4260 * libs/gst/base/gstadapter.h:
4261 * libs/gst/base/gstbasesink.h:
4262 * libs/gst/base/gstbasesrc.h:
4263 * libs/gst/base/gstbasetransform.h:
4264 * libs/gst/base/gstcollectpads.h:
4265 * libs/gst/base/gstpushsrc.h:
4266 Fix broken GObject macros
4268 2006-04-07 Wim Taymans <wim@fluendo.com>
4270 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4271 Initialize start and stop times, thanks valgrind.
4273 2006-04-07 Wim Taymans <wim@fluendo.com>
4275 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4276 Be a bit nicer to badly behaving upstream elements that expect
4277 us to deal with non TIME segments and timestamps (such as fakesrc
4280 2006-04-07 Wim Taymans <wim@fluendo.com>
4283 Small documentation clarification about the signal watch.
4285 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4286 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4287 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4288 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4289 (gst_base_sink_get_position_last),
4290 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4291 Convert and store timestamps in stream time and running time, the
4292 raw timestamps are not usefull, also document this better.
4293 Use different window sizes for good and bad QoS observations so
4294 we react to badness a little quicker.
4295 Keep track of the amount of rendered and dropped buffers.
4296 Send QoS timestamps in running time.
4298 * libs/gst/base/gstbasetransform.c:
4299 (gst_base_transform_sink_eventfunc),
4300 (gst_base_transform_handle_buffer):
4301 Compare QoS timestamps against running time.
4303 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4308 2006-04-06 Michael Smith <msmith@fluendo.com>
4310 * gst/gstpad.c: (gst_pad_set_property):
4311 Use g_value_get_object() instead of g_value_dup_gst_object(),
4312 to avoid double-reffing the pad template (which we then sink,
4313 so this worked previously if (and only if) the pad template
4316 * gst/gstpadtemplate.c: (gst_pad_template_init),
4317 (gst_pad_template_pad_created):
4318 Never return floating references to pad templates, create
4319 them as initially-sunken.
4321 Document an extra function (and make this stop sinking our
4322 pad template, since that is now guaranteed to do nothing,
4323 since we created it sunken).
4325 * gst/gstghostpad.c:
4328 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4330 * gst/gstinfo.c: (__gst_in_valgrind):
4333 * plugins/elements/gsttypefindelement.c:
4334 (gst_type_find_element_chain):
4335 Don't leak buffer caps.
4337 2006-04-06 Michael Smith <msmith@fluendo.com>
4339 * gst/parse/grammar.y:
4340 Fix a leak in parse-launch for any source-or-sink named element
4343 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4344 Unref the pipeline if it exists after we've failed parsing.
4346 2006-04-05 Michael Smith <msmith@fluendo.com>
4348 * gst/gstpipeline.c: (gst_pipeline_init):
4349 When we create a pipeline bus, initially create it in flushing mode.
4350 Fixes leaks in at least one test, and makes a new pipeline work the
4351 same as one that has gone to READY and then back to NULL.
4356 2006-04-05 Michael Smith <msmith@fluendo.com>
4358 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4359 Unref a pad we reffed.
4360 * tests/check/gst/gstutils.c: (GST_START_TEST):
4363 2006-04-05 Michael Smith <msmith@fluendo.com>
4365 * gst/gstquery.c: (gst_query_set_formats),
4366 (gst_query_set_formatsv):
4367 Fix leaking GValues in queries, as shown by valgrind/testsuite.
4369 2006-04-05 Michael Smith <msmith@fluendo.com>
4371 * tests/check/generic/sinks.c: (GST_START_TEST):
4372 Fix a variety of memleaks in sinks check, which are only sometimes
4373 shown by running the tests under valgrind (weird?).
4375 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
4377 * docs/version.entities.in:
4378 Fix the substituted entity name after thomas' changes on the
4381 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4383 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4386 2006-04-05 Andy Wingo <wingo@pobox.com>
4388 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4390 * libs/gst/base/gstbasetransform.c
4391 (gst_base_transform_sink_eventfunc): When resetting our segment on
4392 FLUSH_STOP, also update the flag saying we haven't seen a
4395 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4397 Patch by: Paolo Borelli <pborelli at katamail dot com>
4399 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4400 (gst_plugin_check_license):
4401 minor clean-ups: G_DEFINE_TYPE already takes care of the
4402 parent_class stuff, no need to do it twice. Mark array of
4403 license strings as constant. (#337103)
4405 2006-04-04 Michael Smith <msmith@fluendo.com>
4407 * tools/gst-inspect.c: (print_element_list):
4408 Free the right plugin list; fixes a memory leak.
4410 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4412 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4414 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4415 Don't error out on empty buffers (#336945).
4417 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4419 * docs/libs/gstreamer-libs-sections.txt:
4421 * libs/gst/base/gstbasesink.c:
4422 * libs/gst/base/gstbasesink.h:
4423 * libs/gst/base/gstbasesrc.c:
4424 * libs/gst/base/gstbasesrc.h:
4425 Documentation updates. Make BaseSink and BaseSrc docs contain the
4426 class structure so that people can actually see the prototypes for
4427 virtual functions they're supposed to be overriding.
4429 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4431 * plugins/elements/gsttypefindelement.c:
4432 (gst_type_find_element_chain):
4433 More debug info; when skipping typefinding, send cached
4434 events in all cases.
4436 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4439 use new AS_VERSION and AS_NANO macros
4440 * gst/gst-i18n-lib.h:
4443 * gst/gstversion.h.in:
4444 * win32/common/config.h:
4445 * win32/common/config.h.in:
4448 2006-03-31 Michael Smith <msmith@fluendo.com>
4450 * plugins/elements/gsttypefindelement.c:
4451 (gst_type_find_element_chain):
4452 Do not typefind content if the buffers already have caps.
4453 Neccesary for icydemux (#333657), and the right thing to do anyway.
4455 2006-03-30 Wim Taymans <wim@fluendo.com>
4457 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4458 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4459 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4460 (gst_base_sink_record_qos_observation),
4461 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4462 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4463 (gst_base_sink_change_state):
4464 More QoS measurements as described in the design doc.
4465 Get rid of ringbuffer with observations, running average is
4466 more simple and equally good.
4467 Calculates valid proportion now.
4468 Added beginning of flood measurement.
4470 2006-03-29 Wim Taymans <wim@fluendo.com>
4472 * docs/design/part-qos.txt:
4474 Small documentation updates and additions.
4476 2006-03-29 Wim Taymans <wim@fluendo.com>
4478 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4479 (gst_base_src_send_event), (gst_base_src_loop),
4480 (gst_base_src_change_state):
4481 Perform the EOS logic when we reach the segment stop position.
4482 Fix compilation on gcc4.1
4484 2006-03-29 Wim Taymans <wim@fluendo.com>
4486 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4488 * plugins/elements/gstqueue.c: (gst_queue_init),
4489 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4490 (gst_queue_set_property):
4491 * plugins/elements/gstqueue.h:
4492 In queue, when EOS is received, if minimum threshold > max_size -
4493 current_level, there is chance that queue blocks forever in conditional
4494 item del wait. This is because the queue is not emptied completely due
4495 to minimum threshold. Here is another approach. Instead of setting
4496 cur_levels to max in EOS, just zero all minimum threshold levels. This
4497 should make sure that queue gives out all data. When going to READY
4498 (stop) state, just reset the original minimum threshold levels.
4501 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4503 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4504 (gst_type_find_element_handle_event),
4505 (gst_type_find_element_send_cached_events),
4506 (gst_type_find_element_change_state):
4507 * plugins/elements/gsttypefindelement.h:
4508 When typefinding is done in push mode, we should cache
4509 events we receive during typefinding instead of just
4510 dropping them (e.g. newsegment, custom events from
4511 dvdreadsrc etc.) and then send them out once we've
4512 determined the type of the stream (and decodebin
4513 has had a chance to plug in a decoder/demuxer).
4515 2006-03-27 Wim Taymans <wim@fluendo.com>
4517 * docs/design/part-qos.txt:
4520 2006-03-27 Wim Taymans <wim@fluendo.com>
4522 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4524 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4525 (gst_base_src_send_event), (gst_base_src_change_state):
4526 Handle element seek correctly when we are streaming.
4529 2006-03-24 Michael Smith <msmith@fluendo.com>
4531 * docs/faq/gst-uninstalled:
4532 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4533 allow you to correctly run intalled applications built against old
4534 core, using plugins that require updated core (e.g. running
4535 installed totem against a full uninstalled gstreamer stack)
4537 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4539 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4542 2006-03-24 Wim Taymans <wim@fluendo.com>
4544 * docs/gst/gstreamer-sections.txt:
4545 Rearrange the order of the methods so that related methods
4546 are grouped together in sections.
4548 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4551 Little clarification in the docs
4553 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4557 * plugins/elements/gstidentity.c:
4558 * plugins/elements/gstqueue.c:
4559 * plugins/elements/gsttee.c:
4560 * plugins/elements/gsttypefindelement.c:
4561 GST_ELEMENT_DETAILS formatting
4563 2006-03-24 Wim Taymans <wim@fluendo.com>
4565 * libs/gst/base/gstbasesink.h:
4566 Only add fields, not insert or we break ABI.
4568 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4570 * win32/common/libgstbase.def:
4571 * win32/common/libgstreamer.def:
4572 Update, add recently added functions.
4574 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4576 * docs/gst/gstreamer-sections.txt:
4577 * gst/gstutils.c: (gst_pad_query_peer_position),
4578 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4580 API: add some new utility functions:
4581 - gst_pad_query_peer_position()
4582 - gst_pad_query_peer_duration()
4583 - gst_pad_query_peer_convert()
4585 2006-03-23 Wim Taymans <wim@fluendo.com>
4587 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4588 (gst_base_sink_init), (gst_base_sink_finalize),
4589 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4590 (gst_base_sink_set_property), (gst_base_sink_get_property),
4591 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4592 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4593 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4594 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4595 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4596 (gst_base_sink_preroll_object), (gst_base_sink_event),
4597 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4598 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4599 (gst_base_sink_query), (gst_base_sink_change_state):
4600 Decouple max-lateness and the fact that QoS messages are generated
4601 with a new property (qos).
4602 added API: GstBaseSink::async_play()
4603 Add vmethod so subclasses can be notified of ASYNC playing
4605 Collect timestamp start and stop to report better current
4606 position in EOS/PLAYING/PAUSED/READY/NULL.
4607 Refactor QoS/frame dropping and other measurements.
4608 API: GstBaseSrc::qos
4611 * libs/gst/base/gstbasesink.h:
4612 Added Private struct.
4613 API: gst_base_sink_set_qos_enabled()
4614 API: gst_base_sink_is_qos_enabled()
4616 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4618 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4619 If compiling against GLib-2.8 or newer, try to read the
4620 registry file using GMappedFile first before falling back
4621 to fopen() + fread() (#332151).
4623 2006-03-22 Wim Taymans <wim@fluendo.com>
4625 * gst/gstinfo.c: (gst_debug_set_active),
4626 (gst_debug_category_set_threshold):
4627 Disable debugging unless explicitly activated.
4630 2006-03-22 Wim Taymans <wim@fluendo.com>
4632 * gst/gstelement.c: (gst_element_set_locked_state),
4633 (gst_element_dispose):
4634 Cleanup the error case.
4636 * gst/gstobject.c: (gst_object_dispose):
4637 print a critical when some object was disposed with
4638 a parent, also revive the object since it might
4641 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4643 * tools/gst-launch.1.in:
4646 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4649 * tests/check/Makefile.am:
4650 disable some tests when we don't have a registry
4651 * tests/check/gst/gstutils.c: (gst_utils_suite):
4652 don't build the part that needs parsing
4654 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4657 * tests/examples/Makefile.am:
4658 fix --disable-parse build
4660 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4662 * tools/gst-feedback.1.in:
4663 Fix typo: s/feeback/feedback/ (#133494).
4665 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4667 * tools/Makefile.am:
4668 * tools/gst-launch.1.in:
4669 Add FILES section and correct entry about GST_REGISTRY_PATH
4670 environment variable (#133495; #133494).
4672 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4674 * tools/Makefile.am:
4675 * tools/gst-md5sum.1.in:
4676 * tools/gst-md5sum.c:
4677 Remove gst-md5sum and man page (the md5sink element
4678 required was removed ages ago)
4680 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4682 * gst/gststructure.c: (gst_structure_id_set_value):
4683 Make sure that string fields in structures/taglists
4684 contain valid UTF-8 - we don't want to pass rubbish to
4685 applications because of a buggy plugin (cp. #334167).
4687 2006-03-21 Edward Hervey <edward@fluendo.com>
4689 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4690 (gst_bin_handle_message_func):
4691 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4692 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4693 (gst_element_set_bus_func):
4694 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4695 * gst/gstminiobject.c: (gst_value_set_mini_object),
4696 (gst_value_take_mini_object):
4697 * gst/gstpad.c: (gst_pad_set_pad_template):
4698 * gst/gstpipeline.c: (gst_pipeline_dispose),
4699 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4700 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4701 (gst_collect_pads_chain):
4702 * libs/gst/net/gstnettimeprovider.c:
4703 (gst_net_time_provider_set_property):
4704 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4705 It's in fact all issues with gst_*object_replace().
4707 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4709 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4711 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4712 * pkgconfig/gstreamer-check.pc.in:
4713 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4715 2006-03-21 Edward Hervey <edward@fluendo.com>
4720 gst_[buffer|event|message]_ref() macros are replaced by a static
4721 inline functions because gcc-4.1 will about if the return value
4723 * tests/check/gst/gstevent.c: (event_probe):
4724 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4726 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4729 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4730 the type' case. (Closes: #335195 for now). In the future, when we
4731 depend on GLib 2.10, we could also intern the type name using
4732 g_intern_static_string()
4734 2006-03-20 Wim Taymans <wim@fluendo.com>
4736 * gst/gstbin.c: (gst_bin_handle_message_func),
4737 (bin_query_max_init), (bin_query_position_fold),
4738 (bin_query_position_done), (gst_bin_query):
4739 Position query should also take max of all streams.
4741 2006-03-20 Wim Taymans <wim@fluendo.com>
4743 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4744 (gst_fake_src_finalize):
4745 Fix leaks in fakesrc.
4747 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4748 Fix leaks in the testcase.
4750 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4752 * gst/gst_private.h:
4753 add win32 specific import decoration(__declspec(dllimport))
4754 for all extern GstDebugCategory * variables
4755 * win32/common/libgstbase.def:
4756 * win32/common/libgstcontroller.def:
4757 * win32/common/libgstreamer.def:
4758 Add some exports, remove empty lines
4759 * win32/common/libgstdataprotocol.def:
4760 * win32/common/libgstdataprotocol.dsp:
4761 * win32/common/libgstnet.def:
4762 * win32/common/libgstnet.dsp:
4763 new project files and exportation files added
4765 2006-03-19 Wim Taymans <wim@fluendo.com>
4767 * tests/check/libs/basesrc.c: (eos_event_counter):
4768 Use proper return value for probe.
4770 2006-03-17 Wim Taymans <wim@fluendo.com>
4772 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4774 Don't leak buffers, caps and pads on negotiation errors.
4776 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4779 * docs/faq/dependencies.xml:
4780 * docs/faq/developing.xml:
4782 * docs/faq/general.xml:
4783 * docs/faq/getting.xml:
4784 * docs/faq/legal.xml:
4785 * docs/faq/troubleshooting.xml:
4786 * docs/faq/using.xml:
4787 Faq review and update.
4789 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4791 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4793 Don't pound the cpu to pieces by checking get_caps when accept_caps
4794 is called with the same caps as the pad already has.
4795 Use GST_DEBUG_OBJECT when outputting caps change information.
4797 2006-03-15 Wim Taymans <wim@fluendo.com>
4799 * gst/gstclock.c: (gst_clock_class_init):
4802 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4807 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4808 (gst_pad_accept_caps), (gst_pad_configure_sink),
4809 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4810 Make the default acceptcaps behaviour be to check the requested
4811 caps against the gst_pad_get_caps output.
4813 Ensure that gst_pad_accept_caps is used to check caps when a pad
4814 doesn't have a setcaps function, so that pads automatically refuse
4815 caps that they don't allow in their pad template. (Fixes #332986)
4817 When a buffer with attached caps is pushed, ensure that the source
4818 pad receives those caps even if the element didn't call
4819 gst_pad_set_caps first.
4821 2006-03-15 Wim Taymans <wim@fluendo.com>
4823 * libs/gst/base/gstadapter.c:
4826 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4828 * win32/common/libgstbase.def:
4829 * win32/common/libgstcontroller.def:
4830 * win32/common/libgstreamer.def:
4831 Add a whole bunch of missing functions (#334434).
4833 2006-03-14 Wim Taymans <wim@fluendo.com>
4835 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4836 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4837 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4838 Better debug info when we receive a segment event.
4839 Reorganize a bit so we can pass the get_times() results around.
4840 Use the segment format when calculating the running time.
4841 Don't do QoS is sync is disabled or we have no clock or the
4842 element does not want us to sync to the clock.
4843 Don't drop buffers if QoS is disabled for now.
4845 2006-03-14 Wim Taymans <wim@fluendo.com>
4847 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4848 Marked the stats property as unimplemented so people don't get
4850 Add debug message when regression goes wrong.
4851 Added some more docs.
4853 2006-03-14 Wim Taymans <wim@fluendo.com>
4855 * gst/gstsegment.c: (gst_segment_to_stream_time):
4856 Return correct return type in case of errors.
4858 2006-03-14 Wim Taymans <wim@fluendo.com>
4860 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4861 Don't segfault on invalid formats.
4863 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4865 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4866 Can't use gst_segment_to_running_time() when the segment
4867 is not in GST_TIME_FORMAT (like with filesink, for example).
4868 Stops flac encoding pipelines from spewing critical warnings
4871 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4873 * gst/gstpipeline.c: (gst_pipeline_class_init):
4874 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4876 * plugins/elements/gsttypefindelement.c:
4877 (gst_type_find_element_handle_event):
4878 Don't try to typefind empty streams.
4880 2006-03-14 Wim Taymans <wim@fluendo.com>
4882 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4883 (gst_base_sink_do_qos):
4884 Separate QoS calculation.
4885 Only drop buffers when lateness is bigger than the
4886 duration of the buffer.
4888 2006-03-13 Wim Taymans <wim@fluendo.com>
4890 * gst/gstpipeline.c: (gst_pipeline_set_property),
4891 (gst_pipeline_get_property), (do_pipeline_seek),
4892 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4893 (gst_pipeline_get_delay):
4894 Don't deadlock when reading properties.
4896 2006-03-13 Wim Taymans <wim@fluendo.com>
4898 * libs/gst/base/gstbasetransform.c:
4899 (gst_base_transform_class_init), (gst_base_transform_init),
4900 (gst_base_transform_sink_event),
4901 (gst_base_transform_sink_eventfunc),
4902 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4903 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4904 (gst_base_transform_set_property),
4905 (gst_base_transform_get_property),
4906 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4907 (gst_base_transform_set_qos_enabled),
4908 (gst_base_transform_is_qos_enabled):
4909 * libs/gst/base/gstbasetransform.h:
4910 Make basetransform virtual method for src events too.
4911 Handle QOS in basetransform.
4912 API: gst_base_transform_update_qos()
4913 API: gst_base_transform_set_qos_enabled()
4914 API: gst_base_transform_is_qos_enabled()
4916 2006-03-13 Wim Taymans <wim@fluendo.com>
4918 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4919 (gst_base_sink_do_sync):
4921 Use QOS debug category.
4923 2006-03-13 Wim Taymans <wim@fluendo.com>
4925 * plugins/elements/gstqueue.c:
4926 Very small doc update.
4928 2006-03-13 Wim Taymans <wim@fluendo.com>
4930 * gst/gst_private.h:
4931 * gst/gstinfo.c: (_gst_debug_init):
4932 Added QOS debug category
4934 2006-03-13 Wim Taymans <wim@fluendo.com>
4936 * docs/gst/gstreamer-sections.txt:
4937 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4939 * gst/gstbus.c: (gst_bus_class_init):
4942 * gst/gstelement.c: (gst_element_set_locked_state):
4944 Documentation updates.
4946 * gst/gstpipeline.c: (gst_pipeline_get_type),
4947 (gst_pipeline_class_init), (gst_pipeline_init),
4948 (gst_pipeline_dispose), (gst_pipeline_set_property),
4949 (gst_pipeline_get_property), (do_pipeline_seek),
4950 (gst_pipeline_send_event), (gst_pipeline_change_state),
4951 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4952 (gst_pipeline_get_delay):
4953 * gst/gstpipeline.h:
4954 Added methods for setting the delay.
4955 API: gst_pipeline_set_delay()
4956 API: gst_pipeline_get_delay()
4957 Add pipeline debug category
4960 Don't reset stream time when seek failed.
4962 2006-03-13 Wim Taymans <wim@fluendo.com>
4964 * docs/design/draft-klass.txt:
4965 * docs/design/part-clocks.txt:
4966 * docs/design/part-events.txt:
4967 * docs/design/part-gstbin.txt:
4968 * docs/design/part-gstpipeline.txt:
4969 * docs/design/part-messages.txt:
4970 * docs/design/part-negotiation.txt:
4971 * docs/design/part-overview.txt:
4972 * docs/design/part-preroll.txt:
4973 * docs/design/part-seeking.txt:
4974 * docs/design/part-states.txt:
4975 * docs/design/part-streams.txt:
4976 Documentation updates.
4978 2006-03-12 Julien MOUTTE <julien@moutte.net>
4980 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4981 us to leak strings...
4983 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4985 * libs/gst/net/gstnettimeprovider.c:
4987 * win32/common/config.h:
4990 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4992 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4995 Don't check for libgnomeui (leftover from old examples
4996 that aren't built or disted any longer) (#334303).
4998 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
5000 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
5001 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
5002 Emit RESOURCE_NO_SPACE_LEFT error here as well when
5003 there's no space left on the device.
5005 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
5008 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
5009 to cast the input to GstClockTime before comparing with
5010 another GstClockTime value.
5012 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
5017 === release 0.10.4 ===
5019 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
5022 releasing 0.10.4, "Light"
5024 2006-03-10 Michael Smith <msmith@fluendo.com>
5026 * libs/gst/dataprotocol/dataprotocol.c:
5027 Fix docs for dataprocotol to not get the return types completely
5028 wrong for a few functions.
5030 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5032 * docs/gst/gstreamer-sections.txt:
5033 * gst/gstpipeline.c: (gst_pipeline_class_init),
5034 (gst_pipeline_init), (gst_pipeline_set_property),
5035 (gst_pipeline_get_property), (gst_pipeline_change_state),
5036 (gst_pipeline_set_auto_flush_bus),
5037 (gst_pipeline_get_auto_flush_bus):
5038 * gst/gstpipeline.h:
5039 Add new API: gst_pipeline_set_auto_flush_bus() and
5040 gst_pipeline_get_auto_flush_bus() to disable automatic
5041 flushing of the pipeline's GstBus when going from READY
5042 to NULL state (#332045).
5044 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5046 * docs/gst/gstreamer-sections.txt:
5047 * gst/gsturi.c: (gst_uri_has_protocol):
5049 Add new API: gst_uri_has_protocol() (#333779).
5051 2006-03-09 Wim Taymans <wim@fluendo.com>
5053 * gst/gstclock.c: (gst_clock_entry_new),
5054 (gst_clock_id_compare_func), (gst_clock_id_wait),
5055 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
5056 (gst_clock_init), (gst_clock_get_internal_time),
5057 (gst_clock_set_master), (do_linear_regression),
5058 (gst_clock_add_observation), (gst_clock_set_property):
5062 Fix a possible segfault when the window-size is made smaller.
5063 Calculate jitter before performing the clock wait. Ideally
5064 the clock implementation should calculate jitter but we need
5065 API breakage for that.
5067 * gst/gstsystemclock.c: (gst_system_clock_init):
5070 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5071 Remove leftover else
5073 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5074 (gst_systemclock_suite):
5075 Added check to test GST_CLOCK_DIFF.
5077 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5079 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5080 (gst_type_find_helper_get_range):
5081 If we are provided with the size, we should implement
5082 GstTypeFind::get_length, so that typefind functions who
5083 want to can actually peek at the middle of a file.
5085 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
5087 * docs/manual/advanced-dataaccess.xml:
5088 Add some very very basic error checking.
5090 * docs/pwg/appendix-checklist.xml:
5091 Some updates to the list of things to check when writing an element.
5093 2006-03-08 Wim Taymans <wim@fluendo.com>
5095 * docs/design/part-element-transform.txt:
5096 Added some docs about the design of tranform elements.
5098 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5099 (gst_base_src_loop), (gst_base_src_change_state):
5100 Mark buffers with the DISCONT flag.
5102 2006-03-08 Michael Smith <msmith@fluendo.com>
5104 * gst/gstregistry.h:
5105 * gst/gstregistryxml.c: (gst_registry_save),
5106 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5107 (gst_registry_xml_save_pad_template),
5108 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5109 (gst_registry_xml_write_cache):
5110 Rewrite registry-saving to avoid race conditions and check for
5113 2006-03-08 Wim Taymans <wim@fluendo.com>
5115 * libs/gst/base/gstbasetransform.c:
5116 (gst_base_transform_transform_caps),
5117 (gst_base_transform_transform_size),
5118 (gst_base_transform_prepare_output_buffer),
5119 (gst_base_transform_get_unit_size),
5120 (gst_base_transform_buffer_alloc),
5121 (gst_base_transform_handle_buffer),
5122 (gst_base_transform_change_state):
5123 Cleanups, separate normal flow from errors, add sensible
5125 Don't try to renegotiate when allocating an output buffer.
5126 Also copy DISCONT buffer flag when copying a buffer.
5127 Reset the transform after we finish streaming, not during.
5129 2006-03-08 Wim Taymans <wim@fluendo.com>
5131 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5132 Use last buffer timestamp in qos message.
5134 2006-03-07 Wim Taymans <wim@fluendo.com>
5136 Patch by: Christophe Fergeau
5138 * docs/pwg/advanced-tagging.xml:
5139 * docs/pwg/building-pads.xml:
5142 2006-03-07 Wim Taymans <wim@fluendo.com>
5144 * docs/libs/gstreamer-libs-sections.txt:
5145 Added basesink new methods.
5149 Docs updates. Flesh out the QoS docs.
5151 * libs/gst/base/gstadapter.c:
5152 Small doc clarification about ownership and flushing.
5154 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5155 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5156 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5157 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5158 * libs/gst/base/gstbasesink.h:
5160 Added new methods to allow subclass to control max-lateness
5162 Generate very basic QoS events based on last sync observation.
5163 Updated docs, fix typo, added some QoS blurb.
5165 * libs/gst/base/gstbasesrc.c:
5166 Remove obsolete _get_state() calls from docs.
5168 2006-03-07 Wim Taymans <wim@fluendo.com>
5170 * docs/libs/gstreamer-libs-sections.txt:
5171 * libs/gst/base/gstbasetransform.h:
5172 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5173 Fix docs for GstBaseSrc.
5175 2006-03-07 Wim Taymans <wim@fluendo.com>
5177 * docs/gst/gstreamer-sections.txt:
5180 * libs/gst/base/gstbasetransform.h:
5181 Small documentation fixes.
5183 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5186 Document thread-unsafety of gst_value_register_foo_func()
5187 when used at the same time as gst_value_foo() (#322628).
5189 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5191 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5192 (gst_push_src_check_get_range):
5193 Push sources don't support pull mode by default.
5195 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5197 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5198 (gst_base_src_init), (gst_base_src_pad_check_get_range),
5199 (gst_base_src_default_check_get_range):
5200 * libs/gst/base/gstbasesrc.h:
5201 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5202 provide default implementation, and rename
5203 gst_base_src_check_get_range() to
5204 gst_base_src_pad_check_get_range() for clarity.
5206 2006-03-06 Wim Taymans <wim@fluendo.com>
5208 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5209 Make property overridable.
5211 2006-03-06 Wim Taymans <wim@fluendo.com>
5213 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5214 (gst_base_sink_init), (gst_base_sink_set_property),
5215 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5216 * libs/gst/base/gstbasesink.h:
5217 API addition: Make max-lateness a property.
5219 2006-03-06 Wim Taymans <wim@fluendo.com>
5221 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5222 (gst_base_sink_do_sync), (gst_base_sink_render_object):
5223 Don't ever draw a frame that is >10ms late.
5225 2006-03-06 Michael Smith <msmith@fluendo.com>
5227 * gst/gstmessage.c: (_gst_message_copy):
5228 When copying a message, set the parent_refcount of the enclosed
5229 structure to point at the copy, not the original message.
5231 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5233 Patch by: Christophe Fergeau
5236 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5237 usable in c++ code (#333417)
5239 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
5242 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5244 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
5246 * libs/gst/base/gstbasetransform.c:
5247 (gst_base_transform_transform_caps):
5248 Make sure caps are writable before passing them to
5251 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5254 Fix some minor docs errors.
5256 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5258 Patch by: Ross Burton <ross at burtonini dot com>
5260 * gst/gsterror.c: (_gst_resource_errors_init):
5262 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5264 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5267 Add a check and output a g_warning when GStreamer is built
5268 against GLib 2.6 but running against 2.8 or higher, and vice
5269 versa. (Closes: #323542)
5271 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5273 * gst/parse/parse.l:
5274 Commit patch for parse_launch syntax from #331255. Removes
5275 support for quoted strings and mimetypes when writing filtered
5276 caps. See the bug report for more details - I'm pretty sure this
5277 obscure feature is not in use by _anyone_ anywhere.
5279 With this simple change, the size of the gstreamer.so here
5280 drops from 2193KB to 1565KB.
5282 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5284 * plugins/elements/gsttypefindelement.h:
5285 * plugins/elements/gsttypefindelement.c:
5286 (gst_type_find_element_src_event), (start_typefinding),
5287 (stop_typefinding), (gst_type_find_element_handle_event),
5288 (gst_type_find_element_chain),
5289 (gst_type_find_element_chain_do_typefinding):
5290 Use gst_type_find_helper_for_buffer() for chain-based
5293 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5295 * plugins/elements/gsttypefindelement.c:
5296 (gst_type_find_element_class_init),
5297 (gst_type_find_element_set_property),
5298 (gst_type_find_element_get_property):
5299 Deprecate "maximum" property (not only was it only taken into
5300 account for typefinding in push-mode anyway, it also was never
5301 actually possible to set it in the first place because the
5302 property was registered with the numeric property ID for the
5303 "minimum" property). Register "maximum" property correctly,
5304 for the sake of future copy'n'pasters. Remove some cruft
5305 from property get/set functions.
5307 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5309 * plugins/elements/gsttypefindelement.c:
5310 (gst_type_find_element_activate):
5311 Use gst_type_find_helper_get_range() here, so we
5312 can honour the "minimum" property and also emit
5313 the signal with the correct probability of the found caps.
5315 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
5317 * docs/libs/gstreamer-libs-sections.txt:
5318 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5319 (helper_find_suggest), (gst_type_find_helper_get_range),
5320 (gst_type_find_helper):
5321 * libs/gst/base/gsttypefindhelper.h:
5322 New API: gst_type_find_helper_get_range() (#333042).
5324 2006-03-02 Michael Smith <msmith@fluendo.com>
5326 * gst/gstregistryxml.c: (load_feature):
5327 Asserting on a failure to read part of the registry is Not Cool.
5328 Just log a warning and return NULL (which is already handled)
5330 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
5332 * win32/common/libgstbase.def:
5333 added export of gst_type_find_helper_for_buffer
5334 * win32/common/libgstbase.def:
5335 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5336 gst_ghost_pad_get_target
5338 2006-02-28 Wim Taymans <wim@fluendo.com>
5340 * docs/design/draft-klass.txt:
5342 Added Connector to mark elements that are only used to
5343 allow pipeline connections.
5344 Moved Debug to extra feature since most of them are
5345 functionally something else.
5347 2006-02-28 Wim Taymans <wim@fluendo.com>
5349 * docs/design/draft-klass.txt:
5350 Some updates and clarifications.
5352 2006-02-28 Wim Taymans <wim@fluendo.com>
5354 * docs/design/draft-klass.txt:
5355 Proposal for klass field values.
5357 * docs/design/part-streams.txt:
5358 Start of a doc describing stream anatomy.
5360 2006-02-28 Wim Taymans <wim@fluendo.com>
5362 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5363 Help the compiler a bit with type registration.
5364 Use existing forward cod path instead of duplicating it when
5367 * gst/gstbus.c: (gst_bus_get_type):
5368 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5369 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5370 * gst/gstclock.c: (gst_clock_get_type):
5371 * gst/gstelement.c: (gst_element_get_type),
5372 * gst/gstelementfactory.c: (gst_element_factory_get_type):
5373 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5374 * gst/gstminiobject.c: (gst_mini_object_get_type):
5375 * gst/gstpad.c: (gst_pad_get_type):
5376 * gst/gstsegment.c: (gst_segment_get_type):
5377 * gst/gststructure.c: (gst_structure_get_type):
5378 * gst/gstsystemclock.c: (gst_system_clock_get_type):
5379 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5381 Help compiler with type registration.
5383 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5386 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5388 * plugins/elements/gsttypefindelement.c:
5389 (gst_type_find_element_handle_event):
5390 When we get an EOS event and have not found a type yet
5391 (most likely because we had not yet accumulated
5392 TYPE_FIND_MIN_SIZE of data yet), try to determine the
5393 type given the data we have so far. Fixes typefinding
5394 for very short streams again, most notably quicktime
5395 redirections as used on Apple's trailer site (#331701).
5397 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5399 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5400 (gst_type_find_helper):
5401 Try typefinding factories with the highest rank first.
5403 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5405 * docs/libs/gstreamer-libs-docs.sgml:
5406 * docs/libs/gstreamer-libs-sections.txt:
5407 * libs/gst/base/gsttypefindhelper.c:
5408 Add section for typefind helper and add documentation
5409 for the old and the new function.
5411 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5413 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5414 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5415 (gst_type_find_helper_for_buffer):
5416 * libs/gst/base/gsttypefindhelper.h:
5417 New API: gst_type_find_helper_for_buffer() (#332723).
5419 2006-02-27 Michael Smith <msmith@fluendo.com>
5421 Patch by: Loïc Minier
5425 * docs/slides/Makefile.am:
5426 prevent CVS directories getting disted.
5428 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5430 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5431 Use the REFCOUNTING category for caps refcounting.
5433 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5435 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5436 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5438 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5440 * plugins/elements/gsttypefindelement.c:
5441 (gst_type_find_element_activate):
5442 Use gst_pad_check_pull_range() before _activate_pull()
5443 to avoid unnecessary open/close (see #331690).
5445 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5448 Docs enhancement: make it crystal clear what the
5449 gst_pad_add_*_probe() callbacks should look like.
5451 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5453 * libs/gst/base/gstbasesrc.c:
5454 Document how applications can stop recording from
5455 live sources (see #330996).
5457 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5459 * tests/check/Makefile.am:
5460 * tests/check/libs/basesrc.c: (eos_event_counter),
5461 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5462 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5463 (gst_basesrc_suite), (main):
5464 ... and add some tests for the base source EOS stuff.
5466 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5468 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5469 Test case originally showed the problem fixed below,
5470 but was then amended. Add checks back at the place
5471 where they used to be.
5473 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5475 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5476 (gst_base_src_init), (gst_base_src_loop),
5477 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5478 (gst_base_src_change_state):
5479 * libs/gst/base/gstbasesrc.h:
5480 Don't unconditionally send EOS when going from PAUSED to
5481 READY state, esp. make sure we don't send two EOS events
5482 in some cases (e.g. one when reaching EOS and one when
5483 going from PAUSED to READY). Also, we don't want to send
5484 EOS events when operating in pull mode. However, we do
5485 want to send an EOS event when shutting down a live
5486 source explicitly, for example (fixes #330996).
5488 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5490 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5491 Update src->read_position after a seek when not using mmap.
5492 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5494 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5500 Make things work with --disable-parse as they do with
5501 --disable-load-save - the symbols involved disappear, but the
5502 header is still installed and GST_DISABLE_PARSE is included via
5505 2006-02-20 Julien MOUTTE <julien@moutte.net>
5507 * libs/gst/base/gstbasetransform.c:
5508 (gst_base_transform_change_state): Fix a stupid bug. I was
5509 sure I compiled that.
5511 2006-02-20 Julien MOUTTE <julien@moutte.net>
5513 * gst/gstpad.c: (gst_pad_set_blocked_async):
5514 * gst/gstutils.c: (gst_pad_add_data_probe),
5515 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5516 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5517 (gst_pad_remove_buffer_probe): Make those function act on the
5518 ghostpad target when it's a ghostpad. (Closes #331727)
5520 2006-02-20 Julien MOUTTE <julien@moutte.net>
5522 * libs/gst/base/gstbasetransform.c:
5523 (gst_base_transform_change_state): Make basetransform reusable.
5526 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5528 * docs/random/release:
5529 Move the current documentation of how to do a release to the top
5532 * gst/gstbin.c: (gst_bin_class_init),
5533 (gst_bin_handle_message_func):
5534 Allow multiple state-recalculation threads. (Closes #328873)
5536 2006-02-19 Julien MOUTTE <julien@moutte.net>
5538 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5539 * gst/gstpad.c: (gst_pad_set_event_function),
5540 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5541 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5542 2 strings. You can't use the STR_NULL macro on that.
5544 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5546 * gst/gstpad.c: (gst_pad_set_event_function),
5547 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5548 (gst_pad_set_getcaps_function)
5549 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5550 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5551 So now, we can use --gst-debug-level=5 on Windows
5552 * win32/common/libgstcontroller.def:
5553 Added export of gst_controller_init
5554 * win32/vs6/libgstcontroller.dsp:
5555 Fixed Release post build configuration
5557 2006-02-17 Wim Taymans <wim@fluendo.com>
5559 * tests/check/gst/gstquery.c: (GST_START_TEST):
5560 Added another check.
5562 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5564 * plugins/elements/gsttypefindelement.c: (find_peek):
5565 We can do peeks at non-zero offsets, as long as they
5566 fall within the buffer we have.
5568 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5570 * tests/check/Makefile.am:
5571 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5572 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5573 (parse_suite), (main):
5574 Add testsuite for parse launch syntax
5576 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5578 * plugins/elements/gsttypefindelement.c:
5579 (gst_type_find_element_chain):
5580 When typefinding is unsuccessful in the chain function, don't
5581 error out immediately. Only error out with NO_CAPS_FOUND if
5582 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5583 otherwise simply wait for more data so we can try typefinding
5584 again with more data later. Also, don't attempt to typefind
5585 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5586 this should improve typefinding from network sources where the
5587 size of the first buffer can be somewhat random.
5589 2006-02-14 Wim Taymans <wim@fluendo.com>
5591 * docs/gst/gstreamer-sections.txt:
5592 * gst/gstpadtemplate.c:
5593 * gst/gstpadtemplate.h:
5594 Fix padtemplate docs, fixes #328805.
5596 2006-02-14 Wim Taymans <wim@fluendo.com>
5598 * tools/gst-launch.c: (main):
5599 NO_PREROLL is not an ERROR so don't send confusing messages
5602 2006-02-14 Wim Taymans <wim@fluendo.com>
5604 Patch by: Torsten Schoenfeld
5606 * gst/gstregistry.c: (gst_registry_get_default),
5607 (_gst_registry_cleanup):
5608 Protect default registry with lock and ref/sink it.
5611 2006-02-14 Wim Taymans <wim@fluendo.com>
5614 * gst/gstquery.c: (gst_query_list_add_format),
5615 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5616 (gst_query_parse_formats_nth):
5617 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5620 2006-02-14 Wim Taymans <wim@fluendo.com>
5622 * docs/gst/gstreamer-sections.txt:
5623 Reworked query docs.
5625 * gst/gstquery.c: (gst_query_new_formats),
5626 (gst_query_list_add_format), (gst_query_set_formats),
5627 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5628 (gst_query_parse_formats_nth):
5630 Flesh out formats query, added some new methods.
5631 Fix part of #324398.
5633 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5634 Added query creation tests.
5636 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5638 * gst/gstpad.c: (fixate_value):
5639 Add a default fixation for fraction lists.
5641 2006-02-13 Wim Taymans <wim@fluendo.com>
5643 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5644 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5647 Detect and warn for obvious deadlocks. fixes #320340
5648 Fix error case where lock was not released.
5650 * tests/check/Makefile.am:
5651 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5652 (task_func), (gst_element_suite), (main):
5655 2006-02-13 Wim Taymans <wim@fluendo.com>
5657 * docs/gst/gstreamer-sections.txt:
5659 Add new functions to docs.
5661 2006-02-13 Wim Taymans <wim@fluendo.com>
5663 * docs/design/part-TODO.txt:
5664 Updated TODO list, basesrc supports seeking to non-bytes
5667 * docs/design/part-element-sink.txt:
5670 * gst/gstbin.c: (bin_replace_message),
5671 (gst_bin_handle_message_func):
5672 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5673 * gst/gstevent.c: (gst_event_finalize):
5674 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5675 (gst_pad_send_event):
5676 Use shiny new _TYPE_NAME macros.
5678 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5679 Move debug statement up.
5681 * gst/gstelement.c: (gst_element_set_locked_state):
5684 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5686 * docs/gst/gstreamer-sections.txt:
5689 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5690 macros (#330906). Also, document the already existing
5691 GST_QUERY_TYPE macro.
5693 2006-02-13 Wim Taymans <wim@fluendo.com>
5695 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5696 (event_probe), (GST_START_TEST):
5697 Only events up to the pipeline EOS are counted, there are
5698 some more when going to NULL currently which we don't care
5701 2006-02-13 Wim Taymans <wim@fluendo.com>
5703 * gst/gstpad.c: (gst_pad_send_event):
5704 Correctly check flushing and emit probes. fixes #330125
5706 2006-02-10 Andy Wingo <wingo@pobox.com>
5708 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5710 (gst_bus_init): Cache the location of the private data in the
5712 (gst_bus_enable_sync_message_emission)
5713 (gst_bus_disable_sync_message_emission): Implement new public
5715 (gst_bus_post): Emit the sync-message signal if the user asked for
5718 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5719 location of the bus-private structure.
5720 (gst_bus_enable_sync_message_emission)
5721 (gst_bus_disable_sync_message_emission): API addition
5723 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5725 Patch by: Vincent Torri
5727 * docs/pwg/building-boiler.xml:
5728 PWG patch from #326800
5730 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5734 * docs/design/Makefile.am:
5737 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5742 === release 0.10.3 ===
5744 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5747 releasing 0.10.3, "Like a virgin"
5749 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5752 2nd prerelease of 0.10.3
5753 Bump libtool versioning.
5755 2006-02-07 Andy Wingo <wingo@pobox.com>
5757 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5758 update last_stop if we're in TIME format and the timestamp is
5761 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5762 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5763 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5764 If we get a new newsegment with a different format, adapt
5767 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5768 of 0. Not a problem, really.
5770 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5773 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5778 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5781 project files updated to the default vs7 configuration
5782 * win32/common/libgstbase.def:
5783 * win32/common/libgstreamer.def:
5785 removed empty lines,
5786 sorted all exported symbols alphabetically
5787 * win32/common/dirent.c:
5788 * win32/common/dirent.h:
5789 * win32/common/gchar.h:
5790 use windows line end.
5792 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5794 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5795 Send EOS event when stopping.
5797 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5800 Tell folks what to do if the plugin-foobar.xml file
5801 hasn't been generated for a newly-added plugin.
5803 2006-02-05 Julien MOUTTE <julien@moutte.net>
5805 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5806 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5807 (gst_collect_pads_start), (gst_collect_pads_stop),
5808 (gst_collect_pads_event): Collectpads now holds a reference
5809 to the GstPad that was added. Indeed we don't want to look
5810 at pads that might just go away with no warning...
5812 2006-02-05 Julien MOUTTE <julien@moutte.net>
5814 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5815 (gst_collect_pads_start), (gst_collect_pads_stop),
5816 (gst_collect_pads_event), (gst_collect_pads_chain):
5817 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5818 Mark Nauwelaerts's patch on bug #328491.
5820 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5822 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5824 Add some simple tests for gst_parse_bin_from_description() and
5825 gst_bin_find_unconnected_pad() (#329069).
5827 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5829 * tools/gst-launch.c: (event_loop), (main):
5830 Catch errors during preroll (#320084).
5832 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5834 * plugins/elements/gsttypefindelement.c:
5835 (gst_type_find_element_activate):
5836 Post TYPE_NOT_FOUND error message when typefinding
5837 is unsuccessful in the activate function as well.
5839 2006-02-02 Wim Taymans <wim@fluendo.com>
5841 * docs/design/part-element-sink.txt:
5844 2006-02-02 Wim Taymans <wim@fluendo.com>
5846 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5847 (gst_base_sink_render_object),
5848 (gst_base_sink_queue_object_unlocked):
5849 Only keep track of prerollable items when we are
5851 Before rendering after preroll, always check if we
5853 Added some more debugging.
5855 2006-02-02 Wim Taymans <wim@fluendo.com>
5857 * gst/gstelement.c: (gst_element_continue_state),
5858 (gst_element_set_state_func), (gst_element_change_state):
5859 Fixed #326576, been running this for quite some time with
5860 no regressions at all.
5862 2006-02-02 Wim Taymans <wim@fluendo.com>
5865 Added more suppressions
5867 2006-02-02 Wim Taymans <wim@fluendo.com>
5869 * docs/design/part-element-sink.txt:
5872 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5873 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5874 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5875 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5876 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5877 (gst_base_sink_preroll_object),
5878 (gst_base_sink_queue_object_unlocked),
5879 (gst_base_sink_queue_object), (gst_base_sink_event),
5880 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5881 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5882 (gst_base_sink_get_position), (gst_base_sink_change_state):
5883 * libs/gst/base/gstbasesink.h:
5884 Totally refactored matching the design doc.
5885 Use two segments, one to clip incomming buffers and another to
5887 Handle queueing correctly, bypass the queue when playing.
5888 Make EOS cancelable.
5889 Handle errors correctly when operating in pull based mode.
5891 * tests/check/elements/fakesink.c: (GST_START_TEST),
5893 Added new check for sinks.
5895 2006-02-02 Wim Taymans <wim@fluendo.com>
5897 * gst/gstsegment.c: (gst_segment_clip):
5898 No reason to refuse to clip when start == -1
5900 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5903 * docs/manual/intro-basics.xml:
5904 * docs/manual/intro-preface.xml:
5905 * docs/manual/manual.xml:
5906 * docs/pwg/advanced-dparams.xml:
5907 * docs/pwg/intro-basics.xml:
5908 * docs/pwg/intro-preface.xml:
5910 describe dparams (controller) for plugins
5911 unify docs a little more
5913 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5915 * docs/gst/gstreamer-sections.txt:
5916 * gst/gstutils.c: (element_find_unconnected_pad),
5917 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5919 Add new API: gst_parse_bin_from_description() and
5920 gst_bin_find_unconnected_pad() (#329069).
5922 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5924 * docs/manual/README:
5925 uncover a nasty detail of the docs build
5927 2006-01-31 Wim Taymans <wim@fluendo.com>
5929 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5930 Don't cache duration messages if we're not going to use or
5933 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5935 * docs/manual/advanced-dparams.xml:
5936 * docs/pwg/advanced-dparams.xml:
5940 * libs/gst/controller/lib.c: (gst_controller_init):
5943 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5945 * gst/gstelement.c: (gst_element_message_full):
5946 also show file/line/func if no additional debug was given
5948 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5950 * win32/vs7/grammar.vcproj:
5951 activate copy of autogenerated files for Release mode
5953 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5955 * win32/common/libgstreamer.def:
5956 export gst_value_compare
5958 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5960 * plugins/elements/Makefile.am:
5961 * plugins/elements/gstelements.c:
5962 * plugins/elements/gstfdsink.c: (_do_init),
5963 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5964 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5965 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5966 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5967 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5968 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5969 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5970 * plugins/elements/gstfdsink.h:
5971 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5973 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5975 * docs/manual/advanced-dparams.xml:
5977 * docs/manual/advanced-position.xml:
5978 * docs/manual/basics-init.xml:
5979 * docs/manual/manual.xml:
5980 * docs/manual/titlepage.xml:
5982 * docs/pwg/titlepage.xml:
5983 cleanup xml (more to come)
5984 * libs/gst/controller/gstcontroller.c:
5987 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5989 * win32/vs6/grammar.dsp:
5990 add autogen of gstmarshal.c,h for Release mode
5992 2006-01-30 Wim Taymans <wim@fluendo.com>
5994 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5995 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5996 (gst_base_sink_handle_object), (gst_base_sink_event),
5997 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5998 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5999 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
6000 (gst_base_sink_deactivate), (gst_base_sink_activate),
6001 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6002 (gst_base_sink_query), (gst_base_sink_change_state):
6003 Basesink cleanups, remove some old code.
6004 Handle the case where a subclass can preroll in the render
6005 method (mostly audiosinks).
6007 Remove some locks around variables that are now protected
6008 with the PREROLL_LOCK (clock_id, flushing, ..).
6009 Optimize position query some more, do correct locking.
6010 Remove old code to push queue in state change, this is not
6011 needed anymore since preroll blocks on all prerollable items
6013 Almost implemented as described in design doc.
6015 2006-01-30 Wim Taymans <wim@fluendo.com>
6017 * tests/check/gst/gstbin.c: (GST_START_TEST):
6018 Wait for refcount to settle down before checking.
6020 2006-01-30 Wim Taymans <wim@fluendo.com>
6022 * docs/design/part-element-sink.txt:
6023 Pseudo code overview of desired sink behaviour regarding
6026 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6027 * win32/vs6/grammar.dsp:
6028 fix some bugs in Release mode for autogenerated files
6030 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6031 * win32/common/libgstbase.def:
6032 * win32/common/libgstreamer.def:
6033 export some new symbols: gst_base_src_set_format,
6034 gst_iterator_next, gst_structure_set_valist
6036 2006-01-29 Julien MOUTTE <julien@moutte.net>
6038 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6039 Set pad functions unconditionally. Fixes #329105.
6041 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6043 add vs8 project files created by Sergey Scobich
6045 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
6047 * gst/gstutils.c: (gst_element_unlink_pads):
6048 Don't leak pad references.
6050 * tests/check/elements/fakesink.c: (GST_START_TEST):
6051 * tests/check/generic/sinks.c: (GST_START_TEST):
6052 * tests/check/generic/states.c: (GST_START_TEST):
6053 * tests/check/gst/gstbin.c: (GST_START_TEST):
6054 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6055 * tests/check/gst/gstelement.c: (GST_START_TEST):
6056 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6057 * tests/check/gst/gstiterator.c: (GST_START_TEST):
6058 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6059 Fix a bunch of leaks. Make generic/sinks.c
6060 use a bit less cpu by slowing the buffer rate
6061 between fakesrc and fakesink.
6063 2006-01-27 Stefan Kost <ensonic@users.sf.net>
6065 * gst/gstelement.c: (gst_element_send_event):
6068 * gst/gstiterator.c:
6069 * gst/gstiterator.h:
6070 * gst/gstpad.c: (gst_pad_send_event):
6071 * gst/gststructure.c:
6075 * libs/gst/base/gstadapter.c:
6076 doc fixes, to link to function, just write gst_cool_function(), don't
6079 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6081 * plugins/elements/gsttee.c: (gst_tee_do_push),
6082 (gst_tee_handle_buffer):
6083 Always prefer an actual return value from a src
6084 pad in place of NOT_LINKED. This means we return
6085 WRONG_STATE when all src pads are WRONG_STATE
6086 instead of NOT_LINKED.
6088 Lock when replacing the last message to prevent
6089 racing with the get_property method.
6093 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6095 * tests/check/Makefile.am:
6096 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6098 Add a very simple check that should have caught the memleak I fixed
6099 last night (if not for the slice allocator hiding it)
6101 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6103 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6104 (gst_bin_remove_func), (gst_bin_handle_message_func),
6105 (bin_query_duration_fold), (bin_query_generic_fold):
6106 Clean up references to the clock provider when disposed or when
6107 handling a clock-lost message from it.
6109 Unref sinks when performing a query via gst_iterator_fold, as the
6110 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6112 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6113 (gst_clock_set_master):
6114 Drop our reference to the master clock, if any, when we are disposed.
6116 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6117 Chain up in dispose.
6119 2006-01-26 Wim Taymans <wim@fluendo.com>
6121 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6124 2006-01-26 Julien MOUTTE <julien@moutte.net>
6126 * plugins/elements/gsttee.c: (gst_tee_do_push),
6127 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6128 handles pad being NOT_LINKED or in WRONG_STATE.
6130 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6135 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6138 remove obsolete entry
6140 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6142 * docs/gst/gstreamer-sections.txt:
6143 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6144 (gst_bin_iterate_sources), (gst_bin_send_event):
6146 * gst/gstelement.c: (gst_element_send_event):
6148 * gst/gstpad.c: (gst_pad_send_event):
6149 added code for downstream events, reviewed docs in gstevent.c
6151 2006-01-25 Julien MOUTTE <julien@moutte.net>
6153 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6154 We only query position using the clock in the playing state.
6155 Query peer in the other cases.
6156 * win32/common/config.h: Updates.
6158 2006-01-24 Wim Taymans <wim@fluendo.com>
6160 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6161 A clock entry that is scheduled for the exact time of the
6162 clock is still in time.
6164 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6165 (gst_base_sink_do_sync):
6166 Add some more debug info.
6168 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6171 Add new vs7 project files and solution.
6173 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6176 all files removed as they were out-dated.
6178 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6180 * docs/random/release:
6182 * gst/gstbin.c: (gst_bin_init):
6183 * gst/gstbus.c: (gst_bus_new):
6185 * gst/gstpipeline.c: (gst_pipeline_init):
6186 use gst_bus_new(), improve logging, fix docs
6187 * win32/common/config.h:
6188 update for cvs build
6190 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6193 up required version of automake to 1.7
6195 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
6197 * win32/common/libgstreamer.def:
6198 export gst_buffer_is_metadata_writable
6200 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
6202 * docs/gst/gstreamer-sections.txt:
6204 Add gst_event_replace() (#327001)
6206 2006-01-20 Wim Taymans <wim@fluendo.com>
6208 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6209 Make it actually compile too..
6211 2006-01-20 Wim Taymans <wim@fluendo.com>
6214 Clarify behaviour of _is_equal() when passing NULL parameters.
6216 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6218 Cleanups. Don't unref NULL caps.
6219 When setting the same caps, protect caps of the pad with
6221 Use full functionality of _is_equal() when comparing caps.
6223 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6225 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6226 Don't loop infinitely if there are no buffers to present. Partially
6227 fixes #327197, but collectpads is just broken for reusing elements
6228 to do multiple encodes atm.
6230 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6232 * tools/gst-inspect.c: (print_element_features):
6233 * tools/gst-xmlinspect.c: (main):
6234 URL_HANDLER is not a plugin feature we can search for in
6237 2006-01-19 Edward Hervey <edward@fluendo.com>
6239 * gst/gstelement.c: (gst_element_pads_activate):
6240 When activating, do src pads first, then sink pads.
6241 When de-activating, do sink pads first, then src pads.
6243 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6245 * docs/gst/gstreamer-sections.txt:
6246 Add gst_index_add_associationv to the docs
6248 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6253 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6254 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6255 Do some refactoring. Doesn't actually change functionality,
6256 but makes landing the DRAIN event easier later.
6258 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
6260 * docs/pwg/advanced-scheduling.xml:
6261 Update from 0.9.x to 0.10 API and make example a bit
6264 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6266 * docs/gst/gstreamer-sections.txt:
6267 Add gst_buffer_(is|make)_metadata_writable methods.
6269 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6271 * docs/design/part-sparsestreams.txt:
6272 Update sparse streams doc, hopefully for greater clarity
6274 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
6276 * docs/design/part-events.txt:
6277 Remove mention of FILLER events.
6280 * docs/design/part-sparsestreams.txt:
6281 Write some things about using NEWSEGMENT to keep sparse streams
6284 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6286 * gst/gstbin.c: (gst_bin_dispose):
6287 Guard gst_object_unref call against a NULL object (dispose
6288 can theoretically be called multiple times).
6290 2006-01-18 Wim Taymans <wim@fluendo.com>
6292 * gst/gstbin.c: (gst_bin_element_set_state):
6293 * gst/gstclock.c: (gst_clock_id_wait):
6294 Added some more debug info.
6296 * libs/gst/base/gstadapter.c:
6299 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6300 (gst_base_sink_do_sync), (gst_base_sink_chain):
6301 Added some comments.
6303 2006-01-18 Wim Taymans <wim@fluendo.com>
6305 * tests/check/Makefile.am:
6306 * tests/check/elements/fakesink.c: (chain_async_buffer),
6307 (chain_async), (chain_async_return), (GST_START_TEST),
6308 (fakesink_suite), (main):
6309 Added fakesink test that checks prerolling and clipping
6312 * tests/check/gst/gstutils.c: (GST_START_TEST):
6313 Make check run faster so that buildbots don't timeout.
6315 2006-01-18 Wim Taymans <wim@fluendo.com>
6317 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6318 (gst_base_sink_do_sync):
6320 When the sink finishes blocking on the preroll buffer, it can
6321 immediatly render it instead of rendering when the next buffer
6324 2006-01-18 Wim Taymans <wim@fluendo.com>
6326 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6327 (gst_base_sink_get_property), (gst_base_sink_do_sync),
6328 (gst_base_sink_chain):
6330 GST_ELEMENT_CLOCK and sync are protected with LOCK.
6331 Don't store _last_stop if the buffer is dropped.
6333 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6335 * plugins/elements/gsttypefindelement.c:
6336 (gst_type_find_element_class_init):
6337 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6338 object method handler that sets the caps on the pad and we want
6339 that to happen before we emit the signal (fixes e.g. feeding a
6340 plain text file to decodebin).
6342 2006-01-18 Christian Schaller <Christian@fluendo.com>
6344 * gst/gstplugin.c: Add MPL and Proprietary as license options
6346 2006-01-18 Andy Wingo <wingo@pobox.com>
6348 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6349 symbol was exported before, it appears this was just an oversight.
6351 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6353 * gst/gstindex.c (gst_index_add_associationv): Changed int in
6354 prototype to gint. OK since this prototype was not in the header.
6356 2006-01-17 Andy Wingo <wingo@pobox.com>
6358 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6359 registry while we remove plugins.
6361 * tools/gst-inspect.c (print_element_info): Don't unref the
6362 factory arg, that should be the responsibility of whatever code
6363 received the ref. Fixes a double-free when called from
6364 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6365 (main): Unref the factory if we have one.
6366 (print_element_list): No change -- relies on the
6367 plugin_feature_list_free to free the list of features.
6369 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
6371 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6372 (gst_buffer_make_metadata_writable):
6374 * libs/gst/base/gstbasetransform.c:
6375 (gst_base_transform_prepare_output_buf):
6376 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6377 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6378 Replace gst_buffer_(make|is)_metadata_writable patch now
6379 that the release is out.
6381 2006-01-17 Andy Wingo <wingo@pobox.com>
6383 * gst/gstregistry.c: Reflow design comment. Update so as to speak
6384 in the present tense without reference to versions.
6386 * gst/gstregistry.c (gst_registry_add_plugin)
6387 (gst_registry_remove_plugin, gst_registry_remove_feature)
6388 (gst_registry_find_feature, gst_registry_get_feature_list)
6389 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6390 (gst_registry_lookup, gst_registry_scan_path)
6391 (_gst_registry_remove_cache_plugins)
6392 (gst_registry_get_feature_list_by_plugin): Add argument
6395 === release 0.10.2 ===
6397 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
6400 releasing 0.10.2, "If man is five"
6402 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6406 * libs/gst/base/gstbasetransform.c:
6407 (gst_base_transform_prepare_output_buf):
6408 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6409 * tests/check/gst/gstbuffer.c: (gst_test_suite):
6410 Back out patch until after the release.
6412 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6414 * gst/gstminiobject.c:
6415 Spelling fix in docs.
6416 * ChangeLog - remove conflict indicator
6418 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6420 Reviewed By: Andy Wingo
6422 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6423 (gst_buffer_make_metadata_writable):
6425 Add gst_buffer_(is|make)_metadata_writable as analogues of
6426 gst_buffer_(is|make)_writable.
6428 * libs/gst/base/gstbasetransform.c:
6429 (gst_base_transform_prepare_output_buf):
6430 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6431 Use name gst_buffer_(is|make)_metadata_writable functions.
6433 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6434 Test gst_buffer_(is|make)_metadata_writable
6438 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6440 * docs/manual/Makefile.am:
6441 don't do parallel make
6444 * win32/common/config.h.in:
6445 add generations for HOST_CPU and GST_MAJORMINOR
6446 * win32/common/config.h:
6447 commit generated result
6449 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6451 * docs/manual/appendix-integration.xml:
6452 Update GNOME integration section to use gst_init_get_option_group()
6453 instead of the old popt stuff (#322911). Also, GNOME applications
6454 should now use gconf*sink and gconf*src instead of the old gconf
6457 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6460 * docs/gst/gstreamer-docs.sgml:
6461 * docs/gst/gstreamer-sections.txt:
6462 * docs/libs/gstreamer-libs-sections.txt:
6463 add new API entries to the docs
6464 * libs/gst/controller/Makefile.am:
6465 * libs/gst/controller/gstcontroller.c:
6466 * libs/gst/controller/gstcontroller.h:
6467 * libs/gst/controller/gstcontrollerprivate.h:
6468 * libs/gst/controller/gsthelper.c:
6469 * libs/gst/controller/gstinterpolation.c:
6470 move private structs to private header
6472 gstreamer-0.7 -> gstreamer-0.10
6473 * tests/check/libs/struct_i386.h:
6474 remove private structs
6476 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6478 * plugins/indexers/Makefile.am:
6479 Fixes as part of #317048
6481 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6483 * plugins/indexers/Makefile.am:
6484 fix #316086 - compilation when mmap is missing
6486 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6488 * libs/gst/base/gstbasesink.c:
6489 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6490 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6491 * win32/common/config.h:
6492 added some defines GST_MAJORMINOR and HOST_CPU
6493 * win32/common/libgstbase.def:
6494 * win32/common/libgstreamer.def:
6495 added some exported functions.
6497 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6499 * libs/gst/controller/gstcontroller.c:
6500 (gst_controlled_property_set_interpolation_mode),
6501 (gst_controlled_property_new):
6502 * libs/gst/controller/gstcontroller.h:
6503 * libs/gst/controller/gstinterpolation.c:
6504 (interpolate_none_get_string_value_array):
6505 make G_TYPE_STRING controlable
6507 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6510 * tools/gst-feedback.1.in:
6511 * tools/gst-inspect.1.in:
6512 * tools/gst-launch.1.in:
6513 * tools/gst-md5sum.1.in:
6514 * tools/gst-typefind.1.in:
6515 * tools/gst-xmlinspect.1.in:
6516 * tools/gst-xmllaunch.1.in:
6517 cleanup man-pages, remove reference to gst-register, document env-vars
6519 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6521 * gst/gstbuffer.c: (gst_buffer_span):
6522 gst_buffer_span should copy the timestamp of the first buffer
6523 if they were both originally overlapping subbuffers of the
6524 same parent, using the same logic as the 'slow copy' case.
6526 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6528 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6529 Need to awaken ALL the pads when we pop a buffer, otherwise
6530 collectpads only works when there is 2 input streams.
6532 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6534 * docs/random/ensonic/media-device-daemon.txt:
6537 fix doc example, add clarification
6538 * tools/gst-launch.1.in:
6539 add initial info about GST_PLUGIN_PATH, needs more work
6541 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6543 * docs/manual/basics-bins.xml:
6544 * docs/manual/basics-elements.xml:
6545 * docs/manual/intro-basics.xml:
6546 Some more minor docs additions and updates.
6548 2006-01-11 Wim Taymans <wim@fluendo.com>
6550 * docs/manual/basics-bins.xml:
6551 * docs/manual/basics-elements.xml:
6552 Some small fixes as pointed out by Ser-ver on IRC.
6554 2006-01-10 Edward Hervey <edward@fluendo.com>
6556 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6557 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6558 the single-segment mode.
6560 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6562 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6564 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6565 (gst_base_src_perform_seek), (gst_base_src_send_event),
6566 (gst_base_src_set_property), (gst_base_src_get_property),
6567 (gst_base_src_loop), (gst_base_src_start),
6568 (gst_base_src_activate_push):
6569 * libs/gst/base/gstbasesrc.h:
6570 Name (private) union; makes Sun's Forte compiler happy (#324900).
6572 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6575 gst-register is gone.
6577 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6579 * gst/gstvalue.c: (_gst_value_initialize):
6580 make the G_TYPE_DATE instantiation work if debug is disabled
6582 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6584 * gst/gstmessage.c: (gst_message_parse_tag),
6585 (gst_message_parse_error), (gst_message_parse_warning):
6586 Don't crash when return location for error/warning debug
6587 string is NULL; add fact that return locations can be
6588 NULL to docs where appropriate.
6590 2006-01-05 Wim Taymans <wim@fluendo.com>
6592 * gst/gstplugin.c: (gst_plugin_load_file):
6593 Replace strdup by g_strdup.
6595 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * docs/pwg/advanced-types.xml:
6600 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6602 submitted by: Abel Cheung
6606 Added Chinese (traditional) translation
6608 2006-01-04 Wim Taymans <wim@fluendo.com>
6610 * docs/manual/basics-pads.xml:
6611 * docs/plugins/Makefile.am:
6612 * docs/plugins/gstreamer-plugins-docs.sgml:
6613 * docs/plugins/gstreamer-plugins-sections.txt:
6614 * docs/pwg/advanced-clock.xml:
6615 * docs/pwg/advanced-scheduling.xml:
6616 * docs/pwg/advanced-types.xml:
6617 * plugins/elements/gstfdsink.c:
6618 * plugins/elements/gstfdsrc.c:
6619 * plugins/elements/gstfdsrc.h:
6620 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6621 * plugins/elements/gstidentity.h:
6622 * plugins/elements/gstqueue.h:
6623 * plugins/elements/gsttee.c:
6624 * plugins/elements/gsttee.h:
6625 * plugins/elements/gsttypefindelement.c:
6626 (gst_type_find_element_class_init):
6627 * plugins/elements/gsttypefindelement.h:
6628 Small updates to various docs.
6629 Added core plugins to docs.
6631 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6634 add a suppression for liboil's uninitialized variable
6636 2006-01-02 James Livingston <jrl at ids dot org dot au>
6638 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6641 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6642 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6643 compiler switch is being used (#325429).
6645 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6647 * gst/gstbin.c: (gst_bin_query):
6648 Disable duration query caching in bins until it gets
6649 fixed (see #324807).
6651 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6653 * tools/gst-inspect.c: (print_element_properties_info):
6654 Handle properties of POINTER and BOXED type.
6656 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6658 * gst/gst.c: (init_post):
6659 Init tags stuff and some other things before loading
6660 any static plugins (there may be other static plugins
6661 than just the GStreamer ones, and they may want to
6662 register their own tags or formats or whatever, and
6663 preferably without segfaulting).
6665 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6666 Print at least a warning in the debug logs if we drop a
6667 query just because we don't know how to adjust the value
6668 in the particular format.
6670 2005-12-24 David Schleef <ds@schleef.org>
6672 * tools/gstreamer-completion:
6673 Replacement for gst-complete written in sh and sed. Only
6674 completes names of features, but that's 90% of what I want
6675 it for. Properties are not available in registry.xml. (Maybe
6678 === release 0.10.1 ===
6680 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6683 releasing 0.10.1, "Nollaig chridheil"
6685 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6688 Add missing quote, should be make ERROR_CFLAGS="".
6690 2005-12-20 Wim Taymans <wim@fluendo.com>
6692 * docs/design/part-trickmodes.txt:
6693 More documentation on trickmodes.
6695 2005-12-20 Edward Hervey <edward@fluendo.com>
6697 * gst/gstcaps.c: (gst_static_caps_get_type):
6699 API addition: GST_TYPE_STATIC_CAPS
6700 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6701 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6702 * gst/gstpadtemplate.h:
6703 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6704 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6707 2005-12-18 Wim Taymans <wim@fluendo.com>
6709 * libs/gst/base/gstadapter.c:
6710 * libs/gst/base/gstadapter.h:
6711 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6712 (gst_base_sink_get_position):
6713 * libs/gst/base/gstbasesink.h:
6714 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6715 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6716 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6717 (gst_base_src_send_event), (gst_base_src_update_length),
6718 (gst_base_src_get_range), (gst_base_src_loop),
6719 (gst_base_src_start):
6720 * libs/gst/base/gstbasesrc.h:
6721 * libs/gst/base/gstbasetransform.h:
6722 * libs/gst/base/gstcollectpads.h:
6723 * libs/gst/base/gstpushsrc.c:
6724 * libs/gst/base/gstpushsrc.h:
6725 * libs/gst/dataprotocol/dataprotocol.c:
6726 * libs/gst/dataprotocol/dataprotocol.h:
6727 * libs/gst/net/gstnetclientclock.h:
6728 * libs/gst/net/gstnettimeprovider.h:
6729 Documentation updates.
6731 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6733 * docs/manual/basics-helloworld.xml:
6734 Remove superfluous closing bracket in helloworld example.
6736 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6738 * tools/gst-launch.1.in:
6739 Update gst-launch man page; add a section with useful
6740 environment variables. Fixes #323882.
6742 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6745 * gst/gst_private.h:
6746 change some char* into char[]
6748 2005-12-16 Wim Taymans <wim@fluendo.com>
6750 * gst/gstregistryxml.c: (load_feature):
6752 Don't use g_object_unref on GstObjects so that we avoid
6753 leaks on unsafe glibs.
6755 2005-12-16 Wim Taymans <wim@fluendo.com>
6757 * gst/gstbin.c: (gst_bin_recalc_state):
6760 2005-12-16 Wim Taymans <wim@fluendo.com>
6763 Added make forever target for check.
6765 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6767 * gst/gst.c: (init_post):
6768 make the registry cache file HOST_CPU-dependent
6770 2005-12-16 Andy Wingo <wingo@pobox.com>
6772 * plugins/elements/gstbufferstore.c
6773 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6776 * tests/check/gst/gstobject.c
6777 (test_fake_object_name_threaded_unique): Pay attention to
6778 g_list_sort return value.
6780 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6782 * tools/gst-feedback-m.m:
6783 Update for 0.9/0.10 (fixes #323870).
6785 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6787 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6788 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6790 * tests/check/gst/gstminiobject.c: (my_foo_init),
6791 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6792 (test_value_collection), (gst_mini_object_suite):
6793 Add test to ensure refcounts end up as expected when passing
6794 GstMiniObjects through g_object_get() and g_object_set().
6796 2005-12-14 Julien MOUTTE <julien@moutte.net>
6798 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6799 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6800 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6801 of collectpads. This version removes a lot of races without
6802 touching API/ABI. Yay !
6804 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6806 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6807 Don't allow activation of a srcpad in pull_range if it has no
6809 Change some debug statements to be a little clearer
6811 * plugins/elements/gsttypefindelement.c:
6812 (gst_type_find_handle_src_query):
6813 Check that we have a peer before executing queries thereupon.
6815 * tests/examples/metadata/read-metadata.c: (message_loop):
6816 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6817 immediately return us any available message with 0 timeout.
6819 2005-12-12 Michael Smith <msmith@fluendo.com>
6821 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6822 Don't unref factories after calling them.
6823 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6824 * plugins/elements/gsttypefindelement.c:
6825 (gst_type_find_element_chain):
6826 Free lists of factories after using them. Fixing typefinding memory
6829 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6831 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6832 (gst_plugin_feature_load):
6833 more meaningful debug output
6835 * tests/Makefile.am:
6836 * tests/old/examples/Makefile.am:
6837 make make distcheck happy again
6839 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6841 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6842 Catch the special case where we are operating chain-based,
6843 but the downstream peer pad has no chain function. Emit a
6844 custom error message in this case instead of letting the
6845 core generate one implying that this is some sort of core
6846 bug. It's not, it just means that whatever got plugged
6847 into the pipeline downstream when we announced the type
6848 can only operate pull-based, while our source can only
6849 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6850 Error string has not been marked for translation yet, as
6851 it probably needs some more work first.
6853 (gst_type_find_element_get_best_possibility):
6854 Add helper function to find the best of all available
6855 found possibilities that qualify given the min. threshold.
6857 (gst_type_find_element_handle_event):
6858 Fix the case where we get an EOS while still in TYPEFIND
6859 mode (we want to chose the best of all possible types,
6860 not just the first type that happens to be in our unsorted
6861 list of possible types).
6863 (gst_type_find_element_chain):
6864 Make sure we return GST_FLOW_ERROR when we errored out
6865 in stop_typefinding(); also, don't just find the best of
6866 all found type entries and then use the last examined
6867 type entry, but actually use the best entry.
6869 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6871 * tests/examples/typefind/typefind.c: (type_found):
6872 * tests/examples/xml/runxml.c: (xml_loaded):
6873 More gcc4 fixes and a mem leak fix.
6875 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6877 * tests/examples/xml/createxml.c: (object_saved):
6880 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6882 * tests/Makefile.am:
6883 enable the examples even more
6885 2005-12-12 Andy Wingo <wingo@pobox.com>
6887 * libs/gst/net/gstnettimeprovider.c
6888 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6889 (gst_net_time_provider_set_property)
6890 (gst_net_time_provider_get_property):
6891 API addition: Export "active" as a GObject property.
6892 (gst_net_time_provider_thread): Only respond to time queries if
6893 the time provider is active.
6895 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6896 NetTimeProvider, preserving binary compat.
6898 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6900 * tests/examples/controller/audio-example.c: (main):
6901 * tests/examples/launch/Makefile.am:
6902 convert comments again
6904 2005-12-12 Wim Taymans <wim@fluendo.com>
6906 * libs/gst/base/gstpushsrc.c:
6909 2005-12-12 Wim Taymans <wim@fluendo.com>
6911 * docs/libs/gstreamer-libs-sections.txt:
6912 Added new symbol to docs.
6914 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6915 (gst_base_src_init), (gst_base_src_set_format),
6916 (gst_base_src_default_query), (gst_base_src_query),
6917 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6918 (gst_base_src_perform_seek), (gst_base_src_send_event),
6919 (gst_base_src_default_event), (gst_base_src_event_handler),
6920 (gst_base_src_set_property), (gst_base_src_get_property),
6921 (gst_base_src_wait), (gst_base_src_do_sync),
6922 (gst_base_src_update_length), (gst_base_src_get_range),
6923 (gst_base_src_check_get_range), (gst_base_src_loop),
6924 (gst_base_src_default_negotiate), (gst_base_src_start),
6925 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6926 (gst_base_src_change_state):
6927 * libs/gst/base/gstbasesrc.h:
6928 Implement seeking to other formats than _BYTES.
6929 Implement more seeking methods correctly.
6931 Added query vmethod.
6932 Added do_seek vmethod to make life easier for subclasses
6934 API addition: gst_base_src_set_format()
6936 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6938 * tests/examples/Makefile.am:
6941 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6944 * docs/random/ensonic/media-device-daemon.txt:
6945 * tests/examples/controller/.cvsignore:
6946 * tests/examples/controller/Makefile.am:
6947 * tests/examples/controller/audio-example.c: (main):
6948 * tests/examples/helloworld/.cvsignore:
6949 * tests/examples/helloworld/Makefile.am:
6950 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6951 * tests/examples/launch/.cvsignore:
6952 * tests/examples/launch/Makefile.am:
6953 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6954 * tests/examples/metadata/.cvsignore:
6955 * tests/examples/metadata/Makefile.am:
6956 * tests/examples/metadata/read-metadata.c: (message_loop),
6957 (make_pipeline), (print_tag), (main):
6958 * tests/examples/queue/.cvsignore:
6959 * tests/examples/queue/Makefile.am:
6960 * tests/examples/queue/queue.c: (event_loop), (main):
6961 * tests/examples/typefind/.cvsignore:
6962 * tests/examples/typefind/Makefile.am:
6963 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6965 * tests/examples/xml/.cvsignore:
6966 * tests/examples/xml/Makefile.am:
6967 * tests/examples/xml/createxml.c: (object_saved), (main):
6968 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6969 * tests/old/examples/Makefile.am:
6970 * tests/old/examples/TODO:
6971 * tests/old/examples/controller/.cvsignore:
6972 * tests/old/examples/controller/Makefile.am:
6973 * tests/old/examples/controller/audio-example.c:
6974 * tests/old/examples/helloworld/.cvsignore:
6975 * tests/old/examples/helloworld/Makefile.am:
6976 * tests/old/examples/helloworld/helloworld.c:
6977 * tests/old/examples/launch/.cvsignore:
6978 * tests/old/examples/launch/Makefile.am:
6979 * tests/old/examples/launch/mp3parselaunch.c:
6980 * tests/old/examples/launch/mp3play:
6981 * tests/old/examples/manual/Makefile.am:
6982 * tests/old/examples/metadata/Makefile.am:
6983 * tests/old/examples/metadata/read-metadata.c:
6984 * tests/old/examples/queue/.cvsignore:
6985 * tests/old/examples/queue/Makefile.am:
6986 * tests/old/examples/queue/queue.c:
6987 * tests/old/examples/typefind/.cvsignore:
6988 * tests/old/examples/typefind/Makefile.am:
6989 * tests/old/examples/typefind/typefind.c:
6990 * tests/old/examples/xml/.cvsignore:
6991 * tests/old/examples/xml/Makefile.am:
6992 * tests/old/examples/xml/createxml.c:
6993 * tests/old/examples/xml/runxml.c:
6994 applied some simple fixing to some examples
6995 re-enabled the working examples
6997 2005-12-12 Wim Taymans <wim@fluendo.com>
6999 * gst/gstsegment.c: (gst_segment_init),
7000 (gst_segment_set_last_stop), (gst_segment_set_seek),
7001 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7002 (gst_segment_to_running_time):
7003 Added more documentation.
7004 Make sure the last_pos value is updated properly.
7005 Make sure to_stream_time and to_running_time don't
7006 operate on wrong values.
7008 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7011 2005-12-12 Michael Smith <msmith@fluendo.com>
7013 * plugins/elements/gsttypefindelement.c: (free_entry),
7014 (gst_type_find_element_chain):
7015 Now that we're not leaking factories, make sure we keep references
7016 to them while we need them.
7018 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
7020 * tests/check/gst/struct_i386.h:
7021 ifdef out the XML structs
7023 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
7025 * gst/gstvalue.c: (gst_value_transform_double_fraction):
7026 floor is not needed, F is always positive; this obviates the
7027 need for adding -lm when building without libxml
7029 2005-12-12 Wim Taymans <wim@fluendo.com>
7031 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7032 Take current playback rate into account when reporting
7035 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7037 * docs/manual/mime-world.fig:
7038 Let's try this again, this time with a file that is
7039 actually in XFig format.
7041 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7043 * docs/manual/mime-world.fig:
7044 Add audioconvert element to diagram so that it
7045 matches the text and the code (fixes #319526).
7047 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7049 * docs/pwg/building-chainfn.xml:
7050 * docs/pwg/building-pads.xml:
7051 * docs/pwg/building-state.xml:
7052 * docs/pwg/other-source.xml:
7053 Update state change stuff for 0.10 (fixes #322969).
7055 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7057 * docs/manual/advanced-dataaccess.xml:
7058 * docs/manual/appendix-checklist.xml:
7059 * docs/manual/appendix-programs.xml:
7060 * docs/manual/basics-pads.xml:
7061 * docs/manual/highlevel-components.xml:
7062 * docs/manual/manual.xml:
7063 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
7064 add converters in front of pipelines; remove curly
7065 brackets for threads stuff, they no longer exist; use
7066 GST_TYPE_FRACTION for framerates; update some pieces of
7067 code to 0.10, but there's plenty more to do.
7069 * docs/manual/appendix-porting.xml:
7070 Expand on asynchroneous state changes; s/0.9/0.10/;
7071 mention disappearance of gst_init_get_popt_table()
7074 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7076 * docs/faq/using.xml:
7077 Spider no longer exists, and neither does gst-launch-ext.
7078 Update examples to use decodebin and playbin and put
7079 converters in front of sinks (fixes #323726).
7081 2005-12-09 Michael Smith <msmith@fluendo.com>
7083 * plugins/elements/gsttypefindelement.c: (find_peek),
7084 (gst_type_find_element_chain):
7085 Fix leaking element factories in typefinding.
7086 Fix problem where we forgot about a probable type on non-seekable
7087 files, and thus later mis-typefound it.
7089 2005-12-09 Michael Smith <msmith@fluendo.com>
7091 * common/m4/gst-makecontext.m4:
7092 * common/m4/gst-mcsc.m4:
7094 * win32/common/config.h:
7095 * win32/common/config.h.in:
7096 Remove makecontext stuff; not used in 0.10 and causes problems on
7097 HPUX according to bug #322441
7099 2005-12-07 Wim Taymans <wim@fluendo.com>
7101 * tests/check/Makefile.am:
7102 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7104 * tests/check/libs/struct_i386.h:
7105 Added ABI check for libs
7107 2005-12-07 Wim Taymans <wim@fluendo.com>
7109 * tests/check/Makefile.am:
7110 And add the struct_i386.h to dist.
7112 2005-12-07 Wim Taymans <wim@fluendo.com>
7114 * tests/check/Makefile.am:
7115 * tests/check/gst/.cvsignore:
7116 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7118 * tests/check/gst/struct_i386.h:
7119 Added check for ABI compatibility.
7121 2005-12-07 Wim Taymans <wim@fluendo.com>
7123 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7124 (gst_fake_src_get_times), (gst_fake_src_create):
7125 Fix broken sync option, fixes #323259
7127 2005-12-07 Wim Taymans <wim@fluendo.com>
7132 * gst/gstcaps.c: (gst_caps_is_equal):
7133 Don't assert on NULL <--> X. Fixes #323260
7135 * gst/gstminiobject.c: (gst_mini_object_replace):
7136 If we're doing atomic operations, we might just as well use
7137 the proper way to get an atomic pointer.
7139 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7142 2005-12-07 Michael Smith <msmith@fluendo.com>
7144 * gst/parse/grammar.y:
7145 Remove handling of { } for threads.
7147 2005-12-06 David Schleef <ds@schleef.org>
7149 * libs/gst/base/gstbasetransform.c: speling fix.
7151 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
7153 * docs/libs/tmpl/gstdataprotocol.sgml:
7154 * docs/random/omega/testing/gstobject.c:
7158 * gst/gstelementfactory.c:
7161 * gst/gstghostpad.c:
7163 * gst/gstpadtemplate.c:
7164 * gst/gstregistryxml.c:
7166 * gst/gsttagsetter.c:
7167 * gst/gsttypefind.c:
7169 * libs/gst/base/gstbasesrc.c:
7170 * libs/gst/net/gstnetclientclock.c:
7171 * libs/gst/net/gstnettimeprovider.c:
7172 * plugins/elements/gstfakesrc.c:
7173 * plugins/elements/gstfdsrc.c:
7174 * plugins/elements/gstfilesrc.c:
7175 * plugins/elements/gstidentity.c:
7176 * plugins/elements/gstqueue.c:
7177 * plugins/elements/gsttypefindelement.c:
7178 * plugins/indexers/gstfileindex.c:
7179 * plugins/indexers/gstmemindex.c:
7180 * tests/check/gst/gsttag.c:
7181 * tests/old/examples/cutter/cutter.c:
7182 * tests/old/examples/mixer/mixer.c:
7183 * tests/old/examples/xml/runxml.c: (main):
7184 * tests/old/testsuite/caps/normalisation.c:
7185 * tests/old/testsuite/debug/global.c:
7186 * tests/old/testsuite/parse/parse1.c:
7187 * tools/gst-xmlinspect.c:
7188 * win32/common/dirent.c:
7191 === release 0.10.0 ===
7193 2005-12-05 <thomas (at) apestaart (dot) org>
7196 releasing 0.10.0, "Maroilles"
7198 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7200 submitted by: Funda Wang <fundawang@linux.net.cn>
7204 added Chinese (Traditional) translation
7206 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7208 * docs/gst/gstreamer-sections.txt:
7209 * docs/libs/tmpl/gstdataprotocol.sgml:
7210 * docs/random/thomasvs/TODO:
7215 2005-12-05 Andy Wingo <wingo@pobox.com>
7217 patch by: Wim Taymans <wim@fluendo.com>
7219 * libs/gst/base/gstbasetransform.c
7220 (gst_base_transform_prepare_output_buf)
7221 (gst_base_transform_buffer_alloc):
7222 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7223 alloc_buffer_and_set_caps.
7225 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7226 set_caps on the source pad.
7227 (gst_pad_alloc_buffer_and_set_caps): New function, does what
7228 alloc_buffer used to do. Fixes #322874.
7230 * docs/gst/gstreamer-sections.txt:
7231 * docs/design/part-negotiation.txt:
7232 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7235 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7237 patch by: Sebastien Moutte
7240 * win32/common/config.h.in:
7241 * win32/vs6/libgstcontroller.dsp:
7244 2005-12-05 Wim Taymans <wim@fluendo.com>
7246 * gst/gstcaps.c: (gst_caps_is_equal):
7247 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7248 (gst_fake_src_create):
7249 Back out previous code changes, leave doc updates, file bugs
7252 2005-12-05 Wim Taymans <wim@fluendo.com>
7254 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7255 (gst_fake_src_get_times), (gst_fake_src_create):
7256 * plugins/elements/gstfakesrc.h:
7257 Fix broken sync code.
7259 2005-12-05 Wim Taymans <wim@fluendo.com>
7261 * gst/gstcaps.c: (gst_caps_is_equal):
7262 Comparing NULL against !NULL yields different caps, not a
7265 2005-12-05 Wim Taymans <wim@fluendo.com>
7267 * gst/gstpipeline.c:
7268 Fix small typo in docs.
7270 2005-12-05 Andy Wingo <wingo@pobox.com>
7272 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
7274 * gst/gst.c (init_post): remove hard-coded 0.9 location for
7275 registries/plugins with a MAJORMINOR one.
7276 (plugin_desc): Rename library from gstcoreleements to
7277 staticelements. Fixes #323222.
7279 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
7281 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7282 Change debug category to 'collectpads' from 'collect_pads'
7285 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7287 patch by: Sebastien Moutte
7289 * libs/gst/controller/gstinterpolation.c:
7290 use convert function for uint64/double
7291 * win32/vs6/libgstcontroller.dsp:
7294 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7296 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7297 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7299 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7300 add tests that seem to show that the guint64/gdouble conversions
7303 2005-12-02 Wim Taymans <wim@fluendo.com>
7305 * gst/gstregistry.c: (gst_registry_add_path):
7306 * gst/gstregistry.h:
7307 * gst/gstregistryxml.c:
7310 2005-12-02 Wim Taymans <wim@fluendo.com>
7312 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7313 (gst_util_uint64_scale_int):
7316 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7319 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7322 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7325 * win32/common/config.h:
7326 * win32/vs6/gstreamer.dsw:
7327 * win32/vs6/libgstcoreelements.dsp:
7328 * win32/vs6/libgstelements.dsp:
7329 renamed core elements plugin
7331 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7333 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7335 do piece-wise major/minor comparison so 0.9 < 0.10
7336 also allow .exe extensions for tools
7338 2005-12-02 Michael Smith <msmith@fluendo.com>
7341 Escape a % to make gtkdoc happier; bug 322958.
7343 === release 0.9.7 ===
7345 2005-12-01 <thomas (at) apestaart (dot) org>
7348 releasing 0.9.7, "My Dog Has No Nose"
7350 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7352 * common/gst-xmlinspect.py:
7354 * docs/libs/tmpl/gstdataprotocol.sgml:
7355 * docs/random/release:
7374 * win32/common/config.h:
7375 * win32/common/config.h.in:
7376 * win32/vs6/gst_inspect.dsp:
7377 * win32/vs6/gst_launch.dsp:
7378 * win32/vs6/libgstbase.dsp:
7379 * win32/vs6/libgstelements.dsp:
7380 * win32/vs6/libgstreamer.dsp:
7381 * win32/vs7/GStreamer.vcproj:
7382 * win32/vs7/gst-inspect.vcproj:
7383 * win32/vs7/gst-launch.vcproj:
7384 * win32/vs7/libgstbase.vcproj:
7385 bump GST_MAJORMINOR to 0.10
7386 reset libtool version
7388 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7392 Added Bulgarian translation by (Alexander Shopov)
7394 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7396 * tests/check/gst/gstplugin.c:
7399 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7401 * common/gst-xmlinspect.py:
7402 * common/gtk-doc-plugins.mak:
7405 * docs/gst/Makefile.am:
7406 * docs/gst/gstreamer-docs.sgml:
7407 * docs/gst/gstreamer-sections.txt:
7408 * docs/gst/gstreamer.types:
7409 * docs/gst/gstreamer.types.in:
7410 * docs/plugins/Makefile.am:
7411 * docs/plugins/gstreamer-plugins-docs.sgml:
7412 * docs/plugins/gstreamer-plugins-sections.txt:
7413 * docs/plugins/gstreamer-plugins.types:
7414 * docs/plugins/inspect.stamp:
7415 * docs/plugins/inspect/plugin-coreelements.xml:
7416 * docs/plugins/inspect/plugin-coreindexers.xml:
7417 * docs/plugins/scanobj-build.stamp:
7418 * gstreamer.spec.in:
7419 * plugins/elements/Makefile.am:
7420 * plugins/elements/gstelements.c:
7421 * plugins/elements/gstfakesink.c:
7422 * plugins/elements/gstfakesrc.c:
7423 * plugins/elements/gstfilesink.c:
7424 * plugins/elements/gstfilesrc.c:
7425 * plugins/elements/gstqueue.c:
7426 * plugins/indexers/Makefile.am:
7427 * plugins/indexers/gstindexers.c:
7428 document core plugins in a separate document just like all the
7430 rename these plugins to something starting with core
7432 2005-12-01 Andy Wingo <wingo@pobox.com>
7434 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7435 padding here before, but it missed the commit.
7437 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7439 * libs/gst/controller/gstinterpolation.c:
7440 whitespace prices have crashed, we should feel free to use some now
7441 use gst_guint64_to_gdouble
7443 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7445 * libs/gst/controller/gstcontroller.c:
7446 * libs/gst/controller/gsthelper.c:
7447 * libs/gst/controller/gstinterpolation.c:
7448 * libs/gst/controller/lib.c:
7449 wrap config.h include
7451 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7453 * docs/gst/gstreamer-sections.txt:
7456 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7458 * plugins/elements/gstelements.c:
7459 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7460 (gst_fd_sink__class_init), (gst_fd_sink__init),
7461 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7462 (gst_fd_sink__get_property):
7463 * plugins/elements/gstfdsink.h:
7464 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7465 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7466 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7467 (gst_fd_src_unlock), (gst_fd_src_set_property),
7468 (gst_fd_src_get_property), (gst_fd_src_create),
7469 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7470 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7471 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7472 (gst_fd_src_uri_handler_init):
7473 * plugins/elements/gstfdsrc.h:
7474 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7477 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7479 * docs/gst/Makefile.am:
7480 * docs/gst/gstreamer.types.in:
7484 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7490 * gst/gstregistry.h:
7491 * tests/benchmarks/complexity.c:
7492 * tests/benchmarks/mass-elements.c:
7493 * tests/check/Makefile.am:
7494 * tools/Makefile.am:
7495 * tools/gst-inspect.c:
7496 * tools/gst-xmlinspect.c:
7497 various fixes to make
7498 --disable-nls --disable-registry --disable-loadsave
7499 --disable-parse --disable-gst-debug
7500 work and get the core .so down to 360444 bytes after stripping
7502 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7507 * docs/random/thomasvs/TODO:
7508 * tests/Makefile.am:
7512 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7514 * win32/GStreamer.vcproj:
7517 * win32/Makefile.inspect:
7518 * win32/Makefile.launch:
7519 * win32/Makefile.register:
7521 * win32/gst-inspect.vcproj:
7522 * win32/gst-launch.vcproj:
7523 * win32/gst-register.vcproj:
7524 * win32/gstelements.vcproj:
7525 * win32/gstgetbits.def:
7526 * win32/gstgetbits.vcproj:
7527 * win32/gstreamer-dbg.def:
7528 * win32/gstreamer.def:
7529 * win32/libgstbase.def:
7530 * win32/libgstbase.vcproj:
7531 * win32/link_oldruntime.c:
7536 move even more stuff, win32/ is nice and clean now
7538 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7540 * libs/gst/control/.cvsignore:
7545 * win32/gstbytestream.def:
7546 * win32/gstbytestream.vcproj:
7547 * win32/gstconfig.h:
7548 * win32/gstenumtypes.c:
7549 * win32/gstenumtypes.h:
7550 * win32/gstoptimalscheduler.vcproj:
7551 * win32/gstversion.h:
7553 * win32/testsuite/bins.vcproj:
7554 * win32/testsuite/bytestream.vcproj:
7555 * win32/testsuite/caps.vcproj:
7556 * win32/testsuite/cleanup.vcproj:
7557 * win32/testsuite/clock.vcproj:
7558 * win32/testsuite/debug.vcproj:
7559 * win32/testsuite/dlopen.vcproj:
7560 * win32/testsuite/dynparams.vcproj:
7561 * win32/testsuite/elements.vcproj:
7562 * win32/testsuite/ghostpads.vcproj:
7563 * win32/testsuite/indexers.vcproj:
7564 * win32/testsuite/negotiation.vcproj:
7565 * win32/testsuite/parse.vcproj:
7566 * win32/testsuite/plugin.vcproj:
7567 * win32/testsuite/refcounting.vcproj:
7568 * win32/testsuite/schedulers.vcproj:
7569 * win32/testsuite/states.vcproj:
7570 * win32/testsuite/tags.vcproj:
7571 * win32/testsuite/threads.vcproj:
7572 remove old win32 stuff that isn't maintained and should be
7575 2005-11-30 Andy Wingo <wingo@pobox.com>
7577 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7578 loading the gst.interfaces python module bork.
7580 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7581 available since GLib 2.2. Fixes #318031.
7583 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7587 * check/Makefile.am:
7588 * check/elements/.cvsignore:
7589 * check/elements/fakesrc.c:
7590 * check/elements/fdsrc.c:
7591 * check/elements/identity.c:
7592 * check/generic/.cvsignore:
7593 * check/generic/states.c:
7594 * check/gst-libs/.cvsignore:
7595 * check/gst-libs/controller.c:
7596 * check/gst-libs/gdp.c:
7597 * check/gst/.cvsignore:
7598 * check/gst/capslist.h:
7600 * check/gst/gstbin.c:
7601 * check/gst/gstbuffer.c:
7602 * check/gst/gstbus.c:
7603 * check/gst/gstcaps.c:
7604 * check/gst/gstelement.c:
7605 * check/gst/gstevent.c:
7606 * check/gst/gstghostpad.c:
7607 * check/gst/gstiterator.c:
7608 * check/gst/gstmessage.c:
7609 * check/gst/gstminiobject.c:
7610 * check/gst/gstobject.c:
7611 * check/gst/gstpad.c:
7612 * check/gst/gstpipeline.c:
7613 * check/gst/gstplugin.c:
7614 * check/gst/gstsegment.c:
7615 * check/gst/gststructure.c:
7616 * check/gst/gstsystemclock.c:
7617 * check/gst/gsttag.c:
7618 * check/gst/gstutils.c:
7619 * check/gst/gstvalue.c:
7620 * check/net/.cvsignore:
7621 * check/net/gstnetclientclock.c:
7622 * check/net/gstnettimeprovider.c:
7623 * check/pipelines/.cvsignore:
7624 * check/pipelines/cleanup.c:
7625 * check/pipelines/simple_launch_lines.c:
7626 * check/pipelines/stress.c:
7627 * check/states/.cvsignore:
7628 * check/states/sinks.c:
7630 * examples/Makefile.am:
7631 * examples/appreader/.cvsignore:
7632 * examples/appreader/Makefile.am:
7633 * examples/appreader/appreader.c:
7634 * examples/controller/.cvsignore:
7635 * examples/controller/Makefile.am:
7636 * examples/controller/audio-example.c:
7637 * examples/cutter/.cvsignore:
7638 * examples/cutter/Makefile.am:
7639 * examples/cutter/cutter.c:
7640 * examples/cutter/cutter.h:
7641 * examples/events/Makefile.am:
7642 * examples/events/seek.c:
7643 * examples/helloworld/.cvsignore:
7644 * examples/helloworld/Makefile.am:
7645 * examples/helloworld/helloworld.c:
7646 * examples/helloworld2/.cvsignore:
7647 * examples/helloworld2/Makefile.am:
7648 * examples/helloworld2/helloworld2.c:
7649 * examples/launch/.cvsignore:
7650 * examples/launch/Makefile.am:
7651 * examples/launch/mp3parselaunch.c:
7652 * examples/launch/mp3play:
7653 * examples/manual/.cvsignore:
7654 * examples/manual/Makefile.am:
7655 * examples/manual/extract.pl:
7656 * examples/metadata/Makefile.am:
7657 * examples/metadata/read-metadata.c:
7658 * examples/mixer/.cvsignore:
7659 * examples/mixer/Makefile.am:
7660 * examples/mixer/mixer.c:
7661 * examples/mixer/mixer.h:
7662 * examples/pingpong/.cvsignore:
7663 * examples/pingpong/Makefile.am:
7664 * examples/pingpong/pingpong.c:
7665 * examples/plugins/.cvsignore:
7666 * examples/plugins/Makefile.am:
7667 * examples/plugins/example.c:
7668 * examples/plugins/example.h:
7669 * examples/pwg/.cvsignore:
7670 * examples/pwg/Makefile.am:
7671 * examples/pwg/extract.pl:
7672 * examples/queue/.cvsignore:
7673 * examples/queue/Makefile.am:
7674 * examples/queue/queue.c:
7675 * examples/queue2/.cvsignore:
7676 * examples/queue2/Makefile.am:
7677 * examples/queue2/queue2.c:
7678 * examples/queue3/.cvsignore:
7679 * examples/queue3/Makefile.am:
7680 * examples/queue3/queue3.c:
7681 * examples/queue4/.cvsignore:
7682 * examples/queue4/Makefile.am:
7683 * examples/queue4/queue4.c:
7684 * examples/retag/.cvsignore:
7685 * examples/retag/Makefile.am:
7686 * examples/retag/retag.c:
7687 * examples/retag/transcode.c:
7688 * examples/thread/.cvsignore:
7689 * examples/thread/Makefile.am:
7690 * examples/thread/thread.c:
7691 * examples/typefind/.cvsignore:
7692 * examples/typefind/Makefile.am:
7693 * examples/typefind/typefind.c:
7694 * examples/xml/.cvsignore:
7695 * examples/xml/Makefile.am:
7696 * examples/xml/createxml.c:
7697 * examples/xml/runxml.c:
7698 * tests/Makefile.am:
7699 * tests/check/Makefile.am:
7700 * testsuite/.cvsignore:
7701 * testsuite/Makefile.am:
7703 * testsuite/caps/.cvsignore:
7704 * testsuite/caps/Makefile.am:
7705 * testsuite/caps/app_fixate.c:
7706 * testsuite/caps/audioscale.c:
7707 * testsuite/caps/caps.c:
7708 * testsuite/caps/caps.h:
7709 * testsuite/caps/caps_strings:
7710 * testsuite/caps/compatibility.c:
7711 * testsuite/caps/deserialize.c:
7712 * testsuite/caps/enumcaps.c:
7713 * testsuite/caps/eratosthenes.c:
7714 * testsuite/caps/filtercaps.c:
7715 * testsuite/caps/fixed.c:
7716 * testsuite/caps/fraction-convert.c:
7717 * testsuite/caps/fraction-multiply-and-zero.c:
7718 * testsuite/caps/intersect2.c:
7719 * testsuite/caps/intersection.c:
7720 * testsuite/caps/normalisation.c:
7721 * testsuite/caps/random.c:
7722 * testsuite/caps/renegotiate.c:
7723 * testsuite/caps/sets.c:
7724 * testsuite/caps/simplify.c:
7725 * testsuite/caps/string-conversions.c:
7726 * testsuite/caps/structure.c:
7727 * testsuite/caps/subtract.c:
7728 * testsuite/caps/union.c:
7729 * testsuite/debug/.cvsignore:
7730 * testsuite/debug/Makefile.am:
7731 * testsuite/debug/category.c:
7732 * testsuite/debug/commandline.c:
7733 * testsuite/debug/global.c:
7734 * testsuite/debug/output.c:
7735 * testsuite/debug/printf_extension.c:
7736 * testsuite/dlopen/.cvsignore:
7737 * testsuite/dlopen/Makefile.am:
7738 * testsuite/dlopen/dlopen_gst.c:
7739 * testsuite/dlopen/loadgst.c:
7740 * testsuite/elements/.cvsignore:
7741 * testsuite/elements/Makefile.am:
7742 * testsuite/elements/gst-inspect-check.in:
7743 * testsuite/elements/struct_i386.h:
7744 * testsuite/elements/struct_size.c:
7745 * testsuite/indexers/.cvsignore:
7746 * testsuite/indexers/Makefile.am:
7747 * testsuite/indexers/cache1.c:
7748 * testsuite/indexers/indexdump.c:
7749 * testsuite/parse/.cvsignore:
7750 * testsuite/parse/Makefile.am:
7751 * testsuite/parse/parse1.c:
7752 * testsuite/parse/parse2.c:
7753 * testsuite/plugin/.cvsignore:
7754 * testsuite/plugin/Makefile.am:
7755 * testsuite/plugin/README:
7756 * testsuite/plugin/dynamic.c:
7757 * testsuite/plugin/linked.c:
7758 * testsuite/plugin/loading.c:
7759 * testsuite/plugin/registry.c:
7760 * testsuite/plugin/static.c:
7761 * testsuite/plugin/static2.c:
7762 * testsuite/plugin/testplugin.c:
7763 * testsuite/plugin/testplugin2.c:
7764 * testsuite/plugin/testplugin2_s.c:
7765 * testsuite/plugin/testplugin_s.c:
7766 * testsuite/refcounting/.cvsignore:
7767 * testsuite/refcounting/Makefile.am:
7768 * testsuite/refcounting/bin.c:
7769 * testsuite/refcounting/element.c:
7770 * testsuite/refcounting/element_pad.c:
7771 * testsuite/refcounting/mainloop.c:
7772 * testsuite/refcounting/mem.c:
7773 * testsuite/refcounting/mem.h:
7774 * testsuite/refcounting/object.c:
7775 * testsuite/refcounting/pad.c:
7776 * testsuite/refcounting/sched.c:
7777 * testsuite/refcounting/thread.c:
7778 * testsuite/states/.cvsignore:
7779 * testsuite/states/Makefile.am:
7780 * testsuite/states/bin.c:
7781 * testsuite/states/locked.c:
7782 * testsuite/states/parent.c:
7783 * testsuite/threads/.cvsignore:
7784 * testsuite/threads/159566.c:
7785 * testsuite/threads/159852.c:
7786 * testsuite/threads/Makefile.am:
7787 * testsuite/threads/queue.c:
7788 * testsuite/threads/signals.c:
7789 * testsuite/threads/staticrec.c:
7790 * testsuite/threads/thread.c:
7791 * testsuite/threads/threadb.c:
7792 * testsuite/threads/threadc.c:
7793 * testsuite/threads/threadd.c:
7794 * testsuite/threads/threade.c:
7795 * testsuite/threads/threadf.c:
7796 * testsuite/threads/threadg.c:
7797 * testsuite/threads/threadh.c:
7798 * testsuite/threads/threadi.c:
7799 move all of these under tests
7801 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7804 * tests/Makefile.am:
7807 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7809 * docs/gst/gstreamer-sections.txt:
7810 * tests/sched/.cvsignore:
7811 * tests/sched/Makefile.am:
7812 * tests/sched/cases/(fs-fs).xml:
7813 * tests/sched/cases/(fs-i-fs).xml:
7814 * tests/sched/cases/(fs-i-i-fs).xml:
7815 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7816 * tests/sched/dynamic-pipeline.c:
7817 * tests/sched/interrupt1.c:
7818 * tests/sched/interrupt2.c:
7819 * tests/sched/interrupt3.c:
7820 * tests/sched/runtestcases:
7821 * tests/sched/runxml.c:
7822 * tests/sched/sched-stress.c:
7823 * tests/sched/sort.c:
7824 * tests/sched/testcases:
7825 * tests/sched/testcases1.tc:
7826 * tests/seeking/.cvsignore:
7827 * tests/seeking/Makefile.am:
7828 * tests/seeking/seeking1.c:
7829 * tests/threadstate/.cvsignore:
7830 * tests/threadstate/Makefile.am:
7831 * tests/threadstate/test1.c:
7832 * tests/threadstate/test2.c:
7833 * tests/threadstate/threadstate1.c:
7834 * tests/threadstate/threadstate2.c:
7835 * tests/threadstate/threadstate3.c:
7836 * tests/threadstate/threadstate4.c:
7837 * tests/threadstate/threadstate5.c:
7838 remove obsolete tests
7840 * tests/bench-complexity.scm:
7841 * tests/bench-mass_elements.scm:
7842 * tests/complexity.c:
7843 * tests/complexity.gnuplot:
7844 * tests/instantiate/.cvsignore:
7845 * tests/instantiate/Makefile.am:
7846 * tests/instantiate/caps.c:
7847 * tests/mass_elements.c:
7848 * tests/network-clock-utils.scm:
7849 * tests/network-clock.scm:
7851 First pass at cleaning up tests/ dir before moving the rest
7852 Combined with CVS surgery
7854 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7857 queue has moved, update
7859 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7861 * docs/gst/gstreamer-sections.txt:
7862 remove double entries from the docs
7863 * gst/gst_private.h:
7864 * gst/gstinfo.c: (_gst_debug_init):
7865 remove the THREAD debug category
7869 * docs/gst/gstreamer.types:
7870 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7871 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7872 completely move queue and fix up debugging categories
7874 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7876 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7877 make initialization portable, using LL is not
7879 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7881 * win32/common/gstconfig.h:
7884 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7886 * win32/common/libgstreamer.def:
7887 rename symbols; sort base section
7889 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7891 * gst/gstclock.c: (do_linear_regression):
7892 remove crack non-portable handrolled DEBUG macro
7894 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7896 * docs/random/release:
7898 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7899 (gst_object_flags_get_type), (register_gst_bin_flags),
7900 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7901 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7902 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7903 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7904 (gst_caps_flags_get_type), (register_gst_clock_return),
7905 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7906 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7907 (gst_clock_flags_get_type), (register_gst_state),
7908 (gst_state_get_type), (register_gst_state_change_return),
7909 (gst_state_change_return_get_type), (register_gst_state_change),
7910 (gst_state_change_get_type), (register_gst_element_flags),
7911 (gst_element_flags_get_type), (register_gst_core_error),
7912 (gst_core_error_get_type), (register_gst_library_error),
7913 (gst_library_error_get_type), (register_gst_resource_error),
7914 (gst_resource_error_get_type), (register_gst_stream_error),
7915 (gst_stream_error_get_type), (register_gst_event_type_flags),
7916 (gst_event_type_flags_get_type), (register_gst_event_type),
7917 (gst_event_type_get_type), (register_gst_seek_type),
7918 (gst_seek_type_get_type), (register_gst_seek_flags),
7919 (gst_seek_flags_get_type), (register_gst_format),
7920 (gst_format_get_type), (register_gst_index_certainty),
7921 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7922 (gst_index_entry_type_get_type),
7923 (register_gst_index_lookup_method),
7924 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7925 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7926 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7927 (gst_index_flags_get_type), (register_gst_debug_level),
7928 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7929 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7930 (gst_iterator_result_get_type), (register_gst_iterator_item),
7931 (gst_iterator_item_get_type), (register_gst_message_type),
7932 (gst_message_type_get_type), (register_gst_mini_object_flags),
7933 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7934 (gst_pad_link_return_get_type), (register_gst_flow_return),
7935 (gst_flow_return_get_type), (register_gst_activate_mode),
7936 (gst_activate_mode_get_type), (register_gst_pad_direction),
7937 (gst_pad_direction_get_type), (register_gst_pad_flags),
7938 (gst_pad_flags_get_type), (register_gst_pad_presence),
7939 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7940 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7941 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7942 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7943 (gst_plugin_flags_get_type), (register_gst_rank),
7944 (gst_rank_get_type), (register_gst_query_type),
7945 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7946 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7947 (gst_tag_flag_get_type), (register_gst_task_state),
7948 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7949 (gst_alloc_trace_flags_get_type),
7950 (register_gst_type_find_probability),
7951 (gst_type_find_probability_get_type), (register_gst_uri_type),
7952 (gst_uri_type_get_type), (register_gst_parse_error),
7953 (gst_parse_error_get_type):
7954 * win32/common/gstenumtypes.h:
7955 * win32/common/gstversion.h:
7956 update visual studio generated files
7958 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7960 * win32/vs6/libgstbase.dsp:
7961 * win32/vs6/libgstelements.dsp:
7962 update project files for new locations
7964 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7969 reinstate and update
7974 * docs/random/LICENSE:
7977 2005-11-30 Edward Hervey <edward@fluendo.com>
7979 * gst/gsttypefind.c: (gst_type_find_register):
7980 * gst/gsttypefind.h:
7981 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7982 (gst_type_find_factory_dispose):
7983 * gst/gsttypefindfactory.h:
7984 Fix memory leak in GstTypeFindFactory.
7986 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7989 * plugins/elements/Makefile.am:
7990 * plugins/elements/gstelements.c:
7991 * plugins/elements/gstqueue.c:
7992 move queue from core to the elements plugin
7994 2005-11-29 Andy Wingo <wingo@pobox.com>
7996 * libs/gst/base/gstbasetransform.h:
7997 * libs/gst/base/gstbasesrc.h:
7998 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
8000 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
8001 of pointers by which to pad very extensible base classes (like the
8002 ones in libs/gst/base).
8004 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8006 * docs/gst/gstreamer-docs.sgml:
8007 * docs/gst/gstreamer-sections.txt:
8008 * docs/libs/gstreamer-libs-docs.sgml:
8009 * docs/libs/gstreamer-libs-sections.txt:
8010 moving documentation from core to lib
8012 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8014 * check/Makefile.am:
8016 * docs/gst/Makefile.am:
8018 * gst/base/.cvsignore:
8019 * gst/base/Makefile.am:
8021 * gst/base/gstadapter.c:
8022 * gst/base/gstadapter.h:
8023 * gst/base/gstbasesink.c:
8024 * gst/base/gstbasesink.h:
8025 * gst/base/gstbasesrc.c:
8026 * gst/base/gstbasesrc.h:
8027 * gst/base/gstbasetransform.c:
8028 * gst/base/gstbasetransform.h:
8029 * gst/base/gstcollectpads.c:
8030 * gst/base/gstcollectpads.h:
8031 * gst/base/gstpushsrc.c:
8032 * gst/base/gstpushsrc.h:
8033 * gst/base/gsttypefindhelper.c:
8034 * gst/base/gsttypefindhelper.h:
8035 * gst/check/Makefile.am:
8036 * gst/check/gstcheck.c:
8037 * gst/check/gstcheck.h:
8038 * gst/net/Makefile.am:
8040 * gst/net/gstnetclientclock.c:
8041 * gst/net/gstnetclientclock.h:
8042 * gst/net/gstnettimepacket.c:
8043 * gst/net/gstnettimepacket.h:
8044 * gst/net/gstnettimeprovider.c:
8045 * gst/net/gstnettimeprovider.h:
8046 * libs/gst/Makefile.am:
8047 * libs/gst/base/Makefile.am:
8048 * libs/gst/base/gstbasetransform.c:
8049 * libs/gst/check/Makefile.am:
8050 * plugins/elements/Makefile.am:
8052 CVS surgery + support to move base, check, and net out of gst
8055 2005-11-29 Andy Wingo <wingo@pobox.com>
8057 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
8059 * gst/gststructure.h (struct _GstStructure): Only one pointer of
8062 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
8064 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
8066 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
8068 * gst/gstobject.h: (struct _GstObject): Only one pointer of
8069 padding; reduces object size by about 30%. We don't expect
8070 anything else to go into gstobject.
8072 * gst/gstminiobject.h (struct _GstMiniObject)
8073 (struct _GstMiniObjectClass): Only one pointer of padding; the
8074 payload is only a pointer and two ints anyway. For the class there
8075 are only two methods as well.
8077 * gst/gstelement.h (struct _GstElementClass): Removed
8078 the state_changed signal callback, it is not used.
8080 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8082 * docs/gst/gstreamer.types:
8083 fix includes, though they are a little dinky
8085 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8087 * check/Makefile.am:
8088 look in the right place for elements, a lot more chance of
8091 remove indexers and elements subdirs
8092 * plugins/Makefile.am:
8093 make indexers conditional
8095 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8099 * plugins/elements/Makefile.am:
8100 * plugins/elements/gstcapsfilter.c:
8101 * plugins/elements/gstfilesink.c:
8102 * plugins/elements/gstfilesrc.c:
8103 * plugins/elements/gstidentity.c:
8104 * plugins/indexers/Makefile.am:
8105 do CVS surgery and related build fixery to move elements
8106 and indexers in a new gstreamer/plugins directory, out of the
8109 2005-11-29 Andy Wingo <wingo@pobox.com>
8111 * check/Makefile.am:
8112 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8113 * pkgconfig/gstreamer-net.pc.in:
8114 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8117 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8119 * tools/Makefile.am:
8120 * tools/gst-complete.1.in:
8121 * tools/gst-complete.c:
8122 * tools/gst-compprep.1.in:
8123 * tools/gst-compprep.c:
8124 removing -compprep and -complete
8126 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8128 * gst/gstevent.c: (gst_event_new_new_segment),
8129 (gst_event_parse_new_segment):
8131 fix #320529 - clean up new_segment API and structure.
8132 Let's hope everyone was using the methods, and not the structure.
8134 2005-11-29 Edward Hervey <edward@fluendo.com>
8136 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8137 (gst_base_sink_event), (gst_base_sink_do_sync),
8138 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8139 Properly handle non GST_FORMAT_TIME segment
8140 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8141 Properly handle non GST_FORMAT_TIME segment
8143 This function is valid if the accumulator is 0 and the format
8144 is different from the requested format.
8146 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8148 * docs/gst/gstreamer-sections.txt:
8149 Add gst_query_new_seeking and gst_query_parse_seeking to the
8152 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8154 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8155 Treat a pad alloc with new caps the same as if we were not
8156 negotiated, in order to allow a changing upstream output
8157 to produce a new format of data.
8159 2005-11-29 Edward Hervey <edward@fluendo.com>
8161 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8162 (gst_base_transform_event), (gst_base_transform_eventfunc):
8163 The event virtual method is now properly implemented, with a default
8165 Sub classes should call the parent_class event method. They should
8166 return FALSE if they had a problem handling the given event, or don't
8167 want GstBaseTransform to send that even downstream
8168 * gst/elements/gstidentity.c: (gst_identity_class_init),
8169 (gst_identity_init), (gst_identity_event),
8170 (gst_identity_transform_ip), (gst_identity_set_property),
8171 (gst_identity_get_property):
8172 * gst/elements/gstidentity.h:
8173 Added the single-segment boolean property.
8174 If set to TRUE, it will output a single segment of data, starting from
8175 0, will eat up all incoming newsegment, and modify the timestamp of the
8178 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
8180 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8181 Don't ref NULL target pad (#322751). Improve docs.
8183 2005-11-29 Michael Smith <msmith@fluendo.com>
8185 * gst/gstregistryxml.c: (load_plugin):
8186 Don't crash if we failed to load a feature from a plugin.
8188 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8190 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8192 use more check API and less GLib API
8194 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8197 don't run checks if we don't have check
8199 remove the registry when running make torture
8200 * docs/gst/gstreamer-sections.txt:
8201 remove second multiply
8202 * gst/gstqueue.c: (gst_queue_loop):
8203 fix a compile warning when disabling debug
8205 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8208 Hey! Let's print the pad name if the pointer != NULL instead
8209 of when it == NULL :-)
8211 2005-11-28 Wim Taymans <wim@fluendo.com>
8213 * check/gst/gstutils.c: (GST_START_TEST):
8214 Updated check, add some scaling accuracy checking code.
8216 * gst/gstutils.c: (gst_util_div128_64),
8217 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8218 (gst_util_uint64_scale_int):
8219 Fix 6 times faster division code. Optimize for common
8220 1/1 and less common X/1 cases.
8222 2005-11-28 Wim Taymans <wim@fluendo.com>
8224 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8227 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8228 (do_linear_regression), (gst_clock_add_observation):
8230 Release lock when the clock cannot be slaved.
8231 Catch the case where the regression returned an invalid denominator.
8233 * gst/gstutils.c: (gst_util_div128_64_iterate),
8234 (gst_util_div128_64), (gst_util_uint64_scale_int64),
8235 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8236 Add protentially more performant non-iterative 128/64 divide function
8237 that unfortunatly does not work yet.
8238 Shortcut the trivial 0/X = 0 case.
8239 Remove the warnings on overflow.
8241 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8243 * gst/gstplugin.c: (gst_plugin_register_func):
8244 everything causing a plugin not to load should be at least a WARNING
8246 2005-11-28 Stefan Kost <ensonic@users.sf.net>
8248 * docs/random/ensonic/dparams.txt:
8249 some TODOs for the next dev cycle
8250 * libs/gst/controller/gstcontroller.c:
8251 (gst_controlled_property_set_interpolation_mode),
8252 (gst_controlled_property_new):
8253 * libs/gst/controller/gstcontroller.h:
8254 use base type to assign acccessor functions
8256 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8258 * check/Makefile.am:
8259 Oops, that should have been top_srcdir
8261 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8263 * check/Makefile.am:
8264 * check/elements/fdsrc.c: (GST_START_TEST):
8265 Use a cmdline define to specify the location of a file to use for
8266 testing, to avoid breaking distcheck.
8268 2005-11-28 Andy Wingo <wingo@pobox.com>
8270 * gst/gstpad.c (fixate_value): Use array functions for arrays.
8272 2005-11-28 Edward Hervey <edward@fluendo.com>
8274 * tools/gst-launch.c: (main):
8275 Clarify the output strings, makes it easier to translate.
8278 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8281 don't try and build net if we don't even have <sys/socket.h>
8283 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
8285 * check/Makefile.am:
8286 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8287 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8288 Add tests for fdsrc seekability
8290 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8291 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8292 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8293 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8294 * gst/elements/gstfdsrc.h:
8295 fdsrc should not be a 'live' source.
8296 Implement seeking on seekable fd's.
8298 * gst/gstquery.c: (gst_query_new_seeking),
8299 (gst_query_parse_seeking):
8301 Implement SEEKING query functions:
8302 *_new_seeking and *_parse_seeking
8304 2005-11-27 Stefan Kost <ensonic@users.sf.net>
8306 * gst/gstelement.c: (gst_element_dispose):
8309 * gst/gstiterator.c:
8310 * gst/gststructure.c:
8313 * libs/gst/controller/gstcontroller.c:
8314 (gst_controlled_property_set_interpolation_mode):
8315 * libs/gst/controller/gstcontroller.h:
8316 * libs/gst/controller/gstinterpolation.c:
8317 (interpolate_none_get_enum_value_array):
8318 support controlling enums
8320 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8323 Improve documentation for gst_value_union().
8326 Change return value for union, intersect and subtract functions
8327 from gint to gboolean.
8329 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8331 * gst/gstvalue.c: (gst_value_serialize_any_list),
8332 (gst_value_transform_any_list_string),
8333 (gst_value_deserialize_list), (gst_value_deserialize_array),
8334 (gst_value_set_int_range), (gst_value_deserialize_int_range),
8335 (gst_value_set_double_range), (gst_value_deserialize_double_range),
8336 (gst_value_set_fraction_range_full),
8337 (gst_value_deserialize_fraction_range),
8338 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8339 (gst_value_deserialize_boolean),
8340 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8341 (gst_value_serialize_float), (gst_value_deserialize_float),
8342 (gst_string_wrap), (gst_value_deserialize_string),
8343 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8344 (gst_value_union_int_range_int_range),
8345 (gst_value_intersect_int_range_int_range),
8346 (gst_value_intersect_double_range_double_range),
8347 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8348 (gst_value_subtract_int_range_int_range),
8349 (gst_value_subtract_double_double_range),
8350 (gst_value_subtract_double_range_double_range),
8351 (gst_value_deserialize_fraction):
8353 Use gint, gdouble and gchar in our API instead of int, double and
8354 char (and make usage in gstvalue.c more consistent).
8356 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8358 * check/Makefile.am:
8359 * libs/gst/controller/Makefile.am:
8360 * libs/gst/dataprotocol/Makefile.am:
8361 fix up Makefile.am and remove GST_ENABLE_NEW
8363 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8367 * gst/base/Makefile.am:
8368 * gst/check/Makefile.am:
8369 * gst/elements/Makefile.am:
8370 * gst/net/Makefile.am:
8371 update LDFLAGS use some more
8373 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8375 * common/m4/gst-doc.m4:
8378 2005-11-26 Edward Hervey <edward@fluendo.com>
8380 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8381 This shouldn't issue a g_warning since it returns NULL if it
8382 couldn't find the plugin, and all functions using this behave
8383 properly on a NULL return. Switching to a GST_WARNING.
8385 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
8387 * gst/gstbin.c: (gst_bin_handle_message_func):
8388 Don't leak clock messages.
8390 2005-11-25 Wim Taymans <wim@fluendo.com>
8392 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8393 (gst_util_uint64_scale_int):
8394 Optimisations, remove unneeded vars.
8396 2005-11-25 Wim Taymans <wim@fluendo.com>
8398 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8399 Added more checks for the high precision uint64 cases.
8401 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8402 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8403 Implement high precision (guint64 * guint64) / guint64.
8405 2005-11-24 Wim Taymans <wim@fluendo.com>
8407 * gst/base/gstbasesrc.c: (gst_base_src_query):
8408 Fix wrong percentage query.
8410 * gst/gstutils.c: (gst_util_uint64_scale),
8411 (gst_util_uint64_scale_int):
8412 Add some more common cases that can be handled
8413 efficiently to _scale.
8415 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8417 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8418 (gst_mini_object_suite):
8419 don't use check calls from threads; check probably isn't
8420 threadsafe and using a lock to make it threadsafe would
8421 defeat the purpose of this check
8422 * gst/check/gstcheck.c:
8423 * gst/check/gstcheck.h:
8424 use GST_DEBUG some more
8426 2005-11-24 Wim Taymans <wim@fluendo.com>
8428 * gst/gstutils.c: (gst_util_uint64_scale),
8429 (gst_util_uint64_scale_int):
8430 Chain trivial case to _scale_int.
8432 2005-11-24 Wim Taymans <wim@fluendo.com>
8434 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8435 Added test for scaling.
8440 * gst/gstutils.c: (gst_util_uint64_scale_int):
8441 Implemented high precision scaling code.
8443 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8446 do not crash on pad==NULL
8448 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8450 Patch by: Stefan Kost
8452 * common/gtk-doc.mak:
8453 * docs/gst/Makefile.am:
8454 * docs/libs/Makefile.am:
8455 Fix distcheck issues for the libraries docs build
8458 2005-11-24 Michael Smith <msmith@fluendo.com>
8460 * docs/manual/basics-helloworld.xml:
8461 Fix bug #315027: memory leak in example code in docs.
8463 2005-11-24 Michael Smith <msmith@fluendo.com>
8465 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8466 Unlock the PREROLL_LOCK in a failure case.
8468 2005-11-24 Wim Taymans <wim@fluendo.com>
8470 * docs/gst/gstreamer-sections.txt:
8471 * gst/base/gstadapter.h:
8472 * gst/base/gstbasesink.h:
8473 * gst/base/gstbasesrc.h:
8474 * gst/base/gstbasetransform.h:
8475 * gst/base/gstpushsrc.h:
8476 * gst/elements/gstfakesink.h:
8477 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8478 * gst/elements/gstfakesrc.h:
8479 * gst/elements/gstfilesink.h:
8480 * gst/elements/gstfilesrc.h:
8483 * gst/gstbuffer.c: (_gst_buffer_copy):
8486 * gst/gstchildproxy.c:
8489 * gst/gstelementfactory.c:
8490 * gst/gstelementfactory.h:
8492 * gst/gstghostpad.h:
8494 * gst/gstinterface.h:
8495 * gst/gstminiobject.c:
8496 * gst/gstminiobject.h:
8499 * gst/gstpadtemplate.h:
8500 * gst/gstpipeline.h:
8501 * gst/gstpluginfeature.h:
8506 * gst/gsttagsetter.c:
8507 * gst/gsttagsetter.h:
8510 * gst/gsttypefind.h:
8513 * gst/net/gstnetclientclock.c:
8514 * gst/net/gstnetclientclock.h:
8515 * gst/net/gstnettimepacket.c:
8516 * gst/net/gstnettimeprovider.c:
8517 * gst/net/gstnettimeprovider.h:
8520 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8522 * configure.ac: back to HEAD
8524 === release 0.9.6 ===
8526 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8529 releasing 0.9.6, "Always On Time"
8531 2005-11-23 Wim Taymans <wim@fluendo.com>
8533 * docs/gst/gstreamer-sections.txt:
8534 * gst/glib-compat.c:
8535 * gst/gsttagsetter.c:
8537 * gst/net/gstnetclientclock.c:
8538 * gst/net/gstnettimepacket.h:
8541 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8543 * docs/faq/using.xml:
8544 * docs/libs/tmpl/gstcontrol.sgml:
8545 * docs/manual/advanced-dparams.xml:
8546 * docs/manual/appendix-checklist.xml:
8547 * docs/manual/basics-elements.xml:
8548 * docs/pwg/other-source.xml:
8549 * docs/random/moving-plugins:
8551 * tools/gst-launch.1.in:
8552 remove mentions of sinesrc
8554 2005-11-23 Michael Smith <msmith@fluendo.com>
8556 * docs/gst/gstreamer-sections.txt:
8557 Update for new API and API changes.
8559 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8561 Documentation typo fix.
8562 * gst/net/gstnettimepacket.c:
8563 Documentation fixes for arguments.
8565 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8567 * gst/gststructure.c: (gst_structure_get_fraction),
8568 (gst_structure_parse_value),
8569 (gst_structure_fixate_field_nearest_fraction):
8570 * gst/gststructure.h:
8571 * gst/gstutils.c: (gst_util_uint64_scale_int):
8573 * scripts/update-funcnames:
8575 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8576 Make gst_structure_fixate_field_nearest_fraction take a numerator
8577 and denominator argument instead of a GValue
8578 add gst_structure_get_fraction helper function.
8580 2005-11-23 Wim Taymans <wim@fluendo.com>
8582 * docs/design/part-TODO.txt:
8585 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8586 * gst/net/gstnetclientclock.h:
8587 Use parent fields for timeout and window_size.
8589 2005-11-23 Andy Wingo <wingo@pobox.com>
8591 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8592 rate_num/rate_denom change.
8594 * gst/net/gstnetclientclock.c
8595 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8596 OBJECT_LOCK. Don't call add_observation with the lock.
8598 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8600 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8602 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8603 deal with rate as a fraction whose numerator and denominator are
8604 GstClockTime values.
8605 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8606 master; the other fields are protected by the SLAVE_LOCK.
8607 (do_linear_regression): Note that this must be called with the
8609 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8610 OBJECT_LOCK. Call set_calibration instead of touching the
8612 (gst_clock_set_property, gst_clock_get_property): Protect
8613 master/slave parameters with the SLAVE_LOCK.
8615 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8616 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8617 note that all of the instance variables that add_observation and
8618 the set_master functions use are protected by that lock and not
8620 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8622 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8623 the caller to take the object lock.
8625 2005-11-23 Wim Taymans <wim@fluendo.com>
8627 * gst/gsterror.c: (_gst_core_errors_init):
8629 Add error for clock stuff.
8631 * gst/gstpipeline.c: (gst_pipeline_change_state),
8632 (gst_pipeline_set_clock):
8633 Post clock error when clock cannot be used in a pipeline.
8635 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8637 * docs/gst/gstreamer-sections.txt:
8638 make two symbols from gstinfo private for the docs
8639 * gst/base/gstcollectpads.h:
8641 fix doc typos, update docs
8643 2005-11-22 Wim Taymans <wim@fluendo.com>
8645 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8646 (gst_base_sink_wait), (gst_base_sink_do_sync),
8647 (gst_base_sink_handle_event):
8648 * gst/base/gstbasesink.h:
8649 No need to store the clock, the parent element class already
8652 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8653 Updates for clock_set returning a gboolean
8655 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8656 (gst_clock_id_wait_async), (gst_clock_class_init),
8657 (gst_clock_init), (gst_clock_finalize),
8658 (gst_clock_get_internal_time), (gst_clock_get_time),
8659 (gst_clock_slave_callback), (gst_clock_set_master),
8660 (gst_clock_get_master), (do_linear_regression),
8661 (gst_clock_add_observation), (gst_clock_set_property),
8662 (gst_clock_get_property):
8664 Implement master/slave. When setting a clock as a slave, a
8665 periodic timeout is scheduled to sample master and slave times.
8666 Then the slave clock is recalibrated to match offset and rate
8667 of the master clock.
8668 Update logging a bit.
8669 Add flag so that a clock can state that is cannot be slaved to
8672 * gst/gstelement.c: (gst_element_set_clock):
8674 The set clock returns a gboolean for when an element cannot
8675 deal with the selected clock in the pipeline.
8677 * gst/gstpipeline.c: (gst_pipeline_change_state),
8678 (gst_pipeline_set_clock):
8679 * gst/gstpipeline.h:
8680 Handle the case where the selected clock cannot be set on
8683 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8684 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8685 (gst_net_client_clock_set_property),
8686 (gst_net_client_clock_get_property),
8687 (gst_net_client_clock_observe_times):
8688 * gst/net/gstnetclientclock.h:
8689 Use regression code in GstClock parent, remove duplicated
8692 2005-11-22 Michael Smith <msmith@fluendo.com>
8694 * gst/gstutils.c: (gst_util_clock_time_scale):
8696 * docs/gst/gstreamer-sections.txt:
8697 Rename method to have extra underscore.
8699 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8701 * gst/elements/Makefile.am:
8702 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8703 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8704 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8705 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8706 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8707 * gst/elements/gstfakesrc.h:
8708 * gst/gstqueue.c: (queue_leaky_get_type):
8709 correctly fix GEnumValues so that nick is the short lowercase
8711 * tools/gst-inspect.c: (print_element_properties_info):
8712 also show the nick, since it's useful to use from parse_launch
8716 2005-11-22 Michael Smith <msmith@fluendo.com>
8718 * gst/gstutils.c: (gst_util_clocktime_scale):
8720 * docs/gst/gstreamer-sections.txt:
8721 Add util method for scaling a clocktime by a fraction. Useful
8722 implementation is left as an exercise for the reader.
8724 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8726 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8727 If needed, allocate storage in the destination value during
8730 2005-11-22 Edward Hervey <edward@fluendo.com>
8732 * docs/gst/gstreamer-sections.txt:
8737 * gst/gstutils.c: (gst_util_set_object_arg):
8738 * tools/gst-compprep.c: (main):
8739 * tools/gst-inspect.c: (print_element_properties_info):
8740 Removed GstURI, closes bug #321061
8742 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8744 * check/gst/gststructure.c: (GST_START_TEST):
8745 * gst/gststructure.c: (gst_structure_parse_value):
8746 Oops, broke automatic string type parsing.
8747 Add a test to catch it in future.
8749 2005-11-22 Andy Wingo <wingo@pobox.com>
8751 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8752 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8753 Actually rename the function implementations. Grr.
8755 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8757 * check/gst/capslist.h:
8759 * check/gst/gststructure.c: (GST_START_TEST),
8760 (gst_structure_suite):
8761 Test automatic value type detection in gst_structure_from_string.
8762 * gst/gststructure.c: (gst_structure_parse_value):
8763 Add fraction as a type we try and guess automatically in
8764 caps/structure strings.
8766 2005-11-22 Andy Wingo <wingo@pobox.com>
8768 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8770 * gst/gsttagsetter.h:
8771 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8772 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8773 (gst_tag_setter_add_tag_valist)
8774 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8775 _add_values, _add_valist, and _add_valist_values. Since this is an
8776 interface the function suffixes should be more explicit so
8777 language binding don't end up with element.add_valist ->
8778 gst_tag_setter_add_valist, for example. Fixes #322069.
8780 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8782 * check/gst/gstcaps.c: (GST_START_TEST):
8783 Extend caps string tests to check that a caps to string
8784 conversion is reversible and produces the same caps.
8786 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8787 Output "fraction" as the generic type fraction range, so caps
8788 serialisation and deserialisation works.
8789 * check/gst/capslist.h:
8790 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8791 Support 'MIN' and 'MAX' for deserialising fractions.
8793 2005-11-22 Andy Wingo <wingo@pobox.com>
8795 * gst/gstevent.h (gst_event_new_new_segment)
8796 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8797 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8798 Renamed from *_newsegment, *_buffersize, *_notarget.
8800 * scripts/update-funcnames: New script, performs the changes
8803 2005-11-22 Wim Taymans <wim@fluendo.com>
8805 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8806 Make sure the GstFlowReturn is returned.
8808 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8809 (gst_bus_add_signal_watch):
8811 add gst_bus_add_signal_watch_full.
8813 * gst/gstplugin.c: (gst_plugin_load_file):
8814 Small style cleanup.
8816 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8818 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8819 Block the fakesrc srcpad when we send an event, to avoid
8820 contention on the stream_lock causing random test failures.
8822 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8824 * check/gst/gstvalue.c: (GST_START_TEST):
8825 * gst/gstvalue.c: (gst_value_fraction_subtract):
8828 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8831 include "gstchildproxy.h"
8832 * gst/gstchildproxy.h:
8833 * libs/gst/controller/gstcontroller.h:
8834 use G_GNUC_NULL_TERMINATED
8836 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8838 * check/gst/capslist.h:
8839 * check/gst/gstcaps.c: (GST_START_TEST):
8840 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8841 * gst/gststructure.c: (gst_structure_parse_range),
8842 (gst_structure_fixate_field_nearest_fraction):
8843 * gst/gststructure.h:
8844 * gst/gstvalue.c: (gst_value_init_fraction_range),
8845 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8846 (gst_value_collect_fraction_range),
8847 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8848 (gst_value_set_fraction_range_full),
8849 (gst_value_get_fraction_range_min),
8850 (gst_value_get_fraction_range_max),
8851 (gst_value_serialize_fraction_range),
8852 (gst_value_transform_fraction_range_string),
8853 (gst_value_compare_fraction_range),
8854 (gst_value_deserialize_fraction_range),
8855 (gst_value_intersect_fraction_fraction_range),
8856 (gst_value_intersect_fraction_range_fraction_range),
8857 (gst_value_subtract_fraction_fraction_range),
8858 (gst_value_subtract_fraction_range_fraction),
8859 (gst_value_subtract_fraction_range_fraction_range),
8860 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8861 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8862 (gst_value_transform_string_fraction), (_gst_value_initialize):
8864 Implement fraction ranges and extend GstFraction to support
8865 arithmetic subtraction, as well as deserialization from integer
8866 strings such as "100"
8867 Add a testsuite as for int and double range set operations
8869 2005-11-21 Andy Wingo <wingo@pobox.com>
8873 * gst/gststructure.h: Add glib-compat.h.
8875 2005-11-21 Wim Taymans <wim@fluendo.com>
8877 * gst/gstbin.c: (gst_bin_change_state_func):
8880 2005-11-21 Wim Taymans <wim@fluendo.com>
8883 And add a nice define too.
8885 2005-11-21 Wim Taymans <wim@fluendo.com>
8887 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8888 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8889 (gst_segment_set_duration), (gst_segment_set_last_stop),
8890 (gst_segment_set_seek), (gst_segment_set_newsegment),
8891 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8894 Make binding friendly.
8896 2005-11-21 Andy Wingo <wingo@pobox.com>
8898 * gst/gsttagsetter.h:
8900 * gst/gststructure.h:
8902 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8905 * gst/gsterror.c (_gst_core_errors_init):
8906 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8909 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8910 (noinst_HEADERS): noinst the -private.
8912 2005-11-21 Michael Smith <msmith@fluendo.com>
8915 * gst/gstregistry.h:
8916 Remove unimplemented declarations for which we can see no sensible
8919 2005-11-21 Andy Wingo <wingo@pobox.com>
8921 * gst/gst.h: Include glib-compat.h.
8923 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8925 * gst/glib-compat.c: Include the public and the private header.
8927 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8931 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8933 * check/gst/gstevent.c (create_custom_events): Check that
8934 FLUSH_STOP is serialized.
8936 * check/elements/identity.c (event_func):
8937 * check/elements/fakesrc.c (event_func): No stream lock, the core
8940 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8941 stream lock taking, yay.
8943 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8944 ensure that core takes the stream lock.
8946 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8949 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8950 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8951 it already. For the flush start we do take it though so we get the
8952 right preroll state change messages.
8954 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8955 the stream lock here, the core does it for us.
8957 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8958 GST_STREAM_GET_LOCK.
8959 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8960 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8961 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8962 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8963 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8964 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8966 * gst/gstpad.c: Update for stream lock name change.
8968 * gst/base/gstbasesink.c: Update for preroll lock name change.
8970 2005-11-21 Wim Taymans <wim@fluendo.com>
8972 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8973 (gst_clock_get_master):
8975 * gst/gstsystemclock.c: (gst_system_clock_init):
8976 Convert Clock flags to object flags.
8977 Added methods to manage master/slave clocks.
8979 2005-11-21 Wim Taymans <wim@fluendo.com>
8981 * check/gst/gstsegment.c: (GST_START_TEST):
8982 * docs/design/part-TODO.txt:
8983 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8984 (gst_base_sink_event), (gst_base_sink_do_sync),
8985 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8986 (gst_base_sink_query), (gst_base_sink_change_state):
8987 * gst/base/gstbasesink.h:
8988 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8989 (gst_base_src_default_newsegment),
8990 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8991 (gst_base_src_get_range), (gst_base_src_loop),
8992 (gst_base_src_change_state):
8993 * gst/base/gstbasesrc.h:
8994 * gst/base/gstbasetransform.c:
8995 (gst_base_transform_prepare_output_buf),
8996 (gst_base_transform_event), (gst_base_transform_change_state):
8997 * gst/base/gstbasetransform.h:
8998 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8999 (gst_collect_pads_event):
9000 * gst/base/gstcollectpads.h:
9001 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
9002 (gst_fake_src_create):
9003 * gst/elements/gstfakesrc.h:
9004 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9005 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9006 (gst_segment_set_last_stop), (gst_segment_set_seek),
9007 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9008 (gst_segment_to_running_time), (gst_segment_clip):
9010 More segment updates, replace code in plugins with segment
9013 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9015 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
9016 Don't ignore sscanf results
9018 2005-11-21 Andy Wingo <wingo@pobox.com>
9020 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
9023 * *.c: Ran scripts/update-macros. Oh yes.
9025 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
9026 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
9029 * scripts/update-macros: New script. Run it on your files to
9030 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
9033 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9035 * docs/gst/Makefile.am:
9036 * docs/gst/gstreamer-docs.sgml:
9037 * docs/gst/gstreamer-sections.txt:
9038 * docs/gst/gstreamer.types:
9040 more docs fixes, add new api to the docs
9042 2005-11-21 Andy Wingo <wingo@pobox.com>
9044 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
9045 state_broadcast call.
9047 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
9049 2005-11-21 Julien MOUTTE <julien@moutte.net>
9051 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
9052 function calls for arrays.
9054 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9056 * docs/random/ensonic/media-device-daemon.txt:
9057 wild idea, can this be done?
9058 * docs/gst/gstreamer-sections.txt:
9063 * gst/gstpluginfeature.c:
9067 doc fixes and additions
9069 2005-11-21 Andy Wingo <wingo@pobox.com>
9071 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
9072 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
9073 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
9074 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9075 private to the basesrc implementation.
9077 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9078 behalf of event function if necessary. It should no longer be
9079 necessary to take the stream lock in pad's event functions. Fixes
9082 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9083 * docs/gst/gstreamer-sections.txt:
9084 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9085 (gst_structure_fixate_field_nearest_double),
9086 (gst_structure_fixate_field_boolean):
9087 * gst/gststructure.h:
9088 * win32/common/libgstreamer.def:
9089 * win32/gstreamer.def:
9091 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9094 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9096 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9097 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9098 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9099 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9100 (gst_fdsrc_uri_handler_init):
9101 * gst/elements/gstfdsrc.h:
9102 Port fd:// URI handler from 0.8 to fdsrc
9104 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9106 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9107 (gst_value_serialize_fourcc):
9109 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9110 consistent with our other format defines (#320324).
9112 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9114 * gst/gstvalue.c: (gst_value_is_fixed):
9115 Revert previous commit. Value lists are by definition
9116 not fixed, as they are a list of possible values.
9118 2005-11-21 Andy Wingo <wingo@pobox.com>
9120 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9121 during the stable series if we need it. Fixes #319178.
9123 * gst/gstevent.c (gst_event_new_filler): Removed.
9125 * check/gst/gstevent.c: Update comment about filler events.
9127 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9129 * gst/gstvalue.c: (gst_value_is_fixed):
9130 Should handle both value arrays and value lists.
9132 2005-11-21 Andy Wingo <wingo@pobox.com>
9134 patch by: Alessandro Dessina <alessandro nnva org>
9136 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9137 functions to access arrays. Fixes #321962.
9139 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9141 * docs/gst/gstreamer.types:
9142 gst_collectpads_get_type => gst_collect_pads_get_type.
9144 * gst/base/gstbasetransform.c:
9145 Remove unused SIGNAL_HANDOFF enum.
9147 2005-11-21 Andy Wingo <wingo@pobox.com>
9149 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9150 the event type (upstream, downstream, serialized). Renamed
9151 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9152 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9153 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9155 * gst/gstevent.c: Update for new CUSTOM event names.
9157 * check/gst/gstevent.c: Update check for new CUSTOM event names.
9160 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9163 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9165 * docs/gst/gstreamer-sections.txt:
9166 * win32/common/libgstbase.def:
9167 * win32/libgstbase.def:
9168 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9169 (gst_collect_pads_class_init), (gst_collect_pads_init),
9170 (gst_collect_pads_finalize), (gst_collect_pads_new),
9171 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9172 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9173 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9174 (gst_collect_pads_start), (gst_collect_pads_stop),
9175 (gst_collect_pads_peek), (gst_collect_pads_pop),
9176 (gst_collect_pads_available), (gst_collect_pads_read),
9177 (gst_collect_pads_flush), (gst_collect_pads_event),
9178 (gst_collect_pads_chain):
9179 * gst/base/gstcollectpads.h:
9180 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9181 unimplemented functions as unimplemented. Add padding to
9182 GstCollectData. (#320766, #320423)
9184 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9187 Improve docs for DURATION message (usage of duration parameter)
9190 2005-11-20 Wim Taymans <wim@fluendo.com>
9192 * check/Makefile.am:
9193 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9197 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9198 (gst_segment_set_seek), (gst_segment_set_newsegment),
9199 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9202 Added segment helper structure and methods. Not fully implemented
9204 Added segment check.
9206 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
9208 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9209 Add a deserialisation test for fractions
9210 * examples/metadata/read-metadata.c: (message_loop),
9211 (make_pipeline), (main):
9212 Fix up metadata reading sample.
9213 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9215 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9216 Don't try and fixate empty caps
9217 * gst/gst_private.h:
9218 Wrap in G_BEGIN_DECLS/G_END_DECLS
9219 * gst/gstvalue.c: (gst_value_collect_fraction),
9220 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9221 (gst_value_transform_string_fraction),
9222 (gst_value_compare_fraction):
9223 Add some extra guards to ensure that we don't end up
9224 with an invalid denominator of 0 in a gstfraction and
9225 that fractions always get reduced.
9227 2005-11-20 Wim Taymans <wim@fluendo.com>
9229 * docs/gst/gstreamer-sections.txt:
9240 2005-11-20 Wim Taymans <wim@fluendo.com>
9242 * docs/design/part-TODO.txt:
9244 Make a proper enum of the flag.
9246 2005-11-19 Wim Taymans <wim@fluendo.com>
9248 * docs/design/part-TODO.txt:
9249 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9250 (gst_format_to_quark), (gst_format_register):
9252 * gst/gstquery.c: (_gst_query_initialize),
9253 (gst_query_type_get_name), (gst_query_type_to_quark),
9254 (gst_query_type_register):
9256 Add type to quark and type to string conversions.
9258 2005-11-19 Andy Wingo <wingo@pobox.com>
9260 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9263 2005-11-19 Wim Taymans <wim@fluendo.com>
9265 * docs/design/part-TODO.txt:
9266 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9267 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9268 (gst_bin_handle_message_func):
9270 Make message handling overridable.
9272 2005-11-19 Andy Wingo <wingo@pobox.com>
9274 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9277 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9279 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9280 is a GstClockTime. Fixes #321710.
9282 * gst/gstclock.h (GstClock): Remove offset property. Add
9283 internal_calibration and external_calibration. Fix padding. Pad
9284 also by GstClockTime so we don't run into problems.
9286 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9287 (gst_clock_get_rate_offset): Remove.
9288 (gst_clock_set_time_adjust): Remove. Fixes #321712.
9291 * gst/gstutils.c (g_static_rec_cond_wait)
9292 (g_static_rec_cond_timed_wait): Removed, no longer needed.
9294 * gst/gstbin.c: Remove terrible continue_state prototype.
9296 * gst/gstelement.h (gst_element_continue_state): Make public.
9299 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9300 by continue_state. Fixes #319389.
9302 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9303 Really fixes #168438. However I don't see anywhere where the
9304 filter function is called... stupid GStreamer...
9306 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9307 don't have a dispose function, so it won't get called when the
9308 object is unreffed, but oh well!
9310 * gst/gstindex.c (gst_index_set_filter_full): New API function,
9311 allows a destroy function to be set so user_data can be freed.
9313 (gst_index_set_filter): Call gst_index_set_filter_full.
9315 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9317 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9318 string should produce an error, given the lack of a way to
9319 represent NULL strings. Fixes #165650.
9322 * gst/gstvalue.c (gst_value_array_append_value)
9323 (gst_value_array_prepend_value, gst_value_array_get_size)
9324 (gst_value_array_get_value): New API, copied from
9325 gst_value_list_*, only operates on arrays.
9326 (gst_value_list_append_value, gst_value_list_prepend_value)
9327 (gst_value_list_concat, gst_value_list_get_size)
9328 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9330 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9331 init_list, because it works on both.
9332 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9333 (gst_value_copy_list_or_array): Renamed from copy_list.
9334 (gst_value_free_list_or_array): Renamed from free_list.
9335 (gst_value_collect_list_or_array): Renamed from collect_list.
9336 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9337 (gst_value_list_or_array_peek_pointer): Renamed from
9339 (_gst_value_array_value_table, _gst_value_list_value_table):
9340 Update value table functions.
9341 (gst_value_compare_list_or_array): Renamed from compare_list.
9343 * gsttaglist.h: Whoops, foreach function returns void. Also fix
9347 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9348 GstTagList*. Fixes #143472.
9350 * gst/gststructure.h: Clarify what the foreach/map functions can
9351 or can't do to their arguments.
9353 2005-11-18 Wim Taymans <wim@fluendo.com>
9355 * gst/gstclock.c: (gst_clock_set_calibration),
9356 (gst_clock_get_calibration):
9358 Calibration can be set with internal time equal to current
9361 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
9367 2005-11-18 Andy Wingo <wingo@pobox.com>
9370 * pkgconfig/gstreamer-net.pc.in:
9371 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9372 * pkgconfig/Makefile.am: Add net pkgconfig files.
9374 2005-11-18 Stefan Kost <ensonic@users.sf.net>
9377 * gst/gstghostpad.c:
9383 2005-11-18 Andy Wingo <wingo@pobox.com>
9385 * gst/net/gstnetclientclock.c: Turn off debugging.
9387 * check/net/gstnetclientclock.c (test_functioning): Assert that the
9388 times connverge somewhat. Can't make a real test.
9390 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9391 integer arithmetic. Return the minimum of the domain, which can be
9392 set as "internal" for gst_clock_set_calibration.
9393 (gst_net_client_clock_observe_times): Call _set_calibration.
9394 (gst_net_client_clock_new): Call _set_calibration instead of
9397 * check/net/gstnetclientclock.c (test_functioning): Use the right
9401 * gst/gstclock.c (gst_clock_get_calibration)
9402 (gst_clock_set_calibration): New functions, obsolete the ones I
9403 added yesterday. Doh. Precision issues mean we have to extrapolate
9404 from a point in the more recent past than 1970.
9405 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9407 (gst_clock_adjust_unlocked): Use the right calibration data.
9409 2005-11-18 Edward Hervey <edward@fluendo.com>
9411 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9412 Also reset the ->current_* values in READY->PAUSED
9414 2005-11-18 Andy Wingo <wingo@pobox.com>
9416 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9417 Whoops, check the right fd. Also add some debugging.
9418 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9419 (do_linear_regression): Add a crapload of debugging. Subtract off
9420 the minimum values from the input series to discard unneeded bits.
9421 Use only int arithmetic. There is still double arithmetic when
9422 calculating the intercept that needs fixing. Return boolean to
9423 indicate success; FALSE would mean the domain or range is too
9424 great. Still needs fixes.
9426 2005-11-18 Wim Taymans <wim@fluendo.com>
9428 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9429 For the current position in stream time, we need to subtract
9432 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9433 Release lock before calling the callback function of async
9436 2005-11-18 Andy Wingo <wingo@pobox.com>
9438 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9439 Port goes all the way to MAXUINT16.
9441 * gst/net/gstnettimeprovider.c: Make the port range the same as
9442 for the kernel: 0 assigns, otherwise ports are less than
9445 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9448 * check/net/gstnetclientclock.c (test_functioning): Add the start
9451 2005-11-18 Wim Taymans <wim@fluendo.com>
9453 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9454 (gst_bin_remove_func), (bin_bus_handler):
9456 Removing a clock provider from a bin, triggers a clock lost message
9457 so that a new clock will be selected.
9458 Adding a clock to a bin triggers a clock provider message.
9459 Make sure we reselect a clock when we received a clock lost message.
9460 Keep a reference to the element that provided the clock.
9462 2005-11-18 Andy Wingo <wingo@pobox.com>
9464 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9465 the clock initially so it produces values around the base time.
9466 (gst_net_client_clock_class_init): Typo fix.
9467 (gst_net_client_clock_thread): Add note on when the socket gets
9470 2005-11-17 Wim Taymans <wim@fluendo.com>
9472 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9473 Free remote and local time arrays.
9475 2005-11-17 Wim Taymans <wim@fluendo.com>
9477 * gst/net/gstnetclientclock.c: (do_linear_regression),
9478 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9479 Fix compilation, uninitialized vars and a forgotten continue.
9481 2005-11-17 Andy Wingo <wingo@pobox.com>
9483 * check/Makefile.am (check_PROGRAMS):
9484 * check/net/gstnetclientclock.c: Add a most minimal test for the
9485 net client clock. More to come later.
9488 * gst/net/Makefile.am: Add netclientclock.
9490 * gst/net/gstnetclientclock.h:
9491 * gst/net/gstnetclientclock.c: New files, implement an untested
9492 GstClock that takes its time from a network time provider.
9493 Implements the algorithm in network-clock.scm.
9495 * tests/network-clock.scm (*window-size*): Rename from
9497 * tests/network-clock.scm (network-time):
9498 * tests/network-clock-utils.scm (q-push): Update callers.
9500 2005-11-17 Wim Taymans <wim@fluendo.com>
9502 * gst/gstbin.c: (gst_bin_provide_clock_func),
9503 (gst_bin_sort_iterator_new):
9504 And unref the child too..
9506 2005-11-17 Wim Taymans <wim@fluendo.com>
9508 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9509 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9510 Refactor the sort iterator so it can be used while holding the
9512 Make clock selection select a clock closest to the source.
9514 2005-11-17 Michael Smith <msmith@fluendo.com>
9516 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9517 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9519 Anonymous structs are a gcc (and some other compilers) extension, so
9520 don't use them. Since this is only for ABI-compatibility, and our
9521 API/ABI freeze is over in a few days, this whole thing will only
9522 last a few days, so don't bother trying to think up a meaningful
9523 name for the struct.
9525 2005-11-17 Andy Wingo <wingo@pobox.com>
9527 * gst/gstclock.h (GstClock): Add rate and offset properties,
9528 preserving ABI stability. Add rate/offset accessors. Will file bug
9529 for the freeze break.
9531 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9532 and offset, trying to keep precision and avoiding
9534 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9535 functions. Make gst_clock_set_time_adjust obsolete.
9536 (gst_clock_set_time_adjust): Note that this function is obsolete.
9539 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9540 greppable by using GST_PADDING-1+1.
9542 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9544 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9546 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9547 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9549 * gst/gstpadtemplate.h:
9550 * gst/gstpluginfeature.h:
9551 Don't use c++ style comments in headers (#321638).
9553 2005-11-16 Andy Wingo <wingo@pobox.com>
9555 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9558 * check/net/gstnettimeprovider.c: Check to see that the time
9559 provider actually provides times. Works, yo!
9561 2005-11-16 Wim Taymans <wim@fluendo.com>
9563 * check/Makefile.am:
9566 * check/elements/fakesrc.c: (GST_START_TEST):
9567 Set element to NULL before disposing it.
9569 2005-11-16 Andy Wingo <wingo@pobox.com>
9571 * gst/net/Makefile.am:
9573 * gst/net/gstnettimeprovider.c:
9574 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9575 provider, include it from gstnet.h, and add it to the build.
9577 * gst/net/gstnettimepacket.h:
9578 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9579 sending and receiving.
9581 2005-11-16 Wim Taymans <wim@fluendo.com>
9583 * check/Makefile.am:
9584 Enable valgrind check.
9586 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9587 (gst_fake_src_alloc_buffer):
9590 2005-11-16 Wim Taymans <wim@fluendo.com>
9592 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9593 Call parent finalize too.
9595 2005-11-16 Wim Taymans <wim@fluendo.com>
9597 * check/Makefile.am:
9598 Enable valgrind check that should work fine now.
9600 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9601 * gst/gstqueue.c: (gst_queue_init):
9602 Fix memleaks in pad allocation.
9604 2005-11-16 Andy Wingo <wingo@pobox.com>
9606 * gst/net/Makefile.am:
9607 * gst/net/gstnet.h: New part of core to hold network elements and
9608 objects. Put in core because it exposes API that applications want
9609 to use. The library is named libgstnet-tempname right now because
9610 of the existing libgstnet in gst-plugins-base. Solution is
9611 probably to rename the one in plugins-base; will file a bug for
9614 * gst/net/gstnettimeprovider.c:
9615 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9616 get_time call over the network.
9619 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9621 * check/Makefile.am:
9622 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9623 get additions shortly.
9625 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9627 * gst/gstpad.c: (gst_pad_new_from_static_template):
9629 add gst_pad_new_from_static_template functions
9630 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9631 (gst_check_setup_sink_pad):
9632 * gst/elements/gsttee.c: (gst_tee_init):
9635 2005-11-16 Wim Taymans <wim@fluendo.com>
9637 * gst/gstpad.c: (gst_pad_pause_task):
9638 Removed warning, it's not really an error either.
9640 2005-11-16 Wim Taymans <wim@fluendo.com>
9642 * gst/base/gstbasetransform.c:
9643 (gst_base_transform_prepare_output_buf),
9644 (gst_base_transform_event):
9645 Check if the caps are NULL, this can happen if the element
9646 is shutting down and the pad caps are set to NULL.
9648 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9650 * gst/elements/gsttee.c: (gst_tee_init):
9651 fix pad template leak in tee
9653 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9655 * gst/glib-compat.c: (g_value_dup_gst_object):
9656 * gst/glib-compat.h:
9657 * gst/gstpad.c: (gst_pad_set_property):
9658 use gst_object_ref when setting the pad template; this will
9659 trigger the pad template leaks on GLib 2.6 and the slaves
9661 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9663 * gst/glib-compat.c: (gst_flags_get_first_value):
9664 * gst/glib-compat.h:
9665 * gst/gstregistryxml.c:
9666 remove functions copied from GLib 2.6
9668 2005-11-16 Michael Smith <msmith@fluendo.com>
9671 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9672 do, but only breaks with newer valgrind versions. We're not a
9673 valgrind tool, we have no link-time dependencies on libcoregrind.
9675 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9677 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9682 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9684 * gst/base/gstbasesrc.c: (gst_base_src_init):
9685 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9686 * gst/gstqueue.c: (gst_queue_init):
9687 * gst/gstregistryxml.c: (load_feature):
9688 Revert all these unrefs, they don't even pass make check !
9690 2005-11-15 Johan Dahlin <johan@gnome.org>
9692 * gst/base/gstbasesrc.c: (gst_base_src_init):
9693 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9694 * gst/gstqueue.c: (gst_queue_init):
9695 Free pad templates, fixes a couple of leaks.
9697 2005-11-15 Daniel Fischer <dan at f3c dot com>
9699 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9701 * gst/gstpad.c: (gst_pad_get_property):
9702 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9703 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9706 2005-11-15 Wim Taymans <wim@fluendo.com>
9711 2005-11-15 Andy Wingo <wingo@pobox.com>
9713 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9715 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9716 using GST_CLOCK_TIME_NONE to disable base time management.
9717 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9718 time if it was NONE before.
9719 (gst_pipeline_change_state): Only munge the base time if
9720 stream_time != GST_CLOCK_TIME_NONE.
9722 * check/gst/gstpipeline.c (test_base_time): Punt around the
9723 problem of the probe not being called, because that's not the
9724 issue I'm looking at. Add a check that setting stream_time to NONE
9725 disables base time management.
9727 2005-11-15 Wim Taymans <wim@fluendo.com>
9729 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9730 segment_stop == -1 at startup.
9732 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9733 (gst_base_transform_change_state):
9734 Init segment values at start.
9736 2005-11-15 Wim Taymans <wim@fluendo.com>
9738 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9739 0 segment values are 0 in any format.
9741 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9742 * gst/base/gstbasetransform.h:
9743 Parse newsegment correctly in basetransform
9745 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9746 Sync to clock using updated segment values.
9748 2005-11-15 Andy Wingo <wingo@pobox.com>
9750 * check/gst/gstpipeline.c (test_base_time): Add check that the
9751 base time and stream time are reset correctly.
9753 2005-11-15 Wim Taymans <wim@fluendo.com>
9755 * docs/design/part-TODO.txt:
9756 Some more TODO items.
9758 2005-11-15 Andy Wingo <wingo@pobox.com>
9760 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9761 error if the user selected "no clock" as the clocking method.
9763 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9764 timestamps with live capture.
9766 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9767 is 0 but we are a live source, timestamp the buffers using the
9770 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9772 * docs/gst/gstreamer-sections.txt:
9774 * gst/gstghostpad.c:
9779 2005-11-14 Wim Taymans <wim@fluendo.com>
9782 add suppressions from Wim's Debian machine
9784 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9787 add suppressions from Andy's AMD64 Ubuntu machine
9789 2005-11-14 Andy Wingo <wingo@pobox.com>
9791 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9792 STATE_LOCK not necessary. Fixes #311489.
9794 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9797 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9798 this function is not implemented.
9800 2005-11-14 Julien MOUTTE <julien@moutte.net>
9802 * gst/base/gstbasetransform.c:
9803 (gst_base_transform_prepare_output_buf):
9804 Ref the source pad caps while we need them.
9807 2005-11-11 Wim Taymans <wim@fluendo.com>
9809 * docs/gst/gstreamer-sections.txt:
9810 Added some docs for GstCollectData.
9812 * gst/base/gstadapter.c:
9813 Some small code example fix.
9815 * gst/base/gstcollectpads.c:
9816 * gst/base/gstcollectpads.h:
9819 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9821 * configure.ac: back to HEAD
9823 === release 0.9.5 ===
9825 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9828 releasing 0.9.5, "Bike Lunch Day"
9830 2005-11-11 Wim Taymans <wim@fluendo.com>
9832 * gst/gstbuffer.c: (_gst_buffer_copy):
9835 * gst/gstcaps.c: (gst_caps_is_equal):
9837 Make _is_equal fast in the trivial cases.
9839 * gst/gstminiobject.c:
9840 * gst/gstminiobject.h:
9841 More docs. Spifify .h file.
9846 2005-11-11 Wim Taymans <wim@fluendo.com>
9848 * gst/base/gstbasetransform.c:
9849 (gst_base_transform_prepare_output_buf),
9850 (gst_base_transform_handle_buffer):
9852 If we're processing a buffer and need to allocate an output
9853 buffer, we cannot accept a format change. If we did get a
9854 format change, we have to alloc a buffer ourselves of the
9857 2005-11-11 Wim Taymans <wim@fluendo.com>
9859 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9860 While checking the flag for reentrancy in the gstcaps function
9861 is nice to detect recursive invocations, it also makes it
9862 impossible to call getcaps from multiple threads, which must be
9863 possible. So, checking for recursive calls has to go.
9865 2005-11-11 Michael Smith <msmith@fluendo.com>
9867 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9868 Don't sync on buffers that fall partially outside our current
9869 segment. Prevents an assertion failure/abort playing some files.
9871 2005-11-10 Andy Wingo <wingo@pobox.com>
9873 * check/gst/gstbin.c (test_message_state_changed_children): Style
9876 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9877 gst_bus_poll with the signal watch. Ensures that poll and a signal
9878 watch see the same messages.
9880 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9881 a poll and a watch at the same time get the same messages.
9883 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9885 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9886 * gst/gstcaps.c: (gst_caps_intersect):
9887 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9888 and it's not needed.
9890 2005-11-10 Wim Taymans <wim@fluendo.com>
9892 * docs/design/part-TODO.txt:
9895 2005-11-10 Wim Taymans <wim@fluendo.com>
9897 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9898 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9899 (gst_base_src_do_sync), (gst_base_src_get_range):
9900 Implement clock sync in base class.
9902 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9904 patch by: Tim-Philipp Müller <tim at centricular dot net>
9906 * gst/gststructure.c: (gst_structure_parse_field),
9907 (gst_structure_from_string):
9908 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9909 so that gst_parse_launch() can deal with spaces in filtered link
9910 caps (fixes #164479)
9911 * check/gst/capslist.h:
9912 * check/gst/gststructure.c: (GST_START_TEST):
9913 add unit tests for this change
9915 2005-11-10 Wim Taymans <wim@fluendo.com>
9917 * docs/gst/gstreamer-sections.txt:
9920 Fix docs, move some STATE macros to private.
9922 2005-11-10 Wim Taymans <wim@fluendo.com>
9924 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9925 Added check for bug #317341
9929 Some more spiffifying.
9931 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9932 Call peer linkfunction if we are a source pad. Totally fixes
9936 Update docs, source pads should call the peer linkfunction
9937 so they can atomically perform the pad link.
9939 2005-11-09 Wim Taymans <wim@fluendo.com>
9943 Uber-spiffy-spiffify some more.
9945 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9947 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9948 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9949 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9950 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9951 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9952 * gst/gstpad.c: (gst_pad_init):
9953 Use GST_DEBUG_FUNCPTR() more extensively.
9955 2005-11-09 Wim Taymans <wim@fluendo.com>
9957 * gst/gstobject.c: (gst_object_class_init):
9959 Documentation fixes.
9961 2005-11-09 Edward Hervey <edward@fluendo.com>
9963 * gst/gsttypefindfactory.c:
9966 2005-11-09 Edward Hervey <edward@fluendo.com>
9968 * gst/base/gsttypefindhelper.c:
9969 * gst/gsttypefind.c:
9970 * gst/gsttypefind.h:
9973 2005-11-09 Wim Taymans <wim@fluendo.com>
9975 * gst/gstiterator.c:
9982 2005-11-09 Wim Taymans <wim@fluendo.com>
9988 2005-11-09 Wim Taymans <wim@fluendo.com>
9990 * docs/gst/gstreamer-sections.txt:
9991 Moved the message async delivery private lock and cond
9992 to the private section.
9998 2005-11-09 Edward Hervey <edward@fluendo.com>
10000 * docs/gst/gstreamer-sections.txt:
10003 Document GstURIHandler
10005 2005-11-09 Wim Taymans <wim@fluendo.com>
10007 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
10008 (gst_iterator_find_custom):
10009 * gst/gstiterator.h:
10012 2005-11-09 Wim Taymans <wim@fluendo.com>
10015 Document another field.
10017 * gst/gststructure.c:
10018 * gst/gststructure.h:
10021 2005-11-09 Wim Taymans <wim@fluendo.com>
10024 Documented structs.
10026 2005-11-09 Wim Taymans <wim@fluendo.com>
10028 * docs/gst/gstreamer-sections.txt:
10029 Added some new macros.
10036 2005-11-09 Wim Taymans <wim@fluendo.com>
10038 * docs/design/part-TODO.txt:
10039 Some more items for the TODO
10045 2005-11-09 Andy Wingo <wingo@pobox.com>
10047 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
10048 to work on something else now tho...
10050 * gst/base/gstadapter.c: More adapter docs.
10052 * gst/elements/gstfilesink.c (gst_file_sink_start)
10053 (gst_file_sink_stop): New functions, replace the state change
10055 (gst_file_sink_class_init): Hook up the start and stop functions.
10056 (gst_file_sink_base_init): Don't set the state change handler any
10057 more. It was a bit ugly too, being set from here...
10058 (gst_file_sink_get_property, gst_file_sink_set_property):
10060 (gst_file_sink_set_location): More robust check that doesn't call
10061 GST_STATE. Ugggggg.
10063 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
10065 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10066 Hold STREAM_LOCK while pushing newsegment or tag events as well.
10068 2005-11-08 Wim Taymans <wim@fluendo.com>
10070 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10071 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10072 (gst_base_sink_chain), (gst_base_sink_change_state):
10073 * gst/base/gstbasesink.h:
10074 * gst/base/gstbasesrc.h:
10075 * gst/gstelement.h:
10077 Avoid excessive typechecking in macros.
10079 * gst/gstminiobject.c: (gst_mini_object_get_type),
10080 (gst_mini_object_init), (gst_mini_object_new),
10081 (gst_mini_object_free):
10082 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10083 (gst_object_finalize):
10084 Remove cruft code, optimize alloc_trace.
10086 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
10088 * docs/faq/gst-uninstalled:
10089 fix up PS1 for systems that try to reset it
10091 2005-11-07 Wim Taymans <wim@fluendo.com>
10093 * gst/base/gstbasesrc.c: (gst_base_src_init),
10094 (gst_base_src_get_range):
10095 Set the segment_end to -1 initially. Fixed typefind.
10097 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
10099 * gst/base/gstadapter.c:
10100 Debug category should be 'adapter', not 'GstAdapter'.
10102 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10103 (gst_collectpads_class_init), (gst_collectpads_init),
10104 (gst_collectpads_peek), (gst_collectpads_pop),
10105 (gst_collectpads_event), (gst_collectpads_chain):
10106 Add debug category and some debugging output. Use boilerplate
10107 macros. Remove some extraneous words from docs.
10109 2005-11-05 Andy Wingo <wingo@pobox.com>
10111 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10114 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10116 * docs/gst/gstreamer-sections.txt:
10119 * gst/gstminiobject.h:
10124 2005-11-04 Wim Taymans <wim@fluendo.com>
10126 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10127 Small update to stop at the configured segment_end
10130 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10132 * gst/gstregistry.c:
10133 * gst/gstregistry.h:
10136 2005-11-04 Edward Hervey <edward@fluendo.com>
10138 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10139 Check if we are doing a segment seek and have arrived at the
10140 end of that segment.
10142 2005-11-04 Wim Taymans <wim@fluendo.com>
10144 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10145 Don't leak a mutex unlock in case of an error.
10150 2005-11-04 Wim Taymans <wim@fluendo.com>
10152 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10154 Get the context to wake up only once.
10156 2005-11-03 Wim Taymans <wim@fluendo.com>
10158 * check/states/sinks.c: (GST_START_TEST):
10159 Uncomment fixed check.
10161 * docs/design/part-TODO.txt:
10164 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10165 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10166 (gst_base_sink_get_position):
10167 If we are going to PLAYING, post the right pending state
10168 when we post the intermediate paused message.
10170 * gst/gstelement.c: (gst_element_continue_state),
10171 (gst_element_set_state_func), (gst_element_change_state):
10172 Don't post state changes that were between the same state
10173 and were not ASYNC.
10175 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10177 * docs/gst/gstreamer-sections.txt:
10180 * gst/gstminiobject.h:
10183 more docs and doc style fixes
10185 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10187 * docs/gst/gstreamer-sections.txt:
10188 * gst/gstelement.c:
10189 * gst/gstminiobject.c:
10192 2005-11-03 Andy Wingo <wingo@pobox.com>
10194 * check/states/sinks.c (test_livesrc_sink): Add checks that the
10195 state-changed messages actually have the right order and the right
10198 2005-11-03 Wim Taymans <wim@fluendo.com>
10200 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10201 Added some more checks. Specifically the case where NO_PREROLL
10202 elements are in the pipeline.
10204 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10205 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10206 (gst_base_sink_get_position):
10207 Post READY->PAUSED state change messages too.
10208 Fix bug where VOID was posted as pending state...
10210 * gst/gstbin.c: (gst_bin_recalc_state):
10211 use _element_continue_state() to continue the state change.
10213 * gst/gstelement.c: (gst_element_continue_state),
10214 (gst_element_commit_state), (gst_element_set_state_func),
10215 (gst_element_change_state), (gst_element_change_state_func):
10216 Lots of state change cleanups, assign the STATE_RETURN in
10217 a new continue_state() function that also propagates the
10218 last return value from a state change to the app.
10219 Update some debug statements with proper category.
10221 2005-11-03 Wim Taymans <wim@fluendo.com>
10223 * docs/design/part-events.txt:
10224 * docs/design/part-gstpipeline.txt:
10225 * docs/design/part-messages.txt:
10226 * docs/design/part-overview.txt:
10227 * docs/design/part-seeking.txt:
10228 * docs/design/part-states.txt:
10229 * docs/design/part-trickmodes.txt:
10230 * docs/manual/advanced-position.xml:
10231 Small docs updates.
10234 People think !! is ugly, this looks better.
10236 * gst/gstpad.c: (gst_pad_set_blocked_async):
10237 Remove !! since it's fixed elsewhere now.
10239 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10241 * gst/gstminiobject.h:
10243 Add !! to _FLAG_IS_SET macros to make the result boolean.
10245 2005-11-03 Edward Hervey <edward@fluendo.com>
10247 * gst/gstpad.c: (gst_pad_set_blocked_async):
10248 comparing a flag and a gboolean rarely returns coherent results...
10249 Added two characters (!!) to make that work correctly.
10251 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10253 * gst/gstbus.c: (gst_bus_class_init):
10256 * gst/gstqueue.c: (gst_queue_loop):
10257 Don't assume a miniobject that isn't a buffer is an
10258 event (it could be that there is a refcounting
10259 problem somewhere and the pointer is stale and
10260 refers to an already destroyed miniobject).
10262 2005-11-03 Julien MOUTTE <julien@moutte.net>
10264 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10266 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10268 * docs/manual/advanced-position.xml:
10269 Update seek example and explanations to current 0.9 API.
10271 * gst/elements/gsttypefindelement.c:
10272 (gst_type_find_element_activate):
10273 Remove FIXME comment now that the found caps
10276 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
10278 * gst/gstregistryxml.c: (load_feature):
10279 Add another GST_STR_NULL instance
10281 2005-11-02 Edward Hervey <edward@fluendo.com>
10283 * gst/gstpad.c: (handle_pad_block):
10284 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10286 2005-11-02 Wim Taymans <wim@fluendo.com>
10291 * gst/gstelement.c: (gst_element_commit_state):
10292 Remove unused value.
10294 * gst/gstiterator.c:
10295 Mention that the returned element is reffed in the docs.
10297 2005-11-02 Wim Taymans <wim@fluendo.com>
10299 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10300 (gst_pad_push), (gst_pad_push_event):
10301 Unlock blocked pads when they are flushed.
10303 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10306 * docs/gst/gstreamer-sections.txt:
10309 * gst/gstregistry.c: (gst_registry_scan_path_level):
10310 fix for a nasty little missed situation where an installed plug-in
10311 which was in the cache did not get overridden by an uninstalled one
10312 which was earlier in the plugin path because the newly created plugin
10313 for the uninstalled one (not in the registry) didn't get its
10314 ->registered set to TRUE
10316 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10318 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10319 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10320 (gst_collectpads_is_active), (gst_collectpads_collect),
10321 (gst_collectpads_collect_range), (gst_collectpads_start),
10322 (gst_collectpads_stop), (gst_collectpads_peek),
10323 (gst_collectpads_pop), (gst_collectpads_available),
10324 (gst_collectpads_read), (gst_collectpads_flush):
10325 Guard public API with assertions.
10328 Fix docs for gst_pad_set_link_function().
10330 2005-11-02 Johan Dahlin <johan@gnome.org>
10332 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
10333 Unref found_caps after we used it.
10335 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10337 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10338 Don't try to ref NULL.
10340 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10342 * win32/common/config.h.in:
10343 provide a GST_FUNCTION that just gives a string for now
10345 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10347 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10348 (gst_object_flags_get_type), (register_gst_bin_flags),
10349 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10350 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10351 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10352 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10353 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10354 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10355 (gst_clock_flags_get_type), (register_gst_state),
10356 (gst_state_get_type), (register_gst_state_change_return),
10357 (gst_state_change_return_get_type), (register_gst_state_change),
10358 (gst_state_change_get_type), (register_gst_element_flags),
10359 (gst_element_flags_get_type), (register_gst_core_error),
10360 (gst_core_error_get_type), (register_gst_library_error),
10361 (gst_library_error_get_type), (register_gst_resource_error),
10362 (gst_resource_error_get_type), (register_gst_stream_error),
10363 (gst_stream_error_get_type), (register_gst_event_type),
10364 (gst_event_type_get_type), (register_gst_seek_type),
10365 (gst_seek_type_get_type), (register_gst_seek_flags),
10366 (gst_seek_flags_get_type), (register_gst_format),
10367 (gst_format_get_type), (register_gst_index_certainty),
10368 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10369 (gst_index_entry_type_get_type),
10370 (register_gst_index_lookup_method),
10371 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10372 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10373 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10374 (gst_index_flags_get_type), (register_gst_debug_level),
10375 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10376 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10377 (gst_iterator_result_get_type), (register_gst_iterator_item),
10378 (gst_iterator_item_get_type), (register_gst_message_type),
10379 (gst_message_type_get_type), (register_gst_mini_object_flags),
10380 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10381 (gst_pad_link_return_get_type), (register_gst_flow_return),
10382 (gst_flow_return_get_type), (register_gst_activate_mode),
10383 (gst_activate_mode_get_type), (register_gst_pad_direction),
10384 (gst_pad_direction_get_type), (register_gst_pad_flags),
10385 (gst_pad_flags_get_type), (register_gst_pad_presence),
10386 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10387 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10388 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10389 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10390 (gst_plugin_flags_get_type), (register_gst_rank),
10391 (gst_rank_get_type), (register_gst_query_type),
10392 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10393 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10394 (gst_tag_flag_get_type), (register_gst_task_state),
10395 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10396 (gst_alloc_trace_flags_get_type),
10397 (register_gst_type_find_probability),
10398 (gst_type_find_probability_get_type), (register_gst_uri_type),
10399 (gst_uri_type_get_type), (register_gst_parse_error),
10400 (gst_parse_error_get_type):
10401 * win32/common/gstversion.h:
10402 update win32 copies
10404 2005-11-01 Luca Ognibene <luogni@tin.it>
10407 fix docs. popt is dead, long live GOption.
10409 2005-10-31 Wim Taymans <wim@fluendo.com>
10414 2005-10-31 Andy Wingo <wingo@pobox.com>
10418 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10420 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10421 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10422 the possibility of deadlocks here if code calling notify() or
10423 set() has a lock that can be taken in another notify handler (ABBA
10424 with class lock and e.g. python GIL state lock).
10426 2005-10-28 Julien MOUTTE <julien@moutte.net>
10428 * gst/gstbus.c: Doc updates.
10430 2005-10-28 Wim Taymans <wim@fluendo.com>
10432 * docs/design/part-TODO.txt:
10433 * gst/gstiterator.c:
10434 * gst/gstsystemclock.c:
10435 * gst/gstsystemclock.h:
10438 2005-10-28 Edward Hervey <edward@fluendo.com>
10440 * docs/gst/gstreamer-docs.sgml:
10441 * docs/gst/gstreamer-sections.txt:
10442 the GstURIType documentation page is private, it only defines GstURIType
10443 which should be defined in the GstURIHandler page
10445 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10447 * gst/gstbin.c: (gst_bin_class_init):
10450 Documentation updates.
10452 2005-10-28 Wim Taymans <wim@fluendo.com>
10454 * docs/gst/gstreamer-sections.txt:
10457 Documented the clocks.
10459 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10461 * docs/gst/gstreamer-sections.txt:
10462 move some macros to private sections
10463 * gst/gstminiobject.c:
10464 * gst/gstminiobject.h:
10465 add descriptions provided by ds and some more
10467 mark macro as to be removed
10469 2005-10-28 Wim Taymans <wim@fluendo.com>
10471 * docs/design/part-TODO.txt:
10472 Add an item to TODO.
10474 * gst/gstiterator.c: (gst_iterator_fold),
10475 (gst_iterator_find_custom):
10476 * gst/gstiterator.h:
10479 2005-10-28 Wim Taymans <wim@fluendo.com>
10481 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10482 (gst_base_transform_init):
10485 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10486 An EOS event marks the queue as completely filled.
10488 2005-10-27 Wim Taymans <wim@fluendo.com>
10490 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10491 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10492 Some more debugging.
10494 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10495 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10496 (gst_base_transform_event), (gst_base_transform_getrange),
10497 (gst_base_transform_chain):
10498 * gst/base/gstbasetransform.h:
10500 Protect transform and concurrent buffer alloc with a new lock.
10501 Try not to break ABI/API.
10503 2005-10-27 Wim Taymans <wim@fluendo.com>
10505 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10506 (gst_base_src_init), (gst_base_src_query),
10507 (gst_base_src_default_newsegment),
10508 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10509 (gst_base_src_send_event), (gst_base_src_event_handler),
10510 (gst_base_src_pad_get_range), (gst_base_src_loop),
10511 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10512 (gst_base_src_start), (gst_base_src_deactivate),
10513 (gst_base_src_activate_push), (gst_base_src_change_state):
10514 Move some stuff around and cleanup things.
10516 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10518 * gst/base/gstbasesrc.c: (gst_base_src_query):
10519 Add missing break statements.
10521 2005-10-27 Wim Taymans <wim@fluendo.com>
10523 * check/gst/gstbin.c: (GST_START_TEST):
10524 An extra refcount is taken in basesrc.
10526 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10527 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10528 (gst_base_src_loop):
10529 Small cleanups, check for flushing after being unlocked from the
10530 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10531 Don't send out EOS when going to READY.
10533 2005-10-27 Wim Taymans <wim@fluendo.com>
10535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10536 (gst_base_sink_get_position):
10539 * gst/gstbin.c: (message_check), (bin_replace_message),
10540 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10541 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10542 (bin_query_duration_init), (bin_query_duration_fold),
10543 (bin_query_duration_done), (bin_query_generic_fold),
10545 * tools/gst-launch.c: (main):
10548 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10550 * examples/controller/audio-example.c: (main):
10551 * examples/queue/queue.c: (event_loop):
10552 * gst/base/gstbasetransform.h:
10553 * gst/gstelement.c: (gst_element_send_event):
10555 * gst/gstpad.c: (gst_pad_send_event):
10558 changing log priority in error situations
10560 2005-10-25 Wim Taymans <wim@fluendo.com>
10562 * gst/gstbin.c: (message_check), (bin_replace_message),
10563 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10564 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10565 (bin_query_duration_init), (bin_query_duration_fold),
10566 (bin_query_duration_done), (bin_query_generic_fold),
10568 Some doc and debug updates.
10569 Cache previously requested query DURATION for speed. invalidate
10570 cached duration if element posts a DURATION message.
10572 2005-10-25 Wim Taymans <wim@fluendo.com>
10574 * docs/design/part-TODO.txt:
10577 * gst/gstbin.c: (message_check), (bin_replace_message),
10578 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10579 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10580 (bin_query_duration_init), (bin_query_duration_fold),
10581 (bin_query_duration_done), (bin_query_generic_fold),
10583 Handle SEGMENT_START/DONE messages correctly.
10584 More evolved query algorithm that handles duration queries
10587 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10588 (gst_element_get_state_func), (gst_element_abort_state),
10589 (gst_element_commit_state), (gst_element_lost_state):
10590 Some more debugging.
10592 * gst/gstmessage.h:
10595 2005-10-25 Wim Taymans <wim@fluendo.com>
10597 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10598 Don't use invalid stream_time.
10600 * gst/gstevent.c: (gst_event_new_newsegment):
10601 stream_time in newsegment cannot be undefined.
10603 2005-10-24 Wim Taymans <wim@fluendo.com>
10608 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10610 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10612 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10614 * docs/libs/tmpl/gstdparam.sgml:
10615 * docs/libs/tmpl/gstdplinint.sgml:
10616 * docs/libs/tmpl/gstdpman.sgml:
10617 * docs/libs/tmpl/gstdpsmooth.sgml:
10618 * docs/libs/tmpl/gstunitconvert.sgml:
10621 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10626 === release 0.9.4 ===
10628 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10631 releasing 0.9.4, "Tyrannosaurus Rex"
10633 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10635 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10636 (gst_file_sink_get_current_offset):
10637 Use fseeko() and ftello() if available. When falling back on
10638 lseek() to get the current offset, fflush() first to make sure
10639 everything is up-to-date and we get the right offset.
10641 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10643 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10644 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10645 * gst/gsterror.c: (_gst_stream_errors_init):
10647 * gst/gstqueue.c: (gst_queue_loop):
10649 remove prematurely added error category and clean up the instances
10651 2005-10-21 Wim Taymans <wim@fluendo.com>
10653 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10654 (gst_base_sink_get_position), (gst_base_sink_query),
10655 (gst_base_sink_change_state):
10656 Simply set the right flag when going to playing, that's all
10657 we need to do instead of calling a function inside the object
10658 lock (that could take the lock as well and deadlock)
10660 2005-10-21 Wim Taymans <wim@fluendo.com>
10662 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10663 (gst_base_src_loop):
10664 Don't warn, the peer element knows what to do best when
10665 the seek failed, it might try something else.
10667 2005-10-21 Wim Taymans <wim@fluendo.com>
10669 * gst/base/gstbasesrc.c: (gst_base_src_init),
10670 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10673 2005-10-21 Wim Taymans <wim@fluendo.com>
10675 * docs/design/part-segments.txt:
10678 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10679 Correctly set caps, even on the subbufer.
10681 2005-10-21 Wim Taymans <wim@fluendo.com>
10683 * docs/gst/gstreamer-docs.sgml:
10684 * docs/gst/gstreamer-sections.txt:
10685 * gst/gstelement.h:
10688 * gst/gstmessage.h:
10691 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10695 And 2% more doc coverage.
10697 2005-10-21 Andy Wingo <wingo@pobox.com>
10699 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10700 position reporting.
10702 2005-10-20 Wim Taymans <wim@fluendo.com>
10704 * gst/gsterror.c: (gst_error_get_message):
10707 * gst/gststructure.c:
10712 2005-10-20 Wim Taymans <wim@fluendo.com>
10717 Another 1% more coverage.
10719 2005-10-20 Wim Taymans <wim@fluendo.com>
10721 * docs/gst/gstreamer-sections.txt:
10722 * gst/gstelement.c: (gst_element_get_state_func),
10723 (gst_element_abort_state), (gst_element_commit_state),
10724 (gst_element_lost_state):
10726 * gst/gstquery.c: (gst_query_set_position),
10727 (gst_query_parse_position), (gst_query_set_duration),
10728 (gst_query_parse_duration), (gst_query_new_convert):
10730 Yay! 1% more docs coverage.
10732 2005-10-20 Wim Taymans <wim@fluendo.com>
10735 * gst/gstquery.c: (gst_query_set_position),
10736 (gst_query_parse_position), (gst_query_set_duration),
10737 (gst_query_parse_duration), (gst_query_new_convert):
10739 * gst/gstutils.c: (gst_element_query_convert):
10741 Docs and consistency fixes.
10743 2005-10-20 Wim Taymans <wim@fluendo.com>
10749 2005-10-20 Wim Taymans <wim@fluendo.com>
10751 * gst/gstbin.c: (message_check), (bin_replace_message),
10752 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10753 (update_degree), (gst_bin_sort_iterator_next),
10754 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10755 Reworked the message handling a bit, cache the messages instead of
10756 only the senders. alows us to do more in the future.
10758 2005-10-20 Wim Taymans <wim@fluendo.com>
10760 * docs/design/part-TODO.txt:
10763 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10764 (gst_base_sink_query):
10765 Don't use clock time to report position when in EOS.
10767 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10769 * tools/gst-inspect.c: (print_interfaces),
10770 (print_element_properties_info), (print_element_info):
10771 Fix interface output with gst-inspect -a; don't print
10772 newlines after double/float properties.
10774 2005-10-20 Wim Taymans <wim@fluendo.com>
10776 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10777 (gst_base_sink_query):
10778 Speed up current position calculation.
10780 * gst/base/gstbasesrc.c: (gst_base_src_query),
10781 (gst_base_src_default_newsegment):
10782 Correctly set stream position in newsegment.
10784 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10785 (update_degree), (gst_bin_sort_iterator_next),
10786 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10787 * gst/gstmessage.c: (gst_message_new_custom):
10788 Clean up debugging info
10790 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10791 (gst_queue_loop), (gst_queue_handle_src_query):
10794 2005-10-19 Wim Taymans <wim@fluendo.com>
10796 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10797 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10798 Fix query handling again.
10800 2005-10-19 Wim Taymans <wim@fluendo.com>
10802 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10803 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10804 * gst/base/gstbasesrc.c: (gst_base_src_query):
10805 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10806 * gst/elements/gsttypefindelement.c:
10807 (gst_type_find_handle_src_query), (find_element_get_length),
10808 (gst_type_find_element_activate):
10811 * gst/gstquery.c: (gst_query_new_position),
10812 (gst_query_set_position), (gst_query_parse_position),
10813 (gst_query_new_duration), (gst_query_set_duration),
10814 (gst_query_parse_duration), (gst_query_set_segment),
10815 (gst_query_parse_segment):
10817 Bundling query position/duration is not a good idea since duration
10818 does not change much and we don't want to recalculate it for every
10819 position query, so they are separated again..
10820 Base value in segment query is not needed.
10822 * gst/gstqueue.c: (gst_queue_handle_src_query):
10823 * gst/gstutils.c: (gst_element_query_position),
10824 (gst_element_query_duration), (gst_pad_query_position),
10825 (gst_pad_query_duration):
10827 Updates for query API change.
10828 Added some docs here and there.
10830 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10832 * check/gst/gstbin.c: (GST_START_TEST):
10833 * check/gst/gstghostpad.c: (GST_START_TEST):
10834 * check/pipelines/cleanup.c: (GST_START_TEST):
10835 wait on thread to die so we can check refcount correctly
10837 2005-10-18 Wim Taymans <wim@fluendo.com>
10839 * check/pipelines/stress.c: (GST_START_TEST):
10840 Make check a little more time consuming.
10842 2005-10-18 Wim Taymans <wim@fluendo.com>
10844 * check/Makefile.am:
10845 * check/pipelines/stress.c: (GST_START_TEST),
10846 (simple_launch_lines_suite), (main):
10847 Small state change torture test.
10849 * docs/design/part-states.txt:
10850 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10851 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10852 (gst_base_sink_change_state):
10853 Never take state lock from streaming thread, clean up ugly
10854 hacks. Unfortunatly core does not yet support nice ways to
10855 async commit state.
10857 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10859 Start state recalc if a STATE_DIRTY message is posted, but only
10860 on the toplevel bin.
10862 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10863 (gst_element_get_state_func), (gst_element_abort_state),
10864 (gst_element_commit_state), (gst_element_lost_state),
10865 (gst_element_set_state_func), (gst_element_change_state):
10866 * gst/gstelement.h:
10867 State variables are now protected with the LOCK, the state
10868 lock is only used to serialize _set_state().
10870 2005-10-18 Wim Taymans <wim@fluendo.com>
10872 * check/gst/gstbin.c: (GST_START_TEST):
10873 * check/gst/gstmessage.c: (GST_START_TEST):
10874 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10875 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10877 * gst/gstelement.c: (gst_element_abort_state),
10878 (gst_element_commit_state), (gst_element_lost_state):
10879 * gst/gstmessage.c: (gst_message_new_state_changed),
10880 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10881 (gst_message_new_segment_done), (gst_message_new_duration),
10882 (gst_message_parse_state_changed),
10883 (gst_message_parse_segment_start),
10884 (gst_message_parse_segment_done), (gst_message_parse_duration):
10885 * gst/gstmessage.h:
10886 * tools/gst-launch.c: (event_loop):
10887 Seriously, this is better than a previous commit as we only need
10888 to notify the fact that an element changed state in a streaming
10889 thread, marking the state of the parents dirty, hence the
10890 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10893 2005-10-18 Wim Taymans <wim@fluendo.com>
10895 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10896 (gst_bin_recalc_func):
10897 * gst/gstelement.c: (gst_element_set_clock),
10898 (gst_element_abort_state), (gst_element_lost_state):
10899 Cleanups, prepare for state change fixes.
10901 2005-10-18 Wim Taymans <wim@fluendo.com>
10904 * gst/gstelement.c: (gst_element_class_init),
10905 (gst_element_set_state), (gst_element_set_state_func):
10906 * gst/gstelement.h:
10907 Pending ABI changes.
10908 GThreadPool in GstBinClass to monitor async state changes.
10909 state_cookie in GstElement to detect concurrent gst/set state.
10910 set_state is now virtual too in case a very complicated element
10911 has to be constructed.
10913 2005-10-18 Wim Taymans <wim@fluendo.com>
10915 * check/gst/gstbin.c: (GST_START_TEST):
10916 * check/gst/gstmessage.c: (GST_START_TEST):
10917 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10918 * gst/gstbin.c: (bin_bus_handler):
10919 * gst/gstelement.c: (gst_element_commit_state),
10920 (gst_element_lost_state):
10921 * gst/gstmessage.c: (gst_message_new_state_changed),
10922 (gst_message_new_segment_start), (gst_message_new_segment_done),
10923 (gst_message_new_duration), (gst_message_parse_state_changed),
10924 (gst_message_parse_segment_start),
10925 (gst_message_parse_segment_done), (gst_message_parse_duration):
10926 * gst/gstmessage.h:
10927 * tools/gst-launch.c: (event_loop):
10928 Make messages future proof.
10929 state-change gets a flag if it was a message comming from the
10931 segment-start/stop can also be specified in other formats.
10932 A message to notify an app that a pipeline changed playback
10934 Also fix a GstMessage leak in -launch
10936 2005-10-18 Andy Wingo <wingo@pobox.com>
10938 * gst/gstelement.c (gst_element_dispose): More helpful message.
10940 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10942 reviewed by: <delete if not using a buddy>
10944 * common/gtk-doc.mak:
10946 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10948 * gst/gstregistry.c: (gst_registry_scan_path_level):
10949 unref a plug-in we get that was already initialized
10951 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10953 * docs/gst/gstreamer-sections.txt:
10954 * docs/libs/gstreamer-libs-sections.txt:
10955 * gst/gstelement.h:
10956 add new api entries
10957 hide internal macro
10959 2005-10-17 Andy Wingo <wingo@pobox.com>
10961 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10964 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10966 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10968 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10969 (gst_element_get_state_func): Better debug message.
10970 (gst_element_commit_state): s/INFO/DEBUG/.
10971 (gst_element_lost_state, gst_element_change_state):
10973 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10974 (gst_message_new_custom): s/INFO/LOG/.
10976 2005-10-17 Michael Smith <msmith@fluendo.com>
10978 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10979 Check if end time is valid using end time, not start time.
10981 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10983 * check/gst-libs/controller.c: (GST_START_TEST),
10984 (gst_controller_suite):
10985 * libs/gst/controller/gstcontroller.c:
10986 (gst_controlled_property_set_interpolation_mode):
10987 * libs/gst/controller/gstcontroller.h:
10988 * libs/gst/controller/gstinterpolation.c:
10989 * testsuite/controller/.cvsignore:
10990 * testsuite/controller/Makefile.am:
10991 * testsuite/controller/interpolator.c:
10992 merge controller testsuites
10994 remove mem-chunk from docs
10996 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10998 * gst/gstmemchunk.c:
10999 * gst/gstmemchunk.h:
11000 * gst/gsttrashstack.c:
11001 * gst/gsttrashstack.h:
11002 out. get out. you're fired. to the Attic !
11004 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
11006 * gst/gstcaps.c: (gst_caps_intersect):
11007 fix signedness issues in a (hopefully) correct way
11008 * gst/gstelement.c: (gst_element_pads_activate):
11010 * gst/gstobject.c: (gst_object_set_parent):
11013 2005-10-17 Julien MOUTTE <julien@moutte.net>
11015 * gst/gstvalue.h: Fix prototypes.
11017 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11019 * docs/gst/gstreamer-sections.txt:
11020 * gst/gst.c: (gst_version_string):
11022 * gst/gstversion.h.in:
11023 * win32/common/libgstreamer.def:
11024 add gst_version_string ()
11026 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11030 * gst/gst.c: (init_post):
11031 * win32/common/config.h.in:
11033 * gst/gstcaps.c: (gst_caps_intersect):
11034 use gint64, the range could be bigger than a guint
11036 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11039 document potential problem in 2038
11041 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11043 * gst/gstcaps.c: (gst_caps_intersect):
11044 Fix guint j diving under 0
11046 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11049 * win32/common/config.h:
11050 * win32/common/config.h.in:
11051 check for process.h, declares getpid() on Windows
11053 include process.h if we have it
11054 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
11055 * gst/gstmemchunk.h:
11056 fix signedness issues
11057 * win32/common/libgstreamer.def:
11060 2005-10-16 Julien MOUTTE <julien@moutte.net>
11062 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
11063 fix. Because of unsigned ints, caps intersection was going nuts and
11064 trying to access structures with G_MAXUINT index. That fixes
11065 videotestsrc ! ffmpegcolorspace ! fakesink
11066 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
11069 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11072 use the gettext macro
11073 * gst/elements/gstelements.c:
11075 * gst/indexers/gstindexers.c:
11076 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11077 * win32/common/config.h:
11079 * win32/common/config.h.in:
11080 add the template to generate config.h
11081 * win32/common/gstenumtypes.c:
11082 * win32/common/gstversion.h:
11085 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11087 * gst/gst.c: (gst_version):
11088 * gst/gstversion.h.in:
11091 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11094 Oops, add missing closing bracket.
11096 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11099 use common m4's for argument checking
11101 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11103 * docs/gst/gstreamer-sections.txt:
11105 Add GST_EVENT_TYPE_NAME() macro.
11107 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11110 * gst/gstpluginfeature.c:
11112 privatize more symbols
11114 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11117 add srcdir, builddir includes to GST_ALL_CFLAGS, since
11118 everything that uses GStreamer API should have the includes
11120 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11122 * docs/gst/gstreamer-sections.txt:
11123 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11125 give each value a _get_type, removes the DATA exports
11127 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11131 remove _gst_registry_auto_load, not used anymore
11132 * gst/gstbin.c: (gst_bin_get_type):
11134 * gst/gstelement.c: (gst_element_get_type):
11135 * gst/gstelement.h:
11136 * gst/gstobject.c: (gst_object_get_type):
11138 * gst/gstpad.c: (gst_pad_get_type):
11140 make _get_type functions similar, fixes data export from library
11142 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11145 correctly make conditionals
11146 * gst/elements/Makefile.am:
11147 * gst/elements/gstelements.c:
11148 fix typo causing fdsrc not to build
11150 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11152 * testsuite/Makefile.am:
11153 * testsuite/bytestream/.cvsignore:
11154 * testsuite/bytestream/Makefile.am:
11155 * testsuite/bytestream/filepadsink.c:
11156 * testsuite/bytestream/gstbstest.c:
11157 * testsuite/bytestream/test1.c:
11158 * testsuite/bytestream/testfile1:
11159 * testsuite/caps/normalisation.c:
11160 * testsuite/caps/random.c: (main):
11161 * testsuite/cleanup/.cvsignore:
11162 * testsuite/cleanup/Makefile.am:
11163 * testsuite/cleanup/cleanup1.c:
11164 * testsuite/cleanup/cleanup2.c:
11165 * testsuite/cleanup/cleanup3.c:
11166 * testsuite/cleanup/cleanup4.c:
11167 * testsuite/cleanup/cleanup5.c:
11168 * testsuite/controller/interpolator.c:
11169 * testsuite/debug/printf_extension.c: (main):
11170 * testsuite/elements/tee.c:
11171 * testsuite/negotiation/.cvsignore:
11172 * testsuite/negotiation/Makefile.am:
11173 * testsuite/negotiation/pad_link.c:
11174 * testsuite/pad/Makefile.am:
11175 * testsuite/pad/chainnopull.c:
11176 * testsuite/pad/getnopush.c:
11177 * testsuite/pad/link.c:
11178 * testsuite/refcounting/sched.c: (create_pipeline):
11179 * testsuite/registry/Makefile.am:
11180 * testsuite/registry/gst-print-formats.c:
11181 * testsuite/schedulers/.cvsignore:
11182 * testsuite/schedulers/142183-2.c:
11183 * testsuite/schedulers/142183.c:
11184 * testsuite/schedulers/143777-2.c:
11185 * testsuite/schedulers/143777.c:
11186 * testsuite/schedulers/147713.c:
11187 * testsuite/schedulers/147819.c:
11188 * testsuite/schedulers/147894-2.c:
11189 * testsuite/schedulers/147894.c:
11190 * testsuite/schedulers/Makefile.am:
11191 * testsuite/schedulers/group_link.c:
11192 * testsuite/schedulers/queue_link.c:
11193 * testsuite/schedulers/relink.c:
11194 * testsuite/schedulers/unlink.c:
11195 * testsuite/schedulers/unref.c:
11196 * testsuite/schedulers/useless_iteration.c:
11197 * testsuite/states/bin.c:
11198 clean out/remove some stuff from the testsuite directories
11200 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11203 check for some headers
11204 * gst/elements/Makefile.am:
11205 * gst/elements/gstelements.c:
11206 don't compile fdsrc without sys/socket.h
11207 * gst/indexers/Makefile.am:
11208 * gst/indexers/gstindexers.c: (plugin_init):
11209 don't compile fileindex without mmap
11211 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11218 * check/Makefile.am:
11219 * docs/gst/Makefile.am:
11220 * examples/helloworld/Makefile.am:
11222 * gst/base/Makefile.am:
11223 * gst/check/Makefile.am:
11224 * gst/elements/Makefile.am:
11225 * gst/indexers/Makefile.am:
11226 * gst/parse/Makefile.am:
11227 * libs/gst/controller/Makefile.am:
11228 * libs/gst/dataprotocol/Makefile.am:
11229 * examples/helloworld/helloworld.c: (event_loop):
11230 compile fixes, though it's not being compiled currently
11232 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11234 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11235 Add some simple tests for the new taglist date API.
11237 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11239 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11240 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11241 Beautify 'last-message' output: print 'none' for buffer timestamps
11242 and durations if none is set; improve alignment with next messages.
11244 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11246 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11247 * gst/gstpluginfeature.h:
11248 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11249 * gst/gstregistry.h:
11250 * docs/gst/gstreamer-sections.txt:
11251 Add new API to check plugin feature version requirements.
11253 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11254 Some basic tests for the above.
11256 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11258 * gst/gststructure.c: (gst_structure_to_string):
11259 guard against NULL printf - happens when for example
11260 a message structure with GstClock gets serialized
11262 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11264 * gst/base/gstcollectpads.c: (gst_collectpads_event):
11265 Fix presumable copy'n'pasto.
11267 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11269 * gst/elements/gstfakesrc.h:
11270 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11271 * gst/elements/gsttypefindelement.c:
11272 fix some signedness
11273 * gst/elements/gstfilesink.c: (gst_file_sink_render):
11274 I wonder if this could actually write +2GB files before
11276 2005-10-13 Andy Wingo <wingo@pobox.com>
11278 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11279 Fix Timmeke Waymans bug.
11280 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11281 string of the proper length to gst_caps_from_string. There's a
11282 potential for, before this fix, that this could cause someone
11283 connecting over the network to cause a segfault if the payload is
11284 not NUL-terminated.
11286 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11288 * docs/design/draft-push-pull.txt:
11289 * docs/design/part-overview.txt:
11290 * docs/random/TODO-pre-0.9:
11291 * docs/random/old/ChangeLog.gstreamer:
11292 * gst/base/gstpushsrc.c:
11296 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11298 * gst/glib-compat.c: (gst_flags_get_first_value):
11299 * gst/glib-compat.h:
11300 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11301 (gst_value_compare_double), (gst_value_serialize_flags):
11302 GLib 2.6 g_flags_get_first_value has a bug that triggers an
11305 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11308 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11310 * tools/gst-launch.c: (event_loop):
11311 print out clock nicely
11313 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11315 * docs/gst/gstreamer-sections.txt:
11316 * gst/gsttaglist.h:
11317 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11318 (gst_tag_list_get_date_index):
11319 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11320 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11322 2005-10-13 Julien MOUTTE <julien@moutte.net>
11324 * gst/base/gstcollectpads.c: (gst_collectpads_event),
11325 (gst_collectpads_chain):
11326 * gst/base/gstcollectpads.h: Handle newsegment and store informations
11329 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11331 * docs/gst/gstreamer-sections.txt:
11334 * tools/gst-inspect.c: (main):
11335 * tools/gst-launch.c: (main):
11336 * tools/gst-run.c: (main):
11337 * tools/gst-xmlinspect.c: (main):
11338 fix GOption context leaks
11341 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11345 * win32/common/config.h:
11347 * win32/vs6/grammar.dsp:
11348 * win32/vs6/libgstelements.dsp:
11349 * win32/vs6/libgstreamer.dsp:
11352 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11354 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11355 * gst/base/gstbasesrc.c: (gst_base_src_query):
11356 fix more guint64<->gdouble conversions
11358 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11361 add win32-update target
11362 * win32/common/gstconfig.h:
11363 * win32/common/gstenumtypes.c:
11364 * win32/common/gstenumtypes.h:
11365 * win32/common/gstversion.h:
11366 add files that visual studio can't generate
11368 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11371 add a win32-update target
11374 2005-10-12 Wim Taymans <wim@fluendo.com>
11376 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11377 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11378 * gst/gstelement.c: (gst_element_commit_state),
11379 (gst_element_set_state):
11380 Protect flags with proper lock.
11381 unref provided cached clock in dispose.
11383 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11386 * gst/gstminiobject.h:
11388 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11389 removed unused flags from miniobject
11392 2005-10-12 Wim Taymans <wim@fluendo.com>
11394 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11395 (gst_file_sink_event), (gst_file_sink_render):
11396 Flush before seeking.
11398 2005-10-12 Andy Wingo <wingo@pobox.com>
11400 * gst/gst.c (gst_init_check): Ignore unknown options, as has
11401 always been the case.
11403 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11405 * check/gst/gstbin.c: (GST_START_TEST):
11406 * docs/gst/gstreamer-sections.txt:
11407 * gst/base/gstbasesink.c: (gst_base_sink_init):
11408 * gst/base/gstbasesrc.c: (gst_base_src_init),
11409 (gst_base_src_get_range), (gst_base_src_check_get_range),
11410 (gst_base_src_start), (gst_base_src_stop):
11411 * gst/base/gstbasesrc.h:
11412 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11413 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11414 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11418 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11420 * gst/gstelement.c: (gst_element_is_locked_state),
11421 (gst_element_set_locked_state), (gst_element_commit_state),
11422 (gst_element_set_state):
11423 * gst/gstelement.h:
11424 * gst/gstindex.c: (gst_index_init):
11426 * gst/gstminiobject.h:
11427 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11428 (gst_object_set_parent):
11430 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11431 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11433 * gst/gstpadtemplate.h:
11434 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11435 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11436 * gst/gstpipeline.h:
11437 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11438 (gst_file_index_commit):
11439 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11440 * testsuite/pad/link.c: (gst_test_src_init),
11441 (gst_test_filter_init), (gst_test_sink_init):
11442 * testsuite/states/locked.c: (main):
11443 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11444 moved bitshift from macro to enum definition
11446 2005-10-12 Wim Taymans <wim@fluendo.com>
11448 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11449 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11450 (gst_file_sink_render):
11451 Some more debugging info.
11453 2005-10-12 Wim Taymans <wim@fluendo.com>
11455 * docs/design/part-states.txt:
11456 * tools/gst-launch.c: (main):
11458 Revert non-intentional change.
11460 2005-10-12 Wim Taymans <wim@fluendo.com>
11462 * check/gst/gstbin.c: (GST_START_TEST):
11463 * check/gst/gstelement.c: (GST_START_TEST):
11464 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11465 * check/gst/gstghostpad.c: (GST_START_TEST):
11466 * check/gst/gstpipeline.c: (GST_START_TEST):
11467 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11468 * check/states/sinks.c: (GST_START_TEST):
11469 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11470 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11471 (gst_bin_remove_func), (gst_bin_get_state_func),
11472 (gst_bin_recalc_state), (gst_bin_change_state_func),
11474 * gst/gstelement.c: (gst_element_get_state_func),
11475 (gst_element_get_state), (gst_element_abort_state),
11476 (gst_element_commit_state), (gst_element_set_state),
11477 (gst_element_change_state), (gst_element_change_state_func):
11478 * gst/gstelement.h:
11479 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11480 (gst_pipeline_provide_clock_func):
11481 * gst/gstutils.c: (gst_element_link_pads_filtered):
11482 * tools/gst-launch.c: (main):
11483 * tools/gst-typefind.c: (main):
11484 Use GstClockTime in _get_state() instead of GTimeVal.
11485 Remove old code in gstutils.c
11487 2005-10-12 Andy Wingo <wingo@pobox.com>
11489 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11492 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11493 there is no task. Shouldn't affect any code, as nothing in our
11494 plugins checks this return value.
11495 (gst_pad_stop_task): Also take the stream lock if the pad has no
11496 task. Docs updated.
11498 2005-10-12 Wim Taymans <wim@fluendo.com>
11500 * gst/gstpad.c: (pre_activate), (post_activate),
11501 (gst_pad_activate_pull), (gst_pad_activate_push):
11502 Cleanup activation code. Reset old state if
11505 2005-10-12 Wim Taymans <wim@fluendo.com>
11507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11508 (gst_base_sink_change_state):
11509 No need to prerol after receiving EOS.
11511 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11512 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11513 * gst/elements/gstidentity.c: (gst_identity_event):
11514 Print events more verbosely.
11516 2005-10-12 Wim Taymans <wim@fluendo.com>
11518 * check/Makefile.am:
11519 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11520 * check/states/sinks2.c:
11521 Moved sinks2 testcode in sinks check.
11523 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11524 (gst_bin_remove_func), (gst_bin_recalc_state),
11525 (gst_bin_change_state_func), (bin_bus_handler):
11526 Fix potential race condition when _get_state() iterated over an
11527 ASYNC element right before it posted a state completion.
11530 Do proper cast here.
11532 * gst/gstevent.c: (gst_event_new_newsegment),
11533 (gst_event_parse_newsegment):
11534 A playback rate of 0.0 is not allowed.
11536 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11538 * win32/common/config.h:
11539 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11540 (_trewinddir), (_ttelldir), (_tseekdir):
11541 * win32/common/dirent.h:
11542 * win32/common/gtchar.h:
11543 * win32/common/libgstbase.def:
11544 * win32/common/libgstreamer.def:
11545 * win32/vs6/grammar.dsp:
11546 * win32/vs6/gst_inspect.dsp:
11547 * win32/vs6/gst_launch.dsp:
11548 * win32/vs6/gstreamer.dsw:
11549 * win32/vs6/libgstbase.dsp:
11550 * win32/vs6/libgstelements.dsp:
11551 * win32/vs6/libgstreamer.dsp:
11552 Visual Studio 6 project files, and a new common directory.
11555 2005-10-11 Wim Taymans <wim@fluendo.com>
11557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11558 (gst_base_sink_do_sync), (gst_base_sink_query),
11559 (gst_base_sink_change_state):
11560 * gst/base/gstbasesink.h:
11561 Correctly parse newsegment info.
11563 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11565 * gst/gst.c: (init_post):
11566 split plugin paths correctly
11568 2005-10-11 Wim Taymans <wim@fluendo.com>
11570 * check/gst/gstevent.c: (GST_START_TEST):
11571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11572 (gst_base_sink_change_state):
11573 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11574 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11575 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11576 * gst/gstevent.c: (gst_event_new_newsegment),
11577 (gst_event_parse_newsegment):
11579 Added extra flag to newsegment for future API freeze.
11580 Updated check and base elements.
11582 2005-10-11 Julien MOUTTE <julien@moutte.net>
11584 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11585 (gst_collectpads_add_pad), (gst_collectpads_pop),
11586 (gst_collectpads_event), (gst_collectpads_chain):
11587 * gst/base/gstcollectpads.h: Handle EOS correctly.
11589 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11591 * tools/gst-launch.c: (main):
11592 more null protecting
11594 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11596 * gst/gst-i18n-lib.h:
11597 check for ENABLE_NLS, not GETTEXT_PACKAGE
11598 * gst/gstregistry.c: (gst_registry_add_plugin),
11599 (gst_registry_scan_path_level),
11600 (_gst_registry_remove_cache_plugins):
11601 protect possibly NULL strings
11602 * gst/parse/types.h:
11603 config.h already included before
11604 * tools/gst-inspect.c: (main):
11605 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11606 check for ENABLE_NLS, not GETTEXT_PACKAGE
11607 * tools/gst-launch.c: (main):
11608 check for ENABLE_NLS, not GETTEXT_PACKAGE
11610 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11613 if we don't have glib, fail before testing 2.8
11614 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11615 fix a leak, should fix plugins-base testsuite
11617 2005-10-11 Andy Wingo <wingo@pobox.com>
11619 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11620 take the mode we're going to as an arg. Go head and set the mode
11621 and flushing flags now, so that if the activate function starts a
11622 thread all the flags will be in the right state.
11623 (post_activate): Renamed also. Just handle making sure streaming
11624 finishes for the deactivation case, and setting the deactivated
11626 (gst_pad_set_active): Complain loudly if deactivation fails.
11627 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11628 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11629 remove the terrible hack.
11631 2005-10-11 Wim Taymans <wim@fluendo.com>
11633 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11634 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11635 (gst_bin_recalc_state), (gst_bin_change_state_func),
11636 (gst_bin_dispose), (bin_bus_handler):
11638 Prepare to make current EOS message queue more generic.
11641 * gst/gstevent.c: (gst_event_new_newsegment),
11642 (gst_event_parse_newsegment):
11644 Rename base to stream_time.
11646 * gst/gstmessage.h:
11649 2005-10-11 Wim Taymans <wim@fluendo.com>
11651 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11652 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11653 (gst_bin_change_state_func), (bin_bus_handler):
11655 Work on proper clock selection.
11657 2005-10-11 Edward Hervey <edward@fluendo.com>
11659 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11660 * libs/gst/controller/gstcontroller.h:
11661 Added GList* version of _remove_properties() in order to be able to wrap
11664 2005-10-11 Wim Taymans <wim@fluendo.com>
11666 * docs/design/part-states.txt:
11669 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11670 (gst_bin_change_state_func), (bin_bus_handler):
11671 Doc updates. Don't distribute the same clock over and over again.
11677 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11678 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11679 (gst_pad_send_event):
11681 Make probe emission threadsafe again.
11682 Register quarks and move _get_name() from utils.
11685 * gst/gstpipeline.c: (gst_pipeline_class_init),
11686 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11687 Only redistribute the clock of it changed.
11689 * gst/gstsystemclock.h:
11694 Moved the _flow_get_name() to GstPad.
11696 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11698 * check/gst-libs/gdp.c: (GST_START_TEST):
11699 * check/gst/gstcaps.c: (GST_START_TEST):
11700 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11701 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11702 (gst_dp_packet_from_caps):
11703 fix more valgrind warnings before turning up the heat
11705 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11707 * gst/parse/grammar.y:
11708 some cleanup before the hacking
11710 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11712 * gst/base/gstbasesrc.c: (gst_base_src_query):
11714 * gst/gstutils.c: (gst_guint64_to_gdouble),
11715 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11717 externalize, basesrc uses it
11718 obviously the implementation needs testing
11720 2005-10-10 Wim Taymans <wim@fluendo.com>
11722 * tests/sched/Makefile.am:
11723 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11724 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11726 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11728 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11729 apparently converting from guint64 to double is not implemented
11732 2005-10-10 Wim Taymans <wim@fluendo.com>
11734 * check/Makefile.am:
11735 * check/generic/states.c: (GST_START_TEST):
11736 * check/gst/gstbin.c: (GST_START_TEST):
11737 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11738 * check/states/sinks.c: (GST_START_TEST):
11739 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11741 Check fixes, use API as stated in design docs, remove hacks.
11743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11744 (gst_base_sink_change_state):
11745 Catch stopping our task while we're shutting down.
11747 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11748 (gst_bin_remove_func), (gst_bin_get_state_func),
11749 (gst_bin_recalc_state), (gst_bin_change_state_func),
11752 * gst/gstelement.c: (gst_element_init),
11753 (gst_element_get_state_func), (gst_element_abort_state),
11754 (gst_element_commit_state), (gst_element_lost_state),
11755 (gst_element_set_state), (gst_element_change_state),
11756 (gst_element_change_state_func):
11757 * gst/gstelement.h:
11758 New state change algorithm (see #318116)
11760 * gst/gstpipeline.c: (gst_pipeline_class_init),
11761 (gst_pipeline_init), (gst_pipeline_set_property),
11762 (gst_pipeline_get_property), (do_pipeline_seek),
11763 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11764 * gst/gstpipeline.h:
11765 Remove crude state change hacks.
11768 Remove crude hacks.
11770 * tools/gst-launch.c: (main):
11771 Fixes for state change. Needs some more work to fully use the
11774 2005-10-10 Andy Wingo <wingo@pobox.com>
11776 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11778 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11779 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11782 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11784 * gst/gstiterator.c: (gst_iterator_new):
11785 Fix my previous commit: GTypes passed to gst_iterator_new()
11786 can be fundamental types.
11788 2005-10-10 Wim Taymans <wim@fluendo.com>
11790 * gst/gstelement.c: (gst_element_iterate_pad_list),
11791 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11792 (gst_element_iterate_sink_pads):
11793 Use src/sink pads lists for the respective iterators instead
11796 2005-10-10 Andy Wingo <wingo@pobox.com>
11798 Merged in popt removal + GOption addition patch from Ronald, bug
11801 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11802 GstElement macros around, remove popt-related symbols, add goption
11805 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11807 * docs/gst/Makefile.am:
11808 * docs/libs/Makefile.am: No POPT_CFLAGS.
11810 * examples/manual/Makefile.am:
11811 * docs/manual/basics-init.xml: Doc updates with an example.
11813 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11814 (gst_init), (parse_one_option), (parse_goption_arg):
11815 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11816 bit of hand merging and debugging to get the GOption stuff working
11819 * tests/Makefile.am:
11820 * tools/Makefile.am:
11821 * tools/gst-inspect.c: (main):
11822 * tools/gst-launch.c: (main):
11823 * tools/gst-run.c: (main):
11824 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11826 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11828 * gst/gstiterator.c: (gst_iterator_new):
11829 Add assertions to make sure passed GType is likely to really
11830 be a GType (as the compiler won't catch it if the size and
11831 GType arguments get mixed up, see #318447).
11833 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11835 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11837 * gst/gstbin.c: (gst_bin_iterate_sorted):
11838 Pass GType and size arguments to gst_iterator_new() in the right
11839 order (maybe we should make _new() take the GType as first argument
11840 just like _new_list()?) (#318447).
11843 2005-10-10 Wim Taymans <wim@fluendo.com>
11845 * gst/gstelement.c: (gst_element_finalize):
11846 And free the GStaticRecMutex too
11848 2005-10-10 Andy Wingo <wingo@pobox.com>
11850 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11851 Allocate and free the mutex properly.
11853 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11855 (GstElement): The state_lock is now recursive. Rebuild your
11856 plugins, suckers. Old macros adapted.
11858 * docs/gst/gstreamer-sections.txt: Doc updates.
11861 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11862 (g_static_rec_cond_wait): Ported from state changes patch, while
11863 we wait on bug #317802 to be solved in a well-distributed GLib.
11865 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11866 gst_element_change_state, variable name changes.
11867 (gst_element_change_state): Split out of gst_element_set_state in
11868 preparation for the state change merge. Doesn't pay attention to
11869 the 'transition' argument.
11870 (gst_element_set_state): Updates, hopefully purely cosmetic.
11871 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11872 state change patch.
11873 (gst_element_get_state_func): Renamed from get_state, cosmetic
11876 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11878 * gst/elements/gstelements.c:
11879 * win32/GStreamer.vcproj:
11881 * win32/dirent.c: (_tseekdir):
11882 * win32/gst-inspect.vcproj:
11883 * win32/gst-launch.vcproj:
11884 * win32/gstconfig.h:
11885 * win32/gstelements.vcproj:
11886 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11887 * win32/gstreamer.def:
11888 * win32/msvc71.sln:
11889 updates for the win32 build (patch from Sebastien Moutte)
11891 2005-10-10 Andy Wingo <wingo@pobox.com>
11893 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11894 gst_bin_get_state, cleaned up (but no logic changes).
11895 (bin_element_is_sink): Comment updates.
11896 (sink_iterator_filter): Remove needless cast.
11897 (gst_bin_iterate_sinks): Doc update.
11898 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11899 cleaned up (but no logic changes).
11901 * check/states/sinks.c (test_src_sink): Cleanups from the state
11903 (test_livesrc_sink): Sync on the state.
11905 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11906 the state change patch.
11908 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11911 * check/gst/gstbin.c: Merge in some style fixes and additional
11912 checks from Wim's state change patch.
11914 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11916 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11917 (gst_type_find_helper):
11918 Check whether we have the requested data already in our list of
11919 cached buffers before pulling a new buffer; also make the buffer
11920 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11922 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11927 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11928 don't use long long, it's not portable. Replacing with
11929 gint64 seems to work; let's hope no skeletons fall out of the closet.
11931 2005-10-10 Andy Wingo <wingo@pobox.com>
11933 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11935 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11937 * docs/gst/gstreamer-sections.txt:
11942 * gst/gstmessage.c: (gst_message_parse_state_changed):
11945 more docs, fix compilation
11947 2005-10-09 Philippe Khalaf <burger@speedy.org>
11948 * gst/gstmessage.c:
11949 Fixed a few forgotten variables on previous commit
11951 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11953 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11954 Fix evil typefind crasher: getrange() might return a short
11955 buffer at the end of a file, but gst_type_find_peek() must
11956 either return the full data as requested or NULL, but
11957 never a short buffer.
11959 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11961 * gst/gstmessage.c: (gst_message_new_state_changed),
11962 (gst_message_parse_state_changed):
11963 * gst/gstmessage.h:
11964 don't use "new", it's a C++ keyword
11966 2005-10-08 Wim Taymans <wim@fluendo.com>
11968 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11969 * gst/gstelement.c: (gst_element_post_message):
11970 * gst/gstpipeline.c: (gst_pipeline_change_state):
11971 Small docs and debug updates.
11973 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11975 * docs/gst/gstreamer-sections.txt:
11976 * gst/gstelementfactory.c:
11978 * gst/gsttaglist.c:
11981 2005-10-08 Wim Taymans <wim@fluendo.com>
11983 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11984 (gst_bin_dispose), (bin_bus_handler):
11985 Fix typos, add comments.
11986 Clear EOS list when going to PAUSED from any direction and do it
11987 in a threadsafe way.
11988 Get base time in a threadsafe way too.
11989 Fix confusing debug in the change_state function.
11990 Various other small cleanups.
11992 * gst/gstelement.c: (gst_element_post_message):
11993 Fix very verbose bus posting code.
11995 * gst/gstpipeline.c: (gst_pipeline_class_init),
11996 (gst_pipeline_set_property), (gst_pipeline_get_property),
11997 (gst_pipeline_change_state):
11998 Small ARG_ -> PROP_ cleanup
12000 2005-10-08 Wim Taymans <wim@fluendo.com>
12002 * gst/gstbin.c: (is_eos), (bin_bus_handler):
12003 Do a less CPU demanding EOS check because we can.
12005 2005-10-08 Wim Taymans <wim@fluendo.com>
12007 * libs/gst/dataprotocol/dataprotocol.c:
12008 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12009 (gst_dp_packet_from_event):
12010 * libs/gst/dataprotocol/dataprotocol.h:
12011 * libs/gst/dataprotocol/dp-private.h:
12012 It's about time we bump the version number.
12013 Since event types don't fit in the guint8 anymore describing
12014 the payload type, make payload type 16 bits wide.
12016 2005-10-08 Wim Taymans <wim@fluendo.com>
12018 * docs/design/part-TODO.txt:
12019 * docs/design/part-clocks.txt:
12020 * docs/design/part-events.txt:
12021 * docs/design/part-gstbin.txt:
12022 * docs/design/part-gstelement.txt:
12023 * docs/design/part-gstpipeline.txt:
12024 * docs/design/part-live-source.txt:
12025 * docs/design/part-messages.txt:
12026 * docs/design/part-overview.txt:
12027 * docs/design/part-states.txt:
12030 2005-10-08 Wim Taymans <wim@fluendo.com>
12034 Fix event quark registration.
12035 Add some space between events so we can insert them in the
12038 2005-10-08 Wim Taymans <wim@fluendo.com>
12040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12041 (gst_base_sink_handle_buffer):
12042 Better log message.
12045 * gst/gstelement.h:
12048 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12049 (gst_queue_set_property), (gst_queue_get_property):
12051 Remove old unused properties.
12053 2005-10-08 Stefan Kost <ensonic@users.sf.net>
12054 * docs/gst/gstreamer-sections.txt:
12055 * gst/gstmessage.c:
12056 * gst/gstmessage.h:
12057 * gst/gstminiobject.c:
12058 * gst/gstminiobject.h:
12062 lots of new docs and doc fixes
12064 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12066 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
12068 * gst/gstregistry.c: (gst_registry_lookup_locked),
12069 (gst_registry_scan_path_level):
12070 * gst/gstregistryxml.c: (load_plugin):
12071 Only ever load one plugin for a given plugin basename.
12072 This ensures correct overriding of GST_PLUGIN_PATH over
12073 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12074 system installed plugins.
12076 2005-10-08 Wim Taymans <wim@fluendo.com>
12078 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12079 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12080 Prepare for doing QOS.
12082 2005-10-08 Wim Taymans <wim@fluendo.com>
12084 * check/gst/gstbin.c: (GST_START_TEST):
12085 * check/pipelines/cleanup.c: (GST_START_TEST):
12086 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12087 Allow new clock message too.
12089 2005-10-08 Wim Taymans <wim@fluendo.com>
12091 * gst/gstmessage.c: (gst_message_new_error),
12092 (gst_message_new_warning), (gst_message_new_tag),
12093 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12094 (gst_message_new_clock_lost), (gst_message_new_new_clock),
12095 (gst_message_new_segment_start), (gst_message_new_segment_done),
12096 (gst_message_parse_state_changed),
12097 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12098 (gst_message_parse_new_clock):
12099 * gst/gstmessage.h:
12100 Also carry the clock in question.
12102 2005-10-08 Wim Taymans <wim@fluendo.com>
12104 * gst/gstmessage.c: (gst_message_new_custom),
12105 (gst_message_new_eos), (gst_message_new_error),
12106 (gst_message_new_warning), (gst_message_new_tag),
12107 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12108 (gst_message_new_new_clock), (gst_message_new_segment_start),
12109 (gst_message_new_segment_done), (gst_message_parse_state_changed),
12110 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12111 * gst/gstmessage.h:
12113 Added clock related messages.
12115 * gst/gstpipeline.c: (gst_pipeline_change_state):
12116 Post message when the clock changed.
12118 * tools/gst-launch.c: (event_loop):
12121 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
12123 * tools/gst-inspect.c: (print_element_properties_info):
12124 Can't pass NULL strings to g_print() on windows.
12126 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12128 * docs/Makefile.am:
12129 * docs/gst/Makefile.am:
12130 * docs/gst/gstreamer-docs.sgml:
12131 * docs/gst/running.xml:
12132 * docs/version.entities.in:
12133 add a chapter on running GStreamer.
12134 document GST_DEBUG and GST_PLUGIN* env vars
12136 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12141 remove PLUGINS_BUILDDIR stuff
12142 * gst/gst.c: (init_post):
12143 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12145 remove, it was condescending and not needed
12147 2005-10-08 Wim Taymans <wim@fluendo.com>
12149 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12150 (gst_base_sink_handle_object), (gst_base_sink_event),
12151 (gst_base_sink_wait), (gst_base_sink_handle_event),
12152 (gst_base_sink_change_state):
12153 * gst/base/gstbasesink.h:
12154 Repost EOS message while going to PLAYING if still EOS.
12155 Make sure that when receiving a FLUSH_START we don't attempt
12156 to sync on the clock anymore.
12158 2005-10-08 Wim Taymans <wim@fluendo.com>
12160 * tools/gst-launch.c: (event_loop):
12161 Better message printout.
12163 2005-10-08 Wim Taymans <wim@fluendo.com>
12165 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12166 (gst_bin_child_proxy_get_children_count):
12167 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12168 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12169 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12170 (gst_child_proxy_set_valist):
12171 * gst/parse/grammar.y:
12172 Make ChildProxy threadsafe and fix mem leaks.
12174 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12176 * gst/gst.c: (init_post):
12177 debug the GST_PLUGIN_ env vars
12179 2005-10-08 Wim Taymans <wim@fluendo.com>
12181 * check/gst/gstbin.c: (GST_START_TEST):
12182 * check/gst/gstmessage.c: (GST_START_TEST):
12183 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12184 * gst/gstelement.c: (gst_element_commit_state),
12185 (gst_element_lost_state):
12186 * gst/gstmessage.c: (gst_message_new_state_changed),
12187 (gst_message_parse_state_changed):
12188 * gst/gstmessage.h:
12189 * tools/gst-launch.c: (event_loop):
12190 Added extra field to STATE_CHANGE message with the pending
12191 state, which will be different from the new state soon.
12193 2005-10-08 Wim Taymans <wim@fluendo.com>
12195 * gst/gstbus.c: (gst_bus_pop):
12197 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12198 Small cleanups and doc updates.
12200 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12202 * gst/gst.c: (init_pre):
12203 * gst/gstbin.c: (gst_bin_add_func):
12204 log distributing clocks and base time
12205 * gst/gstregistry.c: (gst_registry_add_plugin),
12206 (gst_registry_scan_path_level), (gst_registry_scan_path):
12207 clean up the debugging output a little
12208 * gst/gstutils.c: (gst_element_state_get_name):
12209 warn about a memleak (I've actually seen this be used, though
12210 it was probably a bug)
12212 2005-10-07 Wim Taymans <wim@fluendo.com>
12214 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12215 (gst_base_src_init), (gst_base_src_default_newsegment),
12216 (gst_base_src_newsegment), (gst_base_src_do_seek),
12217 (gst_base_src_loop), (gst_base_src_start):
12218 * gst/base/gstbasesrc.h:
12219 Make the newsegment event customizable by subclasses.
12221 2005-10-07 Wim Taymans <wim@fluendo.com>
12223 * gst/gstevent.c: (gst_event_new_buffersize),
12224 (gst_event_parse_buffersize):
12226 New event for future idea.
12228 2005-10-07 Andy Wingo <wingo@pobox.com>
12230 * gst/gstelement.c (gst_element_post_message): Doc update.
12232 * docs/gst/gstreamer-sections.txt: Update.
12234 * gst/gstmessage.c (gst_message_new_application): Made into a
12235 function like honest API calls.
12236 (gst_message_new_element): New message type.
12238 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12240 * check/elements/fakesrc.c (test_no_preroll): New check, checks
12241 that setting a live fakesrc to PAUSED returns NO_PREROLL both
12244 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12245 NO_PREROLL from gst_element_change_state to fall through.
12247 2005-10-07 Wim Taymans <wim@fluendo.com>
12249 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12250 (gst_ghost_pad_do_activate_push):
12251 Activating a ghostpad with no internal pad in push mode
12254 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
12257 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12258 Fixes compilation on Windows.
12260 2005-10-07 Michael Smith <msmith@fluendo.com>
12262 * tools/gst-inspect.c:
12263 Print out feature and plugin count at the end when printing out
12266 2005-10-04 Michael Smith <msmith@fluendo.com>
12268 * gst/gsterror.c: (_gst_stream_errors_init):
12269 Add another error string used in a few existing plugins.
12272 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12273 * tools/gst-inspect.c: (print_element_info):
12274 When a feature disappears from a plugin (and the feature exists in
12275 the cached registry file), things went horribly wrong. This isn't a
12276 complete fix, we should actually be removing the 'missing' features
12277 from the features list when we load the actual plugin. That's not
12280 2005-10-04 Johan Dahlin <johan@gnome.org>
12282 * check/gst/gstiterator.c: (GST_START_TEST):
12283 * gst/gstbin.c: (gst_bin_iterate_elements),
12284 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12285 * gst/gstelement.c: (gst_element_iterate_pads):
12286 * gst/gstformat.c: (gst_format_iterate_definitions):
12287 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12288 (gst_iterator_new_list), (gst_iterator_filter):
12289 * gst/gstiterator.h:
12290 * gst/gstquery.c: (gst_query_type_iterate_definitions):
12291 Add a GType to GstIterator, update callsites and tests.
12293 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12295 * gst/gstpad.c: (gst_pad_event_default_dispatch):
12296 give events a chance to be handled by event probes when the pad
12299 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12301 * gst/gstevent.c: (gst_event_type_get_name),
12302 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12304 add string representations for event types
12306 2005-10-06 Wim Taymans <wim@fluendo.com>
12308 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12309 Don't use NULL pointers.
12311 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12313 * gst/gst_private.h:
12315 * gst/gstelement.c:
12317 * gst/gstpluginfeature.c:
12318 widen the debug category in output to fit the biggest one we have
12319 add a bus category and use it
12320 play with the colors
12321 fix up some categories
12323 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12325 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12326 add push activation of sink ghost pads.
12327 Andye, please verify
12329 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12331 * gst/gstutils.c: (gst_element_link_pads):
12332 fix a bug in the case where neither element has a pad
12333 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12334 add a test for that case
12336 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12338 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12339 emit have-data before checking for peers. This allows
12340 for probe handlers to connect elements. This helps autopluggers.
12341 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12343 add six checks, linked/unlinked with no/true/false probe
12345 2005-10-04 Wim Taymans <wim@fluendo.com>
12347 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12348 (gst_fake_sink_event), (gst_fake_sink_preroll),
12349 (gst_fake_sink_render), (gst_fake_sink_change_state):
12350 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12351 (gst_fake_src_get_property), (gst_fake_src_create),
12352 (gst_fake_src_stop):
12353 * gst/elements/gstidentity.c: (gst_identity_stop):
12354 Protect last_message with lock.
12356 2005-10-04 Edward Hervey <edward@fluendo.com>
12359 Added precision in the comments for GST_FORMAT_DEFAULT
12361 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
12363 * tools/gst-launch.c: (main):
12364 Don't try to run erroneous pipelines.
12366 2005-10-04 Julien MOUTTE <julien@moutte.net>
12368 * gst/gstbus.c: We don't need this header.
12370 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12373 back to development
12375 === release 0.9.3 ===
12377 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12381 Releasing 0.9.3, "Unregistered"
12383 2005-10-03 Andy Wingo <wingo@pobox.com>
12385 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12386 whereby calling a pad's activatepush() function can start a thread
12387 that starts to push or pull before the pad gets the FLUSHING flag
12388 unset. Hack around it by holding the stream lock until the flag is
12389 set. Need to replace this with a proper solution. Together with
12390 the ghost pad fixes, this fixes mp3 playing/tagreading.
12392 * docs/design/part-gstghostpad.txt: Add a note about activation of
12393 proxy pads outside of ghost pads.
12395 * gst/gstghostpad.c: Implement the ghost pad activation design.
12397 2005-10-02 Andy Wingo <wingo@pobox.com>
12399 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12400 It is volatile, after all.
12402 * docs/design/part-gstghostpad.txt: Flesh out activation with
12405 * gst/base/gstbasesrc.c (gst_base_src_init): Use
12408 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
12411 Fix (unused) AM_CONDITIONAL tests.
12413 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
12415 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12417 * gst/gstutils.c: (gst_pad_query_convert):
12418 Add assertion that makes sure src_val is >=0, just like
12419 gst_query_new_convert() has. (#315895)
12421 2005-09-30 Edward Hervey <edward@fluendo.com>
12423 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12424 Let's not iterate pads we're not interested in, it avoids getting
12425 sky-high refcounts on sinkpad.
12427 2005-09-30 Wim Taymans <wim@fluendo.com>
12429 * gst/gstelement.c: (gst_element_set_state),
12430 (gst_element_change_state):
12431 Small tweak, element in ASYNC remains ASYNC.
12433 2005-09-30 Wim Taymans <wim@fluendo.com>
12435 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12436 Only error is an error.
12438 * gst/gstbin.c: (gst_bin_change_state):
12441 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12442 Also call pad_block in pad alloc.
12444 * gst/gstutils.c: (gst_flow_get_name):
12447 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12449 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12450 (gst_base_src_get_range):
12451 Fix documentation typos. Add some more debug info.
12453 2005-09-29 David Schleef <ds@schleef.org>
12455 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12456 more end-user friendly.
12457 * tools/gst-inspect.c: (main): Check if command-line argument is
12458 a file and attempt to load that file as a plugin.
12460 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12462 * check/gst/gstbin.c:
12463 * check/states/sinks.c:
12464 fix tests for the new warning
12465 * check/gst/gstpipeline.c:
12466 add a test for pipeline and bus interaction
12467 * gst/gstelement.c:
12468 elements should be NULL if they get disposed; add a warning if not
12470 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12473 for 2.6 refcounting, make debug log more correct by printing
12474 the actual refcounts at the time of swap (Wim)
12476 2005-09-29 Andy Wingo <wingo@pobox.com>
12478 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12479 removes signal watches previously added via
12480 gst_bus_add_signal_watch.
12481 (gst_bus_add_signal_watch): Don't return the source id, just store
12482 it on the bus if there wasn't an id already.
12484 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12485 add_signal_watch and remove_signal_watch.
12487 2005-09-29 Edward Hervey <edward@fluendo.com>
12489 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12490 Better if we actually iterate the list :)
12492 2005-09-29 Wim Taymans <wim@fluendo.com>
12494 * check/gst/gstbin.c: (GST_START_TEST):
12495 Change for new bus API.
12497 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12498 (send_messages), (GST_START_TEST), (gstbus_suite):
12499 Change for new bus signal API.
12501 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12502 (gst_bus_source_prepare), (gst_bus_source_check),
12503 (gst_bus_create_watch), (gst_bus_add_watch_full),
12504 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12505 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12507 Remove support for multiple GSources operating on different
12508 message types as it is too complex and unneeded when using
12510 Added support for receiving signals from the bus.
12512 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12514 * docs/libs/tmpl/gstdataprotocol.sgml:
12515 * docs/manual/advanced-dataaccess.xml:
12516 * gst/elements/gstcapsfilter.c:
12518 rename filter-caps to caps property
12520 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12522 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12523 More robust fraction string parsing.
12525 * docs/pwg/appendix-porting.xml:
12526 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12528 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12530 * gst/gstcaps.c: (gst_caps_do_simplify):
12531 Thou shalt not free a structure and then continue using it
12532 in the next loop iteration.
12534 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12536 Add test case for caps simplification.
12538 2005-09-29 Wim Taymans <wim@fluendo.com>
12540 * check/gst/gstbin.c: (GST_START_TEST):
12543 2005-09-29 Wim Taymans <wim@fluendo.com>
12545 * check/gst/gstbin.c: (GST_START_TEST):
12548 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12549 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12550 (find_element), (gst_bin_sort_iterator_next),
12551 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12552 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12553 (gst_bin_change_state), (gst_bin_dispose):
12554 A bin does not have a bus, it gets the bus from the parent.
12556 * gst/gstelement.c: (gst_element_requires_clock),
12557 (gst_element_provides_clock), (gst_element_is_indexable),
12558 (gst_element_is_locked_state), (gst_element_change_state),
12559 (gst_element_set_bus_func):
12562 * gst/gstpipeline.c: (gst_pipeline_class_init),
12563 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12564 The pipeline provides a bus.
12566 2005-09-28 Johan Dahlin <johan@gnome.org>
12568 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12569 gst_structure_get_enum instead of gst_structure_get_int
12571 * gst/gststructure.c (gst_structure_get_enum): Impl.
12573 * gst/gststructure.h (gst_structure_get_enum): Add
12575 * docs/gst/gstreamer-sections.txt: Ditto
12577 * gst/gstmessage.c (gst_message_new_state_changed): Use
12578 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12579 which does introspection.
12580 Reviewed by Christian Schaller
12582 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12584 * gst/gstinfo.c: (gst_debug_log_default):
12585 don't do dummy g_strdup()s
12586 * libs/gst/controller/gstcontroller.c:
12587 (on_object_controlled_property_changed),
12588 (gst_controlled_property_new), (gst_controller_new_valist),
12589 (gst_controller_new_list),
12590 (gst_controller_remove_properties_valist), (gst_controller_set),
12591 (gst_controller_get), (gst_controller_sync_values),
12592 (gst_controller_get_value_array), (_gst_controller_class_init),
12593 (gst_controller_get_type):
12594 * libs/gst/controller/gstcontroller.h:
12595 * libs/gst/controller/gstinterpolation.c:
12596 (gst_controlled_property_find_timed_value_node):
12597 convert // to /**/ comments
12599 2005-09-28 Wim Taymans <wim@fluendo.com>
12601 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12602 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12603 (gst_bus_sync_signal_handler):
12605 Added async-message and sync-message signals to the bus.
12606 Added helper BusFunc to emit signals for all posted messages.
12608 * gst/gstmessage.c: (gst_message_type_get_name),
12609 (gst_message_type_to_quark), (gst_message_get_type):
12610 * gst/gstmessage.h:
12611 Register quarks for message names.
12613 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12615 * docs/libs/gstreamer-libs-sections.txt:
12616 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12617 (gst_controller_new_list):
12618 * libs/gst/controller/gstcontroller.h:
12619 added another constructor for language bindings
12621 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12623 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12627 * gst/gstinfo.c: (_gst_debug_init):
12628 slightly more readable color for refcount debugging
12630 2005-09-28 Wim Taymans <wim@fluendo.com>
12632 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12633 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12634 (find_element), (gst_bin_sort_iterator_next),
12635 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12636 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12637 (gst_bin_change_state), (gst_bin_dispose):
12638 Small doc fixes. get_clock -> provide_clock.
12640 * gst/gstelement.c: (gst_element_class_init),
12641 (gst_element_provides_clock), (gst_element_provide_clock),
12642 (gst_element_get_clock), (gst_element_commit_state),
12643 (gst_element_lost_state):
12644 * gst/gstelement.h:
12645 Make get/set_clock() symetric. Add provide_clock vmethod since
12646 that is actually what this function does.
12648 * gst/gstpipeline.c: (gst_pipeline_class_init),
12649 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12650 (gst_pipeline_get_clock):
12651 get_clock -> provide_clock.
12653 2005-09-28 Andy Wingo <wingo@pobox.com>
12655 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12656 lieu of real docs...
12658 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12660 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12662 * gst/elements/gstcapsfilter.c:
12663 * gst/elements/gstfakesink.c:
12664 * gst/elements/gstfakesrc.c:
12665 * gst/elements/gstfdsink.c:
12666 * gst/elements/gstfdsrc.c:
12667 * gst/elements/gstfilesink.c:
12668 * gst/elements/gstfilesrc.c:
12669 * gst/elements/gstidentity.c:
12670 * gst/elements/gsttee.c:
12671 * gst/elements/gsttypefindelement.c:
12672 Make element details static.
12674 2005-09-28 Wim Taymans <wim@fluendo.com>
12676 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12677 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12678 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12679 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12680 (gst_bin_change_state), (gst_bin_dispose):
12681 Some documentation updates.
12682 Clean up dispose handlers.
12684 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12685 * gst/gstpad.c: (gst_pad_dispose):
12686 Clean up dispose handler.
12688 * gst/gstpipeline.c: (gst_pipeline_change_state):
12689 Removed spurious UNLOCK.
12691 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12693 * docs/gst/gstreamer-sections.txt:
12694 * gst/base/gstbasesrc.h:
12695 * gst/gstelement.h:
12699 * gst/gstpipeline.c:
12700 * gst/gstpipeline.h:
12703 added two new functions to the docs
12704 documents all undocumented GstXXXFlags
12705 completed some incomplete docs
12707 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12709 * gst/gstbin.c: (gst_bin_dispose):
12710 * gst/gstelement.c: (gst_element_dispose):
12711 remove now useless and leaky resurrection code in dispose
12712 * gst/base/gstbasesrc.c: (gst_base_src_init):
12713 * gst/gstelementfactory.c: (gst_element_factory_create):
12714 * gst/gstobject.c: (gst_object_set_parent):
12717 2005-09-27 Wim Taymans <wim@fluendo.com>
12719 * docs/design/part-TODO.txt:
12722 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12723 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12724 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12725 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12726 (gst_bin_change_state):
12727 * gst/gstelement.h:
12728 Remove element variable, we keep element info in the iterator now.
12730 2005-09-27 Andy Wingo <wingo@pobox.com>
12732 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12735 2005-09-27 Wim Taymans <wim@fluendo.com>
12737 * check/gst/gstbin.c: (GST_START_TEST):
12738 Enable check that works now.
12740 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12741 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12742 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12743 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12744 (gst_bin_change_state):
12746 Redid the state change algorithm using a topological sort algo.
12747 Handles all cases correctly.
12748 Exposed iterator for state change order.
12750 * gst/gstelement.h:
12751 Temp storage for state changes. Need to get rid of this soon.
12753 2005-09-27 Wim Taymans <wim@fluendo.com>
12755 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12756 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12757 (link_fold_func), (gst_pad_proxy_setcaps):
12758 Leak fixes, the fold functions need to unref the passed object and
12759 _get_parent_*() returns ref to parent.
12761 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12763 * check/gst/gstbuffer.c: (test_make_writable):
12764 Plug leak in test case and fix 'make check-valgrind'
12766 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12768 * gst/gstbuffer.c: (gst_subbuffer_init):
12769 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12770 works correctly in all circumstances (we could have just copied
12771 the parent buffer's readonly flag, but conceptually it seems
12772 cleaner to mark all subbuffers as read-only). (based on patch
12773 by Alessandro Decina, #314710).
12775 * check/gst/gstbuffer.c: (create_read_only_buffer),
12776 (test_make_writable), (test_subbuffer_make_writable),
12778 Add some tests for gst_buffer_make_writable().
12780 2005-09-27 Wim Taymans <wim@fluendo.com>
12782 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12783 use gst_object_has_ancestor().
12785 * gst/gstobject.c: (gst_object_has_ancestor):
12787 gst_object_has_ancestor() copied from gstbin.c as it is a
12790 * tests/instantiate/create.c: (create_all_elements):
12791 * tests/lat.c: (handoff_src), (handoff_sink):
12792 * tests/sched/runxml.c: (main):
12793 * tests/seeking/seeking1.c: (main):
12794 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12796 Fix compilation of some tests.
12798 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12801 Remove comment. GST_TYPE_G_ERROR is here to stay,
12802 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12803 (#316961, #300610).
12805 2005-09-26 Wim Taymans <wim@fluendo.com>
12807 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12808 Added check that shows error in state change order.
12810 2005-09-26 Wim Taymans <wim@fluendo.com>
12812 * gst/gstbin.c: (gst_bin_change_state):
12813 Make state change function use 3 queues again, we were
12814 adding elements in the wrong order.
12816 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12819 * gst/gstpad.c: (gst_pad_dispose):
12820 Added some debug info first.
12822 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12824 * docs/design/draft-push-pull.txt:
12825 * docs/design/part-events.txt:
12826 * docs/design/part-overview.txt:
12827 * docs/design/part-scheduling.txt:
12828 Replace all _pull_region() with _pull_range()
12830 2005-09-26 Andy Wingo <wingo@pobox.com>
12832 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12834 * check/gst-libs/controller.c: Update for controller api change.
12837 * tests/Makefile.am:
12838 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12839 over by GLib bug 118439.
12841 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12842 routines to a function.
12844 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12846 * libs/gst/controller/gsthelper.c:
12847 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12848 (gst_object_sync_values): Renamed from sink_values. Ugh.
12850 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12852 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12853 Renamed from controller_key, as it is exported.
12855 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12857 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12862 * gst/gstpadtemplate.h:
12865 * gst/gstqueryutils.c:
12866 * gst/gstqueryutils.h:
12867 remove queryutils headers after moving the two used functions
12868 to gstquery. also fixes build problem for gstsiddec
12870 2005-09-26 Michael Smith <msmith@fluendo.com>
12872 * tools/gst-launch.1.in:
12873 Correct documentation in manpage of debug syntax
12875 2005-09-26 Wim Taymans <wim@fluendo.com>
12877 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12878 (gst_base_src_is_seekable), (gst_base_src_change_state):
12879 Some more debugging info.
12881 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12883 * docs/gst/gstreamer-sections.txt:
12884 * gst/base/gstbasetransform.h:
12888 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12890 * docs/gst/.cvsignore:
12891 * docs/gst/tmpl/.cvsignore:
12892 * docs/gst/tmpl/gstpipeline.sgml:
12893 * docs/gst/tmpl/gstplugin.sgml:
12894 * gst/gstpipeline.c:
12897 inlined the last two docs files
12898 removed the tmpl directory from cvs (no more conflicts here!)
12900 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12902 * docs/gst/gstreamer-sections.txt:
12903 * docs/gst/tmpl/.cvsignore:
12904 * docs/gst/tmpl/gstpad.sgml:
12905 * docs/gst/tmpl/gstpadtemplate.sgml:
12907 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12908 (gst_pad_finalize), (gst_pad_set_pad_template):
12910 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12911 (gst_pad_template_class_init), (gst_pad_template_init),
12912 (gst_pad_template_dispose), (name_is_valid),
12913 (gst_static_pad_template_get), (gst_pad_template_new),
12914 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12915 (gst_pad_template_pad_created):
12916 * gst/gstpadtemplate.h:
12917 inlined two more docs
12918 factored gstpadtemplate out of gstpad
12920 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12922 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12923 (test_children_state_change_order_semi_sink):
12924 Fix test case: we can't rely on a fixed state change order when
12925 going from READY => PAUSED because the sink might commit its
12926 new state first when the first buffer created by the source
12927 reaches the sink before the source has finished its change state.
12928 (Test case still fails at times, see #316856, comment 5 onwards)
12930 2005-09-24 Wim Taymans <wim@fluendo.com>
12932 * docs/design/part-events.txt:
12933 * docs/design/part-gstbus.txt:
12934 * docs/design/part-gstpipeline.txt:
12935 * docs/design/part-messages.txt:
12936 * docs/design/part-overview.txt:
12937 * docs/design/part-segments.txt:
12941 * gst/gstelement.c:
12944 * gst/gstiterator.c:
12945 Various documentation updates.
12947 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12950 Well, that's embarassing. Luckily we weren't using
12951 GST_CLOCK_DIFF anywhere.
12953 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12955 * common/gtk-doc.mak:
12956 don't fail on building XML, FC4 slave shows a bunch of doc
12957 missing bits that I don't get
12959 * gst/gstpipeline.c:
12960 * gst/gststructure.c:
12963 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12965 * docs/design/part-gstbin.txt:
12966 * docs/design/part-gstbus.txt:
12968 Add blurb about how the bus goes into flushing mode and
12969 drops all messages when its bin goes from READY into NULL
12972 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12974 * docs/gst/gstreamer-sections.txt:
12975 * gst/gststructure.c: (gst_structure_get_clock_time):
12976 * gst/gststructure.h:
12977 add a method to get a GstClockTime out of a structure
12979 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12981 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12982 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12983 Added test to check state change order in bins (can still be made
12984 to fail here under heavy disk load; bails out with 'Push on pad
12985 fakesink:sink0, but it was not activated in push mode').
12987 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12988 Fix state change order when there is only a semi sink (#316856)
12990 * gst/gstbus.c: (gst_bus_class_init):
12991 Use _class_peek_parent(), not _class_ref(); fix docs to say
12992 'default main context' instead of 'mainloop' where that is
12995 * gst/gstelement.c: (gst_element_commit_state),
12996 (gst_element_set_state):
12997 Fix typos in debug messages
12999 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13002 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
13003 * gst/gstpluginfeature.c:
13005 various doc updates
13006 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13007 change an assert into an error until it gets fixed properly
13009 2005-09-23 Stefan Kost <ensonic@users.sf.net>
13011 * docs/gst/gstreamer-sections.txt:
13012 * docs/gst/tmpl/.cvsignore:
13013 * docs/gst/tmpl/gstelement.sgml:
13014 * docs/gst/tmpl/gstinfo.sgml:
13015 * docs/gst/tmpl/gstobject.sgml:
13016 * gst/gstelement.c:
13017 * gst/gstelement.h:
13020 * gst/gstobject.c: (gst_object_class_init):
13022 inlined 3 more biiiig doc files and added some missing docs on the fly
13024 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13026 * check/gst/.cvsignore:
13027 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
13028 * gst/gstregistryxml.c: (load_plugin),
13029 (gst_registry_xml_save_plugin):
13030 put back source in registry. add checks for find_plugin.
13031 * testsuite/states/bin.c: (assert_state), (empty_bin),
13032 (test_adding_one_element), (main):
13033 * testsuite/states/locked.c: (main):
13034 some compile/run fixes
13036 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
13038 * check/gst/gstvalue.c: (GST_START_TEST):
13039 fix leaks in the test itself
13041 2005-09-22 Wim Taymans <wim@fluendo.com>
13043 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13044 (gst_base_sink_send_event), (gst_base_sink_peer_query),
13045 (gst_base_sink_query):
13046 Prepare for more accurate position reporting and query
13049 * gst/gstelement.c: (gst_element_send_event),
13050 (gst_element_set_state):
13053 2005-09-22 Wim Taymans <wim@fluendo.com>
13055 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
13056 (gst_query_parse_segment):
13058 More documentation.
13059 Add segment query for future use.
13061 2005-09-22 Wim Taymans <wim@fluendo.com>
13063 * gst/gstbin.c: (gst_bin_add_func):
13064 Some more debug info.
13066 * gst/gstelement.c: (gst_element_send_event):
13067 Simplify send_event
13069 * gst/gstelement.h:
13070 Don't know how flags got broken.
13075 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13077 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13078 Add simplistic test suite for GST_TYPE_DATE serialisation and
13081 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13083 * docs/gst/gstreamer-sections.txt:
13084 * gst/gststructure.c: (gst_structure_set_valist),
13085 (gst_structure_get_date):
13086 * gst/gststructure.h:
13087 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13088 (gst_date_copy), (gst_value_compare_date),
13089 (gst_value_serialize_date), (gst_value_deserialize_date),
13090 (gst_value_transform_date_string),
13091 (gst_value_transform_string_date), (_gst_value_initialize):
13093 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13094 bunch of utility functions along with a hack that checks that
13095 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13096 is required. Part of the grand scheme in #170777.
13098 2005-09-22 Andy Wingo <wingo@pobox.com>
13100 * gst/gstconfig.h.in: Psych out gtk-doc.
13102 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13104 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13106 * tools/gst-inspect.c (print_element_list): Plug some
13107 inconsequential leaks.
13109 * gst/gstregistry.c (gst_registry_get_default): Doc.
13111 * check/gst/gstplugin.c:
13112 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13113 * gst/gstelementfactory.c (gst_element_factory_create):
13114 * gst/gstindexfactory.c (gst_index_factory_create): Update for
13117 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13118 (gst_plugin_feature_load): Doc, don't eat refs.
13120 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13121 (gst_plugin_list_free): Doc.
13122 (gst_plugin_load_file): Doc updates.
13124 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13125 accessors returning refcounted objects, return a ref.
13127 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13128 accessor for caps. IDEMPOTENCE. Oh yes.
13130 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
13132 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13134 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13135 (_gst_debug_register_funcptr):
13136 Add mutex to serialise access to the hash table with
13137 the function pointer => function name string mapping;
13138 make that hash table static scope (#316809).
13140 * gst/registries/.cvsignore:
13141 Remove left-over file.
13143 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13145 * docs/pwg/appendix-porting.xml:
13146 And something about newsegment events and caps-on-buffers to
13147 the porting guide (feel free to improve).
13149 2005-09-21 Andy Wingo <wingo@pobox.com>
13151 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13152 data and event probes on the same pad.
13153 (test_buffer_probe_once): Test that removing probes from within
13154 the probe functions works.
13156 2005-09-21 Andy Wingo <wingo@pobox.com>
13158 * check/gst/gstutils.c: New file.
13159 (test_buffer_probe_n_times): A simple buffer probe test. More to
13162 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13163 have-data::buffer, not have-data.
13164 (gst_pad_add_event_probe): Likewise for have-data::event.
13165 (gst_pad_add_data_probe): More docs. The part about 'resolving the
13166 peer' isn't quite right yet though.
13167 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
13168 (gst_pad_remove_data_probe): Change to take the guint handler_id
13169 as their arg, not the function+data, which is more glib-like.
13171 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13172 the signal emission to indicate if the data is a buffer or an
13174 (gst_pad_get_type): Initialize buffer and event quarks.
13175 (gst_pad_class_init): have-data is now a detailed signal, yes it
13178 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13180 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13181 * gst/gstutils.c: (gst_util_set_value_from_string),
13182 (gst_util_set_object_arg):
13183 Don't put functional code in g_return_if_fail() or
13184 g_return_val_if_fail() statements, otherwise things will
13185 break when G_DISABLE_CHECKS is defined during compilation.
13187 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13189 * docs/gst/tmpl/.cvsignore:
13190 * docs/gst/tmpl/gstvalue.sgml:
13193 inlied another one and added some obvious docs
13195 2005-09-21 Wim Taymans <wim@fluendo.com>
13197 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13198 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13199 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13200 (gst_fdsrc_get_property), (gst_fdsrc_create):
13201 * gst/elements/gstfdsrc.h:
13202 Properly implement fdsrc. Removed signal and timeout,
13203 better implemented somewhere else.
13205 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13207 * docs/gst/tmpl/.cvsignore:
13208 * docs/gst/tmpl/gstimplementsinterface.sgml:
13209 * gst/gstinterface.c:
13212 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13214 * docs/gst/gstreamer-sections.txt:
13215 * docs/gst/tmpl/.cvsignore:
13216 * docs/gst/tmpl/gstenumtypes.sgml:
13217 remove obsolete doc file
13219 2005-09-21 David Schleef <ds@schleef.org>
13221 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13222 little beer, fix a little leak.
13224 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13226 * docs/gst/gstreamer-docs.sgml:
13227 * docs/gst/gstreamer-sections.txt:
13228 * docs/gst/tmpl/.cvsignore:
13232 * gst/gstelement.h:
13233 * gst/gstindex.c: (gst_index_class_init):
13235 * gst/gstindexfactory.c: (gst_index_factory_get_type),
13236 (gst_index_factory_class_init), (gst_index_factory_init),
13237 (gst_index_factory_finalize), (gst_index_factory_new),
13238 (gst_index_factory_destroy), (gst_index_factory_find),
13239 (gst_index_factory_create), (gst_index_factory_make):
13240 * gst/gstindexfactory.h:
13241 * gst/gstpluginfeature.c:
13242 * gst/gstpluginfeature.h:
13243 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13244 more docs inlined, splitted gstindex.{c,h}
13246 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13248 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13251 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13253 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13254 Set sync to FALSE by default.
13256 2005-09-20 Wim Taymans <wim@fluendo.com>
13258 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13259 (gst_base_sink_init):
13260 Make sync property settable from subclass.
13262 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13263 (gst_fake_sink_change_state):
13264 Set sync to FALSE by default.
13266 2005-09-20 Wim Taymans <wim@fluendo.com>
13268 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13269 * tools/gst-launch.c: (main):
13270 The timeout handler should have lower priority than the source
13271 so we don't timeout before popping a message with 0 timeout.
13272 Dump error messages after failed state change.
13274 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13276 * tools/gst-inspect.c: (print_element_properties_info):
13279 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13281 * check/gst/gstevent.c:
13282 * gst/elements/gstfakesink.c:
13283 * gst/elements/gstfakesink.h:
13284 remove the sync property from fakesink.
13285 has the side effect of setting sync TRUE
13286 for fakesink, which is a change. Anyone who knows how
13287 to fix this nicely in a GObject-y way, feel free.
13289 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13291 * docs/gst/gstreamer-docs.sgml:
13292 remove probe refsection
13294 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13296 * check/Makefile.am:
13297 disable valgrinding the controller test again
13298 * docs/gst/gstreamer-sections.txt:
13299 update for api-changes
13301 2005-09-20 Wim Taymans <wim@fluendo.com>
13303 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13304 (gst_base_sink_set_property), (gst_base_sink_get_property),
13305 (gst_base_sink_do_sync):
13306 * gst/base/gstbasesink.h:
13307 Added sync property to basesink to disable clock sync.
13309 2005-09-20 Andy Wingo <wingo@pobox.com>
13311 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13312 eating the caller's refcount.
13314 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
13315 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13318 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13319 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13320 of GLib 2.8 public, so we can know which refcount to check in
13323 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13324 (gst_object_init): Only set the gst refcount if we're going ahead
13325 with the refcount hack.
13327 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13329 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13330 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13331 more leaks plumbed, added more debug-logging
13335 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13337 * gst/gstmessage.c:
13338 remove include of gstmemchunk.h
13340 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13342 * gst/gstclock.c: (_gst_clock_id_free):
13343 Commit from the Political Party For More Atomic CVS Commits,
13344 so that people don't waste too much of their day fishing
13345 out obvious leaks out of massive commits.
13346 Oh, and fix a pretty damn obvious leak in the memchunk
13349 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13351 * check/Makefile.am:
13352 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13353 plug mem-leak, re-add to valgrindable tests
13355 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13358 unbreak the build for those who have chronic arthritis
13359 and typing "make check" is just too taxing on the hands
13361 2005-09-20 Andy Wingo <wingo@pobox.com>
13363 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13364 really want it out, you should fix plugins at the same time.
13366 2005-09-19 Stefan Kost <ensonic@users.sf.net>
13369 * docs/gst/gstreamer-sections.txt:
13371 added missing symbols to api docs
13372 disable ref-count hack if we have glib >= 2.8
13374 2005-09-19 David Schleef <ds@schleef.org>
13376 * docs/gst/Makefile.am: Ignore a few more internal headers
13377 * docs/gst/gstreamer-docs.sgml: Remove old sections
13378 * docs/gst/gstreamer-sections.txt: Remove old sections
13379 * docs/gst/tmpl/gstobject.sgml: update
13380 * docs/gst/tmpl/gstplugin.sgml: update
13381 * docs/gst/tmpl/gstpluginfeature.sgml: update
13382 * docs/random/ds/0.9-suggested-changes: update.
13383 * gst/Makefile.am: remove memchunk and trashstack, since they're
13385 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13386 * gst/gst.h: don't include some headers
13387 * gst/gstchildproxy.c: add gstmarshal.h
13388 * gst/gstclock.c: Don't use memchunks
13389 * gst/gstminiobject.c: Add some docs
13390 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13391 * gst/gstobject.h: same
13392 * gst/gstplugin.c: include gstmacros.h
13393 * gst/gstplugin.h: don't include gstmacros.h, since it's private
13394 * gst/gstquery.c: don't use memchunks
13395 * gst/gstregistry.c: rename gst_registry_deinit()
13396 * gst/gstregistry.h: same
13398 2005-09-19 David Schleef <ds@schleef.org>
13400 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13401 * docs/libs/gstreamer-libs-sections.txt:
13402 * docs/libs/tmpl/gstgetbits.sgml:
13403 * docs/libs/tmpl/gstputbits.sgml:
13405 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
13407 * win32/gstenumtypes.c:
13408 * win32/gstenumtypes.h:
13411 2005-09-19 Wim Taymans <wim@fluendo.com>
13413 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13414 Automatically PAUSE and RESUME a pipeline when a flushing seek
13417 2005-09-19 Andy Wingo <wingo@pobox.com>
13419 * gst/gstregistry.h: Spacing fixen.
13421 2005-09-19 Wim Taymans <wim@fluendo.com>
13423 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13424 Handle state change failure more correctly.
13426 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13428 * check/Makefile.am:
13429 * check/pipelines/cleanup.c: (run_pipeline):
13430 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13432 enable cleanup again after fixing the leak
13434 some more info on docs
13436 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13438 * check/Makefile.am:
13439 re-enable tests now that leaks are plugged
13441 * check/gst/gstbin.c:
13442 * check/gst/gstpipeline.c:
13443 add some more tests while fixing leaks
13444 * common/check.mak:
13445 make sure binaries are uptodate when valgrinding/gdbing
13447 * gst/gstelementfactory.c:
13448 remove a ref too many, and add a FIXME for when we get
13449 round to disposing of classes
13451 fix the refcounting when loading a plugin from a file and
13452 the code pretends that the pointer is the same even though
13453 of course it can change
13454 * gst/gstpluginfeature.c:
13455 unref plugins marked cached (a bit confusing as a name)
13456 as the docs state should be done
13457 various doc additions to explain refcounting
13458 * gst/gstregistry.c:
13459 * gst/gstregistryxml.c:
13462 2005-09-19 Wim Taymans <wim@fluendo.com>
13464 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13465 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13466 (send_messages), (GST_START_TEST), (gstbus_suite):
13467 * check/gst/gstpipeline.c: (GST_START_TEST):
13468 * check/pipelines/cleanup.c: (run_pipeline):
13469 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13471 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13472 (gst_bus_source_check), (gst_bus_source_dispatch),
13473 (gst_bus_create_watch), (gst_bus_add_watch_full),
13474 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13476 * tools/gst-launch.c: (event_loop):
13477 * tools/gst-md5sum.c: (event_loop):
13478 GstBusHandler -> GstBusFunc, return value has the same meaning as
13479 any other GSource (FALSE == remove source).
13480 _add_watch() and _add_watch_full() now take a MessageType mask to
13481 only handle specific types of messages.
13482 _poll() returns the GstMessage instead of the message type to avoid
13484 _have_pending() takes a MessageType mask now too.
13485 Added testsuite for multiple bus watches.
13486 Fix testsuites and applications for new bus API.
13488 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13490 * check/Makefile.am:
13491 mark a bunch of the tests as to fix until we fix them
13493 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13495 * common/check.mak:
13496 use GST_PLUGIN settings for valgrind tests as well, so we're
13497 valgrinding the correct thing
13498 * gst/gst.c: (init_post):
13501 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13503 * gst/gst.c: (init_post), (gst_deinit):
13504 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13505 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13506 * gst/gstindex.c: (gst_index_factory_class_init),
13507 (gst_index_factory_finalize):
13508 * gst/gstobject.c: (gst_object_dispose):
13509 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13510 (gst_plugin_load_file), (gst_plugin_desc_free):
13511 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13512 (gst_plugin_feature_finalize):
13513 * gst/gstregistry.c: (gst_registry_class_init),
13514 (gst_registry_init), (gst_registry_finalize),
13515 (gst_registry_get_default), (gst_registry_deinit):
13516 * gst/gstregistry.h:
13517 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13518 various cleanups and memleak plugging. make valgrind is happy now.
13520 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13522 * common/check.mak:
13523 add a check-valgrind target
13525 2005-09-18 David Schleef <ds@schleef.org>
13527 * tools/gst-inspect.c: Revert the GOption code.
13529 2005-09-17 David Schleef <ds@schleef.org>
13531 * check/Makefile.am: Fix environment variables.
13532 * check/gst/gstplugin.c: Fix for API changes.
13533 * tools/gst-inspect.c: Fix for API changes.
13534 * tools/gst-xmlinspect.c: Fix for API changes.
13535 * gst/gstelementfactory.c:
13538 * gst/gstpluginfeature.c:
13539 * gst/gstpluginfeature.h:
13540 * gst/gstregistry.c:
13541 * gst/gstregistry.h:
13542 * gst/gstregistryxml.c:
13543 * gst/gsttypefind.c:
13544 * gst/gsttypefindfactory.c:
13545 * gst/indexers/gstfileindex.c:
13546 * gst/indexers/gstmemindex.c:
13547 * gst/schedulers/Makefile.am:
13548 Change registry to keep track of both plugins and features,
13549 removing the feature tracking from plugins themselves.
13551 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13553 * check/Makefile.am:
13554 * tools/gst-register.1.in:
13555 remove gst-register
13557 2005-09-15 David Schleef <ds@schleef.org>
13559 * check/gst/gstplugin.c:
13560 * gst/gstelementfactory.c:
13562 * gst/gstpluginfeature.c:
13563 * gst/gstregistry.c:
13564 Getting tired of debugging. Disabled all the unreffing of
13565 plugins and features, which fixes the segfaults, but of
13566 course leaks like crazy. At least playbin works.
13568 2005-09-15 David Schleef <ds@schleef.org>
13570 * check/gst/gstplugin.c: (register_check_elements),
13571 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13573 * gst/elements/gsttypefindelement.c: Fix refcounting.
13574 * gst/gsttypefind.c:
13575 * gst/gsttypefindfactory.c:
13576 * gst/gsttypefindfactory.h:
13578 2005-09-15 David Schleef <ds@schleef.org>
13580 * gst/gstindex.c: get refcounting correct.
13581 * gst/gstregistry.c: Handle the case where a feature/plugin is
13584 2005-09-15 David Schleef <ds@schleef.org>
13586 * check/Makefile.am:
13587 * check/gst/gstplugin.c: Add test
13588 * gst/gstplugin.c: Fix problems noticed by testsuite
13590 * gst/gstregistry.c:
13591 * gst/gstregistry.h:
13593 2005-09-15 David Schleef <ds@schleef.org>
13595 * gst/gstplugin.c: Implement semi-decent recounting and locking
13596 in plugins and plugin features.
13598 * gst/gstpluginfeature.c:
13599 * gst/gstpluginfeature.h:
13600 * gst/gstregistry.c:
13602 2005-09-15 Michael Smith <msmith@fluendo.com>
13604 * gst/gstregistry.c: (gst_registry_get_feature_list):
13605 Implement this. Makes oggdemux work; decodebin still broken.
13607 2005-09-14 David Schleef <ds@schleef.org>
13609 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13611 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13612 * gst/check/Makefile.am:
13613 * libs/gst/controller/Makefile.am:
13614 * libs/gst/dataprotocol/Makefile.am:
13616 2005-09-14 David Schleef <ds@schleef.org>
13618 * configure.ac: Remove getbits library. Nothing uses it, and
13619 it should be in something like liboil if someone did want
13621 * libs/gst/Makefile.am:
13622 * libs/gst/getbits/Makefile.am:
13623 * libs/gst/getbits/gbtest.c:
13624 * libs/gst/getbits/getbits.c:
13625 * libs/gst/getbits/getbits.h:
13626 * libs/gst/getbits/gstgetbits_generic.c:
13627 * libs/gst/getbits/gstgetbits_i386.s:
13628 * libs/gst/getbits/gstgetbits_inl.h:
13630 2005-09-14 David Schleef <ds@schleef.org>
13632 * gst/Makefile.am: Dist glib-compat.h
13634 2005-09-14 David Schleef <ds@schleef.org>
13636 * configure.ac: Remove gst/registries, since it's no longer used.
13637 * gst/registries/Makefile.am:
13638 * gst/registries/gstlibxmlregistry.c:
13639 * gst/registries/gstlibxmlregistry.h:
13640 * gst/registries/gstxmlregistry.c:
13641 * gst/registries/gstxmlregistry.h:
13642 * gst/registries/registrytest.c:
13644 2005-09-14 David Schleef <ds@schleef.org>
13646 * gst/glib-compat.h:
13647 * gst/gstregistryxml.c:
13648 Convergence is near. Seriously.
13650 2005-09-14 David Schleef <ds@schleef.org>
13652 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13653 * gst/glib-compat.h:
13654 Attempt #4 to appease the buildbots.
13656 2005-09-14 David Schleef <ds@schleef.org>
13658 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13661 2005-09-14 David Schleef <ds@schleef.org>
13663 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13666 2005-09-14 David Schleef <ds@schleef.org>
13668 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13671 2005-09-14 David Schleef <ds@schleef.org>
13673 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13674 * gst/glib-compat.h: Add some functions that are in newer versions
13675 of glib than we care to require.
13676 * gst/gstregistryxml.c: Use them.
13678 2005-09-14 David Schleef <ds@schleef.org>
13680 * po/POTFILES.in: remove gst-register.c
13682 2005-09-14 David Schleef <ds@schleef.org>
13684 * docs/gst/gstreamer-docs.sgml:
13685 * docs/gst/gstreamer-sections.txt:
13686 * docs/gst/gstreamer.types:
13687 * docs/gst/tmpl/gstelement.sgml:
13688 * docs/gst/tmpl/gstplugin.sgml:
13689 * docs/gst/tmpl/gstpluginfeature.sgml:
13690 Documentation updates for registry changes.
13692 2005-09-14 David Schleef <ds@schleef.org>
13694 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13695 because we don't require glib-2.8.
13697 2005-09-14 David Schleef <ds@schleef.org>
13699 * gst/gstregistryxml.c: Added. Essentially moved out of the
13700 registries directory.
13702 2005-09-14 David Schleef <ds@schleef.org>
13704 * check/Makefile.am:
13705 * check/generic/states.c:
13709 * gst/gst_private.h:
13710 * gst/gstelementfactory.c:
13715 * gst/gstpluginfeature.c:
13716 * gst/gstpluginfeature.h:
13717 * gst/gstregistry.c:
13718 * gst/gstregistry.h:
13719 * gst/gstregistrypool.c: remove
13720 * gst/gstregistrypool.h: remove
13721 * gst/gsttypefind.c:
13722 * gst/gsttypefindfactory.c:
13724 * tools/Makefile.am:
13725 * tools/gst-compprep.c:
13726 * tools/gst-inspect.c:
13727 * tools/gst-register.c: remove
13728 * tools/gst-xmlinspect.c:
13729 Registry rewrite. Changes registry from being a file created
13730 by a tool into a simple cache file created automatically by
13731 libgstreamer. Removed gst-register (because it's no longer
13732 needed). Remove registry pools, because we only have one
13733 registry implementation (XML). Fix up other subsystems as
13736 2005-09-13 Michael Smith <msmith@fluendo.com>
13738 * gst/gstconfig.h.in:
13739 Don't Use windows linking attributes for MinGW. Fixes #316157
13741 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13743 * gst/gstutils.c: (set_state_async_thread_func),
13744 (gst_element_set_state_async):
13745 Apparently people think it's better if this function doesn't
13746 try to set the state to whatever state was asked for on the first
13747 call to this function for any object. Seriously.
13749 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13751 * check/gst/gstpipeline.c: (GST_START_TEST):
13752 * docs/gst/gstreamer-sections.txt:
13753 * gst/gstutils.c: (set_state_async_thread_func),
13754 (gst_element_set_state_async):
13756 add a "gst_element_set_state_async" method that
13757 sets the state and starts a thread to make sure the state
13758 change completes as best as it can
13760 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13762 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13763 codify design+behaviour in testsuite after discussion
13765 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13767 * docs/gst/tmpl/gstelement.sgml:
13768 * docs/manual/appendix-quotes.xml:
13770 * gst/gstelement.c: (gst_element_set_state):
13773 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13775 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13776 (gst_base_transform_prepare_output_buf),
13777 (gst_base_transform_handle_buffer):
13778 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13779 (gst_capsfilter_prepare_buf):
13780 Remove the requirement for sub-classes to call the parent
13781 implementation of prepare_output_buffer with a wrapper function.
13783 * gst/gsttaglist.h:
13784 * gst/gsttagsetter.h:
13785 Fix #define wrapper
13787 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13789 * docs/gst/gstreamer-sections.txt:
13792 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13794 * docs/gst/gstreamer-sections.txt:
13795 * docs/gst/tmpl/gstelement.sgml:
13796 * docs/gst/tmpl/gstplugin.sgml:
13797 * gst/gstminiobject.c:
13799 docs now stop throwing warnings
13801 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13803 * docs/gst/gstreamer-sections.txt:
13804 * docs/gst/gstreamer.types:
13805 * docs/gst/tmpl/gstpad.sgml:
13806 * docs/gst/tmpl/gsttypes.sgml:
13807 * gst/base/gstadapter.h:
13808 * gst/base/gstbasesink.h:
13809 * gst/base/gstbasesrc.h:
13815 * gst/gstelement.h:
13817 * gst/gstmessage.h:
13819 * gst/gststructure.c:
13820 * gst/registries/gstlibxmlregistry.h:
13821 various documentation fixes
13823 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13825 * docs/gst/gstreamer-sections.txt:
13826 * docs/gst/tmpl/gstvalue.sgml:
13827 rearrange gstvalue section
13828 * gst/gstutils.c: (gst_element_state_get_name):
13830 * gst/gstvalue.c: (_gst_value_initialize):
13834 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13836 * check/gst-libs/controller.c:
13837 Header include fix.
13838 * gst/base/gstbasetransform.c:
13839 (gst_base_transform_default_prepare_buf),
13840 (gst_base_transform_handle_buffer):
13841 * gst/base/gstbasetransform.h:
13842 Some more basetransform changes and fixes to enable sub-classes
13843 that modify buffer metadata only.
13844 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13845 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13846 (gst_capsfilter_prepare_buf):
13847 If the output pad has fixed allowed caps and input buffers
13848 don't have any, set the fixed caps on outgoing buffers.
13850 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13851 * check/elements/identity.c: (GST_START_TEST):
13852 Make the error a little clearer when the test fails because
13853 identity made a copy of the buffer.
13854 * docs/gst/gstreamer-sections.txt:
13855 New symbols in gstbasetransform.h
13856 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13857 (gst_base_transform_init), (gst_base_transform_transform_size),
13858 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13859 (gst_base_transform_default_prepare_buf),
13860 (gst_base_transform_get_unit_size),
13861 (gst_base_transform_buffer_alloc),
13862 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13863 (gst_base_transform_change_state),
13864 (gst_base_transform_set_passthrough),
13865 (gst_base_transform_set_in_place),
13866 (gst_base_transform_is_in_place):
13867 * gst/base/gstbasetransform.h:
13868 Change BaseTransform to separate in_place operate from same_caps
13869 output. in_place implies that the element can perform the transform
13870 on incoming buffers in-place, even if the caps on the output are
13872 Sub-class elements can now implement special buffer allocation
13873 methods for outgoing buffers if they wish to.
13874 Big documentation addition.
13875 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13876 * gst/elements/gstelements.c:
13877 Changes for basetransform modifications.
13878 * gst/elements/Makefile.am:
13879 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13880 Compile fix. Extra debug output.
13882 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13884 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13886 add tests for valid pad naming
13887 * gst/check/gstcheck.c: (gst_check_log_message_func),
13888 (gst_check_log_critical_func):
13890 remove printing of code, it is fragile when the code contains
13891 % and the line number is enough info
13892 * gst/check/gstcheck.h:
13893 * gst/gstpad.c: (gst_pad_template_new):
13896 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13899 say what CHECK flags we use
13900 * docs/libs/gstreamer-libs.types:
13901 * libs/gst/controller/Makefile.am:
13902 * libs/gst/controller/gst-controller.c:
13903 * libs/gst/controller/gst-controller.h:
13904 * libs/gst/controller/gst-helper.c:
13905 * libs/gst/controller/gst-interpolation.c:
13906 * libs/gst/controller/gstcontroller.c:
13907 * libs/gst/controller/gsthelper.c:
13908 * libs/gst/controller/gstinterpolation.c:
13909 * tools/gst-inspect.c: (print_plugin_info):
13910 we don't use dashes in header names
13912 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13914 * check/Makefile.am:
13915 * check/gst/.cvsignore:
13916 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13917 (gst_pipeline_suite), (main):
13918 adding a test for pipelines and state changes
13919 * gst/gstutils.c: (get_state_func):
13921 * gstreamer.spec.in:
13924 2005-09-08 Michael Smith <msmith@fluendo.com>
13926 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13927 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13928 (gst_file_src_is_seekable), (gst_file_src_get_size),
13929 (gst_file_src_start):
13930 * gst/elements/gstfilesrc.h:
13931 Various fixes for unseekable, unmmapable, and non-normal files, so
13932 that fallback to read() rather than mmap() works.
13933 * gst/gstevent.c: (gst_event_new_newsegment):
13934 Allow newsegment events with segment_start == segment_end, as will
13935 correctly happen if you use filesrc on a zero-size file, for
13938 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13940 * gst/gstplugin.c: (gst_plugin_load_file):
13941 Call g_module_close when we don't load the module
13943 * gst/registries/gstlibxmlregistry.c:
13944 (gst_xml_registry_get_property):
13945 Port leak fix from 0.8
13947 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13949 * docs/gst/gstreamer-docs.sgml:
13950 * docs/gst/tmpl/.cvsignore:
13951 * docs/gst/tmpl/gsttrace.sgml:
13952 * docs/gst/tmpl/gsttrashstack.sgml:
13955 * gst/gstelement.h:
13957 * gst/gstmessage.c:
13958 * gst/gstmessage.h:
13961 * gst/gsttaginterface.c:
13962 * gst/gsttaginterface.h:
13963 * gst/gsttaglist.c:
13964 * gst/gsttaglist.h:
13965 * gst/gsttagsetter.c:
13966 * gst/gsttagsetter.h:
13969 * gst/gsttrashstack.c:
13970 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13971 inlined docs for gsttrace, gsttrashstack
13973 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13976 * gst/elements/gstbufferstore.h:
13977 * gst/elements/gsttypefindelement.c:
13978 * gst/elements/gsttypefindelement.h:
13980 * gst/gsttypefind.c:
13981 * gst/gsttypefind.h:
13982 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13983 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13984 (gst_type_find_factory_dispose),
13985 (gst_type_find_factory_unload_thyself),
13986 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13987 (gst_type_find_factory_get_caps),
13988 (gst_type_find_factory_get_extensions),
13989 (gst_type_find_factory_call_function):
13990 * gst/gsttypefindfactory.h:
13991 * gst/registries/gstlibxmlregistry.c:
13992 * gst/registries/gstxmlregistry.c:
13993 splitted gsttypefind into gsttypefind, gsttypefindfactory
13995 2005-09-07 Andy Wingo <wingo@pobox.com>
13997 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13998 condition whereby the pad's task function is entered before the
13999 pad_mode variable was set.
14001 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
14003 * gst/gstpad.c: (gst_pad_alloc_buffer):
14004 Catch misbehaving pad_alloc functions that don't
14005 set up caps and do it for them.
14007 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14009 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14010 test for pipe!=NULL
14011 * docs/gst/tmpl/.cvsignore:
14012 * docs/gst/tmpl/gstmemchunk.sgml:
14013 * docs/gst/tmpl/gstparse.sgml:
14014 * docs/gst/tmpl/gsttaglist.sgml:
14015 * docs/gst/tmpl/gsttagsetter.sgml:
14016 * docs/gst/tmpl/gsttypefind.sgml:
14017 * docs/gst/tmpl/gsttypefindfactory.sgml:
14018 * gst/gstmemchunk.c:
14021 * gst/gsttaginterface.c:
14022 * gst/gsttypefind.c:
14023 * gst/gsttypefind.h:
14026 === release 0.9.2 ===
14028 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
14033 releasing 0.9.2, "South"
14035 2005-09-05 Andy Wingo <wingo@pobox.com>
14037 * gst/registries/gstxmlregistry.h:
14038 * gst/registries/gstxmlregistry.c: Um... resurrect...
14040 * gst/registries/gstxmlregistry.h:
14041 * gst/registries/gstxmlregistry.c: and update to newer API.
14042 Incidentally they should be a bit faster now that they don't have
14045 2005-09-05 Andy Wingo <wingo@pobox.com>
14047 * gst/registries/gstxmlregistry.h:
14048 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
14049 replaced by the libxml registry a while back
14051 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14053 * docs/gst/tmpl/gstplugin.sgml:
14054 * gst/elements/gstelements.c:
14056 * gst/gstplugin.c: (gst_plugin_register_func),
14057 (gst_plugin_desc_copy), (gst_plugin_desc_free),
14058 (gst_plugin_get_source):
14060 * gst/registries/gstlibxmlregistry.c: (load_plugin),
14061 (gst_xml_registry_save_plugin):
14062 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
14063 (gst_xml_registry_save_plugin):
14064 * tools/gst-inspect.c: (print_plugin_info):
14065 add a "source" plugin description field, to represent the source
14066 module this plugin is a part of. By default GST_PLUGIN_DEFINE
14067 will set it to PACKAGE, which is automake's idea of the name of
14068 the source project.
14070 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14075 * docs/Makefile.am:
14076 * docs/faq/Makefile.am:
14077 * docs/gst/tmpl/gstelement.sgml:
14078 * docs/gst/tmpl/gsttypes.sgml:
14079 * docs/htmlinstall.mak:
14080 * docs/manual/Makefile.am:
14081 * docs/pwg/Makefile.am:
14082 reorganize doc build a little
14083 split out docbook and gtk-doc stuff
14084 have two separate --enable's and enable them through autogen
14085 but disable by default in configure (to be similar to other
14087 * gstreamer.spec.in:
14088 clean up docs install
14106 translation updates
14108 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
14110 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14113 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14114 (gst_fake_sink_change_state):
14115 Make state change function thread-safe.
14117 * gst/gstpad.c: (gst_pad_alloc_buffer):
14118 Set offset on generic buffer allocated by fallback.
14120 2005-09-03 Stefan Kost <ensonic@users.sf.net>
14122 * docs/gst/gstreamer-sections.txt:
14123 * docs/gst/tmpl/gstelement.sgml:
14125 * libs/gst/controller/gst-controller.c:
14126 (gst_controlled_property_set_interpolation_mode),
14127 (gst_controlled_property_new),
14128 (gst_controller_find_controlled_property):
14129 run the wingo-magic script against the docs
14131 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14133 * docs/gst/gstreamer-docs.sgml:
14134 * docs/gst/gstreamer-sections.txt:
14135 * docs/gst/tmpl/.cvsignore:
14136 * docs/gst/tmpl/gstelementdetails.sgml:
14137 * docs/gst/tmpl/gstelementfactory.sgml:
14140 * gst/gstelementfactory.c:
14141 * gst/gstelementfactory.h:
14142 merged elementdetails docs into elementfactory docs
14145 2005-09-02 Andy Wingo <wingo@pobox.com>
14147 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14148 consider this enum an enum and not a flags.
14150 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14152 * docs/gst/gstreamer-docs.sgml:
14153 * docs/gst/tmpl/.cvsignore:
14154 * docs/gst/tmpl/gstghostpad.sgml:
14155 * docs/gst/tmpl/gstiterator.sgml:
14156 * docs/gst/tmpl/gstmacros.sgml:
14157 * docs/gst/tmpl/gstrealpad.sgml:
14158 * docs/gst/tmpl/gstregistry.sgml:
14159 * docs/gst/tmpl/gstregistrypool.sgml:
14160 * docs/gst/tmpl/gststructure.sgml:
14161 * docs/gst/tmpl/gstsystemclock.sgml:
14162 * docs/gst/tmpl/gsttrace.sgml:
14163 * gst/gstghostpad.c:
14165 * gst/gstmemchunk.c:
14166 * gst/gstmemchunk.h:
14168 * gst/gstregistry.c:
14169 * gst/gstregistrypool.c:
14170 * gst/gststructure.c:
14171 * gst/gstsystemclock.c:
14174 2005-09-02 Andy Wingo <wingo@pobox.com>
14176 * gst/gstelement.h (GstState): Renamed from GstElementState,
14177 changed to be a normal enum instead of flags.
14178 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14179 munged to be GST_STATE_CHANGE_*.
14180 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14181 work with the new state representation.
14182 (GstStateChange): New enumeration of possible state transitions.
14183 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14184 (GstElementClass::change_state): Pass the GstStateChange along as
14185 an argument. Helps language bindings, so they don't have to use
14186 tricky lock-needing macros like GST_STATE_CHANGE ().
14188 * scripts/update-states (file): New script. Run it on a file to
14189 update it for state naming and API changes. Updates files in
14192 * All files updated for the new API.
14194 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
14196 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14197 * gst/gstutils.c: (gst_util_set_value_from_string),
14198 (gst_util_set_object_arg):
14199 fix a bunch of unchecked return values
14200 * tools/gst-complete.c: (main):
14201 * gstreamer.spec.in:
14204 2005-09-01 Wim Taymans <wim@fluendo.com>
14206 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14207 (gst_base_sink_event), (gst_base_sink_do_sync),
14208 (gst_base_sink_handle_event):
14209 * gst/base/gstbasesink.h:
14210 Handle newsegments more correctly.
14215 * gst/gstevent.c: (gst_event_new_newsegment):
14216 A newsegment cannot have a start_time of -1
14218 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
14220 * win32/gstenumtypes.c:
14221 * win32/gstenumtypes.h:
14224 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14226 * libs/gst/controller/gst-controller.c:
14227 (gst_controlled_property_set_interpolation_mode),
14228 (gst_controlled_property_new):
14229 fixed boolean again
14231 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
14233 * docs/faq/gst-uninstalled:
14238 * gst/gstutils.c: (gst_element_link_filtered):
14240 add gst_element_link_filtered
14242 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14244 * docs/gst/gstreamer-docs.sgml:
14245 * docs/gst/gstreamer-sections.txt:
14246 * docs/gst/tmpl/.cvsignore:
14247 * docs/gst/tmpl/gsterror.sgml:
14248 * docs/gst/tmpl/gstfilter.sgml:
14249 * docs/gst/tmpl/gsturihandler.sgml:
14250 * docs/gst/tmpl/gsturitype.sgml:
14251 * docs/gst/tmpl/gstutils.sgml:
14252 * docs/gst/tmpl/gstxml.sgml:
14257 * gst/gsturitype.c:
14260 inlined more docs, fixed double id-ref
14262 2005-08-31 Wim Taymans <wim@fluendo.com>
14264 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14265 (gst_base_transform_handle_buffer):
14266 Passthrough elements don't need the caps as they don't care.
14268 2005-08-31 Wim Taymans <wim@fluendo.com>
14270 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14271 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14272 Don't leak refcounts on buffers.
14274 2005-08-31 Wim Taymans <wim@fluendo.com>
14276 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14277 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14278 (gst_base_transform_chain), (gst_base_transform_change_state):
14279 * gst/base/gstbasetransform.h:
14280 Handle the case where we are not negotiated more gracefully.
14282 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
14284 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14285 (gst_file_src_map_region):
14286 Set READONLY flag on mmap'ed buffers, otherwise
14287 gst_buffer_make_writable() won't work properly (#314708).
14289 2005-08-31 Wim Taymans <wim@fluendo.com>
14291 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14292 passthrough elements can even do inplace on non writable
14293 buffers (as they don't touch them).
14295 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14297 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14298 (gst_test_mono_source_set_property),
14299 (gst_test_mono_source_class_init), (GST_START_TEST),
14300 (gst_controller_suite):
14301 more tests (hehe I have the most)
14303 describe popping messages whenusing mulltiple sources
14304 * libs/gst/controller/gst-controller.c:
14305 (gst_controlled_property_set_interpolation_mode),
14306 (gst_controlled_property_new):
14307 * libs/gst/controller/gst-controller.h:
14308 * libs/gst/controller/gst-interpolation.c:
14309 implement boolean properties
14311 2005-08-31 Wim Taymans <wim@fluendo.com>
14313 * gst/gstminiobject.c: (gst_mini_object_ref):
14314 Cannot assert that the refcount has to be positive
14315 since a disposed object can be resurrected.
14317 2005-08-31 Wim Taymans <wim@fluendo.com>
14319 * gst/gstpad.c: (gst_pad_init):
14320 Revert change, need to first fix badly behaving
14323 2005-08-30 Wim Taymans <wim@fluendo.com>
14325 * check/elements/fakesrc.c: (setup_fakesrc):
14326 * check/elements/identity.c: (setup_identity):
14327 Activate pads before using them.
14329 2005-08-30 Wim Taymans <wim@fluendo.com>
14331 * gst/base/gstadapter.c: (gst_adapter_flush):
14332 Flushing out 0 bytes is ok for this function.
14334 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14335 no newsegment gives a warning and sets the start/stop to
14338 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14339 (gst_base_transform_set_passthrough):
14342 * gst/gstminiobject.c: (gst_mini_object_ref):
14343 Check refcount here too.
14345 * gst/gstpad.c: (gst_pad_init):
14346 Pads are initially flushing and refusing data.
14348 * gst/gstutils.c: (gst_element_link_pads_filtered):
14349 When adding a capsfilter element make sure it has the
14350 same state as the parent bin.
14352 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14354 * docs/gst/tmpl/.cvsignore:
14355 * docs/gst/tmpl/gstformat.sgml:
14356 * docs/gst/tmpl/gstversion.sgml:
14360 * gst/gstversion.h.in:
14361 more docs and two more inlined
14363 2005-08-30 Wim Taymans <wim@fluendo.com>
14365 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14366 Don't sync to clock.
14368 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14370 * docs/gst/gstreamer-sections.txt:
14371 ultral33t func10ns deserve to appear in the docs actually
14372 * docs/gst/tmpl/.cvsignore:
14373 * docs/gst/tmpl/gstcompat.sgml:
14374 * docs/gst/tmpl/gstconfig.sgml:
14375 * gst/check/gstcheck.c:
14377 * gst/gstconfig.h.in:
14380 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14382 * docs/gst/tmpl/.cvsignore:
14383 * docs/gst/tmpl/gstquery.sgml:
14384 * docs/gst/tmpl/gstutils.sgml:
14387 inlined and extended docs
14389 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14391 * check/gst-libs/controller.c: (GST_START_TEST),
14392 (gst_controller_suite):
14394 * docs/gst/tmpl/gstutils.sgml:
14395 * docs/libs/gstreamer-libs-sections.txt:
14396 * docs/libs/tmpl/gstdataprotocol.sgml:
14398 * examples/controller/audio-example.c: (main):
14399 controller example works now
14402 * tools/gst-inspect.c: (print_element_properties_info):
14403 show param spec flags
14405 2005-08-29 Andy Wingo <wingo@pobox.com>
14407 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14409 2005-08-28 Andy Wingo <wingo@pobox.com>
14411 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14412 as having two arguments instead of just one. Allows superclasses
14413 to access information on subclasses -- see the terrible for() loop
14414 in gtype.c:g_type_create_instance for the reason why. All callers
14417 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14419 * docs/design/part-messages.txt:
14421 * docs/gst/tmpl/.cvsignore:
14422 * docs/gst/tmpl/gstcaps.sgml:
14423 * docs/gst/tmpl/gstclock.sgml:
14429 * gst/gstmessage.c:
14430 added descriptions for bus and message
14431 inline caps and clock docs
14433 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14435 * gst/gstmessage.c:
14436 * gst/gstmessage.h:
14439 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14441 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14444 2005-08-26 Andy Wingo <wingo@pobox.com>
14446 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14447 element_set_state's return val.
14448 (test_2_elements): Add test that's been disabled for months.
14450 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14451 can-activate-pull properties.
14453 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14454 can-activate-pull properties. Implement is_seekable so fakesrc can
14455 operate in pull mode.
14457 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14459 (gst_base_sink_activate, gst_base_sink_activate_pull)
14460 (gst_base_sink_activate_push): Make activation mode choosing work.
14462 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14463 is right. Make pull mode work. Post an eos before pausing in pull
14465 (gst_base_sink_change_state): Pay attention to the core's
14466 change_state() return val.
14468 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14469 has-getrange properties. Cleanups.
14471 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14472 has_getrange and replace with can_activate_pull and
14475 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14476 locking comments. Remove has_loop, has_chain and replace with
14477 can_activate_pull and can_activate_push.
14479 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14482 * examples/Makefile.am:
14483 * examples/metadata/Makefile.am:
14484 * examples/metadata/read-metadata.c: (message_loop),
14485 (have_pad_handler), (make_pipeline), (print_tag), (main):
14486 Add metadata reading example that loops over a list of filenames,
14487 dumping any tags found.
14489 * gst/gstbus.c: (gst_bus_dispose):
14490 * gst/gstelement.c: (gst_element_dispose):
14491 Release a few potentially-held references in dispose.
14493 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14495 * docs/gst/tmpl/gstminiobject.sgml:
14496 do *not* add tmpl/*.sgml files to CVS!
14498 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14500 * libs/gst/bytestream/.cvsignore:
14501 * libs/gst/bytestream/Makefile.am:
14502 * libs/gst/bytestream/adapter.c:
14503 * libs/gst/bytestream/adapter.h:
14504 * libs/gst/bytestream/bytestream.c:
14505 * libs/gst/bytestream/bytestream.h:
14506 * libs/gst/bytestream/filepad.c:
14507 * libs/gst/bytestream/filepad.h:
14508 removing obsolete files
14510 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14512 * docs/gst/gstreamer-docs.sgml:
14513 * docs/libs/gstreamer-libs-docs.sgml:
14514 disabed additional index entries again, as this makes docs-gen just
14515 slow and they aren't useful yet
14516 * docs/libs/gstreamer-libs-sections.txt:
14517 little -section.txt cleanup for libs
14519 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14522 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14523 fix up some debugging
14524 (gst_base_transform_get_unit_size),
14525 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14526 (gst_base_transform_handle_buffer):
14527 * gst/base/gstbasetransform.h:
14528 handle and store timed NEWSEGMENT events so that subclasses that
14529 calculate time by counting samples have a segment_start time they
14530 need to add to their timestamps - see audioresample
14532 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14535 removed ';' from the end of macro defs
14536 * docs/gst/gstreamer-docs.sgml:
14537 * docs/gst/gstreamer-sections.txt:
14538 * docs/gst/tmpl/.cvsignore:
14540 * gst/gstelement.c: (gst_element_class_init),
14541 (gst_element_set_state), (activate_pads),
14542 (gst_element_save_thyself):
14543 * gst/gstevent.c: (gst_event_new_newsegment):
14545 * gst/gstiterator.c:
14546 * gst/gstiterator.h:
14549 * gst/gstutils.c: (gst_pad_query_convert):
14551 fixed parameter name mismatches between source, header and docs
14552 added some more docs, resolved the last batch of unused elements in
14553 docs (now someone needs to doc them)
14555 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14557 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14558 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14559 don't walk through the plugins backwards. Where is all this
14560 reversed logic coming from ?
14562 2005-08-25 Wim Taymans <wim@fluendo.com>
14564 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14565 (gst_base_transform_transform_size),
14566 (gst_base_transform_configure_caps),
14567 (gst_base_transform_get_unit_size),
14568 (gst_base_transform_buffer_alloc),
14569 (gst_base_transform_change_state):
14570 * gst/base/gstbasetransform.h:
14571 Cache caps unit_size.
14572 Make sure we cannot negotiate up and downstream at the
14575 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14577 * gst/gst.c: (init_pre), (init_post):
14578 register the installed plugin path after the env var
14579 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14580 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14581 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14582 directories, so the tests can prefer uninstalled over installed
14584 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14586 * gst/base/gstbasetransform.h:
14591 2005-08-25 Wim Taymans <wim@fluendo.com>
14593 * gst/gstbin.c: (bin_bus_handler):
14594 Be a bit more conservative about the posted message.
14596 * gst/gstbus.c: (gst_bus_post):
14597 Some cleanups, warn wrong return values.
14599 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14601 * check/gst/gstbin.c: (GST_START_TEST):
14602 * gst/gstbin.c: (bin_bus_handler):
14603 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14604 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14605 (gst_message_new_warning), (gst_message_new_tag),
14606 (gst_message_new_state_changed), (gst_message_new_segment_start),
14607 (gst_message_new_segment_done), (gst_message_new_custom):
14608 * gst/gstmessage.h:
14609 * tools/gst-launch.c: (event_loop):
14610 * tools/gst-md5sum.c: (event_loop):
14611 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14613 2005-08-25 Wim Taymans <wim@fluendo.com>
14615 * check/generic/states.c: (GST_START_TEST):
14616 Cleanup can be done at the end.
14618 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14619 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14620 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14621 Oh boy.. Thanks for finding this, Thomas.
14623 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14625 * docs/gst/gstreamer.types:
14626 added missing types
14628 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14630 * docs/gst/gstreamer-docs.sgml:
14631 * docs/gst/gstreamer-sections.txt:
14632 * docs/gst/tmpl/.cvsignore:
14634 * gst/gstiterator.c:
14636 * gst/registries/gstxmlregistry.h:
14637 added missing classes and symbols (123 more to go)
14638 removed removed symbols from section file
14639 fixed many doc-comments
14641 2005-08-24 Wim Taymans <wim@fluendo.com>
14643 * check/generic/states.c: (GST_START_TEST):
14644 Make sure all tasks are stopped.
14646 * check/gst/gstbin.c: (GST_START_TEST):
14647 Unref after usage for proper valgrinding.
14649 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14650 Really wait for the task to stop before destroying the
14653 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14654 (gst_queue_src_activate_push):
14655 Small cleanups. Don't stop the task when we did not start
14658 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14659 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14660 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14663 Protect the stream lock with the object lock.
14664 Disallow setting the stream lock when running.
14665 Add cleanup_all to wait for the threadpool to finish.
14666 Remove code to autoallocate a mutex if none was provided.
14667 Add _join() to wait for a task to stop.
14668 Protect the thread pool with a global lock.
14670 2005-08-24 Wim Taymans <wim@fluendo.com>
14672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14673 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14674 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14675 * gst/base/gstbasesink.h:
14676 Handle newsegment events correctly.
14677 Drop buffers out of the segment range.
14679 2005-08-22 Andy Wingo <wingo@pobox.com>
14681 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14682 macro, implements an interface and gstimplementsinterface for a
14685 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14687 * check/Makefile.am:
14688 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14689 add a test that does a bunch of state changes on elements
14690 needs some fixing for valgrind
14691 * check/states/sinks.c: (gst_object_suite):
14694 add prototype for gst_caps_is_equal_fixed
14696 * gst/gstregistrypool.c:
14699 2005-08-24 Andy Wingo <wingo@pobox.com>
14701 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14702 convert a negative value. Doesn't make much sense. Mostly this is
14703 here to force callers to ensure -1 maps to -1.
14705 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14707 * docs/pwg/advanced-types.xml:
14708 Well done to Michael for catching my deliberate introduction
14709 of this spelling mistake.
14710 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14711 * gst/gstelement.h:
14712 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14713 unlink pads before removing the element from the bin.
14715 2005-08-24 Andy Wingo <wingo@pobox.com>
14717 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14718 the same thing as GST_DEBUG=*:4.
14719 (parse_debug_level, parse_debug_category): New helper parsers.
14721 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14723 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14724 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14725 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14726 (gst_base_transform_buffer_alloc),
14727 (gst_base_transform_handle_buffer):
14728 use gboolean return values and pointers to size so we can use the
14729 full GST_BUFFER_SIZE range (guint) for buffer sizes
14730 use GstPadDirection for transform_caps
14731 * gst/base/gstbasetransform.h:
14732 rename get_size to get_unit_size since that's what it is
14733 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14734 use GstPadDirection for transform_caps
14735 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14737 cleanup and debugging
14739 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14741 * gst/gstelement.c: (gst_element_class_init),
14742 (gst_element_set_state), (activate_pads),
14743 (gst_element_save_thyself):
14744 * tools/gst-compprep.c: (main):
14745 * tools/gst-inspect.c: (print_element_properties_info):
14746 * tools/gst-xmlinspect.c: (print_element_properties):
14747 Fixed long standing mem-leak
14749 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14751 * check/gst/gstbin.c: (GST_START_TEST):
14752 * gst/gstbin.c: (bin_bus_handler):
14753 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14754 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14755 (gst_message_new_warning), (gst_message_new_tag),
14756 (gst_message_new_state_changed), (gst_message_new_segment_start),
14757 (gst_message_new_segment_done), (gst_message_new_custom):
14758 * gst/gstmessage.h:
14759 * tools/gst-launch.c: (event_loop):
14760 * tools/gst-md5sum.c: (event_loop):
14761 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14762 that applications can sensibly post custom messages with references
14763 to their own objects.
14765 2005-08-24 Andy Wingo <wingo@pobox.com>
14767 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14770 2005-08-24 Wim Taymans <wim@fluendo.com>
14772 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14773 (gst_base_transform_transform_caps),
14774 (gst_base_transform_transform_size),
14775 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14776 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14777 (gst_base_transform_handle_buffer):
14778 * gst/base/gstbasetransform.h:
14779 Many fixes and new features added by Thomas. Can now also do
14780 transforms with variable sizes and a custom fixate_caps function.
14782 2005-08-24 Wim Taymans <wim@fluendo.com>
14784 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14788 Cast to ClockTime before formatting to time.
14793 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14795 * check/gst-libs/controller.c: (GST_START_TEST),
14796 (gst_controller_suite):
14797 * docs/gst/tmpl/gstcaps.sgml:
14798 * docs/gst/tmpl/gstghostpad.sgml:
14799 * docs/gst/tmpl/gstquery.sgml:
14800 * docs/gst/tmpl/gstutils.sgml:
14801 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14802 (gst_object_sink_values), (gst_object_get_value_arrays),
14803 (gst_object_get_value_array):
14804 gracefully handle helper method calls to objects that are not beeing
14805 controlled, added test case for that
14807 2005-08-23 Wim Taymans <wim@fluendo.com>
14809 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14810 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14811 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14812 (gst_event_parse_qos), (gst_event_new_seek),
14813 (gst_event_parse_seek):
14815 Some more debugging output and doc cleanups.
14817 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14818 Fix possible deadlock.
14820 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14822 * docs/gst/gstreamer-docs.sgml:
14823 * docs/gst/gstreamer-sections.txt:
14824 * docs/gst/gstreamer.types:
14825 * docs/gst/tmpl/.cvsignore:
14828 * gst/gstelement.c:
14830 added 100 symbols from gstreamer-unused.txt to the right sections
14831 fixed more broken comments
14832 added GstBus to docs
14834 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14836 * docs/gst/gstreamer-sections.txt:
14837 * docs/gst/tmpl/.cvsignore:
14838 * docs/gst/tmpl/gstbin.sgml:
14839 * docs/gst/tmpl/gstbuffer.sgml:
14840 * gst/base/gstbasesrc.c:
14841 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14844 * tools/gst-launch.1.in:
14845 inlined more doc comments, added missing comments and fixed comments
14848 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14850 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14854 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14856 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14857 * gst/gststructure.h:
14858 add a fixate function for booleans; add a FIXME that these func
14859 names should probably be gst_structure_fixate_*
14861 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14863 * docs/gst/gstreamer-docs.sgml:
14864 * docs/gst/gstreamer-sections.txt:
14866 * gst/gstbin.c: (gst_bin_get_type),
14867 (gst_bin_child_proxy_get_child_by_index),
14868 (gst_bin_child_proxy_get_children_count),
14869 (gst_bin_child_proxy_init):
14870 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14871 (gst_child_proxy_get_child_by_index),
14872 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14873 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14874 (gst_child_proxy_get), (gst_child_proxy_set_property),
14875 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14876 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14877 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14878 * gst/gstchildproxy.h:
14879 * gst/parse/grammar.y:
14880 * tools/gst-inspect.c: (print_interfaces),
14881 (print_element_properties_info), (print_element_info):
14882 ported gstchildproxy over from 0.8
14883 ported gst-inspect fixes and enhancements over from 0.8
14885 2005-08-22 Wim Taymans <wim@fluendo.com>
14887 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14888 (gst_base_transform_handle_buffer):
14889 Also call the transform function if we have ANY caps.
14891 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14894 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14896 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14897 Don't pretend to handle seek events if the source is not seekable
14899 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14902 Remove extra parameter to debug output
14904 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14905 (gst_base_src_do_seek), (gst_base_src_activate_push):
14906 Fix seek event handling.
14908 * gst/gstpipeline.c: (gst_pipeline_change_state):
14909 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14910 (gst_queue_src_activate_push):
14911 Don't start the src pad task on FLUSH_STOP if the pad
14915 2005-08-22 Wim Taymans <wim@fluendo.com>
14917 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14918 Added check for gst_static_caps_get() refcounting.
14920 2005-08-22 Wim Taymans <wim@fluendo.com>
14922 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14923 Make _static_caps_get() refcounting sane.
14925 * gst/gstelement.c: (gst_element_set_state):
14926 Add g_return_val_if_fail() to protect against segfaults.
14928 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14930 * docs/gst/tmpl/gstevent.sgml:
14933 inlined remaining docs, added missing doc comments
14935 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14937 * check/gst/gstbin.c: (GST_START_TEST):
14938 since we don't know when preroll is done, use refcount range
14940 * gst/check/gstcheck.h:
14941 add macro for checking refcount range
14943 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14945 * check/Makefile.am:
14946 clean up environment for when registry gets built versus
14947 when actual tests are run; valgrind seems to not report
14948 leaks if GST_PLUGIN_PATH is set to some specific values
14949 * check/gst/gstbin.c: (GST_START_TEST):
14950 add more refcounting checks; maybe this exposes a
14952 * common/check.mak:
14953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14954 * gst/check/gstcheck.h:
14955 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14956 (gst_bin_change_state):
14957 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14958 add/fix debugging/whitespace
14960 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14962 * check/gst/gstevent.c: (event_probe), (test_event),
14964 Er, don't call gst_bin_watch_for_state_change you idiot.
14966 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14968 * check/Makefile.am:
14969 Use CHECK_CFLAGS and CHECK_LIBS
14970 * check/gst/gstevent.c: (event_probe), (test_event),
14973 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14974 (gst_base_src_start), (gst_base_src_stop),
14975 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14976 (gst_base_src_change_state):
14977 Sprinkle gst_base_src_stop liberally around error paths to fix
14978 problems reusing a source after failed state changes.
14979 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14980 (helper_find_suggest), (gst_type_find_helper):
14981 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14983 * docs/gst/tmpl/gstevent.sgml:
14984 Migrate part of the docs from the SGML file. Wait for ensonic to
14985 tell me how I did it wrong ;)
14986 * tools/gst-typefind.c: (main):
14987 Extra robustness to state changes between files.
14989 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14991 * check/Makefile.am:
14992 don't valgrind the controller test - it's leaking - Stefan, HELP
14993 * gst/check/gstcheck.c: (gst_check_message_error),
14994 (gst_check_chain_func), (gst_check_setup_element),
14995 (gst_check_teardown_element), (gst_check_setup_src_pad),
14996 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14997 (gst_check_teardown_sink_pad):
14998 * gst/check/gstcheck.h:
14999 add a bunch of methods to set up elements, and src and sink pads
15000 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
15001 * check/elements/identity.c: (setup_identity), (cleanup_identity),
15004 * gst/gstmessage.c:
15006 whitespace/doc fixes
15008 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15010 * gst/gstelement.h:
15011 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
15012 be handled by the application and not always printed as well
15014 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15016 * check/Makefile.am:
15018 * gst/check/gstcheck.c: (gst_check_message_error):
15019 * gst/check/gstcheck.h:
15020 add a fail_unless_equals_int
15021 add fail_unless for error messages
15023 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15025 * check/Makefile.am:
15027 * common/Makefile.am:
15028 * common/check.mak:
15030 factor out some of the common stuff so we can use it
15032 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15034 * check/Makefile.am:
15035 * check/gst/gstiterator.c: (GST_START_TEST):
15036 * check/gst/gstsystemclock.c: (GST_START_TEST),
15037 (gst_systemclock_suite):
15038 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15040 valgrind more tests
15042 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15044 * check/elements/.cvsignore:
15045 * check/elements/gstfakesrc.c:
15046 rename to name of element
15047 * check/elements/identity.c: (chain_func), (event_func),
15048 (setup_identity), (cleanup_identity), (GST_START_TEST),
15049 (identity_suite), (main):
15050 add a test for identity
15051 * check/Makefile.am:
15052 * pkgconfig/Makefile.am:
15053 * pkgconfig/gstreamer-check.pc.in:
15054 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15058 move the check stuff to a library that gets installed
15059 * check/gst-libs/controller.c: (GST_START_TEST):
15060 * check/gst-libs/gdp.c:
15061 * check/gst/gst.c: (GST_START_TEST):
15062 * check/gst/gstbin.c:
15063 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15064 * check/gst/gstbus.c:
15065 * check/gst/gstcaps.c: (GST_START_TEST):
15066 * check/gst/gstelement.c:
15067 * check/gst/gstghostpad.c:
15068 * check/gst/gstiterator.c:
15069 * check/gst/gstmessage.c:
15070 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
15071 * check/gst/gstobject.c:
15072 * check/gst/gstpad.c: (GST_START_TEST):
15073 * check/gst/gststructure.c: (GST_START_TEST):
15074 * check/gst/gstsystemclock.c: (GST_START_TEST),
15075 (gst_systemclock_suite):
15076 * check/gst/gsttag.c: (gst_tag_suite):
15077 * check/gst/gstvalue.c:
15078 * check/pipelines/cleanup.c:
15079 * check/pipelines/simple_launch_lines.c:
15080 * check/states/sinks.c:
15081 change include statement
15083 * docs/gst/gstreamer-sections.txt:
15084 * docs/gst/tmpl/gstpad.sgml:
15085 document more pad stuff
15086 * gst/gstminiobject.c: (gst_mini_object_ref),
15087 (gst_mini_object_unref):
15090 2005-08-19 Stefan Kost <ensonic@users.sf.net>
15092 * docs/gst/tmpl/gst.sgml:
15094 eliminate another tmpl file, fix spelling in the long-description
15096 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15098 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15099 (test_event), (timediff), (gstevents_suite):
15100 Should fix build on 64-bit arch's
15102 2005-08-18 Andy Wingo <wingo@pobox.com>
15104 Make sure that when a pipeline goes to PLAYING, that data has
15105 actually hit the sink.
15107 * check/states/sinks.c (test_sink): A sink that doesn't get any
15108 data shouldn't return SUCCESS for going to either PLAYING or
15109 PAUSED. Test also the return values on the way back down.
15111 * gst/gstelement.c (gst_element_set_state): When changing the
15112 state of an element currently changing state asynchronously, go to
15113 lost-state after commiting the pending state. Makes future calls
15114 to get_state continue to return ASYNC.
15116 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15117 ASYNC when going to PLAYING if we still don't have preroll, as can
15118 happen with live sources.
15120 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15122 * docs/pwg/advanced-types.xml:
15123 Hack long paragraph into 2 chunks as a workaround for buggy
15124 jadetex version in sid and breezy that loops infinitely and
15127 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15129 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15130 (test_event), (timediff), (gstevents_suite):
15131 Provide more error margin in clock measurements to allow for
15132 g_get_current_time inaccuracies.
15134 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15136 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15137 (test_event), (timediff), (gstevents_suite):
15138 Fix error message output so I might be able to tell why the
15139 test works here but fails on the build farm.
15141 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15143 * check/Makefile.am:
15144 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15145 (test_event), (timediff), (gstevents_suite), (main):
15148 * docs/design/part-seeking.txt:
15149 Spelling correction
15151 * docs/gst/tmpl/gstevent.sgml:
15152 * docs/gst/tmpl/gstfakesrc.sgml:
15155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15156 Treat a buffer-without-newsegment the same as a receiving
15157 a newsegment not in time format, and disable syncing to the clock
15160 * gst/gstbus.c: (gst_bus_set_sync_handler):
15161 Assert if anyone tries to replace the existing sync_handler for bus,
15162 as only the owner should be setting it.
15165 Have a fixed set of custom event enums with events identified by
15166 their structure name (as in 0.8), rather than a free-for-all
15167 allowing collisions between enum values from different plugins.
15169 * gst/gstpad.c: (gst_pad_class_init):
15172 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15173 Handle out-of-band downstream events from the sending thread.
15175 2005-08-17 Andy Wingo <wingo@pobox.com>
15177 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15178 play-timeout==0 to mean no timeout at all. In that case, don't
15179 bother with a get_state or a warning, just return directly, even
15182 * gst/base/gstbasetransform.c: Debug changes.
15185 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15186 ensure bins post state change messages. A bit of a hack but I can't
15187 think of a way to avoid it.
15189 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15191 2005-08-16 Andy Wingo <wingo@pobox.com>
15193 * gst/base/gstadapter.h:
15194 * gst/base/gstadapter.c (gst_adapter_take): New function, like
15195 peek() but you own the data. Not terribly efficient atm.
15197 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15199 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15200 (gst_element_found_tags):
15202 Add two utility functions for tag handling.
15204 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15206 * docs/manual/advanced-dataaccess.xml:
15207 * docs/manual/basics-helloworld.xml:
15208 Fix docs to use _bin_add() before _link(), which fixes the examples
15209 with recent core versions (reported by Madhan Raj M
15210 <raj_madan@rediffmail.com>, #313199).
15212 2005-08-16 Wim Taymans <wim@fluendo.com>
15214 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15215 Added subtract checks.
15217 * docs/design/part-events.txt:
15218 Some more docs about newsegment
15220 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15223 * gst/gstcaps.c: (gst_caps_to_string):
15224 Add comments, cleanups.
15226 * gst/gstelement.c: (gst_element_save_thyself):
15229 * gst/gstvalue.c: (gst_value_collect_int_range),
15230 (gst_string_unwrap), (gst_value_union_int_int_range),
15231 (gst_value_union_int_range_int_range),
15232 (gst_value_intersect_int_int_range),
15233 (gst_value_intersect_int_range_int_range),
15234 (gst_value_intersect_double_double_range),
15235 (gst_value_intersect_double_range_double_range),
15236 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15237 (gst_value_subtract_int_range_int),
15238 (gst_value_subtract_double_range_double),
15239 (gst_value_subtract_double_range_double_range),
15240 (gst_value_subtract_from_list), (gst_value_subtract_list),
15241 (gst_value_can_compare), (gst_value_compare_fraction):
15242 Cleanups, add comments, remove unneeded asserts.
15244 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15246 * tools/gst-launch.c: (event_loop):
15247 don't convert NULL structures to strings
15249 2005-08-15 Stefan Kost <ensonic@users.sf.net>
15251 * docs/gst/gstreamer-sections.txt:
15252 made some defines private
15253 * docs/gst/tmpl/gstconfig.sgml:
15254 * docs/gst/tmpl/gstqueue.sgml:
15255 * docs/gst/tmpl/gsttaglist.sgml:
15256 * docs/gst/tmpl/gsttypes.sgml:
15257 * docs/gst/tmpl/gstutils.sgml:
15258 * docs/pwg/appendix-porting.xml:
15259 * gst/base/gstbasesink.h:
15260 * gst/base/gstbasesrc.c:
15261 * gst/base/gstbasesrc.h:
15262 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15263 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15264 * gst/gstelement.c: (gst_element_class_init):
15265 * gst/gstpad.c: (gst_pad_class_init):
15266 * gst/gstqueue.c: (gst_queue_class_init):
15267 * gst/gstxml.c: (gst_xml_class_init):
15268 documented all undocumented signal inline
15269 * libs/gst/controller/gst-controller.h:
15272 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15274 * docs/pwg/appendix-porting.xml:
15275 Document _set_link_function -> _set_setcaps_function.
15277 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15279 * check/Makefile.am:
15280 add a .check target for running the check
15281 * check/gst-libs/controller.c: (GST_START_TEST):
15283 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15284 complete checks for gstbuffer; would be nice if I could get the
15285 gcov stuff to work so I can see if I actually completed gstbuffer.c
15286 * check/gstcheck.h:
15287 add ASSERT_BUFFER_REFCOUNT
15289 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
15291 * docs/gst/gstreamer-sections.txt:
15292 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15294 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15295 spew out a warning if a tag that is already registered
15296 is re-registered, unless it is re-registered with a
15297 different type (#308438).
15299 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
15301 * docs/pwg/appendix-porting.xml:
15302 * docs/pwg/building-state.xml:
15303 Add some paragraphs about state changes in 0.9 to the PWG
15304 and the porting guide, in particular about the new meaning
15305 of GST_STATE_PAUSED and how to write state change functions
15306 with concurrent access by multiple threads in mind.
15308 2005-08-11 Stefan Kost <ensonic@users.sf.net>
15310 * docs/gst/gstreamer-docs.sgml:
15311 * docs/libs/gstreamer-libs-docs.sgml:
15312 added deprecation and since indexes
15313 * libs/gst/controller/gst-controller.c:
15314 * libs/gst/controller/gst-helper.c:
15318 2005-08-11 Wim Taymans <wim@fluendo.com>
15320 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15321 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15322 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15323 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15324 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15325 (gst_ghost_pad_set_target):
15326 Actually implement (re)setting the target on a ghostpad
15327 as described in the docs.
15329 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15331 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15332 Check whether GST_DEBUG_NO_COLOR environment variable is
15333 set and disable coloured debug output if that is the case.
15335 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15337 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15338 (gst_type_find_helper):
15339 The memory returned by gst_type_find_peek() needs to
15340 stay valid until the end of a typefind function, and
15341 typefind functions may keep results from different
15342 offsets around, so we can't just unref the buffer from
15343 the previous _peek(), but have to save all buffers
15344 returned by _peek() until typefinding is done and only
15347 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
15349 * docs/gst/gstreamer-sections.txt:
15351 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15353 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15355 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15356 Fix a pretty good memleak.
15358 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15360 * gst/gstiterator.h:
15361 Fix wrong include and 'make distcheck'.
15363 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15365 * gst/gstbin.c: (bin_bus_handler):
15366 Use gst_element_post_message() instead.
15368 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15370 * gst/base/gstadapter.h:
15371 * gst/base/gstbasesink.h:
15372 * gst/base/gstbasesrc.h:
15373 * gst/base/gstbasetransform.h:
15374 * gst/base/gstcollectpads.h:
15375 * gst/base/gstpushsrc.h:
15376 * gst/gstiterator.h:
15377 Add padding to our base elements' class and instance structs and
15378 to GstIterator (you will need to rebuild all plugins and apps!)
15380 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15382 * gst/gstbin.c: (bin_bus_handler):
15383 Make default message forwarding from child->bus to bin->bus
15384 threadsafe and make it not emit warnings if the parent has no bus.
15386 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15388 * gst/gstelement.c: (activate_pads):
15389 On paused->ready, set pad->caps to NULL, as is the documented
15390 behaviour in this state change. Fixes playback of series of
15391 media files when visualization is enabled in Totem.
15393 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15395 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15396 Allow NULL as filter-caps (which means "any").
15398 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15400 * docs/libs/gstreamer-libs-sections.txt:
15401 * libs/gst/controller/gst-controller.c:
15402 * libs/gst/controller/gst-controller.h:
15403 * libs/gst/controller/gst-helper.c:
15404 adding more entries to the docs and fix small doc-bugs
15406 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15408 * docs/gst/gstreamer-docs.sgml:
15409 * docs/gst/gstreamer-sections.txt:
15410 * docs/gst/gstreamer.types:
15411 * docs/gst/tmpl/gstbasesink.sgml:
15412 * docs/gst/tmpl/gstbasesrc.sgml:
15413 * docs/gst/tmpl/gstbasetransform.sgml:
15414 * docs/gst/tmpl/gstfakesrc.sgml:
15415 * gst/base/gstcollectpads.c:
15416 * gst/base/gstcollectpads.h:
15417 * libs/gst/controller/gst-controller.c:
15418 * libs/gst/controller/gst-controller.h:
15419 * libs/gst/controller/gst-helper.c:
15420 * libs/gst/controller/gst-interpolation.c:
15421 * libs/gst/controller/lib.c:
15422 added long/short desc for controller docs
15423 added collectpads base class docs
15424 added correct includes to base-class docs
15426 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15428 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15429 (gst_test_mono_source_set_property),
15430 (gst_test_mono_source_class_init), (GST_START_TEST),
15431 (gst_controller_suite):
15432 * docs/gst/gstreamer-docs.sgml:
15433 * docs/gst/gstreamer-sections.txt:
15434 * docs/gst/gstreamer.types:
15435 * docs/libs/gstreamer-libs-docs.sgml:
15436 * docs/libs/gstreamer-libs-sections.txt:
15437 * gst/base/gstadapter.c:
15438 * libs/gst/controller/gst-controller.c:
15439 (gst_controlled_property_new), (gst_controlled_property_free),
15440 (gst_controller_new_valist),
15441 (gst_controller_remove_properties_valist),
15442 (gst_controller_sink_values), (_gst_controller_finalize):
15443 * libs/gst/controller/gst-controller.h:
15444 * libs/gst/controller/gst-helper.c:
15445 (gst_object_control_properties), (gst_object_uncontrol_properties),
15446 (gst_object_get_controller), (gst_object_set_controller),
15447 (gst_object_sink_values), (gst_object_get_value_arrays),
15448 (gst_object_get_value_array):
15449 more tests (and fixes) for the controller
15450 more docs for the controller
15451 integrated companies docs for the adapter
15453 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15455 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15456 (GST_START_TEST), (fakesrc_suite):
15457 add tests for sizetype
15459 2005-08-04 Andy Wingo <wingo@pobox.com>
15461 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15462 fixes buffer_alloc proxying among other things.
15464 * gst/base/gstbasetransform.c:
15465 * gst/base/gstbasetransform.h:
15466 Revert patch to gstbasetransform from 7-28 removing
15469 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15470 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15471 Semantics changed, should return not the size of the output buffer
15472 but the byte size of a buffer with a given caps.
15474 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15476 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15477 out) are not the pad caps until setcaps finishes.
15478 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15479 not-in-place case as well. Deal with changing from in-place to
15480 not-in-place within calling pad_alloc_buffer. Still a bit
15481 concerned about the overhead here...
15483 2005-08-03 Andy Wingo <wingo@pobox.com>
15485 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15486 fixating is an error.
15488 2005-08-04 Edward Hervey <edward@fluendo.com>
15490 * gst/base/gstadapter.h:
15491 Added gst_adapter_get_type() to the header
15493 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15495 * check/Makefile.am:
15496 * check/gst-libs/controller.c:
15497 * libs/gst/controller/gst-controller.c:
15498 (gst_controller_new_valist):
15499 added check test suite for the controller
15500 * gst/base/gstpushsrc.c:
15503 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15505 * docs/gst/Makefile.am:
15506 * docs/gst/gstreamer-docs.sgml:
15507 * docs/gst/gstreamer-sections.txt:
15508 * docs/gst/gstreamer.types:
15509 * docs/gst/tmpl/gstfakesrc.sgml:
15511 * gst/base/gstbasesink.c:
15512 * gst/base/gstbasesink.h:
15513 * gst/base/gstbasesrc.c:
15514 * gst/base/gstbasesrc.h:
15515 * gst/base/gstbasetransform.c:
15516 * gst/base/gstpushsrc.c:
15517 * gst/base/gstpushsrc.h:
15518 add short/long description docs to base classes
15519 add pushsrc to the docs
15520 remove consolidated doc fragments
15522 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15525 * docs/libs/Makefile.am:
15526 * docs/libs/gstreamer-libs-docs.sgml:
15527 * docs/libs/gstreamer-libs-sections.txt:
15528 * docs/libs/gstreamer-libs.types:
15529 * examples/Makefile.am:
15530 * examples/controller/.cvsignore:
15531 * examples/controller/Makefile.am:
15532 * examples/controller/audio-example.c: (main):
15533 * libs/gst/Makefile.am:
15534 * libs/gst/controller/.cvsignore:
15535 * libs/gst/controller/Makefile.am:
15536 * libs/gst/controller/gst-controller.c:
15537 (on_object_controlled_property_changed), (gst_timed_value_compare),
15538 (gst_timed_value_find),
15539 (gst_controlled_property_set_interpolation_mode),
15540 (gst_controlled_property_new), (gst_controlled_property_free),
15541 (gst_controller_find_controlled_property),
15542 (gst_controller_new_valist), (gst_controller_new),
15543 (gst_controller_remove_properties_valist),
15544 (gst_controller_remove_properties), (gst_controller_set),
15545 (gst_controller_set_from_list), (gst_controller_unset),
15546 (gst_controller_get), (gst_controller_get_all),
15547 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15548 (gst_controller_get_value_array),
15549 (gst_controller_set_interpolation_mode),
15550 (_gst_controller_finalize), (_gst_controller_init),
15551 (_gst_controller_class_init), (gst_controller_get_type):
15552 * libs/gst/controller/gst-controller.h:
15553 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15554 (g_object_uncontrol_properties), (g_object_get_controller),
15555 (g_object_set_controller), (g_object_sink_values),
15556 (g_object_get_value_arrays), (g_object_get_value_array):
15557 * libs/gst/controller/gst-interpolation.c:
15558 (gst_controlled_property_find_timed_value_node),
15559 (interpolate_none_get), (interpolate_trigger_get),
15560 (interpolate_trigger_get_value_array):
15561 * libs/gst/controller/lib.c: (gst_controller_init):
15562 * pkgconfig/Makefile.am:
15563 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15564 * pkgconfig/gstreamer-control.pc.in:
15565 * testsuite/Makefile.am:
15566 * testsuite/controller/.cvsignore:
15567 * testsuite/controller/Makefile.am:
15568 * testsuite/controller/interpolator.c: (main):
15569 added controller code
15570 removed dparam pc files
15572 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15573 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15574 (gst_collectpads_stop):
15575 Broadcast the condition when shutting down, to make sure we wake all
15576 threads up. Shut down pads on finalize, for safety.
15578 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15579 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15580 (gst_base_transform_handle_buffer),
15581 (gst_base_transform_change_state):
15582 Handle PAUSED->READY->PAUSED transition after negotiation
15584 * gst/gstmessage.c: (gst_message_init):
15585 Extra piece of debug for new messages.
15587 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15590 * docs/gst/tmpl/gstbasesrc.sgml:
15591 * docs/gst/tmpl/gstelement.sgml:
15592 * docs/gst/tmpl/gstevent.sgml:
15593 * docs/gst/tmpl/gstfakesrc.sgml:
15594 * docs/gst/tmpl/gstformat.sgml:
15595 * docs/gst/tmpl/gstghostpad.sgml:
15596 * docs/gst/tmpl/gstpad.sgml:
15597 * docs/gst/tmpl/gstquery.sgml:
15598 * docs/gst/tmpl/gststructure.sgml:
15599 * docs/gst/tmpl/gsttaglist.sgml:
15600 * docs/gst/tmpl/gstvalue.sgml:
15601 * docs/libs/gstreamer-libs-docs.sgml:
15602 * docs/libs/gstreamer-libs-sections.txt:
15603 * docs/libs/gstreamer-libs.types:
15604 * libs/gst/Makefile.am:
15605 * libs/gst/control/.cvsignore:
15606 * libs/gst/control/Makefile.am:
15607 * libs/gst/control/control.c:
15608 * libs/gst/control/control.h:
15609 * libs/gst/control/dparam.c:
15610 * libs/gst/control/dparam.h:
15611 * libs/gst/control/dparam_smooth.c:
15612 * libs/gst/control/dparam_smooth.h:
15613 * libs/gst/control/dparamcommon.h:
15614 * libs/gst/control/dparammanager.c:
15615 * libs/gst/control/dparammanager.h:
15616 * libs/gst/control/dplinearinterp.c:
15617 * libs/gst/control/dplinearinterp.h:
15618 * libs/gst/control/unitconvert.c:
15619 * libs/gst/control/unitconvert.h:
15620 * testsuite/Makefile.am:
15621 * testsuite/dynparams/.cvsignore:
15622 * testsuite/dynparams/Makefile.am:
15623 * testsuite/dynparams/dparamstest.c:
15624 * tools/Makefile.am:
15625 * tools/gst-inspect.c: (print_element_info), (main):
15626 * tools/gst-xmlinspect.c: (print_element_info), (main):
15627 deactivate and remove dparams (libgstcontrol)
15629 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15631 * gst/elements/gsttypefindelement.c:
15632 (gst_type_find_element_have_type), (gst_type_find_element_init),
15633 (stop_typefinding), (gst_type_find_element_handle_event),
15634 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15635 * gst/elements/gsttypefindelement.h:
15636 Set caps on all outgoing buffers, not just the first one.
15638 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15640 * gst/elements/gsttypefindelement.c:
15641 (gst_type_find_element_have_type),
15642 (gst_type_find_element_check_set_buffer_caps),
15643 (gst_type_find_element_init), (stop_typefinding),
15644 (gst_type_find_element_handle_event),
15645 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15646 * gst/elements/gsttypefindelement.h:
15647 Set caps on first outgoing buffer when we've found the type.
15649 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15651 * docs/gst/gstreamer-docs.sgml:
15652 * docs/gst/gstreamer-sections.txt:
15653 * docs/gst/tmpl/gstscheduler.sgml:
15654 * docs/gst/tmpl/gstschedulerfactory.sgml:
15655 Remove some old cruft from docs.
15657 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15660 Fix inline docs for GstPadLinkReturn.
15662 * gst/gststructure.c: (gst_structure_has_name):
15663 * gst/gststructure.h:
15664 * docs/gst/gstreamer-sections.txt:
15665 New API: gst_structure_has_name().
15667 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15670 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15671 and _LARGEFILE_SOURCE in config.h as required. Do not
15672 export those flags in our .pc files any longer (#142209).
15674 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15676 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15677 (gst_file_sink_do_seek), (gst_file_sink_event),
15678 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15679 Redo seek/tell calls with large file support in mind; add some
15680 debugging messages; add log message that tells us when large
15681 file support is unavailable or not enabled for some reason.
15683 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15684 Add log message that tells us when large file support
15685 is unavailable or not enabled for some reason.
15687 2005-07-29 Wim Taymans <wim@fluendo.com>
15689 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15690 Added test for removing an element with ghostpad from a bin.
15691 Fixed test as current implementation does the right thing.
15693 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15694 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15695 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15696 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15697 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15698 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15699 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15700 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15701 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15702 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15703 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15704 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15705 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15706 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15707 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15708 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15709 * gst/gstghostpad.h:
15710 Clean up ghostpads, remove properties for internal stuff.
15713 Prepare for switching targets, not all use cases work yet.
15715 2005-07-29 Wim Taymans <wim@fluendo.com>
15717 * docs/design/part-gstghostpad.txt:
15720 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15721 (gst_bin_remove_func):
15722 Unlinking pads while holding the bin LOCK is not a good
15725 * gst/gstpad.c: (gst_pad_class_init),
15726 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15727 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15728 No prob setting template after creating the pad.
15730 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15732 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15733 (gst_bus_peek), (gst_bus_source_dispatch),
15734 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15735 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15736 gst_bus_poll may be called from other threads. Handle
15737 this nicely by not making poll_data disappear off the
15738 stack once gst_bus_poll returns.
15739 gst_bus_peek now increments the refcount on the returned
15742 2005-07-29 Wim Taymans <wim@fluendo.com>
15744 * docs/design/part-gstghostpad.txt:
15745 Overview of current GhostPad datastructures and use
15746 cases for changing the target.
15748 2005-07-28 Wim Taymans <wim@fluendo.com>
15750 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15751 Added checks for hierarchy consistency whan adding linked
15754 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15755 Added check to test element scheduling without bin/pipeline.
15757 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15758 First add elements to bin, then link.
15760 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15761 (gst_bin_remove_func):
15762 Unlink pads from elements added/removed from bin to maintain
15763 hierarchy consistency.
15765 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15767 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15768 (gst_base_transform_handle_buffer):
15769 * gst/base/gstbasetransform.h:
15770 Remove broken delay_configure (fixes renegotiation of software
15771 scaling pipelines); remove some leftover printf()s.
15773 2005-07-28 Wim Taymans <wim@fluendo.com>
15775 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15776 Added some more tests for wrong hierarchy
15778 * docs/design/part-overview.txt:
15781 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15784 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15785 (gst_element_dispose):
15786 Some more cleanups.
15788 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15789 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15790 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15791 (gst_pad_set_caps), (gst_pad_send_event):
15792 Check for correct hierarchy when linking pads. Moving to
15793 strict requirement for ghostpads when linking elements in
15797 Clean ups. Added WRONG_HIERARCHY return value.
15799 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15801 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15802 Better debug if no transform is possible.
15804 2005-07-27 Wim Taymans <wim@fluendo.com>
15806 * docs/random/wtay/network-transp:
15807 Some old doc I had.
15809 2005-07-27 Wim Taymans <wim@fluendo.com>
15811 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15812 (gst_dp_event_from_packet):
15813 Fix serialization of seek events.
15815 2005-07-27 Wim Taymans <wim@fluendo.com>
15817 * check/gst-libs/gdp.c: (GST_START_TEST):
15818 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15819 Fix compilation and fix event serialization.
15821 2005-07-27 Wim Taymans <wim@fluendo.com>
15824 * docs/design/part-TODO.txt:
15825 * docs/design/part-events.txt:
15828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15829 (gst_base_sink_event), (gst_base_sink_do_sync),
15830 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15831 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15832 (gst_base_src_do_seek), (gst_base_src_event_handler),
15833 (gst_base_src_loop):
15834 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15835 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15836 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15837 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15838 (gst_base_transform_set_passthrough),
15839 (gst_base_transform_is_passthrough):
15840 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15841 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15847 * gst/gstelement.c: (gst_element_seek):
15848 * gst/gstelement.h:
15849 Update gst_element_seek.
15851 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15852 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15853 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15854 (gst_event_new_eos), (gst_event_new_newsegment),
15855 (gst_event_parse_newsegment), (gst_event_new_tag),
15856 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15857 (gst_event_parse_qos), (gst_event_new_seek),
15858 (gst_event_parse_seek), (gst_event_new_navigation):
15860 Make GstEvent use GstStructure. Add parsing code, make sure the
15861 API is sufficiently generic.
15862 Mark possible directions of events and serialization.
15864 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15865 (_gst_message_copy), (gst_message_new_segment_start),
15866 (gst_message_new_segment_done), (gst_message_new_custom),
15867 (gst_message_parse_segment_start),
15868 (gst_message_parse_segment_done):
15871 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15872 (gst_pad_set_caps), (gst_pad_send_event):
15873 Update for new events.
15874 Catch events sent in wrong directions.
15876 * gst/gstqueue.c: (gst_queue_link_src),
15877 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15878 (gst_queue_handle_src_query):
15883 Remove event code from this file.
15885 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15886 (gst_dp_event_from_packet):
15889 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15891 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15892 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15893 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15894 Make debugging actually useful.
15896 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15898 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15899 (gst_pad_fixate_caps):
15900 Implement default fixation once again, so that gst_pad_fixate()
15901 actually does anything at all. This probably needs to be some
15902 sort of a last resort, and use profile-based fixation first, but
15903 since that doesn't exist yet, this is the best we have. Fixes
15904 visualization in Totem.
15906 2005-07-22 Wim Taymans <wim@fluendo.com>
15908 * docs/design/part-events.txt:
15911 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15912 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15913 (gst_base_sink_activate_pull):
15914 Some more comments.
15916 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15917 (gst_fake_src_create):
15918 Fix handoff marshall.
15920 * gst/elements/gstidentity.c: (gst_identity_class_init),
15921 (gst_identity_transform_ip):
15922 We're a real inplace element.
15924 * gst/gstbus.c: (gst_bus_post):
15925 Added some comments.
15927 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15928 * tests/muxing/case1.c: (main):
15929 * tests/sched/dynamic-pipeline.c: (main):
15930 * tests/sched/interrupt1.c: (main):
15931 * tests/sched/interrupt2.c: (main):
15932 * tests/sched/interrupt3.c: (main):
15933 * tests/sched/runxml.c: (main):
15934 * tests/sched/sched-stress.c: (main):
15935 * tests/seeking/seeking1.c: (event_received), (main):
15936 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15938 * tests/threadstate/threadstate3.c: (main):
15939 * tests/threadstate/threadstate4.c: (main):
15940 * tests/threadstate/threadstate5.c: (main):
15943 2005-07-21 Wim Taymans <wim@fluendo.com>
15945 * docs/design/part-seeking.txt:
15946 Some small additions.
15948 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15949 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15950 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15951 * gst/base/gstbasesink.h:
15952 discont values are gint64, handle the math correctly.
15954 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15955 Make the basesrc report error if the source pad is not linked.
15957 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15958 (gst_queue_loop), (gst_queue_handle_src_query),
15959 (gst_queue_src_activate_push):
15960 Make queue collect data even if the srcpad is not linked.
15961 Start pushing out data as soon as it is linked.
15963 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15965 Added gst_flow_get_name() to ease error reporting.
15967 2005-07-20 Wim Taymans <wim@fluendo.com>
15969 * gst/gstmessage.c: (gst_message_new_segment_start),
15970 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15971 (gst_message_parse_segment_done):
15972 * gst/gstmessage.h:
15973 Added a bunch of messages for advanced seeking.
15975 * gst/parse/grammar.y:
15976 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15977 (gst_dpman_state_changed):
15978 Fix some new-pad -> pad-added signals
15980 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15982 * docs/manual/appendix-porting.xml:
15983 * docs/pwg/appendix-porting.xml:
15984 Document new-pad/state-change signal renames and the FixedList
15987 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15989 * docs/manual/advanced-autoplugging.xml:
15990 * docs/manual/basics-helloworld.xml:
15991 * docs/manual/basics-pads.xml:
15992 * docs/random/ds/0.9-suggested-changes:
15993 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15994 * gst/gstelement.h:
15998 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15999 (gst_structure_parse_array), (gst_structure_parse_value):
16000 * gst/gstvalue.c: (gst_type_is_fixed),
16001 (gst_value_list_prepend_value), (gst_value_list_append_value),
16002 (gst_value_list_get_size), (gst_value_list_get_value),
16003 (gst_value_transform_array_string), (gst_value_serialize_array),
16004 (gst_value_deserialize_array), (gst_value_intersect_array),
16005 (gst_value_is_fixed), (_gst_value_initialize):
16007 GstElement::new-pad -> pad-added, GstElement::state-change ->
16008 state-changed, GstValueFixedList -> GstValueArray, add format and
16009 flags as their own arguments in gst_element_seek() (should improve
16010 "bindeability"), remove function generators since they don't work
16011 under a whole bunch of compilers (they were deprecated already
16014 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16016 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16017 (_gst_debug_register_funcptr):
16019 Fix illegal cast on some platforms (#309253).
16021 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16023 * gst/gstmessage.c: (gst_message_new_custom):
16024 * gst/gstmessage.h:
16025 Add _new_custom, make _new_application a macro to _new_custom.
16027 2005-07-20 Wim Taymans <wim@fluendo.com>
16029 * gst/base/gstbasesrc.c: (gst_base_src_init),
16030 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16031 * gst/base/gstbasesrc.h:
16032 Add a gboolean to decide when to push out a discont.
16034 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16035 (gst_queue_loop), (gst_queue_handle_src_query),
16036 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
16037 (gst_queue_set_property), (gst_queue_get_property):
16040 * tests/threadstate/threadstate1.c: (main):
16041 Make a thread test compile and run... very silly..
16044 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16046 * docs/manual/appendix-porting.xml:
16047 Mention removal of libgstgconf-0.9.la and existence of gconf
16050 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16052 * docs/pwg/advanced-clock.xml:
16053 * docs/pwg/appendix-porting.xml:
16054 * docs/pwg/intro-preface.xml:
16055 * docs/pwg/other-base.xml:
16056 * docs/pwg/other-manager.xml:
16057 * docs/pwg/other-nton.xml:
16058 * docs/pwg/other-ntoone.xml:
16059 * docs/pwg/other-oneton.xml:
16060 * docs/pwg/pwg.xml:
16061 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
16062 demuxer), remove n-to-n (was never written), fix some code examples
16063 and links and update the porting section to include all this.
16065 2005-07-19 Wim Taymans <wim@fluendo.com>
16067 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
16068 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
16069 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
16070 (gst_queue_src_activate_push), (gst_queue_change_state),
16071 (gst_queue_get_property):
16073 Propagate GstFlowReturn more intelligently upstream and output
16074 an ERROR/EOS when streaming stopped due to fatal error.
16076 2005-07-19 Wim Taymans <wim@fluendo.com>
16078 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16079 Don't block forever for the state change to complete, the
16080 pipeline already did with a sensible timeout.
16082 2005-07-19 Wim Taymans <wim@fluendo.com>
16084 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16085 Make sure we never call the create function is we
16088 2005-07-19 Andy Wingo <wingo@pobox.com>
16090 * gst/parse/parse.l: Attempt to solve bug #172815.
16092 2005-07-19 Wim Taymans <wim@fluendo.com>
16094 * docs/design/part-clocks.txt:
16095 * docs/design/part-events.txt:
16096 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16097 Small docs updates.
16098 Only update the seeking values when we are not
16101 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16103 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16104 Oops, ignore the result of gst_pad_push_event here.
16106 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16108 * gst/base/gstbasesrc.c: (gst_base_src_loop),
16109 (gst_base_src_activate_push):
16110 Send discont event from the loop function, as pads
16111 aren't activated yet in the activate_push handler.
16113 * gst/gstbin.c: (bin_bus_handler):
16114 Don't leak element name.
16116 2005-07-18 Andy Wingo <wingo@pobox.com>
16118 * configure.ac: Use AS_LIBTOOL_TAGS.
16120 2005-07-18 Wim Taymans <wim@fluendo.com>
16122 * docs/gst/gstreamer.types:
16123 Remove deleted types.
16125 2005-07-18 Wim Taymans <wim@fluendo.com>
16127 * check/elements/gstfakesrc.c: (GST_START_TEST):
16130 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16131 (init_popt_callback):
16133 * gst/gst_private.h:
16134 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16135 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16138 * gst/gstconfig.h.in:
16139 * gst/gstelement.c: (gst_element_class_init),
16140 (gst_element_set_base_time), (gst_element_get_base_time),
16141 (iterator_fold_with_resync), (gst_element_change_state),
16142 (gst_element_dispose), (gst_element_get_bus):
16143 * gst/gstelement.h:
16144 * gst/gstelementfactory.h:
16145 * gst/gsterror.c: (_gst_core_errors_init):
16148 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16150 * gst/gstinfo.c: (_gst_debug_init):
16151 * gst/gstmessage.c: (_gst_message_copy):
16152 * gst/gstmessage.h:
16153 * gst/gstminiobject.h:
16156 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16157 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16160 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16161 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16162 (gst_pipeline_get_last_stream_time):
16163 * gst/gstpipeline.h:
16164 * gst/gstpluginfeature.h:
16166 * gst/gstscheduler.c:
16167 * gst/gstscheduler.h:
16168 * gst/gststructure.h:
16169 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16170 (gst_task_finalize), (gst_task_func), (gst_task_create),
16171 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16172 (gst_task_stop), (gst_task_pause):
16174 * gst/gsttypefind.h:
16176 * gst/registries/gstlibxmlregistry.c: (load_feature),
16177 (gst_xml_registry_load), (gst_xml_registry_save_feature):
16178 * gst/registries/gstxmlregistry.c:
16179 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16180 * gst/schedulers/threadscheduler.c:
16181 * libs/gst/control/dparammanager.h:
16182 * tools/gst-inspect.c: (print_element_list),
16183 (print_plugin_features), (print_element_features):
16184 * tools/gst-xmlinspect.c: (print_element_list),
16185 (print_plugin_info), (main):
16186 Removed plugable schedulers.
16187 Removed Scheduler/Manager from elements.
16188 Removed gsttypes.h, rearranged includes.
16189 Removed dependency pad<->element, element<>pipeline, and
16190 various others, fix includes.
16191 implement gst_pad_get_parent() with gst_object_get_parent()
16192 Make GstTask sefcontained.
16193 Fix _get_state() on GstBin, it did not return ASYNC with a 0
16195 Fix endless loop in iterator_fold_with_resync.
16198 2005-07-18 Wim Taymans <wim@fluendo.com>
16204 2005-07-18 Wim Taymans <wim@fluendo.com>
16207 No more cothreads.h
16209 2005-07-18 Wim Taymans <wim@fluendo.com>
16213 Let's remove these.
16215 2005-07-18 Wim Taymans <wim@fluendo.com>
16217 * docs/design/part-dynamic.txt:
16218 * docs/design/part-events.txt:
16219 * docs/design/part-seeking.txt:
16220 Some more docs in the works.
16222 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16223 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16224 (gst_base_transform_setcaps), (gst_base_transform_get_size),
16225 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16226 (gst_base_transform_handle_buffer),
16227 (gst_base_transform_sink_activate_push),
16228 (gst_base_transform_src_activate_pull),
16229 (gst_base_transform_set_passthrough),
16230 (gst_base_transform_is_passthrough):
16233 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16236 * gst/gstevent.c: (gst_event_finalize):
16239 * gst/gstutils.c: (gst_element_unlink),
16240 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16241 (gst_pad_proxy_setcaps):
16243 Add _get_parent_element() to get a pads parent as an element.
16245 2005-07-18 Wim Taymans <wim@fluendo.com>
16247 * check/gst/gstbin.c: (GST_START_TEST):
16250 2005-07-18 Wim Taymans <wim@fluendo.com>
16252 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16253 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16254 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16255 (gst_base_sink_event), (gst_base_sink_do_sync),
16256 (gst_base_sink_chain), (gst_base_sink_loop),
16257 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16258 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16260 Fix logic for returning ASYNC when not prerolled.
16262 2005-07-18 Wim Taymans <wim@fluendo.com>
16264 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16265 Fix nasty refcount bug.
16267 2005-07-16 Philippe Khalaf <burger@speedy.org>
16269 * gst/elements/gstfdsrc.c:
16270 * gst/elements/gstfdsrc.h:
16271 * gst/elements/gstelements.c:
16272 * gst/elements/Makefile.am:
16273 Ported fdsrc to 0.9.
16275 2005-07-16 Wim Taymans <wim@fluendo.com>
16277 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16278 (gst_base_sink_do_sync):
16281 2005-07-16 Wim Taymans <wim@fluendo.com>
16283 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16284 (gst_base_sink_event), (gst_base_sink_get_times),
16285 (gst_base_sink_do_sync), (gst_base_sink_change_state):
16286 * gst/base/gstbasesink.h:
16287 Store and use discont values when syncing buffers as described
16290 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16291 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16292 (gst_base_src_activate_push):
16293 Push discont event when starting.
16295 * gst/elements/gstidentity.c: (gst_identity_transform):
16298 * gst/gstbin.c: (gst_bin_change_state):
16299 Small cleanups in base_time distribution.
16301 * gst/gstelement.c: (gst_element_set_base_time),
16302 (gst_element_get_base_time), (gst_element_change_state):
16303 * gst/gstelement.h:
16304 Added methods for the base_time of the element.
16307 * gst/gstpipeline.c: (gst_pipeline_send_event),
16308 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16309 (gst_pipeline_get_last_stream_time):
16310 * gst/gstpipeline.h:
16312 Handle seeking as described in design doc, remove stream_time
16314 Cleanups clock and stream_time selection code. Added accessors
16315 for the stream_time.
16318 2005-07-16 Andy Wingo <wingo@pobox.com>
16320 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16323 2005-07-16 Wim Taymans <wim@fluendo.com>
16325 * check/gst/gstbin.c: (GST_START_TEST):
16326 Make elements silent as the deep_notify refs the
16327 parent, which might make the test fail.
16329 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16330 Don't hold the lock for too long.
16332 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
16334 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16335 Don't unref the caps we passed to gst_caps_make_writable() after
16336 passing them. gst_caps_make_writable() will do that for us.
16338 2005-07-15 Andy Wingo <wingo@pobox.com>
16340 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16343 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16344 own marshalling function for the handoff signal. Properly type the
16345 buffer as a buffer. Fixes some warnings. Should do a more general
16347 (gst_identity_class_init): Plug into the right marshaller.
16349 2005-07-15 Wim Taymans <wim@fluendo.com>
16351 * docs/design/part-TODO.txt:
16352 * docs/design/part-clocks.txt:
16353 * docs/design/part-element-sink.txt:
16354 * docs/design/part-events.txt:
16355 * docs/design/part-gstpipeline.txt:
16356 Updated docs, mostly DISCONT related.
16358 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
16360 * docs/pwg/building-pads.xml:
16361 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16363 2005-07-15 Andy Wingo <wingo@pobox.com>
16365 * tools/gst-typefind.c: Update, add copyright block.
16367 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16368 Normalize and truncate caps before fixation.
16371 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16372 discards all but the first structure from its argument.
16374 2005-07-15 Wim Taymans <wim@fluendo.com>
16376 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16377 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16378 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16379 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16380 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16381 (gst_base_transform_chain), (gst_base_transform_change_state),
16382 (gst_base_transform_set_passthrough),
16383 (gst_base_transform_is_passthrough):
16384 * gst/base/gstbasetransform.h:
16385 Make passthrough work using the bufferpools.
16386 Changed API a bit, subclasses have to write into a buffer
16387 provided by the base class.
16388 More debug info in nego functions.
16390 * gst/elements/gstidentity.c: (gst_identity_init),
16391 (gst_identity_transform):
16392 Port to new base class.
16394 2005-07-15 Wim Taymans <wim@fluendo.com>
16396 * gst/gstmessage.c: (gst_message_new_state_changed):
16397 * tools/gst-launch.c: (event_loop), (main):
16398 Totally dump messages in -launch with the -m option.
16399 Fix message name for State messages,
16401 2005-07-14 Wim Taymans <wim@fluendo.com>
16403 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16404 Post error messages on errors.
16406 2005-07-14 Wim Taymans <wim@fluendo.com>
16408 * gst/gstcaps.c: (gst_caps_do_simplify):
16412 Define error for stream stopped.
16414 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16415 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16416 Do proper return values.
16418 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16419 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16420 (gst_pad_get_range):
16421 Better return values.
16424 Reorganise return values, add macro to check for fatal errors.
16426 * gst/gstqueue.c: (gst_queue_chain):
16427 Return proper GstFlowReturn values,
16429 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16431 * docs/gst/gstreamer-sections.txt:
16432 * docs/gst/gstreamer.types:
16433 * docs/gst/tmpl/gst.sgml:
16434 * docs/gst/tmpl/gstbasesink.sgml:
16435 * docs/gst/tmpl/gstbasesrc.sgml:
16436 * docs/gst/tmpl/gstbasetransform.sgml:
16437 * docs/gst/tmpl/gstbin.sgml:
16438 * docs/gst/tmpl/gstbuffer.sgml:
16439 * docs/gst/tmpl/gstcaps.sgml:
16440 * docs/gst/tmpl/gstclock.sgml:
16441 * docs/gst/tmpl/gstcompat.sgml:
16442 * docs/gst/tmpl/gstconfig.sgml:
16443 * docs/gst/tmpl/gstelement.sgml:
16444 * docs/gst/tmpl/gstelementdetails.sgml:
16445 * docs/gst/tmpl/gstelementfactory.sgml:
16446 * docs/gst/tmpl/gstenumtypes.sgml:
16447 * docs/gst/tmpl/gsterror.sgml:
16448 * docs/gst/tmpl/gstevent.sgml:
16449 * docs/gst/tmpl/gstfakesink.sgml:
16450 * docs/gst/tmpl/gstfakesrc.sgml:
16451 * docs/gst/tmpl/gstfilesink.sgml:
16452 * docs/gst/tmpl/gstfilesrc.sgml:
16453 * docs/gst/tmpl/gstfilter.sgml:
16454 * docs/gst/tmpl/gstformat.sgml:
16455 * docs/gst/tmpl/gstghostpad.sgml:
16456 * docs/gst/tmpl/gstimplementsinterface.sgml:
16457 * docs/gst/tmpl/gstindex.sgml:
16458 * docs/gst/tmpl/gstindexfactory.sgml:
16459 * docs/gst/tmpl/gstinfo.sgml:
16460 * docs/gst/tmpl/gstiterator.sgml:
16461 * docs/gst/tmpl/gstmacros.sgml:
16462 * docs/gst/tmpl/gstmemchunk.sgml:
16463 * docs/gst/tmpl/gstminiobject.sgml:
16464 * docs/gst/tmpl/gstobject.sgml:
16465 * docs/gst/tmpl/gstpad.sgml:
16466 * docs/gst/tmpl/gstpadtemplate.sgml:
16467 * docs/gst/tmpl/gstparse.sgml:
16468 * docs/gst/tmpl/gstpipeline.sgml:
16469 * docs/gst/tmpl/gstplugin.sgml:
16470 * docs/gst/tmpl/gstpluginfeature.sgml:
16471 * docs/gst/tmpl/gstquery.sgml:
16472 * docs/gst/tmpl/gstqueue.sgml:
16473 * docs/gst/tmpl/gstregistry.sgml:
16474 * docs/gst/tmpl/gstregistrypool.sgml:
16475 * docs/gst/tmpl/gstscheduler.sgml:
16476 * docs/gst/tmpl/gstschedulerfactory.sgml:
16477 * docs/gst/tmpl/gststructure.sgml:
16478 * docs/gst/tmpl/gstsystemclock.sgml:
16479 * docs/gst/tmpl/gsttaglist.sgml:
16480 * docs/gst/tmpl/gsttagsetter.sgml:
16481 * docs/gst/tmpl/gsttrace.sgml:
16482 * docs/gst/tmpl/gsttrashstack.sgml:
16483 * docs/gst/tmpl/gsttypefind.sgml:
16484 * docs/gst/tmpl/gsttypefindfactory.sgml:
16485 * docs/gst/tmpl/gsttypes.sgml:
16486 * docs/gst/tmpl/gsturihandler.sgml:
16487 * docs/gst/tmpl/gsturitype.sgml:
16488 * docs/gst/tmpl/gstutils.sgml:
16489 * docs/gst/tmpl/gstvalue.sgml:
16490 * docs/gst/tmpl/gstversion.sgml:
16491 * docs/gst/tmpl/gstxml.sgml:
16492 * docs/libs/tmpl/gstcontrol.sgml:
16493 * docs/libs/tmpl/gstdataprotocol.sgml:
16494 * docs/libs/tmpl/gstdparam.sgml:
16495 * docs/libs/tmpl/gstdplinint.sgml:
16496 * docs/libs/tmpl/gstdpman.sgml:
16497 * docs/libs/tmpl/gstdpsmooth.sgml:
16498 * docs/libs/tmpl/gstgetbits.sgml:
16499 * docs/libs/tmpl/gstunitconvert.sgml:
16500 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16501 (gst_push_src_base_init), (gst_push_src_class_init),
16502 (gst_push_src_init), (gst_push_src_create):
16503 * gst/base/gstpushsrc.h:
16504 * gst/elements/gstelements.c:
16505 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16506 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16507 (gst_fake_sink_init), (gst_fake_sink_set_property),
16508 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16509 (gst_fake_sink_event), (gst_fake_sink_preroll),
16510 (gst_fake_sink_render), (gst_fake_sink_change_state):
16511 * gst/elements/gstfakesink.h:
16512 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16513 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16514 (gst_fake_src_base_init), (gst_fake_src_class_init),
16515 (gst_fake_src_init), (gst_fake_src_event_handler),
16516 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16517 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16518 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16519 (gst_fake_src_create_buffer), (gst_fake_src_create),
16520 (gst_fake_src_start), (gst_fake_src_stop):
16521 * gst/elements/gstfakesrc.h:
16522 * gst/elements/gstfilesink.c: (_do_init),
16523 (gst_file_sink_base_init), (gst_file_sink_class_init),
16524 (gst_file_sink_init), (gst_file_sink_dispose),
16525 (gst_file_sink_set_location), (gst_file_sink_set_property),
16526 (gst_file_sink_get_property), (gst_file_sink_open_file),
16527 (gst_file_sink_close_file), (gst_file_sink_query),
16528 (gst_file_sink_event), (gst_file_sink_render),
16529 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16530 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16531 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16532 * gst/elements/gstfilesink.h:
16533 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16534 (gst_file_src_class_init), (gst_file_src_init),
16535 (gst_file_src_finalize), (gst_file_src_set_location),
16536 (gst_file_src_set_property), (gst_file_src_get_property),
16537 (gst_file_src_map_region), (gst_file_src_map_small_region),
16538 (gst_file_src_create_mmap), (gst_file_src_create_read),
16539 (gst_file_src_create), (gst_file_src_is_seekable),
16540 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16541 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16542 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16543 (gst_file_src_uri_handler_init):
16544 * gst/elements/gstfilesrc.h:
16545 more autistic cleanliness in functions/names/defines
16547 2005-07-13 Andy Wingo <wingo@pobox.com>
16549 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16550 source couldn't negotiate.
16552 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16556 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16557 function. I am channeling Hades. Put your boots on suckers!!!
16559 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16561 * testsuite/caps/Makefile.am:
16562 * testsuite/caps/value_compare.c:
16563 * testsuite/caps/value_intersect.c:
16564 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16565 move two testsuite apps over to the check dir
16567 2005-07-12 Wim Taymans <wim@fluendo.com>
16569 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16570 Added more debug info in the negotiate process.
16572 * gst/gstmessage.h:
16573 Prepare for segment playback.
16575 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16581 * tools/gst-launch.c: (main):
16582 NULL pipeline on errors.
16584 2005-07-12 Andy Wingo <wingo@pobox.com>
16586 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16587 not it comes from a malloc region. Make sure our copy gets freed.
16589 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16591 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16592 * check/gst/gstmessage.c: (GST_START_TEST):
16593 * check/gst/gststructure.c: (GST_START_TEST),
16594 (gst_structure_suite), (main):
16596 * gst/gstelement.c: (gst_element_message_full):
16597 clean up GError and debug string now that they get copied
16598 * gst/gstmessage.c: (gst_message_new_error),
16599 (gst_message_new_warning), (gst_message_parse_error),
16600 (gst_message_parse_warning):
16601 use GST_TYPE_G_ERROR for structure_new, and take copies of
16602 arguments, so that we don't mess up refcounting
16604 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16606 * check/Makefile.am:
16607 add per-test valgrind targets
16608 * check/gst-libs/gdp.c: (GST_START_TEST),
16609 (gst_data_protocol_suite), (main):
16612 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16614 * check/Makefile.am:
16615 instate more valgrindable tests
16616 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16617 (GST_START_TEST), (fakesrc_suite):
16618 * check/gst/gstpad.c: (GST_START_TEST):
16619 * check/gst/gststructure.c: (GST_START_TEST):
16621 * docs/gst/tmpl/gstminiobject.sgml:
16622 * gst/gstpad.c: (gst_pad_finalize):
16623 fix the static mutex leak
16625 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16627 * check/Makefile.am:
16628 add two more tests for valgrinding
16629 * check/gst/gstvalue.c: (GST_START_TEST):
16630 test refcount of deserialized buffer, found a leak
16631 * docs/gst/gstreamer-docs.sgml:
16632 * docs/gst/gstreamer-sections.txt:
16633 * docs/gst/gstreamer.types:
16634 * docs/gst/tmpl/gstminiobject.sgml:
16635 add miniobject to docs
16636 * gst/gstminiobject.c:
16638 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16639 (gst_string_unwrap):
16640 fix a hard-to-find invalid write for one of the tests
16641 fix a leak for deserialized buffers
16643 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16645 * docs/pwg/advanced-events.xml:
16646 * docs/pwg/advanced-request.xml:
16647 * docs/pwg/advanced-scheduling.xml:
16648 * docs/pwg/appendix-porting.xml:
16649 * docs/pwg/building-boiler.xml:
16650 * docs/pwg/intro-preface.xml:
16651 * docs/pwg/other-ntoone.xml:
16652 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16653 of example code and explanation for pad activation, loop() and
16654 getrange() functions and a bit more. Remove old comments pointing
16656 * examples/pwg/Makefile.am:
16657 Add loop/getrange examples.
16659 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16662 check for valgrind binary + some fixes
16664 valgrind suppressions for the tests
16665 * check/Makefile.am:
16666 add a valgrind: target that valgrinds the unit tests
16667 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16668 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16669 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16670 * check/gst/gstghostpad.c:
16672 * check/gst/gstdata.c:
16674 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16675 (thread_unref), (gst_mini_object_suite), (main):
16677 * gst/gst.c: (gst_deinit):
16679 add a method to clean up.
16680 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16681 (gst_system_clock_obtain):
16682 allow for disposing the system clock.
16683 * tools/gst-launch.c: (main):
16686 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16688 * docs/gst/tmpl/gstbasesrc.sgml:
16689 * docs/gst/tmpl/gstfakesrc.sgml:
16690 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16691 (gst_base_src_init), (gst_base_src_set_property),
16692 (gst_base_src_get_property), (gst_base_src_get_range),
16693 (gst_base_src_start):
16694 * gst/base/gstbasesrc.h:
16695 add num-buffers property
16696 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16697 (gst_fakesrc_init), (gst_fakesrc_set_property),
16698 (gst_fakesrc_get_property), (gst_fakesrc_create),
16699 (gst_fakesrc_start):
16700 remove num-buffers property
16702 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16704 * docs/gst/gstreamer-sections.txt:
16705 * docs/gst/tmpl/gstbasesink.sgml:
16706 * docs/gst/tmpl/gstbasesrc.sgml:
16707 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16708 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16709 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16710 (gst_base_sink_set_property), (gst_base_sink_get_property),
16711 (gst_base_sink_handle_object), (gst_base_sink_event),
16712 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16713 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16714 (gst_base_sink_loop), (gst_base_sink_deactivate),
16715 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16716 (gst_base_sink_change_state):
16717 * gst/base/gstbasesink.h:
16718 * gst/base/gstbasesrc.h:
16719 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16720 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16721 (gst_filesink_init):
16722 more macro splitting
16724 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16726 * gst/gstelement.c: (gst_element_get_bus):
16728 * tools/gst-launch.c: (check_intr), (event_loop):
16731 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16733 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16736 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16738 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16739 (gst_base_src_finalize):
16740 add finalize method and clean up properly
16741 * gst/gstpipeline.c: (gst_pipeline_dispose):
16744 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16746 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16748 add more things to check
16749 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16750 * gst/gstelement.c:
16753 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16755 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16756 (GST_START_TEST), (fakesrc_suite):
16757 * check/gst-libs/gdp.c: (GST_START_TEST):
16758 * check/gst/gst.c: (GST_START_TEST):
16759 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16760 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16761 * check/gst/gstbus.c: (GST_START_TEST):
16762 * check/gst/gstcaps.c: (GST_START_TEST):
16763 * check/gst/gstdata.c: (GST_START_TEST):
16764 * check/gst/gstelement.c: (GST_START_TEST):
16765 * check/gst/gstghostpad.c: (GST_START_TEST):
16766 * check/gst/gstiterator.c: (GST_START_TEST):
16767 * check/gst/gstmessage.c: (GST_START_TEST):
16768 * check/gst/gstobject.c: (GST_START_TEST):
16769 * check/gst/gstpad.c: (GST_START_TEST):
16770 * check/gst/gststructure.c: (GST_START_TEST):
16771 * check/gst/gstsystemclock.c: (GST_START_TEST),
16772 (gst_systemclock_suite):
16773 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16774 * check/gst/gstvalue.c: (GST_START_TEST):
16775 * check/pipelines/cleanup.c: (GST_START_TEST):
16776 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16777 * check/states/sinks.c: (GST_START_TEST):
16778 * check/gstcheck.c: (gst_check_init):
16779 * check/gstcheck.h:
16780 add debugging category
16781 use GST_START_TEST now, so we add a debug line
16783 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16785 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16786 add test for state change message on a bin
16787 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16789 * gst/gstbin.c: (gst_bin_init):
16790 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16791 * gst/gstelement.c: (gst_element_post_message),
16792 (gst_element_set_state):
16793 * gst/gstelementfactory.c: (gst_element_factory_create):
16794 * gst/gstmessage.c: (gst_message_new):
16795 * gst/gstscheduler.c:
16796 various debugging additions and cleanups
16798 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16800 * check/Makefile.am:
16801 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16803 adding tests for elements
16804 * gst/gstelement.c: (gst_element_dispose):
16806 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16808 * gst/registries/gstlibxmlregistry.c: (load_feature):
16809 plug more leaks. A simple gst_init() now is leakfree, yay.
16811 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16813 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16814 (gst_xml_registry_load):
16815 plug another memleak
16817 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16820 use GST_SET_ERROR_CFLAGS
16821 * docs/faq/cvs.xml:
16822 change to ERROR_CFLAGS
16824 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16827 make GST_ERROR_CFLAGS overridable and re-enable Werror
16828 * docs/faq/cvs.xml:
16829 add a note about error CFLAGS
16830 * docs/gst/tmpl/gstfakesrc.sgml:
16831 * gst/elements/gstfakesrc.c:
16832 comment out some unused code
16833 * gst/gst.c: (split_and_iterate):
16834 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16838 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16840 * common/Makefile.am:
16841 * common/gtk-doc.mak:
16842 * docs/gst/Makefile.am:
16843 factor out gtk-doc.mak
16845 2005-07-07 Wim Taymans <wim@fluendo.com>
16847 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16848 (gst_thread_scheduler_dispose):
16849 Unlock the STREAM_LOCK completely.
16851 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16853 * check/Makefile.am:
16854 * check/elements/.cvsignore:
16855 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16856 (START_TEST), (fakesrc_suite), (main):
16857 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16858 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16859 (gst_fakesrc_create), (gst_fakesrc_start):
16860 * gst/elements/gstfakesrc.h:
16861 adding a first element test
16863 2005-07-07 Andy Wingo <wingo@pobox.com>
16865 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16868 2005-07-07 Wim Taymans <wim@fluendo.com>
16874 2005-07-07 Wim Taymans <wim@fluendo.com>
16876 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16877 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16878 Allow subclasses to implement their own negotiation.
16880 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16882 * docs/design/part-gstbin.txt:
16883 * docs/design/part-gstpipeline.txt:
16884 Update design notes to reflect the movement of
16885 responsibility for bus handling from GstPipeline to
16888 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16891 Remove unnecessary queue2/3/4 examples.
16893 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16895 * examples/Makefile.am:
16896 * examples/helloworld/helloworld.c: (event_loop), (main):
16897 * examples/queue/queue.c: (event_loop), (main):
16898 * examples/queue2/queue2.c: (main):
16899 Update a couple of the examples to work again.
16901 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16902 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16903 Spelling corrections and extra debug.
16905 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16906 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16907 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16909 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16910 (gst_pipeline_change_state):
16911 * gst/gstpipeline.h:
16912 Move the bus handler for children to the GstBin, and create a
16913 separate bus for receiving messages from children to the one the
16914 bus sends 'upwards' on.
16916 2005-07-06 Wim Taymans <wim@fluendo.com>
16919 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16920 (gst_base_sink_handle_object), (gst_base_sink_loop),
16921 (gst_base_sink_change_state):
16922 * gst/base/gstbasesink.h:
16923 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16924 (gst_base_src_init), (gst_base_src_setcaps),
16925 (gst_base_src_getcaps), (gst_base_src_loop),
16926 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16927 (gst_base_src_start), (gst_base_src_change_state):
16928 * gst/base/gstbasesrc.h:
16929 Make basesrc negotiate.
16930 Handle the case where preroll fails in basesink.
16933 2005-07-06 Wim Taymans <wim@fluendo.com>
16935 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16936 Implement the fixate function.
16937 Clean up acceptcaps.
16939 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16941 * docs/pwg/building-filterfactory.xml:
16942 * docs/pwg/pwg.xml:
16943 Remove never-written filter-factory chapter; I'll add the various
16944 base classes to part 4 ("other element types") later on.
16946 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16948 * docs/pwg/advanced-negotiation.xml:
16949 * docs/pwg/building-boiler.xml:
16950 * docs/pwg/building-pads.xml:
16951 * docs/pwg/pwg.xml:
16952 * examples/pwg/Makefile.am:
16953 Add a chapter on caps negotiation, simplify the original code
16954 samples a bit w.r.t. caps negotiation, add link to the advanced
16955 section. Add a bunch of examples showing different use cases of
16956 different types of caps negotiation. Upstream renegotiation isn't
16957 fully documented yet since nobody knows how that works.
16959 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16961 * check/gst/gstpad.c:
16962 * check/gstcheck.c:
16963 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16964 if pad has no parent, return NULL as list of internal links
16966 2005-07-05 Andy Wingo <wingo@pobox.com>
16968 * gst/elements/gstfilesrc.c:
16969 * gst/elements/gstfakesrc.c:
16970 * gst/base/gstpushsrc.c:
16971 * gst/base/gstbasesrc.h:
16972 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16974 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16977 better report generation target (lcov needs a patch)
16979 2005-07-05 Andy Wingo <wingo@pobox.com>
16981 * gst/elements, testsuite: Null if we got it...
16983 2005-07-05 Wim Taymans <wim@fluendo.com>
16986 * libs/gst/dataprotocol/Makefile.am:
16987 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16988 * libs/gst/dataprotocol/dataprotocol.h:
16989 * pkgconfig/Makefile.am:
16990 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16991 * pkgconfig/gstreamer-dataprotocol.pc.in:
16992 Ported dataprotol to 0.9.
16993 Added pkgconfig files.
16995 2005-07-05 Andy Wingo <wingo@pobox.com>
16997 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16998 Default to returning TRUE for the case when tranform_caps returns
16999 a fixed caps, like for identity or volume.
17001 * check/gst/gstbus.c (pound_bus_with_messages):
17002 * check/gst/gstmessage.c (START_TEST):
17003 * check/pipelines/simple_launch_lines.c (got_handoff): Application
17004 message API change.
17006 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
17007 logic weaks here: always run transform_caps, trying passthrough
17008 operation only if the original caps intersects with the transform.
17010 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
17011 source and sink caps.
17013 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
17014 Intersect the peer caps with the pad template before going into
17016 (gst_base_transform_transform_caps): More debugging.
17018 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
17021 2005-07-04 Edward Hervey <edward@fluendo.com>
17025 (gst_pad_add_*_probe): now returns the signal id for better wrapping
17028 2005-07-04 Andy Wingo <wingo@pobox.com>
17030 * check/gst/gstpad.c: Only set explicit caps on pads.
17032 2005-07-01 Andy Wingo <wingo@pobox.com>
17034 * tests/network-clock.scm: Commentary update.
17036 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
17037 Didn't really make sense, not implementable with basetransform,
17039 (gst_identity_transform): Unref inbuf via make_writable. Feeble
17040 attempt at implementing the sync property, needs an unlock method.
17042 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
17043 New func, by default returns the same caps (the identity
17045 (gst_base_transform_getcaps): Uses transform_caps to return
17046 something sensible.
17047 (gst_base_transform_setcaps): Complicated logic to get caps on
17048 both pads, even if they are different, and to call set_caps once
17049 for every time both pads get their caps set.
17050 (gst_base_transform_handle_buffer): Give the ref to the transform
17051 function. Allows in-place modification of the buffer.
17053 * gst/base/gstbasetransform.h (transform_caps): New class method.
17054 Given caps on one side, what can I do on the other.
17055 (set_caps): Take two caps, one for each side of the element.
17058 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
17059 caps in place. This is safe because we can check the mutability of
17060 the caps, and a good idea because fixate functions are just called
17061 as a matter of last resort. (Not actually implemented.)
17062 (gst_pad_set_caps): If the caps we're setting is actually the same
17063 as the existing pad caps, just update the pointer without calling
17064 setcaps. Assert that caps is either NULL or fixed, as per the
17067 * gst/gstghostpad.c: Update for fixate changes.
17069 2005-07-02 Andy Wingo <wingo@pobox.com>
17072 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17073 two refcounts makes it immutable, which is enough. Doc more.
17075 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
17077 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17078 Put the mini_object into GValue as a mini_object,
17079 not a gpointer, since that's how we declared
17082 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17084 * examples/pwg/Makefile.am:
17085 Fix buildbot again.
17087 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17089 * docs/pwg/building-testapp.xml:
17091 * examples/pwg/Makefile.am:
17094 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17097 * examples/Makefile.am:
17098 * examples/pwg/Makefile.am:
17099 * examples/pwg/extract.pl:
17100 Enable building the PWG examples.
17101 * docs/pwg/advanced-interfaces.xml:
17102 Add URI interface stub.
17103 * docs/pwg/advanced-types.xml:
17104 * docs/pwg/other-autoplugger.xml:
17105 * docs/pwg/appendix-porting.xml:
17106 * docs/pwg/pwg.xml:
17107 Add porting guide (mostly stubs), remove autoplugging (see ADM).
17108 * docs/pwg/building-boiler.xml:
17109 * docs/pwg/building-chainfn.xml:
17110 * docs/pwg/building-pads.xml:
17111 * docs/pwg/building-props.xml:
17112 * docs/pwg/building-state.xml:
17113 * docs/pwg/building-testapp.xml:
17114 Update the building-*.xml parts for 0.9 changes. All examples
17115 code blocks compile in examples/pwg/*.
17117 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17119 * docs/manual/advanced-autoplugging.xml:
17120 * docs/manual/appendix-checklist.xml:
17121 * docs/manual/appendix-integration.xml:
17122 * docs/manual/highlevel-components.xml:
17123 Fix playbin/decodebin examples, update docs a bit, mention bus
17124 instead of signals in various places, mention kmplayer and
17125 kaffeine since they have a working GStreamer backend in the KDE
17128 2005-06-30 Wim Taymans <wim@fluendo.com>
17131 * docs/design/draft-ghostpads.txt:
17132 * docs/design/draft-push-pull.txt:
17133 * docs/design/draft-query.txt:
17134 * docs/design/part-TODO.txt:
17135 * docs/design/part-query.txt:
17136 Added CHANGES-0.9 doc, updated status of other docs.
17141 2005-06-30 Wim Taymans <wim@fluendo.com>
17143 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17144 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17145 (gst_base_sink_change_state):
17146 * gst/base/gstbasesink.h:
17147 Some tweaks, only EOS and a buffer complete a preroll.
17149 2005-06-30 Andy Wingo <wingo@pobox.com>
17151 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17152 activate_push down to the internal pad as well.
17154 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
17156 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17158 * gst/gsttaginterface.c:
17159 Some documentation fixes (#307394 and #307397).
17161 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
17163 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17165 * gst/gstvalue.c: (gst_value_intersect_list):
17166 Fix memleak (#309125).
17168 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17170 * docs/manual/advanced-dataaccess.xml:
17171 Fix fakesrc example to compile; doesn't work, bug somewhere...?
17172 * docs/manual/basics-pads.xml:
17173 Add reference for filtered caps to above chapter.
17175 2005-06-30 Wim Taymans <wim@fluendo.com>
17177 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17178 (gst_bin_change_state):
17180 Lame attempt at making the state change function a bit
17183 2005-06-30 Wim Taymans <wim@fluendo.com>
17185 * docs/design/part-clocks.txt:
17186 * docs/design/part-element-sink.txt:
17187 * docs/design/part-events.txt:
17188 * docs/design/part-preroll.txt:
17189 * docs/design/part-states.txt:
17190 Some more tweeks and additions to the docs.
17192 2005-06-30 Wim Taymans <wim@fluendo.com>
17194 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17195 (default_have_data), (gst_pad_class_init), (gst_pad_init),
17196 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17197 (gst_pad_check_pull_range), (gst_pad_get_range),
17198 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17200 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17201 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17202 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17203 (gst_pad_remove_buffer_probe):
17204 Removed atomic operations, use existing LOCK.
17205 Move exception handling out of main code path.
17207 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17209 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17210 (silly_return_true_function), (gst_pad_class_init),
17211 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17212 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17213 (gst_pad_send_event):
17214 Fix accumulator, add default value by using _emitv() instead
17215 of _emit() for signal emission.
17217 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17219 * docs/manual/advanced-dataaccess.xml:
17220 * examples/manual/Makefile.am:
17222 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17225 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
17227 * gst/elements/gstfilesink.c: (gst_filesink_render):
17228 Simplify code so that we don't have to handle short
17229 writes and return GST_FLOW_ERROR if an error occured.
17231 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17233 * docs/gst/gstreamer-docs.sgml:
17234 Remove probes more.
17236 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17238 * docs/gst/gstreamer-sections.txt:
17239 * docs/gst/tmpl/gstpad.sgml:
17240 * docs/gst/tmpl/gstprobe.sgml:
17242 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17243 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17244 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17245 (gst_pad_push_event), (gst_pad_send_event):
17247 * gst/gstutils.c: (gst_pad_add_data_probe),
17248 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17249 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17250 (gst_pad_remove_buffer_probe):
17252 Remove old probes, add new g-signal-based probes and some utility
17255 2005-06-29 Edward Hervey <edward@fluendo.com>
17257 * gst/gstelementfactory.c:
17260 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17261 the definition to the header file.
17263 2005-06-29 Andy Wingo <wingo@pobox.com>
17265 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17266 plugins from the source directory.
17268 2005-06-29 Wim Taymans <wim@fluendo.com>
17270 * docs/gst/tmpl/gstbuffer.sgml:
17271 * docs/gst/tmpl/gstclock.sgml:
17272 Some fixings for blantently wrong text.
17274 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17276 * check/Makefile.am:
17277 * gst/gst.c: (add_path_func), (init_pre):
17278 * gst/gstregistry.c: (gst_registry_add_path):
17279 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17280 only scan the GST_PLUGIN_PATH locations, and not add
17283 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17285 * docs/gst/gstreamer-sections.txt:
17286 * docs/gst/tmpl/gstbasesrc.sgml:
17287 * gst/gstelement.c:
17288 * gst/gstelement.h:
17293 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17295 * docs/manual/advanced-autoplugging.xml:
17296 Fix autoplugging example.
17298 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17300 * docs/manual/advanced-autoplugging.xml:
17301 * docs/manual/mime-world.fig:
17302 Try to get autoplugging working, fix type detection. Fix text
17303 in hello-world image.
17305 2005-06-29 Wim Taymans <wim@fluendo.com>
17307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17308 (gst_base_sink_change_state):
17312 map SIGNAL and BROADCAST to the right function.
17315 Remove redundant braces.
17317 * gst/gstpad.c: (gst_pad_set_caps):
17318 Don't call setcaps function when reseting caps to NULL.
17320 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17321 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17322 (gst_system_clock_id_unschedule):
17323 Use BROADCAST as this is what we do.
17325 2005-06-29 Wim Taymans <wim@fluendo.com>
17327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17328 We are actually prerolling before commiting the state
17331 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17333 * docs/manual/advanced-clocks.xml:
17334 * docs/manual/advanced-interfaces.xml:
17335 * docs/manual/advanced-metadata.xml:
17336 * docs/manual/advanced-position.xml:
17337 * docs/manual/advanced-schedulers.xml:
17338 * docs/manual/advanced-threads.xml:
17339 * docs/manual/appendix-porting.xml:
17340 * docs/manual/basics-bins.xml:
17341 * docs/manual/basics-bus.xml:
17342 * docs/manual/basics-elements.xml:
17343 * docs/manual/basics-helloworld.xml:
17344 * docs/manual/basics-pads.xml:
17345 * docs/manual/highlevel-components.xml:
17346 * docs/manual/manual.xml:
17347 * docs/manual/thread.fig:
17348 Update (until threads/scheduling) Application Development Manual;
17349 remove GstThread, add GstBus, add simple porting checklist, add
17350 documentation for tag writing, clocks, make all examples until this
17351 part compile and run.
17352 * examples/manual/Makefile.am:
17353 Update from changes to Application Development Manual; add bus
17354 example, remove thread example.
17356 2005-06-28 Wim Taymans <wim@fluendo.com>
17358 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17359 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17360 (gst_bus_source_dispatch):
17361 Add debugging messages.
17362 Make internal methods static.
17363 Handle the case where the bus is flushed in the handler.
17365 * gst/gstelement.c: (gst_element_get_bus):
17366 Fix refcount in _get_bus();
17368 * gst/gstpipeline.c: (gst_pipeline_change_state),
17369 (gst_pipeline_get_clock_func):
17370 Clock refcounting fixes.
17371 Handle the case where preroll timed out more gracefully.
17373 * gst/gstsystemclock.c: (gst_system_clock_dispose):
17374 Clean up the internal thread in dispose. This is needed
17375 for subclasses that actually get disposed.
17377 * gst/schedulers/threadscheduler.c:
17378 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17379 (gst_thread_scheduler_dispose):
17380 Free thread pool in dispose.
17382 2005-06-28 Andy Wingo <wingo@pobox.com>
17384 * tests/network-clock-utils.scm (debug, print-event): New utils.
17386 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17387 (*packet-loss*): Unified loss probability.
17388 (network-time): Report out-of-band events.
17390 * tests/plot-data: Add support for out-of-band events. Hack it
17391 into this script instead of passing it down the pipe; should fix
17394 2005-06-28 Wim Taymans <wim@fluendo.com>
17396 * docs/gst/gstreamer.types:
17397 * docs/gst/tmpl/gstbasesrc.sgml:
17398 * docs/gst/tmpl/gstpad.sgml:
17401 2005-06-28 Wim Taymans <wim@fluendo.com>
17403 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17404 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17405 (gst_proxy_pad_do_fixatecaps):
17406 Correctly proxy the check_pull_range function.
17408 2005-06-28 Andy Wingo <wingo@pobox.com>
17410 * tests/network-clock.scm: Removed need for slib.
17412 2005-06-28 Wim Taymans <wim@fluendo.com>
17414 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17415 (gst_basesink_preroll_queue_flush):
17416 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17417 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17418 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17419 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17420 (gst_proxy_pad_set_property):
17423 * gst/gstqueue.c: (gst_queue_init):
17424 The deprecated pad loop function is removed now.
17426 2005-06-28 Andy Wingo <wingo@pobox.com>
17428 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17429 New parameters, simulate network packet loss.
17431 * tests/network-clock-utils.scm: Initialize the RNG.
17433 2005-06-28 Wim Taymans <wim@fluendo.com>
17435 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17436 (gst_basesink_event), (gst_basesink_deactivate):
17437 Flushing the preroll queue always needs to unlock the waiters.
17439 2005-06-28 Edward Hervey <edward@fluendo.com>
17441 * gst/gstpipeline.c: (gst_pipeline_send_event):
17442 Wheen a seek was successful on a pipeline, set the stream_time to the
17443 seek offset in order to have a synchronized stream_time.
17445 2005-06-28 Wim Taymans <wim@fluendo.com>
17447 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17448 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17449 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17450 (gst_proxy_pad_do_fixatecaps):
17451 Call wrapper function instead of just calling the function
17452 pointers. This takes care of any locking and whatmore.
17454 2005-06-28 Wim Taymans <wim@fluendo.com>
17456 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17457 (gst_pad_pull_range):
17459 CONNECTED -> LINKED.
17461 2005-06-28 Andy Wingo <wingo@pobox.com>
17463 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17464 source-munging commit!!!
17466 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17467 (gst_object_sink): Take gpointer arguments, not GstObject --
17468 avoids casts. Like GLib.
17470 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17473 2005-06-27 Andy Wingo <wingo@pobox.com>
17475 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17478 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17479 returns a sorted copy of the trace list.
17480 (gst_alloc_trace_print_live): New API, only prints traces with
17481 live objects. Sort the list.
17482 (gst_alloc_trace_print_all): Sort the list.
17483 (gst_alloc_trace_print): Align columns.
17485 * gst/elements/gstttypefindelement.c:
17486 * gst/elements/gsttee.c:
17487 * gst/base/gstbasesrc.c:
17488 * gst/base/gstbasesink.c:
17489 * gst/base/gstbasetransform.c:
17490 * gst/gstqueue.c: Adapt for pad activation changes.
17492 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17494 (gst_pipeline_dispose): Drop ref on sched.
17496 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17497 (gst_pad_activate_default): Push mode by default.
17498 (pre_activate_switch, post_activate_switch): New stubs, things to
17499 do before and after switching activation modes on pads.
17500 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17501 the pad's activate function to choose which mode to activate.
17502 Shortcut on deactivation and call the right function directly.
17503 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17505 (gst_pad_activate_push): New API, same for push mode.
17506 (gst_pad_set_activate_function)
17507 (gst_pad_set_activatepull_function)
17508 (gst_pad_set_activatepush_function): Setters for new API.
17510 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17511 Trace all miniobjects.
17512 (gst_mini_object_make_writable): Unref the arg if we copy, like
17513 gst_caps_make_writable.
17515 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17517 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17518 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17519 Adapt for new pad API.
17521 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17523 * gst/gstelement.h:
17524 * gst/gstelement.c (gst_element_iterate_src_pads)
17525 (gst_element_iterate_sink_pads): New API functions.
17527 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17528 should fold into gstiterator.c in some form.
17529 (gst_element_pads_activate): Simplified via use of fold and
17530 delegation of decisions to gstpad->activate.
17532 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17535 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17536 class once in init, like gstmessage. Didn't run into this issue
17537 but it seems correct. Don't initialize a trace, gstminiobject does
17540 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17541 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17543 (assert_live_count): New util function, uses alloc traces to check
17546 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17547 To be modified when unlink drops the internal pad.
17549 2005-06-27 Wim Taymans <wim@fluendo.com>
17551 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17552 (gst_bin_change_state):
17553 Cleanup the get_state() function a little, make sure it
17554 iterates the same set of elements.
17555 Added stub iterate_state_order().
17557 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17559 * docs/gst/gstreamer-docs.sgml:
17560 * docs/gst/gstreamer-sections.txt:
17561 * docs/gst/gstreamer.types:
17562 * docs/gst/tmpl/gstbasesink.sgml:
17563 * docs/gst/tmpl/gstbasesrc.sgml:
17564 * docs/gst/tmpl/gstbasetransform.sgml:
17565 * docs/gst/tmpl/gstelement.sgml:
17566 * docs/gst/tmpl/gstiterator.sgml:
17567 * gst/base/gstbasesrc.c:
17568 * gst/base/gstbasesrc.h:
17569 * gst/base/gstbasetransform.h:
17570 * gst/gstelement.c:
17571 * gst/gstiterator.h:
17572 adding basetransform and iterator docs
17574 2005-06-27 Andy Wingo <wingo@pobox.com>
17576 * docs/design/part-activation.txt: Notes on how activation should
17577 work -- not quite implemented yet.
17579 2005-06-25 Wim Taymans <wim@fluendo.com>
17581 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17582 At least get the chain function correct, needs more
17585 2005-06-25 Wim Taymans <wim@fluendo.com>
17587 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17588 (gst_basesink_handle_object), (gst_basesink_event),
17589 (gst_basesink_do_sync), (gst_basesink_handle_event),
17590 (gst_basesink_change_state):
17592 Right, two problems here: ghostpads don't take locks and
17593 glib _rec_mutex_lock_full() with depth==0 still locks.
17594 Catch illegal locking and g_warn them.
17596 2005-06-25 Wim Taymans <wim@fluendo.com>
17598 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17599 Have to check for completion now...
17601 2005-06-25 Wim Taymans <wim@fluendo.com>
17603 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17604 (gst_basesink_handle_object), (gst_basesink_event),
17605 (gst_basesink_do_sync), (gst_basesink_handle_event),
17606 (gst_basesink_change_state):
17608 Unlock STREAM_LOCK whatever the recursion was.
17610 2005-06-25 Wim Taymans <wim@fluendo.com>
17612 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17613 (gst_basesink_preroll_queue_empty),
17614 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17615 (gst_basesink_event), (gst_basesink_do_sync),
17616 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17617 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17618 (gst_basesink_change_state):
17619 Reworked the base sink, handle event and buffer serialisation
17620 correctly and removed possible deadlock.
17621 Handle EOS correctly.
17623 2005-06-25 Wim Taymans <wim@fluendo.com>
17625 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17626 (gst_pipeline_change_state):
17627 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17628 Allow elements to post EOS in the state change function.
17629 Fix up -launch, make it exit the poll loop when the
17630 pipeline actually changed state.
17631 Fix up warning parsing in -launch.
17633 2005-06-25 Wim Taymans <wim@fluendo.com>
17635 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17636 (gst_tee_sink_activate):
17637 Core takes STREAM_LOCK for us now.
17639 2005-06-25 Wim Taymans <wim@fluendo.com>
17641 * gst/gstelement.c: (gst_element_get_state_func),
17642 (gst_element_set_state):
17643 * gst/gstelement.h:
17644 * gst/gstmessage.c: (gst_message_parse_error),
17645 (gst_message_parse_warning):
17646 Keep track of current target state while performing a state
17647 change so that subclasses can do something interesting.
17648 Fix parsing of warning/error messages when GError is NULL.
17650 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17652 * docs/gst/Makefile.am:
17653 * docs/gst/gstreamer-docs.sgml:
17654 * docs/gst/gstreamer-sections.txt:
17655 * docs/gst/gstreamer.types:
17656 * docs/gst/tmpl/gstbasesink.sgml:
17657 * docs/gst/tmpl/gstbasesrc.sgml:
17658 * docs/gst/tmpl/gstbin.sgml:
17659 * docs/gst/tmpl/gstcompat.sgml:
17660 * docs/gst/tmpl/gstfakesink.sgml:
17661 * docs/gst/tmpl/gstfakesrc.sgml:
17662 * docs/gst/tmpl/gstfilesink.sgml:
17663 * docs/gst/tmpl/gstfilesrc.sgml:
17664 * docs/gst/tmpl/gstindex.sgml:
17665 * docs/manual/appendix-quotes.xml:
17666 * gst/base/gstbasesrc.h:
17667 * gst/elements/gstfakesrc.h:
17668 * gst/gstmessage.h:
17669 start pulling in base classes and elements in our docs
17671 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17673 * docs/gst/Makefile.am:
17674 * docs/libs/Makefile.am:
17675 fixed make distcheck with gtk-doc 1.3
17677 2005-06-23 Wim Taymans <wim@fluendo.com>
17679 * gst/gstelement.c: (gst_element_get_state_func),
17680 (gst_element_set_state), (gst_element_change_state):
17681 When the state did not change, also report NO_PREROLL
17684 2005-06-23 Wim Taymans <wim@fluendo.com>
17686 * gst/gstpad.c: (gst_pad_event_default):
17687 * gst/gstqueue.c: (gst_queue_loop):
17688 No unsafe task pausing please.
17690 2005-06-23 Wim Taymans <wim@fluendo.com>
17692 * gst/schedulers/threadscheduler.c:
17693 (gst_thread_scheduler_task_start),
17694 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17695 Ref the task before pushing it on the threadpool. This
17696 makes sure that we have a ref when the threadfunction is
17699 2005-06-23 Andy Wingo <wingo@pobox.com>
17701 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17702 offset is greater than the file's size.
17704 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17705 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17706 * gst/gstobject.c (gst_object_class_init): Make the class lock
17707 recursive. Wim won't let me drop deep_notify. Decodebin works
17708 again, whoopdy doo.
17710 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17711 internal pad, and hacks accordingly. Doesn't do it on the target
17712 pad because we change its caps. Probably catches all cases of
17714 (gst_ghost_pad_set_property): Connect to notify::caps as
17717 * tests/network-clock.scm (plot-simulation): Pipe data to the
17718 elite python skript.
17720 * tests/network-clock-utils.scm (define-parameter): New macro,
17721 defines a parameter that can be set via the command line.
17722 (set-parameter!, parse-parameter-arguments): Command line args
17725 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17728 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17730 * gst/elements/gsttypefindelement.c:
17731 (gst_type_find_element_handle_event):
17732 Don't restart typefinding on a discont.
17733 * gst/gstelement.c: (gst_element_set_state):
17734 Debug spelling fix.
17735 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17736 Allow changing mode of an active pad.
17737 Debug output fixes.
17738 * gst/registries/gstlibxmlregistry.c: (load_feature):
17739 Don't cast a static pad template to a normal pad template.
17741 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17743 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17744 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17745 remove gst_strtoll completely, since it didn't actually do
17746 anything more than what g_ascii_strtoull already does.
17747 check for range errors when deserializing
17748 do a cast for the unsigned cases; but further fixing needs
17749 a decision on what the interpretation of "(int)" and
17750 deserialization should be for values that fall outside the
17751 type's boundaries (ie, refuse, or interpret as casting)
17753 2005-06-23 Wim Taymans <wim@fluendo.com>
17755 * check/Makefile.am:
17756 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17757 * docs/design/part-live-source.txt:
17758 * docs/design/part-states.txt:
17759 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17760 (gst_basesrc_set_live), (gst_basesrc_is_live),
17761 (gst_basesrc_get_range), (gst_basesrc_activate),
17762 (gst_basesrc_change_state):
17763 * gst/base/gstbasesrc.h:
17764 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17765 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17766 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17767 * gst/gstelement.c: (gst_element_get_state_func),
17768 (gst_element_set_state):
17769 * gst/gstelement.h:
17771 * tools/gst-launch.c: (event_loop), (main):
17772 Added support for live sources and other elements that
17774 Updated design docs, added live-source design doc.
17775 Implemented live source functionality in basesrc
17776 Fix error condition in _bin_get_state()
17777 Implement live source handling in -launch.
17778 Added check for live sources.
17779 Fixed case in GstBin where elements were changed state
17783 2005-06-23 Andy Wingo <wingo@pobox.com>
17785 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17786 borken refcounting.
17788 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17789 gst_caps_replace takes care of this for us.
17791 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17792 gst_pad_set_caps on the target, not just its setcaps() function.
17794 * tests/network-clock.scm:
17795 * tests/network-clock-utils.scm: A network clock simulator.
17796 Something of an algorithmic testbed before doing something in C.
17798 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17800 * check/Makefile.am:
17801 * check/gst/capslist.h:
17802 copy over from 0.8, and add two with bitmasks specified with
17804 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17805 add test to parse everything from capslist.h
17806 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17808 add test for structure deserialization
17809 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17810 add tests for deserialization of strings to int types
17811 * gst/gststructure.c: (gst_structure_nth_field_name):
17812 * gst/gststructure.h:
17813 add a way to get the name of a field referenced by index
17814 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17815 instead of checking if the resulting long long lies between
17816 min and max, we check if the long long would fit into
17817 a number of bytes for the final type.
17818 This fixes cases where a string represents 2^32 - 1, which
17819 when cast to int would be the (valid) -1, but is bigger than
17822 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17824 * gst/parse/grammar.y:
17825 add a log line for type deserialization
17827 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17829 * check/gst/gstvalue.c: (START_TEST):
17830 * gst/gstvalue.c: (gst_value_deserialize):
17831 return long long, not int, so gint64 deserialization actually
17832 works. Is there any flag that makes the compiler check this ?
17835 2005-06-22 Wim Taymans <wim@fluendo.com>
17838 Added convenience macros for setting buffers in GValue.
17840 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17842 * check/gst/.cvsignore:
17843 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17844 add a test deserializing int64, and comment part out because
17847 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17849 * check/Makefile.am:
17850 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17851 * testsuite/Makefile.am:
17852 * testsuite/caps/Makefile.am:
17853 * testsuite/caps/value_serialize.c:
17854 * testsuite/test_gst_init.c:
17855 move a value_serialize test over
17857 2005-06-20 Wim Taymans <wim@fluendo.com>
17862 * gst/gstvalue.c: (gst_value_compare_buffer),
17863 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17864 (gst_value_compare_flags), (gst_value_serialize_flags),
17865 (gst_value_deserialize_flags), (_gst_value_initialize):
17866 Fix serialisation of buffers, they are not boxed types anymore
17868 2005-06-20 Wim Taymans <wim@fluendo.com>
17870 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17871 Testcase to show error in buffer-on-caps serialisation.
17873 2005-06-20 Andy Wingo <wingo@pobox.com>
17875 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17876 will be adding to later.
17878 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17879 if its socks fill with rocks.
17880 (gst_system_clock_obtain): Set the name on object construction.
17881 Avoid double-checked locking.
17883 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17885 * gst/gsturi.c: (gst_element_make_from_uri):
17886 Fix potential endless loop.
17888 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17890 * check/Makefile.am:
17892 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17894 move over from testsuite dir and clean up
17897 * testsuite/Makefile.am:
17898 * testsuite/tags/.cvsignore:
17899 * testsuite/tags/Makefile.am:
17900 * testsuite/tags/merge.c:
17901 remove testsuite/tags
17903 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17905 * docs/gst/gstreamer-sections.txt:
17906 * docs/gst/tmpl/gstenumtypes.sgml:
17907 * win32/gstenumtypes.c:
17908 clean up documentation build a little
17910 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17912 * check/gstcheck.h:
17913 add macros for checking refcounts on objects and caps
17914 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17915 add some more unit tests
17916 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17917 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17918 fix leaked refcounts (I hope :)) so unittest works
17922 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17924 * configure.ac: back to HEAD
17926 === release 0.9.1 ===
17928 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17934 2005-06-17 Andy Wingo <wingo@pobox.com>
17936 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17937 assert; it's always possible that the pad gets deactivated in
17938 between the checks in gstpad.c and the implementation. Rely on
17939 finish_preroll() to return a FLUSHING or similar instead of on the
17942 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17943 clock and post an EOS message if we come out of finish_preroll in
17946 2005-06-16 David Schleef <ds@schleef.org>
17948 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17949 (gst_capsfilter_set_property): Allow NULL as possible value
17950 for filter_caps property, indicating GST_CAPS_ANY.
17952 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17954 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17956 * gst/schedulers/Makefile.am:
17958 * gstreamer.spec.in:
17961 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17963 * gstreamer.spec.in:
17966 2005-06-08 Andy Wingo <wingo@pobox.com>
17968 * gst/gstutils.c: RPAD fixes all around.
17969 (gst_element_link_pads): Refcounting fixes.
17971 * tools/gst-inspect.c:
17972 * tools/gst-xmlinspect.c:
17974 * gst/base/gsttypefindhelper.c:
17975 * gst/base/gstbasesink.c:
17976 * gst/gstqueue.c: RPAD fixes.
17978 * gst/gstghostpad.h:
17979 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17980 pads. The tricky thing is they provide both source and sink
17981 interfaces, since they proxy the internal pad for the external
17982 pad, and vice versa. Implement with lower-level ProxyPad objects,
17983 with the interior proxy pad as a child of the exterior ghost pad.
17984 Should write a doc on this.
17986 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17987 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17990 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17991 pads are real pads. No ghost pads in this file. Not documenting
17992 the myriad s/RPAD/PAD/ and REALIZE fixes.
17993 (gst_pad_class_init): Add properties for "direction" and
17994 "template". Both are construct-only, so they can't change during
17995 the life of the pad. Fixes properly deriving from GstPad.
17996 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17997 derived objects, just set properties when creating the objects via
17999 (gst_pad_get_parent): Implement as a function, return NULL if the
18000 parent is not an element.
18001 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
18002 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
18004 * gst/gstobject.c (gst_object_class_init): Make name a construct
18005 property. Don't set it in the object init.
18007 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
18008 with UNKNOWN direction.
18009 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
18010 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
18011 (gst_element_remove_pad): Remove ghost-pad special cases.
18012 (gst_element_pads_activate): Remove rpad cruft.
18014 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
18015 catch the pad's-parent-not-an-element case.
18017 * gst/gst.h: Include gstghostpad.h.
18019 * gst/gst.c (init_post): No more real, ghost pads.
18021 * gst/Makefile.am: Add gstghostpad.[ch].
18023 * check/Makefile.am:
18024 * check/gst/gstbin.c:
18025 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
18026 into a bin creates ghost pads, and that the refcounts are right.
18027 Partly moved from gstbin.c.
18029 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18031 * check/gst-libs/.cvsignore:
18032 * check/gst/.cvsignore:
18033 * check/pipelines/.cvsignore:
18035 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
18036 (START_TEST), (cleanup_suite), (main):
18037 add some tests related to cleanup after running pipelines
18039 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18041 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
18042 add a testsuite for GstBuffer
18044 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18046 * gst/gstminiobject.h:
18047 add defines for accessing the refcount
18049 2005-06-03 Stefan Kost <ensonic@users.sf.net>
18051 * Makefile.am: added support for html unit test coverage reports
18053 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
18055 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18056 Free existing caps if the capsfilter changes. Add a FIXME about
18057 setting those caps on the pads.
18059 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
18060 Before adding a ghost pad to a parent bin, check that there isn't
18061 already one for the element on the bin. Prevents infinite recursion
18062 when using decodebin in parse pipelines. Andy says he'll rewrite the
18063 way this works anyway, so ignore the hack.
18065 2005-06-02 Andy Wingo <wingo@pobox.com>
18067 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
18068 file size, pass it on to the type find helper.
18070 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
18071 segment_start and segment_end properly according to the seek
18072 method. Segment_end is still a bit flaky because offset can be
18073 negative for CUR and END cases, but it takes -1 as an "unset"
18076 2005-06-02 Wim Taymans <wim@fluendo.com>
18078 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18079 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18080 (gst_basesink_activate):
18081 * gst/base/gstbasesink.h:
18082 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18083 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18084 (gst_pad_query), (gst_pad_start_task):
18086 * gst/gstqueue.c: (gst_queue_bufferalloc),
18087 (gst_queue_handle_sink_event), (gst_queue_chain):
18088 Bufferalloc: return GstFlowReturn to more accuratly report
18089 why allocation failed.
18091 2005-06-02 Wim Taymans <wim@fluendo.com>
18093 * gst/gstpipeline.c: (gst_pipeline_send_event):
18094 Take snapshot of state without blocking.
18096 2005-06-02 Wim Taymans <wim@fluendo.com>
18098 * docs/design/part-TODO.txt:
18099 * docs/design/part-caps.txt:
18100 * docs/design/part-clocks.txt:
18101 * docs/design/part-negotiation.txt:
18102 * docs/design/part-preroll.txt:
18105 2005-05-30 Wim Taymans <wim@fluendo.com>
18107 * gst/elements/gstidentity.c: (gst_identity_event),
18108 (gst_identity_transform), (gst_identity_get_property):
18109 Protect last_message property as it is accessed from
18112 2005-05-30 Wim Taymans <wim@fluendo.com>
18114 * gst/gstelement.c: (gst_element_init),
18115 (gst_element_pads_activate), (gst_element_change_state):
18116 Slicker pad activation code.
18118 2005-05-30 Wim Taymans <wim@fluendo.com>
18121 * gst/gstelement.h:
18122 * gst/gstelementfactory.h:
18124 Move elementfactory methods to separate .h file.
18126 2005-05-30 Wim Taymans <wim@fluendo.com>
18128 * docs/design/part-overview.txt:
18129 * gst/gstsystemclock.h:
18130 Small typo fixes, doc updates.
18132 2005-05-30 Wim Taymans <wim@fluendo.com>
18134 * gst/gst.c: (gst_init_get_popt_table), (init_post),
18135 (init_popt_callback):
18136 Remove cpu-opt flag.
18138 2005-05-30 Wim Taymans <wim@fluendo.com>
18140 * gst/gstbuffer.c: (gst_subbuffer_finalize),
18141 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18143 Avoid typechecking in places where not needed.
18144 Added accessor for malloc_data.
18146 2005-05-30 Wim Taymans <wim@fluendo.com>
18148 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18149 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18150 (gst_pad_configure_sink), (gst_pad_configure_src),
18151 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18152 (gst_pad_start_task):
18153 Propagate errors from _set_caps() in configure_src/sink
18154 functions instead of returning TRUE.
18155 FLUSH events can travel up and downstream
18158 2005-05-30 Wim Taymans <wim@fluendo.com>
18160 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18161 (gst_basesink_activate):
18162 Handle EOS in preroll.
18164 2005-05-30 Wim Taymans <wim@fluendo.com>
18166 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18167 (gst_queue_loop), (gst_queue_handle_src_event):
18168 Remove old pieces of code
18169 Flushing the queue in an upstream event is a very bad idea.
18171 2005-05-26 Andy Wingo <wingo@pobox.com>
18173 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18174 gst_value_set_mini_object so as to add a ref on the object (which
18175 will be removed when the value is unset).
18177 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18178 arg type in ::handoff.
18180 * gst/gstelement.c (gst_element_change_state): Also deactivate
18181 pads in READY->NULL, just in case the element didn't make it to
18182 PAUSED. Wingo tested, Wim approved.
18184 2005-05-26 Wim Taymans <wim@fluendo.com>
18186 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18187 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18188 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18189 A flushing pad cannot be used to alloc_buffer from.
18191 2005-05-26 Wim Taymans <wim@fluendo.com>
18193 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18194 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18195 (gst_bus_source_dispatch), (gst_bus_source_finalize),
18196 (gst_bus_create_watch), (gst_bus_add_watch_full):
18198 Implement a real GSource and use g_main_context_wakeup() to
18199 signal new messages instead of the socketpair.
18201 2005-05-25 Wim Taymans <wim@fluendo.com>
18203 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18204 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18205 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18206 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18207 (gst_pad_send_event), (gst_pad_start_task):
18208 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18209 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18210 (gst_queue_sink_activate), (gst_queue_src_activate),
18211 (gst_queue_change_state):
18213 Fix state changes for non sinks. We now change sinks, then elements
18214 with unconnected srcpads, then the rest.
18215 More efficient queue unlocking in flush and state changes.
18216 Set the pad activate mode even if it does not have an activate
18219 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18221 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18222 Don't go in pull mode for non-seekable sources.
18223 * gst/elements/gsttypefindelement.h:
18224 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18225 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18226 (free_entry), (stop_typefinding),
18227 (gst_type_find_element_handle_event), (find_peek),
18228 (gst_type_find_element_chain), (do_pull_typefind),
18229 (gst_type_find_element_change_state):
18230 Allow typefinding (w/o seeking) in push-mode, simplified version
18231 of what was in 0.8.
18232 * gst/gstutils.c: (gst_buffer_join):
18234 gst_buffer_join() from 0.8.
18236 2005-05-25 Wim Taymans <wim@fluendo.com>
18238 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18239 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18240 (gst_pad_send_event), (gst_pad_start_task):
18241 Disable attempt at mode switching until it is figured out.
18243 2005-05-25 Wim Taymans <wim@fluendo.com>
18245 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18246 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18247 (gst_basesink_finish_preroll), (gst_basesink_chain),
18248 (gst_basesink_loop), (gst_basesink_activate),
18249 (gst_basesink_change_state):
18250 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18251 (gst_basesrc_get_range), (gst_basesrc_loop),
18252 (gst_basesrc_activate):
18253 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18254 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18255 (gst_real_pad_init), (gst_real_pad_set_property),
18256 (gst_real_pad_get_property), (gst_pad_set_active),
18257 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18258 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18259 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18260 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18261 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18262 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18263 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18264 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18265 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18266 (gst_pad_stop_task):
18268 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18269 (gst_queue_loop), (gst_queue_src_activate):
18270 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18271 (gst_task_get_state):
18273 * gst/schedulers/threadscheduler.c:
18274 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18275 Implement gst_pad_pause/start/stop_task(), take STREAM lock
18277 Remove ACTIVE pad flag, use FLUSHING everywhere
18278 Added _pad_chain(), _pad_get_range() to call chain/getrange
18280 Add locks around IS_FLUSHING when reading.
18281 Take STREAM lock in chain(), get_range() functions so plugins
18282 don't need to take it anymore.
18286 2005-05-25 Wim Taymans <wim@fluendo.com>
18288 * tools/gst-launch.c: (event_loop):
18289 Unref message after using its contents instead of
18292 2005-05-24 Wim Taymans <wim@fluendo.com>
18294 * docs/design/draft-ghostpads.txt:
18295 * docs/design/draft-push-pull.txt:
18296 * docs/design/draft-query.txt:
18297 * docs/design/part-overview.txt:
18298 Docs updates, added general overview doc.
18300 2005-05-21 David Schleef <ds@schleef.org>
18302 * docs/gst/tmpl/old/GstBin.sgml:
18303 * docs/gst/tmpl/old/GstBuffer.sgml:
18304 * docs/gst/tmpl/old/GstCaps.sgml:
18305 * docs/gst/tmpl/old/GstClock.sgml:
18306 * docs/gst/tmpl/old/GstCompat.sgml:
18307 * docs/gst/tmpl/old/GstData.sgml:
18308 * docs/gst/tmpl/old/GstElement.sgml:
18309 * docs/gst/tmpl/old/GstEvent.sgml:
18310 * docs/gst/tmpl/old/GstIndex.sgml:
18311 * docs/gst/tmpl/old/GstStructure.sgml:
18312 * docs/gst/tmpl/old/GstTag.sgml:
18313 * docs/gst/tmpl/old/cothreads.sgml:
18314 * docs/gst/tmpl/old/cothreads_compat.sgml:
18315 * docs/gst/tmpl/old/gettext.sgml:
18316 * docs/gst/tmpl/old/gobject2gtk.sgml:
18317 * docs/gst/tmpl/old/grammar.tab.sgml:
18318 * docs/gst/tmpl/old/gst-i18n-app.sgml:
18319 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18320 * docs/gst/tmpl/old/gst_private.sgml:
18321 * docs/gst/tmpl/old/gstaggregator.sgml:
18322 * docs/gst/tmpl/old/gstarch.sgml:
18323 * docs/gst/tmpl/old/gstatomic_impl.sgml:
18324 * docs/gst/tmpl/old/gstbufferstore.sgml:
18325 * docs/gst/tmpl/old/gstdata_private.sgml:
18326 * docs/gst/tmpl/old/gstdisksink.sgml:
18327 * docs/gst/tmpl/old/gstdisksrc.sgml:
18328 * docs/gst/tmpl/old/gstelementfactory.sgml:
18329 * docs/gst/tmpl/old/gstextratypes.sgml:
18330 * docs/gst/tmpl/old/gstfakesink.sgml:
18331 * docs/gst/tmpl/old/gstfakesrc.sgml:
18332 * docs/gst/tmpl/old/gstfdsink.sgml:
18333 * docs/gst/tmpl/old/gstfdsrc.sgml:
18334 * docs/gst/tmpl/old/gstfilesink.sgml:
18335 * docs/gst/tmpl/old/gstfilesrc.sgml:
18336 * docs/gst/tmpl/old/gsthttpsrc.sgml:
18337 * docs/gst/tmpl/old/gstidentity.sgml:
18338 * docs/gst/tmpl/old/gstindexfactory.sgml:
18339 * docs/gst/tmpl/old/gstmarshal.sgml:
18340 * docs/gst/tmpl/old/gstmd5sink.sgml:
18341 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18342 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18343 * docs/gst/tmpl/old/gstpadtemplate.sgml:
18344 * docs/gst/tmpl/old/gstpipefilter.sgml:
18345 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18346 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18347 * docs/gst/tmpl/old/gstshaper.sgml:
18348 * docs/gst/tmpl/old/gstspider.sgml:
18349 * docs/gst/tmpl/old/gstspideridentity.sgml:
18350 * docs/gst/tmpl/old/gststatistics.sgml:
18351 * docs/gst/tmpl/old/gsttee.sgml:
18352 * docs/gst/tmpl/old/gsttimecache.sgml:
18353 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18354 * docs/gst/tmpl/old/gstxmlregistry.sgml:
18355 * docs/gst/tmpl/old/gthread-cothreads.sgml:
18356 * docs/gst/tmpl/old/types.sgml:
18357 I didn't intend to add these or check them in.
18359 2005-05-19 David Schleef <ds@schleef.org>
18361 * configure.ac: Use -no-common everywhere. In a sane world, it
18362 would be the default in libtool, because without it, you can't
18363 build DLLs on Windows.
18364 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18365 * docs/gst/gstreamer-sections.txt:
18366 * docs/gst/tmpl/gstcpu.sgml:
18367 * docs/gst/tmpl/gstdata.sgml:
18368 * docs/gst/tmpl/gstthread.sgml:
18370 2005-05-19 David Schleef <ds@schleef.org>
18372 * gst/gstminiobject.c: (gst_value_set_mini_object),
18373 (gst_value_take_mini_object), (gst_value_get_mini_object):
18374 * gst/gstminiobject.h: Add GValue set/get functions.
18376 2005-05-19 Wim Taymans <wim@fluendo.com>
18378 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18379 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18380 (gst_subbuffer_init), (gst_buffer_is_span_fast):
18382 * gst/gstbus.c: (gst_bus_post):
18383 * gst/gstelement.c: (gst_element_get_random_pad):
18384 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18385 Make subbufer unref the parent in finalize.
18386 some more debugging info.
18389 2005-05-19 Wim Taymans <wim@fluendo.com>
18391 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18392 (gst_basesink_init), (gst_basesink_finalize),
18393 (gst_basesink_activate), (gst_basesink_change_state):
18394 Don't free preroll queue too early.
18396 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18400 Hi, I'm outdated. Please shoot me.
18402 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18404 * gst/gstpipeline.c: (gst_pipeline_send_event):
18405 Do not access variables after they have been deleted.
18407 2005-05-19 Wim Taymans <wim@fluendo.com>
18409 * tools/gst-inspect.c: (print_plugin_features):
18410 A plugin feature does unfortunatly not use the
18413 2005-05-18 Wim Taymans <wim@fluendo.com>
18415 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18416 Port _span() functions to new subbuffers.
18418 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18420 * gst/gstbin.c: (gst_bin_add_func):
18421 Fix clock settery in bins when adding kids after the clock has
18424 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18426 * gst/elements/gstidentity.c: (gst_identity_class_init):
18427 Workaround until signals support GstMiniObject.
18429 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18432 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18434 2005-05-18 Wim Taymans <wim@fluendo.com>
18436 * gst/base/Makefile.am:
18437 * gst/base/gstadapter.c: (gst_adapter_base_init),
18438 (gst_adapter_class_init), (gst_adapter_init),
18439 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18440 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18441 (gst_adapter_flush), (gst_adapter_available),
18442 (gst_adapter_available_fast):
18443 * gst/base/gstadapter.h:
18444 Ported and added adapter to the base classes.
18446 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18449 * gst/gstmessage.c:
18450 Make sure the class is reffed/unreffed once before threads can be
18451 used. Fixes #304551.
18453 2005-05-17 Wim Taymans <wim@fluendo.com>
18455 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18456 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18457 * gst/gstminiobject.c: (gst_mini_object_get_type),
18458 (gst_mini_object_free):
18459 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18460 (gst_pad_push), (gst_pad_push_event):
18461 * gst/gstqueue.c: (gst_queue_change_state):
18462 Don't queue buffers in basesink when we are flushing.
18463 Unref buffer when flushing in basesink.
18464 Flush queue when going to READY
18465 Unref buffer when _push() returns an error.
18466 Don't free MiniObject instance when refcount is incremented
18467 in _finalize() so that we can recover objects.
18469 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18471 * docs/manual/advanced-schedulers.xml:
18472 * docs/manual/appendix-checklist.xml:
18473 * docs/pwg/advanced-clock.xml:
18474 * docs/pwg/advanced-interfaces.xml:
18475 * docs/pwg/advanced-request.xml:
18476 * docs/pwg/advanced-types.xml:
18477 * docs/pwg/intro-preface.xml:
18478 * examples/plugins/example.c: (gst_example_get_type),
18479 (gst_example_class_init), (gst_example_chain),
18480 (gst_example_set_property), (gst_example_get_property),
18481 (gst_example_change_state), (plugin_init):
18482 * examples/plugins/example.h:
18485 2005-05-17 Wim Taymans <wim@fluendo.com>
18487 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18488 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18489 * gst/gstqueue.c: (gst_queue_change_state):
18490 Clear queue when going to READY.
18491 Remove IN_SETCAPS flag too.
18493 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18495 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18496 Remove implicit cast from gboolean to GstElementStateReturn;
18497 make sure we still return failure in paused => ready case if
18498 the parent class fails to change state and our own stop
18501 2005-05-17 Wim Taymans <wim@fluendo.com>
18503 * tools/gst-launch.c: (event_loop):
18504 Message was unreffed too soon.
18506 2005-05-16 Andy Wingo <wingo@pobox.com>
18508 * gst/gstbin.c (sink_iterator_filter): Err... um...
18510 * check/gst/gstbin.c (test_ghost_pads): New test for the
18511 ghosting-if-elements-not-in-same-bin behavior.
18513 2005-05-16 David Schleef <ds@schleef.org>
18515 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18516 accessing refcount directly.
18518 2005-05-15 David Schleef <ds@schleef.org>
18520 * check/Makefile.am: remove GstData checks
18521 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18522 * gst/Makefile.am: add miniobject, remove data
18523 * gst/gst.h: add miniobject, remove data
18524 * gst/gstdata.c: remove
18525 * gst/gstdata.h: remove
18526 * gst/gstdata_private.h: remove
18527 * gst/gsttypes.h: remove GstEvent and GstMessage
18528 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18529 * gst/gstmarshal.list: change BOXED -> OBJECT
18531 Implement GstMiniObject.
18532 * gst/gstminiobject.c:
18533 * gst/gstminiobject.h:
18535 Modify to be subclasses of GstMiniObject.
18536 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18537 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18538 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18539 (gst_subbuffer_get_type), (gst_subbuffer_init),
18540 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18543 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18544 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18545 (_gst_event_copy), (gst_event_new):
18547 * gst/gstmessage.c: (_gst_message_initialize),
18548 (gst_message_get_type), (gst_message_class_init),
18549 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18550 (gst_message_new), (gst_message_new_error),
18551 (gst_message_new_warning), (gst_message_new_tag),
18552 (gst_message_new_state_changed), (gst_message_new_application):
18553 * gst/gstmessage.h:
18554 * gst/gstprobe.c: (gst_probe_perform),
18555 (gst_probe_dispatcher_dispatch):
18557 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18558 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18559 (_gst_query_copy), (gst_query_new):
18561 Update elements for GstData -> GstMiniObject changes
18563 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18564 (gst_queue_chain), (gst_queue_loop):
18565 * gst/elements/gstbufferstore.c:
18566 (gst_buffer_store_add_buffer_func),
18567 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18568 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18569 (gst_fakesink_render):
18570 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18571 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18572 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18573 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18574 (gst_filesrc_create_read):
18575 * gst/elements/gstidentity.c: (gst_identity_class_init):
18576 * gst/elements/gsttypefindelement.c:
18577 (gst_type_find_element_src_event), (free_entry_buffers),
18578 (gst_type_find_element_handle_event):
18579 * libs/gst/dataprotocol/dataprotocol.c:
18580 (gst_dp_header_from_buffer):
18581 * libs/gst/dataprotocol/dataprotocol.h:
18582 * libs/gst/dataprotocol/dp-private.h:
18584 2005-05-15 David Schleef <ds@schleef.org>
18586 * gst/elements/gstelements.c: Don't include headers that were
18589 2005-05-15 David Schleef <ds@schleef.org>
18591 * gst/elements/Makefile.am: Remove some elements that don't
18592 need to be in the core (or even exist at all).
18593 * gst/elements/gstaggregator.c:
18594 * gst/elements/gstaggregator.h:
18595 * gst/elements/gstmd5sink.c:
18596 * gst/elements/gstmd5sink.h:
18597 * gst/elements/gstmultifilesrc.c:
18598 * gst/elements/gstmultifilesrc.h:
18599 * gst/elements/gstpipefilter.c:
18600 * gst/elements/gstpipefilter.h:
18601 * gst/elements/gstshaper.c:
18602 * gst/elements/gstshaper.h:
18603 * gst/elements/gststatistics.c:
18604 * gst/elements/gststatistics.h:
18605 * po/POTFILES.in: Remove above files.
18607 2005-05-14 Andy Wingo <wingo@pobox.com>
18609 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18610 so as to get the refs right.
18611 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18612 unreffing objects that don't pass the filter.
18614 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18615 gst_element_set_bus.
18616 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18617 normal cases, this will destroy the bus.
18619 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18622 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18625 2005-05-13 Andy Wingo <wingo@pobox.com>
18627 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18628 gst_pad_link, call pad_link_maybe_ghosting,
18629 (pad_link_maybe_ghosting): Links pads, making sure that the
18630 elements being linked are in the same bin.
18631 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18632 Helpers for pad_link_maybe_ghosting.
18634 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18637 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18639 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18641 * docs/design/part-element-source.txt:
18644 2005-05-12 Wim Taymans <wim@fluendo.com>
18646 * gst/base/gstbasesink.c: (gst_basesink_init),
18647 (gst_basesink_activate):
18648 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18649 (gst_basesrc_is_seekable):
18650 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18651 (bin_element_is_sink), (gst_bin_change_state):
18652 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18653 * gst/gstelement.h:
18654 Identify sinks by their flag to avoid overly complicated
18656 Do state changes even for elements not reachable from the
18658 BaseSink is a sink now :)
18659 Some more debugging info in the basesrc.
18662 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18664 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18665 Implement _query on a bin, similar to _send_event.
18667 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18669 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18670 Discont event offset format should be GST_FORMAT_BYTES,
18671 not GST_FORMAT_TIME.
18673 2005-05-12 Wim Taymans <wim@fluendo.com>
18675 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18676 Same fix as Ronald's but without the signal.
18678 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18680 * gst/gstutils.c: (gst_element_query_position):
18681 No, an element is not a pad.
18683 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18685 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18686 (gst_bin_get_state):
18687 If a child is removed from a bin while we remove the child from
18688 the bin and while we're retrieving its state, signal this to the
18689 get_state function so we abort the wait (instead of waiting for
18690 a timeout) and can immediately re-iterate over all other elements.
18692 2005-05-12 Wim Taymans <wim@fluendo.com>
18694 * gst/base/Makefile.am:
18695 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18696 (gst_basesrc_start):
18697 * gst/base/gstbasesrc.h:
18698 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18699 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18700 (gst_pushsrc_init), (gst_pushsrc_create):
18701 * gst/base/gstpushsrc.h:
18702 Added is_seekable to BaseSrc
18703 Added simple PushSrc.
18705 2005-05-11 Wim Taymans <wim@fluendo.com>
18707 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18708 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18709 (gst_element_link_pads), (gst_element_query_position),
18710 (gst_element_query_convert), (intersect_caps_func),
18711 (gst_pad_query_position), (gst_pad_query_convert):
18712 Fix refcounting in utils function.
18713 No point in trying to activate a pad when it's added, it could
18714 be added from the state change function and then we deadlock, the
18715 element has to decide what to do.
18717 2005-05-10 Andy Wingo <wingo@pobox.com>
18719 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18720 *all* the arguments.
18722 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18723 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18724 lock (according to the docs -- if this is wrong change the docs).
18726 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18727 flush messages in the NULL state.
18729 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18730 message immediately and return.
18731 (gst_bus_set_flushing): New function. If a bus is flushing, it
18732 flushes out any queued messages and immediately unrefs new
18733 messages. This is so when an element goes to NULL, all of the
18734 unhandled messages coming from it can be freed, and their
18735 references to the element dropped. In other words: message source
18736 ref considered harmful :P
18738 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18739 we're finished with it.
18741 * gst/gstmessage.c (gst_message_new_state_changed):
18743 2005-05-10 Wim Taymans <wim@fluendo.com>
18745 * gst/gstvalue.c: (gst_value_compare_flags),
18746 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18747 (_gst_value_initialize):
18748 Added flags serialize/deserialize/compare code.
18750 2005-05-09 Andy Wingo <wingo@pobox.com>
18752 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18753 Intersect the peer's caps with our caps.
18755 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18757 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18758 * gst/elements/gsttypefindelement.c: (find_peek):
18759 Handle negative offsets better. Fixes decodebin.
18761 2005-05-09 Wim Taymans <wim@fluendo.com>
18763 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18764 (gst_base_transform_event):
18765 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18766 Implement accept_caps.
18767 Fix silly lock/unlock mismatch in base class.
18769 2005-05-09 Wim Taymans <wim@fluendo.com>
18771 * docs/design/draft-push-pull.txt:
18772 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18773 * gst/elements/gstfilesink.c: (gst_filesink_init),
18774 (gst_filesink_query):
18775 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18776 (gst_type_find_handle_src_query), (find_element_get_length):
18777 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18778 * gst/gstelement.h:
18779 * gst/gstmessage.c:
18780 * gst/gstmessage.h:
18781 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18782 (gst_real_pad_get_caps_unlocked),
18783 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18784 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18785 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18786 (gst_real_pad_dispose), (gst_real_pad_finalize),
18787 (gst_pad_load_and_link), (gst_pad_save_thyself),
18788 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18789 (gst_pad_check_pull_range), (gst_pad_pull_range),
18790 (gst_pad_template_get_type), (gst_pad_template_class_init),
18791 (gst_pad_template_init), (gst_pad_template_dispose),
18792 (name_is_valid), (gst_static_pad_template_get),
18793 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18794 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18795 (gst_pad_get_element_private), (gst_pad_start_task),
18796 (gst_pad_pause_task), (gst_pad_stop_task),
18797 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18798 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18799 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18800 (gst_ghost_pad_new):
18802 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18803 (gst_query_new_position), (gst_query_set_position),
18804 (gst_query_parse_position), (gst_query_new_convert),
18805 (gst_query_set_convert), (gst_query_parse_convert):
18807 * gst/gstqueryutils.c:
18808 * gst/gstqueryutils.h:
18809 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18810 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18811 (gst_queue_handle_src_query):
18812 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18813 (gst_element_query_position), (gst_element_query_convert),
18814 (intersect_caps_func), (gst_pad_query_position),
18815 (gst_pad_query_convert):
18817 * tools/gst-inspect.c: (print_pad_info):
18818 * tools/gst-xmlinspect.c: (print_element_info):
18819 Remove old query functions. Ported old code.
18820 Added position/convert helper functions to gstutils.
18821 Reordered gstpad.c code, grouping relevant things.
18822 Remove gst_message_new(), always need to speficy a specific
18826 2005-05-09 Andy Wingo <wingo@pobox.com>
18828 * gst/gstiterator.h: Add some includes.
18830 * gst/gstqueryutils.h: Include more headers.
18833 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18834 some uses of gst_pad_query.
18836 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18837 NULL out parameters.
18838 (gst_query_new_position): New proc, allocates a new position
18841 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18842 gstqueryutils.c to the build.
18844 * gst/gststructure.c (gst_structure_set_valist): Implement with
18845 the generic G_VALUE_COLLECT.
18847 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18849 * gst/Makefile.am: (gst_headers):
18850 Added gstqueryutils.h to the list of headers to install, that was
18851 a 'nachty' move wingo :)
18853 2005-05-06 Andy Wingo <wingo@pobox.com>
18856 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18857 GstData, init a memchunk.
18858 (standard_definitions): Add a few query types, deprecate a few.
18859 (gst_query_get_type): New proc.
18860 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18862 (gst_query_new_application, gst_query_get_structure): New public
18865 * docs/design/draft-query.txt: Removed LINKS from the query types,
18866 because all the rest can be dispatched to other pads -- seemed
18867 ugly to have a query that couldn't be dispatched. internal_links
18868 is fine as a pad method.
18870 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18871 in gstpad.c, but maintain binary compatibility for the moment.
18872 Will fix before 0.9 is out.
18874 * gst/gstqueryutils.c:
18875 * gst/gstqueryutils.h: New files, implement 3 methods for each
18876 query type: parse_query, parse_response, and set. Probably need an
18879 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18881 * gst/elements/gstfilesink.c (gst_filesink_query2):
18882 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18883 query_types, and formats methods.
18885 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18886 (gst_pad_set_query2_function): New functions.
18887 (gst_real_pad_init): Set query2_default as the default query2
18888 function. Basically just dispatches to internally linked pads.
18892 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18893 without using the atomic operations. Only one thread can possibly
18894 be accessing the data at this point. Changed so as to avoid
18895 gst_atomic operations.
18897 2005-05-06 Wim Taymans <wim@fluendo.com>
18899 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18900 Also set caps if we use the fallback buffer alloc.
18902 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18904 * docs/gst/Makefile.am:
18905 * docs/gst/gstreamer-docs.sgml:
18906 * docs/gst/gstreamer-sections.txt:
18907 * docs/gst/tmpl/gstatomic.sgml:
18908 * docs/gst/tmpl/gstmemchunk.sgml:
18909 * testsuite/elements/struct_i386.h:
18910 * win32/GStreamer.vcproj:
18912 Purge GstAtomic stuff from docs and win32 makefiles as well
18914 2005-05-06 Wim Taymans <wim@fluendo.com>
18916 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18917 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18918 * gst/gstpad.c: (gst_pad_peer_get_caps):
18919 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18920 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18921 (gst_queue_src_activate), (gst_queue_change_state):
18923 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18924 (intersect_caps_func):
18925 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18926 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18927 Some fixes for the peer_get_caps() change.
18929 2005-05-06 Wim Taymans <wim@fluendo.com>
18931 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18932 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18933 (gst_basesink_activate):
18934 Actually do something with error codes returned from the push
18937 2005-05-06 Wim Taymans <wim@fluendo.com>
18939 * docs/design/part-element-sink.txt:
18940 * docs/design/part-element-source.txt:
18941 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18942 (gst_basesink_event), (gst_basesink_activate):
18943 * gst/base/gstbasesink.h:
18944 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18945 (gst_basesrc_activate):
18946 * gst/base/gstbasesrc.h:
18947 * gst/gstelement.c: (gst_element_pads_activate):
18948 Some more documentation.
18949 Fixed scheduling decision in _pads_activate().
18951 2005-05-05 Andy Wingo <wingo@pobox.com>
18953 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18956 2005-05-05 Wim Taymans <wim@fluendo.com>
18958 * gst/base/Makefile.am:
18959 * gst/base/gstbasesink.h:
18960 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18961 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18962 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18963 (gst_collectpads_class_init), (gst_collectpads_init),
18964 (gst_collectpads_finalize), (gst_collectpads_new),
18965 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18966 (find_pad), (gst_collectpads_remove_pad),
18967 (gst_collectpads_is_active), (gst_collectpads_collect),
18968 (gst_collectpads_collect_range), (gst_collectpads_start),
18969 (gst_collectpads_stop), (gst_collectpads_peek),
18970 (gst_collectpads_pop), (gst_collectpads_available),
18971 (gst_collectpads_read), (gst_collectpads_flush),
18972 (gst_collectpads_chain):
18973 * gst/base/gstcollectpads.h:
18974 * gst/elements/Makefile.am:
18975 * gst/elements/gstelements.c:
18976 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18977 (gst_fakesink_get_times), (gst_fakesink_event),
18978 (gst_fakesink_preroll), (gst_fakesink_render):
18979 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18980 (gst_filesink_init), (gst_filesink_set_location),
18981 (gst_filesink_open_file), (gst_filesink_close_file),
18982 (gst_filesink_pad_query), (gst_filesink_event),
18983 (gst_filesink_render), (gst_filesink_change_state):
18984 * gst/elements/gstfilesink.h:
18985 Added object to help in making collect pad based elements.
18987 Make event function in sink baseclass return gboolean.
18989 2005-05-05 Wim Taymans <wim@fluendo.com>
18991 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18992 (gst_bin_get_by_name):
18994 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18995 (gst_clock_finalize):
18996 * gst/gstdata.c: (gst_data_replace):
18998 * gst/gstelement.c: (gst_element_request_pad),
18999 (gst_element_pads_activate):
19000 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
19001 (gst_object_unref):
19002 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19003 (gst_pad_set_checkgetrange_function),
19004 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
19005 (gst_pad_check_pull_range), (gst_pad_pull_range),
19006 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19007 (gst_pad_pause_task), (gst_pad_stop_task):
19008 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19009 (gst_element_request_pad), (gst_pad_proxy_getcaps):
19010 Fix name lookup in GstBin.
19011 Added _data_replace() function and _buffer_replace()
19012 Use finalize method to clean up clock.
19013 Fix refcounting on request pads.
19014 Fix pad schedule mode error.
19015 Some more object refcounting debug info,
19018 2005-05-04 Andy Wingo <wingo@pobox.com>
19020 * check/Makefile.am:
19021 * docs/gst/tmpl/gstatomic.sgml:
19022 * docs/gst/tmpl/gstplugin.sgml:
19023 * gst/base/gstbasesink.c: (gst_basesink_activate):
19024 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
19025 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
19026 (gst_basesrc_query), (gst_basesrc_set_property),
19027 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
19028 (gst_basesrc_activate):
19029 * gst/base/gstbasesrc.h:
19030 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
19031 (gst_base_transform_src_activate):
19032 * gst/elements/gstelements.c:
19033 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19034 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19035 * gst/elements/gsttee.c: (gst_tee_sink_activate):
19036 * gst/elements/gsttypefindelement.c: (find_element_get_length),
19037 (gst_type_find_element_checkgetrange),
19038 (gst_type_find_element_activate):
19039 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
19040 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
19041 (gst_caps_load_thyself):
19042 * gst/gstelement.c: (gst_element_pads_activate),
19043 (gst_element_save_thyself), (gst_element_restore_thyself):
19044 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
19045 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
19047 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
19048 (gst_xml_parse_file), (gst_xml_parse_memory),
19049 (gst_xml_get_element), (gst_xml_make_element):
19050 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19051 (_file_index_id_save_xml), (gst_file_index_commit):
19052 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
19053 (read_enum), (load_pad_template), (load_feature), (load_plugin),
19055 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
19056 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
19057 * tools/gst-complete.c: (main):
19058 * tools/gst-compprep.c: (main):
19059 * tools/gst-inspect.c: (print_element_properties_info):
19060 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
19061 * tools/gst-xmlinspect.c: (print_element_properties):
19064 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
19066 * gst/gstplugin.c: (gst_plugin_check_module),
19067 (gst_plugin_check_file), (gst_plugin_load_file):
19068 apply patch from #172526 to make register work on MacOSX
19070 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19072 * docs/gst/tmpl/gstconfig.sgml:
19073 * gst/gstconfig.h.in:
19074 move documentation for some symbols. Add doc for GST_PTR_FORMAT
19075 * testsuite/debug/printf_extension.c: (main):
19076 Do not use GST_PTR_FORMAT on pointers to types with
19077 sizeof < sizeof(gpointer). Fixes test on 64-bit
19078 * testsuite/elements/property.h:
19079 use correct printf format
19081 2005-05-02 Wim Taymans <wim@fluendo.com>
19083 * docs/design/draft-push-pull.txt:
19084 * docs/design/draft-query.txt:
19085 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19086 (gst_basesrc_start):
19087 Added draft for new query API.
19088 Added draft for better selecting scheduling methods.
19089 Make basesrc ignore length if the subclass does not support
19092 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19095 possible fixes for automake-1.5 - _LIBADD is reserved
19097 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19099 * docs/faq/Makefile.am:
19100 * docs/manual/Makefile.am:
19101 * docs/manuals.mak:
19102 * docs/pwg/Makefile.am:
19104 possible fixes for automake-1.5
19106 2005-04-28 Wim Taymans <wim@fluendo.com>
19108 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19109 (gst_basesink_pad_getcaps), (gst_basesink_init),
19110 (gst_basesink_do_sync):
19111 * gst/gstclock.c: (gst_clock_entry_new):
19112 * gst/gstevent.c: (gst_event_discont_get_value):
19113 * gst/gstpipeline.c: (pipeline_bus_handler),
19114 (gst_pipeline_change_state):
19115 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19116 Better debugging of clocking info.
19117 Allow NULL values when getting discont values.
19119 2005-04-27 Wim Taymans <wim@fluendo.com>
19121 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19122 * check/gst/gstpad.c: (gst_pad_suite):
19123 Increase timeout for checks.
19125 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19127 * check/Makefile.am:
19128 fix the broken rule for cleanup. Apparently this rule is
19129 only needed on FC2, so maybe this warrants further autotool
19132 2005-04-26 Wim Taymans <wim@fluendo.com>
19134 * gst/gsttrashstack.h:
19135 Ooohh. a nasty one! After having a failed pop() from the stack,
19136 it's possible that the stack is empty. In that case, don't
19137 follow the NULL pointer.
19139 2005-04-25 Wim Taymans <wim@fluendo.com>
19141 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19142 (gst_pad_set_checkgetrange_function),
19143 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19144 (gst_pad_check_pull_range), (gst_pad_pull_range),
19145 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19146 (gst_pad_pause_task), (gst_pad_stop_task):
19147 * gst/gstplugin.c: (gst_plugin_load):
19149 Remove gst_library_load as it does more harm than good with
19150 the new g_module flags.
19151 Revert bogus caps template check in pad linking, pad caps
19152 are important when linking not the template, which is more
19153 general than the current caps.
19155 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19157 * gst/autoplug/.cvsignore:
19158 * gst/autoplug/Makefile.am:
19159 * gst/autoplug/gstsearchfuncs.c:
19160 * gst/autoplug/gstsearchfuncs.h:
19161 * gst/autoplug/gstspider.c:
19162 * gst/autoplug/gstspider.h:
19163 * gst/autoplug/gstspideridentity.c:
19164 * gst/autoplug/gstspideridentity.h:
19165 * gst/autoplug/spidertest.c:
19168 2005-04-25 Wim Taymans <wim@fluendo.com>
19170 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19171 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19172 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19173 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19175 Added stubs for unimplemented functions.
19177 2005-04-24 David Schleef <ds@schleef.org>
19179 * gst/gstpad.h: Disable some unimplemented functions. Wim,
19182 2005-04-24 David Schleef <ds@schleef.org>
19184 Convert everything from GstAtomicInt to g_atomic_int_*, and
19189 * gst/gstatomic_impl.h:
19197 * gst/gstdata_private.h:
19201 * gst/gstmessage.c:
19204 * gst/gststructure.c:
19205 * gst/gststructure.h:
19206 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19209 2005-04-24 David Schleef <ds@schleef.org>
19211 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19212 make the regressions tests work. Remove some code that is no
19214 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19215 Disable warning for pads without templates.
19217 2005-04-24 David Schleef <ds@schleef.org>
19219 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
19220 functions that handle filtered links.
19221 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19223 * gst/gstutils.c: Fix/remove utility functions that handle
19226 * gst/gstvalue.c: Add serialization/deserialization of caps
19227 * gst/parse/grammar.y: Ignore filtered caps when linking. This
19228 requires fixing so that the filter caps notation creates
19229 a capsfilter element and sets the filter_caps property. I
19230 think everyone probably wants to keep the shorthand notation.
19231 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19232 * docs/gst/tmpl/gstpad.sgml:
19234 * gst/elements/gstelements.c: Register capsfilter element.
19235 * gst/Makefile.am: fix spacing
19236 * docs/random/ds/0.9-suggested-changes: random
19238 2005-04-23 David Schleef <ds@schleef.org>
19240 * gst/elements/Makefile.am:
19241 * gst/elements/gstcapsfilter.c: New element that acts like an
19242 identity, but filters caps. Will eventually replace filtered
19243 caps in pad linking.
19244 * gst/gstutils.c: (gst_element_create_all_pads): New function
19245 to create all the ALWAYS pads that are registered with an
19246 element class. This functionality should eventually be
19247 merged in with GstElement initialization.
19249 * testsuite/trigger/README: part of trigger test code that should
19250 have been checked in a long time ago.
19252 2005-04-23 David Schleef <ds@schleef.org>
19254 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
19255 needed with new versions of libtool (nobody will confirm this),
19256 and hard to carry around.
19257 * gst/autoplug/Makefile.am:
19258 * gst/base/Makefile.am:
19259 * gst/elements/Makefile.am:
19260 * gst/indexers/Makefile.am:
19261 * gst/schedulers/Makefile.am:
19262 * libs/gst/bytestream/Makefile.am:
19263 * libs/gst/control/Makefile.am:
19264 * libs/gst/dataprotocol/Makefile.am:
19265 * libs/gst/getbits/Makefile.am:
19267 2005-04-21 Wim Taymans <wim@fluendo.com>
19269 * docs/design/draft-push-pull.txt:
19270 * docs/design/part-MT-refcounting.txt:
19271 * docs/design/part-TODO.txt:
19272 * docs/design/part-caps.txt:
19273 * docs/design/part-events.txt:
19274 * docs/design/part-gstbus.txt:
19275 * docs/design/part-gstpipeline.txt:
19276 * docs/design/part-messages.txt:
19277 * docs/design/part-push-pull.txt:
19278 * docs/design/part-query.txt:
19281 2005-04-21 Wim Taymans <wim@fluendo.com>
19283 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19284 (gst_message_new), (gst_message_new_error),
19285 (gst_message_new_warning), (gst_message_new_tag),
19286 (gst_message_new_state_changed), (gst_message_new_application),
19287 (gst_message_get_structure):
19288 * gst/gstmessage.h:
19289 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19290 (gst_structure_copy_conditional):
19291 Use parent refcount in GstMessage to ensure GstStructure
19293 Cleaned up headers a bit.
19296 2005-04-20 Wim Taymans <wim@fluendo.com>
19298 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19299 (gst_basesink_pad_getcaps), (gst_basesink_init),
19300 (gst_basesink_chain_unlocked):
19301 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19302 (gst_type_find_helper):
19303 * gst/elements/gsttypefindelement.c:
19304 (gst_type_find_element_have_type), (gst_type_find_element_init),
19305 (stop_typefinding), (gst_type_find_element_handle_event),
19306 (find_suggest), (gst_type_find_element_chain),
19307 (gst_type_find_element_checkgetrange),
19308 (gst_type_find_element_getrange), (do_typefind),
19309 (gst_type_find_element_activate):
19310 * gst/gstbuffer.c: (_gst_buffer_sub_free),
19311 (gst_buffer_default_free), (gst_buffer_default_copy),
19312 (gst_buffer_set_caps):
19313 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19314 (gst_caps_replace):
19315 * gst/gstmessage.c: (gst_message_new),
19316 (gst_message_new_state_changed):
19317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19318 (gst_pad_set_checkgetrange_function),
19319 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19320 (gst_pad_set_caps), (gst_pad_check_pull_range),
19321 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19323 * gst/gsttypefind.c: (gst_type_find_register):
19324 Make gst_caps_replace() work like other _replace() functions.
19325 Use _caps_replace() where possible.
19326 Make sure _message_new() initialises its field.
19327 Add gst_static_pad_template_get_caps()
19330 2005-04-18 Andy Wingo <wingo@pobox.com>
19332 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19333 on the peer, not the pad. I think that was a typo. Pass an extra
19334 arg to see if random access is possible. Activate the pads as
19335 PULL_RANGE if possible.
19337 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19339 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
19340 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19343 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19345 * docs/faq/using.xml:
19346 Add note on gstreamer-properties (#154996).
19348 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19350 * docs/random/bbb/optional-properties:
19351 Some analysis on optional properties.
19353 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19355 * docs/gst/tmpl/gstelementfactory.sgml:
19356 * gst/gstelement.h:
19357 * gst/gstelementfactory.c: (gst_element_factory_init),
19358 (gst_element_factory_cleanup), (gst_element_register),
19359 (__gst_element_factory_add_static_pad_template),
19360 (gst_element_factory_get_static_pad_templates),
19361 (gst_element_factory_can_src_caps),
19362 (gst_element_factory_can_sink_caps):
19363 * gst/registries/Makefile.am:
19364 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19365 (gst_xml_registry_class_init), (gst_xml_registry_init),
19366 (gst_xml_registry_new), (gst_xml_registry_set_property),
19367 (gst_xml_registry_get_property), (get_time), (make_dir),
19368 (gst_xml_registry_get_perms_func),
19369 (plugin_times_older_than_recurse), (plugin_times_older_than),
19370 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19371 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19372 (add_to_char_array), (read_string), (read_uint), (read_enum),
19373 (load_pad_template), (load_feature), (load_plugin), (load_paths),
19374 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19375 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19376 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19377 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19378 (gst_xml_registry_rebuild):
19379 * gst/registries/gstlibxmlregistry.h:
19380 * tools/gst-compprep.c: (main):
19381 * tools/gst-inspect.c: (print_pad_templates_info):
19382 * tools/gst-xmlinspect.c: (print_element_info):
19383 Use libxml2 for registry parsing, use staticpadtemplates in
19384 elementfactories. Makes gst_init() +/- 10x faster.
19386 2005-04-12 Wim Taymans <wim@fluendo.com>
19388 * gst/base/Makefile.am:
19389 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19390 (gst_basesink_pad_getcaps), (gst_basesink_init),
19391 (gst_basesink_event), (gst_basesink_change_state):
19392 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19393 (gst_basesrc_init), (gst_basesrc_query),
19394 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19395 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19396 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19397 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19398 (gst_basesrc_stop), (gst_basesrc_activate),
19399 (gst_basesrc_change_state):
19400 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19401 (helper_find_suggest), (gst_type_find_helper):
19402 * gst/base/gsttypefindhelper.h:
19403 * gst/elements/Makefile.am:
19404 * gst/elements/gstelements.c:
19405 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19406 (gst_fakesink_get_times), (gst_fakesink_event),
19407 (gst_fakesink_preroll), (gst_fakesink_render):
19408 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19409 (gst_fakesrc_init), (gst_fakesrc_event_handler),
19410 (gst_fakesrc_get_property), (gst_fakesrc_create),
19411 (gst_fakesrc_start), (gst_fakesrc_stop):
19412 * gst/elements/gstfakesrc.h:
19413 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19414 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19415 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19416 (gst_filesrc_create_read), (gst_filesrc_create),
19417 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19418 (gst_filesrc_start):
19419 * gst/elements/gsttypefindelement.c:
19420 (gst_type_find_element_have_type), (gst_type_find_element_init),
19421 (start_typefinding), (stop_typefinding), (push_buffer_store),
19422 (gst_type_find_element_handle_event),
19423 (gst_type_find_element_chain),
19424 (gst_type_find_element_checkgetrange),
19425 (gst_type_find_element_getrange), (do_typefind),
19426 (gst_type_find_element_activate),
19427 (gst_type_find_element_change_state):
19428 * gst/elements/gsttypefindelement.h:
19429 * gst/gstpipeline.c: (pipeline_bus_handler):
19430 Added typefind helper.
19431 Small preroll fix in the base sink.
19432 Disable typefind code in basesrc.
19433 Crude port of typefindelement.
19437 2005-04-11 Wim Taymans <wim@fluendo.com>
19439 * check/gst/gstbus.c: (gstbus_suite):
19440 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19441 * check/gstcheck.h:
19442 Fix up the timeout so that the test does not fail.
19444 2005-04-06 Wim Taymans <wim@fluendo.com>
19447 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19448 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19449 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19450 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19451 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19452 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19453 (gst_basesrc_stop), (gst_basesrc_activate),
19454 (gst_basesrc_change_state), (basesrc_find_peek),
19455 (basesrc_find_suggest), (gst_basesrc_type_find):
19456 * gst/base/gstbasesrc.h:
19457 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19458 (gst_filesrc_class_init), (gst_filesrc_init),
19459 (gst_filesrc_finalize), (gst_filesrc_set_location),
19460 (gst_filesrc_set_property), (gst_filesrc_get_property),
19461 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19462 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19463 (gst_filesrc_create_read), (gst_filesrc_create),
19464 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19465 * gst/elements/gstfilesrc.h:
19466 * gst/gstelement.c: (gst_element_get_state_func),
19467 (gst_element_lost_state), (gst_element_pads_activate):
19468 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19469 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19470 (gst_pad_pull_range):
19472 More work on the generic source base class, implement seeking,
19474 Make filesrc extend the base source class.
19475 Added gst_pad_set_checkgetrange_function to GstPad.
19477 2005-04-06 Andy Wingo <wingo@pobox.com>
19479 * pkgconfig/gstreamer-base.pc.in:
19480 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19482 * pkgconfig/Makefile.am:
19483 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19485 2005-04-04 Wim Taymans <wim@fluendo.com>
19487 * gst/base/Makefile.am:
19489 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19490 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19491 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19492 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19493 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19494 (gst_basesrc_base_init), (gst_basesrc_class_init),
19495 (gst_basesrc_init), (gst_basesrc_get_formats),
19496 (gst_basesrc_get_query_types), (gst_basesrc_query),
19497 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19498 (gst_basesrc_set_property), (gst_basesrc_get_property),
19499 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19500 (gst_basesrc_loop), (gst_basesrc_activate),
19501 (gst_basesrc_change_state):
19502 * gst/base/gstbasesrc.h:
19503 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19504 (gst_fakesrc_class_init), (gst_fakesrc_init),
19505 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19506 (gst_fakesrc_get_property), (gst_fakesrc_create):
19507 * gst/elements/gstfakesrc.h:
19508 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19509 (gst_filesrc_open_file), (gst_filesrc_loop),
19510 (gst_filesrc_activate), (filesrc_find_peek),
19511 (gst_filesrc_type_find):
19512 Made base source class, make fakesrc extend it.
19513 Add comments to basesink class.
19514 Some filesrc cleanup.
19516 2005-03-31 David Schleef <ds@schleef.org>
19518 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19519 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19520 expected to link against libgstreamer.
19521 * gst/base/Makefile.am: link against libgstreamer
19522 * gst/elements/Makefile.am: same
19524 2005-03-31 Andy Wingo <wingo@pobox.com>
19526 * tests/instantiate/Makefile.am:
19527 * tests/instantiate/caps.c: Add test to test speed of caps copy
19530 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19531 GMemChunk to be fair.
19533 * gst/gsttrashstack.h: Remove warning about using the fallback
19534 trash stack implementation, it's still faster than malloc.
19536 2005-03-30 Andy Wingo <wingo@pobox.com>
19538 * tests/complexity.c: Add a copyright.
19540 2005-03-31 Wim Taymans <wim@fluendo.com>
19542 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19543 (gst_base_transform_class_init), (gst_base_transform_init),
19544 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19545 (gst_base_transform_get_property),
19546 (gst_base_transform_sink_activate),
19547 (gst_base_transform_src_activate),
19548 (gst_base_transform_change_state):
19549 * gst/base/gstbasetransform.h:
19550 * gst/elements/gstidentity.c: (gst_identity_class_init),
19551 (gst_identity_event), (gst_identity_check_perfect),
19552 (gst_identity_transform), (gst_identity_start),
19553 (gst_identity_stop):
19554 Added start/stop methods to transform base class so subclasses
19555 don't need to deal with state changes even.
19557 2005-03-31 Wim Taymans <wim@fluendo.com>
19559 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19560 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19562 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19563 (gst_pad_pull_range):
19564 Added rate to the discont event to prepare for variable speed
19565 and reverse playback.
19567 2005-03-29 David Schleef <ds@schleef.org>
19570 * testsuite/trigger/Makefile.am:
19571 * testsuite/trigger/trigger.c: A little example program to show
19572 how trigger-based elements can work.
19574 2005-03-29 Wim Taymans <wim@fluendo.com>
19576 * gst/base/Makefile.am:
19578 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19579 (gst_basesink_base_init), (gst_basesink_class_init),
19580 (gst_basesink_pad_getcaps), (gst_basesink_init),
19581 (gst_basesink_activate), (gst_basesink_change_state):
19582 * gst/base/gstbasesink.h:
19583 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19584 (gst_base_transform_base_init), (gst_base_transform_finalize),
19585 (gst_base_transform_class_init), (gst_base_transform_init),
19586 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19587 (gst_base_transform_event), (gst_base_transform_getrange),
19588 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19589 (gst_base_transform_set_property),
19590 (gst_base_transform_get_property),
19591 (gst_base_transform_sink_activate),
19592 (gst_base_transform_src_activate),
19593 (gst_base_transform_change_state):
19594 * gst/base/gstbasetransform.h:
19595 * gst/elements/gstidentity.c: (gst_identity_finalize),
19596 (gst_identity_class_init), (gst_identity_init),
19597 (gst_identity_event), (gst_identity_check_perfect),
19598 (gst_identity_transform), (gst_identity_set_property),
19599 (gst_identity_get_property), (gst_identity_change_state):
19600 * gst/elements/gstidentity.h:
19601 * gst/gstelement.c: (gst_element_get_state_func),
19602 (gst_element_lost_state), (gst_element_pads_activate):
19603 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19604 (gst_pad_check_pull_range), (gst_pad_pull_range):
19606 Simplify pad activation.
19607 Added function to check if pull_range can be performed.
19608 Error out when pulling inactive or flushing pads.
19609 Removed const from refcounted types as it does not make sense.
19610 Simplify pad templates in basesink
19611 Added base class for simple 1-to-1 transforms.
19612 Make identity subclass the base transform.
19614 2005-03-29 Andy Wingo <wingo@pobox.com>
19616 * docs/libs/gstreamer-libs-overrides.txt:
19617 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19618 really don't understand what's going on, but like whatever. I want
19621 * docs/gst/Makefile.am:
19622 * docs/libs/Makefile.am: Dist the overrides files.
19624 * check/Makefile.am (clean-local): Remove .libs directories.
19626 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19627 elements to EXTRA_DIST, so po/ files are happy.
19629 * po/POTFILES.in: Er, remove it here.
19631 * po/POTFILES: Remove gstspider.c.
19633 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19635 * docs/libs/gstreamer-libs-docs.sgml:
19636 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19639 * tests/complexity.c (main): Set the length of the preroll queue
19640 on the sinks to prevent a lockup.
19642 * libs/gst/dataprotocol/Makefile.am:
19643 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19644 the same as the one in check/gst-libs/gdp.c.
19646 * po/, docs/gst/: Commit automatic changes to docs and po files.
19648 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19649 the versioned libgstbase.
19651 * check/Makefile.am: Depend on an unversioned gst-register, seems
19652 to make autoconf happier.
19654 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19656 2005-03-28 Wim Taymans <wim@fluendo.com>
19659 * docs/design/part-gstelement.txt:
19660 * docs/design/part-negotiation.txt:
19661 * docs/design/part-preroll.txt:
19662 * docs/design/part-scheduling.txt:
19663 * docs/design/part-states.txt:
19665 * gst/base/Makefile.am:
19667 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19668 (gst_basesink_base_init), (gst_basesink_class_init),
19669 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19670 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19671 (gst_basesink_set_pad_functions),
19672 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19673 (gst_basesink_set_property), (gst_basesink_get_property),
19674 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19675 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19676 (gst_basesink_preroll_queue_push),
19677 (gst_basesink_preroll_queue_empty),
19678 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19679 (gst_basesink_event), (gst_basesink_get_times),
19680 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19681 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19682 (gst_basesink_loop), (gst_basesink_activate),
19683 (gst_basesink_change_state):
19684 * gst/base/gstbasesink.h:
19685 * gst/elements/Makefile.am:
19686 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19687 (gst_fakesink_class_init), (gst_fakesink_init),
19688 (gst_fakesink_set_property), (gst_fakesink_get_property),
19689 (gst_fakesink_get_times), (gst_fakesink_event),
19690 (gst_fakesink_preroll), (gst_fakesink_render),
19691 (gst_fakesink_change_state):
19692 * gst/elements/gstfakesink.h:
19693 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19694 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19695 * gst/gstelement.c: (gst_element_add_pad),
19696 (gst_element_get_state_func), (gst_element_abort_state),
19697 (gst_element_commit_state), (gst_element_lost_state),
19698 (gst_element_set_state), (gst_element_pads_activate):
19699 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19700 * gst/gstpipeline.c: (gst_pipeline_send_event),
19701 (gst_pipeline_change_state):
19702 Added state change code.
19703 Added/updated docs.
19704 Added sink base class, make fakesink extend the base class.
19705 Small cleanups in GstPipeline.
19707 2005-03-26 David Schleef <ds@schleef.org>
19709 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19710 is broken and should be implemented in a different library.
19711 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19712 * gst/gst.h: remove gstcpu.h
19713 * gst/gstcpu.c: remove
19714 * gst/gstcpu.h: remove
19715 * gst/Makefile.am.future: Remove this file. It's ancient.
19717 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19719 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19720 (gst_bin_send_event):
19721 Add default event/set_manager handlers. The set_manager handler
19722 takes care that the manager is distributed over kids that were
19723 already in the bin before the manager was set. The event handler
19724 is a utility virtual function that sends the event over all sinks,
19725 so that gst_element_send_event (bin, event); has the expected
19727 * gst/gstpad.c: (gst_pad_event_default):
19728 Re-install default event handling for discontinuities, so that
19729 seeking works without requiring hacks in applications or extra
19731 * gst/gstpipeline.c: (gst_pipeline_class_init),
19732 (gst_pipeline_send_event):
19733 Half hack, half utility: set a pipeline to PAUSED for seek events,
19734 since that is the only way we can guarantee a/v sync. Means that
19735 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19736 and it "just works".
19738 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19740 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19741 Lock/unlock mismatch.
19743 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19745 * docs/faq/gst-uninstalled:
19746 add gst-plugins-base
19747 * docs/gst/Makefile.am:
19748 don't error out until docs are fixed
19749 * docs/gst/gstreamer.types:
19752 2005-03-22 Wim Taymans <wim@fluendo.com>
19754 * check/Makefile.am:
19755 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19756 * gst/gststructure.c: (gst_structure_set_valist),
19757 (gst_structure_copy_conditional):
19758 Activated more tests.
19759 Added message test.
19760 Added G_TYPE_POINTER to GstStructure.
19763 2005-03-22 Wim Taymans <wim@fluendo.com>
19765 * docs/design/part-TODO.txt:
19766 * docs/design/part-events.txt:
19767 * docs/design/part-gstbin.txt:
19768 * docs/design/part-gstbus.txt:
19769 * docs/design/part-gstpipeline.txt:
19770 * docs/design/part-messages.txt:
19772 * gst/gstmessage.c:
19775 2005-03-21 Wim Taymans <wim@fluendo.com>
19777 * gst/gstbus.c: (gst_bus_post):
19778 Fix copy-and-paste error.
19780 2005-03-21 Wim Taymans <wim@fluendo.com>
19782 * check/Makefile.am:
19784 * gst/elements/Makefile.am:
19785 * gst/elements/gstelements.c:
19786 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19787 (gst_fakesink_event), (gst_fakesink_chain):
19788 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19789 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19790 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19791 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19792 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19793 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19794 (gst_fakesrc_loop), (gst_fakesrc_activate),
19795 (gst_fakesrc_change_state):
19796 * gst/elements/gstfakesrc.h:
19797 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19798 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19799 (gst_filesrc_open_file), (gst_filesrc_loop),
19800 (gst_filesrc_activate), (gst_filesrc_change_state),
19801 (filesrc_find_peek), (filesrc_find_suggest),
19802 (gst_filesrc_type_find):
19803 * gst/elements/gstidentity.c: (gst_identity_finalize),
19804 (gst_identity_class_init), (gst_identity_init),
19805 (gst_identity_proxy_getcaps), (identity_queue_push),
19806 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19807 (gst_identity_getrange), (gst_identity_chain),
19808 (gst_identity_sink_loop), (gst_identity_src_loop),
19809 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19810 (gst_identity_set_property), (gst_identity_get_property),
19811 (gst_identity_change_state):
19812 * gst/elements/gstidentity.h:
19813 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19814 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19815 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19816 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19817 (gst_tee_sink_activate):
19818 * gst/elements/gsttee.h:
19819 * gst/gst.c: (gst_register_core_elements), (init_post):
19821 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19822 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19823 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19824 (gst_bin_change_state):
19826 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19827 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19828 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19829 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19830 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19831 (bus_watch_callback), (bus_watch_destroy),
19832 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19833 (poll_timeout), (gst_bus_poll):
19837 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19838 (gst_element_post_message), (gst_element_message_full),
19839 (gst_element_get_state_func), (gst_element_get_state),
19840 (gst_element_abort_state), (gst_element_commit_state),
19841 (gst_element_lost_state), (gst_element_set_state),
19842 (gst_element_pads_activate), (gst_element_change_state),
19843 (gst_element_dispose), (gst_element_set_manager_func),
19844 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19845 (gst_element_set_manager), (gst_element_get_manager),
19846 (gst_element_set_bus), (gst_element_get_bus),
19847 (gst_element_set_scheduler), (gst_element_get_scheduler):
19848 * gst/gstelement.h:
19849 * gst/gstevent.c: (gst_event_new_segment_seek),
19850 (gst_event_new_flush):
19852 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19853 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19854 (gst_message_new_eos), (gst_message_new_error),
19855 (gst_message_new_warning), (gst_message_new_tag),
19856 (gst_message_new_state_changed), (gst_message_new_application),
19857 (gst_message_get_structure), (gst_message_parse_tag),
19858 (gst_message_parse_state_changed), (gst_message_parse_error),
19859 (gst_message_parse_warning):
19860 * gst/gstmessage.h:
19861 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19862 (gst_real_pad_set_property), (gst_pad_set_active),
19863 (gst_pad_is_active), (gst_pad_set_blocked_async),
19864 (gst_pad_set_blocked), (gst_pad_is_blocked),
19865 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19866 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19867 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19868 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19869 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19870 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19871 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19872 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19873 (gst_pad_set_caps), (gst_pad_configure_sink),
19874 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19875 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19876 (gst_real_pad_dispose), (gst_real_pad_finalize),
19877 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19878 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19879 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19881 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19882 (pipeline_bus_handler), (gst_pipeline_change_state),
19883 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19884 * gst/gstpipeline.h:
19886 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19887 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19888 (gst_queue_link_src), (gst_queue_bufferalloc),
19889 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19890 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19891 (gst_queue_loop), (gst_queue_handle_src_event),
19892 (gst_queue_handle_src_query), (gst_queue_src_activate),
19893 (gst_queue_change_state):
19895 * gst/gstscheduler.c: (gst_scheduler_init),
19896 (gst_scheduler_dispose), (gst_scheduler_create_task),
19897 (gst_scheduler_factory_create):
19898 * gst/gstscheduler.h:
19899 * gst/gststructure.c: (gst_structure_get_type),
19900 (gst_structure_copy_conditional):
19901 * gst/gststructure.h:
19902 * gst/gsttaginterface.h:
19903 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19904 (gst_task_init), (gst_task_dispose), (gst_task_create),
19905 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19911 * gst/schedulers/Makefile.am:
19912 * gst/schedulers/cothreads_compat.h:
19913 * gst/schedulers/entryscheduler.c:
19914 * gst/schedulers/faircothreads.c:
19915 * gst/schedulers/faircothreads.h:
19916 * gst/schedulers/fairscheduler.c:
19917 * gst/schedulers/gstbasicscheduler.c:
19918 * gst/schedulers/gstoptimalscheduler.c:
19919 * gst/schedulers/gthread-cothreads.h:
19920 * gst/schedulers/threadscheduler.c:
19921 (gst_thread_scheduler_task_get_type),
19922 (gst_thread_scheduler_task_class_init),
19923 (gst_thread_scheduler_task_init),
19924 (gst_thread_scheduler_task_start),
19925 (gst_thread_scheduler_task_stop),
19926 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19927 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19928 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19929 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19931 * libs/gst/Makefile.am:
19932 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19933 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19934 (gst_file_pad_parent_set):
19935 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19936 (gst_dp_event_from_packet):
19937 * tests/complexity.c: (main):
19938 * tests/mass_elements.c: (main):
19939 * testsuite/states/locked.c: (message_received), (main):
19940 * testsuite/states/parent.c: (main):
19941 * tools/gst-inspect.c: (print_element_flag_info),
19942 (print_implementation_info), (print_pad_info):
19943 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19945 * tools/gst-md5sum.c: (event_loop), (main):
19946 * tools/gst-typefind.c: (main):
19947 * tools/gst-xmlinspect.c: (print_element_info):
19949 Added GstBus for mainloop integration.
19950 Added GstMessage for sending notifications on the bus.
19951 Added GstTask as an abstraction for pipeline entry points.
19953 Removed Schedulers.
19954 Simplified GstQueue for multithreaded core.
19955 Made _link threadsafe, removed old capsnego.
19956 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19957 Added pad blocking functions.
19958 Reworked scheduling functions in GstPad to prepare for
19959 scheduling updates soon.
19960 Moved events out of data stream.
19961 Simplified GstEvent types.
19962 Added return values to push/pull.
19963 Removed clocking from GstElement.
19964 Added prototypes for state change function for next merge.
19965 Removed iterate from bins and state change management.
19966 Fixed some elements, disabled others for now.
19967 Fixed -inspect and -launch.
19968 Added check for GstBus.
19970 2005-03-10 Wim Taymans <wim@fluendo.com>
19972 * docs/design/part-MT-refcounting.txt:
19973 * docs/design/part-clocks.txt:
19974 * docs/design/part-gstelement.txt:
19975 * docs/design/part-gstobject.txt:
19976 * docs/design/part-standards.txt:
19977 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19978 (gst_bin_remove_func), (gst_bin_remove):
19982 * testsuite/clock/clock1.c: (main):
19983 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19985 * testsuite/dlopen/loadgst.c: (do_test):
19986 * testsuite/refcounting/bin.c: (add_remove_test1),
19987 (add_remove_test2), (main):
19988 * testsuite/refcounting/element.c: (main):
19989 * testsuite/refcounting/element_pad.c: (main):
19990 * testsuite/refcounting/pad.c: (main):
19991 * tools/gst-launch.c: (sigint_handler_sighandler):
19992 * tools/gst-typefind.c: (main):
19994 Added doc about clock.
19995 removed gst_bin_iterate_recurse_up(), marked methods
19997 Fix more testsuites.
19999 2005-03-09 Wim Taymans <wim@fluendo.com>
20001 * gst/gstpad.c: (gst_pad_get_direction),
20002 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
20003 (gst_pad_collect_valist):
20004 * testsuite/bins/interface.c: (main):
20005 * testsuite/caps/audioscale.c: (test_caps):
20006 * testsuite/caps/caps.c: (test1), (test2), (test3):
20007 * testsuite/caps/deserialize.c: (main):
20008 * testsuite/caps/enumcaps.c: (main):
20009 * testsuite/caps/filtercaps.c: (main):
20010 * testsuite/caps/intersect2.c: (main):
20011 * testsuite/caps/random.c: (main):
20012 * testsuite/caps/renegotiate.c: (my_fixate), (main):
20013 * testsuite/caps/sets.c: (check_caps):
20014 * testsuite/caps/simplify.c: (check_caps), (main):
20015 * testsuite/caps/subtract.c: (check_caps):
20016 Fix _pad_get_direction wrt ghostpads.
20017 Fix caps testsuite.
20019 2005-03-09 Wim Taymans <wim@fluendo.com>
20021 * check/Makefile.am:
20022 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
20023 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
20024 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
20025 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
20026 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
20027 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
20028 (gst_bin_remove), (gst_bin_iterate_recurse_up),
20029 (bin_element_is_sink), (gst_bin_iterate_sinks),
20030 (gst_bin_iterate_all_by_interface):
20032 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
20033 (gst_element_change_state), (gst_element_dispose),
20034 (gst_element_finalize), (gst_element_set_loop_function):
20035 * gst/gstelement.h:
20036 * gst/gstiterator.c: (find_custom_fold_func):
20037 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20038 (gst_pad_collectv), (gst_pad_collect_valist),
20039 (gst_pad_template_new):
20040 * gst/gstpipeline.c: (gst_pipeline_class_init),
20041 (gst_pipeline_dispose), (gst_pipeline_set_property),
20042 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
20043 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
20044 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
20046 * gst/schedulers/entryscheduler.c:
20047 * gst/schedulers/gstbasicscheduler.c:
20048 (gst_basic_scheduler_cothreaded_chain),
20049 (gst_basic_scheduler_chain_add_element):
20050 * testsuite/bins/interface.c: (main):
20052 Added GstSystemClock test.
20053 Implemented clock distribution code in GstBin.
20054 Implemented iterate sinks method for future use.
20055 Rearranged gstelement.h
20056 Fix GstIterator comparison bug.
20057 Moved some code to GstPipeline, mostly clocking related.
20059 2005-03-09 Wim Taymans <wim@fluendo.com>
20062 * gst/gst_private.h:
20063 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20064 (gst_bin_remove_func), (gst_bin_remove),
20065 (gst_bin_get_by_name_recurse_up):
20066 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
20067 (gst_clock_id_compare_func), (gst_clock_id_wait),
20068 (gst_clock_id_wait_async), (gst_clock_init),
20069 (gst_clock_adjust_unlocked), (gst_clock_get_time):
20070 * gst/gstelement.h:
20071 * gst/gstinfo.c: (_gst_debug_init):
20073 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20074 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20076 Bump version number, we're now 0.9.0
20077 Add future debugging category.
20078 Fix NULL _unref() in _get_by_name_recurse_up
20079 Rearrange gstpad.h.
20082 2005-03-08 Wim Taymans <wim@fluendo.com>
20084 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20085 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20086 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20087 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20088 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20089 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20090 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20091 * gst/elements/gstidentity.c: (gst_identity_class_init):
20092 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20093 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20094 * gst/elements/gstshaper.c: (gst_shaper_class_init):
20095 * gst/elements/gststatistics.c: (gst_statistics_class_init):
20096 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20098 * gst/gstelement.c: (gst_element_class_init),
20099 (gst_element_base_class_init), (gst_element_init),
20100 (gst_element_get_random_pad), (gst_element_wait_state_change),
20101 (gst_element_change_state), (gst_element_dispose),
20102 (gst_element_finalize), (gst_element_set_loop_function):
20103 * gst/gstelement.h:
20104 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20105 * gst/gstthread.c: (gst_thread_class_init),
20106 (gst_thread_release_children_locks), (gst_thread_change_state):
20107 * gst/schedulers/gstbasicscheduler.c:
20108 (gst_basic_scheduler_loopfunc_wrapper),
20109 (gst_basic_scheduler_chain_wrapper),
20110 (gst_basic_scheduler_src_wrapper),
20111 (gst_basic_scheduler_remove_element):
20112 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20113 Remove threadsafe properties. Fix elements because GObject
20114 complains when installing a property before declaring a
20115 set/get_property handler.
20116 Rearrange gstelement.h file, use STATE macros for state locks.
20117 Free mutexes in the finalize method instead of dispose.
20119 2005-03-08 Wim Taymans <wim@fluendo.com>
20121 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20122 * gst/gstthread.c: (gst_thread_release_children_locks):
20123 Added parentage check.
20124 Fix build og GstThread again.
20126 2005-03-08 Wim Taymans <wim@fluendo.com>
20128 * docs/design/part-MT-refcounting.txt:
20129 * docs/design/part-conventions.txt:
20130 * docs/design/part-gstobject.txt:
20131 * docs/design/part-relations.txt:
20132 * docs/design/part-standards.txt:
20133 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20134 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20135 (gst_bin_get_by_name), (gst_bin_get_by_interface),
20136 (gst_bin_iterate_all_by_interface):
20139 * gst/gstelement.c: (gst_element_class_init),
20140 (gst_element_change_state), (gst_element_set_loop_function):
20141 * gst/gstelement.h:
20142 * gst/gstiterator.c:
20143 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20144 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20145 (gst_object_dispatch_properties_changed), (gst_object_set_name),
20146 (gst_object_set_parent), (gst_object_unparent),
20147 (gst_object_check_uniqueness):
20149 Docs updates, clean up some headers.
20151 2005-03-07 Wim Taymans <wim@fluendo.com>
20153 * check/.cvsignore:
20154 * check/Makefile.am:
20155 * check/gst-libs/.cvsignore:
20156 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20157 * check/gst/.cvsignore:
20158 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20159 (START_TEST), (gstbus_suite), (main):
20160 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20161 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20162 (gst_data_suite), (main):
20163 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20164 (add_fold_func), (gstiterator_suite), (main):
20165 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20166 (thread_name_object), (thread_name_object_default),
20167 (gst_object_name_compare), (gst_object_suite), (main):
20168 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20169 (gst_pad_suite), (main):
20170 * check/gstcheck.c: (gst_check_log_message_func),
20171 (gst_check_log_critical_func), (gst_check_init):
20172 * check/gstcheck.h:
20173 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20174 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20177 2005-03-07 Wim Taymans <wim@fluendo.com>
20179 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20180 (gst_list_iterator_next), (gst_list_iterator_resync),
20181 (gst_list_iterator_free), (gst_iterator_new_list),
20182 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20183 (gst_iterator_free), (gst_iterator_push), (filter_next),
20184 (filter_resync), (filter_uninit), (filter_free),
20185 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20186 (gst_iterator_foreach), (find_custom_fold_func),
20187 (gst_iterator_find_custom):
20188 * gst/gstiterator.h:
20189 Added missing files.
20191 2005-03-07 Wim Taymans <wim@fluendo.com>
20195 * docs/design/part-MT-refcounting.txt:
20196 * docs/design/part-conventions.txt:
20197 * docs/design/part-gstobject.txt:
20198 * docs/design/part-relations.txt:
20199 * examples/mixer/mixer.c: (main):
20200 * examples/thread/thread.c: (eos), (main):
20202 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20203 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20204 (gst_spider_plug_from_srcpad):
20205 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20206 (gst_spider_identity_change_state),
20207 (gst_spider_identity_sink_loop_type_finding):
20208 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20209 * gst/elements/gstidentity.c: (gst_identity_init):
20210 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20211 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20212 * gst/elements/gsttypefindelement.c: (free_entry):
20215 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20216 (gst_bin_set_clock_func), (gst_bin_auto_clock),
20217 (gst_bin_set_index), (gst_bin_set_element_sched),
20218 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20219 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20220 (gst_bin_iterate_elements), (iterate_child_recurse),
20221 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20222 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20223 (compare_interface), (gst_bin_get_by_interface),
20224 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20226 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20227 (gst_buffer_default_free), (gst_buffer_default_copy),
20228 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20229 (gst_buffer_create_sub):
20231 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20232 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20233 (gst_caps_unref), (gst_static_caps_get),
20234 (gst_caps_remove_and_get_structure), (gst_caps_append),
20235 (gst_caps_append_structure), (gst_caps_remove_structure),
20236 (gst_caps_copy_nth), (gst_caps_set_simple),
20237 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20238 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20239 (gst_caps_structure_intersect_field), (gst_caps_intersect),
20240 (gst_caps_structure_subtract_field), (gst_caps_subtract),
20241 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20242 (gst_caps_structure_figure_out_union),
20243 (gst_caps_switch_structures), (gst_caps_do_simplify),
20244 (gst_caps_replace), (gst_caps_from_string),
20245 (gst_caps_copy_conditional):
20247 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20248 (_gst_clock_id_free), (gst_clock_id_unref),
20249 (gst_clock_id_compare_func), (gst_clock_id_wait),
20250 (gst_clock_id_wait_async), (gst_clock_class_init),
20251 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20252 (gst_clock_get_time), (gst_clock_set_time_adjust),
20253 (gst_clock_set_property), (gst_clock_get_property):
20256 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20257 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20259 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20260 (gst_element_requires_clock), (gst_element_provides_clock),
20261 (gst_element_set_clock), (gst_element_clock_wait),
20262 (gst_element_wait), (gst_element_set_time_delay),
20263 (gst_element_is_indexable), (gst_element_add_pad),
20264 (gst_element_add_ghost_pad), (gst_element_remove_pad),
20265 (pad_compare_name), (gst_element_get_static_pad),
20266 (gst_element_request_pad), (gst_element_get_request_pad),
20267 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20268 (gst_element_class_get_pad_template_list),
20269 (gst_element_class_get_pad_template), (gst_element_error_func),
20270 (gst_element_get_random_pad), (gst_element_get_event_masks),
20271 (gst_element_send_event), (gst_element_seek),
20272 (gst_element_get_query_types), (gst_element_query),
20273 (gst_element_get_formats), (gst_element_convert),
20274 (gst_element_is_locked_state), (gst_element_set_locked_state),
20275 (gst_element_sync_state_with_parent), (gst_element_change_state),
20276 (gst_element_finalize), (gst_element_yield),
20277 (gst_element_interrupt), (gst_element_set_scheduler),
20278 (gst_element_get_scheduler), (gst_element_set_loop_function):
20279 * gst/gstelement.h:
20281 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20282 (gst_format_get_by_nick), (gst_format_get_details),
20283 (gst_format_iterate_definitions):
20285 * gst/gstindex.c: (gst_index_gtype_resolver):
20288 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20289 (gst_mem_chunk_free):
20290 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20291 (gst_object_ref), (gst_object_unref), (gst_object_sink),
20292 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20293 (gst_object_dispatch_properties_changed),
20294 (gst_object_set_name_default), (gst_object_set_name),
20295 (gst_object_get_name), (gst_object_set_name_prefix),
20296 (gst_object_get_name_prefix), (gst_object_set_parent),
20297 (gst_object_get_parent), (gst_object_unparent),
20298 (gst_object_check_uniqueness), (gst_object_save_thyself),
20299 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20300 (gst_object_set_property), (gst_object_get_property),
20301 (gst_object_get_path_string):
20303 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20304 (gst_real_pad_init), (gst_real_pad_get_property),
20305 (gst_pad_custom_new), (gst_pad_get_direction),
20306 (gst_pad_set_active), (gst_pad_is_active),
20307 (gst_pad_set_event_function), (gst_pad_is_linked),
20308 (gst_pad_link_free), (gst_pad_link_intersect),
20309 (gst_pad_link_fixate), (gst_pad_set_caps),
20310 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20311 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20312 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20313 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20314 (gst_pad_get_caps), (gst_pad_peer_get_caps),
20315 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20316 (gst_pad_realize), (gst_pad_get_allowed_caps),
20317 (gst_real_pad_dispose), (gst_real_pad_finalize),
20318 (gst_pad_collectv), (gst_pad_collect_valist),
20319 (gst_pad_template_dispose), (gst_pad_template_new),
20320 (gst_pad_get_internal_links):
20322 * gst/gstpipeline.c: (gst_pipeline_dispose),
20323 (gst_pipeline_change_state):
20324 * gst/gstpipeline.h:
20326 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20327 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20328 * gst/gstpluginfeature.h:
20329 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20330 * gst/gstquery.c: (_gst_query_type_initialize),
20331 (gst_query_type_register), (gst_query_type_get_by_nick),
20332 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20334 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20335 * gst/gstscheduler.c: (gst_scheduler_add_element),
20336 (gst_scheduler_factory_create):
20337 * gst/gststructure.c: (gst_structure_set_parent_refcount),
20338 (gst_structure_free), (gst_structure_set_name),
20339 (gst_structure_id_set_value), (gst_structure_set_value),
20340 (gst_structure_set_valist), (gst_structure_remove_field),
20341 (gst_structure_remove_fields),
20342 (gst_structure_remove_fields_valist),
20343 (gst_structure_remove_all_fields), (gst_structure_foreach),
20344 (gst_structure_map_in_place),
20345 (gst_caps_structure_fixate_field_nearest_int),
20346 (gst_caps_structure_fixate_field_nearest_double):
20347 * gst/gststructure.h:
20348 * gst/gstsystemclock.c: (gst_system_clock_class_init),
20349 (gst_system_clock_init), (gst_system_clock_dispose),
20350 (gst_system_clock_async_thread),
20351 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20352 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20353 * gst/gstsystemclock.h:
20354 * gst/gsttag.c: (gst_tag_list_add_value_internal),
20355 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20356 * gst/gsttaginterface.c:
20357 * gst/gstthread.c: (gst_thread_dispose),
20358 (gst_thread_release_children_locks), (gst_thread_change_state),
20359 (gst_thread_main_loop):
20360 * gst/gsttrashstack.h:
20361 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20363 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20364 (gst_element_request_pad), (gst_element_get_pad_from_template),
20365 (gst_element_request_compatible_pad),
20366 (gst_element_get_compatible_pad_filtered),
20367 (gst_element_get_compatible_pad), (gst_element_state_get_name),
20368 (gst_element_link_pads_filtered), (gst_element_link_filtered),
20369 (gst_element_link_many), (gst_element_link),
20370 (gst_element_link_pads), (gst_element_unlink_pads),
20371 (gst_element_unlink_many), (gst_element_unlink),
20372 (gst_pad_can_link_filtered), (gst_pad_can_link),
20373 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20374 (gst_object_default_error), (gst_bin_add_many),
20375 (gst_bin_remove_many), (gst_element_populate_std_props),
20376 (gst_element_class_install_std_props), (gst_buffer_merge),
20377 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20378 (link_fold_func), (gst_pad_proxy_setcaps):
20380 * gst/gstvalue.c: (gst_value_deserialize_string):
20381 * gst/parse/grammar.y:
20382 * gst/schedulers/gstbasicscheduler.c:
20383 (gst_basic_scheduler_cothreaded_chain),
20384 (gst_basic_scheduler_chain_recursive_add),
20385 (gst_basic_scheduler_pad_link):
20386 * gst/schedulers/gstoptimalscheduler.c:
20387 (get_group_schedule_function),
20388 (gst_opt_scheduler_state_transition),
20389 (gst_opt_scheduler_add_element), (element_get_reachables_func):
20390 * libs/gst/bytestream/bytestream.c:
20391 * libs/gst/dataprotocol/dataprotocol.c:
20392 (gst_dp_header_from_buffer):
20395 * tests/threadstate/threadstate2.c: (eos):
20396 * tools/gst-compprep.c: (main):
20397 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20398 (print_pad_info), (print_children_info):
20399 * tools/gst-launch.c: (idle_func), (main):
20400 * tools/gst-md5sum.c: (idle_func), (main):
20401 * tools/gst-xmlinspect.c: (print_element_info):
20402 First THREADED backport attempt, focusing on adding locks and
20403 making sure the API is threadsafe. Needs more work. More docs
20406 2005-02-24 Andy Wingo <wingo@pobox.com>
20408 * tests/bench-complexity.scm:
20409 * tests/complexity.gnuplot: New files, good for running complexity
20412 * tests/Makefile.am:
20413 * tests/complexity.c: New test, sets up N elements, at each level
20414 teeing into M streams per element. Eeeenteresting.
20416 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20417 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20418 running bench-mass_elements.scm.
20420 * tests/bench-mass_elements.scm: New script, runs mass_elements
20421 for various numbers of identities, outputting the results to a
20422 file. Requires guile 1.6. Just for testing.
20424 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20426 * gst/schedulers/fairscheduler.c:
20427 compile with debug disabled
20429 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20432 hunting season on 0.9 is now OPEN