1 2006-10-25 David Schleef <ds@schleef.org>
4 g_hash_table_insert() needs a cast to a non-const pointer duh.
6 2006-10-25 David Schleef <ds@schleef.org>
10 Change name parameter of _gst_debug_register_funcptr to const
11 to reflect the constness of its use in the function as well
12 as to quiet a gcc warning.
14 2006-10-25 Edward Hervey <edward@fluendo.com>
16 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
17 Don't push the buffer if it's empty.
20 2006-10-24 Wim Taymans <wim@fluendo.com>
25 * libs/gst/base/gstbasetransform.c:
26 (gst_base_transform_sink_eventfunc):
27 Debug segment values *after* updating them as this is more
30 2006-10-23 Wim Taymans <wim@fluendo.com>
32 * docs/design/part-events.txt:
35 * docs/design/part-block.txt:
36 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
38 Revert BLOCKING patch, it tries to be smart without really having a
39 clear idea what or how. So, now we discard all FLUSHING events again on
40 a blocking pad. Should fix gnonlin again.
42 2006-10-23 Wim Taymans <wim@fluendo.com>
44 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
46 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
47 (gst_base_src_start), (gst_base_src_activate_push):
48 Make sure size is always initialized. Fixes #364388.
50 2006-10-20 Stefan Kost <ensonic@users.sf.net>
52 * docs/random/ensonic/distributed.txt:
53 add some ideas about doing distributed processing
55 * docs/random/ensonic/profiling.txt:
56 get_rusage look promising
58 2006-10-18 Stefan Kost <ensonic@users.sf.net>
60 * docs/manual/basics-helloworld.xml:
61 Add a cast in example to fix compile warning
63 2006-10-18 Wim Taymans <wim@fluendo.com>
65 * gst/gstsegment.c: (gst_segment_set_last_stop),
66 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
67 Relax arg checking again, -1 is allowed.
69 2006-10-18 Wim Taymans <wim@fluendo.com>
71 * gst/gstsegment.c: (gst_segment_set_last_stop),
72 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
73 _set_last_stop() must be with a value != -1
74 A _TYPE_SET to -1 means seek to 0.
75 Calc last_stop correctly for negative rates.
76 Make sure we work with positive durations when updating a segment.
78 2006-10-18 Wim Taymans <wim@fluendo.com>
80 * docs/design/part-live-source.txt:
84 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
87 Add an explicit cast to GstBuffer** to keep old code that added an
88 explicit cast to GstMiniObject** for gst_mini_object_replace()
89 compiling without warning.
91 2006-10-18 Stefan Kost <ensonic@users.sf.net>
93 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
94 check for validity of dates
96 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
98 * docs/gst/gstreamer-sections.txt:
99 Forgot this one, makes gtk-doc shut up.
101 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
103 Patch by: Peter Kjellerstedt <pkj at axis com>
106 Don't define xmlNodePtr to gpointer if the core was built with
107 --disable-loadsave and --disable-registry, this will break
108 applications that want to use libxml2 but are buildling against a
109 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
110 instead so we don't have to mess with the libxml2 namespace
113 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
116 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
117 type-punned pointer warnings.
119 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
122 Add casts to the correct return type to state <=> state transition
125 2006-10-16 Stefan Kost <ensonic@users.sf.net>
127 * docs/design/part-live-source.txt:
128 describe howto handle latency
130 * docs/random/ensonic/profiling.txt:
133 * tools/gst-plot-timeline.py:
134 fix log parsing for solaris, remove unused function
136 2006-10-16 Wim Taymans <wim@fluendo.com>
138 * docs/design/part-trickmodes.txt:
140 Update some docs regarding reverse playback.
142 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
144 Patch by: Marcus Granado <mrc dot gran at gmail com>
146 * win32/vs8/grammar.vcproj:
147 Error out with a warning if glib-genmarshal.exe is not in path,
148 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
150 2006-10-13 Wim Taymans <wim@fluendo.com>
152 * gst/gstsegment.c: (gst_segment_set_seek):
153 When seeking to stop -1, set last_stop (current position) to the
154 duration of the segment.
156 2006-10-13 Wim Taymans <wim@fluendo.com>
159 Clarify _NO_PREROLL a bit more.
164 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
165 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
166 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
167 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
168 due to wrong locking order. Fixes #361769.
169 Remove some redundant/misplaced checks in pad_block.
171 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
172 For negative rates, count backwards from the duration.
174 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
176 * gst/gsterror.c: (_gst_library_errors_init):
177 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
178 up with something better).
180 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
182 * win32/vs6/libgstreamer.dsp:
183 * win32/vs7/libgstreamer.vcproj:
184 * win32/vs8/libgstreamer.vcproj:
185 Don't reference glib-compat.c which is currently not used and not
186 disted; add gstquark.c which was recently added. Fixes #361730.
188 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
190 * win32/common/libgstbase.def:
191 * win32/common/libgstcontroller.def:
192 * win32/common/libgstreamer.def:
193 Add gst_caps_merge() and a bunch of other recently-added functions.
196 2006-10-11 Wim Taymans <wim@fluendo.com>
198 * docs/plugins/gstreamer-plugins.args:
199 * docs/plugins/inspect/plugin-coreelements.xml:
200 * docs/plugins/inspect/plugin-coreindexers.xml:
203 * gst/gstsystemclock.c:
204 Small comment update.
206 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
207 (gst_tee_request_new_pad), (gst_tee_release_pad),
208 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
209 (gst_tee_sink_activate_pull):
210 * plugins/elements/gsttee.h:
212 Add default property defines.
213 Implement release pad function.
214 Give properties better blubs etc.
215 Activate pads before adding them to a running tee.
216 Do simple buffer_alloc on the first requested pad.
217 Post error when activation fails.
219 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
221 * gst/gst.c: (ensure_current_registry_forking):
222 Check return value of write() to make compiler happy.
224 2006-10-11 Wim Taymans <wim@fluendo.com>
226 Patch by: Sjoerd Simons <sjoerd at luon dot net>
228 * plugins/elements/gstqueue.c: (gst_queue_chain):
229 Recheck queue filledness after signalling the overrun when we're about
230 to leak downstream because we released the lock when emitting the signal
231 and the queue could be empty again. Fixes #352345.
233 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
235 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
236 Fix refcounting here too, just like we did for _new_valist() a few
237 days ago (#357180) (thanks to René Stadler). Also remove all those
238 'Since: 0.9' from the gtk-doc blobs.
240 * tests/check/libs/controller.c: (controller_refcount_new_list),
241 (gst_controller_suite):
242 Unit test for the above.
244 2006-10-10 Wim Taymans <wim@fluendo.com>
246 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
248 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
249 (gst_pad_save_thyself):
251 Write pad direction in XML output. Fixes #345496.
253 2006-10-10 Wim Taymans <wim@fluendo.com>
255 Patch by: René Stadler <mail at renestadler dot de>
257 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
258 (gst_controller_new_list), (_gst_controller_dispose),
259 (_gst_controller_finalize), (_gst_controller_class_init):
260 Take ref to controlled object so that it cannot disappear.
263 2006-10-10 Wim Taymans <wim@fluendo.com>
265 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
266 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
267 (gst_check_teardown_sink_pad):
268 Activate/deactivate pads in setup/teardown respectively.
270 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
272 Patch by: Josep Torre Valles <josep@fluendo.com>
275 Cast values when making gstenumtypes.h. This pacifies Forte
276 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
279 2006-10-09 Wim Taymans <wim@fluendo.com>
281 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
282 Rename some more @cur to @start to fix docs.
284 * gst/gstsegment.c: (gst_segment_set_seek):
286 time and start must always stay in sync as defined in design doc.
288 * gst/gsttaglist.c: (gst_tag_list_is_empty):
289 Rename param to fix docs.
291 * tests/check/gst/gstsegment.c: (GST_START_TEST):
292 Check that start and time are in sync.
294 * tests/check/pipelines/parse-launch.c:
295 (gst_parse_test_element_change_state):
296 Activate pad before adding to the element.
298 2006-10-09 Wim Taymans <wim@fluendo.com>
300 * docs/design/part-qos.txt:
305 Update seek event docs regarding negative rates.
306 Rename @cur to @start.
308 * gst/gstsegment.c: (gst_segment_set_seek):
310 Update set_seek docs regarding negative rates.
311 Correctly update last_stop to @stop when dealing with negative
313 Rename @cur to @start.
315 * tests/check/gst/gstpad.c: (GST_START_TEST):
316 Activate pads before trying to use them.
318 * tests/check/gst/gstsegment.c: (GST_START_TEST),
320 Add simple check for segments and negative rates.
322 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
324 * gst/gsttaglist.c: (gst_tag_list_is_empty):
326 * docs/gst/gstreamer-sections.txt:
327 API: add gst_tag_list_is_empty() (#360467).
329 * tests/check/gst/gsttag.c: (GST_START_TEST):
332 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
335 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
336 a value that doesn't fit on enumeration.
338 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
340 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
341 Remove local debugging system and use Gstreamer's instead.
343 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
345 Patch by: Josep Torre Valles <josep@fluendo.com>
347 * common/m4/gst-error.m4:
348 Disable warning of statement not reached on Forte.
350 Fix warning on Forte (value doesn't fit on enumeration).
351 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
352 Fix warning on Forte (value doesn't fit on enumeration).
353 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
354 DEBUG macro says it takes minimum of 2 args and so Forte
355 complains about the use with just 1 arg.
356 * plugins/elements/gstfdsink.c:
357 * plugins/elements/gstfdsrc.c:
358 * plugins/elements/gstfilesink.c:
359 * plugins/elements/gstfilesrc.c:
360 Use correct return type for the uri handler implementations.
362 All these fix warnings in Forte. Fixes bug #360860.
364 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
367 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
368 format string, so don't use G_GNUC_PRINTF for those versions.
370 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
372 * gst/gsttaglist.c: (gst_is_tag_list):
374 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
376 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
377 Small test for the above.
379 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
382 Less tabs, more spaces.
384 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
387 Those two function declarations do actually belong there, revert
388 commit from yesterday that turned them intro macros.
390 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
392 Patch by: Josep Torre Valles <josep@fluendo.com>
394 * gst/gst.c: (gst_init_get_option_group):
395 Fix empty declaration and type mismatch.
396 * gst/gstbin.c: (gst_bin_change_state_func):
398 * gst/gstelement.c: (gst_element_continue_state),
399 (gst_element_set_state_func), (gst_element_change_state),
400 (gst_element_change_state_func):
402 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
403 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
405 * gst/gstobject.c: (gst_class_signal_connect):
406 Cast as appropriate. The function pointer parameter really
407 has the wrong type but would break API if we change it.
409 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
410 order of including string.h.
411 * gst/gstutils.c: (gst_element_state_get_name):
412 Remove unreachable line.
413 * gst/gstxml.c: (gst_xml_parse_doc):
415 All these caught by Forte.
417 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
419 Patch by: Josep Torre Valles <josep@fluendo.com>
421 * common/m4/gst-error.m4:
423 We need to disable warnings on Forte for empty declarations
424 due to gst-indent adding ;s to lines that just use macros
425 where the macro actually doesn't need a ; at end to end
428 2006-10-06 Wim Taymans <wim@fluendo.com>
430 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
431 (gst_file_sink_close_file), (gst_file_sink_event),
432 (gst_file_sink_render):
433 Add some FIXME for the NEWSEGMENT handling.
435 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
437 * gst/parse/grammar.y:
438 Remove static function gst_parse_element_lock as all it does
439 is return. Looks like cruft from 0.8.
441 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
443 Patch by: Josep Torre Valles <josep@fluendo.com>
445 * common/m4/gst-error.m4:
447 * libs/gst/net/Makefile.am:
448 Fix a compilation issue with Forte on Solaris. inet_aton is in
451 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
453 * gst/gstpad.c: (pre_activate):
454 * gst/gstregistry.c: (gst_registry_scan_path_level):
455 * gst/gstregistryxml.c: (load_plugin):
456 * libs/gst/controller/gstcontroller.c:
457 (gst_controlled_property_set_interpolation_mode):
458 * libs/gst/dataprotocol/dataprotocol.c:
459 (gst_dp_packet_from_event_1_0):
460 * libs/gst/net/gstnetclientclock.c:
461 (gst_net_client_clock_observe_times):
462 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
465 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
468 * docs/gst/gstreamer-sections.txt:
469 * gst/gstconfig.h.in:
472 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
473 whether we can use G_GNUC_PRINTF in other header files and at
474 least check the printf format/arguments of debug messages and
475 GST_ELEMENT_ERROR messages when the printf extension is not
477 Replace more tabs with spaces in gstinfo.h and remove two spurious
478 function declarations in GST_DISABLE_DEBUG part with macros.
480 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
482 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
483 More docs for the sync-message signal (mention that it is not
484 emitted by default); log message structures of messages posted on
487 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
489 * gst/gst.c: (ensure_current_registry_forking):
490 Use a pipe pair to receive status results from the forked child, and
491 ignore the result from waitpid. Fixes #355499
493 2006-10-02 Wim Taymans <wim@fluendo.com>
495 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
496 (gst_ghost_pad_suite):
499 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
502 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
504 2006-10-02 Edward Hervey <edward@fluendo.com>
506 * docs/design/part-block.txt:
507 Further explain the use of flushing on blocked pads.
508 * docs/gst/gstreamer-sections.txt:
509 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
510 (gst_pad_push_event):
512 Added new GstPadFlag : GST_PAD_BLOCKING.
513 Adds the notion of pads really blocking, which enables to properly
514 handle FLUSH_START/FLUSH_STOP events on blocked pads.
516 API: gst_pad_is_blocking()
517 API: GST_PAD_IS_BLOCKING() macro
518 API: GST_PAD_BLOCKING GstPadFlag
520 2006-10-02 Wim Taymans <wim@fluendo.com>
522 Patch by: mrcgran <mrc.gran at gmail dot com>
524 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
525 Filter the proxied caps against the padtemplate if we have one.
527 * gst/gstquery.c: (gst_query_new_segment):
528 Add include for gstinfo.h so that compilation with
529 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
531 2006-10-02 Wim Taymans <wim@fluendo.com>
533 Patch by: Alessandro Decina <alessandro at nnva org>
535 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
536 (gst_file_sink_set_location), (gst_file_sink_open_file),
537 (gst_file_sink_close_file), (gst_file_sink_event),
538 (gst_file_sink_render):
539 Set file to NULL when closing filesink so that we can set a new filename
540 in READY. Fixes #358613.
542 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
544 Patch by: Alessandro Decina <alessandro at nnva org>
546 * gst/gstevent.c: (_gst_event_copy):
547 Fix gst_mini_object_make_writable() and gst_event_copy() for events
548 with event structures by setting the parent refcount address of the
549 copied structure to the address of the refcount member of the newly
550 copied event rather than the address of the refcount member of the
551 original event. Fixes #358737.
553 * tests/check/gst/gstevent.c: (GST_START_TEST):
554 Unit test for the above.
556 2006-09-29 Stefan Kost <ensonic@users.sf.net>
558 * docs/design/Makefile.am:
559 Dist some more files.
561 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
563 * tests/check/libs/controller.c: (GST_START_TEST),
564 (gst_controller_suite):
565 Add test for the previous fix; add some more tests
566 for correct refcounting behaviour; fix a few leaks
567 in test cases; call gst_controller_init() at start
570 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
572 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
573 (gst_controller_set_from_list):
574 Don't g_return_val_if_fail() on timed values with invalid timestamps
575 inside a critical section without unlocking the mutex. Spotted by
576 René Stadler. (#357617)
577 Also, fix up refcounting properly: when returning an existing
578 controller, we should increase the reference only once and not
579 once per property and when trying to control a property again
580 we should also increase the refcount.
582 2006-09-29 Wim Taymans <wim@fluendo.com>
584 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
585 * libs/gst/net/gstnettimeprovider.c:
586 (gst_net_time_provider_thread):
587 Stop reading commands when EOF as well.
589 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
590 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
591 * plugins/elements/gstidentity.c: (gst_identity_class_init):
592 Unify description of the dump property.
594 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
596 * tests/examples/manual/.cvsignore:
597 OK, so it's actually cvsignore that needs changing. Stop laughing.
599 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
601 * tests/examples/manual/Makefile.am:
602 Gah, declare vars *before* using them
604 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
606 * gst/gst.c: (init_pre), (scan_and_update_registry),
607 (ensure_current_registry_nonforking),
608 (ensure_current_registry_forking), (ensure_current_registry),
609 (init_post), (gst_debug_help), (gst_deinit):
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 Re-commit the registry changes, along with an extra fix:
619 When a cached plugin is encountered at a different file path,
620 update the stored path in the registry cache so that the parent
621 process knows where it actually is now when it re-reads the registry
622 cache. Fixes the thing that broke distcheck with the previous commit.
624 * tests/check/Makefile.am:
625 Clean up files named 'core' too when running make clean.
627 * tests/examples/manual/Makefile.am:
628 Set up a registry path for running these tests, and clean it properly
631 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
634 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
635 want gmodule-no-export-2.0.pc instead so that we don't drag in
636 --export-dynamic on every project that links to GStreamer.
638 Also, make our export regex only match the start of symbols, rather
639 than any symbol that contains '_gst' somewhere.
641 * libs/gst/check/Makefile.am:
642 The libgstcheck we build does however need export-dynamic, as it
643 produces some symbols that don't match our _gst... style regex.
646 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
648 * gst/gst.c: (init_pre), (scan_and_update_registry),
649 (ensure_current_registry_nonforking),
650 (ensure_current_registry_forking), (ensure_current_registry),
651 (init_post), (gst_debug_help), (gst_deinit):
653 * gst/gstregistry.c: (gst_registry_finalize),
654 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
655 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
656 (_gst_registry_cleanup):
658 Revert previous change until I figure out why it breaks distcheck.
660 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
662 * gst/gst.c: (init_pre), (scan_and_update_registry),
663 (ensure_current_registry_nonforking),
664 (ensure_current_registry_forking), (ensure_current_registry),
665 (init_post), (gst_debug_help), (gst_deinit):
667 Make init_pre and init_post take the full complement of GOptionFunc
668 args so they can return useful GErrors. Make the registry updating
671 Call _priv_gst_registry_remove_cache_plugins after scanning files to
672 ensure that the registry we're about to write out doesn't contain
673 stale information about old-deleted plugin files.
675 Make _priv_gst_registry_remove_cache_plugins return a boolean so
676 that deletion of plugin files is considered a registry change.
679 * gst/gstregistry.c: (gst_registry_finalize),
680 (gst_registry_remove_features_for_plugin_unlocked),
681 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
682 (gst_registry_scan_path),
683 (_priv_gst_registry_remove_cache_plugins),
684 (_priv_gst_registry_cleanup):
686 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
687 by adding _priv prefix, so that they won't appear in the global
688 symbol table. They still do atm though because of #318031. Move the
689 prototypes to gst_private.h
691 When removing a plugin, remove all features for that plugin too.
694 2006-09-27 Wim Taymans <wim@fluendo.com>
696 * docs/random/moving-plugins:
697 Make it clear that the "compiled-in descriptions" really mean
700 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
701 (gst_base_sink_wait_preroll):
704 * docs/libs/gstreamer-libs-sections.txt:
705 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
706 (gst_base_src_get_range), (gst_base_src_activate_push):
707 * libs/gst/base/gstbasesrc.h:
708 Added function to block while waiting for PLAYING, this function
709 is used by live sources that block on the clock.
710 API: gst_base_src_wait_playing()
712 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
714 Patch by: Peter Kjellerstedt <pkj at axis com>
717 gst-element-check.m4 is generated and should therefore be
718 copied from the build dir rather than the source dir (#357593).
719 'make distcheck' hasn't noticed this because we were disting
720 the file as well, so stop doing that.
722 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
724 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
725 Add some tests for gst_caps_intersect().
727 * tools/gst-launch.c: (event_loop):
728 Print all buffering percentages we get, even the 100% one.
730 2006-09-26 Wim Taymans <wim@fluendo.com>
732 * tools/gst-inspect.c: (print_element_properties_info),
734 Fix printing of flags to match the look of enums.
736 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
738 * gst/gstelementfactory.c:
739 Fix typo in docs blurb.
741 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
743 * gst/gsturi.c: (search_by_entry):
744 Don't assert/crash here if a uri handler doesn't return any
745 supported protocols. The list of protocols could be generated
746 dynamically at runtime or at plugin registration, and an error
747 in the underlying library shouldn't be fatal (#353301).
749 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
752 Fix warning if HAVE_PRINTF_EXTENSION is undefined
753 (spotted by Peter Kjellerstedt).
755 2006-09-23 Wim Taymans <wim@fluendo.com>
757 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
759 * libs/gst/base/gstbasesrc.c:
760 (gst_base_src_default_check_get_range), (gst_base_src_start),
761 (gst_base_src_activate_push), (gst_base_src_activate_pull),
762 (gst_base_src_change_state):
763 Match _start/_stop calls in the activate functions. Remove redundant
764 _stop call from the state change function. Fixes #356910.
765 Turn failure DEBUG into ERROR.
767 2006-09-22 Wim Taymans <wim@fluendo.com>
769 * docs/design/part-buffering.txt:
770 * gst/gstmessage.c: (gst_message_new_buffering),
771 (gst_message_parse_buffering):
772 Update docs about buffering.
774 * docs/design/part-trickmodes.txt:
777 2006-09-22 Stefan Kost <ensonic@users.sf.net>
779 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
780 (gst_controller_new_list):
781 Ref instances when returning them again (fixes #357180)
783 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
785 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
786 Don't forget to release proxy lock when there's an error.
788 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
791 Add extra initialisers for Caps things, to fix some plugin warnings
794 2006-09-18 Wim Taymans <wim@fluendo.com>
796 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
797 Also set template on the internal pad so that a getcaps from the
798 target pad returns the template caps.
800 2006-09-18 Wim Taymans <wim@fluendo.com>
802 * gst/gstelement.c: (gst_element_post_message),
803 (gst_element_dispose):
804 Use _DEBUG_OBJECT some more.
806 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
809 * tools/gst-launch.c: (main):
810 If the toplevel element is not a GstPipeline, it must be put in a
811 pipeline so that a bus and clock is selected.
813 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
815 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
816 JITTER, RATE, and LATENCY query should be handled by the
817 default case and not by the CONVERT query code.
819 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
821 * gst/gstformat.c: (gst_format_register):
822 Fix locking order (must take lock before using n_values).
824 * gst/gstvalue.c: (gst_value_serialize_enum),
825 (gst_value_deserialize_enum_iter_cmp),
826 (gst_value_deserialize_enum):
827 Fix serialisation/deserialisation of custom registered GstFormats.
829 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
830 Unit test for custom format serialisation/deserialisation.
832 2006-09-17 Stefan Kost <ensonic@users.sf.net>
834 * docs/pwg/building-boiler.xml:
835 * plugins/elements/gstcapsfilter.c:
836 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
839 2006-09-16 Edward Hervey <edward@fluendo.com>
841 * libs/gst/base/gstbasetransform.c:
842 (gst_base_transform_buffer_alloc):
843 Check if requested caps are the same as the sinks caps IF
844 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
846 This fixes the renegotiation issues stated in #352827.
848 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
851 * docs/manual/advanced-autoplugging.xml:
852 * tests/examples/Makefile.am:
853 * tests/examples/manual/.cvsignore:
854 * tests/examples/manual/Makefile.am:
855 * tests/examples/manual/extract.pl:
856 Extract the manual examples again like we used to do.
859 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
861 * win32/common/config.h:
864 2006-09-16 Stefan Kost <ensonic@users.sf.net>
867 Documents how to receive errors.
869 2006-09-15 Wim Taymans <wim@fluendo.com>
871 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
872 (event_loop), (main):
873 Added some comments here and there.
874 Post an application message when an interrupt is caught instead of doing
875 an uncontrolled state change.
876 Clean up the event loop.
877 Handle buffering messages, pause/resume the pipeline.
878 Make shutdown because of an interrupt more reliable.
880 2006-09-15 Wim Taymans <wim@fluendo.com>
882 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
883 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
884 (gst_base_sink_preroll_object):
885 Make sure that our internal state is correct when we commit our state
886 asynchronously. This solves a race where a state change to PLAYING
887 could cause the sink to remain blocked in preroll in some situations.
889 2006-09-15 Wim Taymans <wim@fluendo.com>
891 * tools/gst-inspect.c: (print_element_properties_info),
893 List flags as hex so it's easier to deal with.
895 2006-09-15 Wim Taymans <wim@fluendo.com>
897 * docs/libs/gstreamer-libs-sections.txt:
898 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
899 (gst_base_sink_do_sync):
900 * libs/gst/base/gstbasesink.h:
901 Expose logic to wait for preroll so that subclasses such as audiosink
902 can also use this method.
903 API: gst_base_sink_wait_preroll()
905 2006-09-15 Wim Taymans <wim@fluendo.com>
907 * gst/gstobject.c: (gst_object_set_parent):
908 * gst/gstpipeline.c: (do_pipeline_seek):
909 Small cleanups in docs and code.
911 * gst/gstsegment.c: (gst_segment_clip):
912 * tests/check/gst/gstsegment.c: (GST_START_TEST):
913 if stop == start and start is in the segment, no clipping should be
914 done. Also add a test for this.
916 2006-09-15 Wim Taymans <wim@fluendo.com>
918 * docs/design/part-buffering.txt:
919 * docs/gst/gstreamer-sections.txt:
920 * gst/gstmessage.c: (gst_message_new_buffering),
921 (gst_message_parse_buffering):
923 Added methods to create and parse BUFFERING messages.
924 Added preliminary docs about buffering.
925 API: gst_message_new_buffering
926 API: gst_message_parse_buffering
928 2006-09-06 Wim Taymans <wim@fluendo.com>
931 Update documentation.
933 * gst/gstelement.c: (gst_element_class_init),
934 (gst_element_release_request_pad), (gst_element_set_clock),
935 (gst_element_get_index), (gst_element_add_pad),
936 (gst_element_remove_pad), (gst_element_get_random_pad),
937 (gst_element_send_event), (gst_element_get_query_types),
938 (gst_element_query), (gst_element_post_message),
939 (gst_element_message_full), (gst_element_continue_state),
940 (gst_element_lost_state), (gst_element_save_thyself),
941 (gst_element_restore_thyself):
942 Documentation updates.
943 Rename last bit of the new-pad -> pad-added signal rename.
944 Fix the case where an element query would only work if the source
946 Avoid some useless type checking in message handling.
951 Documentation updates.
953 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
955 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
956 add an INFO line for when we actually update the fd
958 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
963 === release 0.10.10 ===
965 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
968 releasing 0.10.10, "Pais"
970 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
972 * docs/manual/advanced-position.xml:
973 Fix typo in sample code.
975 2006-09-05 Wim Taymans <wim@fluendo.com>
977 * libs/gst/net/gstnetclientclock.c: (inet_aton),
978 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
979 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
980 * libs/gst/net/gstnetclientclock.h:
981 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
982 * libs/gst/net/gstnettimepacket.h:
983 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
984 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
985 (gst_net_time_provider_thread), (gst_net_time_provider_new):
986 * libs/gst/net/gstnettimeprovider.h:
987 Make stuff compile on windows. Fixes #345295.
989 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
991 * gst/gst.c: (ensure_current_registry_forking):
992 Print better details when child was terminated by signal.
994 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
996 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
997 Print a warning rather than g_assert() if a plugin feature
998 is a URI handler but returns no protocols (#353976).
1000 2006-09-02 Stefan Kost <ensonic@users.sf.net>
1002 * docs/random/moving-plugins:
1005 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
1007 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
1008 Fix locking order, handle NULL function values properly.
1013 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1014 Initialise variable before using it and fix debug statement to
1015 print the address of the function rather than the address of the
1016 variable on the stack holding the address of the function.
1018 2006-09-01 Wim Taymans <wim@fluendo.com>
1020 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
1021 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
1022 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
1023 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
1024 (gst_ghost_pad_parent_unset),
1025 (gst_ghost_pad_internal_do_activate_push),
1026 (gst_ghost_pad_internal_do_activate_pull),
1027 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1028 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1029 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
1030 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
1031 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
1032 (gst_ghost_pad_new_no_target_from_template),
1033 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
1035 Avoid needless typechecking in macros.
1036 Since the internal pad is always present and never changes, there is
1037 no need to locking or ref when retrieving it.
1038 Improve debugging a bit.
1039 Handle link errors when setting the target. Fixes #341029.
1041 2006-09-01 Wim Taymans <wim@fluendo.com>
1043 * docs/libs/gstreamer-libs-sections.txt:
1044 * docs/plugins/gstreamer-plugins-sections.txt:
1047 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1048 (gst_collect_pads_event):
1049 * libs/gst/base/gstcollectpads.h:
1050 Documentation updates.
1051 Free queued buffer when removing a pad.
1053 2006-08-31 Michael Smith <msmith@fluendo.com>
1055 * gst/gstutils.c: (gst_element_link_pads),
1056 (gst_element_link_pads_filtered):
1057 Ensure that we set a capsfilter to NULL if we failed to link it
1058 when doing filtered linking, to avoid criticals.
1060 No need to check for unreffing srcpad, which is explicly NULLed
1061 above (a trivial code cleanup).
1063 2006-08-31 Wim Taymans <wim@fluendo.com>
1065 * docs/design/part-gstghostpad.txt:
1066 Update ascii art in documentation.
1068 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
1069 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
1070 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1071 (gst_ghost_pad_internal_do_activate_push),
1072 (gst_ghost_pad_internal_do_activate_pull),
1073 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1074 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1075 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
1076 (gst_ghost_pad_set_target):
1077 Small cleanups and leak fixes.
1078 Remove some checks now that the internal pad is never NULL.
1079 Fix the case where linking pads without a target would create nasty
1080 criticals. Fixes #341029.
1081 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
1082 value of _set_target().
1084 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1085 (gst_ghost_pad_suite):
1086 Some more tests for creating and linking untargeted ghostpads.
1088 2006-08-31 Edward Hervey <edward@fluendo.com>
1090 * docs/gst/gstreamer-sections.txt:
1091 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
1092 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1093 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
1094 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
1095 (gst_ghost_pad_new_from_template),
1096 (gst_ghost_pad_new_no_target_from_template):
1097 * gst/gstghostpad.h:
1098 Refactored *_new() functions.
1099 Templates are now used as a g_object_new() parameter.
1100 Use template in _do_getcaps() if we don't have a target.
1101 Small documentation cleanups.
1102 Added two new constructors:
1103 gst_ghost_pad_new_from_template()
1104 gst_ghost_pad_new_no_target_from_template()
1105 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
1106 (gst_ghost_pad_suite):
1107 Added tests for new ghostpad instanciation functions.
1109 API additions: gst_ghost_pad_new_from_template,
1110 gst_ghost_pad_new_no_target_from_template
1112 2006-08-30 Stefan Kost <ensonic@users.sf.net>
1114 * docs/random/ensonic/profiling.txt:
1115 Ideas about qos profiling.
1117 2006-08-29 Wim Taymans <wim@fluendo.com>
1119 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1123 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
1126 Improve and detypofy docs.
1128 * tests/check/Makefile.am:
1129 * tests/check/gst/.cvsignore:
1130 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
1131 Add a basic test suite for GstXML.
1133 2006-08-29 Wim Taymans <wim@fluendo.com>
1135 * gst/gstelement.c: (activate_pads), (clear_caps),
1136 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1137 Clear the pad caps when the element shut down all of the pads and
1138 is not streaming data that could modify the caps.
1141 2006-08-28 Michael Smith <msmith@fluendo.com>
1143 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1144 Revert previous change; I misunderstood single-segment mode.
1146 2006-08-28 Michael Smith <msmith@fluendo.com>
1148 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1149 Unset DISCONT on buffers when using single-segment mode.
1151 2006-08-28 Wim Taymans <wim@fluendo.com>
1153 * gst/gstcaps.c: (gst_caps_merge_structure):
1155 Fix docs and indentation again.
1157 * tests/check/gst/gstquery.c: (GST_START_TEST):
1158 Fix leak in tests and add some more tests.
1160 2006-08-28 Edward Hervey <edward@fluendo.com>
1162 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1163 Inform GstSegment of the last stop position in order for the current
1164 segment to have a proper duration if it doesn't have a specific stop
1165 position from which a duration could be calculated.
1166 This bug was noticeable when a non-flushing, non-update new segment was
1167 followed by another segment (all buffers from the new segment were being
1170 2006-08-28 Wim Taymans <wim@fluendo.com>
1172 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1173 Small comment update.
1175 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1176 (gst_identity_transform_ip):
1177 Drop-probability is broken, mention this in the code with a
1178 FIXME and also in the property description.
1179 Make silent also be silent about the drop messages.
1181 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
1183 * docs/manual/appendix-win32.xml:
1184 Remove mention of popt, we don't depend on that any
1185 longer (#353136). Add some comments pointing out that
1186 this section is slightly outdated.
1188 2006-08-28 Wim Taymans <wim@fluendo.com>
1190 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1192 * gst/gstquery.c: (gst_query_new_segment):
1193 * tests/check/gst/gstquery.c: (GST_START_TEST):
1194 Initialize variables when creating a new segment query.
1197 2006-08-28 Wim Taymans <wim@fluendo.com>
1199 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1201 * gst/gstelement.c: (gst_element_get_bus):
1202 * tests/check/gst/gstelement.c: (GST_START_TEST):
1203 Check for NULL before _reffing the bus. Fixes #353122.
1205 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
1207 * docs/manual/basics-bus.xml:
1208 Docs update: fix wrong callback return value explanation; add
1209 some lines about the implicit relationship between main loop
1210 and main context; remove duplicate main loop variable declaration.
1212 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
1214 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1215 Don't leak caps in unit test; add a few more simple
1218 2006-08-24 Stefan Kost <ensonic@users.sf.net>
1220 * docs/gst/gstreamer-sections.txt:
1221 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1222 (gst_caps_structure_is_subset), (gst_caps_merge),
1223 (gst_caps_merge_structure):
1225 * libs/gst/base/gstbasetransform.c:
1226 (gst_base_transform_transform_caps):
1227 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1228 implement caps merging (fixes #352580)
1230 2006-08-23 Stefan Kost <ensonic@users.sf.net>
1232 * tools/Makefile.am:
1233 * tools/gst-plot-timeline.py:
1234 add debug-log plotting developer tool (#340674)
1236 2006-08-23 Wim Taymans <wim@fluendo.com>
1238 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1239 (gst_pad_stop_task):
1240 Improve debugging for task functions.
1242 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1243 (gst_task_start), (gst_task_pause), (gst_task_join):
1244 Make sure that the task function started and finished after a
1246 Don't try to push the task function on the threadpool multiple
1248 Improve the g_warning message with some useful suggestions
1249 about how to fix the problem.
1251 2006-08-23 Wim Taymans <wim@fluendo.com>
1253 * gst/gstutils.c: (gst_pad_proxy_getcaps):
1254 Handle RESYNC correctly in _proxy_getcaps.
1256 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
1258 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1259 (gst_xml_parse_memory), (gst_xml_get_element):
1260 Chain up to parent class in dispose function and also
1261 unref the elements in the toplevel_elements GList.
1262 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1263 Always return a reference in gst_xml_get_element() rather
1264 than only sometimes.
1266 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1267 Don't leak GstXml object.
1269 2006-08-21 Stefan Kost <ensonic@users.sf.net>
1271 * docs/gst/gstreamer-sections.txt:
1272 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1275 * libs/gst/base/gstbasetransform.c:
1276 (gst_base_transform_transform_caps):
1277 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1280 2006-08-21 Edward Hervey <edward@fluendo.com>
1282 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1283 Implement GObject::dispose virtual method in GstXML so we can free the
1286 2006-08-21 Wim Taymans <wim@fluendo.com>
1288 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1289 (gst_buffer_create_sub):
1290 Copy duration/offset_end/caps when creating a subbuffer of the
1292 Make the subbuffer read-only when we make the metadata writable for
1295 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1296 Added check for metadata copy when creating subbuffers.
1298 2006-08-21 Edward Hervey <edward@fluendo.com>
1300 * libs/gst/base/gstbasetransform.c:
1301 (gst_base_transform_buffer_alloc):
1302 Only call downstream buffer_alloc if transform element is passthrough
1303 or always_in_place. Closes #350449.
1305 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1308 ChangeLog surgery to add comments to previous changes
1310 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1315 * gst/gstpad.c: (gst_pad_set_active):
1316 Be more verbose in the log
1318 * libs/gst/base/gstbasetransform.c:
1319 (gst_base_transform_transform_caps):
1320 Simplify caps to get rid of duplicates, fixes #345444
1322 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1326 Use these optimizations only internally.
1328 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1330 * gst/gstvalue.c: (gst_value_compare_list),
1331 (gst_value_compare_fraction_range),
1332 (gst_value_intersect_fraction_fraction_range),
1333 (gst_value_intersect_fraction_range_fraction_range),
1334 (gst_value_subtract_fraction_fraction_range),
1335 (gst_value_subtract_fraction_range_fraction_range),
1336 (gst_value_get_compare_func), (gst_value_compare),
1337 (gst_value_compare_with_func):
1339 Saves the expensive lookup of the compare function in many cases
1342 2006-08-18 Edward Hervey <edward@fluendo.com>
1344 * tests/check/gst/gstinfo.c: (gst_info_suite):
1345 Disable test that require gstdebug if it wasn't built in core.
1347 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1349 * docs/random/ensonic/logging.txt:
1352 * gst/gstinfo.c: (gst_debug_log_default):
1353 reorder fields, save some columns, add optional color codes for log
1356 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1358 * docs/random/ensonic/logging.txt:
1359 add ideas about making the logs a bit more useful
1361 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1363 * docs/pwg/advanced-events.xml:
1364 * docs/pwg/titlepage.xml:
1365 Update for 0.10 API (#340627). Add myself
1368 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1370 * docs/libs/gstreamer-libs-docs.sgml:
1371 * docs/libs/gstreamer-libs-sections.txt:
1372 * libs/gst/check/gstbufferstraw.c:
1373 Make gstcheck stuff show up in docs (still needs to
1374 be documented properly though).
1376 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
1378 * docs/gst/gstreamer-sections.txt:
1380 * gst/gst.c: (init_post):
1381 * gst/gst_private.h:
1382 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1384 * gst/gstquery.c: (gst_query_new_position),
1385 (gst_query_set_position), (gst_query_parse_position),
1386 (gst_query_new_duration), (gst_query_set_duration),
1387 (gst_query_parse_duration), (gst_query_new_convert),
1388 (gst_query_set_convert), (gst_query_parse_convert),
1389 (gst_query_new_segment), (gst_query_set_segment),
1390 (gst_query_parse_segment), (gst_query_new_seeking),
1391 (gst_query_set_seeking), (gst_query_parse_seeking):
1392 Add internal helpers for pre-registering quarks from static strings
1393 and using the quark values directly instead of looking them up when
1394 creating and parsing queries. Can be used for event construction too.
1397 2006-08-16 Wim Taymans <wim@fluendo.com>
1402 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1404 * gst/gstutils.c: (gst_util_set_value_from_string):
1405 Fix memleak (#351502).
1407 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1408 Add unit test for most of gst_util_set_value_from_string()
1409 (not that one would want to encourage use of this function).
1411 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1413 * libs/gst/check/gstcheck.h:
1414 Use const gchar * variables in fail_unless_equals_string
1415 macro to avoid compiler warnings (and don't use tabs for
1418 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1420 * tools/gst-launch.c: (print_tag):
1421 More space on the left for the tag names, to cater
1422 for the 'extended comment' tag (not touching the
1423 string for the first line since it's translated).
1425 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1427 * libs/gst/check/gstcheck.h:
1428 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1429 print something when they fail.
1431 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1433 * docs/gst/gstreamer-sections.txt:
1434 * gst/gsttaglist.c: (_gst_tag_initialize):
1436 API: add GST_TAG_EXTENDED_COMMENT (#350935).
1437 Also change merge function for GST_TAG_COMMENT to
1440 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1442 * gst/gstinfo.c: (gst_debug_print_object):
1443 Make GST_PTR_FORMAT print messages as well.
1445 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1446 (GST_START_TEST), (gst_info_suite):
1449 2006-08-14 Edward Hervey <edward@fluendo.com>
1451 * gst/gstelementfactory.c: (gst_element_register):
1452 If the GstElementClass doesn't have a GstElementDetails with all fields
1453 filled up correctly (longname, description AND author), then error out
1454 nicely instead of crashing.
1456 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1458 * gst/gststructure.c:
1459 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1462 Expand on the difference between arrays and lists as we use them.
1464 2006-08-14 Wim Taymans <wim@fluendo.com>
1466 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1467 If the parent state change function failed, don't assume we can safely
1468 stop the source, this will be done when the pads are deactivated.
1470 2006-08-14 Wim Taymans <wim@fluendo.com>
1473 * gst/gsttask.c: (gst_task_join):
1476 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1477 (gst_pad_stop_task):
1478 When pad (de)activation failed for some reason, restore the old
1479 activation mode and set the pad to flushing instead of assuming the
1481 If the _task_join() failed, reinstall the task on the pad so that it can
1482 be stopped later and return an error.
1484 2006-08-11 Andy Wingo <wingo@pobox.com>
1487 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1488 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1489 is only for users of API that don't want to see deprecated
1490 functions in the headers; people that want to compile out
1491 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1492 CFLAGS. Fixes the build of multifdsink, or will soon..
1494 2006-08-11 Wim Taymans <wim@fluendo.com>
1496 * docs/gst/gstreamer-sections.txt:
1497 Add GstClockClass vmethod docs.
1500 Mark #endif with comment for associated #if
1502 * gst/gstclock.c: (gst_clock_id_wait):
1504 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1505 most clock implementations.
1507 Flesh out docs about resolution methods.
1508 API: GstClockClass::wait_jitter
1510 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1511 (gst_system_clock_async_thread),
1512 (gst_system_clock_id_wait_jitter_unlocked),
1513 (gst_system_clock_id_wait_jitter):
1514 Use base class wait_jitter variant for improved performance
1515 due to less clock polling.
1517 2006-08-11 Edward Hervey <edward@fluendo.com>
1519 * gst/gst.c: (gst_init_check), (init_post):
1520 Set gst as being initialized before scanning/updating the registry,
1521 since there might be my python plugin loader that calls gst_init() and
1522 we don't want to loop back in.
1525 2006-08-11 Wim Taymans <wim@fluendo.com>
1527 * docs/design/part-qos.txt:
1528 Bring docs in line with the code. Mostly the sign of the jitter was
1529 wrong in the docs. Fixes #349943.
1532 Fix the docs for the jitter.
1534 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1535 (gst_event_parse_tag), (gst_event_new_buffer_size),
1536 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1537 (gst_event_new_seek), (gst_event_parse_seek),
1538 (gst_event_new_navigation):
1539 Make sure the GstStructure has no parent when creating custom
1541 Add some more argument checking so that we avoid 0.0 rates.
1542 Flesh out the docs for the QoS event some more.
1544 2006-08-11 Wim Taymans <wim@fluendo.com>
1546 * docs/gst/gstreamer-sections.txt:
1547 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1548 (ensure_current_registry_forking), (ensure_current_registry),
1549 (parse_one_option), (parse_goption_arg), (gst_deinit),
1550 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1553 Added API and command line option to disable registry forking in
1554 addition to the environment variable.
1555 Constify some static arrays.
1556 Added some more debug.
1558 API: gst_registry_fork_is_enabled()
1559 API: gst_registry_fork_set_enabled()
1560 API: --gst-disable-registry-fork command line option
1563 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1565 * gst/gst.c: (gst_init):
1566 Fix typo in error message.
1568 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1570 * libs/gst/controller/gstcontroller.h:
1571 fix ABI size-correction
1573 * tests/check/libs/gdp.c: (gst_dp_suite):
1574 make tests that use deprecated API conditional
1576 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1578 * docs/libs/gstreamer-libs-sections.txt:
1579 * libs/gst/controller/gstcontroller.c:
1580 (_gst_controller_get_property), (_gst_controller_set_property),
1581 (_gst_controller_init), (_gst_controller_class_init):
1582 * libs/gst/controller/gstcontroller.h:
1583 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1584 (gst_object_set_control_rate):
1585 API: add gst_object_{s,g}et_control_rate(), add private data section,
1588 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1589 * libs/gst/dataprotocol/dataprotocol.h:
1590 add deprecation guards to make gtk-doc happy and allow disabling cruft
1592 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1594 * tests/check/Makefile.am:
1595 * tests/check/gst/.cvsignore:
1596 Let's enable the new unit test as well.
1598 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1601 * docs/gst/gstreamer-sections.txt:
1602 * gst/gstconfig.h.in:
1603 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1604 (_gst_info_printf_extension_ptr),
1605 (_gst_info_printf_extension_segment):
1606 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1607 register that lets us easily dump GstSegments into debug
1610 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1611 (info_segment_format_printf_extension), (gst_info_suite):
1612 Add simple unit test that logs a bunch of different segments (not
1613 valgrinded at the moment because of leaks in
1614 gst_debug_add_log_function).
1616 2006-08-09 Edward Hervey <edward@fluendo.com>
1618 * libs/gst/base/gstbasetransform.c:
1619 (gst_base_transform_buffer_alloc):
1620 Even if we can't figure out the proper format to request downstream,
1621 call buffer_alloc() downstream with the input parameters without setting
1622 the caps on the srcpad. This will force negotiation in the chain
1626 2006-08-08 Edward Hervey <edward@fluendo.com>
1628 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1629 Unlinking from a pad without a target is now a perfectly valid case
1630 which should NOT raise an assertion.
1631 This case would happen if a linked ghostpad its target set to NULL after
1632 it was previously linked.
1634 2006-08-08 Edward Hervey <edward@fluendo.com>
1636 * tests/check/libs/gdp.c:
1637 Also comment out the test (see below).
1639 2006-08-08 Edward Hervey <edward@fluendo.com>
1641 * tests/check/libs/gdp.c: (gst_dp_suite):
1642 Use the architecture information from config.h and not gcc macros
1643 in order to properly disable a test that fails on PPC64.
1645 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1647 * gst/gstelement.c: (gst_element_remove_pad):
1648 Don't crash printing the warning if the pad has no parent.
1650 2006-08-02 Wim Taymans <wim@fluendo.com>
1652 * libs/gst/dataprotocol/dataprotocol.c:
1653 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1654 (gst_dp_crc), (gst_dp_header_payload_length),
1655 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1656 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1657 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1658 (gst_dp_event_from_packet), (gst_dp_validate_header),
1659 (gst_dp_validate_payload):
1660 Make debug category static
1661 Constify the crc table.
1662 Do some more arg checking in public functions.
1663 Fix some docs and do some small cleanups.
1665 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1666 Add some more checks to see if GDP deals with bogus input.
1668 2006-07-31 Wim Taymans <wim@fluendo.com>
1670 * gst/gstvalue.c: (gst_value_compare_list):
1671 Fix GstValueList comparison code. Fixes #347293.
1673 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1674 Check to test GstValueList comparison.
1676 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1678 * gst/gstelementfactory.c: (gst_element_factory_create):
1679 Remove unnecessary ref/unref pair
1681 * gst/parse/grammar.y:
1682 Make sure to free the parse buffer on all code paths.
1683 Move a g_free up to the error handler where it's easier to see.
1685 * tests/check/gst/gstevent.c: (test_event):
1686 Extending timeout for downstream travelling events to 10 seconds to
1687 hopefully avoid intermittent failure on the buildbots.
1689 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1690 Don't manually set the state of the src element - it will happen as a
1691 natural consequence of the pipeline changing state, and that way it
1692 will do it in the right order too.
1694 2006-07-31 Wim Taymans <wim@fluendo.com>
1696 * libs/gst/base/gstbasetransform.c:
1697 (gst_base_transform_buffer_alloc):
1698 Use OBJECT_LOCK and refcounting to get the pad caps in the
1699 buffer_alloc function because the caps could change while we are
1700 busy with them. Fixes #349105
1702 2006-07-31 Wim Taymans <wim@fluendo.com>
1704 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1705 Protect _PAD_CAPS with OBJECT_LOCK.
1707 2006-07-31 Wim Taymans <wim@fluendo.com>
1709 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1710 (gst_pad_get_property), (gst_pad_activate_pull),
1711 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1712 (gst_pad_set_activate_function),
1713 (gst_pad_set_activatepull_function),
1714 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1715 (gst_pad_set_getrange_function),
1716 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1717 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1718 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1719 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1720 (gst_pad_set_acceptcaps_function),
1721 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1722 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1723 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1724 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1725 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1726 (gst_pad_configure_sink), (gst_pad_configure_src),
1727 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1728 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1729 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1730 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1731 (gst_pad_send_event):
1732 Use _DEBUG_OBJECT when it makes sense.
1733 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1734 Small cleanups and code reflows.
1735 Avoid caps refcounting in _accept_caps.
1736 Refactor alloc_buffer so that the code performed on the peer is in a
1737 separate function. Also if the pad does not implement a buffer alloc
1738 function, we should still check if the pad is flushing before falling
1739 back to the default allocator.
1741 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1743 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1744 Make all uses of identity and fakesink have silent=true to avoid
1745 serialising every passing data structure, which is breaking tests
1746 on FC4 for some unknown reason.
1748 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1750 * gst/parse/Makefile.am:
1751 * gst/parse/grammar.y:
1752 * gst/parse/parse.l:
1753 Reverted previous patch as it required to bump the flex dependency to
1754 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1756 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1758 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1760 * gst/parse/Makefile.am:
1761 * gst/parse/grammar.y:
1762 * gst/parse/parse.l:
1763 push & pop the state of the lexer for reentrant use case
1766 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1768 * libs/gst/base/gstbasesrc.h:
1769 Note in the docs that the ::newsegment vfunc is not actually used by
1772 2006-07-28 Wim Taymans <wim@fluendo.com>
1774 * libs/gst/base/gstcollectpads.c:
1775 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1776 (gst_collect_pads_clear), (gst_collect_pads_flush),
1777 (gst_collect_pads_event), (gst_collect_pads_chain):
1778 When flushing a pad, also clear the queued buffer so that we don't
1779 accidentally use it when we shouldn't.
1780 Fix leaks by inreffing incomming buffer.
1781 Flush out queued buffers in case of errors.
1784 2006-07-28 Wim Taymans <wim@fluendo.com>
1786 * docs/random/phonon-gst:
1787 Random notes about a Phonon backend.
1789 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1791 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1793 * tests/check/libs/gdp.c: (gst_dp_suite):
1794 Take a whack at fixing the ppc compile using a different define to
1795 disable the broken test.
1797 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1798 Remove excess g_print()
1800 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1802 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1803 Oops, meant to uncomment this line too to dampen the noise a bit.
1805 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1807 * gst/parse/grammar.y:
1808 * gst/parse/parse.l:
1809 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1810 (GST_START_TEST), (parse_suite):
1811 Fix some of the leaks exposed by extending the parse-launch testsuite,
1812 and move the 3 I can't figure out into a separate test that won't run
1813 the pipelines unless the appropriate line is uncommented.
1815 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1817 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1818 Requesting 0 bytes before the end of the file should result in
1819 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1822 2006-07-27 Wim Taymans <wim@fluendo.com>
1824 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1825 Fix useless assert, a uint is always positive.
1827 * gst/gststructure.c: (gst_structure_nth_field_name),
1828 (gst_structure_foreach), (gst_structure_map_in_place):
1829 Check input arguments for public functions to avoid obvious crashes.
1831 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1832 * plugins/elements/gstfakesink.h:
1833 Do less useless typechecking.
1835 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1837 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1838 Do not use mmap() by default since there are a number of error
1839 conditions that we would like to handle in a non-fatal way that
1840 will result in a SIGBUS if we use mmap(). Examples: external
1841 devices (USB harddrive, portable music player) being unplugged
1842 while in use; file on mounted CD/DVD that can't be read because
1843 the medium is partly damaged. Fixes #348455 and #348475.
1845 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1848 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1851 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1853 * gst/gstregistry.c:
1854 Move big documentation comment into class section header, so that it
1855 appears in the API docs.
1857 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1859 * docs/gst/gstreamer-sections.txt:
1860 Oops. Commit the docs additions too for new API.
1861 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1863 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1865 * gst/gststructure.c: (gst_structure_id_set),
1866 (gst_structure_id_set_valist):
1867 * gst/gststructure.h:
1868 Add API for setting values into structures without performing
1869 a quark lookup, if the appropriate quark is already known.
1871 API: gst_structure_id_set
1872 API: gst_structure_id_set_valist
1874 * gst/parse/grammar.y:
1875 * gst/parse/parse.l:
1876 Remove some dead code shown by the coverage information.
1877 Don't throw a critical g_warning when encountering a syntax error,
1878 just warn and let the normal error path handle it.
1880 * plugins/elements/gstelements.c:
1881 Bump the rank of filesink up to PRIMARY so that it is preferred over
1882 gnomevfssink for file:// sink uri's
1884 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1885 (GST_START_TEST), (run_delayed_test),
1886 (gst_parse_test_element_base_init),
1887 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1888 (gst_parse_test_element_change_state),
1889 (gst_register_parse_element), (parse_suite):
1890 Beef up the tests for parse syntax to check that more error cases
1891 fail as they are supposed to. Increases the test coverage a bit.
1893 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1895 * docs/manual/basics-elements.xml:
1896 Fix gst_element_link() example.
1899 Mention in API docs that one should usually gst_bin_add()
1900 elements to a bin or pipeline before doing the linking.
1902 2006-07-26 Wim Taymans <wim@fluendo.com>
1904 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1905 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1906 Avoid function call for known types by keeping the buffer and
1907 subbuffer GType global.
1909 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1910 Random silly optimisations in read() path.
1912 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1914 * tools/gst-launch.c: (main):
1915 If the top-level of the parse is a normal bin, it doesn't do the
1916 right logic to run as a top-level element, so place it inside a
1919 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1921 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1922 Remove superfluous g_object_notify() calls, GObject does
1923 that for us automatically.
1925 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1928 on Win32, use dllspec to export the debug category symbols
1930 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1932 * gst/gsttaglist.c: (_gst_tag_initialize):
1933 Allow more than one GST_TAG_IMAGE per taglist.
1935 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1937 * gst/gstminiobject.c:
1939 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1940 (gst_fd_src_create):
1941 log recurring events at LOG level
1942 add more debug for when the fd gets set
1944 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1946 * gst/gstparse.c: (gst_parse_launch):
1947 Also remove reentrance checks if flex is MT safe (#348179)
1948 Fix my empty ChangeLog entry below
1950 2006-07-21 Andy Wingo <wingo@pobox.com>
1952 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1954 * libs/gst/check/Makefile.am
1955 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1956 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1957 * libs/gst/check/gstbufferstraw.h:
1958 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1959 functions, thus proving I am still a GStreamer haxor. OK I wrote
1960 them a long time ago, but anyways.
1962 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1965 * gst/gstparse.c: (gst_parse_launch):
1966 Check for flex version and omit mutex if we have a MT save flex
1969 2006-07-21 Wim Taymans <wim@fluendo.com>
1971 * gst/gstparse.c: (gst_parse_launch):
1972 Protect recursive calls to _parse with a recursive mutex
1975 2006-07-21 Wim Taymans <wim@fluendo.com>
1977 * tests/check/gst/gstpad.c: (GST_START_TEST):
1980 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1982 * gst/gstparse.c: (gst_parse_launch):
1983 Do not hang on recursive usage of gst_parse_launch()
1985 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1988 Add some more docs, comments and FIXME 0.11s here and there
1989 and also fix some typos.
1991 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1994 Convert tabs to spaces for better readability.
1996 2006-07-20 Edward Hervey <edward@fluendo.com>
1998 * tests/check/libs/gdp.c: (gst_dp_suite):
1999 the test_buffer test fails at line 140 on ppc64 at the following
2001 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
2002 GST_BUFFER_FLAG_IN_CAPS),
2003 "GST_BUFFER_IN_CAPS flag should have been copied !");
2004 See bug #348114 for more details.
2006 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
2008 * docs/pwg/advanced-scheduling.xml:
2010 Fix typos (#348000).
2012 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
2014 * docs/pwg/intro-basics.xml:
2015 Fix wrong links (#347927).
2017 2006-07-18 Stefan Kost <ensonic@users.sf.net>
2019 * gst/gstregistry.h:
2020 * gst/gstregistryxml.c: (load_feature),
2021 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
2022 * win32/common/config.h:
2023 make --disable-index work (#342564)
2025 2006-07-18 Wim Taymans <wim@fluendo.com>
2027 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2031 The attached patch adds two missing defines to gsttrace.h when tracing
2032 is disabled. It also corrects one existing define.
2035 2006-07-17 Wim Taymans <wim@fluendo.com>
2037 * docs/gst/gstreamer-sections.txt:
2038 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
2040 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
2041 Add two functions to check and change the SIGSEGV behaviour
2042 when loading plugins.
2043 Don't mess with the SIGSEGV handler when we were told not to.
2045 API: gst_segtrap_is_enabled
2046 API: gst_segtrap_set_enabled
2048 2006-07-14 Wim Taymans <wim@fluendo.com>
2050 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2051 * tests/check/elements/filesrc.c: (GST_START_TEST):
2052 Revert fix for regression in #347408 after release.
2054 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
2056 Patch by: Antoine Tremblay <hexa00 at gmail com>
2058 * gst/gstutils.c: (gst_element_unlink):
2059 Free iterator when done (#347311).
2061 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2062 And add a test case for this.
2064 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
2067 Bump nano back to CVS
2069 === release 0.10.9 ===
2071 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2074 releasing 0.10.9, "On the road again"
2076 2006-07-13 Wim Taymans <wim@fluendo.com>
2078 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2079 * tests/check/elements/filesrc.c: (GST_START_TEST):
2080 Revert pull-0 fix for release. Disable check. Fixes #347408.
2082 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2084 * libs/gst/dataprotocol/dataprotocol.c:
2085 (gst_dp_event_from_packet_1_0):
2086 Fixes #347337: failure to deserialize event packets with
2087 empty payload (only event type)
2089 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2092 do not install a .c file in the header directory
2094 2006-07-13 Edward Hervey <edward@fluendo.com>
2096 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
2097 GhostPad no longer implicitely use the padtemplates of the targets.
2100 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
2102 * gst/gstvalue.c: (gst_value_compare_list),
2103 (gst_value_compare_array), (_gst_value_initialize):
2104 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2105 Make GstValueArray comparison be order dependent as designed.
2106 Add checks for value lists and value array comparisons.
2109 2006-07-11 Edward Hervey <edward@fluendo.com>
2111 * gst/gstbin.c: (activate_pads),
2112 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
2113 (gst_bin_change_state_func):
2114 (de)activate src pads before calling state_change on the childs.
2115 This is to avoid the case where a src ghostpad is blocked (holding the
2116 stream lock), which would block the deactivation of the ghostpad's
2118 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
2119 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
2120 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
2121 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2122 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2123 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2124 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2125 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
2126 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
2127 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2128 (gst_ghost_pad_class_init),
2129 (gst_ghost_pad_internal_do_activate_push),
2130 (gst_ghost_pad_internal_do_activate_pull),
2131 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2132 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2133 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
2134 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
2135 GhostPads now create their internal GstProxyPad at creation (and not
2136 when they're linked, as it was being done previously).
2137 The internal and target pads are linked straight away.
2138 The data will also travel through the other pad in order to make
2139 pad blocking and probes non-hackish (the probe/block now really happens
2140 on the GhostPad and not on the target).
2141 * gst/gstpad.c: (gst_pad_set_blocked_async),
2142 (gst_pad_link_prepare), (gst_pad_push_event):
2143 Remove previous ghostpad cruft.
2144 * gst/gstutils.c: (gst_pad_add_data_probe),
2145 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2146 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2147 (gst_pad_remove_buffer_probe):
2148 Remove previous ghost pad cruft.
2149 Added more detailed debug statements.
2150 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2151 Fix the testsuite for refcounting changes.
2152 The comments about who has references were correct, but the refcount
2153 being checked wasn't the same (!?!).
2157 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2159 * docs/gst/gstreamer-sections.txt:
2160 * gst/gstconfig.h.in:
2161 More docs for configuration options, add docs to gtk-doc.
2163 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2166 * gst/gstconfig.h.in:
2167 * win32/common/config.h:
2168 Fix build when disabling tracing (fixes #344016). Also start to document
2169 the defines that disable the sub-systems.
2171 2006-07-10 Edward Hervey <edward@fluendo.com>
2173 * gst/gst.c: (ensure_current_registry_forking):
2174 let's make valgrind happy...
2176 2006-07-09 Wim Taymans <wim@fluendo.com>
2178 * gst/gstelement.c: (activate_pads),
2179 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2180 Better pad activation code: Reset the collect value too on resync.
2183 2006-07-09 Wim Taymans <wim@fluendo.com>
2185 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2186 (gst_pad_activate_push):
2187 Use some more macros where it makes sense.
2188 Allow pad mode switching instead of asserting. When a pad
2189 is activated in one mode and we activate it in another,
2190 deactivate it first before activating it in a different mode.
2193 2006-07-08 Andy Wingo <wingo@pobox.com>
2195 * tools/gst-launch.c (main): Handle err == NULL.
2197 * gst/gst.c (init_post, ensure_current_registry)
2198 (ensure_current_registry_forking)
2199 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2200 factoring out the registry scanning into separate functions. Don't
2201 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2202 Better environment var name/interface suggestions accepted.
2204 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2206 * gst/gstobject.c: (gst_object_set_name_default),
2207 (gst_object_set_name):
2208 Random micro-optimisation: don't use a hash table
2209 with strings as keys and the usual strdup/strcmp
2210 involved, but rather just use the GQuark of the
2211 type name as key, since it needs to be looked up
2212 anyway to get the type name string.
2214 * tests/check/gst/gstobject.c: (GST_START_TEST):
2217 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2219 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2220 (gst_bin_iterate_all_by_interface):
2221 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2222 GTypes are gulongs and thus the top 4 bytes might be cut
2223 off on some platforms when doing GPOINTER_TO_INT, leading
2224 to invalid GTypes and bad things happening (see RH bug #179654).
2225 Also add a check to make sure the type passed in is really
2228 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2233 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2237 * gst-element-check.m4:
2238 * gst-element-check.m4.in:
2239 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2240 instead of the unversioned gst-inspect (#324176, #168659).
2242 2006-07-06 Wim Taymans <wim@fluendo.com>
2245 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2248 2006-07-06 Wim Taymans <wim@fluendo.com>
2250 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2251 (gst_base_src_wait), (gst_base_src_update_length),
2252 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2253 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2254 (gst_base_src_loop), (gst_base_src_start),
2255 (gst_base_src_activate_pull):
2257 blocksize == 0 now means the default blocksize when working in push
2259 Remove some pointless asserts in _wait function.
2260 Fix offset/length calculations and EOS handling. We can now pull 0
2261 bytes as well, which is allowed.
2262 use _check_get_range() to decide if we can operate in _pull based
2264 Fix refcounting leak when check_get_range function was not
2266 API GstBaseSrc::blocksize range can be 0 too now (default)
2268 * tests/check/elements/filesrc.c: (GST_START_TEST),
2270 Added check to test _get_range() behaviour.
2272 2006-07-06 Wim Taymans <wim@fluendo.com>
2274 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2275 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2276 (gst_pad_pull_range):
2278 Lots of comments and docs added to the pad functions.
2279 Flesh out the expected behaviour of the get_range() functions.
2281 2006-07-06 Wim Taymans <wim@fluendo.com>
2286 * gst/gstiterator.h:
2290 Remove comma at end of enumerator list.
2292 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
2294 * win32/common/libgstbase.def:
2295 * win32/common/libgstdataprotocol.def:
2296 * win32/common/libsgtreamer.def:
2297 Add new exported functions.
2299 2006-07-05 Wim Taymans <wim@fluendo.com>
2301 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2302 Add some more docs here and there.
2304 2006-07-05 Wim Taymans <wim@fluendo.com>
2306 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2307 (gst_base_sink_loop), (gst_base_sink_get_position):
2308 When operating in pull mode update the offset so that we
2311 2006-07-05 Wim Taymans <wim@fluendo.com>
2313 * gst/gstregistryxml.c: (read_string):
2314 Avoid strdup. (will happen in libxml, but hey!)
2319 2006-07-05 Wim Taymans <wim@fluendo.com>
2321 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2322 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2324 No point in checking if the size of the subbuffer > 0, the
2325 code handles it correclty as demonstrated by unit test.
2326 Also add a unit test for the zero sized _new_and_alloc and
2327 _copy. Fixes #346663.
2329 2006-07-05 Wim Taymans <wim@fluendo.com>
2331 * libs/gst/base/gstbasetransform.c:
2332 (gst_base_transform_prepare_output_buffer),
2333 (gst_base_transform_buffer_alloc),
2334 (gst_base_transform_handle_buffer):
2335 Make sure the buffer we pass to transform_ip has a refcount of
2336 1 and thus is writable. Fixes #343196
2338 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
2340 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2341 (gst_file_src_init), (gst_file_src_set_property),
2342 (gst_file_src_get_property), (gst_file_src_map_region):
2343 * plugins/elements/gstfilesrc.h:
2344 Add "sequential" property, off by default, to use madvise and hint
2345 to the kernel that sequential access is desired.
2346 Touch all retrieved pages by default to ensure they are pulled
2347 into memory. (Closes #345720)
2349 2006-07-03 Wim Taymans <wim@fluendo.com>
2351 * docs/design/part-block.txt:
2352 * docs/design/part-dynamic.txt:
2355 2006-07-03 Wim Taymans <wim@fluendo.com>
2357 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2358 (gst_caps_unref), (gst_static_caps_get),
2359 (gst_caps_append_structure):
2360 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2361 Use GSlice when the glib we build against is >= 2.10
2363 2006-07-03 Wim Taymans <wim@fluendo.com>
2365 * gst/gstelement.c: (gst_element_pads_activate):
2366 Small cleanup in pad activation code.
2368 2006-07-03 Wim Taymans <wim@fluendo.com>
2370 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2372 * gst/gst-i18n-app.h:
2373 * gst/gst-i18n-lib.h:
2374 * tools/gst-inspect.c: (print_signal_info):
2375 The attached patch will make the inclusion of gettext.h unconditional in
2376 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2377 libintl.h in tools/gst-inspect.c.
2378 This allows use of --disable-nls again and fixes #344642.
2380 2006-07-03 Edward Hervey <edward@fluendo.com>
2382 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2383 Implement pad blocking on events according to part-block.txt.
2384 More comments on behaviour.
2385 * tests/check/gst/gstevent.c: (test_event):
2386 Send event to peer pad of blocked pad (else it will block).
2388 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2390 * libs/gst/check/gstcheck.c: (gst_check_message_error),
2391 (gst_check_run_suite):
2392 if we get the wrong message, give us the types as string
2393 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2395 * tests/check/elements/filesrc.c: (GST_START_TEST):
2396 add a test for trying to open a non-existing file
2398 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2400 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2401 add a test for adding self
2403 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2405 * libs/gst/check/gstcheck.h:
2406 add some assert_ as alias for fail_unless_*
2407 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2408 increase test coverage
2410 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2413 include lcov.mak for lcov coverage generation
2414 * tools/Makefile.am:
2417 2006-07-02 Edward Hervey <edward@fluendo.com>
2419 * tests/check/elements/.cvsignore:
2422 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2425 don't set CFLAGS and friends for gcov, done from GST_GCOV now
2426 * tests/check/Makefile.am:
2429 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2431 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2432 remove gst_caps_simplify; it was not declared and not used
2433 and deprecated in 0.8
2435 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2437 * docs/faq/gst-uninstalled:
2438 don't put empty paths on PYTHONPATH
2439 * docs/gst/gstreamer-sections.txt:
2440 remove some symbols that are not there
2442 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2444 * gst/gstcaps.c: (gst_caps_compare_structures):
2446 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2447 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2450 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2452 * libs/gst/dataprotocol/Makefile.am:
2453 build dataprotocol test by linking to the lib, instead of
2454 compiling the source, so we get coverage
2455 * tests/check/Makefile.am:
2456 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2457 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2458 add a test for filesrc
2460 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2462 * tests/check/gst/gststructure.c: (GST_START_TEST),
2463 (gst_structure_suite):
2464 Push coverage from 59.04% to 70.00%
2466 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2468 * tests/check/Makefile.am:
2469 gst-inspect every element; this makes sure that we also get
2470 coverage on element's get/set functions
2472 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2475 set CFLAGS and friends to -O0 if gcov is being used
2478 * libs/gst/base/Makefile.am:
2479 * libs/gst/check/Makefile.am:
2480 * libs/gst/controller/Makefile.am:
2481 * libs/gst/dataprotocol/Makefile.am:
2482 * libs/gst/net/Makefile.am:
2483 * plugins/elements/Makefile.am:
2484 * plugins/indexers/Makefile.am:
2485 add makefile rules to generate gcov data and clean up
2486 * tests/check/Makefile.am:
2487 add a coverage target that generates an html overview
2490 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2492 * tests/check/elements/fakesink.c:
2493 * tests/check/elements/fakesrc.c:
2494 * tests/check/elements/fdsrc.c:
2495 * tests/check/elements/identity.c:
2496 * tests/check/generic/sinks.c: (gst_sinks_suite):
2497 * tests/check/generic/states.c:
2498 * tests/check/gst/gst.c:
2499 * tests/check/gst/gstabi.c:
2500 * tests/check/gst/gstbin.c:
2501 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2502 * tests/check/gst/gstbus.c: (gst_bus_suite):
2503 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2504 * tests/check/gst/gstelement.c:
2505 * tests/check/gst/gstevent.c: (gst_event_suite):
2506 * tests/check/gst/gstghostpad.c:
2507 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2508 * tests/check/gst/gstmessage.c: (gst_message_suite):
2509 * tests/check/gst/gstminiobject.c:
2510 * tests/check/gst/gstobject.c:
2511 * tests/check/gst/gstpad.c:
2512 * tests/check/gst/gstpipeline.c:
2513 * tests/check/gst/gstplugin.c:
2514 * tests/check/gst/gstquery.c: (gst_query_suite):
2515 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2516 * tests/check/gst/gststructure.c:
2517 * tests/check/gst/gstsystemclock.c:
2518 * tests/check/gst/gsttag.c:
2519 * tests/check/gst/gsttask.c: (gst_task_suite):
2520 * tests/check/gst/gstutils.c:
2521 * tests/check/gst/gstvalue.c:
2522 * tests/check/libs/adapter.c:
2523 * tests/check/libs/basesrc.c:
2524 * tests/check/libs/collectpads.c:
2525 * tests/check/libs/controller.c:
2526 * tests/check/libs/gdp.c: (gst_dp_suite):
2527 * tests/check/libs/gstnetclientclock.c:
2528 * tests/check/libs/gstnettimeprovider.c:
2529 * tests/check/libs/libsabi.c: (libsabi_suite):
2530 * tests/check/libs/typefindhelper.c:
2531 * tests/check/pipelines/cleanup.c:
2532 * tests/check/pipelines/parse-launch.c:
2533 * tests/check/pipelines/simple-launch-lines.c:
2534 * tests/check/pipelines/stress.c: (stress_suite):
2537 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2539 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2540 * libs/gst/check/gstcheck.h:
2541 create a macro and function so that the simple unit test
2542 case can be just one macro to create main()
2544 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2546 * gst/gstbin.c: (gst_bin_restore_thyself):
2547 * gst/gstxml.c: (gst_xml_make_element):
2548 Fix deserialisation from XML. Set parent manually
2549 instead of using gst_bin_add(), since gst_bin_add()
2550 will unlink all pads of the element being added.
2553 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2555 Patch by: Peter Kjellerstedt <pkj at axis com>
2557 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2558 Fix missing g_strdup() and double free when using the
2559 --gst-plugin-load command line option (#346097).
2561 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2564 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2566 * libs/gst/net/gstnetclientclock.c:
2567 * libs/gst/net/gstnettimeprovider.c:
2568 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2570 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2572 * docs/manual/advanced-dataaccess.xml:
2573 Fix buffer probe example compilation in
2576 2006-06-22 Edward Hervey <edward@fluendo.com>
2578 * gst/gstelement.c: (gst_element_pads_activate):
2579 We need to deactivate src pads first and then sink pads.
2580 The reason is the src pads might be blocking while holding the streaming
2581 lock, so we need to deactivate them first so that deactivating the sink
2582 pads doesn't block (since it will require the streaming lock).
2584 2006-06-22 Wim Taymans <wim@fluendo.com>
2586 * libs/gst/base/gstbasetransform.c:
2587 (gst_base_transform_buffer_alloc):
2588 Forgot to remove two unneeded unrefs.
2589 Simplify a check _is_equal allready checks the obvious case.
2591 2006-06-22 Wim Taymans <wim@fluendo.com>
2593 * docs/design/part-block.txt:
2594 Some docs about what pad_block should do.
2596 2006-06-22 Wim Taymans <wim@fluendo.com>
2598 * gst/gstcaps.c: (gst_caps_replace):
2599 Fix crasher when passed NULL. Doc clarification.
2600 Optimize for the trivial case.
2602 * gst/gstpipeline.c: (gst_pipeline_change_state):
2605 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2606 Small documentation cleanup.
2608 * libs/gst/base/gstbasetransform.c:
2609 (gst_base_transform_buffer_alloc):
2610 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2611 is what we need and it avoids a whole lot of redundant
2612 refcount operations.
2614 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2616 Patch by: Philip Jägenstedt <philip at lysator liu se>
2618 * docs/manual/advanced-dataaccess.xml:
2619 Fix 'Embedding static elements' section to use
2620 GST_PLUGIN_DEFINE_STATIC (#345607).
2622 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2624 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2625 Attempt to 'fix' spuriously failing test case: it seems like the
2626 timeout of half a second is simply too small when the system is under
2627 load otherwise, and the timeout doesn't really seem to serve any
2628 particular purpose here. Give the pipeline a few seconds to preroll
2629 first, and then give it another half a second to go from PAUSED to
2630 PLAYING and marshal the message into the main thread.
2632 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2634 * tools/gst-feedback-m.m:
2635 Don't only use unversioned tools, try versioned tools as well
2638 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2640 * gst/gstbus.c: (gst_bus_class_init):
2641 Fix some typos, make docs more explicit.
2643 2006-06-20 Wim Taymans <wim@fluendo.com>
2645 * tests/check/gst/gstghostpad.c: (block_callback),
2646 (GST_START_TEST), (gst_ghost_pad_suite):
2647 Added some more ghostpad tests, mainly blocking
2650 2006-06-16 Wim Taymans <wim@fluendo.com>
2652 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2653 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2654 (gst_file_sink_event), (gst_file_sink_render):
2655 * plugins/elements/gstfilesink.h:
2656 Check if we can seek in the file instead of assuming
2657 we always can. Post an error when we are asked to seek in a
2658 non-seekable file (like a fifo). Fixes #343312.
2661 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2663 * tools/gst-launch.1.in:
2664 Un-garble (fourcc) bit in filtered caps section.
2666 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2668 * docs/manual/advanced-autoplugging.xml:
2669 * docs/manual/basics-helloworld.xml:
2670 * docs/manual/highlevel-components.xml:
2671 Don't leak bus reference in sample code.
2673 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2676 Add default for new --enable-plugin-docs switch.
2679 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2683 Use new ENABLE_PLUGIN_DOCS conditional.
2685 2006-06-14 Wim Taymans <wim@fluendo.com>
2687 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2688 Make it clear with a FIXME and a real define what the #if 0
2689 previously disabled.
2691 2006-06-14 Wim Taymans <wim@fluendo.com>
2693 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2694 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2695 * libs/gst/base/gstbasetransform.c:
2696 (gst_base_transform_sink_eventfunc):
2697 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2698 Don't randomly and silently reset a segment when the format
2699 changes as this is a bug somewhere upstream. Fixes #330379.
2701 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2703 Patch by: Wouter Paesen <wouter at kangaroot net>
2705 * libs/gst/controller/gstcontroller.c:
2706 (gst_controlled_property_new):
2707 Fix controlling of float properties (#344849).
2709 * tests/check/libs/controller.c:
2710 (gst_test_mono_source_get_property),
2711 (gst_test_mono_source_set_property),
2712 (gst_test_mono_source_class_init), (GST_START_TEST):
2713 While we're at it, add some float stuff to unit test.
2715 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2718 * docs/images/gdp-header.svg:
2720 * docs/libs/Makefile.am:
2721 * docs/libs/gdp-header.png:
2722 * libs/gst/dataprotocol/dataprotocol.c:
2723 add it to the API docs
2724 * docs/manual/intro-motivation.xml:
2727 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2729 * gst/gst.c: (scan_and_update_registry), (init_post):
2730 If the fork()'ed child process can't write the updated registry cache
2731 file to disk for some reason, make it exit with a failure exit code,
2732 so that the parent can then re-scan the plugins itself and update the
2733 registry structures in memory and work with that (rather than failing
2734 when creating elements because seemingly no plugins are available).
2735 Refactor registry scanning code into separate function for this and
2736 also separate fork() and non-fork() code paths. Fixes #344748.
2738 2006-06-13 Wim Taymans <wim@fluendo.com>
2740 * docs/manual/advanced-dataaccess.xml:
2741 Fix wrong PluginDesc. Fixes #344755.
2743 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2745 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2746 Fix silly bug that prevented us from creating
2747 ~/.gstreamer-0.10 and writing the registry in one
2748 go (the first call to g_mkstemp() would overwrite the
2749 placeholder in the template string, so the second call
2750 to g_mkstemp() after creating the missing directory
2751 would then error out with 'invalid argument').
2753 2006-06-13 Edward Hervey <edward@fluendo.com>
2755 * gst/gst.c: (init_post):
2758 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2760 * gst/glib-compat-private.h:
2761 * gst/glib-compat.c:
2762 * gst/glib-compat.h:
2763 * gst/gstvalue.c: (gst_value_serialize_flags):
2764 remove GLib 2.6 compatibility code
2766 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2768 * gst/parse/Makefile.am:
2769 Fix build with 'make -j N' even more (#340016).
2771 2006-06-12 Wim Taymans <wim@fluendo.com>
2773 * docs/gst/gstreamer-sections.txt:
2776 2006-06-12 Wim Taymans <wim@fluendo.com>
2778 * gst/gstsegment.c: (gst_segment_set_duration),
2779 (gst_segment_set_last_stop), (gst_segment_set_seek),
2780 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2781 (gst_segment_to_running_time), (gst_segment_clip):
2782 Use G_UNLIKELY to help the compiler a bit.
2784 2006-06-12 Wim Taymans <wim@fluendo.com>
2786 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2788 * gst/gstevent.c: (gst_event_get_type):
2790 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2792 constify quark registration strings. Fixes #344115
2793 Avoid unneeded type checking is _pad_push() by internally
2794 calling gst_pad_chain_unchecked().
2796 2006-06-12 Wim Taymans <wim@fluendo.com>
2798 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2799 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2800 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2801 (gst_buffer_is_span_fast), (gst_buffer_span):
2802 Init _type for consistency.
2803 Use _FLAGS macro to avoid type check.
2804 Avoid unneeded type checks in subbufer code.
2806 2006-06-12 Wim Taymans <wim@fluendo.com>
2808 * gst/gst.c: (gst_debug_help):
2809 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2810 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2811 (gst_plugin_feature_list_free):
2812 * gst/gstregistry.c: (gst_registry_add_plugin),
2813 (gst_registry_add_feature), (gst_registry_plugin_filter),
2814 (gst_registry_feature_filter), (gst_registry_find_plugin),
2815 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2816 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2817 * gst/gstregistryxml.c: (load_feature),
2818 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2819 * gst/gstminiobject.c: (gst_mini_object_unref),
2820 (gst_mini_object_replace), (gst_value_mini_object_free),
2821 (gst_value_mini_object_copy):
2822 Use _CAST macros to avoid unneeded type checking.
2823 Added some more G_UNLIKELY.
2825 2006-06-12 Wim Taymans <wim@fluendo.com>
2828 Avoid unneeded type checking.
2829 API: GST_BUFFER_IS_DISCONT
2831 * gst/gstminiobject.h:
2832 Avoid type check in flag accessor.
2834 * gst/gstelementfactory.h:
2836 * gst/gstpluginfeature.h:
2838 API: GST_ELEMENT_FACTORY_CAST
2839 API: GST_PLUGIN_CAST
2840 API: GST_PLUGIN_FEATURE_CAST
2842 2006-06-12 Wim Taymans <wim@fluendo.com>
2844 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2846 Add G_UNLIKELY in type registration.
2847 Avoid type check in _ref/_unref since that is also
2850 2006-06-12 Wim Taymans <wim@fluendo.com>
2852 * gst/gsterror.c: (gst_g_error_get_type):
2853 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2854 (gst_static_pad_template_get_type):
2855 * gst/gsttaglist.c: (gst_tag_list_get_type):
2856 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2857 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2858 * gst/gsturi.c: (gst_uri_handler_get_type):
2859 * gst/gstvalue.c: (gst_date_get_type):
2860 * gst/gstxml.c: (gst_xml_get_type):
2861 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2862 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2863 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2864 Add G_UNLIKELY in type registration.
2866 2006-06-12 Wim Taymans <wim@fluendo.com>
2868 * tools/gst-inspect.c: (print_signal_info):
2869 Properly print enum values.
2871 2006-06-12 Wim Taymans <wim@fluendo.com>
2873 * gst/gstinfo.c: (gst_debug_set_active),
2874 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2876 Add some G_[UN]LIKELY.
2877 Maintain __gst_debug_min to avoid formatting the arguments of
2878 debug messages that will be dropped anyway to avoid a lot of
2879 overhead from the debugging system.
2881 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2885 add missing files containing translatable strings, tell intltool about
2888 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2890 * tests/check/libs/.cvsignore:
2891 add test-binary to ignore list
2893 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2895 * docs/libs/gstreamer-libs-docs.sgml:
2896 reorder (put dp into a chapter) and indent
2898 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2903 === release 0.10.8 ===
2905 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2908 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2910 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2912 * gst/gst.c: (init_post):
2913 move pid declaration to declaration block
2915 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2917 * gst/gst.c: (init_post):
2918 use _exit() instead of exit() in our forked child; this ensures
2919 that none of the registered exit handlers from whatever is using
2920 GStreamer get executed. This fixes gnome-mixer-applet failing
2921 to load, because ORBit would shut down.
2922 Spotted by: Edward Hervey <edward@fluendo.com>
2923 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2926 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2931 === release 0.10.7 ===
2933 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2936 releasing 0.10.7, "Soepeke, ik zie ou"
2938 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2961 * win32/common/config.h:
2964 2006-06-07 Wim Taymans <wim@fluendo.com>
2966 * gst/gstindex.c: (gst_index_gtype_resolver):
2967 * tools/gst-xmlinspect.c: (print_plugin_info):
2968 Fix leak spotted by coverity checker. Fixes #343827
2969 Fix another other leak found by paolo borelli.
2971 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2973 * libs/gst/dataprotocol/dataprotocol.c:
2974 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2975 (gst_dp_version_get_type), (gst_dp_init),
2976 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2977 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2978 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2979 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2980 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2981 (gst_dp_packetizer_free):
2982 * libs/gst/dataprotocol/dataprotocol.h:
2983 API: add a GstDPPacketizer object, and create/free functions
2984 API: add GstDPVersion enum
2985 Add 1.0 event function that uses the string serialization
2986 Serialize more useful buffer flags
2989 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2991 * tests/check/Makefile.am:
2992 * tests/check/gst/gstabi.c:
2993 * tests/check/gst/struct_ppc64.h:
2994 * tests/check/libs/libsabi.c:
2995 * tests/check/libs/struct_ppc64.h:
2996 add ppc64 structure sizes
2998 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3000 * tests/check/Makefile.am:
3001 * tests/check/gst/gstabi.c:
3002 * tests/check/gst/struct_x86_64.h:
3003 * tests/check/libs/libsabi.c:
3004 * tests/check/libs/struct_x86_64.h:
3005 generate and add structure size lists for x86_64
3007 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
3009 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3010 * libs/gst/check/gstcheck.h:
3011 factor out the method from tests that checks size of structures,
3012 and add code to generate the header containing these sizes
3013 * tests/check/gst/gstabi.c: (GST_START_TEST):
3014 * tests/check/gst/struct_i386.h:
3015 * tests/check/libs/libsabi.c: (GST_START_TEST):
3016 * tests/check/libs/struct_i386.h:
3019 2006-06-06 Michael Smith <msmith@fluendo.com>
3022 Don't use c++-style comments, fixes #343929
3024 2006-06-05 Edward Hervey <edward@fluendo.com>
3027 plugin_paths is not used if we build without registry support.
3029 * gst/gstsegment.c: (gst_segment_copy):
3030 _copy() was always returning NULL...
3032 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3034 * libs/gst/dataprotocol/dataprotocol.c:
3035 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3036 (gst_dp_packet_from_event):
3039 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3041 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
3042 make sure we unset caps
3044 2006-06-02 Michael Smith <msmith@fluendo.com>
3046 * libs/gst/check/gstcheck.c: (gst_check_init),
3047 (gst_check_chain_func):
3048 * libs/gst/check/gstcheck.h:
3049 Add a cond/mutex to the check support lib, signal this whenever we
3050 add to the buffers list. This will allow tests to not busy-wait on
3053 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3055 * libs/gst/dataprotocol/dataprotocol.c:
3056 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3057 (gst_dp_packet_from_event):
3058 factor out some common header init code
3060 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
3062 * docs/libs/gstreamer-libs-sections.txt:
3063 * docs/libs/tmpl/gstdataprotocol.sgml:
3064 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
3065 * libs/gst/dataprotocol/dataprotocol.h:
3066 API: make gst_dp_crc() public
3068 2006-06-01 Stefan Kost <ensonic@users.sf.net>
3070 * plugins/indexers/gstindexers.c: (plugin_init):
3071 conditionally register fileindexer (fixes #343598)
3073 2006-06-01 Stefan Kost <ensonic@users.sf.net>
3075 * gst/gsttagsetter.h:
3076 Can't cast ifaces to a class
3078 * libs/gst/net/gstnetclientclock.h:
3079 * libs/gst/net/gstnettimeprovider.h:
3080 * plugins/elements/gstfakesink.h:
3081 * plugins/elements/gstfakesrc.h:
3082 * plugins/elements/gstfdsink.h:
3083 * plugins/elements/gstfdsrc.h:
3084 * plugins/elements/gstfilesink.h:
3085 * plugins/elements/gstfilesrc.h:
3086 * plugins/elements/gstidentity.h:
3087 * plugins/elements/gstqueue.h:
3088 * plugins/elements/gsttee.h:
3089 * plugins/indexers/gstfileindex.c:
3090 * plugins/indexers/gstmemindex.c:
3091 * tests/old/examples/plugins/example.h:
3092 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
3094 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
3096 * libs/gst/dataprotocol/dataprotocol.c:
3097 (gst_dp_header_from_buffer):
3098 make sure we zero the whole ABI-compatible area
3100 2006-06-01 Wim Taymans <wim@fluendo.com>
3102 Patch by: Alessandro Decina <alessandro at nnva dot org>
3104 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
3105 Make sure the EOS flag is cleared from pads after a flush
3106 or stop. Fixes #343538.
3108 * tests/check/libs/collectpads.c: (GST_START_TEST),
3109 (gst_collect_pads_suite):
3110 Added test for collectpads reusage after EOS.
3112 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
3115 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
3116 * win32/common/libgstbase.def:
3117 export gst_collect_pads_set_flushing
3118 * win32/common/libgstreamer.def:
3119 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
3120 gst_value_fraction_multiply
3121 * win32/vs6/gst_inspect.dsp:
3122 add a link to intl.lib
3124 2006-05-30 Wim Taymans <wim@fluendo.com>
3126 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3127 (gst_collect_pads_chain):
3128 Handle the case where a pad is removed from the collection
3129 that could cause the other pads to become collectable.
3131 2006-05-30 Wim Taymans <wim@fluendo.com>
3134 Clarify the use of _release_request_pad() and
3135 _get_request_pad() a bit better.
3137 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
3138 (gst_adapter_take_buffer):
3139 Fix some doc and comment typos.
3141 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3143 * docs/gst/gstreamer-sections.txt:
3144 * docs/libs/gstreamer-libs-sections.txt:
3145 add declared symbols
3147 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
3149 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3150 Add debug that can be enabled using a #define at the top of the file,
3151 for dumping stats about how late/early we were when waking up from
3152 waiting on the clock.
3154 2006-05-30 Wim Taymans <wim@fluendo.com>
3156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3157 When rebuilding the pad list, don't leak the previous list.
3159 2006-05-30 Wim Taymans <wim@fluendo.com>
3161 Patch by: Lutz Mueller <lutz at topfrose dot de>
3163 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3164 (gst_base_src_get_query_types), (gst_base_src_update_length):
3165 Publish supported query types.
3166 Update last_stop field in get_range mode so the position
3167 query works. Fixes #342321.
3169 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
3171 * docs/gst/gstreamer-sections.txt:
3172 * gst/gsttaglist.c: (_gst_tag_initialize):
3174 API: add GST_TAG_PREVIEW_IMAGE (#343341).
3176 2006-05-30 Wim Taymans <wim@fluendo.com>
3178 Patch by: Alessandro Decina <alessandro at nnva dot org>
3180 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3181 Unlock mutex when removing an unknown pad.
3184 * tests/check/Makefile.am:
3185 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3186 (push_event), (setup), (teardown), (GST_START_TEST),
3187 (gst_collect_pads_suite), (main):
3188 Added collecpads check, disabled for now as check crashes for
3191 2006-05-29 Wim Taymans <wim@fluendo.com>
3193 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3194 Don't leak pads lists.
3196 2006-05-29 Wim Taymans <wim@fluendo.com>
3198 * docs/libs/gstreamer-libs-sections.txt:
3199 * libs/gst/base/gstcollectpads.c:
3200 (gst_collect_pads_set_flushing_unlocked),
3201 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3202 (gst_collect_pads_stop):
3203 * libs/gst/base/gstcollectpads.h:
3204 API: gst_collect_pads_set_flushing()
3205 Added api to set the pads to flushing, useful for seeking
3206 code in elements using collectpads.
3207 Clear segment when receiving a flush.
3209 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
3211 * gst/gst.c: (add_path_func), (init_post):
3212 Don't scan registry paths passed via --gst-plugin-path immediately
3213 (will crash, because absolutely nothing is set up and no types are
3214 registered etc.); do this later in init_post(). Fixes #343057.
3216 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
3218 * gst/gst.c: (init_post):
3219 if we have fork, fork while reading/rebuilding the registry
3220 so the parent doesn't take the hit of having all plugins loaded
3221 in memory. Fixes #342777.
3223 Check if we have fork()
3224 * win32/common/config.h.in:
3227 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3229 * plugins/elements/gstelements.c:
3230 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3231 (gst_file_src_init), (gst_file_src_set_property),
3232 (gst_file_src_get_property), (gst_file_src_start):
3233 * plugins/elements/gstfilesrc.h:
3234 API: GstFileSrc::use-mmap
3236 Add a use-mmap property to enable easier testing of all code paths.
3237 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3238 in the absence of gnomevfssrc. (Closes #340501)
3240 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3242 * tools/gst-inspect.c:
3243 Add missing include, removes warning of ngettext not being defined on
3246 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3248 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3249 Handle NULL input and output pointers silently as a failed conversion,
3250 rather than g_warnings.
3252 2006-05-25 Wim Taymans <wim@fluendo.com>
3254 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3255 Initialize variable before using. Fixes #342820.
3257 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
3259 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3260 Fix off-by-one bug that would only allow peeks of N-1 bytes
3261 from the start even if the buffer to typefind on contains
3262 in fact N bytes of data (makes vorbis typefinding from a
3263 vorbis identification header buffer work).
3265 * tests/check/Makefile.am:
3266 * tests/check/libs/.cvsignore:
3267 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3268 (gst_typefindhelper_suite), (main), (foobar_typefind),
3270 Add very basic unit test for gst_type_find_helper_for_buffer()
3271 that checks for the problem fixed above.
3273 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
3275 * tools/gst-inspect.c: (print_interfaces),
3276 (print_element_properties_info), (print_element_list), (main):
3277 add more translatable strings
3279 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
3281 Patch by: Julien Moutte <julien at moutte net>
3283 * docs/gst/gstreamer-sections.txt:
3284 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3286 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3287 (gst_fake_sink_preroll):
3288 * plugins/elements/gstfakesink.h:
3289 API: Add new GstFakeSink::preroll-handoff signal (#337100).
3291 2006-05-23 Wim Taymans <wim@fluendo.com>
3293 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3295 Added _CUSTOM error and success GstFlowReturn that can be
3296 used be elements internally.
3297 Added macro to check for SUCCESS flowreturns.
3298 API: GST_FLOW_CUSTOM_SUCCESS
3299 API: GST_FLOW_CUSTOM_ERROR
3300 API: GST_FLOW_IS_SUCCESS
3302 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3303 Added check for GstFlowReturn sanity.
3305 2006-05-23 Wim Taymans <wim@fluendo.com>
3307 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3309 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3310 (gst_collect_pads_event):
3311 clear/reset segment info in FLUSH_STOP.
3314 2006-05-22 Stefan Kost <ensonic@users.sf.net>
3316 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3317 (gst_collect_pads_check_collected):
3318 Flush queued buffer on _stop(), fixes playing again (#342454)
3320 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
3322 * tests/check/gst/gststructure.c: (GST_START_TEST),
3323 (gst_structure_suite):
3324 add a test for a complete structure
3326 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3328 * docs/faq/developing.xml:
3330 * docs/faq/troubleshooting.xml:
3331 * docs/faq/using.xml:
3332 Some minor FAQ updates that won't change the fact that
3333 our FAQ is badly structured, full of information hardly
3334 anyone new to GStreamer needs to know and lacking lots
3335 of information people constantly ask for.
3337 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
3339 * gst/gstpad.c: (gst_pad_set_caps):
3340 Short-circuit gst_pad_set_caps if setting the existing
3341 caps pointer again, and avoid printing debug and
3342 reffing/unreffing the caps.
3344 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3345 There's actually no need to set the caps before pushing -
3346 the acceptcaps method will handle it anyway.
3348 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3350 * docs/gst/gstreamer-sections.txt:
3351 * win32/common/libgstreamer.def:
3352 * gst/gstutils.c: (gst_element_seek_simple):
3354 API: add gst_element_seek_simple() (#342238).
3356 2006-05-18 Edward Hervey <edward@fluendo.com>
3358 * gst/gsttypefind.c: (gst_type_find_get_type):
3359 * gst/gsttypefind.h:
3360 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3361 registered for GstTypeFind pointers. This allows wrapping the structure
3362 in bindings (i.e. gst-python).
3364 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3366 * gst/gsttagsetter.c:
3367 Docs additions and fixes (see #339918).
3369 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3371 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3372 The caps intersection algorithm can produce multiple copies of the
3373 caps. Until that is fixed, we need to simplify the result to be
3374 sure whether the allowed caps are fixed or not.
3376 * plugins/elements/gstqueue.c: (gst_queue_init),
3377 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3378 (gst_queue_push_one):
3379 Proxied buffer alloc should not set the caps on the source pad.
3380 When pushing buffers, we always accept the caps change that triggers.
3381 This prevents negotiation errors caused by caps changing mid-stream
3382 and then being refused on our source pad (because upstream is now
3383 refusing those caps).
3385 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3387 * tests/examples/helloworld/helloworld.c: (main):
3388 Must plug audioconvert and audioresample between decoder
3391 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
3393 * gst/gstregistryxml.c: (read_string), (load_pad_template),
3394 (load_feature), (load_plugin):
3395 Allow empty strings for some of the plugin fields so we don't
3396 drop valid plugin entries that were written out correctly
3399 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
3401 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3402 Use g_remove and g_rename instead of remove and rename that don't
3403 handle utf8 characters. rename was failing for users who had specific
3404 characters in their name then the registry was built at each
3406 * win32/vs6/gst_inspect.dsp:
3407 * win32/vs6/gst_launch.dsp:
3408 * win32/vs6/libgstbase.dsp:
3409 * win32/vs6/libgstcoreelements.dsp:
3410 * win32/vs6/libgstreamer.dsp:
3411 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
3412 build of libgstreamer and clean unused libraries in projects link
3415 2006-05-17 Edward Hervey <edward@fluendo.com>
3417 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3418 The queue is not responsible for pushing an EOS when receiving a fatal
3419 flow error. It's up to the real element driving the pipeline to do that.
3421 2006-05-16 Edward Hervey <edward@fluendo.com>
3423 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3424 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3425 buffer returned a fatal error. It should just send an EOS and stop
3427 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3428 when pushing buffers on the queue and will be able to handle the event.
3430 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
3432 * docs/manual/basics-bins.xml:
3433 * docs/manual/basics-init.xml:
3434 Fix typos and minor errors in sample code (#341856).
3436 2006-05-16 Wim Taymans <wim@fluendo.com>
3438 * docs/design/part-qos.txt:
3439 Fix indexes in formulas to make more sense.
3441 2006-05-15 Wim Taymans <wim@fluendo.com>
3443 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3444 Don't report POSITION based on clock time if sync is
3447 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
3450 Add cast to make compiler happy - refcount variable was a gint
3451 in GstObject but is a guint in GObject and g_atomic_int_get()
3454 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
3456 * gst/parse/Makefile.am:
3457 chain commands using &&, which also makes parallel make work
3459 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
3461 * docs/gst/gstreamer-sections.txt:
3467 === release 0.10.6 ===
3469 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
3472 releasing 0.10.6, "Take the cannoli"
3474 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
3476 * tools/gst-launch.c: (print_tag):
3477 Fix use of uninitialized variable in the hypothetical
3478 case that some broken plugin creates a GST_TAG_IMAGE
3479 tag containing a NULL buffer (#341667).
3481 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
3483 * tools/gst-launch.c: (print_tag):
3484 Print something more intelligible for image tags when
3485 using the -t switch (#341556).
3487 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3492 define GST_MAJORMINOR so we have it available in win32/common/config.h
3493 Possibly remove it from our Makefile.am files later
3494 * win32/common/config.h:
3495 * win32/common/config.h.in:
3496 added GST_MAJORMINOR
3497 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3498 * win32/common/gstversion.h:
3501 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3504 Update win32 files listing.
3505 * win32/common/gstversion.h:
3506 Add GST_MAJORMINOR definition.
3507 * win32/common/libgstreamer.def:
3508 Add new exported functions.
3510 2006-05-12 Michael Smith <msmith@fluendo.com>
3512 * gst/gstplugin.c: (gst_plugin_load_file):
3513 If an so file has no plugin entry point, unload the module.
3515 2006-05-11 Wim Taymans <wim@fluendo.com>
3517 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3518 (gst_queue_set_property):
3519 Don't forget to signal the _chain or _loop function
3520 when the queue size or thresholds change since that might
3521 cause them to make progres again.
3523 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3525 * gst/gstclock.c: (gst_clock_class_init):
3526 * gst/gstindex.c: (gst_index_class_init):
3527 * gst/gstobject.c: (gst_object_class_init):
3528 * gst/gstpad.c: (gst_pad_class_init):
3529 * gst/gstpipeline.c: (gst_pipeline_class_init):
3530 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3531 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3532 * libs/gst/base/gstbasetransform.c:
3533 (gst_base_transform_class_init):
3534 * libs/gst/net/gstnetclientclock.c:
3535 (gst_net_client_clock_class_init):
3536 * libs/gst/net/gstnettimeprovider.c:
3537 (gst_net_time_provider_class_init):
3538 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3539 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3540 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3541 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3542 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3543 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3544 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3545 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3546 * plugins/elements/gsttee.c: (gst_tee_class_init):
3547 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3548 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3549 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3551 2006-05-11 Wim Taymans <wim@fluendo.com>
3553 * gst/gstbuffer.c: (_gst_buffer_initialize):
3554 Register subbufer along with the buffer type so that
3555 it does not accidentally gets registered from N
3556 different streaming threads in a non threadsafe way.
3558 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3563 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3564 gst_event_ref() and gst_message_ref() functions again
3565 (ugly hack, please do fix if there's a better way besides
3566 overrides.txt, which doesn't seem to work).
3568 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3570 * libs/gst/check/gstcheck.h:
3571 add an assert for setting state to avoid lots of repetitive code
3574 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3576 * gst/gstvalue.c: (gst_value_serialize_flags):
3577 fix a leak if no flags are set
3578 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3581 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3583 * docs/manual/basics-pads.xml:
3584 Expand a bit on caps and filtered links and update
3585 examples that were still using the no longer existing
3586 gst_pad_link_filtered() (#338206).
3588 2006-05-10 Wim Taymans <wim@fluendo.com>
3590 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3591 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3592 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3593 (gst_collect_pads_stop):
3594 * libs/gst/base/gstcollectpads.h:
3595 No need to call _stop in _finalize.
3596 Iterate the main pad list in _finalize.
3597 Added some more debug.
3598 Free lists and data in the right order.
3599 Also free data whem doing _remove_pad when stopped for
3600 backward compatibility protect ::started with PAD_LOCK as
3603 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3605 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3606 (gst_structure_parse_value):
3608 rename a method so that it actually says what it does better
3610 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3612 * gst/gstevent.c: (_gst_event_initialize):
3613 * gst/gstformat.c: (_gst_format_initialize):
3614 make sure some essential types used by events are registered
3615 as part of gst_init()
3616 * gst/gstvalue.c: (gst_value_serialize_flags):
3617 if no flags are set, serialize them to a value that represents NONE
3618 so that deserializing them works
3619 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3620 add tests for serialization and deserialization of flags
3622 2006-05-10 Wim Taymans <wim@fluendo.com>
3624 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3625 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3626 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3627 (gst_collect_pads_event), (gst_collect_pads_chain):
3630 Catch and return errors from the collect function
3631 Refuse data on eos pads.
3633 2006-05-10 Edward Hervey <edward@fluendo.com>
3635 * gst/gstinterface.h:
3636 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3637 GInterface type checking.
3638 They were previously using non-defined macros.
3640 2006-05-09 Wim Taymans <wim@fluendo.com>
3642 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3643 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3644 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3645 (gst_collect_pads_start), (gst_collect_pads_stop),
3646 (gst_collect_pads_peek), (gst_collect_pads_pop),
3647 (gst_collect_pads_available), (gst_collect_pads_read),
3648 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3649 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3650 (gst_collect_pads_chain):
3651 * libs/gst/base/gstcollectpads.h:
3652 Clean up the mess that is collectpads, add comments and
3653 FIXMEs where needed.
3654 Maintain a separate pad list so we can add pads while
3655 collecting the other ones. For this we need a new separate
3657 Fix memory leak in finalize.
3658 Refactor some weird code to set/unset pad flushing flags, mark
3660 Don't crash in _available, _read, _flush when we're EOS.
3662 * tests/check/libs/.cvsignore:
3663 Ignore adapter check binary.
3665 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3667 * gst/gstindex.c: (gst_index_resolver_get_type):
3668 * plugins/elements/gstfakesink.c:
3669 (gst_fake_sink_state_error_get_type):
3670 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3671 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3672 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3673 Const-ify GEnumValue arrays.
3675 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3677 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3678 Add test case for flags + gst_buffer_make_metadata_writable().
3680 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3682 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3683 gst_buffer_make_metadata_writable() should maintain the
3684 buffer flags (those that make sense at least) (see #340859).
3686 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3688 * tools/gst-inspect.c:
3689 * tools/gst-launch.c:
3690 * tools/gst-typefind.c:
3691 * tools/gst-xmlinspect.c:
3693 Fix up includes: need to include stdlib.h in tools.h for exit().
3695 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3697 * gst/gsttaglist.c: (_gst_tag_initialize):
3699 API: add GST_TAG_IMAGE tag (#340721).
3701 2006-05-08 Wim Taymans <wim@fluendo.com>
3704 Added some docs for the segment query.
3706 2006-05-08 Wim Taymans <wim@fluendo.com>
3708 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3709 (gst_base_src_loop), (gst_base_src_change_state):
3710 Always push non-flushing serialized events in the streaming
3713 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3715 * gst/gsterror.c: (_gst_stream_errors_init):
3716 Add a missing error string.
3718 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3720 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3721 Add applied_rate to the debug
3723 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3724 Copy applied_rate into the outgoing NEWSEGMENT event
3726 2006-05-08 Wim Taymans <wim@fluendo.com>
3728 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3730 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3731 (gst_base_sink_change_state):
3732 call ::unlock before taking the PREROLL_LOCK so we can safely
3733 handle elements that lock in ::render.
3736 2006-05-08 Edward Hervey <edward@fluendo.com>
3738 * autogen.sh: (CONFIGURE_DEF_OPT):
3739 Darwin's libtoolize is in fact called glibtoolize.
3740 Adding glibtoolize to the list of accepted names for libtoolize.
3742 2006-05-08 Wim Taymans <wim@fluendo.com>
3744 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3745 Unify error handling, don't post an error message
3746 when a push() returns EOS but perform our normal EOS
3747 handling code. Fixes #340772.
3749 2006-05-08 Wim Taymans <wim@fluendo.com>
3751 * docs/design/part-overview.txt:
3752 Make upsteam/downstream concepts more clear.
3753 Give an example of serialized/non-serialized events.
3755 * docs/design/part-events.txt:
3756 * docs/design/part-streams.txt:
3757 Mention applied_rate.
3759 * docs/design/part-trickmodes.txt:
3760 Mention applied rate, flesh out some more use cases.
3762 * gst/gstevent.c: (gst_event_new_new_segment),
3763 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3764 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3765 (gst_event_parse_tag), (gst_event_new_buffer_size),
3766 (gst_event_parse_buffer_size), (gst_event_new_qos),
3767 (gst_event_parse_qos), (gst_event_parse_seek),
3768 (gst_event_new_navigation):
3770 Add applied_rate field to NEWSEGMENT event.
3771 API: gst_event_new_new_segment_full()
3772 API: gst_event_parse_new_segment_full()
3774 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3775 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3776 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3778 Add applied_rate to GstSegment structure.
3779 Make calculation of stream_time and running_time more correct
3780 wrt rate/applied_rate.
3782 API: GstSegment::applied_rate field
3783 API: gst_segment_set_newsegment_full();
3785 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3786 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3787 * libs/gst/base/gstbasetransform.c:
3788 (gst_base_transform_sink_eventfunc),
3789 (gst_base_transform_handle_buffer):
3790 Parse and use applied_rate in the GstSegment field.
3792 * tests/check/gst/gstevent.c: (GST_START_TEST):
3793 Add check for applied_rate field.
3795 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3796 (gstsegments_suite):
3797 Add more checks for various GstSegment operations.
3799 2006-05-08 Wim Taymans <wim@fluendo.com>
3801 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3802 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3803 (gst_base_sink_get_position), (gst_base_sink_change_state):
3804 Store the sync time of the buffer end position separatly in a
3805 new variable eos_rtime so we can properly sync the EOS event.
3807 Fix the docs for gst_base_sink_set_qos_enabled().
3808 Don't set segment start to invalid value when we receive a
3809 non TIME newsegment.
3810 get closer to handling position reporting for negative rates
3813 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3816 Docs about how to print caps for debug purposes.
3818 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3819 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3821 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3824 use full enum names and preprend a '%' in docs strings to make recent
3825 gtk-doc turn that into a link
3827 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3829 * docs/manual/basics-bins.xml:
3830 * docs/manual/basics-bus.xml:
3831 * docs/manual/basics-pads.xml:
3832 Some typo fixes, some additions, some clarifications.
3834 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3836 * tools/gst-inspect.c: (main):
3837 * tools/gst-launch.c: (main):
3838 * tools/gst-run.c: (main):
3839 * tools/gst-typefind.c: (main):
3840 * tools/gst-xmlinspect.c: (main):
3841 Use the string passed to g_option_context_new() for
3842 what it's intended for - the program name is already
3845 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3847 * tools/Makefile.am:
3848 * tools/gst-inspect.c: (main):
3849 * tools/gst-launch.c: (main):
3850 * tools/gst-xmlinspect.c: (main):
3852 Add back --version command line option (#340460).
3854 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3855 Add --version option and use GOption for argument parsing; refactor a
3856 bit; accept directories as arguments and recurse into them; lastly,
3857 print a decent error message when things go wrong.
3859 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3861 * docs/manual/basics-bins.xml:
3862 Don't mention GstThread (#340611)
3863 * docs/manual/basics-elements.xml:
3864 Update link to GObject tutorial (#340607)
3866 2006-05-05 Wim Taymans <wim@fluendo.com>
3869 * gst/gstminiobject.c:
3870 Add note about refcounting and miniobject/buffer writeability
3871 to docs. Fixes #340604
3873 * gst/gstelementfactory.h:
3874 Added some explanation about @klass.
3876 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3878 * docs/manual/intro-motivation.xml:
3879 * docs/manual/manual.xml:
3880 Avoid CORBA & Bonobo references (#340598)
3882 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3884 * docs/manual/basics-bus.xml:
3885 * docs/manual/basics-pads.xml:
3886 Fix up some inaccuracies and omissions (#340609)
3888 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3890 * gst/gstghostpad.c:
3891 Small typo in docs (#340625)
3893 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3895 * gst/parse/Makefile.am:
3896 Make 'make -j' proof (see #340698).
3898 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3901 Require GLib-2.8 here as well.
3903 2006-05-05 Wim Taymans <wim@fluendo.com>
3905 * gst/glib-compat.c:
3906 * gst/gst.c: (init_pre):
3907 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3908 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3909 (gst_object_dispatch_properties_changed):
3911 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3912 * gst/gststructure.c: (gst_structure_set_valist):
3913 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3914 Remove pre glib2.8 compatibility, fixes #340508
3916 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3919 Mention type of tags in doc blurbs.
3921 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3923 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3924 (gst_pad_configure_src), (gst_pad_push):
3925 Restore acceptcaps checking behaviour now that good plugins have
3928 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3930 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3941 * gst/parse/Makefile.am:
3942 * libs/gst/base/gstadapter.c:
3943 * libs/gst/base/gstbasesrc.c:
3944 * libs/gst/base/gstpushsrc.c:
3945 * libs/gst/base/gsttypefindhelper.c:
3946 * plugins/elements/gstfakesrc.c:
3947 * plugins/elements/gstidentity.c:
3948 Make sure gstprivate.h and/or config.h are
3949 always included first, otherwise some of our
3950 defines (like _FILE_OFFSET_BITS) might be
3951 redefined in the system headers. Fixes build
3952 on opensolaris (#340016).
3954 2006-05-04 Wim Taymans <wim@fluendo.com>
3956 * docs/libs/gstreamer-libs-sections.txt:
3957 API: addition: gst_adapter_take_buffer()
3959 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3960 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3961 (gst_adapter_available_fast):
3962 * libs/gst/base/gstadapter.h:
3963 Prepare for optimizing the hell out of this hugely inefficient
3965 Added gst_adapter_take_buffer() so we can at least start thinking
3966 about subbuffering and merging.
3967 Added some comments.
3969 * tests/check/Makefile.am:
3970 * tests/check/libs/adapter.c: (GST_START_TEST),
3971 (gst_adapter_suite), (main):
3972 Added GstAdapter check.
3974 2006-05-04 Wim Taymans <wim@fluendo.com>
3976 * docs/design/part-overview.txt:
3977 Fix some typos, add blurb about buffer flags.
3979 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3981 * docs/libs/gstreamer-libs-sections.txt:
3982 make sure GstBaseTransformClass shows up in the docs
3983 * libs/gst/base/gstbasetransform.c:
3984 * libs/gst/base/gstbasetransform.h:
3985 move docs so gtk-doc picks it up now
3987 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3989 * docs/libs/gstreamer-libs-sections.txt:
3990 add missing symbols to docs
3992 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3994 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3995 back out the newsegment handling change, see #340060 for ongoing
3998 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
4000 * tools/gst-run.c: (get_candidates), (main):
4001 Fix wrong g_file_test() usage (see glib docs for why it doesn't
4002 work); fix typo in error message. Fixes #340079.
4004 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
4006 * common/Makefile.am:
4008 * docs/faq/Makefile.am:
4009 * docs/gst/Makefile.am:
4010 * docs/libs/Makefile.am:
4011 * docs/manual/Makefile.am:
4012 * docs/plugins/Makefile.am:
4013 * docs/pwg/Makefile.am:
4014 * docs/slides/Makefile.am:
4016 * common/upload.mak:
4017 move upload.mak to common
4019 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
4021 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4022 add more asserts on refcounts
4023 do more cleanup at end of tests
4024 fix test leaks showing in FC5
4026 2006-04-29 Stefan Kost <ensonic@users.sf.net>
4028 * plugins/elements/gsttypefindelement.c:
4029 (gst_type_find_element_handle_event):
4030 reverted wrong change and reflowed code to avoid others falling into
4033 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4035 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
4036 fix changelog entry about last collectpads change,
4037 add notes about proper fix
4039 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4042 * gst/gstregistry.c: (gst_registry_scan_path_level),
4043 (gst_registry_scan_path):
4044 * gst/gstregistry.h:
4045 only write out registry if it has changed, fixes #338339
4047 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4050 * gst/gstpipeline.c:
4051 * plugins/elements/gstcapsfilter.c:
4052 * plugins/elements/gstfakesink.c:
4053 * plugins/elements/gstfakesrc.c:
4054 * plugins/elements/gstfdsink.c:
4055 * plugins/elements/gstfdsrc.c:
4056 * plugins/elements/gstfilesink.c:
4057 * plugins/elements/gstfilesrc.c:
4058 * plugins/elements/gstidentity.c:
4059 * plugins/elements/gstqueue.c:
4060 * plugins/elements/gsttee.c:
4061 * plugins/elements/gsttypefindelement.c:
4062 (gst_type_find_element_handle_event):
4063 make GstElementDetails const
4065 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4067 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4068 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4069 (gst_collect_pads_is_collected), (gst_collect_pads_event):
4070 more detailed debug and formatting cleanup,
4071 forward newsegments to src-pad (so that e.g. adder not eats them)
4073 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4075 * gst/gstutils.c: (gst_element_link_pads):
4078 2006-04-28 Stefan Kost <ensonic@users.sf.net>
4080 * libs/gst/controller/gstcontroller.c:
4081 (gst_controller_sync_values):
4083 * tests/check/libs/controller.c: (GST_START_TEST),
4084 (gst_controller_suite):
4085 a new test for live value handling
4087 2006-04-28 Wim Taymans <wim@fluendo.com>
4089 * gst/gstutils.c: (push_and_ref):
4090 Added some more docs.
4091 Fix refcount issue whith gst_element_found_tags() helper
4092 function. Fixes #338335
4094 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4095 Added testsuite for gst_element_found_tags().
4097 2006-04-28 Michael Smith <msmith@fluendo.com>
4099 * gst/gstvalue.c: (gst_value_serialize_flags):
4100 Avoid NULL dereference when trying to serialize flags containing
4103 2006-04-28 Michael Smith <msmith@fluendo.com>
4105 * plugins/elements/gsttypefindelement.c:
4106 (gst_type_find_element_handle_event):
4107 If we get EOS before any data is accumulated, don't use
4108 uninitialised local variables.
4110 2006-04-28 Michael Smith <msmith@fluendo.com>
4112 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4113 (gst_dp_event_from_packet):
4114 Fixes in reading/writing events over GDP (not currently used?) -
4115 dereferencing NULL events for unknown/invalid event types, memory
4116 leak, and change g_warning to GST_WARNING.
4118 2006-04-28 Wim Taymans <wim@fluendo.com>
4120 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
4121 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4122 (gst_base_sink_get_position), (gst_base_sink_change_state):
4123 When frame dropping is enabled, we should not ignore frames
4125 Update some documentation.
4127 2006-04-28 Wim Taymans <wim@fluendo.com>
4129 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4130 (gst_base_src_send_event), (gst_base_src_change_state):
4131 Documentation updates.
4133 2006-04-28 Wim Taymans <wim@fluendo.com>
4135 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4136 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
4137 handle EAGAIN, EINTR and short writes correctly. Also clean
4138 up some error cases, avoid a deadlock on bad file descriptors and
4139 use GST_DEBUG_OBJECT.
4142 2006-04-28 Wim Taymans <wim@fluendo.com>
4144 * gst/gstvalue.c: (gst_value_serialize_buffer),
4145 (gst_value_deserialize_buffer):
4146 Don't try to serialize a GValue with a NULL buffer.
4149 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4150 Added check for serialisation of NULL buffers.
4152 2006-04-28 Wim Taymans <wim@fluendo.com>
4154 * gst/gstminiobject.c: (gst_value_take_mini_object):
4155 Taking a NULL miniobject is valid, fix the case where
4156 we try to unref the NULL miniobject.
4158 2006-04-28 Wim Taymans <wim@fluendo.com>
4160 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4162 * gst/gstbin.c: (gst_bin_handle_message_func):
4164 Don't leak bin refcount when a state recalc is
4165 in progress and we delay another one #339808.
4167 2006-04-28 Wim Taymans <wim@fluendo.com>
4169 * docs/design/part-TODO.txt:
4170 Mention QoS as an ongoing work item.
4172 * docs/design/part-buffering.txt:
4173 New doc about buffering that needs to be fleshed out
4176 * docs/design/part-qos.txt:
4177 More QoS policy for decoders/demuxers/transforms
4179 * docs/design/part-trickmodes.txt:
4182 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4187 === release 0.10.5 ===
4189 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4192 releasing 0.10.5, "Fogo"
4194 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
4196 patch by: Wim Taymans
4198 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4199 (gst_pad_configure_src), (gst_pad_push):
4200 * gst/gstpipeline.c: (gst_pipeline_init):
4201 Fix internal data flow errors. Fixes #338711.
4203 2006-04-12 Wim Taymans <wim@fluendo.com>
4205 * tests/check/gst/gstelement.c: (GST_START_TEST):
4206 Don't leak the factory.
4208 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4211 * win32/common/config.h:
4214 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
4216 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4217 (gst_controller_unset_all):
4218 Free allocated GstTimedValues when freeing list nodes.
4219 Should fix leaks 'make check-valgrind' complains about.
4221 * win32/common/libgstcontroller.def:
4222 Add gst_controller_unset_all.
4224 2006-04-11 Stefan Kost <ensonic@users.sf.net>
4226 * docs/libs/gstreamer-libs-sections.txt:
4227 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4228 (gst_controller_unset_all):
4229 * libs/gst/controller/gstcontroller.h:
4230 API: Added new method gst_controller_unset_all()
4231 fixed gst_controller_unset()
4232 * tests/check/libs/controller.c: (GST_START_TEST),
4233 (gst_controller_suite):
4234 Added two testcases for new and fixed method
4236 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
4238 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4239 MSG_DONTWAIT is not defined on Cygwin, so work
4240 around that (fixes #317048).
4242 2006-04-11 Wim Taymans <wim@fluendo.com>
4244 * gst/gstelementfactory.c: (gst_element_register),
4245 (gst_element_factory_create), (gst_element_factory_make):
4248 Updated docs (Fixes #131079)
4250 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4253 * tests/check/gst/gstelement.c: (GST_START_TEST),
4254 (gst_element_suite):
4255 Added testcase for elementfactory class field.
4257 2006-04-10 Wim Taymans <wim@fluendo.com>
4260 Added some more docs.
4262 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4263 (gst_base_sink_reset_qos):
4264 Calculate more accurate rate values.
4266 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
4268 * gst/gst_private.h:
4269 add a new #ifdef to use __declspec(dllimport) only for
4270 other modules and not for gstreamer core
4271 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4272 use gst_guint64_to_gdouble for conversion
4273 * win32/common/libgstreamer.def:
4274 add new exported functions
4275 * win32/vs6/gst_inspect.dsp:
4276 * win32/vs6/gst_launch.dsp:
4277 * win32/vs6/libgstbase.dsp:
4278 * win32/vs6/libgstcontroller.dsp:
4279 * win32/vs6/libgstcoreelements.dsp:
4280 * win32/vs6/libgstdataprotocol.dsp:
4281 * win32/vs6/libgstnet.dsp:
4282 update project files
4284 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4286 * gst/gstbuffer.c: (gst_subbuffer_class_init):
4287 * gst/gstclock.c: (gst_clock_class_init):
4288 * gst/gstelement.c: (gst_element_class_init):
4289 * gst/gstindex.c: (gst_index_class_init):
4290 * gst/gstindexfactory.c: (gst_index_factory_class_init):
4291 * gst/gstobject.c: (gst_object_class_init),
4292 (gst_signal_object_class_init):
4293 * gst/gstpad.c: (gst_pad_class_init):
4294 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4295 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4296 * gst/gstregistry.c: (gst_registry_class_init):
4297 * gst/gstsystemclock.c: (gst_system_clock_class_init):
4298 * gst/gsttask.c: (gst_task_class_init):
4299 * gst/gstxml.c: (gst_xml_class_init):
4300 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4301 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4302 (gst_base_src_loop):
4303 * libs/gst/controller/gstcontroller.c:/
4304 (_gst_controller_class_init):
4305 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4306 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4307 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4308 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4309 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4310 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4312 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
4314 * gst/gstpad.c: (gst_pad_link):
4315 Must set peer pads before calling the link function, otherwise
4316 a task started from a link function might get a flow-not-linked
4317 result when trying to push because the other thread where the
4318 linking happens hasn't had a chance to set the peers yet. This
4319 might happen for example when a queue gets linked to a downstream
4320 element, as queue starts a streaming task when its source pad
4321 gets linked. Happens in real life when playing back flac/musepack
4322 files in playbin (#332390).
4324 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4328 * libs/gst/base/gstadapter.h:
4329 * libs/gst/base/gstbasesink.h:
4330 * libs/gst/base/gstbasesrc.h:
4331 * libs/gst/base/gstbasetransform.h:
4332 * libs/gst/base/gstcollectpads.h:
4333 * libs/gst/base/gstpushsrc.h:
4334 Fix broken GObject macros
4336 2006-04-07 Wim Taymans <wim@fluendo.com>
4338 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4339 Initialize start and stop times, thanks valgrind.
4341 2006-04-07 Wim Taymans <wim@fluendo.com>
4343 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4344 Be a bit nicer to badly behaving upstream elements that expect
4345 us to deal with non TIME segments and timestamps (such as fakesrc
4348 2006-04-07 Wim Taymans <wim@fluendo.com>
4351 Small documentation clarification about the signal watch.
4353 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4354 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4355 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4356 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4357 (gst_base_sink_get_position_last),
4358 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4359 Convert and store timestamps in stream time and running time, the
4360 raw timestamps are not usefull, also document this better.
4361 Use different window sizes for good and bad QoS observations so
4362 we react to badness a little quicker.
4363 Keep track of the amount of rendered and dropped buffers.
4364 Send QoS timestamps in running time.
4366 * libs/gst/base/gstbasetransform.c:
4367 (gst_base_transform_sink_eventfunc),
4368 (gst_base_transform_handle_buffer):
4369 Compare QoS timestamps against running time.
4371 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4376 2006-04-06 Michael Smith <msmith@fluendo.com>
4378 * gst/gstpad.c: (gst_pad_set_property):
4379 Use g_value_get_object() instead of g_value_dup_gst_object(),
4380 to avoid double-reffing the pad template (which we then sink,
4381 so this worked previously if (and only if) the pad template
4384 * gst/gstpadtemplate.c: (gst_pad_template_init),
4385 (gst_pad_template_pad_created):
4386 Never return floating references to pad templates, create
4387 them as initially-sunken.
4389 Document an extra function (and make this stop sinking our
4390 pad template, since that is now guaranteed to do nothing,
4391 since we created it sunken).
4393 * gst/gstghostpad.c:
4396 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4398 * gst/gstinfo.c: (__gst_in_valgrind):
4401 * plugins/elements/gsttypefindelement.c:
4402 (gst_type_find_element_chain):
4403 Don't leak buffer caps.
4405 2006-04-06 Michael Smith <msmith@fluendo.com>
4407 * gst/parse/grammar.y:
4408 Fix a leak in parse-launch for any source-or-sink named element
4411 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4412 Unref the pipeline if it exists after we've failed parsing.
4414 2006-04-05 Michael Smith <msmith@fluendo.com>
4416 * gst/gstpipeline.c: (gst_pipeline_init):
4417 When we create a pipeline bus, initially create it in flushing mode.
4418 Fixes leaks in at least one test, and makes a new pipeline work the
4419 same as one that has gone to READY and then back to NULL.
4424 2006-04-05 Michael Smith <msmith@fluendo.com>
4426 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4427 Unref a pad we reffed.
4428 * tests/check/gst/gstutils.c: (GST_START_TEST):
4431 2006-04-05 Michael Smith <msmith@fluendo.com>
4433 * gst/gstquery.c: (gst_query_set_formats),
4434 (gst_query_set_formatsv):
4435 Fix leaking GValues in queries, as shown by valgrind/testsuite.
4437 2006-04-05 Michael Smith <msmith@fluendo.com>
4439 * tests/check/generic/sinks.c: (GST_START_TEST):
4440 Fix a variety of memleaks in sinks check, which are only sometimes
4441 shown by running the tests under valgrind (weird?).
4443 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
4445 * docs/version.entities.in:
4446 Fix the substituted entity name after thomas' changes on the
4449 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4451 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4454 2006-04-05 Andy Wingo <wingo@pobox.com>
4456 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4458 * libs/gst/base/gstbasetransform.c
4459 (gst_base_transform_sink_eventfunc): When resetting our segment on
4460 FLUSH_STOP, also update the flag saying we haven't seen a
4463 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4465 Patch by: Paolo Borelli <pborelli at katamail dot com>
4467 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4468 (gst_plugin_check_license):
4469 minor clean-ups: G_DEFINE_TYPE already takes care of the
4470 parent_class stuff, no need to do it twice. Mark array of
4471 license strings as constant. (#337103)
4473 2006-04-04 Michael Smith <msmith@fluendo.com>
4475 * tools/gst-inspect.c: (print_element_list):
4476 Free the right plugin list; fixes a memory leak.
4478 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4480 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4482 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4483 Don't error out on empty buffers (#336945).
4485 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4487 * docs/libs/gstreamer-libs-sections.txt:
4489 * libs/gst/base/gstbasesink.c:
4490 * libs/gst/base/gstbasesink.h:
4491 * libs/gst/base/gstbasesrc.c:
4492 * libs/gst/base/gstbasesrc.h:
4493 Documentation updates. Make BaseSink and BaseSrc docs contain the
4494 class structure so that people can actually see the prototypes for
4495 virtual functions they're supposed to be overriding.
4497 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4499 * plugins/elements/gsttypefindelement.c:
4500 (gst_type_find_element_chain):
4501 More debug info; when skipping typefinding, send cached
4502 events in all cases.
4504 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4507 use new AS_VERSION and AS_NANO macros
4508 * gst/gst-i18n-lib.h:
4511 * gst/gstversion.h.in:
4512 * win32/common/config.h:
4513 * win32/common/config.h.in:
4516 2006-03-31 Michael Smith <msmith@fluendo.com>
4518 * plugins/elements/gsttypefindelement.c:
4519 (gst_type_find_element_chain):
4520 Do not typefind content if the buffers already have caps.
4521 Neccesary for icydemux (#333657), and the right thing to do anyway.
4523 2006-03-30 Wim Taymans <wim@fluendo.com>
4525 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4526 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4527 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4528 (gst_base_sink_record_qos_observation),
4529 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4530 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4531 (gst_base_sink_change_state):
4532 More QoS measurements as described in the design doc.
4533 Get rid of ringbuffer with observations, running average is
4534 more simple and equally good.
4535 Calculates valid proportion now.
4536 Added beginning of flood measurement.
4538 2006-03-29 Wim Taymans <wim@fluendo.com>
4540 * docs/design/part-qos.txt:
4542 Small documentation updates and additions.
4544 2006-03-29 Wim Taymans <wim@fluendo.com>
4546 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4547 (gst_base_src_send_event), (gst_base_src_loop),
4548 (gst_base_src_change_state):
4549 Perform the EOS logic when we reach the segment stop position.
4550 Fix compilation on gcc4.1
4552 2006-03-29 Wim Taymans <wim@fluendo.com>
4554 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4556 * plugins/elements/gstqueue.c: (gst_queue_init),
4557 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4558 (gst_queue_set_property):
4559 * plugins/elements/gstqueue.h:
4560 In queue, when EOS is received, if minimum threshold > max_size -
4561 current_level, there is chance that queue blocks forever in conditional
4562 item del wait. This is because the queue is not emptied completely due
4563 to minimum threshold. Here is another approach. Instead of setting
4564 cur_levels to max in EOS, just zero all minimum threshold levels. This
4565 should make sure that queue gives out all data. When going to READY
4566 (stop) state, just reset the original minimum threshold levels.
4569 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4571 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4572 (gst_type_find_element_handle_event),
4573 (gst_type_find_element_send_cached_events),
4574 (gst_type_find_element_change_state):
4575 * plugins/elements/gsttypefindelement.h:
4576 When typefinding is done in push mode, we should cache
4577 events we receive during typefinding instead of just
4578 dropping them (e.g. newsegment, custom events from
4579 dvdreadsrc etc.) and then send them out once we've
4580 determined the type of the stream (and decodebin
4581 has had a chance to plug in a decoder/demuxer).
4583 2006-03-27 Wim Taymans <wim@fluendo.com>
4585 * docs/design/part-qos.txt:
4588 2006-03-27 Wim Taymans <wim@fluendo.com>
4590 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4592 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4593 (gst_base_src_send_event), (gst_base_src_change_state):
4594 Handle element seek correctly when we are streaming.
4597 2006-03-24 Michael Smith <msmith@fluendo.com>
4599 * docs/faq/gst-uninstalled:
4600 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4601 allow you to correctly run intalled applications built against old
4602 core, using plugins that require updated core (e.g. running
4603 installed totem against a full uninstalled gstreamer stack)
4605 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4607 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4610 2006-03-24 Wim Taymans <wim@fluendo.com>
4612 * docs/gst/gstreamer-sections.txt:
4613 Rearrange the order of the methods so that related methods
4614 are grouped together in sections.
4616 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4619 Little clarification in the docs
4621 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4625 * plugins/elements/gstidentity.c:
4626 * plugins/elements/gstqueue.c:
4627 * plugins/elements/gsttee.c:
4628 * plugins/elements/gsttypefindelement.c:
4629 GST_ELEMENT_DETAILS formatting
4631 2006-03-24 Wim Taymans <wim@fluendo.com>
4633 * libs/gst/base/gstbasesink.h:
4634 Only add fields, not insert or we break ABI.
4636 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4638 * win32/common/libgstbase.def:
4639 * win32/common/libgstreamer.def:
4640 Update, add recently added functions.
4642 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4644 * docs/gst/gstreamer-sections.txt:
4645 * gst/gstutils.c: (gst_pad_query_peer_position),
4646 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4648 API: add some new utility functions:
4649 - gst_pad_query_peer_position()
4650 - gst_pad_query_peer_duration()
4651 - gst_pad_query_peer_convert()
4653 2006-03-23 Wim Taymans <wim@fluendo.com>
4655 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4656 (gst_base_sink_init), (gst_base_sink_finalize),
4657 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4658 (gst_base_sink_set_property), (gst_base_sink_get_property),
4659 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4660 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4661 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4662 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4663 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4664 (gst_base_sink_preroll_object), (gst_base_sink_event),
4665 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4666 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4667 (gst_base_sink_query), (gst_base_sink_change_state):
4668 Decouple max-lateness and the fact that QoS messages are generated
4669 with a new property (qos).
4670 added API: GstBaseSink::async_play()
4671 Add vmethod so subclasses can be notified of ASYNC playing
4673 Collect timestamp start and stop to report better current
4674 position in EOS/PLAYING/PAUSED/READY/NULL.
4675 Refactor QoS/frame dropping and other measurements.
4676 API: GstBaseSrc::qos
4679 * libs/gst/base/gstbasesink.h:
4680 Added Private struct.
4681 API: gst_base_sink_set_qos_enabled()
4682 API: gst_base_sink_is_qos_enabled()
4684 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4686 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4687 If compiling against GLib-2.8 or newer, try to read the
4688 registry file using GMappedFile first before falling back
4689 to fopen() + fread() (#332151).
4691 2006-03-22 Wim Taymans <wim@fluendo.com>
4693 * gst/gstinfo.c: (gst_debug_set_active),
4694 (gst_debug_category_set_threshold):
4695 Disable debugging unless explicitly activated.
4698 2006-03-22 Wim Taymans <wim@fluendo.com>
4700 * gst/gstelement.c: (gst_element_set_locked_state),
4701 (gst_element_dispose):
4702 Cleanup the error case.
4704 * gst/gstobject.c: (gst_object_dispose):
4705 print a critical when some object was disposed with
4706 a parent, also revive the object since it might
4709 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4711 * tools/gst-launch.1.in:
4714 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4717 * tests/check/Makefile.am:
4718 disable some tests when we don't have a registry
4719 * tests/check/gst/gstutils.c: (gst_utils_suite):
4720 don't build the part that needs parsing
4722 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4725 * tests/examples/Makefile.am:
4726 fix --disable-parse build
4728 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4730 * tools/gst-feedback.1.in:
4731 Fix typo: s/feeback/feedback/ (#133494).
4733 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4735 * tools/Makefile.am:
4736 * tools/gst-launch.1.in:
4737 Add FILES section and correct entry about GST_REGISTRY_PATH
4738 environment variable (#133495; #133494).
4740 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4742 * tools/Makefile.am:
4743 * tools/gst-md5sum.1.in:
4744 * tools/gst-md5sum.c:
4745 Remove gst-md5sum and man page (the md5sink element
4746 required was removed ages ago)
4748 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4750 * gst/gststructure.c: (gst_structure_id_set_value):
4751 Make sure that string fields in structures/taglists
4752 contain valid UTF-8 - we don't want to pass rubbish to
4753 applications because of a buggy plugin (cp. #334167).
4755 2006-03-21 Edward Hervey <edward@fluendo.com>
4757 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4758 (gst_bin_handle_message_func):
4759 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4760 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4761 (gst_element_set_bus_func):
4762 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4763 * gst/gstminiobject.c: (gst_value_set_mini_object),
4764 (gst_value_take_mini_object):
4765 * gst/gstpad.c: (gst_pad_set_pad_template):
4766 * gst/gstpipeline.c: (gst_pipeline_dispose),
4767 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4768 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4769 (gst_collect_pads_chain):
4770 * libs/gst/net/gstnettimeprovider.c:
4771 (gst_net_time_provider_set_property):
4772 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4773 It's in fact all issues with gst_*object_replace().
4775 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4777 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4779 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4780 * pkgconfig/gstreamer-check.pc.in:
4781 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4783 2006-03-21 Edward Hervey <edward@fluendo.com>
4788 gst_[buffer|event|message]_ref() macros are replaced by a static
4789 inline functions because gcc-4.1 will about if the return value
4791 * tests/check/gst/gstevent.c: (event_probe):
4792 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4794 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4797 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4798 the type' case. (Closes: #335195 for now). In the future, when we
4799 depend on GLib 2.10, we could also intern the type name using
4800 g_intern_static_string()
4802 2006-03-20 Wim Taymans <wim@fluendo.com>
4804 * gst/gstbin.c: (gst_bin_handle_message_func),
4805 (bin_query_max_init), (bin_query_position_fold),
4806 (bin_query_position_done), (gst_bin_query):
4807 Position query should also take max of all streams.
4809 2006-03-20 Wim Taymans <wim@fluendo.com>
4811 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4812 (gst_fake_src_finalize):
4813 Fix leaks in fakesrc.
4815 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4816 Fix leaks in the testcase.
4818 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4820 * gst/gst_private.h:
4821 add win32 specific import decoration(__declspec(dllimport))
4822 for all extern GstDebugCategory * variables
4823 * win32/common/libgstbase.def:
4824 * win32/common/libgstcontroller.def:
4825 * win32/common/libgstreamer.def:
4826 Add some exports, remove empty lines
4827 * win32/common/libgstdataprotocol.def:
4828 * win32/common/libgstdataprotocol.dsp:
4829 * win32/common/libgstnet.def:
4830 * win32/common/libgstnet.dsp:
4831 new project files and exportation files added
4833 2006-03-19 Wim Taymans <wim@fluendo.com>
4835 * tests/check/libs/basesrc.c: (eos_event_counter):
4836 Use proper return value for probe.
4838 2006-03-17 Wim Taymans <wim@fluendo.com>
4840 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4842 Don't leak buffers, caps and pads on negotiation errors.
4844 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4847 * docs/faq/dependencies.xml:
4848 * docs/faq/developing.xml:
4850 * docs/faq/general.xml:
4851 * docs/faq/getting.xml:
4852 * docs/faq/legal.xml:
4853 * docs/faq/troubleshooting.xml:
4854 * docs/faq/using.xml:
4855 Faq review and update.
4857 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4859 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4861 Don't pound the cpu to pieces by checking get_caps when accept_caps
4862 is called with the same caps as the pad already has.
4863 Use GST_DEBUG_OBJECT when outputting caps change information.
4865 2006-03-15 Wim Taymans <wim@fluendo.com>
4867 * gst/gstclock.c: (gst_clock_class_init):
4870 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4875 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4876 (gst_pad_accept_caps), (gst_pad_configure_sink),
4877 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4878 Make the default acceptcaps behaviour be to check the requested
4879 caps against the gst_pad_get_caps output.
4881 Ensure that gst_pad_accept_caps is used to check caps when a pad
4882 doesn't have a setcaps function, so that pads automatically refuse
4883 caps that they don't allow in their pad template. (Fixes #332986)
4885 When a buffer with attached caps is pushed, ensure that the source
4886 pad receives those caps even if the element didn't call
4887 gst_pad_set_caps first.
4889 2006-03-15 Wim Taymans <wim@fluendo.com>
4891 * libs/gst/base/gstadapter.c:
4894 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4896 * win32/common/libgstbase.def:
4897 * win32/common/libgstcontroller.def:
4898 * win32/common/libgstreamer.def:
4899 Add a whole bunch of missing functions (#334434).
4901 2006-03-14 Wim Taymans <wim@fluendo.com>
4903 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4904 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4905 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4906 Better debug info when we receive a segment event.
4907 Reorganize a bit so we can pass the get_times() results around.
4908 Use the segment format when calculating the running time.
4909 Don't do QoS is sync is disabled or we have no clock or the
4910 element does not want us to sync to the clock.
4911 Don't drop buffers if QoS is disabled for now.
4913 2006-03-14 Wim Taymans <wim@fluendo.com>
4915 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4916 Marked the stats property as unimplemented so people don't get
4918 Add debug message when regression goes wrong.
4919 Added some more docs.
4921 2006-03-14 Wim Taymans <wim@fluendo.com>
4923 * gst/gstsegment.c: (gst_segment_to_stream_time):
4924 Return correct return type in case of errors.
4926 2006-03-14 Wim Taymans <wim@fluendo.com>
4928 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4929 Don't segfault on invalid formats.
4931 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4933 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4934 Can't use gst_segment_to_running_time() when the segment
4935 is not in GST_TIME_FORMAT (like with filesink, for example).
4936 Stops flac encoding pipelines from spewing critical warnings
4939 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4941 * gst/gstpipeline.c: (gst_pipeline_class_init):
4942 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4944 * plugins/elements/gsttypefindelement.c:
4945 (gst_type_find_element_handle_event):
4946 Don't try to typefind empty streams.
4948 2006-03-14 Wim Taymans <wim@fluendo.com>
4950 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4951 (gst_base_sink_do_qos):
4952 Separate QoS calculation.
4953 Only drop buffers when lateness is bigger than the
4954 duration of the buffer.
4956 2006-03-13 Wim Taymans <wim@fluendo.com>
4958 * gst/gstpipeline.c: (gst_pipeline_set_property),
4959 (gst_pipeline_get_property), (do_pipeline_seek),
4960 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4961 (gst_pipeline_get_delay):
4962 Don't deadlock when reading properties.
4964 2006-03-13 Wim Taymans <wim@fluendo.com>
4966 * libs/gst/base/gstbasetransform.c:
4967 (gst_base_transform_class_init), (gst_base_transform_init),
4968 (gst_base_transform_sink_event),
4969 (gst_base_transform_sink_eventfunc),
4970 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4971 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4972 (gst_base_transform_set_property),
4973 (gst_base_transform_get_property),
4974 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4975 (gst_base_transform_set_qos_enabled),
4976 (gst_base_transform_is_qos_enabled):
4977 * libs/gst/base/gstbasetransform.h:
4978 Make basetransform virtual method for src events too.
4979 Handle QOS in basetransform.
4980 API: gst_base_transform_update_qos()
4981 API: gst_base_transform_set_qos_enabled()
4982 API: gst_base_transform_is_qos_enabled()
4984 2006-03-13 Wim Taymans <wim@fluendo.com>
4986 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4987 (gst_base_sink_do_sync):
4989 Use QOS debug category.
4991 2006-03-13 Wim Taymans <wim@fluendo.com>
4993 * plugins/elements/gstqueue.c:
4994 Very small doc update.
4996 2006-03-13 Wim Taymans <wim@fluendo.com>
4998 * gst/gst_private.h:
4999 * gst/gstinfo.c: (_gst_debug_init):
5000 Added QOS debug category
5002 2006-03-13 Wim Taymans <wim@fluendo.com>
5004 * docs/gst/gstreamer-sections.txt:
5005 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
5007 * gst/gstbus.c: (gst_bus_class_init):
5010 * gst/gstelement.c: (gst_element_set_locked_state):
5012 Documentation updates.
5014 * gst/gstpipeline.c: (gst_pipeline_get_type),
5015 (gst_pipeline_class_init), (gst_pipeline_init),
5016 (gst_pipeline_dispose), (gst_pipeline_set_property),
5017 (gst_pipeline_get_property), (do_pipeline_seek),
5018 (gst_pipeline_send_event), (gst_pipeline_change_state),
5019 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
5020 (gst_pipeline_get_delay):
5021 * gst/gstpipeline.h:
5022 Added methods for setting the delay.
5023 API: gst_pipeline_set_delay()
5024 API: gst_pipeline_get_delay()
5025 Add pipeline debug category
5028 Don't reset stream time when seek failed.
5030 2006-03-13 Wim Taymans <wim@fluendo.com>
5032 * docs/design/draft-klass.txt:
5033 * docs/design/part-clocks.txt:
5034 * docs/design/part-events.txt:
5035 * docs/design/part-gstbin.txt:
5036 * docs/design/part-gstpipeline.txt:
5037 * docs/design/part-messages.txt:
5038 * docs/design/part-negotiation.txt:
5039 * docs/design/part-overview.txt:
5040 * docs/design/part-preroll.txt:
5041 * docs/design/part-seeking.txt:
5042 * docs/design/part-states.txt:
5043 * docs/design/part-streams.txt:
5044 Documentation updates.
5046 2006-03-12 Julien MOUTTE <julien@moutte.net>
5048 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
5049 us to leak strings...
5051 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
5053 * libs/gst/net/gstnettimeprovider.c:
5055 * win32/common/config.h:
5058 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
5060 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
5063 Don't check for libgnomeui (leftover from old examples
5064 that aren't built or disted any longer) (#334303).
5066 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
5068 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
5069 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
5070 Emit RESOURCE_NO_SPACE_LEFT error here as well when
5071 there's no space left on the device.
5073 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
5076 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
5077 to cast the input to GstClockTime before comparing with
5078 another GstClockTime value.
5080 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
5085 === release 0.10.4 ===
5087 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
5090 releasing 0.10.4, "Light"
5092 2006-03-10 Michael Smith <msmith@fluendo.com>
5094 * libs/gst/dataprotocol/dataprotocol.c:
5095 Fix docs for dataprocotol to not get the return types completely
5096 wrong for a few functions.
5098 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5100 * docs/gst/gstreamer-sections.txt:
5101 * gst/gstpipeline.c: (gst_pipeline_class_init),
5102 (gst_pipeline_init), (gst_pipeline_set_property),
5103 (gst_pipeline_get_property), (gst_pipeline_change_state),
5104 (gst_pipeline_set_auto_flush_bus),
5105 (gst_pipeline_get_auto_flush_bus):
5106 * gst/gstpipeline.h:
5107 Add new API: gst_pipeline_set_auto_flush_bus() and
5108 gst_pipeline_get_auto_flush_bus() to disable automatic
5109 flushing of the pipeline's GstBus when going from READY
5110 to NULL state (#332045).
5112 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5114 * docs/gst/gstreamer-sections.txt:
5115 * gst/gsturi.c: (gst_uri_has_protocol):
5117 Add new API: gst_uri_has_protocol() (#333779).
5119 2006-03-09 Wim Taymans <wim@fluendo.com>
5121 * gst/gstclock.c: (gst_clock_entry_new),
5122 (gst_clock_id_compare_func), (gst_clock_id_wait),
5123 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
5124 (gst_clock_init), (gst_clock_get_internal_time),
5125 (gst_clock_set_master), (do_linear_regression),
5126 (gst_clock_add_observation), (gst_clock_set_property):
5130 Fix a possible segfault when the window-size is made smaller.
5131 Calculate jitter before performing the clock wait. Ideally
5132 the clock implementation should calculate jitter but we need
5133 API breakage for that.
5135 * gst/gstsystemclock.c: (gst_system_clock_init):
5138 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5139 Remove leftover else
5141 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5142 (gst_systemclock_suite):
5143 Added check to test GST_CLOCK_DIFF.
5145 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5147 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5148 (gst_type_find_helper_get_range):
5149 If we are provided with the size, we should implement
5150 GstTypeFind::get_length, so that typefind functions who
5151 want to can actually peek at the middle of a file.
5153 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
5155 * docs/manual/advanced-dataaccess.xml:
5156 Add some very very basic error checking.
5158 * docs/pwg/appendix-checklist.xml:
5159 Some updates to the list of things to check when writing an element.
5161 2006-03-08 Wim Taymans <wim@fluendo.com>
5163 * docs/design/part-element-transform.txt:
5164 Added some docs about the design of tranform elements.
5166 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5167 (gst_base_src_loop), (gst_base_src_change_state):
5168 Mark buffers with the DISCONT flag.
5170 2006-03-08 Michael Smith <msmith@fluendo.com>
5172 * gst/gstregistry.h:
5173 * gst/gstregistryxml.c: (gst_registry_save),
5174 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5175 (gst_registry_xml_save_pad_template),
5176 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5177 (gst_registry_xml_write_cache):
5178 Rewrite registry-saving to avoid race conditions and check for
5181 2006-03-08 Wim Taymans <wim@fluendo.com>
5183 * libs/gst/base/gstbasetransform.c:
5184 (gst_base_transform_transform_caps),
5185 (gst_base_transform_transform_size),
5186 (gst_base_transform_prepare_output_buffer),
5187 (gst_base_transform_get_unit_size),
5188 (gst_base_transform_buffer_alloc),
5189 (gst_base_transform_handle_buffer),
5190 (gst_base_transform_change_state):
5191 Cleanups, separate normal flow from errors, add sensible
5193 Don't try to renegotiate when allocating an output buffer.
5194 Also copy DISCONT buffer flag when copying a buffer.
5195 Reset the transform after we finish streaming, not during.
5197 2006-03-08 Wim Taymans <wim@fluendo.com>
5199 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5200 Use last buffer timestamp in qos message.
5202 2006-03-07 Wim Taymans <wim@fluendo.com>
5204 Patch by: Christophe Fergeau
5206 * docs/pwg/advanced-tagging.xml:
5207 * docs/pwg/building-pads.xml:
5210 2006-03-07 Wim Taymans <wim@fluendo.com>
5212 * docs/libs/gstreamer-libs-sections.txt:
5213 Added basesink new methods.
5217 Docs updates. Flesh out the QoS docs.
5219 * libs/gst/base/gstadapter.c:
5220 Small doc clarification about ownership and flushing.
5222 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5223 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5224 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5225 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5226 * libs/gst/base/gstbasesink.h:
5228 Added new methods to allow subclass to control max-lateness
5230 Generate very basic QoS events based on last sync observation.
5231 Updated docs, fix typo, added some QoS blurb.
5233 * libs/gst/base/gstbasesrc.c:
5234 Remove obsolete _get_state() calls from docs.
5236 2006-03-07 Wim Taymans <wim@fluendo.com>
5238 * docs/libs/gstreamer-libs-sections.txt:
5239 * libs/gst/base/gstbasetransform.h:
5240 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5241 Fix docs for GstBaseSrc.
5243 2006-03-07 Wim Taymans <wim@fluendo.com>
5245 * docs/gst/gstreamer-sections.txt:
5248 * libs/gst/base/gstbasetransform.h:
5249 Small documentation fixes.
5251 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5254 Document thread-unsafety of gst_value_register_foo_func()
5255 when used at the same time as gst_value_foo() (#322628).
5257 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5259 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5260 (gst_push_src_check_get_range):
5261 Push sources don't support pull mode by default.
5263 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5265 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5266 (gst_base_src_init), (gst_base_src_pad_check_get_range),
5267 (gst_base_src_default_check_get_range):
5268 * libs/gst/base/gstbasesrc.h:
5269 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5270 provide default implementation, and rename
5271 gst_base_src_check_get_range() to
5272 gst_base_src_pad_check_get_range() for clarity.
5274 2006-03-06 Wim Taymans <wim@fluendo.com>
5276 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5277 Make property overridable.
5279 2006-03-06 Wim Taymans <wim@fluendo.com>
5281 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5282 (gst_base_sink_init), (gst_base_sink_set_property),
5283 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5284 * libs/gst/base/gstbasesink.h:
5285 API addition: Make max-lateness a property.
5287 2006-03-06 Wim Taymans <wim@fluendo.com>
5289 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5290 (gst_base_sink_do_sync), (gst_base_sink_render_object):
5291 Don't ever draw a frame that is >10ms late.
5293 2006-03-06 Michael Smith <msmith@fluendo.com>
5295 * gst/gstmessage.c: (_gst_message_copy):
5296 When copying a message, set the parent_refcount of the enclosed
5297 structure to point at the copy, not the original message.
5299 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5301 Patch by: Christophe Fergeau
5304 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5305 usable in c++ code (#333417)
5307 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
5310 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5312 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
5314 * libs/gst/base/gstbasetransform.c:
5315 (gst_base_transform_transform_caps):
5316 Make sure caps are writable before passing them to
5319 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5322 Fix some minor docs errors.
5324 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5326 Patch by: Ross Burton <ross at burtonini dot com>
5328 * gst/gsterror.c: (_gst_resource_errors_init):
5330 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5332 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5335 Add a check and output a g_warning when GStreamer is built
5336 against GLib 2.6 but running against 2.8 or higher, and vice
5337 versa. (Closes: #323542)
5339 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5341 * gst/parse/parse.l:
5342 Commit patch for parse_launch syntax from #331255. Removes
5343 support for quoted strings and mimetypes when writing filtered
5344 caps. See the bug report for more details - I'm pretty sure this
5345 obscure feature is not in use by _anyone_ anywhere.
5347 With this simple change, the size of the gstreamer.so here
5348 drops from 2193KB to 1565KB.
5350 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5352 * plugins/elements/gsttypefindelement.h:
5353 * plugins/elements/gsttypefindelement.c:
5354 (gst_type_find_element_src_event), (start_typefinding),
5355 (stop_typefinding), (gst_type_find_element_handle_event),
5356 (gst_type_find_element_chain),
5357 (gst_type_find_element_chain_do_typefinding):
5358 Use gst_type_find_helper_for_buffer() for chain-based
5361 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5363 * plugins/elements/gsttypefindelement.c:
5364 (gst_type_find_element_class_init),
5365 (gst_type_find_element_set_property),
5366 (gst_type_find_element_get_property):
5367 Deprecate "maximum" property (not only was it only taken into
5368 account for typefinding in push-mode anyway, it also was never
5369 actually possible to set it in the first place because the
5370 property was registered with the numeric property ID for the
5371 "minimum" property). Register "maximum" property correctly,
5372 for the sake of future copy'n'pasters. Remove some cruft
5373 from property get/set functions.
5375 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5377 * plugins/elements/gsttypefindelement.c:
5378 (gst_type_find_element_activate):
5379 Use gst_type_find_helper_get_range() here, so we
5380 can honour the "minimum" property and also emit
5381 the signal with the correct probability of the found caps.
5383 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
5385 * docs/libs/gstreamer-libs-sections.txt:
5386 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5387 (helper_find_suggest), (gst_type_find_helper_get_range),
5388 (gst_type_find_helper):
5389 * libs/gst/base/gsttypefindhelper.h:
5390 New API: gst_type_find_helper_get_range() (#333042).
5392 2006-03-02 Michael Smith <msmith@fluendo.com>
5394 * gst/gstregistryxml.c: (load_feature):
5395 Asserting on a failure to read part of the registry is Not Cool.
5396 Just log a warning and return NULL (which is already handled)
5398 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
5400 * win32/common/libgstbase.def:
5401 added export of gst_type_find_helper_for_buffer
5402 * win32/common/libgstbase.def:
5403 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5404 gst_ghost_pad_get_target
5406 2006-02-28 Wim Taymans <wim@fluendo.com>
5408 * docs/design/draft-klass.txt:
5410 Added Connector to mark elements that are only used to
5411 allow pipeline connections.
5412 Moved Debug to extra feature since most of them are
5413 functionally something else.
5415 2006-02-28 Wim Taymans <wim@fluendo.com>
5417 * docs/design/draft-klass.txt:
5418 Some updates and clarifications.
5420 2006-02-28 Wim Taymans <wim@fluendo.com>
5422 * docs/design/draft-klass.txt:
5423 Proposal for klass field values.
5425 * docs/design/part-streams.txt:
5426 Start of a doc describing stream anatomy.
5428 2006-02-28 Wim Taymans <wim@fluendo.com>
5430 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5431 Help the compiler a bit with type registration.
5432 Use existing forward cod path instead of duplicating it when
5435 * gst/gstbus.c: (gst_bus_get_type):
5436 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5437 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5438 * gst/gstclock.c: (gst_clock_get_type):
5439 * gst/gstelement.c: (gst_element_get_type),
5440 * gst/gstelementfactory.c: (gst_element_factory_get_type):
5441 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5442 * gst/gstminiobject.c: (gst_mini_object_get_type):
5443 * gst/gstpad.c: (gst_pad_get_type):
5444 * gst/gstsegment.c: (gst_segment_get_type):
5445 * gst/gststructure.c: (gst_structure_get_type):
5446 * gst/gstsystemclock.c: (gst_system_clock_get_type):
5447 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5449 Help compiler with type registration.
5451 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5454 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5456 * plugins/elements/gsttypefindelement.c:
5457 (gst_type_find_element_handle_event):
5458 When we get an EOS event and have not found a type yet
5459 (most likely because we had not yet accumulated
5460 TYPE_FIND_MIN_SIZE of data yet), try to determine the
5461 type given the data we have so far. Fixes typefinding
5462 for very short streams again, most notably quicktime
5463 redirections as used on Apple's trailer site (#331701).
5465 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5467 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5468 (gst_type_find_helper):
5469 Try typefinding factories with the highest rank first.
5471 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5473 * docs/libs/gstreamer-libs-docs.sgml:
5474 * docs/libs/gstreamer-libs-sections.txt:
5475 * libs/gst/base/gsttypefindhelper.c:
5476 Add section for typefind helper and add documentation
5477 for the old and the new function.
5479 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5481 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5482 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5483 (gst_type_find_helper_for_buffer):
5484 * libs/gst/base/gsttypefindhelper.h:
5485 New API: gst_type_find_helper_for_buffer() (#332723).
5487 2006-02-27 Michael Smith <msmith@fluendo.com>
5489 Patch by: Loïc Minier
5493 * docs/slides/Makefile.am:
5494 prevent CVS directories getting disted.
5496 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5498 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5499 Use the REFCOUNTING category for caps refcounting.
5501 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5503 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5504 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5506 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5508 * plugins/elements/gsttypefindelement.c:
5509 (gst_type_find_element_activate):
5510 Use gst_pad_check_pull_range() before _activate_pull()
5511 to avoid unnecessary open/close (see #331690).
5513 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5516 Docs enhancement: make it crystal clear what the
5517 gst_pad_add_*_probe() callbacks should look like.
5519 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5521 * libs/gst/base/gstbasesrc.c:
5522 Document how applications can stop recording from
5523 live sources (see #330996).
5525 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5527 * tests/check/Makefile.am:
5528 * tests/check/libs/basesrc.c: (eos_event_counter),
5529 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5530 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5531 (gst_basesrc_suite), (main):
5532 ... and add some tests for the base source EOS stuff.
5534 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5536 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5537 Test case originally showed the problem fixed below,
5538 but was then amended. Add checks back at the place
5539 where they used to be.
5541 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5543 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5544 (gst_base_src_init), (gst_base_src_loop),
5545 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5546 (gst_base_src_change_state):
5547 * libs/gst/base/gstbasesrc.h:
5548 Don't unconditionally send EOS when going from PAUSED to
5549 READY state, esp. make sure we don't send two EOS events
5550 in some cases (e.g. one when reaching EOS and one when
5551 going from PAUSED to READY). Also, we don't want to send
5552 EOS events when operating in pull mode. However, we do
5553 want to send an EOS event when shutting down a live
5554 source explicitly, for example (fixes #330996).
5556 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5558 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5559 Update src->read_position after a seek when not using mmap.
5560 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5562 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5568 Make things work with --disable-parse as they do with
5569 --disable-load-save - the symbols involved disappear, but the
5570 header is still installed and GST_DISABLE_PARSE is included via
5573 2006-02-20 Julien MOUTTE <julien@moutte.net>
5575 * libs/gst/base/gstbasetransform.c:
5576 (gst_base_transform_change_state): Fix a stupid bug. I was
5577 sure I compiled that.
5579 2006-02-20 Julien MOUTTE <julien@moutte.net>
5581 * gst/gstpad.c: (gst_pad_set_blocked_async):
5582 * gst/gstutils.c: (gst_pad_add_data_probe),
5583 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5584 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5585 (gst_pad_remove_buffer_probe): Make those function act on the
5586 ghostpad target when it's a ghostpad. (Closes #331727)
5588 2006-02-20 Julien MOUTTE <julien@moutte.net>
5590 * libs/gst/base/gstbasetransform.c:
5591 (gst_base_transform_change_state): Make basetransform reusable.
5594 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5596 * docs/random/release:
5597 Move the current documentation of how to do a release to the top
5600 * gst/gstbin.c: (gst_bin_class_init),
5601 (gst_bin_handle_message_func):
5602 Allow multiple state-recalculation threads. (Closes #328873)
5604 2006-02-19 Julien MOUTTE <julien@moutte.net>
5606 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5607 * gst/gstpad.c: (gst_pad_set_event_function),
5608 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5609 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5610 2 strings. You can't use the STR_NULL macro on that.
5612 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5614 * gst/gstpad.c: (gst_pad_set_event_function),
5615 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5616 (gst_pad_set_getcaps_function)
5617 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5618 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5619 So now, we can use --gst-debug-level=5 on Windows
5620 * win32/common/libgstcontroller.def:
5621 Added export of gst_controller_init
5622 * win32/vs6/libgstcontroller.dsp:
5623 Fixed Release post build configuration
5625 2006-02-17 Wim Taymans <wim@fluendo.com>
5627 * tests/check/gst/gstquery.c: (GST_START_TEST):
5628 Added another check.
5630 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5632 * plugins/elements/gsttypefindelement.c: (find_peek):
5633 We can do peeks at non-zero offsets, as long as they
5634 fall within the buffer we have.
5636 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5638 * tests/check/Makefile.am:
5639 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5640 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5641 (parse_suite), (main):
5642 Add testsuite for parse launch syntax
5644 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5646 * plugins/elements/gsttypefindelement.c:
5647 (gst_type_find_element_chain):
5648 When typefinding is unsuccessful in the chain function, don't
5649 error out immediately. Only error out with NO_CAPS_FOUND if
5650 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5651 otherwise simply wait for more data so we can try typefinding
5652 again with more data later. Also, don't attempt to typefind
5653 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5654 this should improve typefinding from network sources where the
5655 size of the first buffer can be somewhat random.
5657 2006-02-14 Wim Taymans <wim@fluendo.com>
5659 * docs/gst/gstreamer-sections.txt:
5660 * gst/gstpadtemplate.c:
5661 * gst/gstpadtemplate.h:
5662 Fix padtemplate docs, fixes #328805.
5664 2006-02-14 Wim Taymans <wim@fluendo.com>
5666 * tools/gst-launch.c: (main):
5667 NO_PREROLL is not an ERROR so don't send confusing messages
5670 2006-02-14 Wim Taymans <wim@fluendo.com>
5672 Patch by: Torsten Schoenfeld
5674 * gst/gstregistry.c: (gst_registry_get_default),
5675 (_gst_registry_cleanup):
5676 Protect default registry with lock and ref/sink it.
5679 2006-02-14 Wim Taymans <wim@fluendo.com>
5682 * gst/gstquery.c: (gst_query_list_add_format),
5683 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5684 (gst_query_parse_formats_nth):
5685 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5688 2006-02-14 Wim Taymans <wim@fluendo.com>
5690 * docs/gst/gstreamer-sections.txt:
5691 Reworked query docs.
5693 * gst/gstquery.c: (gst_query_new_formats),
5694 (gst_query_list_add_format), (gst_query_set_formats),
5695 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5696 (gst_query_parse_formats_nth):
5698 Flesh out formats query, added some new methods.
5699 Fix part of #324398.
5701 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5702 Added query creation tests.
5704 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5706 * gst/gstpad.c: (fixate_value):
5707 Add a default fixation for fraction lists.
5709 2006-02-13 Wim Taymans <wim@fluendo.com>
5711 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5712 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5715 Detect and warn for obvious deadlocks. fixes #320340
5716 Fix error case where lock was not released.
5718 * tests/check/Makefile.am:
5719 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5720 (task_func), (gst_element_suite), (main):
5723 2006-02-13 Wim Taymans <wim@fluendo.com>
5725 * docs/gst/gstreamer-sections.txt:
5727 Add new functions to docs.
5729 2006-02-13 Wim Taymans <wim@fluendo.com>
5731 * docs/design/part-TODO.txt:
5732 Updated TODO list, basesrc supports seeking to non-bytes
5735 * docs/design/part-element-sink.txt:
5738 * gst/gstbin.c: (bin_replace_message),
5739 (gst_bin_handle_message_func):
5740 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5741 * gst/gstevent.c: (gst_event_finalize):
5742 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5743 (gst_pad_send_event):
5744 Use shiny new _TYPE_NAME macros.
5746 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5747 Move debug statement up.
5749 * gst/gstelement.c: (gst_element_set_locked_state):
5752 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5754 * docs/gst/gstreamer-sections.txt:
5757 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5758 macros (#330906). Also, document the already existing
5759 GST_QUERY_TYPE macro.
5761 2006-02-13 Wim Taymans <wim@fluendo.com>
5763 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5764 (event_probe), (GST_START_TEST):
5765 Only events up to the pipeline EOS are counted, there are
5766 some more when going to NULL currently which we don't care
5769 2006-02-13 Wim Taymans <wim@fluendo.com>
5771 * gst/gstpad.c: (gst_pad_send_event):
5772 Correctly check flushing and emit probes. fixes #330125
5774 2006-02-10 Andy Wingo <wingo@pobox.com>
5776 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5778 (gst_bus_init): Cache the location of the private data in the
5780 (gst_bus_enable_sync_message_emission)
5781 (gst_bus_disable_sync_message_emission): Implement new public
5783 (gst_bus_post): Emit the sync-message signal if the user asked for
5786 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5787 location of the bus-private structure.
5788 (gst_bus_enable_sync_message_emission)
5789 (gst_bus_disable_sync_message_emission): API addition
5791 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5793 Patch by: Vincent Torri
5795 * docs/pwg/building-boiler.xml:
5796 PWG patch from #326800
5798 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5802 * docs/design/Makefile.am:
5805 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5810 === release 0.10.3 ===
5812 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5815 releasing 0.10.3, "Like a virgin"
5817 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5820 2nd prerelease of 0.10.3
5821 Bump libtool versioning.
5823 2006-02-07 Andy Wingo <wingo@pobox.com>
5825 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5826 update last_stop if we're in TIME format and the timestamp is
5829 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5830 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5831 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5832 If we get a new newsegment with a different format, adapt
5835 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5836 of 0. Not a problem, really.
5838 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5841 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5846 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5849 project files updated to the default vs7 configuration
5850 * win32/common/libgstbase.def:
5851 * win32/common/libgstreamer.def:
5853 removed empty lines,
5854 sorted all exported symbols alphabetically
5855 * win32/common/dirent.c:
5856 * win32/common/dirent.h:
5857 * win32/common/gchar.h:
5858 use windows line end.
5860 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5862 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5863 Send EOS event when stopping.
5865 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5868 Tell folks what to do if the plugin-foobar.xml file
5869 hasn't been generated for a newly-added plugin.
5871 2006-02-05 Julien MOUTTE <julien@moutte.net>
5873 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5874 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5875 (gst_collect_pads_start), (gst_collect_pads_stop),
5876 (gst_collect_pads_event): Collectpads now holds a reference
5877 to the GstPad that was added. Indeed we don't want to look
5878 at pads that might just go away with no warning...
5880 2006-02-05 Julien MOUTTE <julien@moutte.net>
5882 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5883 (gst_collect_pads_start), (gst_collect_pads_stop),
5884 (gst_collect_pads_event), (gst_collect_pads_chain):
5885 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5886 Mark Nauwelaerts's patch on bug #328491.
5888 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5890 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5892 Add some simple tests for gst_parse_bin_from_description() and
5893 gst_bin_find_unconnected_pad() (#329069).
5895 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5897 * tools/gst-launch.c: (event_loop), (main):
5898 Catch errors during preroll (#320084).
5900 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5902 * plugins/elements/gsttypefindelement.c:
5903 (gst_type_find_element_activate):
5904 Post TYPE_NOT_FOUND error message when typefinding
5905 is unsuccessful in the activate function as well.
5907 2006-02-02 Wim Taymans <wim@fluendo.com>
5909 * docs/design/part-element-sink.txt:
5912 2006-02-02 Wim Taymans <wim@fluendo.com>
5914 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5915 (gst_base_sink_render_object),
5916 (gst_base_sink_queue_object_unlocked):
5917 Only keep track of prerollable items when we are
5919 Before rendering after preroll, always check if we
5921 Added some more debugging.
5923 2006-02-02 Wim Taymans <wim@fluendo.com>
5925 * gst/gstelement.c: (gst_element_continue_state),
5926 (gst_element_set_state_func), (gst_element_change_state):
5927 Fixed #326576, been running this for quite some time with
5928 no regressions at all.
5930 2006-02-02 Wim Taymans <wim@fluendo.com>
5933 Added more suppressions
5935 2006-02-02 Wim Taymans <wim@fluendo.com>
5937 * docs/design/part-element-sink.txt:
5940 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5941 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5942 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5943 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5944 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5945 (gst_base_sink_preroll_object),
5946 (gst_base_sink_queue_object_unlocked),
5947 (gst_base_sink_queue_object), (gst_base_sink_event),
5948 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5949 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5950 (gst_base_sink_get_position), (gst_base_sink_change_state):
5951 * libs/gst/base/gstbasesink.h:
5952 Totally refactored matching the design doc.
5953 Use two segments, one to clip incomming buffers and another to
5955 Handle queueing correctly, bypass the queue when playing.
5956 Make EOS cancelable.
5957 Handle errors correctly when operating in pull based mode.
5959 * tests/check/elements/fakesink.c: (GST_START_TEST),
5961 Added new check for sinks.
5963 2006-02-02 Wim Taymans <wim@fluendo.com>
5965 * gst/gstsegment.c: (gst_segment_clip):
5966 No reason to refuse to clip when start == -1
5968 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5971 * docs/manual/intro-basics.xml:
5972 * docs/manual/intro-preface.xml:
5973 * docs/manual/manual.xml:
5974 * docs/pwg/advanced-dparams.xml:
5975 * docs/pwg/intro-basics.xml:
5976 * docs/pwg/intro-preface.xml:
5978 describe dparams (controller) for plugins
5979 unify docs a little more
5981 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5983 * docs/gst/gstreamer-sections.txt:
5984 * gst/gstutils.c: (element_find_unconnected_pad),
5985 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5987 Add new API: gst_parse_bin_from_description() and
5988 gst_bin_find_unconnected_pad() (#329069).
5990 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5992 * docs/manual/README:
5993 uncover a nasty detail of the docs build
5995 2006-01-31 Wim Taymans <wim@fluendo.com>
5997 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5998 Don't cache duration messages if we're not going to use or
6001 2006-01-31 Stefan Kost <ensonic@users.sf.net>
6003 * docs/manual/advanced-dparams.xml:
6004 * docs/pwg/advanced-dparams.xml:
6008 * libs/gst/controller/lib.c: (gst_controller_init):
6011 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
6013 * gst/gstelement.c: (gst_element_message_full):
6014 also show file/line/func if no additional debug was given
6016 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
6018 * win32/vs7/grammar.vcproj:
6019 activate copy of autogenerated files for Release mode
6021 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
6023 * win32/common/libgstreamer.def:
6024 export gst_value_compare
6026 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
6028 * plugins/elements/Makefile.am:
6029 * plugins/elements/gstelements.c:
6030 * plugins/elements/gstfdsink.c: (_do_init),
6031 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
6032 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
6033 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
6034 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
6035 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
6036 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
6037 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
6038 * plugins/elements/gstfdsink.h:
6039 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
6041 2006-01-30 Stefan Kost <ensonic@users.sf.net>
6043 * docs/manual/advanced-dparams.xml:
6045 * docs/manual/advanced-position.xml:
6046 * docs/manual/basics-init.xml:
6047 * docs/manual/manual.xml:
6048 * docs/manual/titlepage.xml:
6050 * docs/pwg/titlepage.xml:
6051 cleanup xml (more to come)
6052 * libs/gst/controller/gstcontroller.c:
6055 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
6057 * win32/vs6/grammar.dsp:
6058 add autogen of gstmarshal.c,h for Release mode
6060 2006-01-30 Wim Taymans <wim@fluendo.com>
6062 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6063 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
6064 (gst_base_sink_handle_object), (gst_base_sink_event),
6065 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
6066 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6067 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
6068 (gst_base_sink_deactivate), (gst_base_sink_activate),
6069 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6070 (gst_base_sink_query), (gst_base_sink_change_state):
6071 Basesink cleanups, remove some old code.
6072 Handle the case where a subclass can preroll in the render
6073 method (mostly audiosinks).
6075 Remove some locks around variables that are now protected
6076 with the PREROLL_LOCK (clock_id, flushing, ..).
6077 Optimize position query some more, do correct locking.
6078 Remove old code to push queue in state change, this is not
6079 needed anymore since preroll blocks on all prerollable items
6081 Almost implemented as described in design doc.
6083 2006-01-30 Wim Taymans <wim@fluendo.com>
6085 * tests/check/gst/gstbin.c: (GST_START_TEST):
6086 Wait for refcount to settle down before checking.
6088 2006-01-30 Wim Taymans <wim@fluendo.com>
6090 * docs/design/part-element-sink.txt:
6091 Pseudo code overview of desired sink behaviour regarding
6094 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6095 * win32/vs6/grammar.dsp:
6096 fix some bugs in Release mode for autogenerated files
6098 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6099 * win32/common/libgstbase.def:
6100 * win32/common/libgstreamer.def:
6101 export some new symbols: gst_base_src_set_format,
6102 gst_iterator_next, gst_structure_set_valist
6104 2006-01-29 Julien MOUTTE <julien@moutte.net>
6106 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6107 Set pad functions unconditionally. Fixes #329105.
6109 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
6111 add vs8 project files created by Sergey Scobich
6113 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
6115 * gst/gstutils.c: (gst_element_unlink_pads):
6116 Don't leak pad references.
6118 * tests/check/elements/fakesink.c: (GST_START_TEST):
6119 * tests/check/generic/sinks.c: (GST_START_TEST):
6120 * tests/check/generic/states.c: (GST_START_TEST):
6121 * tests/check/gst/gstbin.c: (GST_START_TEST):
6122 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6123 * tests/check/gst/gstelement.c: (GST_START_TEST):
6124 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6125 * tests/check/gst/gstiterator.c: (GST_START_TEST):
6126 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6127 Fix a bunch of leaks. Make generic/sinks.c
6128 use a bit less cpu by slowing the buffer rate
6129 between fakesrc and fakesink.
6131 2006-01-27 Stefan Kost <ensonic@users.sf.net>
6133 * gst/gstelement.c: (gst_element_send_event):
6136 * gst/gstiterator.c:
6137 * gst/gstiterator.h:
6138 * gst/gstpad.c: (gst_pad_send_event):
6139 * gst/gststructure.c:
6143 * libs/gst/base/gstadapter.c:
6144 doc fixes, to link to function, just write gst_cool_function(), don't
6147 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6149 * plugins/elements/gsttee.c: (gst_tee_do_push),
6150 (gst_tee_handle_buffer):
6151 Always prefer an actual return value from a src
6152 pad in place of NOT_LINKED. This means we return
6153 WRONG_STATE when all src pads are WRONG_STATE
6154 instead of NOT_LINKED.
6156 Lock when replacing the last message to prevent
6157 racing with the get_property method.
6161 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6163 * tests/check/Makefile.am:
6164 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6166 Add a very simple check that should have caught the memleak I fixed
6167 last night (if not for the slice allocator hiding it)
6169 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6171 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6172 (gst_bin_remove_func), (gst_bin_handle_message_func),
6173 (bin_query_duration_fold), (bin_query_generic_fold):
6174 Clean up references to the clock provider when disposed or when
6175 handling a clock-lost message from it.
6177 Unref sinks when performing a query via gst_iterator_fold, as the
6178 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6180 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6181 (gst_clock_set_master):
6182 Drop our reference to the master clock, if any, when we are disposed.
6184 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6185 Chain up in dispose.
6187 2006-01-26 Wim Taymans <wim@fluendo.com>
6189 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6192 2006-01-26 Julien MOUTTE <julien@moutte.net>
6194 * plugins/elements/gsttee.c: (gst_tee_do_push),
6195 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6196 handles pad being NOT_LINKED or in WRONG_STATE.
6198 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6203 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6206 remove obsolete entry
6208 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6210 * docs/gst/gstreamer-sections.txt:
6211 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6212 (gst_bin_iterate_sources), (gst_bin_send_event):
6214 * gst/gstelement.c: (gst_element_send_event):
6216 * gst/gstpad.c: (gst_pad_send_event):
6217 added code for downstream events, reviewed docs in gstevent.c
6219 2006-01-25 Julien MOUTTE <julien@moutte.net>
6221 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6222 We only query position using the clock in the playing state.
6223 Query peer in the other cases.
6224 * win32/common/config.h: Updates.
6226 2006-01-24 Wim Taymans <wim@fluendo.com>
6228 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6229 A clock entry that is scheduled for the exact time of the
6230 clock is still in time.
6232 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6233 (gst_base_sink_do_sync):
6234 Add some more debug info.
6236 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6239 Add new vs7 project files and solution.
6241 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6244 all files removed as they were out-dated.
6246 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6248 * docs/random/release:
6250 * gst/gstbin.c: (gst_bin_init):
6251 * gst/gstbus.c: (gst_bus_new):
6253 * gst/gstpipeline.c: (gst_pipeline_init):
6254 use gst_bus_new(), improve logging, fix docs
6255 * win32/common/config.h:
6256 update for cvs build
6258 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6261 up required version of automake to 1.7
6263 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
6265 * win32/common/libgstreamer.def:
6266 export gst_buffer_is_metadata_writable
6268 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
6270 * docs/gst/gstreamer-sections.txt:
6272 Add gst_event_replace() (#327001)
6274 2006-01-20 Wim Taymans <wim@fluendo.com>
6276 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6277 Make it actually compile too..
6279 2006-01-20 Wim Taymans <wim@fluendo.com>
6282 Clarify behaviour of _is_equal() when passing NULL parameters.
6284 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6286 Cleanups. Don't unref NULL caps.
6287 When setting the same caps, protect caps of the pad with
6289 Use full functionality of _is_equal() when comparing caps.
6291 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6293 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6294 Don't loop infinitely if there are no buffers to present. Partially
6295 fixes #327197, but collectpads is just broken for reusing elements
6296 to do multiple encodes atm.
6298 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6300 * tools/gst-inspect.c: (print_element_features):
6301 * tools/gst-xmlinspect.c: (main):
6302 URL_HANDLER is not a plugin feature we can search for in
6305 2006-01-19 Edward Hervey <edward@fluendo.com>
6307 * gst/gstelement.c: (gst_element_pads_activate):
6308 When activating, do src pads first, then sink pads.
6309 When de-activating, do sink pads first, then src pads.
6311 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6313 * docs/gst/gstreamer-sections.txt:
6314 Add gst_index_add_associationv to the docs
6316 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6321 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6322 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6323 Do some refactoring. Doesn't actually change functionality,
6324 but makes landing the DRAIN event easier later.
6326 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
6328 * docs/pwg/advanced-scheduling.xml:
6329 Update from 0.9.x to 0.10 API and make example a bit
6332 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6334 * docs/gst/gstreamer-sections.txt:
6335 Add gst_buffer_(is|make)_metadata_writable methods.
6337 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6339 * docs/design/part-sparsestreams.txt:
6340 Update sparse streams doc, hopefully for greater clarity
6342 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
6344 * docs/design/part-events.txt:
6345 Remove mention of FILLER events.
6348 * docs/design/part-sparsestreams.txt:
6349 Write some things about using NEWSEGMENT to keep sparse streams
6352 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6354 * gst/gstbin.c: (gst_bin_dispose):
6355 Guard gst_object_unref call against a NULL object (dispose
6356 can theoretically be called multiple times).
6358 2006-01-18 Wim Taymans <wim@fluendo.com>
6360 * gst/gstbin.c: (gst_bin_element_set_state):
6361 * gst/gstclock.c: (gst_clock_id_wait):
6362 Added some more debug info.
6364 * libs/gst/base/gstadapter.c:
6367 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6368 (gst_base_sink_do_sync), (gst_base_sink_chain):
6369 Added some comments.
6371 2006-01-18 Wim Taymans <wim@fluendo.com>
6373 * tests/check/Makefile.am:
6374 * tests/check/elements/fakesink.c: (chain_async_buffer),
6375 (chain_async), (chain_async_return), (GST_START_TEST),
6376 (fakesink_suite), (main):
6377 Added fakesink test that checks prerolling and clipping
6380 * tests/check/gst/gstutils.c: (GST_START_TEST):
6381 Make check run faster so that buildbots don't timeout.
6383 2006-01-18 Wim Taymans <wim@fluendo.com>
6385 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6386 (gst_base_sink_do_sync):
6388 When the sink finishes blocking on the preroll buffer, it can
6389 immediatly render it instead of rendering when the next buffer
6392 2006-01-18 Wim Taymans <wim@fluendo.com>
6394 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6395 (gst_base_sink_get_property), (gst_base_sink_do_sync),
6396 (gst_base_sink_chain):
6398 GST_ELEMENT_CLOCK and sync are protected with LOCK.
6399 Don't store _last_stop if the buffer is dropped.
6401 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6403 * plugins/elements/gsttypefindelement.c:
6404 (gst_type_find_element_class_init):
6405 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6406 object method handler that sets the caps on the pad and we want
6407 that to happen before we emit the signal (fixes e.g. feeding a
6408 plain text file to decodebin).
6410 2006-01-18 Christian Schaller <Christian@fluendo.com>
6412 * gst/gstplugin.c: Add MPL and Proprietary as license options
6414 2006-01-18 Andy Wingo <wingo@pobox.com>
6416 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6417 symbol was exported before, it appears this was just an oversight.
6419 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6421 * gst/gstindex.c (gst_index_add_associationv): Changed int in
6422 prototype to gint. OK since this prototype was not in the header.
6424 2006-01-17 Andy Wingo <wingo@pobox.com>
6426 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6427 registry while we remove plugins.
6429 * tools/gst-inspect.c (print_element_info): Don't unref the
6430 factory arg, that should be the responsibility of whatever code
6431 received the ref. Fixes a double-free when called from
6432 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6433 (main): Unref the factory if we have one.
6434 (print_element_list): No change -- relies on the
6435 plugin_feature_list_free to free the list of features.
6437 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
6439 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6440 (gst_buffer_make_metadata_writable):
6442 * libs/gst/base/gstbasetransform.c:
6443 (gst_base_transform_prepare_output_buf):
6444 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6445 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6446 Replace gst_buffer_(make|is)_metadata_writable patch now
6447 that the release is out.
6449 2006-01-17 Andy Wingo <wingo@pobox.com>
6451 * gst/gstregistry.c: Reflow design comment. Update so as to speak
6452 in the present tense without reference to versions.
6454 * gst/gstregistry.c (gst_registry_add_plugin)
6455 (gst_registry_remove_plugin, gst_registry_remove_feature)
6456 (gst_registry_find_feature, gst_registry_get_feature_list)
6457 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6458 (gst_registry_lookup, gst_registry_scan_path)
6459 (_gst_registry_remove_cache_plugins)
6460 (gst_registry_get_feature_list_by_plugin): Add argument
6463 === release 0.10.2 ===
6465 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
6468 releasing 0.10.2, "If man is five"
6470 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6474 * libs/gst/base/gstbasetransform.c:
6475 (gst_base_transform_prepare_output_buf):
6476 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6477 * tests/check/gst/gstbuffer.c: (gst_test_suite):
6478 Back out patch until after the release.
6480 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6482 * gst/gstminiobject.c:
6483 Spelling fix in docs.
6484 * ChangeLog - remove conflict indicator
6486 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6488 Reviewed By: Andy Wingo
6490 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6491 (gst_buffer_make_metadata_writable):
6493 Add gst_buffer_(is|make)_metadata_writable as analogues of
6494 gst_buffer_(is|make)_writable.
6496 * libs/gst/base/gstbasetransform.c:
6497 (gst_base_transform_prepare_output_buf):
6498 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6499 Use name gst_buffer_(is|make)_metadata_writable functions.
6501 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6502 Test gst_buffer_(is|make)_metadata_writable
6506 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6508 * docs/manual/Makefile.am:
6509 don't do parallel make
6512 * win32/common/config.h.in:
6513 add generations for HOST_CPU and GST_MAJORMINOR
6514 * win32/common/config.h:
6515 commit generated result
6517 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6519 * docs/manual/appendix-integration.xml:
6520 Update GNOME integration section to use gst_init_get_option_group()
6521 instead of the old popt stuff (#322911). Also, GNOME applications
6522 should now use gconf*sink and gconf*src instead of the old gconf
6525 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6528 * docs/gst/gstreamer-docs.sgml:
6529 * docs/gst/gstreamer-sections.txt:
6530 * docs/libs/gstreamer-libs-sections.txt:
6531 add new API entries to the docs
6532 * libs/gst/controller/Makefile.am:
6533 * libs/gst/controller/gstcontroller.c:
6534 * libs/gst/controller/gstcontroller.h:
6535 * libs/gst/controller/gstcontrollerprivate.h:
6536 * libs/gst/controller/gsthelper.c:
6537 * libs/gst/controller/gstinterpolation.c:
6538 move private structs to private header
6540 gstreamer-0.7 -> gstreamer-0.10
6541 * tests/check/libs/struct_i386.h:
6542 remove private structs
6544 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6546 * plugins/indexers/Makefile.am:
6547 Fixes as part of #317048
6549 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6551 * plugins/indexers/Makefile.am:
6552 fix #316086 - compilation when mmap is missing
6554 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6556 * libs/gst/base/gstbasesink.c:
6557 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6558 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6559 * win32/common/config.h:
6560 added some defines GST_MAJORMINOR and HOST_CPU
6561 * win32/common/libgstbase.def:
6562 * win32/common/libgstreamer.def:
6563 added some exported functions.
6565 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6567 * libs/gst/controller/gstcontroller.c:
6568 (gst_controlled_property_set_interpolation_mode),
6569 (gst_controlled_property_new):
6570 * libs/gst/controller/gstcontroller.h:
6571 * libs/gst/controller/gstinterpolation.c:
6572 (interpolate_none_get_string_value_array):
6573 make G_TYPE_STRING controlable
6575 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6578 * tools/gst-feedback.1.in:
6579 * tools/gst-inspect.1.in:
6580 * tools/gst-launch.1.in:
6581 * tools/gst-md5sum.1.in:
6582 * tools/gst-typefind.1.in:
6583 * tools/gst-xmlinspect.1.in:
6584 * tools/gst-xmllaunch.1.in:
6585 cleanup man-pages, remove reference to gst-register, document env-vars
6587 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6589 * gst/gstbuffer.c: (gst_buffer_span):
6590 gst_buffer_span should copy the timestamp of the first buffer
6591 if they were both originally overlapping subbuffers of the
6592 same parent, using the same logic as the 'slow copy' case.
6594 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6596 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6597 Need to awaken ALL the pads when we pop a buffer, otherwise
6598 collectpads only works when there is 2 input streams.
6600 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6602 * docs/random/ensonic/media-device-daemon.txt:
6605 fix doc example, add clarification
6606 * tools/gst-launch.1.in:
6607 add initial info about GST_PLUGIN_PATH, needs more work
6609 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6611 * docs/manual/basics-bins.xml:
6612 * docs/manual/basics-elements.xml:
6613 * docs/manual/intro-basics.xml:
6614 Some more minor docs additions and updates.
6616 2006-01-11 Wim Taymans <wim@fluendo.com>
6618 * docs/manual/basics-bins.xml:
6619 * docs/manual/basics-elements.xml:
6620 Some small fixes as pointed out by Ser-ver on IRC.
6622 2006-01-10 Edward Hervey <edward@fluendo.com>
6624 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6625 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6626 the single-segment mode.
6628 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6630 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6632 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6633 (gst_base_src_perform_seek), (gst_base_src_send_event),
6634 (gst_base_src_set_property), (gst_base_src_get_property),
6635 (gst_base_src_loop), (gst_base_src_start),
6636 (gst_base_src_activate_push):
6637 * libs/gst/base/gstbasesrc.h:
6638 Name (private) union; makes Sun's Forte compiler happy (#324900).
6640 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6643 gst-register is gone.
6645 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6647 * gst/gstvalue.c: (_gst_value_initialize):
6648 make the G_TYPE_DATE instantiation work if debug is disabled
6650 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6652 * gst/gstmessage.c: (gst_message_parse_tag),
6653 (gst_message_parse_error), (gst_message_parse_warning):
6654 Don't crash when return location for error/warning debug
6655 string is NULL; add fact that return locations can be
6656 NULL to docs where appropriate.
6658 2006-01-05 Wim Taymans <wim@fluendo.com>
6660 * gst/gstplugin.c: (gst_plugin_load_file):
6661 Replace strdup by g_strdup.
6663 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6665 * docs/pwg/advanced-types.xml:
6668 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6670 submitted by: Abel Cheung
6674 Added Chinese (traditional) translation
6676 2006-01-04 Wim Taymans <wim@fluendo.com>
6678 * docs/manual/basics-pads.xml:
6679 * docs/plugins/Makefile.am:
6680 * docs/plugins/gstreamer-plugins-docs.sgml:
6681 * docs/plugins/gstreamer-plugins-sections.txt:
6682 * docs/pwg/advanced-clock.xml:
6683 * docs/pwg/advanced-scheduling.xml:
6684 * docs/pwg/advanced-types.xml:
6685 * plugins/elements/gstfdsink.c:
6686 * plugins/elements/gstfdsrc.c:
6687 * plugins/elements/gstfdsrc.h:
6688 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6689 * plugins/elements/gstidentity.h:
6690 * plugins/elements/gstqueue.h:
6691 * plugins/elements/gsttee.c:
6692 * plugins/elements/gsttee.h:
6693 * plugins/elements/gsttypefindelement.c:
6694 (gst_type_find_element_class_init):
6695 * plugins/elements/gsttypefindelement.h:
6696 Small updates to various docs.
6697 Added core plugins to docs.
6699 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6702 add a suppression for liboil's uninitialized variable
6704 2006-01-02 James Livingston <jrl at ids dot org dot au>
6706 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6709 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6710 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6711 compiler switch is being used (#325429).
6713 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6715 * gst/gstbin.c: (gst_bin_query):
6716 Disable duration query caching in bins until it gets
6717 fixed (see #324807).
6719 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6721 * tools/gst-inspect.c: (print_element_properties_info):
6722 Handle properties of POINTER and BOXED type.
6724 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6726 * gst/gst.c: (init_post):
6727 Init tags stuff and some other things before loading
6728 any static plugins (there may be other static plugins
6729 than just the GStreamer ones, and they may want to
6730 register their own tags or formats or whatever, and
6731 preferably without segfaulting).
6733 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6734 Print at least a warning in the debug logs if we drop a
6735 query just because we don't know how to adjust the value
6736 in the particular format.
6738 2005-12-24 David Schleef <ds@schleef.org>
6740 * tools/gstreamer-completion:
6741 Replacement for gst-complete written in sh and sed. Only
6742 completes names of features, but that's 90% of what I want
6743 it for. Properties are not available in registry.xml. (Maybe
6746 === release 0.10.1 ===
6748 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6751 releasing 0.10.1, "Nollaig chridheil"
6753 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6756 Add missing quote, should be make ERROR_CFLAGS="".
6758 2005-12-20 Wim Taymans <wim@fluendo.com>
6760 * docs/design/part-trickmodes.txt:
6761 More documentation on trickmodes.
6763 2005-12-20 Edward Hervey <edward@fluendo.com>
6765 * gst/gstcaps.c: (gst_static_caps_get_type):
6767 API addition: GST_TYPE_STATIC_CAPS
6768 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6769 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6770 * gst/gstpadtemplate.h:
6771 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6772 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6775 2005-12-18 Wim Taymans <wim@fluendo.com>
6777 * libs/gst/base/gstadapter.c:
6778 * libs/gst/base/gstadapter.h:
6779 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6780 (gst_base_sink_get_position):
6781 * libs/gst/base/gstbasesink.h:
6782 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6783 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6784 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6785 (gst_base_src_send_event), (gst_base_src_update_length),
6786 (gst_base_src_get_range), (gst_base_src_loop),
6787 (gst_base_src_start):
6788 * libs/gst/base/gstbasesrc.h:
6789 * libs/gst/base/gstbasetransform.h:
6790 * libs/gst/base/gstcollectpads.h:
6791 * libs/gst/base/gstpushsrc.c:
6792 * libs/gst/base/gstpushsrc.h:
6793 * libs/gst/dataprotocol/dataprotocol.c:
6794 * libs/gst/dataprotocol/dataprotocol.h:
6795 * libs/gst/net/gstnetclientclock.h:
6796 * libs/gst/net/gstnettimeprovider.h:
6797 Documentation updates.
6799 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6801 * docs/manual/basics-helloworld.xml:
6802 Remove superfluous closing bracket in helloworld example.
6804 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6806 * tools/gst-launch.1.in:
6807 Update gst-launch man page; add a section with useful
6808 environment variables. Fixes #323882.
6810 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6813 * gst/gst_private.h:
6814 change some char* into char[]
6816 2005-12-16 Wim Taymans <wim@fluendo.com>
6818 * gst/gstregistryxml.c: (load_feature):
6820 Don't use g_object_unref on GstObjects so that we avoid
6821 leaks on unsafe glibs.
6823 2005-12-16 Wim Taymans <wim@fluendo.com>
6825 * gst/gstbin.c: (gst_bin_recalc_state):
6828 2005-12-16 Wim Taymans <wim@fluendo.com>
6831 Added make forever target for check.
6833 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6835 * gst/gst.c: (init_post):
6836 make the registry cache file HOST_CPU-dependent
6838 2005-12-16 Andy Wingo <wingo@pobox.com>
6840 * plugins/elements/gstbufferstore.c
6841 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6844 * tests/check/gst/gstobject.c
6845 (test_fake_object_name_threaded_unique): Pay attention to
6846 g_list_sort return value.
6848 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6850 * tools/gst-feedback-m.m:
6851 Update for 0.9/0.10 (fixes #323870).
6853 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6855 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6856 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6858 * tests/check/gst/gstminiobject.c: (my_foo_init),
6859 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6860 (test_value_collection), (gst_mini_object_suite):
6861 Add test to ensure refcounts end up as expected when passing
6862 GstMiniObjects through g_object_get() and g_object_set().
6864 2005-12-14 Julien MOUTTE <julien@moutte.net>
6866 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6867 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6868 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6869 of collectpads. This version removes a lot of races without
6870 touching API/ABI. Yay !
6872 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6874 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6875 Don't allow activation of a srcpad in pull_range if it has no
6877 Change some debug statements to be a little clearer
6879 * plugins/elements/gsttypefindelement.c:
6880 (gst_type_find_handle_src_query):
6881 Check that we have a peer before executing queries thereupon.
6883 * tests/examples/metadata/read-metadata.c: (message_loop):
6884 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6885 immediately return us any available message with 0 timeout.
6887 2005-12-12 Michael Smith <msmith@fluendo.com>
6889 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6890 Don't unref factories after calling them.
6891 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6892 * plugins/elements/gsttypefindelement.c:
6893 (gst_type_find_element_chain):
6894 Free lists of factories after using them. Fixing typefinding memory
6897 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6899 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6900 (gst_plugin_feature_load):
6901 more meaningful debug output
6903 * tests/Makefile.am:
6904 * tests/old/examples/Makefile.am:
6905 make make distcheck happy again
6907 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6909 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6910 Catch the special case where we are operating chain-based,
6911 but the downstream peer pad has no chain function. Emit a
6912 custom error message in this case instead of letting the
6913 core generate one implying that this is some sort of core
6914 bug. It's not, it just means that whatever got plugged
6915 into the pipeline downstream when we announced the type
6916 can only operate pull-based, while our source can only
6917 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6918 Error string has not been marked for translation yet, as
6919 it probably needs some more work first.
6921 (gst_type_find_element_get_best_possibility):
6922 Add helper function to find the best of all available
6923 found possibilities that qualify given the min. threshold.
6925 (gst_type_find_element_handle_event):
6926 Fix the case where we get an EOS while still in TYPEFIND
6927 mode (we want to chose the best of all possible types,
6928 not just the first type that happens to be in our unsorted
6929 list of possible types).
6931 (gst_type_find_element_chain):
6932 Make sure we return GST_FLOW_ERROR when we errored out
6933 in stop_typefinding(); also, don't just find the best of
6934 all found type entries and then use the last examined
6935 type entry, but actually use the best entry.
6937 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6939 * tests/examples/typefind/typefind.c: (type_found):
6940 * tests/examples/xml/runxml.c: (xml_loaded):
6941 More gcc4 fixes and a mem leak fix.
6943 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6945 * tests/examples/xml/createxml.c: (object_saved):
6948 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6950 * tests/Makefile.am:
6951 enable the examples even more
6953 2005-12-12 Andy Wingo <wingo@pobox.com>
6955 * libs/gst/net/gstnettimeprovider.c
6956 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6957 (gst_net_time_provider_set_property)
6958 (gst_net_time_provider_get_property):
6959 API addition: Export "active" as a GObject property.
6960 (gst_net_time_provider_thread): Only respond to time queries if
6961 the time provider is active.
6963 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6964 NetTimeProvider, preserving binary compat.
6966 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6968 * tests/examples/controller/audio-example.c: (main):
6969 * tests/examples/launch/Makefile.am:
6970 convert comments again
6972 2005-12-12 Wim Taymans <wim@fluendo.com>
6974 * libs/gst/base/gstpushsrc.c:
6977 2005-12-12 Wim Taymans <wim@fluendo.com>
6979 * docs/libs/gstreamer-libs-sections.txt:
6980 Added new symbol to docs.
6982 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6983 (gst_base_src_init), (gst_base_src_set_format),
6984 (gst_base_src_default_query), (gst_base_src_query),
6985 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6986 (gst_base_src_perform_seek), (gst_base_src_send_event),
6987 (gst_base_src_default_event), (gst_base_src_event_handler),
6988 (gst_base_src_set_property), (gst_base_src_get_property),
6989 (gst_base_src_wait), (gst_base_src_do_sync),
6990 (gst_base_src_update_length), (gst_base_src_get_range),
6991 (gst_base_src_check_get_range), (gst_base_src_loop),
6992 (gst_base_src_default_negotiate), (gst_base_src_start),
6993 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6994 (gst_base_src_change_state):
6995 * libs/gst/base/gstbasesrc.h:
6996 Implement seeking to other formats than _BYTES.
6997 Implement more seeking methods correctly.
6999 Added query vmethod.
7000 Added do_seek vmethod to make life easier for subclasses
7002 API addition: gst_base_src_set_format()
7004 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7006 * tests/examples/Makefile.am:
7009 2005-12-12 Stefan Kost <ensonic@users.sf.net>
7012 * docs/random/ensonic/media-device-daemon.txt:
7013 * tests/examples/controller/.cvsignore:
7014 * tests/examples/controller/Makefile.am:
7015 * tests/examples/controller/audio-example.c: (main):
7016 * tests/examples/helloworld/.cvsignore:
7017 * tests/examples/helloworld/Makefile.am:
7018 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
7019 * tests/examples/launch/.cvsignore:
7020 * tests/examples/launch/Makefile.am:
7021 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
7022 * tests/examples/metadata/.cvsignore:
7023 * tests/examples/metadata/Makefile.am:
7024 * tests/examples/metadata/read-metadata.c: (message_loop),
7025 (make_pipeline), (print_tag), (main):
7026 * tests/examples/queue/.cvsignore:
7027 * tests/examples/queue/Makefile.am:
7028 * tests/examples/queue/queue.c: (event_loop), (main):
7029 * tests/examples/typefind/.cvsignore:
7030 * tests/examples/typefind/Makefile.am:
7031 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
7033 * tests/examples/xml/.cvsignore:
7034 * tests/examples/xml/Makefile.am:
7035 * tests/examples/xml/createxml.c: (object_saved), (main):
7036 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
7037 * tests/old/examples/Makefile.am:
7038 * tests/old/examples/TODO:
7039 * tests/old/examples/controller/.cvsignore:
7040 * tests/old/examples/controller/Makefile.am:
7041 * tests/old/examples/controller/audio-example.c:
7042 * tests/old/examples/helloworld/.cvsignore:
7043 * tests/old/examples/helloworld/Makefile.am:
7044 * tests/old/examples/helloworld/helloworld.c:
7045 * tests/old/examples/launch/.cvsignore:
7046 * tests/old/examples/launch/Makefile.am:
7047 * tests/old/examples/launch/mp3parselaunch.c:
7048 * tests/old/examples/launch/mp3play:
7049 * tests/old/examples/manual/Makefile.am:
7050 * tests/old/examples/metadata/Makefile.am:
7051 * tests/old/examples/metadata/read-metadata.c:
7052 * tests/old/examples/queue/.cvsignore:
7053 * tests/old/examples/queue/Makefile.am:
7054 * tests/old/examples/queue/queue.c:
7055 * tests/old/examples/typefind/.cvsignore:
7056 * tests/old/examples/typefind/Makefile.am:
7057 * tests/old/examples/typefind/typefind.c:
7058 * tests/old/examples/xml/.cvsignore:
7059 * tests/old/examples/xml/Makefile.am:
7060 * tests/old/examples/xml/createxml.c:
7061 * tests/old/examples/xml/runxml.c:
7062 applied some simple fixing to some examples
7063 re-enabled the working examples
7065 2005-12-12 Wim Taymans <wim@fluendo.com>
7067 * gst/gstsegment.c: (gst_segment_init),
7068 (gst_segment_set_last_stop), (gst_segment_set_seek),
7069 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7070 (gst_segment_to_running_time):
7071 Added more documentation.
7072 Make sure the last_pos value is updated properly.
7073 Make sure to_stream_time and to_running_time don't
7074 operate on wrong values.
7076 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7079 2005-12-12 Michael Smith <msmith@fluendo.com>
7081 * plugins/elements/gsttypefindelement.c: (free_entry),
7082 (gst_type_find_element_chain):
7083 Now that we're not leaking factories, make sure we keep references
7084 to them while we need them.
7086 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
7088 * tests/check/gst/struct_i386.h:
7089 ifdef out the XML structs
7091 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
7093 * gst/gstvalue.c: (gst_value_transform_double_fraction):
7094 floor is not needed, F is always positive; this obviates the
7095 need for adding -lm when building without libxml
7097 2005-12-12 Wim Taymans <wim@fluendo.com>
7099 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7100 Take current playback rate into account when reporting
7103 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7105 * docs/manual/mime-world.fig:
7106 Let's try this again, this time with a file that is
7107 actually in XFig format.
7109 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7111 * docs/manual/mime-world.fig:
7112 Add audioconvert element to diagram so that it
7113 matches the text and the code (fixes #319526).
7115 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7117 * docs/pwg/building-chainfn.xml:
7118 * docs/pwg/building-pads.xml:
7119 * docs/pwg/building-state.xml:
7120 * docs/pwg/other-source.xml:
7121 Update state change stuff for 0.10 (fixes #322969).
7123 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7125 * docs/manual/advanced-dataaccess.xml:
7126 * docs/manual/appendix-checklist.xml:
7127 * docs/manual/appendix-programs.xml:
7128 * docs/manual/basics-pads.xml:
7129 * docs/manual/highlevel-components.xml:
7130 * docs/manual/manual.xml:
7131 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
7132 add converters in front of pipelines; remove curly
7133 brackets for threads stuff, they no longer exist; use
7134 GST_TYPE_FRACTION for framerates; update some pieces of
7135 code to 0.10, but there's plenty more to do.
7137 * docs/manual/appendix-porting.xml:
7138 Expand on asynchroneous state changes; s/0.9/0.10/;
7139 mention disappearance of gst_init_get_popt_table()
7142 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7144 * docs/faq/using.xml:
7145 Spider no longer exists, and neither does gst-launch-ext.
7146 Update examples to use decodebin and playbin and put
7147 converters in front of sinks (fixes #323726).
7149 2005-12-09 Michael Smith <msmith@fluendo.com>
7151 * plugins/elements/gsttypefindelement.c: (find_peek),
7152 (gst_type_find_element_chain):
7153 Fix leaking element factories in typefinding.
7154 Fix problem where we forgot about a probable type on non-seekable
7155 files, and thus later mis-typefound it.
7157 2005-12-09 Michael Smith <msmith@fluendo.com>
7159 * common/m4/gst-makecontext.m4:
7160 * common/m4/gst-mcsc.m4:
7162 * win32/common/config.h:
7163 * win32/common/config.h.in:
7164 Remove makecontext stuff; not used in 0.10 and causes problems on
7165 HPUX according to bug #322441
7167 2005-12-07 Wim Taymans <wim@fluendo.com>
7169 * tests/check/Makefile.am:
7170 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7172 * tests/check/libs/struct_i386.h:
7173 Added ABI check for libs
7175 2005-12-07 Wim Taymans <wim@fluendo.com>
7177 * tests/check/Makefile.am:
7178 And add the struct_i386.h to dist.
7180 2005-12-07 Wim Taymans <wim@fluendo.com>
7182 * tests/check/Makefile.am:
7183 * tests/check/gst/.cvsignore:
7184 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7186 * tests/check/gst/struct_i386.h:
7187 Added check for ABI compatibility.
7189 2005-12-07 Wim Taymans <wim@fluendo.com>
7191 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7192 (gst_fake_src_get_times), (gst_fake_src_create):
7193 Fix broken sync option, fixes #323259
7195 2005-12-07 Wim Taymans <wim@fluendo.com>
7200 * gst/gstcaps.c: (gst_caps_is_equal):
7201 Don't assert on NULL <--> X. Fixes #323260
7203 * gst/gstminiobject.c: (gst_mini_object_replace):
7204 If we're doing atomic operations, we might just as well use
7205 the proper way to get an atomic pointer.
7207 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7210 2005-12-07 Michael Smith <msmith@fluendo.com>
7212 * gst/parse/grammar.y:
7213 Remove handling of { } for threads.
7215 2005-12-06 David Schleef <ds@schleef.org>
7217 * libs/gst/base/gstbasetransform.c: speling fix.
7219 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
7221 * docs/libs/tmpl/gstdataprotocol.sgml:
7222 * docs/random/omega/testing/gstobject.c:
7226 * gst/gstelementfactory.c:
7229 * gst/gstghostpad.c:
7231 * gst/gstpadtemplate.c:
7232 * gst/gstregistryxml.c:
7234 * gst/gsttagsetter.c:
7235 * gst/gsttypefind.c:
7237 * libs/gst/base/gstbasesrc.c:
7238 * libs/gst/net/gstnetclientclock.c:
7239 * libs/gst/net/gstnettimeprovider.c:
7240 * plugins/elements/gstfakesrc.c:
7241 * plugins/elements/gstfdsrc.c:
7242 * plugins/elements/gstfilesrc.c:
7243 * plugins/elements/gstidentity.c:
7244 * plugins/elements/gstqueue.c:
7245 * plugins/elements/gsttypefindelement.c:
7246 * plugins/indexers/gstfileindex.c:
7247 * plugins/indexers/gstmemindex.c:
7248 * tests/check/gst/gsttag.c:
7249 * tests/old/examples/cutter/cutter.c:
7250 * tests/old/examples/mixer/mixer.c:
7251 * tests/old/examples/xml/runxml.c: (main):
7252 * tests/old/testsuite/caps/normalisation.c:
7253 * tests/old/testsuite/debug/global.c:
7254 * tests/old/testsuite/parse/parse1.c:
7255 * tools/gst-xmlinspect.c:
7256 * win32/common/dirent.c:
7259 === release 0.10.0 ===
7261 2005-12-05 <thomas (at) apestaart (dot) org>
7264 releasing 0.10.0, "Maroilles"
7266 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7268 submitted by: Funda Wang <fundawang@linux.net.cn>
7272 added Chinese (Traditional) translation
7274 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7276 * docs/gst/gstreamer-sections.txt:
7277 * docs/libs/tmpl/gstdataprotocol.sgml:
7278 * docs/random/thomasvs/TODO:
7283 2005-12-05 Andy Wingo <wingo@pobox.com>
7285 patch by: Wim Taymans <wim@fluendo.com>
7287 * libs/gst/base/gstbasetransform.c
7288 (gst_base_transform_prepare_output_buf)
7289 (gst_base_transform_buffer_alloc):
7290 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7291 alloc_buffer_and_set_caps.
7293 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7294 set_caps on the source pad.
7295 (gst_pad_alloc_buffer_and_set_caps): New function, does what
7296 alloc_buffer used to do. Fixes #322874.
7298 * docs/gst/gstreamer-sections.txt:
7299 * docs/design/part-negotiation.txt:
7300 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7303 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7305 patch by: Sebastien Moutte
7308 * win32/common/config.h.in:
7309 * win32/vs6/libgstcontroller.dsp:
7312 2005-12-05 Wim Taymans <wim@fluendo.com>
7314 * gst/gstcaps.c: (gst_caps_is_equal):
7315 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7316 (gst_fake_src_create):
7317 Back out previous code changes, leave doc updates, file bugs
7320 2005-12-05 Wim Taymans <wim@fluendo.com>
7322 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7323 (gst_fake_src_get_times), (gst_fake_src_create):
7324 * plugins/elements/gstfakesrc.h:
7325 Fix broken sync code.
7327 2005-12-05 Wim Taymans <wim@fluendo.com>
7329 * gst/gstcaps.c: (gst_caps_is_equal):
7330 Comparing NULL against !NULL yields different caps, not a
7333 2005-12-05 Wim Taymans <wim@fluendo.com>
7335 * gst/gstpipeline.c:
7336 Fix small typo in docs.
7338 2005-12-05 Andy Wingo <wingo@pobox.com>
7340 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
7342 * gst/gst.c (init_post): remove hard-coded 0.9 location for
7343 registries/plugins with a MAJORMINOR one.
7344 (plugin_desc): Rename library from gstcoreleements to
7345 staticelements. Fixes #323222.
7347 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
7349 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7350 Change debug category to 'collectpads' from 'collect_pads'
7353 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7355 patch by: Sebastien Moutte
7357 * libs/gst/controller/gstinterpolation.c:
7358 use convert function for uint64/double
7359 * win32/vs6/libgstcontroller.dsp:
7362 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7364 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7365 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7367 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7368 add tests that seem to show that the guint64/gdouble conversions
7371 2005-12-02 Wim Taymans <wim@fluendo.com>
7373 * gst/gstregistry.c: (gst_registry_add_path):
7374 * gst/gstregistry.h:
7375 * gst/gstregistryxml.c:
7378 2005-12-02 Wim Taymans <wim@fluendo.com>
7380 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7381 (gst_util_uint64_scale_int):
7384 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7387 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7390 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7393 * win32/common/config.h:
7394 * win32/vs6/gstreamer.dsw:
7395 * win32/vs6/libgstcoreelements.dsp:
7396 * win32/vs6/libgstelements.dsp:
7397 renamed core elements plugin
7399 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7401 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7403 do piece-wise major/minor comparison so 0.9 < 0.10
7404 also allow .exe extensions for tools
7406 2005-12-02 Michael Smith <msmith@fluendo.com>
7409 Escape a % to make gtkdoc happier; bug 322958.
7411 === release 0.9.7 ===
7413 2005-12-01 <thomas (at) apestaart (dot) org>
7416 releasing 0.9.7, "My Dog Has No Nose"
7418 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7420 * common/gst-xmlinspect.py:
7422 * docs/libs/tmpl/gstdataprotocol.sgml:
7423 * docs/random/release:
7442 * win32/common/config.h:
7443 * win32/common/config.h.in:
7444 * win32/vs6/gst_inspect.dsp:
7445 * win32/vs6/gst_launch.dsp:
7446 * win32/vs6/libgstbase.dsp:
7447 * win32/vs6/libgstelements.dsp:
7448 * win32/vs6/libgstreamer.dsp:
7449 * win32/vs7/GStreamer.vcproj:
7450 * win32/vs7/gst-inspect.vcproj:
7451 * win32/vs7/gst-launch.vcproj:
7452 * win32/vs7/libgstbase.vcproj:
7453 bump GST_MAJORMINOR to 0.10
7454 reset libtool version
7456 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7460 Added Bulgarian translation by (Alexander Shopov)
7462 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7464 * tests/check/gst/gstplugin.c:
7467 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7469 * common/gst-xmlinspect.py:
7470 * common/gtk-doc-plugins.mak:
7473 * docs/gst/Makefile.am:
7474 * docs/gst/gstreamer-docs.sgml:
7475 * docs/gst/gstreamer-sections.txt:
7476 * docs/gst/gstreamer.types:
7477 * docs/gst/gstreamer.types.in:
7478 * docs/plugins/Makefile.am:
7479 * docs/plugins/gstreamer-plugins-docs.sgml:
7480 * docs/plugins/gstreamer-plugins-sections.txt:
7481 * docs/plugins/gstreamer-plugins.types:
7482 * docs/plugins/inspect.stamp:
7483 * docs/plugins/inspect/plugin-coreelements.xml:
7484 * docs/plugins/inspect/plugin-coreindexers.xml:
7485 * docs/plugins/scanobj-build.stamp:
7486 * gstreamer.spec.in:
7487 * plugins/elements/Makefile.am:
7488 * plugins/elements/gstelements.c:
7489 * plugins/elements/gstfakesink.c:
7490 * plugins/elements/gstfakesrc.c:
7491 * plugins/elements/gstfilesink.c:
7492 * plugins/elements/gstfilesrc.c:
7493 * plugins/elements/gstqueue.c:
7494 * plugins/indexers/Makefile.am:
7495 * plugins/indexers/gstindexers.c:
7496 document core plugins in a separate document just like all the
7498 rename these plugins to something starting with core
7500 2005-12-01 Andy Wingo <wingo@pobox.com>
7502 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7503 padding here before, but it missed the commit.
7505 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7507 * libs/gst/controller/gstinterpolation.c:
7508 whitespace prices have crashed, we should feel free to use some now
7509 use gst_guint64_to_gdouble
7511 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7513 * libs/gst/controller/gstcontroller.c:
7514 * libs/gst/controller/gsthelper.c:
7515 * libs/gst/controller/gstinterpolation.c:
7516 * libs/gst/controller/lib.c:
7517 wrap config.h include
7519 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7521 * docs/gst/gstreamer-sections.txt:
7524 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7526 * plugins/elements/gstelements.c:
7527 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7528 (gst_fd_sink__class_init), (gst_fd_sink__init),
7529 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7530 (gst_fd_sink__get_property):
7531 * plugins/elements/gstfdsink.h:
7532 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7533 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7534 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7535 (gst_fd_src_unlock), (gst_fd_src_set_property),
7536 (gst_fd_src_get_property), (gst_fd_src_create),
7537 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7538 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7539 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7540 (gst_fd_src_uri_handler_init):
7541 * plugins/elements/gstfdsrc.h:
7542 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7545 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7547 * docs/gst/Makefile.am:
7548 * docs/gst/gstreamer.types.in:
7552 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7558 * gst/gstregistry.h:
7559 * tests/benchmarks/complexity.c:
7560 * tests/benchmarks/mass-elements.c:
7561 * tests/check/Makefile.am:
7562 * tools/Makefile.am:
7563 * tools/gst-inspect.c:
7564 * tools/gst-xmlinspect.c:
7565 various fixes to make
7566 --disable-nls --disable-registry --disable-loadsave
7567 --disable-parse --disable-gst-debug
7568 work and get the core .so down to 360444 bytes after stripping
7570 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7575 * docs/random/thomasvs/TODO:
7576 * tests/Makefile.am:
7580 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7582 * win32/GStreamer.vcproj:
7585 * win32/Makefile.inspect:
7586 * win32/Makefile.launch:
7587 * win32/Makefile.register:
7589 * win32/gst-inspect.vcproj:
7590 * win32/gst-launch.vcproj:
7591 * win32/gst-register.vcproj:
7592 * win32/gstelements.vcproj:
7593 * win32/gstgetbits.def:
7594 * win32/gstgetbits.vcproj:
7595 * win32/gstreamer-dbg.def:
7596 * win32/gstreamer.def:
7597 * win32/libgstbase.def:
7598 * win32/libgstbase.vcproj:
7599 * win32/link_oldruntime.c:
7604 move even more stuff, win32/ is nice and clean now
7606 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7608 * libs/gst/control/.cvsignore:
7613 * win32/gstbytestream.def:
7614 * win32/gstbytestream.vcproj:
7615 * win32/gstconfig.h:
7616 * win32/gstenumtypes.c:
7617 * win32/gstenumtypes.h:
7618 * win32/gstoptimalscheduler.vcproj:
7619 * win32/gstversion.h:
7621 * win32/testsuite/bins.vcproj:
7622 * win32/testsuite/bytestream.vcproj:
7623 * win32/testsuite/caps.vcproj:
7624 * win32/testsuite/cleanup.vcproj:
7625 * win32/testsuite/clock.vcproj:
7626 * win32/testsuite/debug.vcproj:
7627 * win32/testsuite/dlopen.vcproj:
7628 * win32/testsuite/dynparams.vcproj:
7629 * win32/testsuite/elements.vcproj:
7630 * win32/testsuite/ghostpads.vcproj:
7631 * win32/testsuite/indexers.vcproj:
7632 * win32/testsuite/negotiation.vcproj:
7633 * win32/testsuite/parse.vcproj:
7634 * win32/testsuite/plugin.vcproj:
7635 * win32/testsuite/refcounting.vcproj:
7636 * win32/testsuite/schedulers.vcproj:
7637 * win32/testsuite/states.vcproj:
7638 * win32/testsuite/tags.vcproj:
7639 * win32/testsuite/threads.vcproj:
7640 remove old win32 stuff that isn't maintained and should be
7643 2005-11-30 Andy Wingo <wingo@pobox.com>
7645 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7646 loading the gst.interfaces python module bork.
7648 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7649 available since GLib 2.2. Fixes #318031.
7651 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7655 * check/Makefile.am:
7656 * check/elements/.cvsignore:
7657 * check/elements/fakesrc.c:
7658 * check/elements/fdsrc.c:
7659 * check/elements/identity.c:
7660 * check/generic/.cvsignore:
7661 * check/generic/states.c:
7662 * check/gst-libs/.cvsignore:
7663 * check/gst-libs/controller.c:
7664 * check/gst-libs/gdp.c:
7665 * check/gst/.cvsignore:
7666 * check/gst/capslist.h:
7668 * check/gst/gstbin.c:
7669 * check/gst/gstbuffer.c:
7670 * check/gst/gstbus.c:
7671 * check/gst/gstcaps.c:
7672 * check/gst/gstelement.c:
7673 * check/gst/gstevent.c:
7674 * check/gst/gstghostpad.c:
7675 * check/gst/gstiterator.c:
7676 * check/gst/gstmessage.c:
7677 * check/gst/gstminiobject.c:
7678 * check/gst/gstobject.c:
7679 * check/gst/gstpad.c:
7680 * check/gst/gstpipeline.c:
7681 * check/gst/gstplugin.c:
7682 * check/gst/gstsegment.c:
7683 * check/gst/gststructure.c:
7684 * check/gst/gstsystemclock.c:
7685 * check/gst/gsttag.c:
7686 * check/gst/gstutils.c:
7687 * check/gst/gstvalue.c:
7688 * check/net/.cvsignore:
7689 * check/net/gstnetclientclock.c:
7690 * check/net/gstnettimeprovider.c:
7691 * check/pipelines/.cvsignore:
7692 * check/pipelines/cleanup.c:
7693 * check/pipelines/simple_launch_lines.c:
7694 * check/pipelines/stress.c:
7695 * check/states/.cvsignore:
7696 * check/states/sinks.c:
7698 * examples/Makefile.am:
7699 * examples/appreader/.cvsignore:
7700 * examples/appreader/Makefile.am:
7701 * examples/appreader/appreader.c:
7702 * examples/controller/.cvsignore:
7703 * examples/controller/Makefile.am:
7704 * examples/controller/audio-example.c:
7705 * examples/cutter/.cvsignore:
7706 * examples/cutter/Makefile.am:
7707 * examples/cutter/cutter.c:
7708 * examples/cutter/cutter.h:
7709 * examples/events/Makefile.am:
7710 * examples/events/seek.c:
7711 * examples/helloworld/.cvsignore:
7712 * examples/helloworld/Makefile.am:
7713 * examples/helloworld/helloworld.c:
7714 * examples/helloworld2/.cvsignore:
7715 * examples/helloworld2/Makefile.am:
7716 * examples/helloworld2/helloworld2.c:
7717 * examples/launch/.cvsignore:
7718 * examples/launch/Makefile.am:
7719 * examples/launch/mp3parselaunch.c:
7720 * examples/launch/mp3play:
7721 * examples/manual/.cvsignore:
7722 * examples/manual/Makefile.am:
7723 * examples/manual/extract.pl:
7724 * examples/metadata/Makefile.am:
7725 * examples/metadata/read-metadata.c:
7726 * examples/mixer/.cvsignore:
7727 * examples/mixer/Makefile.am:
7728 * examples/mixer/mixer.c:
7729 * examples/mixer/mixer.h:
7730 * examples/pingpong/.cvsignore:
7731 * examples/pingpong/Makefile.am:
7732 * examples/pingpong/pingpong.c:
7733 * examples/plugins/.cvsignore:
7734 * examples/plugins/Makefile.am:
7735 * examples/plugins/example.c:
7736 * examples/plugins/example.h:
7737 * examples/pwg/.cvsignore:
7738 * examples/pwg/Makefile.am:
7739 * examples/pwg/extract.pl:
7740 * examples/queue/.cvsignore:
7741 * examples/queue/Makefile.am:
7742 * examples/queue/queue.c:
7743 * examples/queue2/.cvsignore:
7744 * examples/queue2/Makefile.am:
7745 * examples/queue2/queue2.c:
7746 * examples/queue3/.cvsignore:
7747 * examples/queue3/Makefile.am:
7748 * examples/queue3/queue3.c:
7749 * examples/queue4/.cvsignore:
7750 * examples/queue4/Makefile.am:
7751 * examples/queue4/queue4.c:
7752 * examples/retag/.cvsignore:
7753 * examples/retag/Makefile.am:
7754 * examples/retag/retag.c:
7755 * examples/retag/transcode.c:
7756 * examples/thread/.cvsignore:
7757 * examples/thread/Makefile.am:
7758 * examples/thread/thread.c:
7759 * examples/typefind/.cvsignore:
7760 * examples/typefind/Makefile.am:
7761 * examples/typefind/typefind.c:
7762 * examples/xml/.cvsignore:
7763 * examples/xml/Makefile.am:
7764 * examples/xml/createxml.c:
7765 * examples/xml/runxml.c:
7766 * tests/Makefile.am:
7767 * tests/check/Makefile.am:
7768 * testsuite/.cvsignore:
7769 * testsuite/Makefile.am:
7771 * testsuite/caps/.cvsignore:
7772 * testsuite/caps/Makefile.am:
7773 * testsuite/caps/app_fixate.c:
7774 * testsuite/caps/audioscale.c:
7775 * testsuite/caps/caps.c:
7776 * testsuite/caps/caps.h:
7777 * testsuite/caps/caps_strings:
7778 * testsuite/caps/compatibility.c:
7779 * testsuite/caps/deserialize.c:
7780 * testsuite/caps/enumcaps.c:
7781 * testsuite/caps/eratosthenes.c:
7782 * testsuite/caps/filtercaps.c:
7783 * testsuite/caps/fixed.c:
7784 * testsuite/caps/fraction-convert.c:
7785 * testsuite/caps/fraction-multiply-and-zero.c:
7786 * testsuite/caps/intersect2.c:
7787 * testsuite/caps/intersection.c:
7788 * testsuite/caps/normalisation.c:
7789 * testsuite/caps/random.c:
7790 * testsuite/caps/renegotiate.c:
7791 * testsuite/caps/sets.c:
7792 * testsuite/caps/simplify.c:
7793 * testsuite/caps/string-conversions.c:
7794 * testsuite/caps/structure.c:
7795 * testsuite/caps/subtract.c:
7796 * testsuite/caps/union.c:
7797 * testsuite/debug/.cvsignore:
7798 * testsuite/debug/Makefile.am:
7799 * testsuite/debug/category.c:
7800 * testsuite/debug/commandline.c:
7801 * testsuite/debug/global.c:
7802 * testsuite/debug/output.c:
7803 * testsuite/debug/printf_extension.c:
7804 * testsuite/dlopen/.cvsignore:
7805 * testsuite/dlopen/Makefile.am:
7806 * testsuite/dlopen/dlopen_gst.c:
7807 * testsuite/dlopen/loadgst.c:
7808 * testsuite/elements/.cvsignore:
7809 * testsuite/elements/Makefile.am:
7810 * testsuite/elements/gst-inspect-check.in:
7811 * testsuite/elements/struct_i386.h:
7812 * testsuite/elements/struct_size.c:
7813 * testsuite/indexers/.cvsignore:
7814 * testsuite/indexers/Makefile.am:
7815 * testsuite/indexers/cache1.c:
7816 * testsuite/indexers/indexdump.c:
7817 * testsuite/parse/.cvsignore:
7818 * testsuite/parse/Makefile.am:
7819 * testsuite/parse/parse1.c:
7820 * testsuite/parse/parse2.c:
7821 * testsuite/plugin/.cvsignore:
7822 * testsuite/plugin/Makefile.am:
7823 * testsuite/plugin/README:
7824 * testsuite/plugin/dynamic.c:
7825 * testsuite/plugin/linked.c:
7826 * testsuite/plugin/loading.c:
7827 * testsuite/plugin/registry.c:
7828 * testsuite/plugin/static.c:
7829 * testsuite/plugin/static2.c:
7830 * testsuite/plugin/testplugin.c:
7831 * testsuite/plugin/testplugin2.c:
7832 * testsuite/plugin/testplugin2_s.c:
7833 * testsuite/plugin/testplugin_s.c:
7834 * testsuite/refcounting/.cvsignore:
7835 * testsuite/refcounting/Makefile.am:
7836 * testsuite/refcounting/bin.c:
7837 * testsuite/refcounting/element.c:
7838 * testsuite/refcounting/element_pad.c:
7839 * testsuite/refcounting/mainloop.c:
7840 * testsuite/refcounting/mem.c:
7841 * testsuite/refcounting/mem.h:
7842 * testsuite/refcounting/object.c:
7843 * testsuite/refcounting/pad.c:
7844 * testsuite/refcounting/sched.c:
7845 * testsuite/refcounting/thread.c:
7846 * testsuite/states/.cvsignore:
7847 * testsuite/states/Makefile.am:
7848 * testsuite/states/bin.c:
7849 * testsuite/states/locked.c:
7850 * testsuite/states/parent.c:
7851 * testsuite/threads/.cvsignore:
7852 * testsuite/threads/159566.c:
7853 * testsuite/threads/159852.c:
7854 * testsuite/threads/Makefile.am:
7855 * testsuite/threads/queue.c:
7856 * testsuite/threads/signals.c:
7857 * testsuite/threads/staticrec.c:
7858 * testsuite/threads/thread.c:
7859 * testsuite/threads/threadb.c:
7860 * testsuite/threads/threadc.c:
7861 * testsuite/threads/threadd.c:
7862 * testsuite/threads/threade.c:
7863 * testsuite/threads/threadf.c:
7864 * testsuite/threads/threadg.c:
7865 * testsuite/threads/threadh.c:
7866 * testsuite/threads/threadi.c:
7867 move all of these under tests
7869 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7872 * tests/Makefile.am:
7875 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7877 * docs/gst/gstreamer-sections.txt:
7878 * tests/sched/.cvsignore:
7879 * tests/sched/Makefile.am:
7880 * tests/sched/cases/(fs-fs).xml:
7881 * tests/sched/cases/(fs-i-fs).xml:
7882 * tests/sched/cases/(fs-i-i-fs).xml:
7883 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7884 * tests/sched/dynamic-pipeline.c:
7885 * tests/sched/interrupt1.c:
7886 * tests/sched/interrupt2.c:
7887 * tests/sched/interrupt3.c:
7888 * tests/sched/runtestcases:
7889 * tests/sched/runxml.c:
7890 * tests/sched/sched-stress.c:
7891 * tests/sched/sort.c:
7892 * tests/sched/testcases:
7893 * tests/sched/testcases1.tc:
7894 * tests/seeking/.cvsignore:
7895 * tests/seeking/Makefile.am:
7896 * tests/seeking/seeking1.c:
7897 * tests/threadstate/.cvsignore:
7898 * tests/threadstate/Makefile.am:
7899 * tests/threadstate/test1.c:
7900 * tests/threadstate/test2.c:
7901 * tests/threadstate/threadstate1.c:
7902 * tests/threadstate/threadstate2.c:
7903 * tests/threadstate/threadstate3.c:
7904 * tests/threadstate/threadstate4.c:
7905 * tests/threadstate/threadstate5.c:
7906 remove obsolete tests
7908 * tests/bench-complexity.scm:
7909 * tests/bench-mass_elements.scm:
7910 * tests/complexity.c:
7911 * tests/complexity.gnuplot:
7912 * tests/instantiate/.cvsignore:
7913 * tests/instantiate/Makefile.am:
7914 * tests/instantiate/caps.c:
7915 * tests/mass_elements.c:
7916 * tests/network-clock-utils.scm:
7917 * tests/network-clock.scm:
7919 First pass at cleaning up tests/ dir before moving the rest
7920 Combined with CVS surgery
7922 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7925 queue has moved, update
7927 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7929 * docs/gst/gstreamer-sections.txt:
7930 remove double entries from the docs
7931 * gst/gst_private.h:
7932 * gst/gstinfo.c: (_gst_debug_init):
7933 remove the THREAD debug category
7937 * docs/gst/gstreamer.types:
7938 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7939 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7940 completely move queue and fix up debugging categories
7942 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7944 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7945 make initialization portable, using LL is not
7947 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7949 * win32/common/gstconfig.h:
7952 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7954 * win32/common/libgstreamer.def:
7955 rename symbols; sort base section
7957 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7959 * gst/gstclock.c: (do_linear_regression):
7960 remove crack non-portable handrolled DEBUG macro
7962 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7964 * docs/random/release:
7966 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7967 (gst_object_flags_get_type), (register_gst_bin_flags),
7968 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7969 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7970 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7971 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7972 (gst_caps_flags_get_type), (register_gst_clock_return),
7973 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7974 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7975 (gst_clock_flags_get_type), (register_gst_state),
7976 (gst_state_get_type), (register_gst_state_change_return),
7977 (gst_state_change_return_get_type), (register_gst_state_change),
7978 (gst_state_change_get_type), (register_gst_element_flags),
7979 (gst_element_flags_get_type), (register_gst_core_error),
7980 (gst_core_error_get_type), (register_gst_library_error),
7981 (gst_library_error_get_type), (register_gst_resource_error),
7982 (gst_resource_error_get_type), (register_gst_stream_error),
7983 (gst_stream_error_get_type), (register_gst_event_type_flags),
7984 (gst_event_type_flags_get_type), (register_gst_event_type),
7985 (gst_event_type_get_type), (register_gst_seek_type),
7986 (gst_seek_type_get_type), (register_gst_seek_flags),
7987 (gst_seek_flags_get_type), (register_gst_format),
7988 (gst_format_get_type), (register_gst_index_certainty),
7989 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7990 (gst_index_entry_type_get_type),
7991 (register_gst_index_lookup_method),
7992 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7993 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7994 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7995 (gst_index_flags_get_type), (register_gst_debug_level),
7996 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7997 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7998 (gst_iterator_result_get_type), (register_gst_iterator_item),
7999 (gst_iterator_item_get_type), (register_gst_message_type),
8000 (gst_message_type_get_type), (register_gst_mini_object_flags),
8001 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8002 (gst_pad_link_return_get_type), (register_gst_flow_return),
8003 (gst_flow_return_get_type), (register_gst_activate_mode),
8004 (gst_activate_mode_get_type), (register_gst_pad_direction),
8005 (gst_pad_direction_get_type), (register_gst_pad_flags),
8006 (gst_pad_flags_get_type), (register_gst_pad_presence),
8007 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8008 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8009 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8010 (gst_plugin_error_get_type), (register_gst_plugin_flags),
8011 (gst_plugin_flags_get_type), (register_gst_rank),
8012 (gst_rank_get_type), (register_gst_query_type),
8013 (gst_query_type_get_type), (register_gst_tag_merge_mode),
8014 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8015 (gst_tag_flag_get_type), (register_gst_task_state),
8016 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8017 (gst_alloc_trace_flags_get_type),
8018 (register_gst_type_find_probability),
8019 (gst_type_find_probability_get_type), (register_gst_uri_type),
8020 (gst_uri_type_get_type), (register_gst_parse_error),
8021 (gst_parse_error_get_type):
8022 * win32/common/gstenumtypes.h:
8023 * win32/common/gstversion.h:
8024 update visual studio generated files
8026 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8028 * win32/vs6/libgstbase.dsp:
8029 * win32/vs6/libgstelements.dsp:
8030 update project files for new locations
8032 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
8037 reinstate and update
8042 * docs/random/LICENSE:
8045 2005-11-30 Edward Hervey <edward@fluendo.com>
8047 * gst/gsttypefind.c: (gst_type_find_register):
8048 * gst/gsttypefind.h:
8049 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
8050 (gst_type_find_factory_dispose):
8051 * gst/gsttypefindfactory.h:
8052 Fix memory leak in GstTypeFindFactory.
8054 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8057 * plugins/elements/Makefile.am:
8058 * plugins/elements/gstelements.c:
8059 * plugins/elements/gstqueue.c:
8060 move queue from core to the elements plugin
8062 2005-11-29 Andy Wingo <wingo@pobox.com>
8064 * libs/gst/base/gstbasetransform.h:
8065 * libs/gst/base/gstbasesrc.h:
8066 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
8068 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
8069 of pointers by which to pad very extensible base classes (like the
8070 ones in libs/gst/base).
8072 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8074 * docs/gst/gstreamer-docs.sgml:
8075 * docs/gst/gstreamer-sections.txt:
8076 * docs/libs/gstreamer-libs-docs.sgml:
8077 * docs/libs/gstreamer-libs-sections.txt:
8078 moving documentation from core to lib
8080 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8082 * check/Makefile.am:
8084 * docs/gst/Makefile.am:
8086 * gst/base/.cvsignore:
8087 * gst/base/Makefile.am:
8089 * gst/base/gstadapter.c:
8090 * gst/base/gstadapter.h:
8091 * gst/base/gstbasesink.c:
8092 * gst/base/gstbasesink.h:
8093 * gst/base/gstbasesrc.c:
8094 * gst/base/gstbasesrc.h:
8095 * gst/base/gstbasetransform.c:
8096 * gst/base/gstbasetransform.h:
8097 * gst/base/gstcollectpads.c:
8098 * gst/base/gstcollectpads.h:
8099 * gst/base/gstpushsrc.c:
8100 * gst/base/gstpushsrc.h:
8101 * gst/base/gsttypefindhelper.c:
8102 * gst/base/gsttypefindhelper.h:
8103 * gst/check/Makefile.am:
8104 * gst/check/gstcheck.c:
8105 * gst/check/gstcheck.h:
8106 * gst/net/Makefile.am:
8108 * gst/net/gstnetclientclock.c:
8109 * gst/net/gstnetclientclock.h:
8110 * gst/net/gstnettimepacket.c:
8111 * gst/net/gstnettimepacket.h:
8112 * gst/net/gstnettimeprovider.c:
8113 * gst/net/gstnettimeprovider.h:
8114 * libs/gst/Makefile.am:
8115 * libs/gst/base/Makefile.am:
8116 * libs/gst/base/gstbasetransform.c:
8117 * libs/gst/check/Makefile.am:
8118 * plugins/elements/Makefile.am:
8120 CVS surgery + support to move base, check, and net out of gst
8123 2005-11-29 Andy Wingo <wingo@pobox.com>
8125 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
8127 * gst/gststructure.h (struct _GstStructure): Only one pointer of
8130 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
8132 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
8134 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
8136 * gst/gstobject.h: (struct _GstObject): Only one pointer of
8137 padding; reduces object size by about 30%. We don't expect
8138 anything else to go into gstobject.
8140 * gst/gstminiobject.h (struct _GstMiniObject)
8141 (struct _GstMiniObjectClass): Only one pointer of padding; the
8142 payload is only a pointer and two ints anyway. For the class there
8143 are only two methods as well.
8145 * gst/gstelement.h (struct _GstElementClass): Removed
8146 the state_changed signal callback, it is not used.
8148 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8150 * docs/gst/gstreamer.types:
8151 fix includes, though they are a little dinky
8153 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8155 * check/Makefile.am:
8156 look in the right place for elements, a lot more chance of
8159 remove indexers and elements subdirs
8160 * plugins/Makefile.am:
8161 make indexers conditional
8163 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8167 * plugins/elements/Makefile.am:
8168 * plugins/elements/gstcapsfilter.c:
8169 * plugins/elements/gstfilesink.c:
8170 * plugins/elements/gstfilesrc.c:
8171 * plugins/elements/gstidentity.c:
8172 * plugins/indexers/Makefile.am:
8173 do CVS surgery and related build fixery to move elements
8174 and indexers in a new gstreamer/plugins directory, out of the
8177 2005-11-29 Andy Wingo <wingo@pobox.com>
8179 * check/Makefile.am:
8180 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8181 * pkgconfig/gstreamer-net.pc.in:
8182 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8185 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8187 * tools/Makefile.am:
8188 * tools/gst-complete.1.in:
8189 * tools/gst-complete.c:
8190 * tools/gst-compprep.1.in:
8191 * tools/gst-compprep.c:
8192 removing -compprep and -complete
8194 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8196 * gst/gstevent.c: (gst_event_new_new_segment),
8197 (gst_event_parse_new_segment):
8199 fix #320529 - clean up new_segment API and structure.
8200 Let's hope everyone was using the methods, and not the structure.
8202 2005-11-29 Edward Hervey <edward@fluendo.com>
8204 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8205 (gst_base_sink_event), (gst_base_sink_do_sync),
8206 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8207 Properly handle non GST_FORMAT_TIME segment
8208 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8209 Properly handle non GST_FORMAT_TIME segment
8211 This function is valid if the accumulator is 0 and the format
8212 is different from the requested format.
8214 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8216 * docs/gst/gstreamer-sections.txt:
8217 Add gst_query_new_seeking and gst_query_parse_seeking to the
8220 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8222 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8223 Treat a pad alloc with new caps the same as if we were not
8224 negotiated, in order to allow a changing upstream output
8225 to produce a new format of data.
8227 2005-11-29 Edward Hervey <edward@fluendo.com>
8229 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8230 (gst_base_transform_event), (gst_base_transform_eventfunc):
8231 The event virtual method is now properly implemented, with a default
8233 Sub classes should call the parent_class event method. They should
8234 return FALSE if they had a problem handling the given event, or don't
8235 want GstBaseTransform to send that even downstream
8236 * gst/elements/gstidentity.c: (gst_identity_class_init),
8237 (gst_identity_init), (gst_identity_event),
8238 (gst_identity_transform_ip), (gst_identity_set_property),
8239 (gst_identity_get_property):
8240 * gst/elements/gstidentity.h:
8241 Added the single-segment boolean property.
8242 If set to TRUE, it will output a single segment of data, starting from
8243 0, will eat up all incoming newsegment, and modify the timestamp of the
8246 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
8248 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8249 Don't ref NULL target pad (#322751). Improve docs.
8251 2005-11-29 Michael Smith <msmith@fluendo.com>
8253 * gst/gstregistryxml.c: (load_plugin):
8254 Don't crash if we failed to load a feature from a plugin.
8256 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8258 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8260 use more check API and less GLib API
8262 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8265 don't run checks if we don't have check
8267 remove the registry when running make torture
8268 * docs/gst/gstreamer-sections.txt:
8269 remove second multiply
8270 * gst/gstqueue.c: (gst_queue_loop):
8271 fix a compile warning when disabling debug
8273 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8276 Hey! Let's print the pad name if the pointer != NULL instead
8277 of when it == NULL :-)
8279 2005-11-28 Wim Taymans <wim@fluendo.com>
8281 * check/gst/gstutils.c: (GST_START_TEST):
8282 Updated check, add some scaling accuracy checking code.
8284 * gst/gstutils.c: (gst_util_div128_64),
8285 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8286 (gst_util_uint64_scale_int):
8287 Fix 6 times faster division code. Optimize for common
8288 1/1 and less common X/1 cases.
8290 2005-11-28 Wim Taymans <wim@fluendo.com>
8292 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8295 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8296 (do_linear_regression), (gst_clock_add_observation):
8298 Release lock when the clock cannot be slaved.
8299 Catch the case where the regression returned an invalid denominator.
8301 * gst/gstutils.c: (gst_util_div128_64_iterate),
8302 (gst_util_div128_64), (gst_util_uint64_scale_int64),
8303 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8304 Add protentially more performant non-iterative 128/64 divide function
8305 that unfortunatly does not work yet.
8306 Shortcut the trivial 0/X = 0 case.
8307 Remove the warnings on overflow.
8309 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8311 * gst/gstplugin.c: (gst_plugin_register_func):
8312 everything causing a plugin not to load should be at least a WARNING
8314 2005-11-28 Stefan Kost <ensonic@users.sf.net>
8316 * docs/random/ensonic/dparams.txt:
8317 some TODOs for the next dev cycle
8318 * libs/gst/controller/gstcontroller.c:
8319 (gst_controlled_property_set_interpolation_mode),
8320 (gst_controlled_property_new):
8321 * libs/gst/controller/gstcontroller.h:
8322 use base type to assign acccessor functions
8324 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8326 * check/Makefile.am:
8327 Oops, that should have been top_srcdir
8329 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8331 * check/Makefile.am:
8332 * check/elements/fdsrc.c: (GST_START_TEST):
8333 Use a cmdline define to specify the location of a file to use for
8334 testing, to avoid breaking distcheck.
8336 2005-11-28 Andy Wingo <wingo@pobox.com>
8338 * gst/gstpad.c (fixate_value): Use array functions for arrays.
8340 2005-11-28 Edward Hervey <edward@fluendo.com>
8342 * tools/gst-launch.c: (main):
8343 Clarify the output strings, makes it easier to translate.
8346 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8349 don't try and build net if we don't even have <sys/socket.h>
8351 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
8353 * check/Makefile.am:
8354 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8355 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8356 Add tests for fdsrc seekability
8358 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8359 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8360 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8361 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8362 * gst/elements/gstfdsrc.h:
8363 fdsrc should not be a 'live' source.
8364 Implement seeking on seekable fd's.
8366 * gst/gstquery.c: (gst_query_new_seeking),
8367 (gst_query_parse_seeking):
8369 Implement SEEKING query functions:
8370 *_new_seeking and *_parse_seeking
8372 2005-11-27 Stefan Kost <ensonic@users.sf.net>
8374 * gst/gstelement.c: (gst_element_dispose):
8377 * gst/gstiterator.c:
8378 * gst/gststructure.c:
8381 * libs/gst/controller/gstcontroller.c:
8382 (gst_controlled_property_set_interpolation_mode):
8383 * libs/gst/controller/gstcontroller.h:
8384 * libs/gst/controller/gstinterpolation.c:
8385 (interpolate_none_get_enum_value_array):
8386 support controlling enums
8388 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8391 Improve documentation for gst_value_union().
8394 Change return value for union, intersect and subtract functions
8395 from gint to gboolean.
8397 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8399 * gst/gstvalue.c: (gst_value_serialize_any_list),
8400 (gst_value_transform_any_list_string),
8401 (gst_value_deserialize_list), (gst_value_deserialize_array),
8402 (gst_value_set_int_range), (gst_value_deserialize_int_range),
8403 (gst_value_set_double_range), (gst_value_deserialize_double_range),
8404 (gst_value_set_fraction_range_full),
8405 (gst_value_deserialize_fraction_range),
8406 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8407 (gst_value_deserialize_boolean),
8408 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8409 (gst_value_serialize_float), (gst_value_deserialize_float),
8410 (gst_string_wrap), (gst_value_deserialize_string),
8411 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8412 (gst_value_union_int_range_int_range),
8413 (gst_value_intersect_int_range_int_range),
8414 (gst_value_intersect_double_range_double_range),
8415 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8416 (gst_value_subtract_int_range_int_range),
8417 (gst_value_subtract_double_double_range),
8418 (gst_value_subtract_double_range_double_range),
8419 (gst_value_deserialize_fraction):
8421 Use gint, gdouble and gchar in our API instead of int, double and
8422 char (and make usage in gstvalue.c more consistent).
8424 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8426 * check/Makefile.am:
8427 * libs/gst/controller/Makefile.am:
8428 * libs/gst/dataprotocol/Makefile.am:
8429 fix up Makefile.am and remove GST_ENABLE_NEW
8431 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8435 * gst/base/Makefile.am:
8436 * gst/check/Makefile.am:
8437 * gst/elements/Makefile.am:
8438 * gst/net/Makefile.am:
8439 update LDFLAGS use some more
8441 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8443 * common/m4/gst-doc.m4:
8446 2005-11-26 Edward Hervey <edward@fluendo.com>
8448 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8449 This shouldn't issue a g_warning since it returns NULL if it
8450 couldn't find the plugin, and all functions using this behave
8451 properly on a NULL return. Switching to a GST_WARNING.
8453 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
8455 * gst/gstbin.c: (gst_bin_handle_message_func):
8456 Don't leak clock messages.
8458 2005-11-25 Wim Taymans <wim@fluendo.com>
8460 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8461 (gst_util_uint64_scale_int):
8462 Optimisations, remove unneeded vars.
8464 2005-11-25 Wim Taymans <wim@fluendo.com>
8466 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8467 Added more checks for the high precision uint64 cases.
8469 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8470 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8471 Implement high precision (guint64 * guint64) / guint64.
8473 2005-11-24 Wim Taymans <wim@fluendo.com>
8475 * gst/base/gstbasesrc.c: (gst_base_src_query):
8476 Fix wrong percentage query.
8478 * gst/gstutils.c: (gst_util_uint64_scale),
8479 (gst_util_uint64_scale_int):
8480 Add some more common cases that can be handled
8481 efficiently to _scale.
8483 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8485 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8486 (gst_mini_object_suite):
8487 don't use check calls from threads; check probably isn't
8488 threadsafe and using a lock to make it threadsafe would
8489 defeat the purpose of this check
8490 * gst/check/gstcheck.c:
8491 * gst/check/gstcheck.h:
8492 use GST_DEBUG some more
8494 2005-11-24 Wim Taymans <wim@fluendo.com>
8496 * gst/gstutils.c: (gst_util_uint64_scale),
8497 (gst_util_uint64_scale_int):
8498 Chain trivial case to _scale_int.
8500 2005-11-24 Wim Taymans <wim@fluendo.com>
8502 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8503 Added test for scaling.
8508 * gst/gstutils.c: (gst_util_uint64_scale_int):
8509 Implemented high precision scaling code.
8511 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8514 do not crash on pad==NULL
8516 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8518 Patch by: Stefan Kost
8520 * common/gtk-doc.mak:
8521 * docs/gst/Makefile.am:
8522 * docs/libs/Makefile.am:
8523 Fix distcheck issues for the libraries docs build
8526 2005-11-24 Michael Smith <msmith@fluendo.com>
8528 * docs/manual/basics-helloworld.xml:
8529 Fix bug #315027: memory leak in example code in docs.
8531 2005-11-24 Michael Smith <msmith@fluendo.com>
8533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8534 Unlock the PREROLL_LOCK in a failure case.
8536 2005-11-24 Wim Taymans <wim@fluendo.com>
8538 * docs/gst/gstreamer-sections.txt:
8539 * gst/base/gstadapter.h:
8540 * gst/base/gstbasesink.h:
8541 * gst/base/gstbasesrc.h:
8542 * gst/base/gstbasetransform.h:
8543 * gst/base/gstpushsrc.h:
8544 * gst/elements/gstfakesink.h:
8545 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8546 * gst/elements/gstfakesrc.h:
8547 * gst/elements/gstfilesink.h:
8548 * gst/elements/gstfilesrc.h:
8551 * gst/gstbuffer.c: (_gst_buffer_copy):
8554 * gst/gstchildproxy.c:
8557 * gst/gstelementfactory.c:
8558 * gst/gstelementfactory.h:
8560 * gst/gstghostpad.h:
8562 * gst/gstinterface.h:
8563 * gst/gstminiobject.c:
8564 * gst/gstminiobject.h:
8567 * gst/gstpadtemplate.h:
8568 * gst/gstpipeline.h:
8569 * gst/gstpluginfeature.h:
8574 * gst/gsttagsetter.c:
8575 * gst/gsttagsetter.h:
8578 * gst/gsttypefind.h:
8581 * gst/net/gstnetclientclock.c:
8582 * gst/net/gstnetclientclock.h:
8583 * gst/net/gstnettimepacket.c:
8584 * gst/net/gstnettimeprovider.c:
8585 * gst/net/gstnettimeprovider.h:
8588 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8590 * configure.ac: back to HEAD
8592 === release 0.9.6 ===
8594 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8597 releasing 0.9.6, "Always On Time"
8599 2005-11-23 Wim Taymans <wim@fluendo.com>
8601 * docs/gst/gstreamer-sections.txt:
8602 * gst/glib-compat.c:
8603 * gst/gsttagsetter.c:
8605 * gst/net/gstnetclientclock.c:
8606 * gst/net/gstnettimepacket.h:
8609 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8611 * docs/faq/using.xml:
8612 * docs/libs/tmpl/gstcontrol.sgml:
8613 * docs/manual/advanced-dparams.xml:
8614 * docs/manual/appendix-checklist.xml:
8615 * docs/manual/basics-elements.xml:
8616 * docs/pwg/other-source.xml:
8617 * docs/random/moving-plugins:
8619 * tools/gst-launch.1.in:
8620 remove mentions of sinesrc
8622 2005-11-23 Michael Smith <msmith@fluendo.com>
8624 * docs/gst/gstreamer-sections.txt:
8625 Update for new API and API changes.
8627 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8629 Documentation typo fix.
8630 * gst/net/gstnettimepacket.c:
8631 Documentation fixes for arguments.
8633 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8635 * gst/gststructure.c: (gst_structure_get_fraction),
8636 (gst_structure_parse_value),
8637 (gst_structure_fixate_field_nearest_fraction):
8638 * gst/gststructure.h:
8639 * gst/gstutils.c: (gst_util_uint64_scale_int):
8641 * scripts/update-funcnames:
8643 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8644 Make gst_structure_fixate_field_nearest_fraction take a numerator
8645 and denominator argument instead of a GValue
8646 add gst_structure_get_fraction helper function.
8648 2005-11-23 Wim Taymans <wim@fluendo.com>
8650 * docs/design/part-TODO.txt:
8653 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8654 * gst/net/gstnetclientclock.h:
8655 Use parent fields for timeout and window_size.
8657 2005-11-23 Andy Wingo <wingo@pobox.com>
8659 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8660 rate_num/rate_denom change.
8662 * gst/net/gstnetclientclock.c
8663 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8664 OBJECT_LOCK. Don't call add_observation with the lock.
8666 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8668 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8670 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8671 deal with rate as a fraction whose numerator and denominator are
8672 GstClockTime values.
8673 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8674 master; the other fields are protected by the SLAVE_LOCK.
8675 (do_linear_regression): Note that this must be called with the
8677 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8678 OBJECT_LOCK. Call set_calibration instead of touching the
8680 (gst_clock_set_property, gst_clock_get_property): Protect
8681 master/slave parameters with the SLAVE_LOCK.
8683 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8684 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8685 note that all of the instance variables that add_observation and
8686 the set_master functions use are protected by that lock and not
8688 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8690 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8691 the caller to take the object lock.
8693 2005-11-23 Wim Taymans <wim@fluendo.com>
8695 * gst/gsterror.c: (_gst_core_errors_init):
8697 Add error for clock stuff.
8699 * gst/gstpipeline.c: (gst_pipeline_change_state),
8700 (gst_pipeline_set_clock):
8701 Post clock error when clock cannot be used in a pipeline.
8703 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8705 * docs/gst/gstreamer-sections.txt:
8706 make two symbols from gstinfo private for the docs
8707 * gst/base/gstcollectpads.h:
8709 fix doc typos, update docs
8711 2005-11-22 Wim Taymans <wim@fluendo.com>
8713 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8714 (gst_base_sink_wait), (gst_base_sink_do_sync),
8715 (gst_base_sink_handle_event):
8716 * gst/base/gstbasesink.h:
8717 No need to store the clock, the parent element class already
8720 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8721 Updates for clock_set returning a gboolean
8723 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8724 (gst_clock_id_wait_async), (gst_clock_class_init),
8725 (gst_clock_init), (gst_clock_finalize),
8726 (gst_clock_get_internal_time), (gst_clock_get_time),
8727 (gst_clock_slave_callback), (gst_clock_set_master),
8728 (gst_clock_get_master), (do_linear_regression),
8729 (gst_clock_add_observation), (gst_clock_set_property),
8730 (gst_clock_get_property):
8732 Implement master/slave. When setting a clock as a slave, a
8733 periodic timeout is scheduled to sample master and slave times.
8734 Then the slave clock is recalibrated to match offset and rate
8735 of the master clock.
8736 Update logging a bit.
8737 Add flag so that a clock can state that is cannot be slaved to
8740 * gst/gstelement.c: (gst_element_set_clock):
8742 The set clock returns a gboolean for when an element cannot
8743 deal with the selected clock in the pipeline.
8745 * gst/gstpipeline.c: (gst_pipeline_change_state),
8746 (gst_pipeline_set_clock):
8747 * gst/gstpipeline.h:
8748 Handle the case where the selected clock cannot be set on
8751 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8752 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8753 (gst_net_client_clock_set_property),
8754 (gst_net_client_clock_get_property),
8755 (gst_net_client_clock_observe_times):
8756 * gst/net/gstnetclientclock.h:
8757 Use regression code in GstClock parent, remove duplicated
8760 2005-11-22 Michael Smith <msmith@fluendo.com>
8762 * gst/gstutils.c: (gst_util_clock_time_scale):
8764 * docs/gst/gstreamer-sections.txt:
8765 Rename method to have extra underscore.
8767 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8769 * gst/elements/Makefile.am:
8770 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8771 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8772 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8773 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8774 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8775 * gst/elements/gstfakesrc.h:
8776 * gst/gstqueue.c: (queue_leaky_get_type):
8777 correctly fix GEnumValues so that nick is the short lowercase
8779 * tools/gst-inspect.c: (print_element_properties_info):
8780 also show the nick, since it's useful to use from parse_launch
8784 2005-11-22 Michael Smith <msmith@fluendo.com>
8786 * gst/gstutils.c: (gst_util_clocktime_scale):
8788 * docs/gst/gstreamer-sections.txt:
8789 Add util method for scaling a clocktime by a fraction. Useful
8790 implementation is left as an exercise for the reader.
8792 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8794 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8795 If needed, allocate storage in the destination value during
8798 2005-11-22 Edward Hervey <edward@fluendo.com>
8800 * docs/gst/gstreamer-sections.txt:
8805 * gst/gstutils.c: (gst_util_set_object_arg):
8806 * tools/gst-compprep.c: (main):
8807 * tools/gst-inspect.c: (print_element_properties_info):
8808 Removed GstURI, closes bug #321061
8810 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8812 * check/gst/gststructure.c: (GST_START_TEST):
8813 * gst/gststructure.c: (gst_structure_parse_value):
8814 Oops, broke automatic string type parsing.
8815 Add a test to catch it in future.
8817 2005-11-22 Andy Wingo <wingo@pobox.com>
8819 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8820 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8821 Actually rename the function implementations. Grr.
8823 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8825 * check/gst/capslist.h:
8827 * check/gst/gststructure.c: (GST_START_TEST),
8828 (gst_structure_suite):
8829 Test automatic value type detection in gst_structure_from_string.
8830 * gst/gststructure.c: (gst_structure_parse_value):
8831 Add fraction as a type we try and guess automatically in
8832 caps/structure strings.
8834 2005-11-22 Andy Wingo <wingo@pobox.com>
8836 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8838 * gst/gsttagsetter.h:
8839 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8840 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8841 (gst_tag_setter_add_tag_valist)
8842 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8843 _add_values, _add_valist, and _add_valist_values. Since this is an
8844 interface the function suffixes should be more explicit so
8845 language binding don't end up with element.add_valist ->
8846 gst_tag_setter_add_valist, for example. Fixes #322069.
8848 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8850 * check/gst/gstcaps.c: (GST_START_TEST):
8851 Extend caps string tests to check that a caps to string
8852 conversion is reversible and produces the same caps.
8854 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8855 Output "fraction" as the generic type fraction range, so caps
8856 serialisation and deserialisation works.
8857 * check/gst/capslist.h:
8858 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8859 Support 'MIN' and 'MAX' for deserialising fractions.
8861 2005-11-22 Andy Wingo <wingo@pobox.com>
8863 * gst/gstevent.h (gst_event_new_new_segment)
8864 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8865 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8866 Renamed from *_newsegment, *_buffersize, *_notarget.
8868 * scripts/update-funcnames: New script, performs the changes
8871 2005-11-22 Wim Taymans <wim@fluendo.com>
8873 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8874 Make sure the GstFlowReturn is returned.
8876 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8877 (gst_bus_add_signal_watch):
8879 add gst_bus_add_signal_watch_full.
8881 * gst/gstplugin.c: (gst_plugin_load_file):
8882 Small style cleanup.
8884 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8886 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8887 Block the fakesrc srcpad when we send an event, to avoid
8888 contention on the stream_lock causing random test failures.
8890 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8892 * check/gst/gstvalue.c: (GST_START_TEST):
8893 * gst/gstvalue.c: (gst_value_fraction_subtract):
8896 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8899 include "gstchildproxy.h"
8900 * gst/gstchildproxy.h:
8901 * libs/gst/controller/gstcontroller.h:
8902 use G_GNUC_NULL_TERMINATED
8904 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8906 * check/gst/capslist.h:
8907 * check/gst/gstcaps.c: (GST_START_TEST):
8908 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8909 * gst/gststructure.c: (gst_structure_parse_range),
8910 (gst_structure_fixate_field_nearest_fraction):
8911 * gst/gststructure.h:
8912 * gst/gstvalue.c: (gst_value_init_fraction_range),
8913 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8914 (gst_value_collect_fraction_range),
8915 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8916 (gst_value_set_fraction_range_full),
8917 (gst_value_get_fraction_range_min),
8918 (gst_value_get_fraction_range_max),
8919 (gst_value_serialize_fraction_range),
8920 (gst_value_transform_fraction_range_string),
8921 (gst_value_compare_fraction_range),
8922 (gst_value_deserialize_fraction_range),
8923 (gst_value_intersect_fraction_fraction_range),
8924 (gst_value_intersect_fraction_range_fraction_range),
8925 (gst_value_subtract_fraction_fraction_range),
8926 (gst_value_subtract_fraction_range_fraction),
8927 (gst_value_subtract_fraction_range_fraction_range),
8928 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8929 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8930 (gst_value_transform_string_fraction), (_gst_value_initialize):
8932 Implement fraction ranges and extend GstFraction to support
8933 arithmetic subtraction, as well as deserialization from integer
8934 strings such as "100"
8935 Add a testsuite as for int and double range set operations
8937 2005-11-21 Andy Wingo <wingo@pobox.com>
8941 * gst/gststructure.h: Add glib-compat.h.
8943 2005-11-21 Wim Taymans <wim@fluendo.com>
8945 * gst/gstbin.c: (gst_bin_change_state_func):
8948 2005-11-21 Wim Taymans <wim@fluendo.com>
8951 And add a nice define too.
8953 2005-11-21 Wim Taymans <wim@fluendo.com>
8955 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8956 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8957 (gst_segment_set_duration), (gst_segment_set_last_stop),
8958 (gst_segment_set_seek), (gst_segment_set_newsegment),
8959 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8962 Make binding friendly.
8964 2005-11-21 Andy Wingo <wingo@pobox.com>
8966 * gst/gsttagsetter.h:
8968 * gst/gststructure.h:
8970 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8973 * gst/gsterror.c (_gst_core_errors_init):
8974 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8977 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8978 (noinst_HEADERS): noinst the -private.
8980 2005-11-21 Michael Smith <msmith@fluendo.com>
8983 * gst/gstregistry.h:
8984 Remove unimplemented declarations for which we can see no sensible
8987 2005-11-21 Andy Wingo <wingo@pobox.com>
8989 * gst/gst.h: Include glib-compat.h.
8991 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8993 * gst/glib-compat.c: Include the public and the private header.
8995 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8999 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
9001 * check/gst/gstevent.c (create_custom_events): Check that
9002 FLUSH_STOP is serialized.
9004 * check/elements/identity.c (event_func):
9005 * check/elements/fakesrc.c (event_func): No stream lock, the core
9008 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
9009 stream lock taking, yay.
9011 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
9012 ensure that core takes the stream lock.
9014 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
9017 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
9018 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
9019 it already. For the flush start we do take it though so we get the
9020 right preroll state change messages.
9022 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
9023 the stream lock here, the core does it for us.
9025 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
9026 GST_STREAM_GET_LOCK.
9027 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
9028 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
9029 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
9030 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
9031 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
9032 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
9034 * gst/gstpad.c: Update for stream lock name change.
9036 * gst/base/gstbasesink.c: Update for preroll lock name change.
9038 2005-11-21 Wim Taymans <wim@fluendo.com>
9040 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
9041 (gst_clock_get_master):
9043 * gst/gstsystemclock.c: (gst_system_clock_init):
9044 Convert Clock flags to object flags.
9045 Added methods to manage master/slave clocks.
9047 2005-11-21 Wim Taymans <wim@fluendo.com>
9049 * check/gst/gstsegment.c: (GST_START_TEST):
9050 * docs/design/part-TODO.txt:
9051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9052 (gst_base_sink_event), (gst_base_sink_do_sync),
9053 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9054 (gst_base_sink_query), (gst_base_sink_change_state):
9055 * gst/base/gstbasesink.h:
9056 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9057 (gst_base_src_default_newsegment),
9058 (gst_base_src_configure_segment), (gst_base_src_do_seek),
9059 (gst_base_src_get_range), (gst_base_src_loop),
9060 (gst_base_src_change_state):
9061 * gst/base/gstbasesrc.h:
9062 * gst/base/gstbasetransform.c:
9063 (gst_base_transform_prepare_output_buf),
9064 (gst_base_transform_event), (gst_base_transform_change_state):
9065 * gst/base/gstbasetransform.h:
9066 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9067 (gst_collect_pads_event):
9068 * gst/base/gstcollectpads.h:
9069 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
9070 (gst_fake_src_create):
9071 * gst/elements/gstfakesrc.h:
9072 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9073 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9074 (gst_segment_set_last_stop), (gst_segment_set_seek),
9075 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9076 (gst_segment_to_running_time), (gst_segment_clip):
9078 More segment updates, replace code in plugins with segment
9081 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9083 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
9084 Don't ignore sscanf results
9086 2005-11-21 Andy Wingo <wingo@pobox.com>
9088 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
9091 * *.c: Ran scripts/update-macros. Oh yes.
9093 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
9094 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
9097 * scripts/update-macros: New script. Run it on your files to
9098 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
9101 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9103 * docs/gst/Makefile.am:
9104 * docs/gst/gstreamer-docs.sgml:
9105 * docs/gst/gstreamer-sections.txt:
9106 * docs/gst/gstreamer.types:
9108 more docs fixes, add new api to the docs
9110 2005-11-21 Andy Wingo <wingo@pobox.com>
9112 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
9113 state_broadcast call.
9115 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
9117 2005-11-21 Julien MOUTTE <julien@moutte.net>
9119 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
9120 function calls for arrays.
9122 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9124 * docs/random/ensonic/media-device-daemon.txt:
9125 wild idea, can this be done?
9126 * docs/gst/gstreamer-sections.txt:
9131 * gst/gstpluginfeature.c:
9135 doc fixes and additions
9137 2005-11-21 Andy Wingo <wingo@pobox.com>
9139 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
9140 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
9141 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
9142 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9143 private to the basesrc implementation.
9145 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9146 behalf of event function if necessary. It should no longer be
9147 necessary to take the stream lock in pad's event functions. Fixes
9150 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9151 * docs/gst/gstreamer-sections.txt:
9152 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9153 (gst_structure_fixate_field_nearest_double),
9154 (gst_structure_fixate_field_boolean):
9155 * gst/gststructure.h:
9156 * win32/common/libgstreamer.def:
9157 * win32/gstreamer.def:
9159 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9162 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9164 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9165 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9166 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9167 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9168 (gst_fdsrc_uri_handler_init):
9169 * gst/elements/gstfdsrc.h:
9170 Port fd:// URI handler from 0.8 to fdsrc
9172 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9174 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9175 (gst_value_serialize_fourcc):
9177 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9178 consistent with our other format defines (#320324).
9180 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9182 * gst/gstvalue.c: (gst_value_is_fixed):
9183 Revert previous commit. Value lists are by definition
9184 not fixed, as they are a list of possible values.
9186 2005-11-21 Andy Wingo <wingo@pobox.com>
9188 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9189 during the stable series if we need it. Fixes #319178.
9191 * gst/gstevent.c (gst_event_new_filler): Removed.
9193 * check/gst/gstevent.c: Update comment about filler events.
9195 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9197 * gst/gstvalue.c: (gst_value_is_fixed):
9198 Should handle both value arrays and value lists.
9200 2005-11-21 Andy Wingo <wingo@pobox.com>
9202 patch by: Alessandro Dessina <alessandro nnva org>
9204 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9205 functions to access arrays. Fixes #321962.
9207 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9209 * docs/gst/gstreamer.types:
9210 gst_collectpads_get_type => gst_collect_pads_get_type.
9212 * gst/base/gstbasetransform.c:
9213 Remove unused SIGNAL_HANDOFF enum.
9215 2005-11-21 Andy Wingo <wingo@pobox.com>
9217 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9218 the event type (upstream, downstream, serialized). Renamed
9219 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9220 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9221 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9223 * gst/gstevent.c: Update for new CUSTOM event names.
9225 * check/gst/gstevent.c: Update check for new CUSTOM event names.
9228 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9231 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9233 * docs/gst/gstreamer-sections.txt:
9234 * win32/common/libgstbase.def:
9235 * win32/libgstbase.def:
9236 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9237 (gst_collect_pads_class_init), (gst_collect_pads_init),
9238 (gst_collect_pads_finalize), (gst_collect_pads_new),
9239 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9240 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9241 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9242 (gst_collect_pads_start), (gst_collect_pads_stop),
9243 (gst_collect_pads_peek), (gst_collect_pads_pop),
9244 (gst_collect_pads_available), (gst_collect_pads_read),
9245 (gst_collect_pads_flush), (gst_collect_pads_event),
9246 (gst_collect_pads_chain):
9247 * gst/base/gstcollectpads.h:
9248 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9249 unimplemented functions as unimplemented. Add padding to
9250 GstCollectData. (#320766, #320423)
9252 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9255 Improve docs for DURATION message (usage of duration parameter)
9258 2005-11-20 Wim Taymans <wim@fluendo.com>
9260 * check/Makefile.am:
9261 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9265 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9266 (gst_segment_set_seek), (gst_segment_set_newsegment),
9267 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9270 Added segment helper structure and methods. Not fully implemented
9272 Added segment check.
9274 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
9276 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9277 Add a deserialisation test for fractions
9278 * examples/metadata/read-metadata.c: (message_loop),
9279 (make_pipeline), (main):
9280 Fix up metadata reading sample.
9281 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9283 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9284 Don't try and fixate empty caps
9285 * gst/gst_private.h:
9286 Wrap in G_BEGIN_DECLS/G_END_DECLS
9287 * gst/gstvalue.c: (gst_value_collect_fraction),
9288 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9289 (gst_value_transform_string_fraction),
9290 (gst_value_compare_fraction):
9291 Add some extra guards to ensure that we don't end up
9292 with an invalid denominator of 0 in a gstfraction and
9293 that fractions always get reduced.
9295 2005-11-20 Wim Taymans <wim@fluendo.com>
9297 * docs/gst/gstreamer-sections.txt:
9308 2005-11-20 Wim Taymans <wim@fluendo.com>
9310 * docs/design/part-TODO.txt:
9312 Make a proper enum of the flag.
9314 2005-11-19 Wim Taymans <wim@fluendo.com>
9316 * docs/design/part-TODO.txt:
9317 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9318 (gst_format_to_quark), (gst_format_register):
9320 * gst/gstquery.c: (_gst_query_initialize),
9321 (gst_query_type_get_name), (gst_query_type_to_quark),
9322 (gst_query_type_register):
9324 Add type to quark and type to string conversions.
9326 2005-11-19 Andy Wingo <wingo@pobox.com>
9328 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9331 2005-11-19 Wim Taymans <wim@fluendo.com>
9333 * docs/design/part-TODO.txt:
9334 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9335 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9336 (gst_bin_handle_message_func):
9338 Make message handling overridable.
9340 2005-11-19 Andy Wingo <wingo@pobox.com>
9342 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9345 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9347 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9348 is a GstClockTime. Fixes #321710.
9350 * gst/gstclock.h (GstClock): Remove offset property. Add
9351 internal_calibration and external_calibration. Fix padding. Pad
9352 also by GstClockTime so we don't run into problems.
9354 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9355 (gst_clock_get_rate_offset): Remove.
9356 (gst_clock_set_time_adjust): Remove. Fixes #321712.
9359 * gst/gstutils.c (g_static_rec_cond_wait)
9360 (g_static_rec_cond_timed_wait): Removed, no longer needed.
9362 * gst/gstbin.c: Remove terrible continue_state prototype.
9364 * gst/gstelement.h (gst_element_continue_state): Make public.
9367 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9368 by continue_state. Fixes #319389.
9370 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9371 Really fixes #168438. However I don't see anywhere where the
9372 filter function is called... stupid GStreamer...
9374 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9375 don't have a dispose function, so it won't get called when the
9376 object is unreffed, but oh well!
9378 * gst/gstindex.c (gst_index_set_filter_full): New API function,
9379 allows a destroy function to be set so user_data can be freed.
9381 (gst_index_set_filter): Call gst_index_set_filter_full.
9383 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9385 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9386 string should produce an error, given the lack of a way to
9387 represent NULL strings. Fixes #165650.
9390 * gst/gstvalue.c (gst_value_array_append_value)
9391 (gst_value_array_prepend_value, gst_value_array_get_size)
9392 (gst_value_array_get_value): New API, copied from
9393 gst_value_list_*, only operates on arrays.
9394 (gst_value_list_append_value, gst_value_list_prepend_value)
9395 (gst_value_list_concat, gst_value_list_get_size)
9396 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9398 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9399 init_list, because it works on both.
9400 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9401 (gst_value_copy_list_or_array): Renamed from copy_list.
9402 (gst_value_free_list_or_array): Renamed from free_list.
9403 (gst_value_collect_list_or_array): Renamed from collect_list.
9404 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9405 (gst_value_list_or_array_peek_pointer): Renamed from
9407 (_gst_value_array_value_table, _gst_value_list_value_table):
9408 Update value table functions.
9409 (gst_value_compare_list_or_array): Renamed from compare_list.
9411 * gsttaglist.h: Whoops, foreach function returns void. Also fix
9415 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9416 GstTagList*. Fixes #143472.
9418 * gst/gststructure.h: Clarify what the foreach/map functions can
9419 or can't do to their arguments.
9421 2005-11-18 Wim Taymans <wim@fluendo.com>
9423 * gst/gstclock.c: (gst_clock_set_calibration),
9424 (gst_clock_get_calibration):
9426 Calibration can be set with internal time equal to current
9429 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
9435 2005-11-18 Andy Wingo <wingo@pobox.com>
9438 * pkgconfig/gstreamer-net.pc.in:
9439 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9440 * pkgconfig/Makefile.am: Add net pkgconfig files.
9442 2005-11-18 Stefan Kost <ensonic@users.sf.net>
9445 * gst/gstghostpad.c:
9451 2005-11-18 Andy Wingo <wingo@pobox.com>
9453 * gst/net/gstnetclientclock.c: Turn off debugging.
9455 * check/net/gstnetclientclock.c (test_functioning): Assert that the
9456 times connverge somewhat. Can't make a real test.
9458 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9459 integer arithmetic. Return the minimum of the domain, which can be
9460 set as "internal" for gst_clock_set_calibration.
9461 (gst_net_client_clock_observe_times): Call _set_calibration.
9462 (gst_net_client_clock_new): Call _set_calibration instead of
9465 * check/net/gstnetclientclock.c (test_functioning): Use the right
9469 * gst/gstclock.c (gst_clock_get_calibration)
9470 (gst_clock_set_calibration): New functions, obsolete the ones I
9471 added yesterday. Doh. Precision issues mean we have to extrapolate
9472 from a point in the more recent past than 1970.
9473 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9475 (gst_clock_adjust_unlocked): Use the right calibration data.
9477 2005-11-18 Edward Hervey <edward@fluendo.com>
9479 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9480 Also reset the ->current_* values in READY->PAUSED
9482 2005-11-18 Andy Wingo <wingo@pobox.com>
9484 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9485 Whoops, check the right fd. Also add some debugging.
9486 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9487 (do_linear_regression): Add a crapload of debugging. Subtract off
9488 the minimum values from the input series to discard unneeded bits.
9489 Use only int arithmetic. There is still double arithmetic when
9490 calculating the intercept that needs fixing. Return boolean to
9491 indicate success; FALSE would mean the domain or range is too
9492 great. Still needs fixes.
9494 2005-11-18 Wim Taymans <wim@fluendo.com>
9496 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9497 For the current position in stream time, we need to subtract
9500 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9501 Release lock before calling the callback function of async
9504 2005-11-18 Andy Wingo <wingo@pobox.com>
9506 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9507 Port goes all the way to MAXUINT16.
9509 * gst/net/gstnettimeprovider.c: Make the port range the same as
9510 for the kernel: 0 assigns, otherwise ports are less than
9513 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9516 * check/net/gstnetclientclock.c (test_functioning): Add the start
9519 2005-11-18 Wim Taymans <wim@fluendo.com>
9521 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9522 (gst_bin_remove_func), (bin_bus_handler):
9524 Removing a clock provider from a bin, triggers a clock lost message
9525 so that a new clock will be selected.
9526 Adding a clock to a bin triggers a clock provider message.
9527 Make sure we reselect a clock when we received a clock lost message.
9528 Keep a reference to the element that provided the clock.
9530 2005-11-18 Andy Wingo <wingo@pobox.com>
9532 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9533 the clock initially so it produces values around the base time.
9534 (gst_net_client_clock_class_init): Typo fix.
9535 (gst_net_client_clock_thread): Add note on when the socket gets
9538 2005-11-17 Wim Taymans <wim@fluendo.com>
9540 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9541 Free remote and local time arrays.
9543 2005-11-17 Wim Taymans <wim@fluendo.com>
9545 * gst/net/gstnetclientclock.c: (do_linear_regression),
9546 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9547 Fix compilation, uninitialized vars and a forgotten continue.
9549 2005-11-17 Andy Wingo <wingo@pobox.com>
9551 * check/Makefile.am (check_PROGRAMS):
9552 * check/net/gstnetclientclock.c: Add a most minimal test for the
9553 net client clock. More to come later.
9556 * gst/net/Makefile.am: Add netclientclock.
9558 * gst/net/gstnetclientclock.h:
9559 * gst/net/gstnetclientclock.c: New files, implement an untested
9560 GstClock that takes its time from a network time provider.
9561 Implements the algorithm in network-clock.scm.
9563 * tests/network-clock.scm (*window-size*): Rename from
9565 * tests/network-clock.scm (network-time):
9566 * tests/network-clock-utils.scm (q-push): Update callers.
9568 2005-11-17 Wim Taymans <wim@fluendo.com>
9570 * gst/gstbin.c: (gst_bin_provide_clock_func),
9571 (gst_bin_sort_iterator_new):
9572 And unref the child too..
9574 2005-11-17 Wim Taymans <wim@fluendo.com>
9576 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9577 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9578 Refactor the sort iterator so it can be used while holding the
9580 Make clock selection select a clock closest to the source.
9582 2005-11-17 Michael Smith <msmith@fluendo.com>
9584 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9585 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9587 Anonymous structs are a gcc (and some other compilers) extension, so
9588 don't use them. Since this is only for ABI-compatibility, and our
9589 API/ABI freeze is over in a few days, this whole thing will only
9590 last a few days, so don't bother trying to think up a meaningful
9591 name for the struct.
9593 2005-11-17 Andy Wingo <wingo@pobox.com>
9595 * gst/gstclock.h (GstClock): Add rate and offset properties,
9596 preserving ABI stability. Add rate/offset accessors. Will file bug
9597 for the freeze break.
9599 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9600 and offset, trying to keep precision and avoiding
9602 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9603 functions. Make gst_clock_set_time_adjust obsolete.
9604 (gst_clock_set_time_adjust): Note that this function is obsolete.
9607 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9608 greppable by using GST_PADDING-1+1.
9610 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9612 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9614 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9615 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9617 * gst/gstpadtemplate.h:
9618 * gst/gstpluginfeature.h:
9619 Don't use c++ style comments in headers (#321638).
9621 2005-11-16 Andy Wingo <wingo@pobox.com>
9623 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9626 * check/net/gstnettimeprovider.c: Check to see that the time
9627 provider actually provides times. Works, yo!
9629 2005-11-16 Wim Taymans <wim@fluendo.com>
9631 * check/Makefile.am:
9634 * check/elements/fakesrc.c: (GST_START_TEST):
9635 Set element to NULL before disposing it.
9637 2005-11-16 Andy Wingo <wingo@pobox.com>
9639 * gst/net/Makefile.am:
9641 * gst/net/gstnettimeprovider.c:
9642 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9643 provider, include it from gstnet.h, and add it to the build.
9645 * gst/net/gstnettimepacket.h:
9646 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9647 sending and receiving.
9649 2005-11-16 Wim Taymans <wim@fluendo.com>
9651 * check/Makefile.am:
9652 Enable valgrind check.
9654 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9655 (gst_fake_src_alloc_buffer):
9658 2005-11-16 Wim Taymans <wim@fluendo.com>
9660 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9661 Call parent finalize too.
9663 2005-11-16 Wim Taymans <wim@fluendo.com>
9665 * check/Makefile.am:
9666 Enable valgrind check that should work fine now.
9668 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9669 * gst/gstqueue.c: (gst_queue_init):
9670 Fix memleaks in pad allocation.
9672 2005-11-16 Andy Wingo <wingo@pobox.com>
9674 * gst/net/Makefile.am:
9675 * gst/net/gstnet.h: New part of core to hold network elements and
9676 objects. Put in core because it exposes API that applications want
9677 to use. The library is named libgstnet-tempname right now because
9678 of the existing libgstnet in gst-plugins-base. Solution is
9679 probably to rename the one in plugins-base; will file a bug for
9682 * gst/net/gstnettimeprovider.c:
9683 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9684 get_time call over the network.
9687 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9689 * check/Makefile.am:
9690 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9691 get additions shortly.
9693 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9695 * gst/gstpad.c: (gst_pad_new_from_static_template):
9697 add gst_pad_new_from_static_template functions
9698 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9699 (gst_check_setup_sink_pad):
9700 * gst/elements/gsttee.c: (gst_tee_init):
9703 2005-11-16 Wim Taymans <wim@fluendo.com>
9705 * gst/gstpad.c: (gst_pad_pause_task):
9706 Removed warning, it's not really an error either.
9708 2005-11-16 Wim Taymans <wim@fluendo.com>
9710 * gst/base/gstbasetransform.c:
9711 (gst_base_transform_prepare_output_buf),
9712 (gst_base_transform_event):
9713 Check if the caps are NULL, this can happen if the element
9714 is shutting down and the pad caps are set to NULL.
9716 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9718 * gst/elements/gsttee.c: (gst_tee_init):
9719 fix pad template leak in tee
9721 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9723 * gst/glib-compat.c: (g_value_dup_gst_object):
9724 * gst/glib-compat.h:
9725 * gst/gstpad.c: (gst_pad_set_property):
9726 use gst_object_ref when setting the pad template; this will
9727 trigger the pad template leaks on GLib 2.6 and the slaves
9729 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9731 * gst/glib-compat.c: (gst_flags_get_first_value):
9732 * gst/glib-compat.h:
9733 * gst/gstregistryxml.c:
9734 remove functions copied from GLib 2.6
9736 2005-11-16 Michael Smith <msmith@fluendo.com>
9739 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9740 do, but only breaks with newer valgrind versions. We're not a
9741 valgrind tool, we have no link-time dependencies on libcoregrind.
9743 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9745 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9750 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9752 * gst/base/gstbasesrc.c: (gst_base_src_init):
9753 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9754 * gst/gstqueue.c: (gst_queue_init):
9755 * gst/gstregistryxml.c: (load_feature):
9756 Revert all these unrefs, they don't even pass make check !
9758 2005-11-15 Johan Dahlin <johan@gnome.org>
9760 * gst/base/gstbasesrc.c: (gst_base_src_init):
9761 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9762 * gst/gstqueue.c: (gst_queue_init):
9763 Free pad templates, fixes a couple of leaks.
9765 2005-11-15 Daniel Fischer <dan at f3c dot com>
9767 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9769 * gst/gstpad.c: (gst_pad_get_property):
9770 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9771 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9774 2005-11-15 Wim Taymans <wim@fluendo.com>
9779 2005-11-15 Andy Wingo <wingo@pobox.com>
9781 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9783 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9784 using GST_CLOCK_TIME_NONE to disable base time management.
9785 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9786 time if it was NONE before.
9787 (gst_pipeline_change_state): Only munge the base time if
9788 stream_time != GST_CLOCK_TIME_NONE.
9790 * check/gst/gstpipeline.c (test_base_time): Punt around the
9791 problem of the probe not being called, because that's not the
9792 issue I'm looking at. Add a check that setting stream_time to NONE
9793 disables base time management.
9795 2005-11-15 Wim Taymans <wim@fluendo.com>
9797 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9798 segment_stop == -1 at startup.
9800 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9801 (gst_base_transform_change_state):
9802 Init segment values at start.
9804 2005-11-15 Wim Taymans <wim@fluendo.com>
9806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9807 0 segment values are 0 in any format.
9809 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9810 * gst/base/gstbasetransform.h:
9811 Parse newsegment correctly in basetransform
9813 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9814 Sync to clock using updated segment values.
9816 2005-11-15 Andy Wingo <wingo@pobox.com>
9818 * check/gst/gstpipeline.c (test_base_time): Add check that the
9819 base time and stream time are reset correctly.
9821 2005-11-15 Wim Taymans <wim@fluendo.com>
9823 * docs/design/part-TODO.txt:
9824 Some more TODO items.
9826 2005-11-15 Andy Wingo <wingo@pobox.com>
9828 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9829 error if the user selected "no clock" as the clocking method.
9831 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9832 timestamps with live capture.
9834 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9835 is 0 but we are a live source, timestamp the buffers using the
9838 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9840 * docs/gst/gstreamer-sections.txt:
9842 * gst/gstghostpad.c:
9847 2005-11-14 Wim Taymans <wim@fluendo.com>
9850 add suppressions from Wim's Debian machine
9852 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9855 add suppressions from Andy's AMD64 Ubuntu machine
9857 2005-11-14 Andy Wingo <wingo@pobox.com>
9859 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9860 STATE_LOCK not necessary. Fixes #311489.
9862 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9865 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9866 this function is not implemented.
9868 2005-11-14 Julien MOUTTE <julien@moutte.net>
9870 * gst/base/gstbasetransform.c:
9871 (gst_base_transform_prepare_output_buf):
9872 Ref the source pad caps while we need them.
9875 2005-11-11 Wim Taymans <wim@fluendo.com>
9877 * docs/gst/gstreamer-sections.txt:
9878 Added some docs for GstCollectData.
9880 * gst/base/gstadapter.c:
9881 Some small code example fix.
9883 * gst/base/gstcollectpads.c:
9884 * gst/base/gstcollectpads.h:
9887 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9889 * configure.ac: back to HEAD
9891 === release 0.9.5 ===
9893 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9896 releasing 0.9.5, "Bike Lunch Day"
9898 2005-11-11 Wim Taymans <wim@fluendo.com>
9900 * gst/gstbuffer.c: (_gst_buffer_copy):
9903 * gst/gstcaps.c: (gst_caps_is_equal):
9905 Make _is_equal fast in the trivial cases.
9907 * gst/gstminiobject.c:
9908 * gst/gstminiobject.h:
9909 More docs. Spifify .h file.
9914 2005-11-11 Wim Taymans <wim@fluendo.com>
9916 * gst/base/gstbasetransform.c:
9917 (gst_base_transform_prepare_output_buf),
9918 (gst_base_transform_handle_buffer):
9920 If we're processing a buffer and need to allocate an output
9921 buffer, we cannot accept a format change. If we did get a
9922 format change, we have to alloc a buffer ourselves of the
9925 2005-11-11 Wim Taymans <wim@fluendo.com>
9927 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9928 While checking the flag for reentrancy in the gstcaps function
9929 is nice to detect recursive invocations, it also makes it
9930 impossible to call getcaps from multiple threads, which must be
9931 possible. So, checking for recursive calls has to go.
9933 2005-11-11 Michael Smith <msmith@fluendo.com>
9935 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9936 Don't sync on buffers that fall partially outside our current
9937 segment. Prevents an assertion failure/abort playing some files.
9939 2005-11-10 Andy Wingo <wingo@pobox.com>
9941 * check/gst/gstbin.c (test_message_state_changed_children): Style
9944 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9945 gst_bus_poll with the signal watch. Ensures that poll and a signal
9946 watch see the same messages.
9948 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9949 a poll and a watch at the same time get the same messages.
9951 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9953 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9954 * gst/gstcaps.c: (gst_caps_intersect):
9955 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9956 and it's not needed.
9958 2005-11-10 Wim Taymans <wim@fluendo.com>
9960 * docs/design/part-TODO.txt:
9963 2005-11-10 Wim Taymans <wim@fluendo.com>
9965 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9966 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9967 (gst_base_src_do_sync), (gst_base_src_get_range):
9968 Implement clock sync in base class.
9970 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9972 patch by: Tim-Philipp Müller <tim at centricular dot net>
9974 * gst/gststructure.c: (gst_structure_parse_field),
9975 (gst_structure_from_string):
9976 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9977 so that gst_parse_launch() can deal with spaces in filtered link
9978 caps (fixes #164479)
9979 * check/gst/capslist.h:
9980 * check/gst/gststructure.c: (GST_START_TEST):
9981 add unit tests for this change
9983 2005-11-10 Wim Taymans <wim@fluendo.com>
9985 * docs/gst/gstreamer-sections.txt:
9988 Fix docs, move some STATE macros to private.
9990 2005-11-10 Wim Taymans <wim@fluendo.com>
9992 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9993 Added check for bug #317341
9997 Some more spiffifying.
9999 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
10000 Call peer linkfunction if we are a source pad. Totally fixes
10004 Update docs, source pads should call the peer linkfunction
10005 so they can atomically perform the pad link.
10007 2005-11-09 Wim Taymans <wim@fluendo.com>
10011 Uber-spiffy-spiffify some more.
10013 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
10015 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
10016 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10017 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
10018 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
10019 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
10020 * gst/gstpad.c: (gst_pad_init):
10021 Use GST_DEBUG_FUNCPTR() more extensively.
10023 2005-11-09 Wim Taymans <wim@fluendo.com>
10025 * gst/gstobject.c: (gst_object_class_init):
10027 Documentation fixes.
10029 2005-11-09 Edward Hervey <edward@fluendo.com>
10031 * gst/gsttypefindfactory.c:
10034 2005-11-09 Edward Hervey <edward@fluendo.com>
10036 * gst/base/gsttypefindhelper.c:
10037 * gst/gsttypefind.c:
10038 * gst/gsttypefind.h:
10041 2005-11-09 Wim Taymans <wim@fluendo.com>
10043 * gst/gstiterator.c:
10050 2005-11-09 Wim Taymans <wim@fluendo.com>
10056 2005-11-09 Wim Taymans <wim@fluendo.com>
10058 * docs/gst/gstreamer-sections.txt:
10059 Moved the message async delivery private lock and cond
10060 to the private section.
10062 * gst/gstmessage.c:
10063 * gst/gstmessage.h:
10066 2005-11-09 Edward Hervey <edward@fluendo.com>
10068 * docs/gst/gstreamer-sections.txt:
10071 Document GstURIHandler
10073 2005-11-09 Wim Taymans <wim@fluendo.com>
10075 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
10076 (gst_iterator_find_custom):
10077 * gst/gstiterator.h:
10080 2005-11-09 Wim Taymans <wim@fluendo.com>
10083 Document another field.
10085 * gst/gststructure.c:
10086 * gst/gststructure.h:
10089 2005-11-09 Wim Taymans <wim@fluendo.com>
10092 Documented structs.
10094 2005-11-09 Wim Taymans <wim@fluendo.com>
10096 * docs/gst/gstreamer-sections.txt:
10097 Added some new macros.
10104 2005-11-09 Wim Taymans <wim@fluendo.com>
10106 * docs/design/part-TODO.txt:
10107 Some more items for the TODO
10113 2005-11-09 Andy Wingo <wingo@pobox.com>
10115 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
10116 to work on something else now tho...
10118 * gst/base/gstadapter.c: More adapter docs.
10120 * gst/elements/gstfilesink.c (gst_file_sink_start)
10121 (gst_file_sink_stop): New functions, replace the state change
10123 (gst_file_sink_class_init): Hook up the start and stop functions.
10124 (gst_file_sink_base_init): Don't set the state change handler any
10125 more. It was a bit ugly too, being set from here...
10126 (gst_file_sink_get_property, gst_file_sink_set_property):
10128 (gst_file_sink_set_location): More robust check that doesn't call
10129 GST_STATE. Ugggggg.
10131 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
10133 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10134 Hold STREAM_LOCK while pushing newsegment or tag events as well.
10136 2005-11-08 Wim Taymans <wim@fluendo.com>
10138 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10139 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10140 (gst_base_sink_chain), (gst_base_sink_change_state):
10141 * gst/base/gstbasesink.h:
10142 * gst/base/gstbasesrc.h:
10143 * gst/gstelement.h:
10145 Avoid excessive typechecking in macros.
10147 * gst/gstminiobject.c: (gst_mini_object_get_type),
10148 (gst_mini_object_init), (gst_mini_object_new),
10149 (gst_mini_object_free):
10150 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10151 (gst_object_finalize):
10152 Remove cruft code, optimize alloc_trace.
10154 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
10156 * docs/faq/gst-uninstalled:
10157 fix up PS1 for systems that try to reset it
10159 2005-11-07 Wim Taymans <wim@fluendo.com>
10161 * gst/base/gstbasesrc.c: (gst_base_src_init),
10162 (gst_base_src_get_range):
10163 Set the segment_end to -1 initially. Fixed typefind.
10165 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
10167 * gst/base/gstadapter.c:
10168 Debug category should be 'adapter', not 'GstAdapter'.
10170 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10171 (gst_collectpads_class_init), (gst_collectpads_init),
10172 (gst_collectpads_peek), (gst_collectpads_pop),
10173 (gst_collectpads_event), (gst_collectpads_chain):
10174 Add debug category and some debugging output. Use boilerplate
10175 macros. Remove some extraneous words from docs.
10177 2005-11-05 Andy Wingo <wingo@pobox.com>
10179 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10182 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10184 * docs/gst/gstreamer-sections.txt:
10187 * gst/gstminiobject.h:
10192 2005-11-04 Wim Taymans <wim@fluendo.com>
10194 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10195 Small update to stop at the configured segment_end
10198 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10200 * gst/gstregistry.c:
10201 * gst/gstregistry.h:
10204 2005-11-04 Edward Hervey <edward@fluendo.com>
10206 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10207 Check if we are doing a segment seek and have arrived at the
10208 end of that segment.
10210 2005-11-04 Wim Taymans <wim@fluendo.com>
10212 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10213 Don't leak a mutex unlock in case of an error.
10218 2005-11-04 Wim Taymans <wim@fluendo.com>
10220 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10222 Get the context to wake up only once.
10224 2005-11-03 Wim Taymans <wim@fluendo.com>
10226 * check/states/sinks.c: (GST_START_TEST):
10227 Uncomment fixed check.
10229 * docs/design/part-TODO.txt:
10232 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10233 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10234 (gst_base_sink_get_position):
10235 If we are going to PLAYING, post the right pending state
10236 when we post the intermediate paused message.
10238 * gst/gstelement.c: (gst_element_continue_state),
10239 (gst_element_set_state_func), (gst_element_change_state):
10240 Don't post state changes that were between the same state
10241 and were not ASYNC.
10243 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10245 * docs/gst/gstreamer-sections.txt:
10248 * gst/gstminiobject.h:
10251 more docs and doc style fixes
10253 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10255 * docs/gst/gstreamer-sections.txt:
10256 * gst/gstelement.c:
10257 * gst/gstminiobject.c:
10260 2005-11-03 Andy Wingo <wingo@pobox.com>
10262 * check/states/sinks.c (test_livesrc_sink): Add checks that the
10263 state-changed messages actually have the right order and the right
10266 2005-11-03 Wim Taymans <wim@fluendo.com>
10268 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10269 Added some more checks. Specifically the case where NO_PREROLL
10270 elements are in the pipeline.
10272 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10273 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10274 (gst_base_sink_get_position):
10275 Post READY->PAUSED state change messages too.
10276 Fix bug where VOID was posted as pending state...
10278 * gst/gstbin.c: (gst_bin_recalc_state):
10279 use _element_continue_state() to continue the state change.
10281 * gst/gstelement.c: (gst_element_continue_state),
10282 (gst_element_commit_state), (gst_element_set_state_func),
10283 (gst_element_change_state), (gst_element_change_state_func):
10284 Lots of state change cleanups, assign the STATE_RETURN in
10285 a new continue_state() function that also propagates the
10286 last return value from a state change to the app.
10287 Update some debug statements with proper category.
10289 2005-11-03 Wim Taymans <wim@fluendo.com>
10291 * docs/design/part-events.txt:
10292 * docs/design/part-gstpipeline.txt:
10293 * docs/design/part-messages.txt:
10294 * docs/design/part-overview.txt:
10295 * docs/design/part-seeking.txt:
10296 * docs/design/part-states.txt:
10297 * docs/design/part-trickmodes.txt:
10298 * docs/manual/advanced-position.xml:
10299 Small docs updates.
10302 People think !! is ugly, this looks better.
10304 * gst/gstpad.c: (gst_pad_set_blocked_async):
10305 Remove !! since it's fixed elsewhere now.
10307 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10309 * gst/gstminiobject.h:
10311 Add !! to _FLAG_IS_SET macros to make the result boolean.
10313 2005-11-03 Edward Hervey <edward@fluendo.com>
10315 * gst/gstpad.c: (gst_pad_set_blocked_async):
10316 comparing a flag and a gboolean rarely returns coherent results...
10317 Added two characters (!!) to make that work correctly.
10319 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10321 * gst/gstbus.c: (gst_bus_class_init):
10324 * gst/gstqueue.c: (gst_queue_loop):
10325 Don't assume a miniobject that isn't a buffer is an
10326 event (it could be that there is a refcounting
10327 problem somewhere and the pointer is stale and
10328 refers to an already destroyed miniobject).
10330 2005-11-03 Julien MOUTTE <julien@moutte.net>
10332 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10334 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10336 * docs/manual/advanced-position.xml:
10337 Update seek example and explanations to current 0.9 API.
10339 * gst/elements/gsttypefindelement.c:
10340 (gst_type_find_element_activate):
10341 Remove FIXME comment now that the found caps
10344 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
10346 * gst/gstregistryxml.c: (load_feature):
10347 Add another GST_STR_NULL instance
10349 2005-11-02 Edward Hervey <edward@fluendo.com>
10351 * gst/gstpad.c: (handle_pad_block):
10352 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10354 2005-11-02 Wim Taymans <wim@fluendo.com>
10359 * gst/gstelement.c: (gst_element_commit_state):
10360 Remove unused value.
10362 * gst/gstiterator.c:
10363 Mention that the returned element is reffed in the docs.
10365 2005-11-02 Wim Taymans <wim@fluendo.com>
10367 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10368 (gst_pad_push), (gst_pad_push_event):
10369 Unlock blocked pads when they are flushed.
10371 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10374 * docs/gst/gstreamer-sections.txt:
10377 * gst/gstregistry.c: (gst_registry_scan_path_level):
10378 fix for a nasty little missed situation where an installed plug-in
10379 which was in the cache did not get overridden by an uninstalled one
10380 which was earlier in the plugin path because the newly created plugin
10381 for the uninstalled one (not in the registry) didn't get its
10382 ->registered set to TRUE
10384 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10386 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10387 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10388 (gst_collectpads_is_active), (gst_collectpads_collect),
10389 (gst_collectpads_collect_range), (gst_collectpads_start),
10390 (gst_collectpads_stop), (gst_collectpads_peek),
10391 (gst_collectpads_pop), (gst_collectpads_available),
10392 (gst_collectpads_read), (gst_collectpads_flush):
10393 Guard public API with assertions.
10396 Fix docs for gst_pad_set_link_function().
10398 2005-11-02 Johan Dahlin <johan@gnome.org>
10400 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
10401 Unref found_caps after we used it.
10403 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10405 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10406 Don't try to ref NULL.
10408 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10410 * win32/common/config.h.in:
10411 provide a GST_FUNCTION that just gives a string for now
10413 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10415 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10416 (gst_object_flags_get_type), (register_gst_bin_flags),
10417 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10418 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10419 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10420 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10421 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10422 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10423 (gst_clock_flags_get_type), (register_gst_state),
10424 (gst_state_get_type), (register_gst_state_change_return),
10425 (gst_state_change_return_get_type), (register_gst_state_change),
10426 (gst_state_change_get_type), (register_gst_element_flags),
10427 (gst_element_flags_get_type), (register_gst_core_error),
10428 (gst_core_error_get_type), (register_gst_library_error),
10429 (gst_library_error_get_type), (register_gst_resource_error),
10430 (gst_resource_error_get_type), (register_gst_stream_error),
10431 (gst_stream_error_get_type), (register_gst_event_type),
10432 (gst_event_type_get_type), (register_gst_seek_type),
10433 (gst_seek_type_get_type), (register_gst_seek_flags),
10434 (gst_seek_flags_get_type), (register_gst_format),
10435 (gst_format_get_type), (register_gst_index_certainty),
10436 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10437 (gst_index_entry_type_get_type),
10438 (register_gst_index_lookup_method),
10439 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10440 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10441 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10442 (gst_index_flags_get_type), (register_gst_debug_level),
10443 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10444 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10445 (gst_iterator_result_get_type), (register_gst_iterator_item),
10446 (gst_iterator_item_get_type), (register_gst_message_type),
10447 (gst_message_type_get_type), (register_gst_mini_object_flags),
10448 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10449 (gst_pad_link_return_get_type), (register_gst_flow_return),
10450 (gst_flow_return_get_type), (register_gst_activate_mode),
10451 (gst_activate_mode_get_type), (register_gst_pad_direction),
10452 (gst_pad_direction_get_type), (register_gst_pad_flags),
10453 (gst_pad_flags_get_type), (register_gst_pad_presence),
10454 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10455 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10456 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10457 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10458 (gst_plugin_flags_get_type), (register_gst_rank),
10459 (gst_rank_get_type), (register_gst_query_type),
10460 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10461 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10462 (gst_tag_flag_get_type), (register_gst_task_state),
10463 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10464 (gst_alloc_trace_flags_get_type),
10465 (register_gst_type_find_probability),
10466 (gst_type_find_probability_get_type), (register_gst_uri_type),
10467 (gst_uri_type_get_type), (register_gst_parse_error),
10468 (gst_parse_error_get_type):
10469 * win32/common/gstversion.h:
10470 update win32 copies
10472 2005-11-01 Luca Ognibene <luogni@tin.it>
10475 fix docs. popt is dead, long live GOption.
10477 2005-10-31 Wim Taymans <wim@fluendo.com>
10482 2005-10-31 Andy Wingo <wingo@pobox.com>
10486 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10488 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10489 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10490 the possibility of deadlocks here if code calling notify() or
10491 set() has a lock that can be taken in another notify handler (ABBA
10492 with class lock and e.g. python GIL state lock).
10494 2005-10-28 Julien MOUTTE <julien@moutte.net>
10496 * gst/gstbus.c: Doc updates.
10498 2005-10-28 Wim Taymans <wim@fluendo.com>
10500 * docs/design/part-TODO.txt:
10501 * gst/gstiterator.c:
10502 * gst/gstsystemclock.c:
10503 * gst/gstsystemclock.h:
10506 2005-10-28 Edward Hervey <edward@fluendo.com>
10508 * docs/gst/gstreamer-docs.sgml:
10509 * docs/gst/gstreamer-sections.txt:
10510 the GstURIType documentation page is private, it only defines GstURIType
10511 which should be defined in the GstURIHandler page
10513 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10515 * gst/gstbin.c: (gst_bin_class_init):
10518 Documentation updates.
10520 2005-10-28 Wim Taymans <wim@fluendo.com>
10522 * docs/gst/gstreamer-sections.txt:
10525 Documented the clocks.
10527 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10529 * docs/gst/gstreamer-sections.txt:
10530 move some macros to private sections
10531 * gst/gstminiobject.c:
10532 * gst/gstminiobject.h:
10533 add descriptions provided by ds and some more
10535 mark macro as to be removed
10537 2005-10-28 Wim Taymans <wim@fluendo.com>
10539 * docs/design/part-TODO.txt:
10540 Add an item to TODO.
10542 * gst/gstiterator.c: (gst_iterator_fold),
10543 (gst_iterator_find_custom):
10544 * gst/gstiterator.h:
10547 2005-10-28 Wim Taymans <wim@fluendo.com>
10549 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10550 (gst_base_transform_init):
10553 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10554 An EOS event marks the queue as completely filled.
10556 2005-10-27 Wim Taymans <wim@fluendo.com>
10558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10559 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10560 Some more debugging.
10562 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10563 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10564 (gst_base_transform_event), (gst_base_transform_getrange),
10565 (gst_base_transform_chain):
10566 * gst/base/gstbasetransform.h:
10568 Protect transform and concurrent buffer alloc with a new lock.
10569 Try not to break ABI/API.
10571 2005-10-27 Wim Taymans <wim@fluendo.com>
10573 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10574 (gst_base_src_init), (gst_base_src_query),
10575 (gst_base_src_default_newsegment),
10576 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10577 (gst_base_src_send_event), (gst_base_src_event_handler),
10578 (gst_base_src_pad_get_range), (gst_base_src_loop),
10579 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10580 (gst_base_src_start), (gst_base_src_deactivate),
10581 (gst_base_src_activate_push), (gst_base_src_change_state):
10582 Move some stuff around and cleanup things.
10584 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10586 * gst/base/gstbasesrc.c: (gst_base_src_query):
10587 Add missing break statements.
10589 2005-10-27 Wim Taymans <wim@fluendo.com>
10591 * check/gst/gstbin.c: (GST_START_TEST):
10592 An extra refcount is taken in basesrc.
10594 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10595 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10596 (gst_base_src_loop):
10597 Small cleanups, check for flushing after being unlocked from the
10598 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10599 Don't send out EOS when going to READY.
10601 2005-10-27 Wim Taymans <wim@fluendo.com>
10603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10604 (gst_base_sink_get_position):
10607 * gst/gstbin.c: (message_check), (bin_replace_message),
10608 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10609 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10610 (bin_query_duration_init), (bin_query_duration_fold),
10611 (bin_query_duration_done), (bin_query_generic_fold),
10613 * tools/gst-launch.c: (main):
10616 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10618 * examples/controller/audio-example.c: (main):
10619 * examples/queue/queue.c: (event_loop):
10620 * gst/base/gstbasetransform.h:
10621 * gst/gstelement.c: (gst_element_send_event):
10623 * gst/gstpad.c: (gst_pad_send_event):
10626 changing log priority in error situations
10628 2005-10-25 Wim Taymans <wim@fluendo.com>
10630 * gst/gstbin.c: (message_check), (bin_replace_message),
10631 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10632 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10633 (bin_query_duration_init), (bin_query_duration_fold),
10634 (bin_query_duration_done), (bin_query_generic_fold),
10636 Some doc and debug updates.
10637 Cache previously requested query DURATION for speed. invalidate
10638 cached duration if element posts a DURATION message.
10640 2005-10-25 Wim Taymans <wim@fluendo.com>
10642 * docs/design/part-TODO.txt:
10645 * gst/gstbin.c: (message_check), (bin_replace_message),
10646 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10647 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10648 (bin_query_duration_init), (bin_query_duration_fold),
10649 (bin_query_duration_done), (bin_query_generic_fold),
10651 Handle SEGMENT_START/DONE messages correctly.
10652 More evolved query algorithm that handles duration queries
10655 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10656 (gst_element_get_state_func), (gst_element_abort_state),
10657 (gst_element_commit_state), (gst_element_lost_state):
10658 Some more debugging.
10660 * gst/gstmessage.h:
10663 2005-10-25 Wim Taymans <wim@fluendo.com>
10665 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10666 Don't use invalid stream_time.
10668 * gst/gstevent.c: (gst_event_new_newsegment):
10669 stream_time in newsegment cannot be undefined.
10671 2005-10-24 Wim Taymans <wim@fluendo.com>
10676 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10678 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10680 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10682 * docs/libs/tmpl/gstdparam.sgml:
10683 * docs/libs/tmpl/gstdplinint.sgml:
10684 * docs/libs/tmpl/gstdpman.sgml:
10685 * docs/libs/tmpl/gstdpsmooth.sgml:
10686 * docs/libs/tmpl/gstunitconvert.sgml:
10689 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10694 === release 0.9.4 ===
10696 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10699 releasing 0.9.4, "Tyrannosaurus Rex"
10701 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10703 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10704 (gst_file_sink_get_current_offset):
10705 Use fseeko() and ftello() if available. When falling back on
10706 lseek() to get the current offset, fflush() first to make sure
10707 everything is up-to-date and we get the right offset.
10709 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10711 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10712 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10713 * gst/gsterror.c: (_gst_stream_errors_init):
10715 * gst/gstqueue.c: (gst_queue_loop):
10717 remove prematurely added error category and clean up the instances
10719 2005-10-21 Wim Taymans <wim@fluendo.com>
10721 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10722 (gst_base_sink_get_position), (gst_base_sink_query),
10723 (gst_base_sink_change_state):
10724 Simply set the right flag when going to playing, that's all
10725 we need to do instead of calling a function inside the object
10726 lock (that could take the lock as well and deadlock)
10728 2005-10-21 Wim Taymans <wim@fluendo.com>
10730 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10731 (gst_base_src_loop):
10732 Don't warn, the peer element knows what to do best when
10733 the seek failed, it might try something else.
10735 2005-10-21 Wim Taymans <wim@fluendo.com>
10737 * gst/base/gstbasesrc.c: (gst_base_src_init),
10738 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10741 2005-10-21 Wim Taymans <wim@fluendo.com>
10743 * docs/design/part-segments.txt:
10746 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10747 Correctly set caps, even on the subbufer.
10749 2005-10-21 Wim Taymans <wim@fluendo.com>
10751 * docs/gst/gstreamer-docs.sgml:
10752 * docs/gst/gstreamer-sections.txt:
10753 * gst/gstelement.h:
10756 * gst/gstmessage.h:
10759 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10763 And 2% more doc coverage.
10765 2005-10-21 Andy Wingo <wingo@pobox.com>
10767 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10768 position reporting.
10770 2005-10-20 Wim Taymans <wim@fluendo.com>
10772 * gst/gsterror.c: (gst_error_get_message):
10775 * gst/gststructure.c:
10780 2005-10-20 Wim Taymans <wim@fluendo.com>
10785 Another 1% more coverage.
10787 2005-10-20 Wim Taymans <wim@fluendo.com>
10789 * docs/gst/gstreamer-sections.txt:
10790 * gst/gstelement.c: (gst_element_get_state_func),
10791 (gst_element_abort_state), (gst_element_commit_state),
10792 (gst_element_lost_state):
10794 * gst/gstquery.c: (gst_query_set_position),
10795 (gst_query_parse_position), (gst_query_set_duration),
10796 (gst_query_parse_duration), (gst_query_new_convert):
10798 Yay! 1% more docs coverage.
10800 2005-10-20 Wim Taymans <wim@fluendo.com>
10803 * gst/gstquery.c: (gst_query_set_position),
10804 (gst_query_parse_position), (gst_query_set_duration),
10805 (gst_query_parse_duration), (gst_query_new_convert):
10807 * gst/gstutils.c: (gst_element_query_convert):
10809 Docs and consistency fixes.
10811 2005-10-20 Wim Taymans <wim@fluendo.com>
10817 2005-10-20 Wim Taymans <wim@fluendo.com>
10819 * gst/gstbin.c: (message_check), (bin_replace_message),
10820 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10821 (update_degree), (gst_bin_sort_iterator_next),
10822 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10823 Reworked the message handling a bit, cache the messages instead of
10824 only the senders. alows us to do more in the future.
10826 2005-10-20 Wim Taymans <wim@fluendo.com>
10828 * docs/design/part-TODO.txt:
10831 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10832 (gst_base_sink_query):
10833 Don't use clock time to report position when in EOS.
10835 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10837 * tools/gst-inspect.c: (print_interfaces),
10838 (print_element_properties_info), (print_element_info):
10839 Fix interface output with gst-inspect -a; don't print
10840 newlines after double/float properties.
10842 2005-10-20 Wim Taymans <wim@fluendo.com>
10844 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10845 (gst_base_sink_query):
10846 Speed up current position calculation.
10848 * gst/base/gstbasesrc.c: (gst_base_src_query),
10849 (gst_base_src_default_newsegment):
10850 Correctly set stream position in newsegment.
10852 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10853 (update_degree), (gst_bin_sort_iterator_next),
10854 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10855 * gst/gstmessage.c: (gst_message_new_custom):
10856 Clean up debugging info
10858 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10859 (gst_queue_loop), (gst_queue_handle_src_query):
10862 2005-10-19 Wim Taymans <wim@fluendo.com>
10864 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10865 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10866 Fix query handling again.
10868 2005-10-19 Wim Taymans <wim@fluendo.com>
10870 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10871 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10872 * gst/base/gstbasesrc.c: (gst_base_src_query):
10873 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10874 * gst/elements/gsttypefindelement.c:
10875 (gst_type_find_handle_src_query), (find_element_get_length),
10876 (gst_type_find_element_activate):
10879 * gst/gstquery.c: (gst_query_new_position),
10880 (gst_query_set_position), (gst_query_parse_position),
10881 (gst_query_new_duration), (gst_query_set_duration),
10882 (gst_query_parse_duration), (gst_query_set_segment),
10883 (gst_query_parse_segment):
10885 Bundling query position/duration is not a good idea since duration
10886 does not change much and we don't want to recalculate it for every
10887 position query, so they are separated again..
10888 Base value in segment query is not needed.
10890 * gst/gstqueue.c: (gst_queue_handle_src_query):
10891 * gst/gstutils.c: (gst_element_query_position),
10892 (gst_element_query_duration), (gst_pad_query_position),
10893 (gst_pad_query_duration):
10895 Updates for query API change.
10896 Added some docs here and there.
10898 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10900 * check/gst/gstbin.c: (GST_START_TEST):
10901 * check/gst/gstghostpad.c: (GST_START_TEST):
10902 * check/pipelines/cleanup.c: (GST_START_TEST):
10903 wait on thread to die so we can check refcount correctly
10905 2005-10-18 Wim Taymans <wim@fluendo.com>
10907 * check/pipelines/stress.c: (GST_START_TEST):
10908 Make check a little more time consuming.
10910 2005-10-18 Wim Taymans <wim@fluendo.com>
10912 * check/Makefile.am:
10913 * check/pipelines/stress.c: (GST_START_TEST),
10914 (simple_launch_lines_suite), (main):
10915 Small state change torture test.
10917 * docs/design/part-states.txt:
10918 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10919 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10920 (gst_base_sink_change_state):
10921 Never take state lock from streaming thread, clean up ugly
10922 hacks. Unfortunatly core does not yet support nice ways to
10923 async commit state.
10925 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10927 Start state recalc if a STATE_DIRTY message is posted, but only
10928 on the toplevel bin.
10930 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10931 (gst_element_get_state_func), (gst_element_abort_state),
10932 (gst_element_commit_state), (gst_element_lost_state),
10933 (gst_element_set_state_func), (gst_element_change_state):
10934 * gst/gstelement.h:
10935 State variables are now protected with the LOCK, the state
10936 lock is only used to serialize _set_state().
10938 2005-10-18 Wim Taymans <wim@fluendo.com>
10940 * check/gst/gstbin.c: (GST_START_TEST):
10941 * check/gst/gstmessage.c: (GST_START_TEST):
10942 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10943 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10945 * gst/gstelement.c: (gst_element_abort_state),
10946 (gst_element_commit_state), (gst_element_lost_state):
10947 * gst/gstmessage.c: (gst_message_new_state_changed),
10948 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10949 (gst_message_new_segment_done), (gst_message_new_duration),
10950 (gst_message_parse_state_changed),
10951 (gst_message_parse_segment_start),
10952 (gst_message_parse_segment_done), (gst_message_parse_duration):
10953 * gst/gstmessage.h:
10954 * tools/gst-launch.c: (event_loop):
10955 Seriously, this is better than a previous commit as we only need
10956 to notify the fact that an element changed state in a streaming
10957 thread, marking the state of the parents dirty, hence the
10958 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10961 2005-10-18 Wim Taymans <wim@fluendo.com>
10963 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10964 (gst_bin_recalc_func):
10965 * gst/gstelement.c: (gst_element_set_clock),
10966 (gst_element_abort_state), (gst_element_lost_state):
10967 Cleanups, prepare for state change fixes.
10969 2005-10-18 Wim Taymans <wim@fluendo.com>
10972 * gst/gstelement.c: (gst_element_class_init),
10973 (gst_element_set_state), (gst_element_set_state_func):
10974 * gst/gstelement.h:
10975 Pending ABI changes.
10976 GThreadPool in GstBinClass to monitor async state changes.
10977 state_cookie in GstElement to detect concurrent gst/set state.
10978 set_state is now virtual too in case a very complicated element
10979 has to be constructed.
10981 2005-10-18 Wim Taymans <wim@fluendo.com>
10983 * check/gst/gstbin.c: (GST_START_TEST):
10984 * check/gst/gstmessage.c: (GST_START_TEST):
10985 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10986 * gst/gstbin.c: (bin_bus_handler):
10987 * gst/gstelement.c: (gst_element_commit_state),
10988 (gst_element_lost_state):
10989 * gst/gstmessage.c: (gst_message_new_state_changed),
10990 (gst_message_new_segment_start), (gst_message_new_segment_done),
10991 (gst_message_new_duration), (gst_message_parse_state_changed),
10992 (gst_message_parse_segment_start),
10993 (gst_message_parse_segment_done), (gst_message_parse_duration):
10994 * gst/gstmessage.h:
10995 * tools/gst-launch.c: (event_loop):
10996 Make messages future proof.
10997 state-change gets a flag if it was a message comming from the
10999 segment-start/stop can also be specified in other formats.
11000 A message to notify an app that a pipeline changed playback
11002 Also fix a GstMessage leak in -launch
11004 2005-10-18 Andy Wingo <wingo@pobox.com>
11006 * gst/gstelement.c (gst_element_dispose): More helpful message.
11008 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
11010 reviewed by: <delete if not using a buddy>
11012 * common/gtk-doc.mak:
11014 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
11016 * gst/gstregistry.c: (gst_registry_scan_path_level):
11017 unref a plug-in we get that was already initialized
11019 2005-10-18 Stefan Kost <ensonic@users.sf.net>
11021 * docs/gst/gstreamer-sections.txt:
11022 * docs/libs/gstreamer-libs-sections.txt:
11023 * gst/gstelement.h:
11024 add new api entries
11025 hide internal macro
11027 2005-10-17 Andy Wingo <wingo@pobox.com>
11029 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
11032 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
11034 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
11036 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
11037 (gst_element_get_state_func): Better debug message.
11038 (gst_element_commit_state): s/INFO/DEBUG/.
11039 (gst_element_lost_state, gst_element_change_state):
11041 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
11042 (gst_message_new_custom): s/INFO/LOG/.
11044 2005-10-17 Michael Smith <msmith@fluendo.com>
11046 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11047 Check if end time is valid using end time, not start time.
11049 2005-10-17 Stefan Kost <ensonic@users.sf.net>
11051 * check/gst-libs/controller.c: (GST_START_TEST),
11052 (gst_controller_suite):
11053 * libs/gst/controller/gstcontroller.c:
11054 (gst_controlled_property_set_interpolation_mode):
11055 * libs/gst/controller/gstcontroller.h:
11056 * libs/gst/controller/gstinterpolation.c:
11057 * testsuite/controller/.cvsignore:
11058 * testsuite/controller/Makefile.am:
11059 * testsuite/controller/interpolator.c:
11060 merge controller testsuites
11062 remove mem-chunk from docs
11064 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
11066 * gst/gstmemchunk.c:
11067 * gst/gstmemchunk.h:
11068 * gst/gsttrashstack.c:
11069 * gst/gsttrashstack.h:
11070 out. get out. you're fired. to the Attic !
11072 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
11074 * gst/gstcaps.c: (gst_caps_intersect):
11075 fix signedness issues in a (hopefully) correct way
11076 * gst/gstelement.c: (gst_element_pads_activate):
11078 * gst/gstobject.c: (gst_object_set_parent):
11081 2005-10-17 Julien MOUTTE <julien@moutte.net>
11083 * gst/gstvalue.h: Fix prototypes.
11085 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11087 * docs/gst/gstreamer-sections.txt:
11088 * gst/gst.c: (gst_version_string):
11090 * gst/gstversion.h.in:
11091 * win32/common/libgstreamer.def:
11092 add gst_version_string ()
11094 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11098 * gst/gst.c: (init_post):
11099 * win32/common/config.h.in:
11101 * gst/gstcaps.c: (gst_caps_intersect):
11102 use gint64, the range could be bigger than a guint
11104 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11107 document potential problem in 2038
11109 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11111 * gst/gstcaps.c: (gst_caps_intersect):
11112 Fix guint j diving under 0
11114 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11117 * win32/common/config.h:
11118 * win32/common/config.h.in:
11119 check for process.h, declares getpid() on Windows
11121 include process.h if we have it
11122 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
11123 * gst/gstmemchunk.h:
11124 fix signedness issues
11125 * win32/common/libgstreamer.def:
11128 2005-10-16 Julien MOUTTE <julien@moutte.net>
11130 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
11131 fix. Because of unsigned ints, caps intersection was going nuts and
11132 trying to access structures with G_MAXUINT index. That fixes
11133 videotestsrc ! ffmpegcolorspace ! fakesink
11134 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
11137 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11140 use the gettext macro
11141 * gst/elements/gstelements.c:
11143 * gst/indexers/gstindexers.c:
11144 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11145 * win32/common/config.h:
11147 * win32/common/config.h.in:
11148 add the template to generate config.h
11149 * win32/common/gstenumtypes.c:
11150 * win32/common/gstversion.h:
11153 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11155 * gst/gst.c: (gst_version):
11156 * gst/gstversion.h.in:
11159 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11162 Oops, add missing closing bracket.
11164 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11167 use common m4's for argument checking
11169 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11171 * docs/gst/gstreamer-sections.txt:
11173 Add GST_EVENT_TYPE_NAME() macro.
11175 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11178 * gst/gstpluginfeature.c:
11180 privatize more symbols
11182 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11185 add srcdir, builddir includes to GST_ALL_CFLAGS, since
11186 everything that uses GStreamer API should have the includes
11188 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11190 * docs/gst/gstreamer-sections.txt:
11191 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11193 give each value a _get_type, removes the DATA exports
11195 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11199 remove _gst_registry_auto_load, not used anymore
11200 * gst/gstbin.c: (gst_bin_get_type):
11202 * gst/gstelement.c: (gst_element_get_type):
11203 * gst/gstelement.h:
11204 * gst/gstobject.c: (gst_object_get_type):
11206 * gst/gstpad.c: (gst_pad_get_type):
11208 make _get_type functions similar, fixes data export from library
11210 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11213 correctly make conditionals
11214 * gst/elements/Makefile.am:
11215 * gst/elements/gstelements.c:
11216 fix typo causing fdsrc not to build
11218 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11220 * testsuite/Makefile.am:
11221 * testsuite/bytestream/.cvsignore:
11222 * testsuite/bytestream/Makefile.am:
11223 * testsuite/bytestream/filepadsink.c:
11224 * testsuite/bytestream/gstbstest.c:
11225 * testsuite/bytestream/test1.c:
11226 * testsuite/bytestream/testfile1:
11227 * testsuite/caps/normalisation.c:
11228 * testsuite/caps/random.c: (main):
11229 * testsuite/cleanup/.cvsignore:
11230 * testsuite/cleanup/Makefile.am:
11231 * testsuite/cleanup/cleanup1.c:
11232 * testsuite/cleanup/cleanup2.c:
11233 * testsuite/cleanup/cleanup3.c:
11234 * testsuite/cleanup/cleanup4.c:
11235 * testsuite/cleanup/cleanup5.c:
11236 * testsuite/controller/interpolator.c:
11237 * testsuite/debug/printf_extension.c: (main):
11238 * testsuite/elements/tee.c:
11239 * testsuite/negotiation/.cvsignore:
11240 * testsuite/negotiation/Makefile.am:
11241 * testsuite/negotiation/pad_link.c:
11242 * testsuite/pad/Makefile.am:
11243 * testsuite/pad/chainnopull.c:
11244 * testsuite/pad/getnopush.c:
11245 * testsuite/pad/link.c:
11246 * testsuite/refcounting/sched.c: (create_pipeline):
11247 * testsuite/registry/Makefile.am:
11248 * testsuite/registry/gst-print-formats.c:
11249 * testsuite/schedulers/.cvsignore:
11250 * testsuite/schedulers/142183-2.c:
11251 * testsuite/schedulers/142183.c:
11252 * testsuite/schedulers/143777-2.c:
11253 * testsuite/schedulers/143777.c:
11254 * testsuite/schedulers/147713.c:
11255 * testsuite/schedulers/147819.c:
11256 * testsuite/schedulers/147894-2.c:
11257 * testsuite/schedulers/147894.c:
11258 * testsuite/schedulers/Makefile.am:
11259 * testsuite/schedulers/group_link.c:
11260 * testsuite/schedulers/queue_link.c:
11261 * testsuite/schedulers/relink.c:
11262 * testsuite/schedulers/unlink.c:
11263 * testsuite/schedulers/unref.c:
11264 * testsuite/schedulers/useless_iteration.c:
11265 * testsuite/states/bin.c:
11266 clean out/remove some stuff from the testsuite directories
11268 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11271 check for some headers
11272 * gst/elements/Makefile.am:
11273 * gst/elements/gstelements.c:
11274 don't compile fdsrc without sys/socket.h
11275 * gst/indexers/Makefile.am:
11276 * gst/indexers/gstindexers.c: (plugin_init):
11277 don't compile fileindex without mmap
11279 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11286 * check/Makefile.am:
11287 * docs/gst/Makefile.am:
11288 * examples/helloworld/Makefile.am:
11290 * gst/base/Makefile.am:
11291 * gst/check/Makefile.am:
11292 * gst/elements/Makefile.am:
11293 * gst/indexers/Makefile.am:
11294 * gst/parse/Makefile.am:
11295 * libs/gst/controller/Makefile.am:
11296 * libs/gst/dataprotocol/Makefile.am:
11297 * examples/helloworld/helloworld.c: (event_loop):
11298 compile fixes, though it's not being compiled currently
11300 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11302 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11303 Add some simple tests for the new taglist date API.
11305 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11307 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11308 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11309 Beautify 'last-message' output: print 'none' for buffer timestamps
11310 and durations if none is set; improve alignment with next messages.
11312 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11314 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11315 * gst/gstpluginfeature.h:
11316 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11317 * gst/gstregistry.h:
11318 * docs/gst/gstreamer-sections.txt:
11319 Add new API to check plugin feature version requirements.
11321 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11322 Some basic tests for the above.
11324 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11326 * gst/gststructure.c: (gst_structure_to_string):
11327 guard against NULL printf - happens when for example
11328 a message structure with GstClock gets serialized
11330 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11332 * gst/base/gstcollectpads.c: (gst_collectpads_event):
11333 Fix presumable copy'n'pasto.
11335 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11337 * gst/elements/gstfakesrc.h:
11338 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11339 * gst/elements/gsttypefindelement.c:
11340 fix some signedness
11341 * gst/elements/gstfilesink.c: (gst_file_sink_render):
11342 I wonder if this could actually write +2GB files before
11344 2005-10-13 Andy Wingo <wingo@pobox.com>
11346 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11347 Fix Timmeke Waymans bug.
11348 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11349 string of the proper length to gst_caps_from_string. There's a
11350 potential for, before this fix, that this could cause someone
11351 connecting over the network to cause a segfault if the payload is
11352 not NUL-terminated.
11354 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11356 * docs/design/draft-push-pull.txt:
11357 * docs/design/part-overview.txt:
11358 * docs/random/TODO-pre-0.9:
11359 * docs/random/old/ChangeLog.gstreamer:
11360 * gst/base/gstpushsrc.c:
11364 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11366 * gst/glib-compat.c: (gst_flags_get_first_value):
11367 * gst/glib-compat.h:
11368 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11369 (gst_value_compare_double), (gst_value_serialize_flags):
11370 GLib 2.6 g_flags_get_first_value has a bug that triggers an
11373 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11376 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11378 * tools/gst-launch.c: (event_loop):
11379 print out clock nicely
11381 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11383 * docs/gst/gstreamer-sections.txt:
11384 * gst/gsttaglist.h:
11385 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11386 (gst_tag_list_get_date_index):
11387 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11388 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11390 2005-10-13 Julien MOUTTE <julien@moutte.net>
11392 * gst/base/gstcollectpads.c: (gst_collectpads_event),
11393 (gst_collectpads_chain):
11394 * gst/base/gstcollectpads.h: Handle newsegment and store informations
11397 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11399 * docs/gst/gstreamer-sections.txt:
11402 * tools/gst-inspect.c: (main):
11403 * tools/gst-launch.c: (main):
11404 * tools/gst-run.c: (main):
11405 * tools/gst-xmlinspect.c: (main):
11406 fix GOption context leaks
11409 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11413 * win32/common/config.h:
11415 * win32/vs6/grammar.dsp:
11416 * win32/vs6/libgstelements.dsp:
11417 * win32/vs6/libgstreamer.dsp:
11420 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11423 * gst/base/gstbasesrc.c: (gst_base_src_query):
11424 fix more guint64<->gdouble conversions
11426 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11429 add win32-update target
11430 * win32/common/gstconfig.h:
11431 * win32/common/gstenumtypes.c:
11432 * win32/common/gstenumtypes.h:
11433 * win32/common/gstversion.h:
11434 add files that visual studio can't generate
11436 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11439 add a win32-update target
11442 2005-10-12 Wim Taymans <wim@fluendo.com>
11444 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11445 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11446 * gst/gstelement.c: (gst_element_commit_state),
11447 (gst_element_set_state):
11448 Protect flags with proper lock.
11449 unref provided cached clock in dispose.
11451 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11454 * gst/gstminiobject.h:
11456 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11457 removed unused flags from miniobject
11460 2005-10-12 Wim Taymans <wim@fluendo.com>
11462 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11463 (gst_file_sink_event), (gst_file_sink_render):
11464 Flush before seeking.
11466 2005-10-12 Andy Wingo <wingo@pobox.com>
11468 * gst/gst.c (gst_init_check): Ignore unknown options, as has
11469 always been the case.
11471 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11473 * check/gst/gstbin.c: (GST_START_TEST):
11474 * docs/gst/gstreamer-sections.txt:
11475 * gst/base/gstbasesink.c: (gst_base_sink_init):
11476 * gst/base/gstbasesrc.c: (gst_base_src_init),
11477 (gst_base_src_get_range), (gst_base_src_check_get_range),
11478 (gst_base_src_start), (gst_base_src_stop):
11479 * gst/base/gstbasesrc.h:
11480 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11481 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11482 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11486 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11488 * gst/gstelement.c: (gst_element_is_locked_state),
11489 (gst_element_set_locked_state), (gst_element_commit_state),
11490 (gst_element_set_state):
11491 * gst/gstelement.h:
11492 * gst/gstindex.c: (gst_index_init):
11494 * gst/gstminiobject.h:
11495 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11496 (gst_object_set_parent):
11498 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11499 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11501 * gst/gstpadtemplate.h:
11502 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11503 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11504 * gst/gstpipeline.h:
11505 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11506 (gst_file_index_commit):
11507 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11508 * testsuite/pad/link.c: (gst_test_src_init),
11509 (gst_test_filter_init), (gst_test_sink_init):
11510 * testsuite/states/locked.c: (main):
11511 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11512 moved bitshift from macro to enum definition
11514 2005-10-12 Wim Taymans <wim@fluendo.com>
11516 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11517 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11518 (gst_file_sink_render):
11519 Some more debugging info.
11521 2005-10-12 Wim Taymans <wim@fluendo.com>
11523 * docs/design/part-states.txt:
11524 * tools/gst-launch.c: (main):
11526 Revert non-intentional change.
11528 2005-10-12 Wim Taymans <wim@fluendo.com>
11530 * check/gst/gstbin.c: (GST_START_TEST):
11531 * check/gst/gstelement.c: (GST_START_TEST):
11532 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11533 * check/gst/gstghostpad.c: (GST_START_TEST):
11534 * check/gst/gstpipeline.c: (GST_START_TEST):
11535 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11536 * check/states/sinks.c: (GST_START_TEST):
11537 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11538 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11539 (gst_bin_remove_func), (gst_bin_get_state_func),
11540 (gst_bin_recalc_state), (gst_bin_change_state_func),
11542 * gst/gstelement.c: (gst_element_get_state_func),
11543 (gst_element_get_state), (gst_element_abort_state),
11544 (gst_element_commit_state), (gst_element_set_state),
11545 (gst_element_change_state), (gst_element_change_state_func):
11546 * gst/gstelement.h:
11547 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11548 (gst_pipeline_provide_clock_func):
11549 * gst/gstutils.c: (gst_element_link_pads_filtered):
11550 * tools/gst-launch.c: (main):
11551 * tools/gst-typefind.c: (main):
11552 Use GstClockTime in _get_state() instead of GTimeVal.
11553 Remove old code in gstutils.c
11555 2005-10-12 Andy Wingo <wingo@pobox.com>
11557 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11560 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11561 there is no task. Shouldn't affect any code, as nothing in our
11562 plugins checks this return value.
11563 (gst_pad_stop_task): Also take the stream lock if the pad has no
11564 task. Docs updated.
11566 2005-10-12 Wim Taymans <wim@fluendo.com>
11568 * gst/gstpad.c: (pre_activate), (post_activate),
11569 (gst_pad_activate_pull), (gst_pad_activate_push):
11570 Cleanup activation code. Reset old state if
11573 2005-10-12 Wim Taymans <wim@fluendo.com>
11575 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11576 (gst_base_sink_change_state):
11577 No need to prerol after receiving EOS.
11579 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11580 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11581 * gst/elements/gstidentity.c: (gst_identity_event):
11582 Print events more verbosely.
11584 2005-10-12 Wim Taymans <wim@fluendo.com>
11586 * check/Makefile.am:
11587 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11588 * check/states/sinks2.c:
11589 Moved sinks2 testcode in sinks check.
11591 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11592 (gst_bin_remove_func), (gst_bin_recalc_state),
11593 (gst_bin_change_state_func), (bin_bus_handler):
11594 Fix potential race condition when _get_state() iterated over an
11595 ASYNC element right before it posted a state completion.
11598 Do proper cast here.
11600 * gst/gstevent.c: (gst_event_new_newsegment),
11601 (gst_event_parse_newsegment):
11602 A playback rate of 0.0 is not allowed.
11604 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11606 * win32/common/config.h:
11607 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11608 (_trewinddir), (_ttelldir), (_tseekdir):
11609 * win32/common/dirent.h:
11610 * win32/common/gtchar.h:
11611 * win32/common/libgstbase.def:
11612 * win32/common/libgstreamer.def:
11613 * win32/vs6/grammar.dsp:
11614 * win32/vs6/gst_inspect.dsp:
11615 * win32/vs6/gst_launch.dsp:
11616 * win32/vs6/gstreamer.dsw:
11617 * win32/vs6/libgstbase.dsp:
11618 * win32/vs6/libgstelements.dsp:
11619 * win32/vs6/libgstreamer.dsp:
11620 Visual Studio 6 project files, and a new common directory.
11623 2005-10-11 Wim Taymans <wim@fluendo.com>
11625 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11626 (gst_base_sink_do_sync), (gst_base_sink_query),
11627 (gst_base_sink_change_state):
11628 * gst/base/gstbasesink.h:
11629 Correctly parse newsegment info.
11631 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11633 * gst/gst.c: (init_post):
11634 split plugin paths correctly
11636 2005-10-11 Wim Taymans <wim@fluendo.com>
11638 * check/gst/gstevent.c: (GST_START_TEST):
11639 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11640 (gst_base_sink_change_state):
11641 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11642 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11643 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11644 * gst/gstevent.c: (gst_event_new_newsegment),
11645 (gst_event_parse_newsegment):
11647 Added extra flag to newsegment for future API freeze.
11648 Updated check and base elements.
11650 2005-10-11 Julien MOUTTE <julien@moutte.net>
11652 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11653 (gst_collectpads_add_pad), (gst_collectpads_pop),
11654 (gst_collectpads_event), (gst_collectpads_chain):
11655 * gst/base/gstcollectpads.h: Handle EOS correctly.
11657 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11659 * tools/gst-launch.c: (main):
11660 more null protecting
11662 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11664 * gst/gst-i18n-lib.h:
11665 check for ENABLE_NLS, not GETTEXT_PACKAGE
11666 * gst/gstregistry.c: (gst_registry_add_plugin),
11667 (gst_registry_scan_path_level),
11668 (_gst_registry_remove_cache_plugins):
11669 protect possibly NULL strings
11670 * gst/parse/types.h:
11671 config.h already included before
11672 * tools/gst-inspect.c: (main):
11673 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11674 check for ENABLE_NLS, not GETTEXT_PACKAGE
11675 * tools/gst-launch.c: (main):
11676 check for ENABLE_NLS, not GETTEXT_PACKAGE
11678 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11681 if we don't have glib, fail before testing 2.8
11682 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11683 fix a leak, should fix plugins-base testsuite
11685 2005-10-11 Andy Wingo <wingo@pobox.com>
11687 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11688 take the mode we're going to as an arg. Go head and set the mode
11689 and flushing flags now, so that if the activate function starts a
11690 thread all the flags will be in the right state.
11691 (post_activate): Renamed also. Just handle making sure streaming
11692 finishes for the deactivation case, and setting the deactivated
11694 (gst_pad_set_active): Complain loudly if deactivation fails.
11695 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11696 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11697 remove the terrible hack.
11699 2005-10-11 Wim Taymans <wim@fluendo.com>
11701 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11702 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11703 (gst_bin_recalc_state), (gst_bin_change_state_func),
11704 (gst_bin_dispose), (bin_bus_handler):
11706 Prepare to make current EOS message queue more generic.
11709 * gst/gstevent.c: (gst_event_new_newsegment),
11710 (gst_event_parse_newsegment):
11712 Rename base to stream_time.
11714 * gst/gstmessage.h:
11717 2005-10-11 Wim Taymans <wim@fluendo.com>
11719 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11720 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11721 (gst_bin_change_state_func), (bin_bus_handler):
11723 Work on proper clock selection.
11725 2005-10-11 Edward Hervey <edward@fluendo.com>
11727 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11728 * libs/gst/controller/gstcontroller.h:
11729 Added GList* version of _remove_properties() in order to be able to wrap
11732 2005-10-11 Wim Taymans <wim@fluendo.com>
11734 * docs/design/part-states.txt:
11737 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11738 (gst_bin_change_state_func), (bin_bus_handler):
11739 Doc updates. Don't distribute the same clock over and over again.
11745 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11746 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11747 (gst_pad_send_event):
11749 Make probe emission threadsafe again.
11750 Register quarks and move _get_name() from utils.
11753 * gst/gstpipeline.c: (gst_pipeline_class_init),
11754 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11755 Only redistribute the clock of it changed.
11757 * gst/gstsystemclock.h:
11762 Moved the _flow_get_name() to GstPad.
11764 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11766 * check/gst-libs/gdp.c: (GST_START_TEST):
11767 * check/gst/gstcaps.c: (GST_START_TEST):
11768 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11769 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11770 (gst_dp_packet_from_caps):
11771 fix more valgrind warnings before turning up the heat
11773 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11775 * gst/parse/grammar.y:
11776 some cleanup before the hacking
11778 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11780 * gst/base/gstbasesrc.c: (gst_base_src_query):
11782 * gst/gstutils.c: (gst_guint64_to_gdouble),
11783 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11785 externalize, basesrc uses it
11786 obviously the implementation needs testing
11788 2005-10-10 Wim Taymans <wim@fluendo.com>
11790 * tests/sched/Makefile.am:
11791 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11792 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11794 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11796 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11797 apparently converting from guint64 to double is not implemented
11800 2005-10-10 Wim Taymans <wim@fluendo.com>
11802 * check/Makefile.am:
11803 * check/generic/states.c: (GST_START_TEST):
11804 * check/gst/gstbin.c: (GST_START_TEST):
11805 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11806 * check/states/sinks.c: (GST_START_TEST):
11807 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11809 Check fixes, use API as stated in design docs, remove hacks.
11811 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11812 (gst_base_sink_change_state):
11813 Catch stopping our task while we're shutting down.
11815 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11816 (gst_bin_remove_func), (gst_bin_get_state_func),
11817 (gst_bin_recalc_state), (gst_bin_change_state_func),
11820 * gst/gstelement.c: (gst_element_init),
11821 (gst_element_get_state_func), (gst_element_abort_state),
11822 (gst_element_commit_state), (gst_element_lost_state),
11823 (gst_element_set_state), (gst_element_change_state),
11824 (gst_element_change_state_func):
11825 * gst/gstelement.h:
11826 New state change algorithm (see #318116)
11828 * gst/gstpipeline.c: (gst_pipeline_class_init),
11829 (gst_pipeline_init), (gst_pipeline_set_property),
11830 (gst_pipeline_get_property), (do_pipeline_seek),
11831 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11832 * gst/gstpipeline.h:
11833 Remove crude state change hacks.
11836 Remove crude hacks.
11838 * tools/gst-launch.c: (main):
11839 Fixes for state change. Needs some more work to fully use the
11842 2005-10-10 Andy Wingo <wingo@pobox.com>
11844 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11846 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11847 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11850 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11852 * gst/gstiterator.c: (gst_iterator_new):
11853 Fix my previous commit: GTypes passed to gst_iterator_new()
11854 can be fundamental types.
11856 2005-10-10 Wim Taymans <wim@fluendo.com>
11858 * gst/gstelement.c: (gst_element_iterate_pad_list),
11859 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11860 (gst_element_iterate_sink_pads):
11861 Use src/sink pads lists for the respective iterators instead
11864 2005-10-10 Andy Wingo <wingo@pobox.com>
11866 Merged in popt removal + GOption addition patch from Ronald, bug
11869 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11870 GstElement macros around, remove popt-related symbols, add goption
11873 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11875 * docs/gst/Makefile.am:
11876 * docs/libs/Makefile.am: No POPT_CFLAGS.
11878 * examples/manual/Makefile.am:
11879 * docs/manual/basics-init.xml: Doc updates with an example.
11881 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11882 (gst_init), (parse_one_option), (parse_goption_arg):
11883 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11884 bit of hand merging and debugging to get the GOption stuff working
11887 * tests/Makefile.am:
11888 * tools/Makefile.am:
11889 * tools/gst-inspect.c: (main):
11890 * tools/gst-launch.c: (main):
11891 * tools/gst-run.c: (main):
11892 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11894 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11896 * gst/gstiterator.c: (gst_iterator_new):
11897 Add assertions to make sure passed GType is likely to really
11898 be a GType (as the compiler won't catch it if the size and
11899 GType arguments get mixed up, see #318447).
11901 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11903 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11905 * gst/gstbin.c: (gst_bin_iterate_sorted):
11906 Pass GType and size arguments to gst_iterator_new() in the right
11907 order (maybe we should make _new() take the GType as first argument
11908 just like _new_list()?) (#318447).
11911 2005-10-10 Wim Taymans <wim@fluendo.com>
11913 * gst/gstelement.c: (gst_element_finalize):
11914 And free the GStaticRecMutex too
11916 2005-10-10 Andy Wingo <wingo@pobox.com>
11918 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11919 Allocate and free the mutex properly.
11921 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11923 (GstElement): The state_lock is now recursive. Rebuild your
11924 plugins, suckers. Old macros adapted.
11926 * docs/gst/gstreamer-sections.txt: Doc updates.
11929 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11930 (g_static_rec_cond_wait): Ported from state changes patch, while
11931 we wait on bug #317802 to be solved in a well-distributed GLib.
11933 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11934 gst_element_change_state, variable name changes.
11935 (gst_element_change_state): Split out of gst_element_set_state in
11936 preparation for the state change merge. Doesn't pay attention to
11937 the 'transition' argument.
11938 (gst_element_set_state): Updates, hopefully purely cosmetic.
11939 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11940 state change patch.
11941 (gst_element_get_state_func): Renamed from get_state, cosmetic
11944 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11946 * gst/elements/gstelements.c:
11947 * win32/GStreamer.vcproj:
11949 * win32/dirent.c: (_tseekdir):
11950 * win32/gst-inspect.vcproj:
11951 * win32/gst-launch.vcproj:
11952 * win32/gstconfig.h:
11953 * win32/gstelements.vcproj:
11954 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11955 * win32/gstreamer.def:
11956 * win32/msvc71.sln:
11957 updates for the win32 build (patch from Sebastien Moutte)
11959 2005-10-10 Andy Wingo <wingo@pobox.com>
11961 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11962 gst_bin_get_state, cleaned up (but no logic changes).
11963 (bin_element_is_sink): Comment updates.
11964 (sink_iterator_filter): Remove needless cast.
11965 (gst_bin_iterate_sinks): Doc update.
11966 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11967 cleaned up (but no logic changes).
11969 * check/states/sinks.c (test_src_sink): Cleanups from the state
11971 (test_livesrc_sink): Sync on the state.
11973 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11974 the state change patch.
11976 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11979 * check/gst/gstbin.c: Merge in some style fixes and additional
11980 checks from Wim's state change patch.
11982 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11984 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11985 (gst_type_find_helper):
11986 Check whether we have the requested data already in our list of
11987 cached buffers before pulling a new buffer; also make the buffer
11988 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11990 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11995 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11996 don't use long long, it's not portable. Replacing with
11997 gint64 seems to work; let's hope no skeletons fall out of the closet.
11999 2005-10-10 Andy Wingo <wingo@pobox.com>
12001 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
12003 2005-10-09 Stefan Kost <ensonic@users.sf.net>
12005 * docs/gst/gstreamer-sections.txt:
12010 * gst/gstmessage.c: (gst_message_parse_state_changed):
12013 more docs, fix compilation
12015 2005-10-09 Philippe Khalaf <burger@speedy.org>
12016 * gst/gstmessage.c:
12017 Fixed a few forgotten variables on previous commit
12019 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
12021 * gst/base/gsttypefindhelper.c: (helper_find_peek):
12022 Fix evil typefind crasher: getrange() might return a short
12023 buffer at the end of a file, but gst_type_find_peek() must
12024 either return the full data as requested or NULL, but
12025 never a short buffer.
12027 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
12029 * gst/gstmessage.c: (gst_message_new_state_changed),
12030 (gst_message_parse_state_changed):
12031 * gst/gstmessage.h:
12032 don't use "new", it's a C++ keyword
12034 2005-10-08 Wim Taymans <wim@fluendo.com>
12036 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
12037 * gst/gstelement.c: (gst_element_post_message):
12038 * gst/gstpipeline.c: (gst_pipeline_change_state):
12039 Small docs and debug updates.
12041 2005-10-08 Stefan Kost <ensonic@users.sf.net>
12043 * docs/gst/gstreamer-sections.txt:
12044 * gst/gstelementfactory.c:
12046 * gst/gsttaglist.c:
12049 2005-10-08 Wim Taymans <wim@fluendo.com>
12051 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
12052 (gst_bin_dispose), (bin_bus_handler):
12053 Fix typos, add comments.
12054 Clear EOS list when going to PAUSED from any direction and do it
12055 in a threadsafe way.
12056 Get base time in a threadsafe way too.
12057 Fix confusing debug in the change_state function.
12058 Various other small cleanups.
12060 * gst/gstelement.c: (gst_element_post_message):
12061 Fix very verbose bus posting code.
12063 * gst/gstpipeline.c: (gst_pipeline_class_init),
12064 (gst_pipeline_set_property), (gst_pipeline_get_property),
12065 (gst_pipeline_change_state):
12066 Small ARG_ -> PROP_ cleanup
12068 2005-10-08 Wim Taymans <wim@fluendo.com>
12070 * gst/gstbin.c: (is_eos), (bin_bus_handler):
12071 Do a less CPU demanding EOS check because we can.
12073 2005-10-08 Wim Taymans <wim@fluendo.com>
12075 * libs/gst/dataprotocol/dataprotocol.c:
12076 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12077 (gst_dp_packet_from_event):
12078 * libs/gst/dataprotocol/dataprotocol.h:
12079 * libs/gst/dataprotocol/dp-private.h:
12080 It's about time we bump the version number.
12081 Since event types don't fit in the guint8 anymore describing
12082 the payload type, make payload type 16 bits wide.
12084 2005-10-08 Wim Taymans <wim@fluendo.com>
12086 * docs/design/part-TODO.txt:
12087 * docs/design/part-clocks.txt:
12088 * docs/design/part-events.txt:
12089 * docs/design/part-gstbin.txt:
12090 * docs/design/part-gstelement.txt:
12091 * docs/design/part-gstpipeline.txt:
12092 * docs/design/part-live-source.txt:
12093 * docs/design/part-messages.txt:
12094 * docs/design/part-overview.txt:
12095 * docs/design/part-states.txt:
12098 2005-10-08 Wim Taymans <wim@fluendo.com>
12102 Fix event quark registration.
12103 Add some space between events so we can insert them in the
12106 2005-10-08 Wim Taymans <wim@fluendo.com>
12108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12109 (gst_base_sink_handle_buffer):
12110 Better log message.
12113 * gst/gstelement.h:
12116 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12117 (gst_queue_set_property), (gst_queue_get_property):
12119 Remove old unused properties.
12121 2005-10-08 Stefan Kost <ensonic@users.sf.net>
12122 * docs/gst/gstreamer-sections.txt:
12123 * gst/gstmessage.c:
12124 * gst/gstmessage.h:
12125 * gst/gstminiobject.c:
12126 * gst/gstminiobject.h:
12130 lots of new docs and doc fixes
12132 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12134 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
12136 * gst/gstregistry.c: (gst_registry_lookup_locked),
12137 (gst_registry_scan_path_level):
12138 * gst/gstregistryxml.c: (load_plugin):
12139 Only ever load one plugin for a given plugin basename.
12140 This ensures correct overriding of GST_PLUGIN_PATH over
12141 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12142 system installed plugins.
12144 2005-10-08 Wim Taymans <wim@fluendo.com>
12146 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12147 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12148 Prepare for doing QOS.
12150 2005-10-08 Wim Taymans <wim@fluendo.com>
12152 * check/gst/gstbin.c: (GST_START_TEST):
12153 * check/pipelines/cleanup.c: (GST_START_TEST):
12154 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12155 Allow new clock message too.
12157 2005-10-08 Wim Taymans <wim@fluendo.com>
12159 * gst/gstmessage.c: (gst_message_new_error),
12160 (gst_message_new_warning), (gst_message_new_tag),
12161 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12162 (gst_message_new_clock_lost), (gst_message_new_new_clock),
12163 (gst_message_new_segment_start), (gst_message_new_segment_done),
12164 (gst_message_parse_state_changed),
12165 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12166 (gst_message_parse_new_clock):
12167 * gst/gstmessage.h:
12168 Also carry the clock in question.
12170 2005-10-08 Wim Taymans <wim@fluendo.com>
12172 * gst/gstmessage.c: (gst_message_new_custom),
12173 (gst_message_new_eos), (gst_message_new_error),
12174 (gst_message_new_warning), (gst_message_new_tag),
12175 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12176 (gst_message_new_new_clock), (gst_message_new_segment_start),
12177 (gst_message_new_segment_done), (gst_message_parse_state_changed),
12178 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12179 * gst/gstmessage.h:
12181 Added clock related messages.
12183 * gst/gstpipeline.c: (gst_pipeline_change_state):
12184 Post message when the clock changed.
12186 * tools/gst-launch.c: (event_loop):
12189 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
12191 * tools/gst-inspect.c: (print_element_properties_info):
12192 Can't pass NULL strings to g_print() on windows.
12194 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12196 * docs/Makefile.am:
12197 * docs/gst/Makefile.am:
12198 * docs/gst/gstreamer-docs.sgml:
12199 * docs/gst/running.xml:
12200 * docs/version.entities.in:
12201 add a chapter on running GStreamer.
12202 document GST_DEBUG and GST_PLUGIN* env vars
12204 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12209 remove PLUGINS_BUILDDIR stuff
12210 * gst/gst.c: (init_post):
12211 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12213 remove, it was condescending and not needed
12215 2005-10-08 Wim Taymans <wim@fluendo.com>
12217 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12218 (gst_base_sink_handle_object), (gst_base_sink_event),
12219 (gst_base_sink_wait), (gst_base_sink_handle_event),
12220 (gst_base_sink_change_state):
12221 * gst/base/gstbasesink.h:
12222 Repost EOS message while going to PLAYING if still EOS.
12223 Make sure that when receiving a FLUSH_START we don't attempt
12224 to sync on the clock anymore.
12226 2005-10-08 Wim Taymans <wim@fluendo.com>
12228 * tools/gst-launch.c: (event_loop):
12229 Better message printout.
12231 2005-10-08 Wim Taymans <wim@fluendo.com>
12233 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12234 (gst_bin_child_proxy_get_children_count):
12235 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12236 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12237 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12238 (gst_child_proxy_set_valist):
12239 * gst/parse/grammar.y:
12240 Make ChildProxy threadsafe and fix mem leaks.
12242 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12244 * gst/gst.c: (init_post):
12245 debug the GST_PLUGIN_ env vars
12247 2005-10-08 Wim Taymans <wim@fluendo.com>
12249 * check/gst/gstbin.c: (GST_START_TEST):
12250 * check/gst/gstmessage.c: (GST_START_TEST):
12251 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12252 * gst/gstelement.c: (gst_element_commit_state),
12253 (gst_element_lost_state):
12254 * gst/gstmessage.c: (gst_message_new_state_changed),
12255 (gst_message_parse_state_changed):
12256 * gst/gstmessage.h:
12257 * tools/gst-launch.c: (event_loop):
12258 Added extra field to STATE_CHANGE message with the pending
12259 state, which will be different from the new state soon.
12261 2005-10-08 Wim Taymans <wim@fluendo.com>
12263 * gst/gstbus.c: (gst_bus_pop):
12265 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12266 Small cleanups and doc updates.
12268 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12270 * gst/gst.c: (init_pre):
12271 * gst/gstbin.c: (gst_bin_add_func):
12272 log distributing clocks and base time
12273 * gst/gstregistry.c: (gst_registry_add_plugin),
12274 (gst_registry_scan_path_level), (gst_registry_scan_path):
12275 clean up the debugging output a little
12276 * gst/gstutils.c: (gst_element_state_get_name):
12277 warn about a memleak (I've actually seen this be used, though
12278 it was probably a bug)
12280 2005-10-07 Wim Taymans <wim@fluendo.com>
12282 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12283 (gst_base_src_init), (gst_base_src_default_newsegment),
12284 (gst_base_src_newsegment), (gst_base_src_do_seek),
12285 (gst_base_src_loop), (gst_base_src_start):
12286 * gst/base/gstbasesrc.h:
12287 Make the newsegment event customizable by subclasses.
12289 2005-10-07 Wim Taymans <wim@fluendo.com>
12291 * gst/gstevent.c: (gst_event_new_buffersize),
12292 (gst_event_parse_buffersize):
12294 New event for future idea.
12296 2005-10-07 Andy Wingo <wingo@pobox.com>
12298 * gst/gstelement.c (gst_element_post_message): Doc update.
12300 * docs/gst/gstreamer-sections.txt: Update.
12302 * gst/gstmessage.c (gst_message_new_application): Made into a
12303 function like honest API calls.
12304 (gst_message_new_element): New message type.
12306 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12308 * check/elements/fakesrc.c (test_no_preroll): New check, checks
12309 that setting a live fakesrc to PAUSED returns NO_PREROLL both
12312 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12313 NO_PREROLL from gst_element_change_state to fall through.
12315 2005-10-07 Wim Taymans <wim@fluendo.com>
12317 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12318 (gst_ghost_pad_do_activate_push):
12319 Activating a ghostpad with no internal pad in push mode
12322 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
12325 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12326 Fixes compilation on Windows.
12328 2005-10-07 Michael Smith <msmith@fluendo.com>
12330 * tools/gst-inspect.c:
12331 Print out feature and plugin count at the end when printing out
12334 2005-10-04 Michael Smith <msmith@fluendo.com>
12336 * gst/gsterror.c: (_gst_stream_errors_init):
12337 Add another error string used in a few existing plugins.
12340 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12341 * tools/gst-inspect.c: (print_element_info):
12342 When a feature disappears from a plugin (and the feature exists in
12343 the cached registry file), things went horribly wrong. This isn't a
12344 complete fix, we should actually be removing the 'missing' features
12345 from the features list when we load the actual plugin. That's not
12348 2005-10-04 Johan Dahlin <johan@gnome.org>
12350 * check/gst/gstiterator.c: (GST_START_TEST):
12351 * gst/gstbin.c: (gst_bin_iterate_elements),
12352 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12353 * gst/gstelement.c: (gst_element_iterate_pads):
12354 * gst/gstformat.c: (gst_format_iterate_definitions):
12355 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12356 (gst_iterator_new_list), (gst_iterator_filter):
12357 * gst/gstiterator.h:
12358 * gst/gstquery.c: (gst_query_type_iterate_definitions):
12359 Add a GType to GstIterator, update callsites and tests.
12361 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12363 * gst/gstpad.c: (gst_pad_event_default_dispatch):
12364 give events a chance to be handled by event probes when the pad
12367 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12369 * gst/gstevent.c: (gst_event_type_get_name),
12370 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12372 add string representations for event types
12374 2005-10-06 Wim Taymans <wim@fluendo.com>
12376 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12377 Don't use NULL pointers.
12379 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12381 * gst/gst_private.h:
12383 * gst/gstelement.c:
12385 * gst/gstpluginfeature.c:
12386 widen the debug category in output to fit the biggest one we have
12387 add a bus category and use it
12388 play with the colors
12389 fix up some categories
12391 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12393 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12394 add push activation of sink ghost pads.
12395 Andye, please verify
12397 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12399 * gst/gstutils.c: (gst_element_link_pads):
12400 fix a bug in the case where neither element has a pad
12401 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12402 add a test for that case
12404 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12406 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12407 emit have-data before checking for peers. This allows
12408 for probe handlers to connect elements. This helps autopluggers.
12409 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12411 add six checks, linked/unlinked with no/true/false probe
12413 2005-10-04 Wim Taymans <wim@fluendo.com>
12415 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12416 (gst_fake_sink_event), (gst_fake_sink_preroll),
12417 (gst_fake_sink_render), (gst_fake_sink_change_state):
12418 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12419 (gst_fake_src_get_property), (gst_fake_src_create),
12420 (gst_fake_src_stop):
12421 * gst/elements/gstidentity.c: (gst_identity_stop):
12422 Protect last_message with lock.
12424 2005-10-04 Edward Hervey <edward@fluendo.com>
12427 Added precision in the comments for GST_FORMAT_DEFAULT
12429 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
12431 * tools/gst-launch.c: (main):
12432 Don't try to run erroneous pipelines.
12434 2005-10-04 Julien MOUTTE <julien@moutte.net>
12436 * gst/gstbus.c: We don't need this header.
12438 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12441 back to development
12443 === release 0.9.3 ===
12445 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12449 Releasing 0.9.3, "Unregistered"
12451 2005-10-03 Andy Wingo <wingo@pobox.com>
12453 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12454 whereby calling a pad's activatepush() function can start a thread
12455 that starts to push or pull before the pad gets the FLUSHING flag
12456 unset. Hack around it by holding the stream lock until the flag is
12457 set. Need to replace this with a proper solution. Together with
12458 the ghost pad fixes, this fixes mp3 playing/tagreading.
12460 * docs/design/part-gstghostpad.txt: Add a note about activation of
12461 proxy pads outside of ghost pads.
12463 * gst/gstghostpad.c: Implement the ghost pad activation design.
12465 2005-10-02 Andy Wingo <wingo@pobox.com>
12467 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12468 It is volatile, after all.
12470 * docs/design/part-gstghostpad.txt: Flesh out activation with
12473 * gst/base/gstbasesrc.c (gst_base_src_init): Use
12476 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
12479 Fix (unused) AM_CONDITIONAL tests.
12481 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
12483 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12485 * gst/gstutils.c: (gst_pad_query_convert):
12486 Add assertion that makes sure src_val is >=0, just like
12487 gst_query_new_convert() has. (#315895)
12489 2005-09-30 Edward Hervey <edward@fluendo.com>
12491 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12492 Let's not iterate pads we're not interested in, it avoids getting
12493 sky-high refcounts on sinkpad.
12495 2005-09-30 Wim Taymans <wim@fluendo.com>
12497 * gst/gstelement.c: (gst_element_set_state),
12498 (gst_element_change_state):
12499 Small tweak, element in ASYNC remains ASYNC.
12501 2005-09-30 Wim Taymans <wim@fluendo.com>
12503 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12504 Only error is an error.
12506 * gst/gstbin.c: (gst_bin_change_state):
12509 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12510 Also call pad_block in pad alloc.
12512 * gst/gstutils.c: (gst_flow_get_name):
12515 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12517 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12518 (gst_base_src_get_range):
12519 Fix documentation typos. Add some more debug info.
12521 2005-09-29 David Schleef <ds@schleef.org>
12523 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12524 more end-user friendly.
12525 * tools/gst-inspect.c: (main): Check if command-line argument is
12526 a file and attempt to load that file as a plugin.
12528 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12530 * check/gst/gstbin.c:
12531 * check/states/sinks.c:
12532 fix tests for the new warning
12533 * check/gst/gstpipeline.c:
12534 add a test for pipeline and bus interaction
12535 * gst/gstelement.c:
12536 elements should be NULL if they get disposed; add a warning if not
12538 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12541 for 2.6 refcounting, make debug log more correct by printing
12542 the actual refcounts at the time of swap (Wim)
12544 2005-09-29 Andy Wingo <wingo@pobox.com>
12546 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12547 removes signal watches previously added via
12548 gst_bus_add_signal_watch.
12549 (gst_bus_add_signal_watch): Don't return the source id, just store
12550 it on the bus if there wasn't an id already.
12552 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12553 add_signal_watch and remove_signal_watch.
12555 2005-09-29 Edward Hervey <edward@fluendo.com>
12557 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12558 Better if we actually iterate the list :)
12560 2005-09-29 Wim Taymans <wim@fluendo.com>
12562 * check/gst/gstbin.c: (GST_START_TEST):
12563 Change for new bus API.
12565 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12566 (send_messages), (GST_START_TEST), (gstbus_suite):
12567 Change for new bus signal API.
12569 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12570 (gst_bus_source_prepare), (gst_bus_source_check),
12571 (gst_bus_create_watch), (gst_bus_add_watch_full),
12572 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12573 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12575 Remove support for multiple GSources operating on different
12576 message types as it is too complex and unneeded when using
12578 Added support for receiving signals from the bus.
12580 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12582 * docs/libs/tmpl/gstdataprotocol.sgml:
12583 * docs/manual/advanced-dataaccess.xml:
12584 * gst/elements/gstcapsfilter.c:
12586 rename filter-caps to caps property
12588 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12590 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12591 More robust fraction string parsing.
12593 * docs/pwg/appendix-porting.xml:
12594 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12596 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12598 * gst/gstcaps.c: (gst_caps_do_simplify):
12599 Thou shalt not free a structure and then continue using it
12600 in the next loop iteration.
12602 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12604 Add test case for caps simplification.
12606 2005-09-29 Wim Taymans <wim@fluendo.com>
12608 * check/gst/gstbin.c: (GST_START_TEST):
12611 2005-09-29 Wim Taymans <wim@fluendo.com>
12613 * check/gst/gstbin.c: (GST_START_TEST):
12616 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12617 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12618 (find_element), (gst_bin_sort_iterator_next),
12619 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12620 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12621 (gst_bin_change_state), (gst_bin_dispose):
12622 A bin does not have a bus, it gets the bus from the parent.
12624 * gst/gstelement.c: (gst_element_requires_clock),
12625 (gst_element_provides_clock), (gst_element_is_indexable),
12626 (gst_element_is_locked_state), (gst_element_change_state),
12627 (gst_element_set_bus_func):
12630 * gst/gstpipeline.c: (gst_pipeline_class_init),
12631 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12632 The pipeline provides a bus.
12634 2005-09-28 Johan Dahlin <johan@gnome.org>
12636 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12637 gst_structure_get_enum instead of gst_structure_get_int
12639 * gst/gststructure.c (gst_structure_get_enum): Impl.
12641 * gst/gststructure.h (gst_structure_get_enum): Add
12643 * docs/gst/gstreamer-sections.txt: Ditto
12645 * gst/gstmessage.c (gst_message_new_state_changed): Use
12646 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12647 which does introspection.
12648 Reviewed by Christian Schaller
12650 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12652 * gst/gstinfo.c: (gst_debug_log_default):
12653 don't do dummy g_strdup()s
12654 * libs/gst/controller/gstcontroller.c:
12655 (on_object_controlled_property_changed),
12656 (gst_controlled_property_new), (gst_controller_new_valist),
12657 (gst_controller_new_list),
12658 (gst_controller_remove_properties_valist), (gst_controller_set),
12659 (gst_controller_get), (gst_controller_sync_values),
12660 (gst_controller_get_value_array), (_gst_controller_class_init),
12661 (gst_controller_get_type):
12662 * libs/gst/controller/gstcontroller.h:
12663 * libs/gst/controller/gstinterpolation.c:
12664 (gst_controlled_property_find_timed_value_node):
12665 convert // to /**/ comments
12667 2005-09-28 Wim Taymans <wim@fluendo.com>
12669 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12670 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12671 (gst_bus_sync_signal_handler):
12673 Added async-message and sync-message signals to the bus.
12674 Added helper BusFunc to emit signals for all posted messages.
12676 * gst/gstmessage.c: (gst_message_type_get_name),
12677 (gst_message_type_to_quark), (gst_message_get_type):
12678 * gst/gstmessage.h:
12679 Register quarks for message names.
12681 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12683 * docs/libs/gstreamer-libs-sections.txt:
12684 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12685 (gst_controller_new_list):
12686 * libs/gst/controller/gstcontroller.h:
12687 added another constructor for language bindings
12689 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12691 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12695 * gst/gstinfo.c: (_gst_debug_init):
12696 slightly more readable color for refcount debugging
12698 2005-09-28 Wim Taymans <wim@fluendo.com>
12700 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12701 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12702 (find_element), (gst_bin_sort_iterator_next),
12703 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12704 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12705 (gst_bin_change_state), (gst_bin_dispose):
12706 Small doc fixes. get_clock -> provide_clock.
12708 * gst/gstelement.c: (gst_element_class_init),
12709 (gst_element_provides_clock), (gst_element_provide_clock),
12710 (gst_element_get_clock), (gst_element_commit_state),
12711 (gst_element_lost_state):
12712 * gst/gstelement.h:
12713 Make get/set_clock() symetric. Add provide_clock vmethod since
12714 that is actually what this function does.
12716 * gst/gstpipeline.c: (gst_pipeline_class_init),
12717 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12718 (gst_pipeline_get_clock):
12719 get_clock -> provide_clock.
12721 2005-09-28 Andy Wingo <wingo@pobox.com>
12723 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12724 lieu of real docs...
12726 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12728 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12730 * gst/elements/gstcapsfilter.c:
12731 * gst/elements/gstfakesink.c:
12732 * gst/elements/gstfakesrc.c:
12733 * gst/elements/gstfdsink.c:
12734 * gst/elements/gstfdsrc.c:
12735 * gst/elements/gstfilesink.c:
12736 * gst/elements/gstfilesrc.c:
12737 * gst/elements/gstidentity.c:
12738 * gst/elements/gsttee.c:
12739 * gst/elements/gsttypefindelement.c:
12740 Make element details static.
12742 2005-09-28 Wim Taymans <wim@fluendo.com>
12744 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12745 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12746 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12747 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12748 (gst_bin_change_state), (gst_bin_dispose):
12749 Some documentation updates.
12750 Clean up dispose handlers.
12752 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12753 * gst/gstpad.c: (gst_pad_dispose):
12754 Clean up dispose handler.
12756 * gst/gstpipeline.c: (gst_pipeline_change_state):
12757 Removed spurious UNLOCK.
12759 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12761 * docs/gst/gstreamer-sections.txt:
12762 * gst/base/gstbasesrc.h:
12763 * gst/gstelement.h:
12767 * gst/gstpipeline.c:
12768 * gst/gstpipeline.h:
12771 added two new functions to the docs
12772 documents all undocumented GstXXXFlags
12773 completed some incomplete docs
12775 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12777 * gst/gstbin.c: (gst_bin_dispose):
12778 * gst/gstelement.c: (gst_element_dispose):
12779 remove now useless and leaky resurrection code in dispose
12780 * gst/base/gstbasesrc.c: (gst_base_src_init):
12781 * gst/gstelementfactory.c: (gst_element_factory_create):
12782 * gst/gstobject.c: (gst_object_set_parent):
12785 2005-09-27 Wim Taymans <wim@fluendo.com>
12787 * docs/design/part-TODO.txt:
12790 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12791 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12792 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12793 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12794 (gst_bin_change_state):
12795 * gst/gstelement.h:
12796 Remove element variable, we keep element info in the iterator now.
12798 2005-09-27 Andy Wingo <wingo@pobox.com>
12800 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12803 2005-09-27 Wim Taymans <wim@fluendo.com>
12805 * check/gst/gstbin.c: (GST_START_TEST):
12806 Enable check that works now.
12808 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12809 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12810 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12811 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12812 (gst_bin_change_state):
12814 Redid the state change algorithm using a topological sort algo.
12815 Handles all cases correctly.
12816 Exposed iterator for state change order.
12818 * gst/gstelement.h:
12819 Temp storage for state changes. Need to get rid of this soon.
12821 2005-09-27 Wim Taymans <wim@fluendo.com>
12823 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12824 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12825 (link_fold_func), (gst_pad_proxy_setcaps):
12826 Leak fixes, the fold functions need to unref the passed object and
12827 _get_parent_*() returns ref to parent.
12829 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12831 * check/gst/gstbuffer.c: (test_make_writable):
12832 Plug leak in test case and fix 'make check-valgrind'
12834 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12836 * gst/gstbuffer.c: (gst_subbuffer_init):
12837 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12838 works correctly in all circumstances (we could have just copied
12839 the parent buffer's readonly flag, but conceptually it seems
12840 cleaner to mark all subbuffers as read-only). (based on patch
12841 by Alessandro Decina, #314710).
12843 * check/gst/gstbuffer.c: (create_read_only_buffer),
12844 (test_make_writable), (test_subbuffer_make_writable),
12846 Add some tests for gst_buffer_make_writable().
12848 2005-09-27 Wim Taymans <wim@fluendo.com>
12850 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12851 use gst_object_has_ancestor().
12853 * gst/gstobject.c: (gst_object_has_ancestor):
12855 gst_object_has_ancestor() copied from gstbin.c as it is a
12858 * tests/instantiate/create.c: (create_all_elements):
12859 * tests/lat.c: (handoff_src), (handoff_sink):
12860 * tests/sched/runxml.c: (main):
12861 * tests/seeking/seeking1.c: (main):
12862 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12864 Fix compilation of some tests.
12866 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12869 Remove comment. GST_TYPE_G_ERROR is here to stay,
12870 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12871 (#316961, #300610).
12873 2005-09-26 Wim Taymans <wim@fluendo.com>
12875 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12876 Added check that shows error in state change order.
12878 2005-09-26 Wim Taymans <wim@fluendo.com>
12880 * gst/gstbin.c: (gst_bin_change_state):
12881 Make state change function use 3 queues again, we were
12882 adding elements in the wrong order.
12884 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12887 * gst/gstpad.c: (gst_pad_dispose):
12888 Added some debug info first.
12890 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12892 * docs/design/draft-push-pull.txt:
12893 * docs/design/part-events.txt:
12894 * docs/design/part-overview.txt:
12895 * docs/design/part-scheduling.txt:
12896 Replace all _pull_region() with _pull_range()
12898 2005-09-26 Andy Wingo <wingo@pobox.com>
12900 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12902 * check/gst-libs/controller.c: Update for controller api change.
12905 * tests/Makefile.am:
12906 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12907 over by GLib bug 118439.
12909 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12910 routines to a function.
12912 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12914 * libs/gst/controller/gsthelper.c:
12915 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12916 (gst_object_sync_values): Renamed from sink_values. Ugh.
12918 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12920 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12921 Renamed from controller_key, as it is exported.
12923 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12925 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12930 * gst/gstpadtemplate.h:
12933 * gst/gstqueryutils.c:
12934 * gst/gstqueryutils.h:
12935 remove queryutils headers after moving the two used functions
12936 to gstquery. also fixes build problem for gstsiddec
12938 2005-09-26 Michael Smith <msmith@fluendo.com>
12940 * tools/gst-launch.1.in:
12941 Correct documentation in manpage of debug syntax
12943 2005-09-26 Wim Taymans <wim@fluendo.com>
12945 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12946 (gst_base_src_is_seekable), (gst_base_src_change_state):
12947 Some more debugging info.
12949 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12951 * docs/gst/gstreamer-sections.txt:
12952 * gst/base/gstbasetransform.h:
12956 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12958 * docs/gst/.cvsignore:
12959 * docs/gst/tmpl/.cvsignore:
12960 * docs/gst/tmpl/gstpipeline.sgml:
12961 * docs/gst/tmpl/gstplugin.sgml:
12962 * gst/gstpipeline.c:
12965 inlined the last two docs files
12966 removed the tmpl directory from cvs (no more conflicts here!)
12968 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12970 * docs/gst/gstreamer-sections.txt:
12971 * docs/gst/tmpl/.cvsignore:
12972 * docs/gst/tmpl/gstpad.sgml:
12973 * docs/gst/tmpl/gstpadtemplate.sgml:
12975 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12976 (gst_pad_finalize), (gst_pad_set_pad_template):
12978 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12979 (gst_pad_template_class_init), (gst_pad_template_init),
12980 (gst_pad_template_dispose), (name_is_valid),
12981 (gst_static_pad_template_get), (gst_pad_template_new),
12982 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12983 (gst_pad_template_pad_created):
12984 * gst/gstpadtemplate.h:
12985 inlined two more docs
12986 factored gstpadtemplate out of gstpad
12988 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12990 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12991 (test_children_state_change_order_semi_sink):
12992 Fix test case: we can't rely on a fixed state change order when
12993 going from READY => PAUSED because the sink might commit its
12994 new state first when the first buffer created by the source
12995 reaches the sink before the source has finished its change state.
12996 (Test case still fails at times, see #316856, comment 5 onwards)
12998 2005-09-24 Wim Taymans <wim@fluendo.com>
13000 * docs/design/part-events.txt:
13001 * docs/design/part-gstbus.txt:
13002 * docs/design/part-gstpipeline.txt:
13003 * docs/design/part-messages.txt:
13004 * docs/design/part-overview.txt:
13005 * docs/design/part-segments.txt:
13009 * gst/gstelement.c:
13012 * gst/gstiterator.c:
13013 Various documentation updates.
13015 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
13018 Well, that's embarassing. Luckily we weren't using
13019 GST_CLOCK_DIFF anywhere.
13021 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13023 * common/gtk-doc.mak:
13024 don't fail on building XML, FC4 slave shows a bunch of doc
13025 missing bits that I don't get
13027 * gst/gstpipeline.c:
13028 * gst/gststructure.c:
13031 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
13033 * docs/design/part-gstbin.txt:
13034 * docs/design/part-gstbus.txt:
13036 Add blurb about how the bus goes into flushing mode and
13037 drops all messages when its bin goes from READY into NULL
13040 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13042 * docs/gst/gstreamer-sections.txt:
13043 * gst/gststructure.c: (gst_structure_get_clock_time):
13044 * gst/gststructure.h:
13045 add a method to get a GstClockTime out of a structure
13047 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
13049 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
13050 (test_children_state_change_order_semi_sink), (gst_bin_suite):
13051 Added test to check state change order in bins (can still be made
13052 to fail here under heavy disk load; bails out with 'Push on pad
13053 fakesink:sink0, but it was not activated in push mode').
13055 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
13056 Fix state change order when there is only a semi sink (#316856)
13058 * gst/gstbus.c: (gst_bus_class_init):
13059 Use _class_peek_parent(), not _class_ref(); fix docs to say
13060 'default main context' instead of 'mainloop' where that is
13063 * gst/gstelement.c: (gst_element_commit_state),
13064 (gst_element_set_state):
13065 Fix typos in debug messages
13067 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13070 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
13071 * gst/gstpluginfeature.c:
13073 various doc updates
13074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13075 change an assert into an error until it gets fixed properly
13077 2005-09-23 Stefan Kost <ensonic@users.sf.net>
13079 * docs/gst/gstreamer-sections.txt:
13080 * docs/gst/tmpl/.cvsignore:
13081 * docs/gst/tmpl/gstelement.sgml:
13082 * docs/gst/tmpl/gstinfo.sgml:
13083 * docs/gst/tmpl/gstobject.sgml:
13084 * gst/gstelement.c:
13085 * gst/gstelement.h:
13088 * gst/gstobject.c: (gst_object_class_init):
13090 inlined 3 more biiiig doc files and added some missing docs on the fly
13092 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
13094 * check/gst/.cvsignore:
13095 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
13096 * gst/gstregistryxml.c: (load_plugin),
13097 (gst_registry_xml_save_plugin):
13098 put back source in registry. add checks for find_plugin.
13099 * testsuite/states/bin.c: (assert_state), (empty_bin),
13100 (test_adding_one_element), (main):
13101 * testsuite/states/locked.c: (main):
13102 some compile/run fixes
13104 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
13106 * check/gst/gstvalue.c: (GST_START_TEST):
13107 fix leaks in the test itself
13109 2005-09-22 Wim Taymans <wim@fluendo.com>
13111 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13112 (gst_base_sink_send_event), (gst_base_sink_peer_query),
13113 (gst_base_sink_query):
13114 Prepare for more accurate position reporting and query
13117 * gst/gstelement.c: (gst_element_send_event),
13118 (gst_element_set_state):
13121 2005-09-22 Wim Taymans <wim@fluendo.com>
13123 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
13124 (gst_query_parse_segment):
13126 More documentation.
13127 Add segment query for future use.
13129 2005-09-22 Wim Taymans <wim@fluendo.com>
13131 * gst/gstbin.c: (gst_bin_add_func):
13132 Some more debug info.
13134 * gst/gstelement.c: (gst_element_send_event):
13135 Simplify send_event
13137 * gst/gstelement.h:
13138 Don't know how flags got broken.
13143 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13145 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13146 Add simplistic test suite for GST_TYPE_DATE serialisation and
13149 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13151 * docs/gst/gstreamer-sections.txt:
13152 * gst/gststructure.c: (gst_structure_set_valist),
13153 (gst_structure_get_date):
13154 * gst/gststructure.h:
13155 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13156 (gst_date_copy), (gst_value_compare_date),
13157 (gst_value_serialize_date), (gst_value_deserialize_date),
13158 (gst_value_transform_date_string),
13159 (gst_value_transform_string_date), (_gst_value_initialize):
13161 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13162 bunch of utility functions along with a hack that checks that
13163 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13164 is required. Part of the grand scheme in #170777.
13166 2005-09-22 Andy Wingo <wingo@pobox.com>
13168 * gst/gstconfig.h.in: Psych out gtk-doc.
13170 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13172 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13174 * tools/gst-inspect.c (print_element_list): Plug some
13175 inconsequential leaks.
13177 * gst/gstregistry.c (gst_registry_get_default): Doc.
13179 * check/gst/gstplugin.c:
13180 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13181 * gst/gstelementfactory.c (gst_element_factory_create):
13182 * gst/gstindexfactory.c (gst_index_factory_create): Update for
13185 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13186 (gst_plugin_feature_load): Doc, don't eat refs.
13188 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13189 (gst_plugin_list_free): Doc.
13190 (gst_plugin_load_file): Doc updates.
13192 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13193 accessors returning refcounted objects, return a ref.
13195 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13196 accessor for caps. IDEMPOTENCE. Oh yes.
13198 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
13200 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13202 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13203 (_gst_debug_register_funcptr):
13204 Add mutex to serialise access to the hash table with
13205 the function pointer => function name string mapping;
13206 make that hash table static scope (#316809).
13208 * gst/registries/.cvsignore:
13209 Remove left-over file.
13211 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13213 * docs/pwg/appendix-porting.xml:
13214 And something about newsegment events and caps-on-buffers to
13215 the porting guide (feel free to improve).
13217 2005-09-21 Andy Wingo <wingo@pobox.com>
13219 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13220 data and event probes on the same pad.
13221 (test_buffer_probe_once): Test that removing probes from within
13222 the probe functions works.
13224 2005-09-21 Andy Wingo <wingo@pobox.com>
13226 * check/gst/gstutils.c: New file.
13227 (test_buffer_probe_n_times): A simple buffer probe test. More to
13230 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13231 have-data::buffer, not have-data.
13232 (gst_pad_add_event_probe): Likewise for have-data::event.
13233 (gst_pad_add_data_probe): More docs. The part about 'resolving the
13234 peer' isn't quite right yet though.
13235 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
13236 (gst_pad_remove_data_probe): Change to take the guint handler_id
13237 as their arg, not the function+data, which is more glib-like.
13239 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13240 the signal emission to indicate if the data is a buffer or an
13242 (gst_pad_get_type): Initialize buffer and event quarks.
13243 (gst_pad_class_init): have-data is now a detailed signal, yes it
13246 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13248 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13249 * gst/gstutils.c: (gst_util_set_value_from_string),
13250 (gst_util_set_object_arg):
13251 Don't put functional code in g_return_if_fail() or
13252 g_return_val_if_fail() statements, otherwise things will
13253 break when G_DISABLE_CHECKS is defined during compilation.
13255 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13257 * docs/gst/tmpl/.cvsignore:
13258 * docs/gst/tmpl/gstvalue.sgml:
13261 inlied another one and added some obvious docs
13263 2005-09-21 Wim Taymans <wim@fluendo.com>
13265 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13266 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13267 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13268 (gst_fdsrc_get_property), (gst_fdsrc_create):
13269 * gst/elements/gstfdsrc.h:
13270 Properly implement fdsrc. Removed signal and timeout,
13271 better implemented somewhere else.
13273 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13275 * docs/gst/tmpl/.cvsignore:
13276 * docs/gst/tmpl/gstimplementsinterface.sgml:
13277 * gst/gstinterface.c:
13280 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13282 * docs/gst/gstreamer-sections.txt:
13283 * docs/gst/tmpl/.cvsignore:
13284 * docs/gst/tmpl/gstenumtypes.sgml:
13285 remove obsolete doc file
13287 2005-09-21 David Schleef <ds@schleef.org>
13289 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13290 little beer, fix a little leak.
13292 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13294 * docs/gst/gstreamer-docs.sgml:
13295 * docs/gst/gstreamer-sections.txt:
13296 * docs/gst/tmpl/.cvsignore:
13300 * gst/gstelement.h:
13301 * gst/gstindex.c: (gst_index_class_init):
13303 * gst/gstindexfactory.c: (gst_index_factory_get_type),
13304 (gst_index_factory_class_init), (gst_index_factory_init),
13305 (gst_index_factory_finalize), (gst_index_factory_new),
13306 (gst_index_factory_destroy), (gst_index_factory_find),
13307 (gst_index_factory_create), (gst_index_factory_make):
13308 * gst/gstindexfactory.h:
13309 * gst/gstpluginfeature.c:
13310 * gst/gstpluginfeature.h:
13311 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13312 more docs inlined, splitted gstindex.{c,h}
13314 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13316 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13319 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13321 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13322 Set sync to FALSE by default.
13324 2005-09-20 Wim Taymans <wim@fluendo.com>
13326 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13327 (gst_base_sink_init):
13328 Make sync property settable from subclass.
13330 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13331 (gst_fake_sink_change_state):
13332 Set sync to FALSE by default.
13334 2005-09-20 Wim Taymans <wim@fluendo.com>
13336 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13337 * tools/gst-launch.c: (main):
13338 The timeout handler should have lower priority than the source
13339 so we don't timeout before popping a message with 0 timeout.
13340 Dump error messages after failed state change.
13342 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13344 * tools/gst-inspect.c: (print_element_properties_info):
13347 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13349 * check/gst/gstevent.c:
13350 * gst/elements/gstfakesink.c:
13351 * gst/elements/gstfakesink.h:
13352 remove the sync property from fakesink.
13353 has the side effect of setting sync TRUE
13354 for fakesink, which is a change. Anyone who knows how
13355 to fix this nicely in a GObject-y way, feel free.
13357 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13359 * docs/gst/gstreamer-docs.sgml:
13360 remove probe refsection
13362 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13364 * check/Makefile.am:
13365 disable valgrinding the controller test again
13366 * docs/gst/gstreamer-sections.txt:
13367 update for api-changes
13369 2005-09-20 Wim Taymans <wim@fluendo.com>
13371 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13372 (gst_base_sink_set_property), (gst_base_sink_get_property),
13373 (gst_base_sink_do_sync):
13374 * gst/base/gstbasesink.h:
13375 Added sync property to basesink to disable clock sync.
13377 2005-09-20 Andy Wingo <wingo@pobox.com>
13379 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13380 eating the caller's refcount.
13382 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
13383 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13386 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13387 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13388 of GLib 2.8 public, so we can know which refcount to check in
13391 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13392 (gst_object_init): Only set the gst refcount if we're going ahead
13393 with the refcount hack.
13395 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13397 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13398 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13399 more leaks plumbed, added more debug-logging
13403 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13405 * gst/gstmessage.c:
13406 remove include of gstmemchunk.h
13408 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13410 * gst/gstclock.c: (_gst_clock_id_free):
13411 Commit from the Political Party For More Atomic CVS Commits,
13412 so that people don't waste too much of their day fishing
13413 out obvious leaks out of massive commits.
13414 Oh, and fix a pretty damn obvious leak in the memchunk
13417 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13419 * check/Makefile.am:
13420 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13421 plug mem-leak, re-add to valgrindable tests
13423 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13426 unbreak the build for those who have chronic arthritis
13427 and typing "make check" is just too taxing on the hands
13429 2005-09-20 Andy Wingo <wingo@pobox.com>
13431 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13432 really want it out, you should fix plugins at the same time.
13434 2005-09-19 Stefan Kost <ensonic@users.sf.net>
13437 * docs/gst/gstreamer-sections.txt:
13439 added missing symbols to api docs
13440 disable ref-count hack if we have glib >= 2.8
13442 2005-09-19 David Schleef <ds@schleef.org>
13444 * docs/gst/Makefile.am: Ignore a few more internal headers
13445 * docs/gst/gstreamer-docs.sgml: Remove old sections
13446 * docs/gst/gstreamer-sections.txt: Remove old sections
13447 * docs/gst/tmpl/gstobject.sgml: update
13448 * docs/gst/tmpl/gstplugin.sgml: update
13449 * docs/gst/tmpl/gstpluginfeature.sgml: update
13450 * docs/random/ds/0.9-suggested-changes: update.
13451 * gst/Makefile.am: remove memchunk and trashstack, since they're
13453 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13454 * gst/gst.h: don't include some headers
13455 * gst/gstchildproxy.c: add gstmarshal.h
13456 * gst/gstclock.c: Don't use memchunks
13457 * gst/gstminiobject.c: Add some docs
13458 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13459 * gst/gstobject.h: same
13460 * gst/gstplugin.c: include gstmacros.h
13461 * gst/gstplugin.h: don't include gstmacros.h, since it's private
13462 * gst/gstquery.c: don't use memchunks
13463 * gst/gstregistry.c: rename gst_registry_deinit()
13464 * gst/gstregistry.h: same
13466 2005-09-19 David Schleef <ds@schleef.org>
13468 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13469 * docs/libs/gstreamer-libs-sections.txt:
13470 * docs/libs/tmpl/gstgetbits.sgml:
13471 * docs/libs/tmpl/gstputbits.sgml:
13473 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
13475 * win32/gstenumtypes.c:
13476 * win32/gstenumtypes.h:
13479 2005-09-19 Wim Taymans <wim@fluendo.com>
13481 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13482 Automatically PAUSE and RESUME a pipeline when a flushing seek
13485 2005-09-19 Andy Wingo <wingo@pobox.com>
13487 * gst/gstregistry.h: Spacing fixen.
13489 2005-09-19 Wim Taymans <wim@fluendo.com>
13491 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13492 Handle state change failure more correctly.
13494 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13496 * check/Makefile.am:
13497 * check/pipelines/cleanup.c: (run_pipeline):
13498 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13500 enable cleanup again after fixing the leak
13502 some more info on docs
13504 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13506 * check/Makefile.am:
13507 re-enable tests now that leaks are plugged
13509 * check/gst/gstbin.c:
13510 * check/gst/gstpipeline.c:
13511 add some more tests while fixing leaks
13512 * common/check.mak:
13513 make sure binaries are uptodate when valgrinding/gdbing
13515 * gst/gstelementfactory.c:
13516 remove a ref too many, and add a FIXME for when we get
13517 round to disposing of classes
13519 fix the refcounting when loading a plugin from a file and
13520 the code pretends that the pointer is the same even though
13521 of course it can change
13522 * gst/gstpluginfeature.c:
13523 unref plugins marked cached (a bit confusing as a name)
13524 as the docs state should be done
13525 various doc additions to explain refcounting
13526 * gst/gstregistry.c:
13527 * gst/gstregistryxml.c:
13530 2005-09-19 Wim Taymans <wim@fluendo.com>
13532 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13533 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13534 (send_messages), (GST_START_TEST), (gstbus_suite):
13535 * check/gst/gstpipeline.c: (GST_START_TEST):
13536 * check/pipelines/cleanup.c: (run_pipeline):
13537 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13539 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13540 (gst_bus_source_check), (gst_bus_source_dispatch),
13541 (gst_bus_create_watch), (gst_bus_add_watch_full),
13542 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13544 * tools/gst-launch.c: (event_loop):
13545 * tools/gst-md5sum.c: (event_loop):
13546 GstBusHandler -> GstBusFunc, return value has the same meaning as
13547 any other GSource (FALSE == remove source).
13548 _add_watch() and _add_watch_full() now take a MessageType mask to
13549 only handle specific types of messages.
13550 _poll() returns the GstMessage instead of the message type to avoid
13552 _have_pending() takes a MessageType mask now too.
13553 Added testsuite for multiple bus watches.
13554 Fix testsuites and applications for new bus API.
13556 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13558 * check/Makefile.am:
13559 mark a bunch of the tests as to fix until we fix them
13561 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13563 * common/check.mak:
13564 use GST_PLUGIN settings for valgrind tests as well, so we're
13565 valgrinding the correct thing
13566 * gst/gst.c: (init_post):
13569 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13571 * gst/gst.c: (init_post), (gst_deinit):
13572 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13573 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13574 * gst/gstindex.c: (gst_index_factory_class_init),
13575 (gst_index_factory_finalize):
13576 * gst/gstobject.c: (gst_object_dispose):
13577 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13578 (gst_plugin_load_file), (gst_plugin_desc_free):
13579 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13580 (gst_plugin_feature_finalize):
13581 * gst/gstregistry.c: (gst_registry_class_init),
13582 (gst_registry_init), (gst_registry_finalize),
13583 (gst_registry_get_default), (gst_registry_deinit):
13584 * gst/gstregistry.h:
13585 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13586 various cleanups and memleak plugging. make valgrind is happy now.
13588 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13590 * common/check.mak:
13591 add a check-valgrind target
13593 2005-09-18 David Schleef <ds@schleef.org>
13595 * tools/gst-inspect.c: Revert the GOption code.
13597 2005-09-17 David Schleef <ds@schleef.org>
13599 * check/Makefile.am: Fix environment variables.
13600 * check/gst/gstplugin.c: Fix for API changes.
13601 * tools/gst-inspect.c: Fix for API changes.
13602 * tools/gst-xmlinspect.c: Fix for API changes.
13603 * gst/gstelementfactory.c:
13606 * gst/gstpluginfeature.c:
13607 * gst/gstpluginfeature.h:
13608 * gst/gstregistry.c:
13609 * gst/gstregistry.h:
13610 * gst/gstregistryxml.c:
13611 * gst/gsttypefind.c:
13612 * gst/gsttypefindfactory.c:
13613 * gst/indexers/gstfileindex.c:
13614 * gst/indexers/gstmemindex.c:
13615 * gst/schedulers/Makefile.am:
13616 Change registry to keep track of both plugins and features,
13617 removing the feature tracking from plugins themselves.
13619 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13621 * check/Makefile.am:
13622 * tools/gst-register.1.in:
13623 remove gst-register
13625 2005-09-15 David Schleef <ds@schleef.org>
13627 * check/gst/gstplugin.c:
13628 * gst/gstelementfactory.c:
13630 * gst/gstpluginfeature.c:
13631 * gst/gstregistry.c:
13632 Getting tired of debugging. Disabled all the unreffing of
13633 plugins and features, which fixes the segfaults, but of
13634 course leaks like crazy. At least playbin works.
13636 2005-09-15 David Schleef <ds@schleef.org>
13638 * check/gst/gstplugin.c: (register_check_elements),
13639 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13641 * gst/elements/gsttypefindelement.c: Fix refcounting.
13642 * gst/gsttypefind.c:
13643 * gst/gsttypefindfactory.c:
13644 * gst/gsttypefindfactory.h:
13646 2005-09-15 David Schleef <ds@schleef.org>
13648 * gst/gstindex.c: get refcounting correct.
13649 * gst/gstregistry.c: Handle the case where a feature/plugin is
13652 2005-09-15 David Schleef <ds@schleef.org>
13654 * check/Makefile.am:
13655 * check/gst/gstplugin.c: Add test
13656 * gst/gstplugin.c: Fix problems noticed by testsuite
13658 * gst/gstregistry.c:
13659 * gst/gstregistry.h:
13661 2005-09-15 David Schleef <ds@schleef.org>
13663 * gst/gstplugin.c: Implement semi-decent recounting and locking
13664 in plugins and plugin features.
13666 * gst/gstpluginfeature.c:
13667 * gst/gstpluginfeature.h:
13668 * gst/gstregistry.c:
13670 2005-09-15 Michael Smith <msmith@fluendo.com>
13672 * gst/gstregistry.c: (gst_registry_get_feature_list):
13673 Implement this. Makes oggdemux work; decodebin still broken.
13675 2005-09-14 David Schleef <ds@schleef.org>
13677 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13679 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13680 * gst/check/Makefile.am:
13681 * libs/gst/controller/Makefile.am:
13682 * libs/gst/dataprotocol/Makefile.am:
13684 2005-09-14 David Schleef <ds@schleef.org>
13686 * configure.ac: Remove getbits library. Nothing uses it, and
13687 it should be in something like liboil if someone did want
13689 * libs/gst/Makefile.am:
13690 * libs/gst/getbits/Makefile.am:
13691 * libs/gst/getbits/gbtest.c:
13692 * libs/gst/getbits/getbits.c:
13693 * libs/gst/getbits/getbits.h:
13694 * libs/gst/getbits/gstgetbits_generic.c:
13695 * libs/gst/getbits/gstgetbits_i386.s:
13696 * libs/gst/getbits/gstgetbits_inl.h:
13698 2005-09-14 David Schleef <ds@schleef.org>
13700 * gst/Makefile.am: Dist glib-compat.h
13702 2005-09-14 David Schleef <ds@schleef.org>
13704 * configure.ac: Remove gst/registries, since it's no longer used.
13705 * gst/registries/Makefile.am:
13706 * gst/registries/gstlibxmlregistry.c:
13707 * gst/registries/gstlibxmlregistry.h:
13708 * gst/registries/gstxmlregistry.c:
13709 * gst/registries/gstxmlregistry.h:
13710 * gst/registries/registrytest.c:
13712 2005-09-14 David Schleef <ds@schleef.org>
13714 * gst/glib-compat.h:
13715 * gst/gstregistryxml.c:
13716 Convergence is near. Seriously.
13718 2005-09-14 David Schleef <ds@schleef.org>
13720 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13721 * gst/glib-compat.h:
13722 Attempt #4 to appease the buildbots.
13724 2005-09-14 David Schleef <ds@schleef.org>
13726 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13729 2005-09-14 David Schleef <ds@schleef.org>
13731 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13734 2005-09-14 David Schleef <ds@schleef.org>
13736 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13739 2005-09-14 David Schleef <ds@schleef.org>
13741 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13742 * gst/glib-compat.h: Add some functions that are in newer versions
13743 of glib than we care to require.
13744 * gst/gstregistryxml.c: Use them.
13746 2005-09-14 David Schleef <ds@schleef.org>
13748 * po/POTFILES.in: remove gst-register.c
13750 2005-09-14 David Schleef <ds@schleef.org>
13752 * docs/gst/gstreamer-docs.sgml:
13753 * docs/gst/gstreamer-sections.txt:
13754 * docs/gst/gstreamer.types:
13755 * docs/gst/tmpl/gstelement.sgml:
13756 * docs/gst/tmpl/gstplugin.sgml:
13757 * docs/gst/tmpl/gstpluginfeature.sgml:
13758 Documentation updates for registry changes.
13760 2005-09-14 David Schleef <ds@schleef.org>
13762 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13763 because we don't require glib-2.8.
13765 2005-09-14 David Schleef <ds@schleef.org>
13767 * gst/gstregistryxml.c: Added. Essentially moved out of the
13768 registries directory.
13770 2005-09-14 David Schleef <ds@schleef.org>
13772 * check/Makefile.am:
13773 * check/generic/states.c:
13777 * gst/gst_private.h:
13778 * gst/gstelementfactory.c:
13783 * gst/gstpluginfeature.c:
13784 * gst/gstpluginfeature.h:
13785 * gst/gstregistry.c:
13786 * gst/gstregistry.h:
13787 * gst/gstregistrypool.c: remove
13788 * gst/gstregistrypool.h: remove
13789 * gst/gsttypefind.c:
13790 * gst/gsttypefindfactory.c:
13792 * tools/Makefile.am:
13793 * tools/gst-compprep.c:
13794 * tools/gst-inspect.c:
13795 * tools/gst-register.c: remove
13796 * tools/gst-xmlinspect.c:
13797 Registry rewrite. Changes registry from being a file created
13798 by a tool into a simple cache file created automatically by
13799 libgstreamer. Removed gst-register (because it's no longer
13800 needed). Remove registry pools, because we only have one
13801 registry implementation (XML). Fix up other subsystems as
13804 2005-09-13 Michael Smith <msmith@fluendo.com>
13806 * gst/gstconfig.h.in:
13807 Don't Use windows linking attributes for MinGW. Fixes #316157
13809 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13811 * gst/gstutils.c: (set_state_async_thread_func),
13812 (gst_element_set_state_async):
13813 Apparently people think it's better if this function doesn't
13814 try to set the state to whatever state was asked for on the first
13815 call to this function for any object. Seriously.
13817 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13819 * check/gst/gstpipeline.c: (GST_START_TEST):
13820 * docs/gst/gstreamer-sections.txt:
13821 * gst/gstutils.c: (set_state_async_thread_func),
13822 (gst_element_set_state_async):
13824 add a "gst_element_set_state_async" method that
13825 sets the state and starts a thread to make sure the state
13826 change completes as best as it can
13828 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13830 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13831 codify design+behaviour in testsuite after discussion
13833 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13835 * docs/gst/tmpl/gstelement.sgml:
13836 * docs/manual/appendix-quotes.xml:
13838 * gst/gstelement.c: (gst_element_set_state):
13841 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13843 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13844 (gst_base_transform_prepare_output_buf),
13845 (gst_base_transform_handle_buffer):
13846 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13847 (gst_capsfilter_prepare_buf):
13848 Remove the requirement for sub-classes to call the parent
13849 implementation of prepare_output_buffer with a wrapper function.
13851 * gst/gsttaglist.h:
13852 * gst/gsttagsetter.h:
13853 Fix #define wrapper
13855 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13857 * docs/gst/gstreamer-sections.txt:
13860 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13862 * docs/gst/gstreamer-sections.txt:
13863 * docs/gst/tmpl/gstelement.sgml:
13864 * docs/gst/tmpl/gstplugin.sgml:
13865 * gst/gstminiobject.c:
13867 docs now stop throwing warnings
13869 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13871 * docs/gst/gstreamer-sections.txt:
13872 * docs/gst/gstreamer.types:
13873 * docs/gst/tmpl/gstpad.sgml:
13874 * docs/gst/tmpl/gsttypes.sgml:
13875 * gst/base/gstadapter.h:
13876 * gst/base/gstbasesink.h:
13877 * gst/base/gstbasesrc.h:
13883 * gst/gstelement.h:
13885 * gst/gstmessage.h:
13887 * gst/gststructure.c:
13888 * gst/registries/gstlibxmlregistry.h:
13889 various documentation fixes
13891 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13893 * docs/gst/gstreamer-sections.txt:
13894 * docs/gst/tmpl/gstvalue.sgml:
13895 rearrange gstvalue section
13896 * gst/gstutils.c: (gst_element_state_get_name):
13898 * gst/gstvalue.c: (_gst_value_initialize):
13902 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13904 * check/gst-libs/controller.c:
13905 Header include fix.
13906 * gst/base/gstbasetransform.c:
13907 (gst_base_transform_default_prepare_buf),
13908 (gst_base_transform_handle_buffer):
13909 * gst/base/gstbasetransform.h:
13910 Some more basetransform changes and fixes to enable sub-classes
13911 that modify buffer metadata only.
13912 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13913 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13914 (gst_capsfilter_prepare_buf):
13915 If the output pad has fixed allowed caps and input buffers
13916 don't have any, set the fixed caps on outgoing buffers.
13918 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13919 * check/elements/identity.c: (GST_START_TEST):
13920 Make the error a little clearer when the test fails because
13921 identity made a copy of the buffer.
13922 * docs/gst/gstreamer-sections.txt:
13923 New symbols in gstbasetransform.h
13924 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13925 (gst_base_transform_init), (gst_base_transform_transform_size),
13926 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13927 (gst_base_transform_default_prepare_buf),
13928 (gst_base_transform_get_unit_size),
13929 (gst_base_transform_buffer_alloc),
13930 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13931 (gst_base_transform_change_state),
13932 (gst_base_transform_set_passthrough),
13933 (gst_base_transform_set_in_place),
13934 (gst_base_transform_is_in_place):
13935 * gst/base/gstbasetransform.h:
13936 Change BaseTransform to separate in_place operate from same_caps
13937 output. in_place implies that the element can perform the transform
13938 on incoming buffers in-place, even if the caps on the output are
13940 Sub-class elements can now implement special buffer allocation
13941 methods for outgoing buffers if they wish to.
13942 Big documentation addition.
13943 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13944 * gst/elements/gstelements.c:
13945 Changes for basetransform modifications.
13946 * gst/elements/Makefile.am:
13947 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13948 Compile fix. Extra debug output.
13950 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13952 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13954 add tests for valid pad naming
13955 * gst/check/gstcheck.c: (gst_check_log_message_func),
13956 (gst_check_log_critical_func):
13958 remove printing of code, it is fragile when the code contains
13959 % and the line number is enough info
13960 * gst/check/gstcheck.h:
13961 * gst/gstpad.c: (gst_pad_template_new):
13964 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13967 say what CHECK flags we use
13968 * docs/libs/gstreamer-libs.types:
13969 * libs/gst/controller/Makefile.am:
13970 * libs/gst/controller/gst-controller.c:
13971 * libs/gst/controller/gst-controller.h:
13972 * libs/gst/controller/gst-helper.c:
13973 * libs/gst/controller/gst-interpolation.c:
13974 * libs/gst/controller/gstcontroller.c:
13975 * libs/gst/controller/gsthelper.c:
13976 * libs/gst/controller/gstinterpolation.c:
13977 * tools/gst-inspect.c: (print_plugin_info):
13978 we don't use dashes in header names
13980 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13982 * check/Makefile.am:
13983 * check/gst/.cvsignore:
13984 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13985 (gst_pipeline_suite), (main):
13986 adding a test for pipelines and state changes
13987 * gst/gstutils.c: (get_state_func):
13989 * gstreamer.spec.in:
13992 2005-09-08 Michael Smith <msmith@fluendo.com>
13994 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13995 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13996 (gst_file_src_is_seekable), (gst_file_src_get_size),
13997 (gst_file_src_start):
13998 * gst/elements/gstfilesrc.h:
13999 Various fixes for unseekable, unmmapable, and non-normal files, so
14000 that fallback to read() rather than mmap() works.
14001 * gst/gstevent.c: (gst_event_new_newsegment):
14002 Allow newsegment events with segment_start == segment_end, as will
14003 correctly happen if you use filesrc on a zero-size file, for
14006 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
14008 * gst/gstplugin.c: (gst_plugin_load_file):
14009 Call g_module_close when we don't load the module
14011 * gst/registries/gstlibxmlregistry.c:
14012 (gst_xml_registry_get_property):
14013 Port leak fix from 0.8
14015 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14017 * docs/gst/gstreamer-docs.sgml:
14018 * docs/gst/tmpl/.cvsignore:
14019 * docs/gst/tmpl/gsttrace.sgml:
14020 * docs/gst/tmpl/gsttrashstack.sgml:
14023 * gst/gstelement.h:
14025 * gst/gstmessage.c:
14026 * gst/gstmessage.h:
14029 * gst/gsttaginterface.c:
14030 * gst/gsttaginterface.h:
14031 * gst/gsttaglist.c:
14032 * gst/gsttaglist.h:
14033 * gst/gsttagsetter.c:
14034 * gst/gsttagsetter.h:
14037 * gst/gsttrashstack.c:
14038 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
14039 inlined docs for gsttrace, gsttrashstack
14041 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14044 * gst/elements/gstbufferstore.h:
14045 * gst/elements/gsttypefindelement.c:
14046 * gst/elements/gsttypefindelement.h:
14048 * gst/gsttypefind.c:
14049 * gst/gsttypefind.h:
14050 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
14051 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
14052 (gst_type_find_factory_dispose),
14053 (gst_type_find_factory_unload_thyself),
14054 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
14055 (gst_type_find_factory_get_caps),
14056 (gst_type_find_factory_get_extensions),
14057 (gst_type_find_factory_call_function):
14058 * gst/gsttypefindfactory.h:
14059 * gst/registries/gstlibxmlregistry.c:
14060 * gst/registries/gstxmlregistry.c:
14061 splitted gsttypefind into gsttypefind, gsttypefindfactory
14063 2005-09-07 Andy Wingo <wingo@pobox.com>
14065 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
14066 condition whereby the pad's task function is entered before the
14067 pad_mode variable was set.
14069 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
14071 * gst/gstpad.c: (gst_pad_alloc_buffer):
14072 Catch misbehaving pad_alloc functions that don't
14073 set up caps and do it for them.
14075 2005-09-07 Stefan Kost <ensonic@users.sf.net>
14077 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14078 test for pipe!=NULL
14079 * docs/gst/tmpl/.cvsignore:
14080 * docs/gst/tmpl/gstmemchunk.sgml:
14081 * docs/gst/tmpl/gstparse.sgml:
14082 * docs/gst/tmpl/gsttaglist.sgml:
14083 * docs/gst/tmpl/gsttagsetter.sgml:
14084 * docs/gst/tmpl/gsttypefind.sgml:
14085 * docs/gst/tmpl/gsttypefindfactory.sgml:
14086 * gst/gstmemchunk.c:
14089 * gst/gsttaginterface.c:
14090 * gst/gsttypefind.c:
14091 * gst/gsttypefind.h:
14094 === release 0.9.2 ===
14096 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
14101 releasing 0.9.2, "South"
14103 2005-09-05 Andy Wingo <wingo@pobox.com>
14105 * gst/registries/gstxmlregistry.h:
14106 * gst/registries/gstxmlregistry.c: Um... resurrect...
14108 * gst/registries/gstxmlregistry.h:
14109 * gst/registries/gstxmlregistry.c: and update to newer API.
14110 Incidentally they should be a bit faster now that they don't have
14113 2005-09-05 Andy Wingo <wingo@pobox.com>
14115 * gst/registries/gstxmlregistry.h:
14116 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
14117 replaced by the libxml registry a while back
14119 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14121 * docs/gst/tmpl/gstplugin.sgml:
14122 * gst/elements/gstelements.c:
14124 * gst/gstplugin.c: (gst_plugin_register_func),
14125 (gst_plugin_desc_copy), (gst_plugin_desc_free),
14126 (gst_plugin_get_source):
14128 * gst/registries/gstlibxmlregistry.c: (load_plugin),
14129 (gst_xml_registry_save_plugin):
14130 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
14131 (gst_xml_registry_save_plugin):
14132 * tools/gst-inspect.c: (print_plugin_info):
14133 add a "source" plugin description field, to represent the source
14134 module this plugin is a part of. By default GST_PLUGIN_DEFINE
14135 will set it to PACKAGE, which is automake's idea of the name of
14136 the source project.
14138 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14143 * docs/Makefile.am:
14144 * docs/faq/Makefile.am:
14145 * docs/gst/tmpl/gstelement.sgml:
14146 * docs/gst/tmpl/gsttypes.sgml:
14147 * docs/htmlinstall.mak:
14148 * docs/manual/Makefile.am:
14149 * docs/pwg/Makefile.am:
14150 reorganize doc build a little
14151 split out docbook and gtk-doc stuff
14152 have two separate --enable's and enable them through autogen
14153 but disable by default in configure (to be similar to other
14155 * gstreamer.spec.in:
14156 clean up docs install
14174 translation updates
14176 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
14178 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14181 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14182 (gst_fake_sink_change_state):
14183 Make state change function thread-safe.
14185 * gst/gstpad.c: (gst_pad_alloc_buffer):
14186 Set offset on generic buffer allocated by fallback.
14188 2005-09-03 Stefan Kost <ensonic@users.sf.net>
14190 * docs/gst/gstreamer-sections.txt:
14191 * docs/gst/tmpl/gstelement.sgml:
14193 * libs/gst/controller/gst-controller.c:
14194 (gst_controlled_property_set_interpolation_mode),
14195 (gst_controlled_property_new),
14196 (gst_controller_find_controlled_property):
14197 run the wingo-magic script against the docs
14199 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14201 * docs/gst/gstreamer-docs.sgml:
14202 * docs/gst/gstreamer-sections.txt:
14203 * docs/gst/tmpl/.cvsignore:
14204 * docs/gst/tmpl/gstelementdetails.sgml:
14205 * docs/gst/tmpl/gstelementfactory.sgml:
14208 * gst/gstelementfactory.c:
14209 * gst/gstelementfactory.h:
14210 merged elementdetails docs into elementfactory docs
14213 2005-09-02 Andy Wingo <wingo@pobox.com>
14215 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14216 consider this enum an enum and not a flags.
14218 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14220 * docs/gst/gstreamer-docs.sgml:
14221 * docs/gst/tmpl/.cvsignore:
14222 * docs/gst/tmpl/gstghostpad.sgml:
14223 * docs/gst/tmpl/gstiterator.sgml:
14224 * docs/gst/tmpl/gstmacros.sgml:
14225 * docs/gst/tmpl/gstrealpad.sgml:
14226 * docs/gst/tmpl/gstregistry.sgml:
14227 * docs/gst/tmpl/gstregistrypool.sgml:
14228 * docs/gst/tmpl/gststructure.sgml:
14229 * docs/gst/tmpl/gstsystemclock.sgml:
14230 * docs/gst/tmpl/gsttrace.sgml:
14231 * gst/gstghostpad.c:
14233 * gst/gstmemchunk.c:
14234 * gst/gstmemchunk.h:
14236 * gst/gstregistry.c:
14237 * gst/gstregistrypool.c:
14238 * gst/gststructure.c:
14239 * gst/gstsystemclock.c:
14242 2005-09-02 Andy Wingo <wingo@pobox.com>
14244 * gst/gstelement.h (GstState): Renamed from GstElementState,
14245 changed to be a normal enum instead of flags.
14246 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14247 munged to be GST_STATE_CHANGE_*.
14248 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14249 work with the new state representation.
14250 (GstStateChange): New enumeration of possible state transitions.
14251 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14252 (GstElementClass::change_state): Pass the GstStateChange along as
14253 an argument. Helps language bindings, so they don't have to use
14254 tricky lock-needing macros like GST_STATE_CHANGE ().
14256 * scripts/update-states (file): New script. Run it on a file to
14257 update it for state naming and API changes. Updates files in
14260 * All files updated for the new API.
14262 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
14264 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14265 * gst/gstutils.c: (gst_util_set_value_from_string),
14266 (gst_util_set_object_arg):
14267 fix a bunch of unchecked return values
14268 * tools/gst-complete.c: (main):
14269 * gstreamer.spec.in:
14272 2005-09-01 Wim Taymans <wim@fluendo.com>
14274 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14275 (gst_base_sink_event), (gst_base_sink_do_sync),
14276 (gst_base_sink_handle_event):
14277 * gst/base/gstbasesink.h:
14278 Handle newsegments more correctly.
14283 * gst/gstevent.c: (gst_event_new_newsegment):
14284 A newsegment cannot have a start_time of -1
14286 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
14288 * win32/gstenumtypes.c:
14289 * win32/gstenumtypes.h:
14292 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14294 * libs/gst/controller/gst-controller.c:
14295 (gst_controlled_property_set_interpolation_mode),
14296 (gst_controlled_property_new):
14297 fixed boolean again
14299 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
14301 * docs/faq/gst-uninstalled:
14306 * gst/gstutils.c: (gst_element_link_filtered):
14308 add gst_element_link_filtered
14310 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14312 * docs/gst/gstreamer-docs.sgml:
14313 * docs/gst/gstreamer-sections.txt:
14314 * docs/gst/tmpl/.cvsignore:
14315 * docs/gst/tmpl/gsterror.sgml:
14316 * docs/gst/tmpl/gstfilter.sgml:
14317 * docs/gst/tmpl/gsturihandler.sgml:
14318 * docs/gst/tmpl/gsturitype.sgml:
14319 * docs/gst/tmpl/gstutils.sgml:
14320 * docs/gst/tmpl/gstxml.sgml:
14325 * gst/gsturitype.c:
14328 inlined more docs, fixed double id-ref
14330 2005-08-31 Wim Taymans <wim@fluendo.com>
14332 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14333 (gst_base_transform_handle_buffer):
14334 Passthrough elements don't need the caps as they don't care.
14336 2005-08-31 Wim Taymans <wim@fluendo.com>
14338 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14339 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14340 Don't leak refcounts on buffers.
14342 2005-08-31 Wim Taymans <wim@fluendo.com>
14344 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14345 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14346 (gst_base_transform_chain), (gst_base_transform_change_state):
14347 * gst/base/gstbasetransform.h:
14348 Handle the case where we are not negotiated more gracefully.
14350 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
14352 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14353 (gst_file_src_map_region):
14354 Set READONLY flag on mmap'ed buffers, otherwise
14355 gst_buffer_make_writable() won't work properly (#314708).
14357 2005-08-31 Wim Taymans <wim@fluendo.com>
14359 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14360 passthrough elements can even do inplace on non writable
14361 buffers (as they don't touch them).
14363 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14365 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14366 (gst_test_mono_source_set_property),
14367 (gst_test_mono_source_class_init), (GST_START_TEST),
14368 (gst_controller_suite):
14369 more tests (hehe I have the most)
14371 describe popping messages whenusing mulltiple sources
14372 * libs/gst/controller/gst-controller.c:
14373 (gst_controlled_property_set_interpolation_mode),
14374 (gst_controlled_property_new):
14375 * libs/gst/controller/gst-controller.h:
14376 * libs/gst/controller/gst-interpolation.c:
14377 implement boolean properties
14379 2005-08-31 Wim Taymans <wim@fluendo.com>
14381 * gst/gstminiobject.c: (gst_mini_object_ref):
14382 Cannot assert that the refcount has to be positive
14383 since a disposed object can be resurrected.
14385 2005-08-31 Wim Taymans <wim@fluendo.com>
14387 * gst/gstpad.c: (gst_pad_init):
14388 Revert change, need to first fix badly behaving
14391 2005-08-30 Wim Taymans <wim@fluendo.com>
14393 * check/elements/fakesrc.c: (setup_fakesrc):
14394 * check/elements/identity.c: (setup_identity):
14395 Activate pads before using them.
14397 2005-08-30 Wim Taymans <wim@fluendo.com>
14399 * gst/base/gstadapter.c: (gst_adapter_flush):
14400 Flushing out 0 bytes is ok for this function.
14402 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14403 no newsegment gives a warning and sets the start/stop to
14406 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14407 (gst_base_transform_set_passthrough):
14410 * gst/gstminiobject.c: (gst_mini_object_ref):
14411 Check refcount here too.
14413 * gst/gstpad.c: (gst_pad_init):
14414 Pads are initially flushing and refusing data.
14416 * gst/gstutils.c: (gst_element_link_pads_filtered):
14417 When adding a capsfilter element make sure it has the
14418 same state as the parent bin.
14420 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14422 * docs/gst/tmpl/.cvsignore:
14423 * docs/gst/tmpl/gstformat.sgml:
14424 * docs/gst/tmpl/gstversion.sgml:
14428 * gst/gstversion.h.in:
14429 more docs and two more inlined
14431 2005-08-30 Wim Taymans <wim@fluendo.com>
14433 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14434 Don't sync to clock.
14436 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14438 * docs/gst/gstreamer-sections.txt:
14439 ultral33t func10ns deserve to appear in the docs actually
14440 * docs/gst/tmpl/.cvsignore:
14441 * docs/gst/tmpl/gstcompat.sgml:
14442 * docs/gst/tmpl/gstconfig.sgml:
14443 * gst/check/gstcheck.c:
14445 * gst/gstconfig.h.in:
14448 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14450 * docs/gst/tmpl/.cvsignore:
14451 * docs/gst/tmpl/gstquery.sgml:
14452 * docs/gst/tmpl/gstutils.sgml:
14455 inlined and extended docs
14457 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14459 * check/gst-libs/controller.c: (GST_START_TEST),
14460 (gst_controller_suite):
14462 * docs/gst/tmpl/gstutils.sgml:
14463 * docs/libs/gstreamer-libs-sections.txt:
14464 * docs/libs/tmpl/gstdataprotocol.sgml:
14466 * examples/controller/audio-example.c: (main):
14467 controller example works now
14470 * tools/gst-inspect.c: (print_element_properties_info):
14471 show param spec flags
14473 2005-08-29 Andy Wingo <wingo@pobox.com>
14475 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14477 2005-08-28 Andy Wingo <wingo@pobox.com>
14479 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14480 as having two arguments instead of just one. Allows superclasses
14481 to access information on subclasses -- see the terrible for() loop
14482 in gtype.c:g_type_create_instance for the reason why. All callers
14485 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14487 * docs/design/part-messages.txt:
14489 * docs/gst/tmpl/.cvsignore:
14490 * docs/gst/tmpl/gstcaps.sgml:
14491 * docs/gst/tmpl/gstclock.sgml:
14497 * gst/gstmessage.c:
14498 added descriptions for bus and message
14499 inline caps and clock docs
14501 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14503 * gst/gstmessage.c:
14504 * gst/gstmessage.h:
14507 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14509 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14512 2005-08-26 Andy Wingo <wingo@pobox.com>
14514 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14515 element_set_state's return val.
14516 (test_2_elements): Add test that's been disabled for months.
14518 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14519 can-activate-pull properties.
14521 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14522 can-activate-pull properties. Implement is_seekable so fakesrc can
14523 operate in pull mode.
14525 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14527 (gst_base_sink_activate, gst_base_sink_activate_pull)
14528 (gst_base_sink_activate_push): Make activation mode choosing work.
14530 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14531 is right. Make pull mode work. Post an eos before pausing in pull
14533 (gst_base_sink_change_state): Pay attention to the core's
14534 change_state() return val.
14536 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14537 has-getrange properties. Cleanups.
14539 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14540 has_getrange and replace with can_activate_pull and
14543 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14544 locking comments. Remove has_loop, has_chain and replace with
14545 can_activate_pull and can_activate_push.
14547 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14550 * examples/Makefile.am:
14551 * examples/metadata/Makefile.am:
14552 * examples/metadata/read-metadata.c: (message_loop),
14553 (have_pad_handler), (make_pipeline), (print_tag), (main):
14554 Add metadata reading example that loops over a list of filenames,
14555 dumping any tags found.
14557 * gst/gstbus.c: (gst_bus_dispose):
14558 * gst/gstelement.c: (gst_element_dispose):
14559 Release a few potentially-held references in dispose.
14561 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14563 * docs/gst/tmpl/gstminiobject.sgml:
14564 do *not* add tmpl/*.sgml files to CVS!
14566 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14568 * libs/gst/bytestream/.cvsignore:
14569 * libs/gst/bytestream/Makefile.am:
14570 * libs/gst/bytestream/adapter.c:
14571 * libs/gst/bytestream/adapter.h:
14572 * libs/gst/bytestream/bytestream.c:
14573 * libs/gst/bytestream/bytestream.h:
14574 * libs/gst/bytestream/filepad.c:
14575 * libs/gst/bytestream/filepad.h:
14576 removing obsolete files
14578 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14580 * docs/gst/gstreamer-docs.sgml:
14581 * docs/libs/gstreamer-libs-docs.sgml:
14582 disabed additional index entries again, as this makes docs-gen just
14583 slow and they aren't useful yet
14584 * docs/libs/gstreamer-libs-sections.txt:
14585 little -section.txt cleanup for libs
14587 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14590 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14591 fix up some debugging
14592 (gst_base_transform_get_unit_size),
14593 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14594 (gst_base_transform_handle_buffer):
14595 * gst/base/gstbasetransform.h:
14596 handle and store timed NEWSEGMENT events so that subclasses that
14597 calculate time by counting samples have a segment_start time they
14598 need to add to their timestamps - see audioresample
14600 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14603 removed ';' from the end of macro defs
14604 * docs/gst/gstreamer-docs.sgml:
14605 * docs/gst/gstreamer-sections.txt:
14606 * docs/gst/tmpl/.cvsignore:
14608 * gst/gstelement.c: (gst_element_class_init),
14609 (gst_element_set_state), (activate_pads),
14610 (gst_element_save_thyself):
14611 * gst/gstevent.c: (gst_event_new_newsegment):
14613 * gst/gstiterator.c:
14614 * gst/gstiterator.h:
14617 * gst/gstutils.c: (gst_pad_query_convert):
14619 fixed parameter name mismatches between source, header and docs
14620 added some more docs, resolved the last batch of unused elements in
14621 docs (now someone needs to doc them)
14623 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14625 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14626 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14627 don't walk through the plugins backwards. Where is all this
14628 reversed logic coming from ?
14630 2005-08-25 Wim Taymans <wim@fluendo.com>
14632 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14633 (gst_base_transform_transform_size),
14634 (gst_base_transform_configure_caps),
14635 (gst_base_transform_get_unit_size),
14636 (gst_base_transform_buffer_alloc),
14637 (gst_base_transform_change_state):
14638 * gst/base/gstbasetransform.h:
14639 Cache caps unit_size.
14640 Make sure we cannot negotiate up and downstream at the
14643 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14645 * gst/gst.c: (init_pre), (init_post):
14646 register the installed plugin path after the env var
14647 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14648 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14649 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14650 directories, so the tests can prefer uninstalled over installed
14652 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14654 * gst/base/gstbasetransform.h:
14659 2005-08-25 Wim Taymans <wim@fluendo.com>
14661 * gst/gstbin.c: (bin_bus_handler):
14662 Be a bit more conservative about the posted message.
14664 * gst/gstbus.c: (gst_bus_post):
14665 Some cleanups, warn wrong return values.
14667 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14669 * check/gst/gstbin.c: (GST_START_TEST):
14670 * gst/gstbin.c: (bin_bus_handler):
14671 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14672 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14673 (gst_message_new_warning), (gst_message_new_tag),
14674 (gst_message_new_state_changed), (gst_message_new_segment_start),
14675 (gst_message_new_segment_done), (gst_message_new_custom):
14676 * gst/gstmessage.h:
14677 * tools/gst-launch.c: (event_loop):
14678 * tools/gst-md5sum.c: (event_loop):
14679 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14681 2005-08-25 Wim Taymans <wim@fluendo.com>
14683 * check/generic/states.c: (GST_START_TEST):
14684 Cleanup can be done at the end.
14686 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14687 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14688 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14689 Oh boy.. Thanks for finding this, Thomas.
14691 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14693 * docs/gst/gstreamer.types:
14694 added missing types
14696 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14698 * docs/gst/gstreamer-docs.sgml:
14699 * docs/gst/gstreamer-sections.txt:
14700 * docs/gst/tmpl/.cvsignore:
14702 * gst/gstiterator.c:
14704 * gst/registries/gstxmlregistry.h:
14705 added missing classes and symbols (123 more to go)
14706 removed removed symbols from section file
14707 fixed many doc-comments
14709 2005-08-24 Wim Taymans <wim@fluendo.com>
14711 * check/generic/states.c: (GST_START_TEST):
14712 Make sure all tasks are stopped.
14714 * check/gst/gstbin.c: (GST_START_TEST):
14715 Unref after usage for proper valgrinding.
14717 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14718 Really wait for the task to stop before destroying the
14721 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14722 (gst_queue_src_activate_push):
14723 Small cleanups. Don't stop the task when we did not start
14726 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14727 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14728 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14731 Protect the stream lock with the object lock.
14732 Disallow setting the stream lock when running.
14733 Add cleanup_all to wait for the threadpool to finish.
14734 Remove code to autoallocate a mutex if none was provided.
14735 Add _join() to wait for a task to stop.
14736 Protect the thread pool with a global lock.
14738 2005-08-24 Wim Taymans <wim@fluendo.com>
14740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14741 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14742 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14743 * gst/base/gstbasesink.h:
14744 Handle newsegment events correctly.
14745 Drop buffers out of the segment range.
14747 2005-08-22 Andy Wingo <wingo@pobox.com>
14749 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14750 macro, implements an interface and gstimplementsinterface for a
14753 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14755 * check/Makefile.am:
14756 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14757 add a test that does a bunch of state changes on elements
14758 needs some fixing for valgrind
14759 * check/states/sinks.c: (gst_object_suite):
14762 add prototype for gst_caps_is_equal_fixed
14764 * gst/gstregistrypool.c:
14767 2005-08-24 Andy Wingo <wingo@pobox.com>
14769 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14770 convert a negative value. Doesn't make much sense. Mostly this is
14771 here to force callers to ensure -1 maps to -1.
14773 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14775 * docs/pwg/advanced-types.xml:
14776 Well done to Michael for catching my deliberate introduction
14777 of this spelling mistake.
14778 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14779 * gst/gstelement.h:
14780 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14781 unlink pads before removing the element from the bin.
14783 2005-08-24 Andy Wingo <wingo@pobox.com>
14785 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14786 the same thing as GST_DEBUG=*:4.
14787 (parse_debug_level, parse_debug_category): New helper parsers.
14789 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14791 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14792 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14793 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14794 (gst_base_transform_buffer_alloc),
14795 (gst_base_transform_handle_buffer):
14796 use gboolean return values and pointers to size so we can use the
14797 full GST_BUFFER_SIZE range (guint) for buffer sizes
14798 use GstPadDirection for transform_caps
14799 * gst/base/gstbasetransform.h:
14800 rename get_size to get_unit_size since that's what it is
14801 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14802 use GstPadDirection for transform_caps
14803 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14805 cleanup and debugging
14807 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14809 * gst/gstelement.c: (gst_element_class_init),
14810 (gst_element_set_state), (activate_pads),
14811 (gst_element_save_thyself):
14812 * tools/gst-compprep.c: (main):
14813 * tools/gst-inspect.c: (print_element_properties_info):
14814 * tools/gst-xmlinspect.c: (print_element_properties):
14815 Fixed long standing mem-leak
14817 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14819 * check/gst/gstbin.c: (GST_START_TEST):
14820 * gst/gstbin.c: (bin_bus_handler):
14821 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14822 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14823 (gst_message_new_warning), (gst_message_new_tag),
14824 (gst_message_new_state_changed), (gst_message_new_segment_start),
14825 (gst_message_new_segment_done), (gst_message_new_custom):
14826 * gst/gstmessage.h:
14827 * tools/gst-launch.c: (event_loop):
14828 * tools/gst-md5sum.c: (event_loop):
14829 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14830 that applications can sensibly post custom messages with references
14831 to their own objects.
14833 2005-08-24 Andy Wingo <wingo@pobox.com>
14835 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14838 2005-08-24 Wim Taymans <wim@fluendo.com>
14840 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14841 (gst_base_transform_transform_caps),
14842 (gst_base_transform_transform_size),
14843 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14844 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14845 (gst_base_transform_handle_buffer):
14846 * gst/base/gstbasetransform.h:
14847 Many fixes and new features added by Thomas. Can now also do
14848 transforms with variable sizes and a custom fixate_caps function.
14850 2005-08-24 Wim Taymans <wim@fluendo.com>
14852 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14856 Cast to ClockTime before formatting to time.
14861 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14863 * check/gst-libs/controller.c: (GST_START_TEST),
14864 (gst_controller_suite):
14865 * docs/gst/tmpl/gstcaps.sgml:
14866 * docs/gst/tmpl/gstghostpad.sgml:
14867 * docs/gst/tmpl/gstquery.sgml:
14868 * docs/gst/tmpl/gstutils.sgml:
14869 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14870 (gst_object_sink_values), (gst_object_get_value_arrays),
14871 (gst_object_get_value_array):
14872 gracefully handle helper method calls to objects that are not beeing
14873 controlled, added test case for that
14875 2005-08-23 Wim Taymans <wim@fluendo.com>
14877 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14878 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14879 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14880 (gst_event_parse_qos), (gst_event_new_seek),
14881 (gst_event_parse_seek):
14883 Some more debugging output and doc cleanups.
14885 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14886 Fix possible deadlock.
14888 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14890 * docs/gst/gstreamer-docs.sgml:
14891 * docs/gst/gstreamer-sections.txt:
14892 * docs/gst/gstreamer.types:
14893 * docs/gst/tmpl/.cvsignore:
14896 * gst/gstelement.c:
14898 added 100 symbols from gstreamer-unused.txt to the right sections
14899 fixed more broken comments
14900 added GstBus to docs
14902 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14904 * docs/gst/gstreamer-sections.txt:
14905 * docs/gst/tmpl/.cvsignore:
14906 * docs/gst/tmpl/gstbin.sgml:
14907 * docs/gst/tmpl/gstbuffer.sgml:
14908 * gst/base/gstbasesrc.c:
14909 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14912 * tools/gst-launch.1.in:
14913 inlined more doc comments, added missing comments and fixed comments
14916 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14918 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14922 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14924 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14925 * gst/gststructure.h:
14926 add a fixate function for booleans; add a FIXME that these func
14927 names should probably be gst_structure_fixate_*
14929 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14931 * docs/gst/gstreamer-docs.sgml:
14932 * docs/gst/gstreamer-sections.txt:
14934 * gst/gstbin.c: (gst_bin_get_type),
14935 (gst_bin_child_proxy_get_child_by_index),
14936 (gst_bin_child_proxy_get_children_count),
14937 (gst_bin_child_proxy_init):
14938 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14939 (gst_child_proxy_get_child_by_index),
14940 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14941 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14942 (gst_child_proxy_get), (gst_child_proxy_set_property),
14943 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14944 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14945 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14946 * gst/gstchildproxy.h:
14947 * gst/parse/grammar.y:
14948 * tools/gst-inspect.c: (print_interfaces),
14949 (print_element_properties_info), (print_element_info):
14950 ported gstchildproxy over from 0.8
14951 ported gst-inspect fixes and enhancements over from 0.8
14953 2005-08-22 Wim Taymans <wim@fluendo.com>
14955 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14956 (gst_base_transform_handle_buffer):
14957 Also call the transform function if we have ANY caps.
14959 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14962 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14964 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14965 Don't pretend to handle seek events if the source is not seekable
14967 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14969 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14970 Remove extra parameter to debug output
14972 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14973 (gst_base_src_do_seek), (gst_base_src_activate_push):
14974 Fix seek event handling.
14976 * gst/gstpipeline.c: (gst_pipeline_change_state):
14977 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14978 (gst_queue_src_activate_push):
14979 Don't start the src pad task on FLUSH_STOP if the pad
14983 2005-08-22 Wim Taymans <wim@fluendo.com>
14985 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14986 Added check for gst_static_caps_get() refcounting.
14988 2005-08-22 Wim Taymans <wim@fluendo.com>
14990 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14991 Make _static_caps_get() refcounting sane.
14993 * gst/gstelement.c: (gst_element_set_state):
14994 Add g_return_val_if_fail() to protect against segfaults.
14996 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14998 * docs/gst/tmpl/gstevent.sgml:
15001 inlined remaining docs, added missing doc comments
15003 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
15005 * check/gst/gstbin.c: (GST_START_TEST):
15006 since we don't know when preroll is done, use refcount range
15008 * gst/check/gstcheck.h:
15009 add macro for checking refcount range
15011 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
15013 * check/Makefile.am:
15014 clean up environment for when registry gets built versus
15015 when actual tests are run; valgrind seems to not report
15016 leaks if GST_PLUGIN_PATH is set to some specific values
15017 * check/gst/gstbin.c: (GST_START_TEST):
15018 add more refcounting checks; maybe this exposes a
15020 * common/check.mak:
15021 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15022 * gst/check/gstcheck.h:
15023 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
15024 (gst_bin_change_state):
15025 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
15026 add/fix debugging/whitespace
15028 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
15030 * check/gst/gstevent.c: (event_probe), (test_event),
15032 Er, don't call gst_bin_watch_for_state_change you idiot.
15034 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
15036 * check/Makefile.am:
15037 Use CHECK_CFLAGS and CHECK_LIBS
15038 * check/gst/gstevent.c: (event_probe), (test_event),
15041 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15042 (gst_base_src_start), (gst_base_src_stop),
15043 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15044 (gst_base_src_change_state):
15045 Sprinkle gst_base_src_stop liberally around error paths to fix
15046 problems reusing a source after failed state changes.
15047 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15048 (helper_find_suggest), (gst_type_find_helper):
15049 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
15051 * docs/gst/tmpl/gstevent.sgml:
15052 Migrate part of the docs from the SGML file. Wait for ensonic to
15053 tell me how I did it wrong ;)
15054 * tools/gst-typefind.c: (main):
15055 Extra robustness to state changes between files.
15057 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
15059 * check/Makefile.am:
15060 don't valgrind the controller test - it's leaking - Stefan, HELP
15061 * gst/check/gstcheck.c: (gst_check_message_error),
15062 (gst_check_chain_func), (gst_check_setup_element),
15063 (gst_check_teardown_element), (gst_check_setup_src_pad),
15064 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
15065 (gst_check_teardown_sink_pad):
15066 * gst/check/gstcheck.h:
15067 add a bunch of methods to set up elements, and src and sink pads
15068 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
15069 * check/elements/identity.c: (setup_identity), (cleanup_identity),
15072 * gst/gstmessage.c:
15074 whitespace/doc fixes
15076 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15078 * gst/gstelement.h:
15079 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
15080 be handled by the application and not always printed as well
15082 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15084 * check/Makefile.am:
15086 * gst/check/gstcheck.c: (gst_check_message_error):
15087 * gst/check/gstcheck.h:
15088 add a fail_unless_equals_int
15089 add fail_unless for error messages
15091 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15093 * check/Makefile.am:
15095 * common/Makefile.am:
15096 * common/check.mak:
15098 factor out some of the common stuff so we can use it
15100 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15102 * check/Makefile.am:
15103 * check/gst/gstiterator.c: (GST_START_TEST):
15104 * check/gst/gstsystemclock.c: (GST_START_TEST),
15105 (gst_systemclock_suite):
15106 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15108 valgrind more tests
15110 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
15112 * check/elements/.cvsignore:
15113 * check/elements/gstfakesrc.c:
15114 rename to name of element
15115 * check/elements/identity.c: (chain_func), (event_func),
15116 (setup_identity), (cleanup_identity), (GST_START_TEST),
15117 (identity_suite), (main):
15118 add a test for identity
15119 * check/Makefile.am:
15120 * pkgconfig/Makefile.am:
15121 * pkgconfig/gstreamer-check.pc.in:
15122 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15126 move the check stuff to a library that gets installed
15127 * check/gst-libs/controller.c: (GST_START_TEST):
15128 * check/gst-libs/gdp.c:
15129 * check/gst/gst.c: (GST_START_TEST):
15130 * check/gst/gstbin.c:
15131 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15132 * check/gst/gstbus.c:
15133 * check/gst/gstcaps.c: (GST_START_TEST):
15134 * check/gst/gstelement.c:
15135 * check/gst/gstghostpad.c:
15136 * check/gst/gstiterator.c:
15137 * check/gst/gstmessage.c:
15138 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
15139 * check/gst/gstobject.c:
15140 * check/gst/gstpad.c: (GST_START_TEST):
15141 * check/gst/gststructure.c: (GST_START_TEST):
15142 * check/gst/gstsystemclock.c: (GST_START_TEST),
15143 (gst_systemclock_suite):
15144 * check/gst/gsttag.c: (gst_tag_suite):
15145 * check/gst/gstvalue.c:
15146 * check/pipelines/cleanup.c:
15147 * check/pipelines/simple_launch_lines.c:
15148 * check/states/sinks.c:
15149 change include statement
15151 * docs/gst/gstreamer-sections.txt:
15152 * docs/gst/tmpl/gstpad.sgml:
15153 document more pad stuff
15154 * gst/gstminiobject.c: (gst_mini_object_ref),
15155 (gst_mini_object_unref):
15158 2005-08-19 Stefan Kost <ensonic@users.sf.net>
15160 * docs/gst/tmpl/gst.sgml:
15162 eliminate another tmpl file, fix spelling in the long-description
15164 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15166 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15167 (test_event), (timediff), (gstevents_suite):
15168 Should fix build on 64-bit arch's
15170 2005-08-18 Andy Wingo <wingo@pobox.com>
15172 Make sure that when a pipeline goes to PLAYING, that data has
15173 actually hit the sink.
15175 * check/states/sinks.c (test_sink): A sink that doesn't get any
15176 data shouldn't return SUCCESS for going to either PLAYING or
15177 PAUSED. Test also the return values on the way back down.
15179 * gst/gstelement.c (gst_element_set_state): When changing the
15180 state of an element currently changing state asynchronously, go to
15181 lost-state after commiting the pending state. Makes future calls
15182 to get_state continue to return ASYNC.
15184 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15185 ASYNC when going to PLAYING if we still don't have preroll, as can
15186 happen with live sources.
15188 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15190 * docs/pwg/advanced-types.xml:
15191 Hack long paragraph into 2 chunks as a workaround for buggy
15192 jadetex version in sid and breezy that loops infinitely and
15195 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15197 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15198 (test_event), (timediff), (gstevents_suite):
15199 Provide more error margin in clock measurements to allow for
15200 g_get_current_time inaccuracies.
15202 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15204 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15205 (test_event), (timediff), (gstevents_suite):
15206 Fix error message output so I might be able to tell why the
15207 test works here but fails on the build farm.
15209 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15211 * check/Makefile.am:
15212 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15213 (test_event), (timediff), (gstevents_suite), (main):
15216 * docs/design/part-seeking.txt:
15217 Spelling correction
15219 * docs/gst/tmpl/gstevent.sgml:
15220 * docs/gst/tmpl/gstfakesrc.sgml:
15223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15224 Treat a buffer-without-newsegment the same as a receiving
15225 a newsegment not in time format, and disable syncing to the clock
15228 * gst/gstbus.c: (gst_bus_set_sync_handler):
15229 Assert if anyone tries to replace the existing sync_handler for bus,
15230 as only the owner should be setting it.
15233 Have a fixed set of custom event enums with events identified by
15234 their structure name (as in 0.8), rather than a free-for-all
15235 allowing collisions between enum values from different plugins.
15237 * gst/gstpad.c: (gst_pad_class_init):
15240 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15241 Handle out-of-band downstream events from the sending thread.
15243 2005-08-17 Andy Wingo <wingo@pobox.com>
15245 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15246 play-timeout==0 to mean no timeout at all. In that case, don't
15247 bother with a get_state or a warning, just return directly, even
15250 * gst/base/gstbasetransform.c: Debug changes.
15253 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15254 ensure bins post state change messages. A bit of a hack but I can't
15255 think of a way to avoid it.
15257 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15259 2005-08-16 Andy Wingo <wingo@pobox.com>
15261 * gst/base/gstadapter.h:
15262 * gst/base/gstadapter.c (gst_adapter_take): New function, like
15263 peek() but you own the data. Not terribly efficient atm.
15265 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15267 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15268 (gst_element_found_tags):
15270 Add two utility functions for tag handling.
15272 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15274 * docs/manual/advanced-dataaccess.xml:
15275 * docs/manual/basics-helloworld.xml:
15276 Fix docs to use _bin_add() before _link(), which fixes the examples
15277 with recent core versions (reported by Madhan Raj M
15278 <raj_madan@rediffmail.com>, #313199).
15280 2005-08-16 Wim Taymans <wim@fluendo.com>
15282 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15283 Added subtract checks.
15285 * docs/design/part-events.txt:
15286 Some more docs about newsegment
15288 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15291 * gst/gstcaps.c: (gst_caps_to_string):
15292 Add comments, cleanups.
15294 * gst/gstelement.c: (gst_element_save_thyself):
15297 * gst/gstvalue.c: (gst_value_collect_int_range),
15298 (gst_string_unwrap), (gst_value_union_int_int_range),
15299 (gst_value_union_int_range_int_range),
15300 (gst_value_intersect_int_int_range),
15301 (gst_value_intersect_int_range_int_range),
15302 (gst_value_intersect_double_double_range),
15303 (gst_value_intersect_double_range_double_range),
15304 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15305 (gst_value_subtract_int_range_int),
15306 (gst_value_subtract_double_range_double),
15307 (gst_value_subtract_double_range_double_range),
15308 (gst_value_subtract_from_list), (gst_value_subtract_list),
15309 (gst_value_can_compare), (gst_value_compare_fraction):
15310 Cleanups, add comments, remove unneeded asserts.
15312 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15314 * tools/gst-launch.c: (event_loop):
15315 don't convert NULL structures to strings
15317 2005-08-15 Stefan Kost <ensonic@users.sf.net>
15319 * docs/gst/gstreamer-sections.txt:
15320 made some defines private
15321 * docs/gst/tmpl/gstconfig.sgml:
15322 * docs/gst/tmpl/gstqueue.sgml:
15323 * docs/gst/tmpl/gsttaglist.sgml:
15324 * docs/gst/tmpl/gsttypes.sgml:
15325 * docs/gst/tmpl/gstutils.sgml:
15326 * docs/pwg/appendix-porting.xml:
15327 * gst/base/gstbasesink.h:
15328 * gst/base/gstbasesrc.c:
15329 * gst/base/gstbasesrc.h:
15330 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15331 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15332 * gst/gstelement.c: (gst_element_class_init):
15333 * gst/gstpad.c: (gst_pad_class_init):
15334 * gst/gstqueue.c: (gst_queue_class_init):
15335 * gst/gstxml.c: (gst_xml_class_init):
15336 documented all undocumented signal inline
15337 * libs/gst/controller/gst-controller.h:
15340 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15342 * docs/pwg/appendix-porting.xml:
15343 Document _set_link_function -> _set_setcaps_function.
15345 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15347 * check/Makefile.am:
15348 add a .check target for running the check
15349 * check/gst-libs/controller.c: (GST_START_TEST):
15351 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15352 complete checks for gstbuffer; would be nice if I could get the
15353 gcov stuff to work so I can see if I actually completed gstbuffer.c
15354 * check/gstcheck.h:
15355 add ASSERT_BUFFER_REFCOUNT
15357 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
15359 * docs/gst/gstreamer-sections.txt:
15360 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15362 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15363 spew out a warning if a tag that is already registered
15364 is re-registered, unless it is re-registered with a
15365 different type (#308438).
15367 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
15369 * docs/pwg/appendix-porting.xml:
15370 * docs/pwg/building-state.xml:
15371 Add some paragraphs about state changes in 0.9 to the PWG
15372 and the porting guide, in particular about the new meaning
15373 of GST_STATE_PAUSED and how to write state change functions
15374 with concurrent access by multiple threads in mind.
15376 2005-08-11 Stefan Kost <ensonic@users.sf.net>
15378 * docs/gst/gstreamer-docs.sgml:
15379 * docs/libs/gstreamer-libs-docs.sgml:
15380 added deprecation and since indexes
15381 * libs/gst/controller/gst-controller.c:
15382 * libs/gst/controller/gst-helper.c:
15386 2005-08-11 Wim Taymans <wim@fluendo.com>
15388 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15389 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15390 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15391 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15392 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15393 (gst_ghost_pad_set_target):
15394 Actually implement (re)setting the target on a ghostpad
15395 as described in the docs.
15397 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15399 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15400 Check whether GST_DEBUG_NO_COLOR environment variable is
15401 set and disable coloured debug output if that is the case.
15403 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15405 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15406 (gst_type_find_helper):
15407 The memory returned by gst_type_find_peek() needs to
15408 stay valid until the end of a typefind function, and
15409 typefind functions may keep results from different
15410 offsets around, so we can't just unref the buffer from
15411 the previous _peek(), but have to save all buffers
15412 returned by _peek() until typefinding is done and only
15415 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
15417 * docs/gst/gstreamer-sections.txt:
15419 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15421 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15423 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15424 Fix a pretty good memleak.
15426 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15428 * gst/gstiterator.h:
15429 Fix wrong include and 'make distcheck'.
15431 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15433 * gst/gstbin.c: (bin_bus_handler):
15434 Use gst_element_post_message() instead.
15436 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15438 * gst/base/gstadapter.h:
15439 * gst/base/gstbasesink.h:
15440 * gst/base/gstbasesrc.h:
15441 * gst/base/gstbasetransform.h:
15442 * gst/base/gstcollectpads.h:
15443 * gst/base/gstpushsrc.h:
15444 * gst/gstiterator.h:
15445 Add padding to our base elements' class and instance structs and
15446 to GstIterator (you will need to rebuild all plugins and apps!)
15448 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15450 * gst/gstbin.c: (bin_bus_handler):
15451 Make default message forwarding from child->bus to bin->bus
15452 threadsafe and make it not emit warnings if the parent has no bus.
15454 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15456 * gst/gstelement.c: (activate_pads):
15457 On paused->ready, set pad->caps to NULL, as is the documented
15458 behaviour in this state change. Fixes playback of series of
15459 media files when visualization is enabled in Totem.
15461 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15463 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15464 Allow NULL as filter-caps (which means "any").
15466 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15468 * docs/libs/gstreamer-libs-sections.txt:
15469 * libs/gst/controller/gst-controller.c:
15470 * libs/gst/controller/gst-controller.h:
15471 * libs/gst/controller/gst-helper.c:
15472 adding more entries to the docs and fix small doc-bugs
15474 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15476 * docs/gst/gstreamer-docs.sgml:
15477 * docs/gst/gstreamer-sections.txt:
15478 * docs/gst/gstreamer.types:
15479 * docs/gst/tmpl/gstbasesink.sgml:
15480 * docs/gst/tmpl/gstbasesrc.sgml:
15481 * docs/gst/tmpl/gstbasetransform.sgml:
15482 * docs/gst/tmpl/gstfakesrc.sgml:
15483 * gst/base/gstcollectpads.c:
15484 * gst/base/gstcollectpads.h:
15485 * libs/gst/controller/gst-controller.c:
15486 * libs/gst/controller/gst-controller.h:
15487 * libs/gst/controller/gst-helper.c:
15488 * libs/gst/controller/gst-interpolation.c:
15489 * libs/gst/controller/lib.c:
15490 added long/short desc for controller docs
15491 added collectpads base class docs
15492 added correct includes to base-class docs
15494 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15496 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15497 (gst_test_mono_source_set_property),
15498 (gst_test_mono_source_class_init), (GST_START_TEST),
15499 (gst_controller_suite):
15500 * docs/gst/gstreamer-docs.sgml:
15501 * docs/gst/gstreamer-sections.txt:
15502 * docs/gst/gstreamer.types:
15503 * docs/libs/gstreamer-libs-docs.sgml:
15504 * docs/libs/gstreamer-libs-sections.txt:
15505 * gst/base/gstadapter.c:
15506 * libs/gst/controller/gst-controller.c:
15507 (gst_controlled_property_new), (gst_controlled_property_free),
15508 (gst_controller_new_valist),
15509 (gst_controller_remove_properties_valist),
15510 (gst_controller_sink_values), (_gst_controller_finalize):
15511 * libs/gst/controller/gst-controller.h:
15512 * libs/gst/controller/gst-helper.c:
15513 (gst_object_control_properties), (gst_object_uncontrol_properties),
15514 (gst_object_get_controller), (gst_object_set_controller),
15515 (gst_object_sink_values), (gst_object_get_value_arrays),
15516 (gst_object_get_value_array):
15517 more tests (and fixes) for the controller
15518 more docs for the controller
15519 integrated companies docs for the adapter
15521 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15523 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15524 (GST_START_TEST), (fakesrc_suite):
15525 add tests for sizetype
15527 2005-08-04 Andy Wingo <wingo@pobox.com>
15529 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15530 fixes buffer_alloc proxying among other things.
15532 * gst/base/gstbasetransform.c:
15533 * gst/base/gstbasetransform.h:
15534 Revert patch to gstbasetransform from 7-28 removing
15537 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15538 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15539 Semantics changed, should return not the size of the output buffer
15540 but the byte size of a buffer with a given caps.
15542 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15544 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15545 out) are not the pad caps until setcaps finishes.
15546 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15547 not-in-place case as well. Deal with changing from in-place to
15548 not-in-place within calling pad_alloc_buffer. Still a bit
15549 concerned about the overhead here...
15551 2005-08-03 Andy Wingo <wingo@pobox.com>
15553 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15554 fixating is an error.
15556 2005-08-04 Edward Hervey <edward@fluendo.com>
15558 * gst/base/gstadapter.h:
15559 Added gst_adapter_get_type() to the header
15561 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15563 * check/Makefile.am:
15564 * check/gst-libs/controller.c:
15565 * libs/gst/controller/gst-controller.c:
15566 (gst_controller_new_valist):
15567 added check test suite for the controller
15568 * gst/base/gstpushsrc.c:
15571 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15573 * docs/gst/Makefile.am:
15574 * docs/gst/gstreamer-docs.sgml:
15575 * docs/gst/gstreamer-sections.txt:
15576 * docs/gst/gstreamer.types:
15577 * docs/gst/tmpl/gstfakesrc.sgml:
15579 * gst/base/gstbasesink.c:
15580 * gst/base/gstbasesink.h:
15581 * gst/base/gstbasesrc.c:
15582 * gst/base/gstbasesrc.h:
15583 * gst/base/gstbasetransform.c:
15584 * gst/base/gstpushsrc.c:
15585 * gst/base/gstpushsrc.h:
15586 add short/long description docs to base classes
15587 add pushsrc to the docs
15588 remove consolidated doc fragments
15590 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15593 * docs/libs/Makefile.am:
15594 * docs/libs/gstreamer-libs-docs.sgml:
15595 * docs/libs/gstreamer-libs-sections.txt:
15596 * docs/libs/gstreamer-libs.types:
15597 * examples/Makefile.am:
15598 * examples/controller/.cvsignore:
15599 * examples/controller/Makefile.am:
15600 * examples/controller/audio-example.c: (main):
15601 * libs/gst/Makefile.am:
15602 * libs/gst/controller/.cvsignore:
15603 * libs/gst/controller/Makefile.am:
15604 * libs/gst/controller/gst-controller.c:
15605 (on_object_controlled_property_changed), (gst_timed_value_compare),
15606 (gst_timed_value_find),
15607 (gst_controlled_property_set_interpolation_mode),
15608 (gst_controlled_property_new), (gst_controlled_property_free),
15609 (gst_controller_find_controlled_property),
15610 (gst_controller_new_valist), (gst_controller_new),
15611 (gst_controller_remove_properties_valist),
15612 (gst_controller_remove_properties), (gst_controller_set),
15613 (gst_controller_set_from_list), (gst_controller_unset),
15614 (gst_controller_get), (gst_controller_get_all),
15615 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15616 (gst_controller_get_value_array),
15617 (gst_controller_set_interpolation_mode),
15618 (_gst_controller_finalize), (_gst_controller_init),
15619 (_gst_controller_class_init), (gst_controller_get_type):
15620 * libs/gst/controller/gst-controller.h:
15621 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15622 (g_object_uncontrol_properties), (g_object_get_controller),
15623 (g_object_set_controller), (g_object_sink_values),
15624 (g_object_get_value_arrays), (g_object_get_value_array):
15625 * libs/gst/controller/gst-interpolation.c:
15626 (gst_controlled_property_find_timed_value_node),
15627 (interpolate_none_get), (interpolate_trigger_get),
15628 (interpolate_trigger_get_value_array):
15629 * libs/gst/controller/lib.c: (gst_controller_init):
15630 * pkgconfig/Makefile.am:
15631 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15632 * pkgconfig/gstreamer-control.pc.in:
15633 * testsuite/Makefile.am:
15634 * testsuite/controller/.cvsignore:
15635 * testsuite/controller/Makefile.am:
15636 * testsuite/controller/interpolator.c: (main):
15637 added controller code
15638 removed dparam pc files
15640 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15641 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15642 (gst_collectpads_stop):
15643 Broadcast the condition when shutting down, to make sure we wake all
15644 threads up. Shut down pads on finalize, for safety.
15646 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15647 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15648 (gst_base_transform_handle_buffer),
15649 (gst_base_transform_change_state):
15650 Handle PAUSED->READY->PAUSED transition after negotiation
15652 * gst/gstmessage.c: (gst_message_init):
15653 Extra piece of debug for new messages.
15655 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15658 * docs/gst/tmpl/gstbasesrc.sgml:
15659 * docs/gst/tmpl/gstelement.sgml:
15660 * docs/gst/tmpl/gstevent.sgml:
15661 * docs/gst/tmpl/gstfakesrc.sgml:
15662 * docs/gst/tmpl/gstformat.sgml:
15663 * docs/gst/tmpl/gstghostpad.sgml:
15664 * docs/gst/tmpl/gstpad.sgml:
15665 * docs/gst/tmpl/gstquery.sgml:
15666 * docs/gst/tmpl/gststructure.sgml:
15667 * docs/gst/tmpl/gsttaglist.sgml:
15668 * docs/gst/tmpl/gstvalue.sgml:
15669 * docs/libs/gstreamer-libs-docs.sgml:
15670 * docs/libs/gstreamer-libs-sections.txt:
15671 * docs/libs/gstreamer-libs.types:
15672 * libs/gst/Makefile.am:
15673 * libs/gst/control/.cvsignore:
15674 * libs/gst/control/Makefile.am:
15675 * libs/gst/control/control.c:
15676 * libs/gst/control/control.h:
15677 * libs/gst/control/dparam.c:
15678 * libs/gst/control/dparam.h:
15679 * libs/gst/control/dparam_smooth.c:
15680 * libs/gst/control/dparam_smooth.h:
15681 * libs/gst/control/dparamcommon.h:
15682 * libs/gst/control/dparammanager.c:
15683 * libs/gst/control/dparammanager.h:
15684 * libs/gst/control/dplinearinterp.c:
15685 * libs/gst/control/dplinearinterp.h:
15686 * libs/gst/control/unitconvert.c:
15687 * libs/gst/control/unitconvert.h:
15688 * testsuite/Makefile.am:
15689 * testsuite/dynparams/.cvsignore:
15690 * testsuite/dynparams/Makefile.am:
15691 * testsuite/dynparams/dparamstest.c:
15692 * tools/Makefile.am:
15693 * tools/gst-inspect.c: (print_element_info), (main):
15694 * tools/gst-xmlinspect.c: (print_element_info), (main):
15695 deactivate and remove dparams (libgstcontrol)
15697 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15699 * gst/elements/gsttypefindelement.c:
15700 (gst_type_find_element_have_type), (gst_type_find_element_init),
15701 (stop_typefinding), (gst_type_find_element_handle_event),
15702 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15703 * gst/elements/gsttypefindelement.h:
15704 Set caps on all outgoing buffers, not just the first one.
15706 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15708 * gst/elements/gsttypefindelement.c:
15709 (gst_type_find_element_have_type),
15710 (gst_type_find_element_check_set_buffer_caps),
15711 (gst_type_find_element_init), (stop_typefinding),
15712 (gst_type_find_element_handle_event),
15713 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15714 * gst/elements/gsttypefindelement.h:
15715 Set caps on first outgoing buffer when we've found the type.
15717 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15719 * docs/gst/gstreamer-docs.sgml:
15720 * docs/gst/gstreamer-sections.txt:
15721 * docs/gst/tmpl/gstscheduler.sgml:
15722 * docs/gst/tmpl/gstschedulerfactory.sgml:
15723 Remove some old cruft from docs.
15725 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15728 Fix inline docs for GstPadLinkReturn.
15730 * gst/gststructure.c: (gst_structure_has_name):
15731 * gst/gststructure.h:
15732 * docs/gst/gstreamer-sections.txt:
15733 New API: gst_structure_has_name().
15735 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15738 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15739 and _LARGEFILE_SOURCE in config.h as required. Do not
15740 export those flags in our .pc files any longer (#142209).
15742 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15744 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15745 (gst_file_sink_do_seek), (gst_file_sink_event),
15746 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15747 Redo seek/tell calls with large file support in mind; add some
15748 debugging messages; add log message that tells us when large
15749 file support is unavailable or not enabled for some reason.
15751 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15752 Add log message that tells us when large file support
15753 is unavailable or not enabled for some reason.
15755 2005-07-29 Wim Taymans <wim@fluendo.com>
15757 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15758 Added test for removing an element with ghostpad from a bin.
15759 Fixed test as current implementation does the right thing.
15761 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15762 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15763 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15764 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15765 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15766 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15767 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15768 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15769 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15770 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15771 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15772 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15773 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15774 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15775 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15776 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15777 * gst/gstghostpad.h:
15778 Clean up ghostpads, remove properties for internal stuff.
15781 Prepare for switching targets, not all use cases work yet.
15783 2005-07-29 Wim Taymans <wim@fluendo.com>
15785 * docs/design/part-gstghostpad.txt:
15788 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15789 (gst_bin_remove_func):
15790 Unlinking pads while holding the bin LOCK is not a good
15793 * gst/gstpad.c: (gst_pad_class_init),
15794 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15795 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15796 No prob setting template after creating the pad.
15798 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15800 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15801 (gst_bus_peek), (gst_bus_source_dispatch),
15802 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15803 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15804 gst_bus_poll may be called from other threads. Handle
15805 this nicely by not making poll_data disappear off the
15806 stack once gst_bus_poll returns.
15807 gst_bus_peek now increments the refcount on the returned
15810 2005-07-29 Wim Taymans <wim@fluendo.com>
15812 * docs/design/part-gstghostpad.txt:
15813 Overview of current GhostPad datastructures and use
15814 cases for changing the target.
15816 2005-07-28 Wim Taymans <wim@fluendo.com>
15818 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15819 Added checks for hierarchy consistency whan adding linked
15822 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15823 Added check to test element scheduling without bin/pipeline.
15825 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15826 First add elements to bin, then link.
15828 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15829 (gst_bin_remove_func):
15830 Unlink pads from elements added/removed from bin to maintain
15831 hierarchy consistency.
15833 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15835 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15836 (gst_base_transform_handle_buffer):
15837 * gst/base/gstbasetransform.h:
15838 Remove broken delay_configure (fixes renegotiation of software
15839 scaling pipelines); remove some leftover printf()s.
15841 2005-07-28 Wim Taymans <wim@fluendo.com>
15843 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15844 Added some more tests for wrong hierarchy
15846 * docs/design/part-overview.txt:
15849 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15852 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15853 (gst_element_dispose):
15854 Some more cleanups.
15856 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15857 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15858 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15859 (gst_pad_set_caps), (gst_pad_send_event):
15860 Check for correct hierarchy when linking pads. Moving to
15861 strict requirement for ghostpads when linking elements in
15865 Clean ups. Added WRONG_HIERARCHY return value.
15867 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15869 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15870 Better debug if no transform is possible.
15872 2005-07-27 Wim Taymans <wim@fluendo.com>
15874 * docs/random/wtay/network-transp:
15875 Some old doc I had.
15877 2005-07-27 Wim Taymans <wim@fluendo.com>
15879 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15880 (gst_dp_event_from_packet):
15881 Fix serialization of seek events.
15883 2005-07-27 Wim Taymans <wim@fluendo.com>
15885 * check/gst-libs/gdp.c: (GST_START_TEST):
15886 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15887 Fix compilation and fix event serialization.
15889 2005-07-27 Wim Taymans <wim@fluendo.com>
15892 * docs/design/part-TODO.txt:
15893 * docs/design/part-events.txt:
15896 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15897 (gst_base_sink_event), (gst_base_sink_do_sync),
15898 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15899 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15900 (gst_base_src_do_seek), (gst_base_src_event_handler),
15901 (gst_base_src_loop):
15902 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15903 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15904 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15905 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15906 (gst_base_transform_set_passthrough),
15907 (gst_base_transform_is_passthrough):
15908 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15909 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15915 * gst/gstelement.c: (gst_element_seek):
15916 * gst/gstelement.h:
15917 Update gst_element_seek.
15919 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15920 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15921 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15922 (gst_event_new_eos), (gst_event_new_newsegment),
15923 (gst_event_parse_newsegment), (gst_event_new_tag),
15924 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15925 (gst_event_parse_qos), (gst_event_new_seek),
15926 (gst_event_parse_seek), (gst_event_new_navigation):
15928 Make GstEvent use GstStructure. Add parsing code, make sure the
15929 API is sufficiently generic.
15930 Mark possible directions of events and serialization.
15932 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15933 (_gst_message_copy), (gst_message_new_segment_start),
15934 (gst_message_new_segment_done), (gst_message_new_custom),
15935 (gst_message_parse_segment_start),
15936 (gst_message_parse_segment_done):
15939 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15940 (gst_pad_set_caps), (gst_pad_send_event):
15941 Update for new events.
15942 Catch events sent in wrong directions.
15944 * gst/gstqueue.c: (gst_queue_link_src),
15945 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15946 (gst_queue_handle_src_query):
15951 Remove event code from this file.
15953 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15954 (gst_dp_event_from_packet):
15957 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15959 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15960 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15961 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15962 Make debugging actually useful.
15964 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15966 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15967 (gst_pad_fixate_caps):
15968 Implement default fixation once again, so that gst_pad_fixate()
15969 actually does anything at all. This probably needs to be some
15970 sort of a last resort, and use profile-based fixation first, but
15971 since that doesn't exist yet, this is the best we have. Fixes
15972 visualization in Totem.
15974 2005-07-22 Wim Taymans <wim@fluendo.com>
15976 * docs/design/part-events.txt:
15979 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15980 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15981 (gst_base_sink_activate_pull):
15982 Some more comments.
15984 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15985 (gst_fake_src_create):
15986 Fix handoff marshall.
15988 * gst/elements/gstidentity.c: (gst_identity_class_init),
15989 (gst_identity_transform_ip):
15990 We're a real inplace element.
15992 * gst/gstbus.c: (gst_bus_post):
15993 Added some comments.
15995 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15996 * tests/muxing/case1.c: (main):
15997 * tests/sched/dynamic-pipeline.c: (main):
15998 * tests/sched/interrupt1.c: (main):
15999 * tests/sched/interrupt2.c: (main):
16000 * tests/sched/interrupt3.c: (main):
16001 * tests/sched/runxml.c: (main):
16002 * tests/sched/sched-stress.c: (main):
16003 * tests/seeking/seeking1.c: (event_received), (main):
16004 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16006 * tests/threadstate/threadstate3.c: (main):
16007 * tests/threadstate/threadstate4.c: (main):
16008 * tests/threadstate/threadstate5.c: (main):
16011 2005-07-21 Wim Taymans <wim@fluendo.com>
16013 * docs/design/part-seeking.txt:
16014 Some small additions.
16016 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16017 (gst_base_sink_get_times), (gst_base_sink_do_sync),
16018 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
16019 * gst/base/gstbasesink.h:
16020 discont values are gint64, handle the math correctly.
16022 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16023 Make the basesrc report error if the source pad is not linked.
16025 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16026 (gst_queue_loop), (gst_queue_handle_src_query),
16027 (gst_queue_src_activate_push):
16028 Make queue collect data even if the srcpad is not linked.
16029 Start pushing out data as soon as it is linked.
16031 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
16033 Added gst_flow_get_name() to ease error reporting.
16035 2005-07-20 Wim Taymans <wim@fluendo.com>
16037 * gst/gstmessage.c: (gst_message_new_segment_start),
16038 (gst_message_new_segment_done), (gst_message_parse_segment_start),
16039 (gst_message_parse_segment_done):
16040 * gst/gstmessage.h:
16041 Added a bunch of messages for advanced seeking.
16043 * gst/parse/grammar.y:
16044 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
16045 (gst_dpman_state_changed):
16046 Fix some new-pad -> pad-added signals
16048 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16050 * docs/manual/appendix-porting.xml:
16051 * docs/pwg/appendix-porting.xml:
16052 Document new-pad/state-change signal renames and the FixedList
16055 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16057 * docs/manual/advanced-autoplugging.xml:
16058 * docs/manual/basics-helloworld.xml:
16059 * docs/manual/basics-pads.xml:
16060 * docs/random/ds/0.9-suggested-changes:
16061 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
16062 * gst/gstelement.h:
16066 * gst/gststructure.c: (gst_structure_value_get_generic_type),
16067 (gst_structure_parse_array), (gst_structure_parse_value):
16068 * gst/gstvalue.c: (gst_type_is_fixed),
16069 (gst_value_list_prepend_value), (gst_value_list_append_value),
16070 (gst_value_list_get_size), (gst_value_list_get_value),
16071 (gst_value_transform_array_string), (gst_value_serialize_array),
16072 (gst_value_deserialize_array), (gst_value_intersect_array),
16073 (gst_value_is_fixed), (_gst_value_initialize):
16075 GstElement::new-pad -> pad-added, GstElement::state-change ->
16076 state-changed, GstValueFixedList -> GstValueArray, add format and
16077 flags as their own arguments in gst_element_seek() (should improve
16078 "bindeability"), remove function generators since they don't work
16079 under a whole bunch of compilers (they were deprecated already
16082 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16084 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16085 (_gst_debug_register_funcptr):
16087 Fix illegal cast on some platforms (#309253).
16089 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16091 * gst/gstmessage.c: (gst_message_new_custom):
16092 * gst/gstmessage.h:
16093 Add _new_custom, make _new_application a macro to _new_custom.
16095 2005-07-20 Wim Taymans <wim@fluendo.com>
16097 * gst/base/gstbasesrc.c: (gst_base_src_init),
16098 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16099 * gst/base/gstbasesrc.h:
16100 Add a gboolean to decide when to push out a discont.
16102 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16103 (gst_queue_loop), (gst_queue_handle_src_query),
16104 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
16105 (gst_queue_set_property), (gst_queue_get_property):
16108 * tests/threadstate/threadstate1.c: (main):
16109 Make a thread test compile and run... very silly..
16112 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16114 * docs/manual/appendix-porting.xml:
16115 Mention removal of libgstgconf-0.9.la and existence of gconf
16118 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16120 * docs/pwg/advanced-clock.xml:
16121 * docs/pwg/appendix-porting.xml:
16122 * docs/pwg/intro-preface.xml:
16123 * docs/pwg/other-base.xml:
16124 * docs/pwg/other-manager.xml:
16125 * docs/pwg/other-nton.xml:
16126 * docs/pwg/other-ntoone.xml:
16127 * docs/pwg/other-oneton.xml:
16128 * docs/pwg/pwg.xml:
16129 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
16130 demuxer), remove n-to-n (was never written), fix some code examples
16131 and links and update the porting section to include all this.
16133 2005-07-19 Wim Taymans <wim@fluendo.com>
16135 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
16136 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
16137 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
16138 (gst_queue_src_activate_push), (gst_queue_change_state),
16139 (gst_queue_get_property):
16141 Propagate GstFlowReturn more intelligently upstream and output
16142 an ERROR/EOS when streaming stopped due to fatal error.
16144 2005-07-19 Wim Taymans <wim@fluendo.com>
16146 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16147 Don't block forever for the state change to complete, the
16148 pipeline already did with a sensible timeout.
16150 2005-07-19 Wim Taymans <wim@fluendo.com>
16152 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16153 Make sure we never call the create function is we
16156 2005-07-19 Andy Wingo <wingo@pobox.com>
16158 * gst/parse/parse.l: Attempt to solve bug #172815.
16160 2005-07-19 Wim Taymans <wim@fluendo.com>
16162 * docs/design/part-clocks.txt:
16163 * docs/design/part-events.txt:
16164 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16165 Small docs updates.
16166 Only update the seeking values when we are not
16169 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16171 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16172 Oops, ignore the result of gst_pad_push_event here.
16174 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16176 * gst/base/gstbasesrc.c: (gst_base_src_loop),
16177 (gst_base_src_activate_push):
16178 Send discont event from the loop function, as pads
16179 aren't activated yet in the activate_push handler.
16181 * gst/gstbin.c: (bin_bus_handler):
16182 Don't leak element name.
16184 2005-07-18 Andy Wingo <wingo@pobox.com>
16186 * configure.ac: Use AS_LIBTOOL_TAGS.
16188 2005-07-18 Wim Taymans <wim@fluendo.com>
16190 * docs/gst/gstreamer.types:
16191 Remove deleted types.
16193 2005-07-18 Wim Taymans <wim@fluendo.com>
16195 * check/elements/gstfakesrc.c: (GST_START_TEST):
16198 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16199 (init_popt_callback):
16201 * gst/gst_private.h:
16202 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16203 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16206 * gst/gstconfig.h.in:
16207 * gst/gstelement.c: (gst_element_class_init),
16208 (gst_element_set_base_time), (gst_element_get_base_time),
16209 (iterator_fold_with_resync), (gst_element_change_state),
16210 (gst_element_dispose), (gst_element_get_bus):
16211 * gst/gstelement.h:
16212 * gst/gstelementfactory.h:
16213 * gst/gsterror.c: (_gst_core_errors_init):
16216 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16218 * gst/gstinfo.c: (_gst_debug_init):
16219 * gst/gstmessage.c: (_gst_message_copy):
16220 * gst/gstmessage.h:
16221 * gst/gstminiobject.h:
16224 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16225 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16228 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16229 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16230 (gst_pipeline_get_last_stream_time):
16231 * gst/gstpipeline.h:
16232 * gst/gstpluginfeature.h:
16234 * gst/gstscheduler.c:
16235 * gst/gstscheduler.h:
16236 * gst/gststructure.h:
16237 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16238 (gst_task_finalize), (gst_task_func), (gst_task_create),
16239 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16240 (gst_task_stop), (gst_task_pause):
16242 * gst/gsttypefind.h:
16244 * gst/registries/gstlibxmlregistry.c: (load_feature),
16245 (gst_xml_registry_load), (gst_xml_registry_save_feature):
16246 * gst/registries/gstxmlregistry.c:
16247 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16248 * gst/schedulers/threadscheduler.c:
16249 * libs/gst/control/dparammanager.h:
16250 * tools/gst-inspect.c: (print_element_list),
16251 (print_plugin_features), (print_element_features):
16252 * tools/gst-xmlinspect.c: (print_element_list),
16253 (print_plugin_info), (main):
16254 Removed plugable schedulers.
16255 Removed Scheduler/Manager from elements.
16256 Removed gsttypes.h, rearranged includes.
16257 Removed dependency pad<->element, element<>pipeline, and
16258 various others, fix includes.
16259 implement gst_pad_get_parent() with gst_object_get_parent()
16260 Make GstTask sefcontained.
16261 Fix _get_state() on GstBin, it did not return ASYNC with a 0
16263 Fix endless loop in iterator_fold_with_resync.
16266 2005-07-18 Wim Taymans <wim@fluendo.com>
16272 2005-07-18 Wim Taymans <wim@fluendo.com>
16275 No more cothreads.h
16277 2005-07-18 Wim Taymans <wim@fluendo.com>
16281 Let's remove these.
16283 2005-07-18 Wim Taymans <wim@fluendo.com>
16285 * docs/design/part-dynamic.txt:
16286 * docs/design/part-events.txt:
16287 * docs/design/part-seeking.txt:
16288 Some more docs in the works.
16290 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16291 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16292 (gst_base_transform_setcaps), (gst_base_transform_get_size),
16293 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16294 (gst_base_transform_handle_buffer),
16295 (gst_base_transform_sink_activate_push),
16296 (gst_base_transform_src_activate_pull),
16297 (gst_base_transform_set_passthrough),
16298 (gst_base_transform_is_passthrough):
16301 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16304 * gst/gstevent.c: (gst_event_finalize):
16307 * gst/gstutils.c: (gst_element_unlink),
16308 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16309 (gst_pad_proxy_setcaps):
16311 Add _get_parent_element() to get a pads parent as an element.
16313 2005-07-18 Wim Taymans <wim@fluendo.com>
16315 * check/gst/gstbin.c: (GST_START_TEST):
16318 2005-07-18 Wim Taymans <wim@fluendo.com>
16320 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16321 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16322 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16323 (gst_base_sink_event), (gst_base_sink_do_sync),
16324 (gst_base_sink_chain), (gst_base_sink_loop),
16325 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16326 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16328 Fix logic for returning ASYNC when not prerolled.
16330 2005-07-18 Wim Taymans <wim@fluendo.com>
16332 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16333 Fix nasty refcount bug.
16335 2005-07-16 Philippe Khalaf <burger@speedy.org>
16337 * gst/elements/gstfdsrc.c:
16338 * gst/elements/gstfdsrc.h:
16339 * gst/elements/gstelements.c:
16340 * gst/elements/Makefile.am:
16341 Ported fdsrc to 0.9.
16343 2005-07-16 Wim Taymans <wim@fluendo.com>
16345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16346 (gst_base_sink_do_sync):
16349 2005-07-16 Wim Taymans <wim@fluendo.com>
16351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16352 (gst_base_sink_event), (gst_base_sink_get_times),
16353 (gst_base_sink_do_sync), (gst_base_sink_change_state):
16354 * gst/base/gstbasesink.h:
16355 Store and use discont values when syncing buffers as described
16358 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16359 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16360 (gst_base_src_activate_push):
16361 Push discont event when starting.
16363 * gst/elements/gstidentity.c: (gst_identity_transform):
16366 * gst/gstbin.c: (gst_bin_change_state):
16367 Small cleanups in base_time distribution.
16369 * gst/gstelement.c: (gst_element_set_base_time),
16370 (gst_element_get_base_time), (gst_element_change_state):
16371 * gst/gstelement.h:
16372 Added methods for the base_time of the element.
16375 * gst/gstpipeline.c: (gst_pipeline_send_event),
16376 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16377 (gst_pipeline_get_last_stream_time):
16378 * gst/gstpipeline.h:
16380 Handle seeking as described in design doc, remove stream_time
16382 Cleanups clock and stream_time selection code. Added accessors
16383 for the stream_time.
16386 2005-07-16 Andy Wingo <wingo@pobox.com>
16388 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16391 2005-07-16 Wim Taymans <wim@fluendo.com>
16393 * check/gst/gstbin.c: (GST_START_TEST):
16394 Make elements silent as the deep_notify refs the
16395 parent, which might make the test fail.
16397 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16398 Don't hold the lock for too long.
16400 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
16402 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16403 Don't unref the caps we passed to gst_caps_make_writable() after
16404 passing them. gst_caps_make_writable() will do that for us.
16406 2005-07-15 Andy Wingo <wingo@pobox.com>
16408 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16411 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16412 own marshalling function for the handoff signal. Properly type the
16413 buffer as a buffer. Fixes some warnings. Should do a more general
16415 (gst_identity_class_init): Plug into the right marshaller.
16417 2005-07-15 Wim Taymans <wim@fluendo.com>
16419 * docs/design/part-TODO.txt:
16420 * docs/design/part-clocks.txt:
16421 * docs/design/part-element-sink.txt:
16422 * docs/design/part-events.txt:
16423 * docs/design/part-gstpipeline.txt:
16424 Updated docs, mostly DISCONT related.
16426 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
16428 * docs/pwg/building-pads.xml:
16429 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16431 2005-07-15 Andy Wingo <wingo@pobox.com>
16433 * tools/gst-typefind.c: Update, add copyright block.
16435 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16436 Normalize and truncate caps before fixation.
16439 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16440 discards all but the first structure from its argument.
16442 2005-07-15 Wim Taymans <wim@fluendo.com>
16444 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16445 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16446 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16447 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16448 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16449 (gst_base_transform_chain), (gst_base_transform_change_state),
16450 (gst_base_transform_set_passthrough),
16451 (gst_base_transform_is_passthrough):
16452 * gst/base/gstbasetransform.h:
16453 Make passthrough work using the bufferpools.
16454 Changed API a bit, subclasses have to write into a buffer
16455 provided by the base class.
16456 More debug info in nego functions.
16458 * gst/elements/gstidentity.c: (gst_identity_init),
16459 (gst_identity_transform):
16460 Port to new base class.
16462 2005-07-15 Wim Taymans <wim@fluendo.com>
16464 * gst/gstmessage.c: (gst_message_new_state_changed):
16465 * tools/gst-launch.c: (event_loop), (main):
16466 Totally dump messages in -launch with the -m option.
16467 Fix message name for State messages,
16469 2005-07-14 Wim Taymans <wim@fluendo.com>
16471 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16472 Post error messages on errors.
16474 2005-07-14 Wim Taymans <wim@fluendo.com>
16476 * gst/gstcaps.c: (gst_caps_do_simplify):
16480 Define error for stream stopped.
16482 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16483 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16484 Do proper return values.
16486 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16487 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16488 (gst_pad_get_range):
16489 Better return values.
16492 Reorganise return values, add macro to check for fatal errors.
16494 * gst/gstqueue.c: (gst_queue_chain):
16495 Return proper GstFlowReturn values,
16497 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16499 * docs/gst/gstreamer-sections.txt:
16500 * docs/gst/gstreamer.types:
16501 * docs/gst/tmpl/gst.sgml:
16502 * docs/gst/tmpl/gstbasesink.sgml:
16503 * docs/gst/tmpl/gstbasesrc.sgml:
16504 * docs/gst/tmpl/gstbasetransform.sgml:
16505 * docs/gst/tmpl/gstbin.sgml:
16506 * docs/gst/tmpl/gstbuffer.sgml:
16507 * docs/gst/tmpl/gstcaps.sgml:
16508 * docs/gst/tmpl/gstclock.sgml:
16509 * docs/gst/tmpl/gstcompat.sgml:
16510 * docs/gst/tmpl/gstconfig.sgml:
16511 * docs/gst/tmpl/gstelement.sgml:
16512 * docs/gst/tmpl/gstelementdetails.sgml:
16513 * docs/gst/tmpl/gstelementfactory.sgml:
16514 * docs/gst/tmpl/gstenumtypes.sgml:
16515 * docs/gst/tmpl/gsterror.sgml:
16516 * docs/gst/tmpl/gstevent.sgml:
16517 * docs/gst/tmpl/gstfakesink.sgml:
16518 * docs/gst/tmpl/gstfakesrc.sgml:
16519 * docs/gst/tmpl/gstfilesink.sgml:
16520 * docs/gst/tmpl/gstfilesrc.sgml:
16521 * docs/gst/tmpl/gstfilter.sgml:
16522 * docs/gst/tmpl/gstformat.sgml:
16523 * docs/gst/tmpl/gstghostpad.sgml:
16524 * docs/gst/tmpl/gstimplementsinterface.sgml:
16525 * docs/gst/tmpl/gstindex.sgml:
16526 * docs/gst/tmpl/gstindexfactory.sgml:
16527 * docs/gst/tmpl/gstinfo.sgml:
16528 * docs/gst/tmpl/gstiterator.sgml:
16529 * docs/gst/tmpl/gstmacros.sgml:
16530 * docs/gst/tmpl/gstmemchunk.sgml:
16531 * docs/gst/tmpl/gstminiobject.sgml:
16532 * docs/gst/tmpl/gstobject.sgml:
16533 * docs/gst/tmpl/gstpad.sgml:
16534 * docs/gst/tmpl/gstpadtemplate.sgml:
16535 * docs/gst/tmpl/gstparse.sgml:
16536 * docs/gst/tmpl/gstpipeline.sgml:
16537 * docs/gst/tmpl/gstplugin.sgml:
16538 * docs/gst/tmpl/gstpluginfeature.sgml:
16539 * docs/gst/tmpl/gstquery.sgml:
16540 * docs/gst/tmpl/gstqueue.sgml:
16541 * docs/gst/tmpl/gstregistry.sgml:
16542 * docs/gst/tmpl/gstregistrypool.sgml:
16543 * docs/gst/tmpl/gstscheduler.sgml:
16544 * docs/gst/tmpl/gstschedulerfactory.sgml:
16545 * docs/gst/tmpl/gststructure.sgml:
16546 * docs/gst/tmpl/gstsystemclock.sgml:
16547 * docs/gst/tmpl/gsttaglist.sgml:
16548 * docs/gst/tmpl/gsttagsetter.sgml:
16549 * docs/gst/tmpl/gsttrace.sgml:
16550 * docs/gst/tmpl/gsttrashstack.sgml:
16551 * docs/gst/tmpl/gsttypefind.sgml:
16552 * docs/gst/tmpl/gsttypefindfactory.sgml:
16553 * docs/gst/tmpl/gsttypes.sgml:
16554 * docs/gst/tmpl/gsturihandler.sgml:
16555 * docs/gst/tmpl/gsturitype.sgml:
16556 * docs/gst/tmpl/gstutils.sgml:
16557 * docs/gst/tmpl/gstvalue.sgml:
16558 * docs/gst/tmpl/gstversion.sgml:
16559 * docs/gst/tmpl/gstxml.sgml:
16560 * docs/libs/tmpl/gstcontrol.sgml:
16561 * docs/libs/tmpl/gstdataprotocol.sgml:
16562 * docs/libs/tmpl/gstdparam.sgml:
16563 * docs/libs/tmpl/gstdplinint.sgml:
16564 * docs/libs/tmpl/gstdpman.sgml:
16565 * docs/libs/tmpl/gstdpsmooth.sgml:
16566 * docs/libs/tmpl/gstgetbits.sgml:
16567 * docs/libs/tmpl/gstunitconvert.sgml:
16568 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16569 (gst_push_src_base_init), (gst_push_src_class_init),
16570 (gst_push_src_init), (gst_push_src_create):
16571 * gst/base/gstpushsrc.h:
16572 * gst/elements/gstelements.c:
16573 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16574 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16575 (gst_fake_sink_init), (gst_fake_sink_set_property),
16576 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16577 (gst_fake_sink_event), (gst_fake_sink_preroll),
16578 (gst_fake_sink_render), (gst_fake_sink_change_state):
16579 * gst/elements/gstfakesink.h:
16580 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16581 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16582 (gst_fake_src_base_init), (gst_fake_src_class_init),
16583 (gst_fake_src_init), (gst_fake_src_event_handler),
16584 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16585 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16586 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16587 (gst_fake_src_create_buffer), (gst_fake_src_create),
16588 (gst_fake_src_start), (gst_fake_src_stop):
16589 * gst/elements/gstfakesrc.h:
16590 * gst/elements/gstfilesink.c: (_do_init),
16591 (gst_file_sink_base_init), (gst_file_sink_class_init),
16592 (gst_file_sink_init), (gst_file_sink_dispose),
16593 (gst_file_sink_set_location), (gst_file_sink_set_property),
16594 (gst_file_sink_get_property), (gst_file_sink_open_file),
16595 (gst_file_sink_close_file), (gst_file_sink_query),
16596 (gst_file_sink_event), (gst_file_sink_render),
16597 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16598 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16599 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16600 * gst/elements/gstfilesink.h:
16601 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16602 (gst_file_src_class_init), (gst_file_src_init),
16603 (gst_file_src_finalize), (gst_file_src_set_location),
16604 (gst_file_src_set_property), (gst_file_src_get_property),
16605 (gst_file_src_map_region), (gst_file_src_map_small_region),
16606 (gst_file_src_create_mmap), (gst_file_src_create_read),
16607 (gst_file_src_create), (gst_file_src_is_seekable),
16608 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16609 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16610 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16611 (gst_file_src_uri_handler_init):
16612 * gst/elements/gstfilesrc.h:
16613 more autistic cleanliness in functions/names/defines
16615 2005-07-13 Andy Wingo <wingo@pobox.com>
16617 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16618 source couldn't negotiate.
16620 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16624 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16625 function. I am channeling Hades. Put your boots on suckers!!!
16627 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16629 * testsuite/caps/Makefile.am:
16630 * testsuite/caps/value_compare.c:
16631 * testsuite/caps/value_intersect.c:
16632 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16633 move two testsuite apps over to the check dir
16635 2005-07-12 Wim Taymans <wim@fluendo.com>
16637 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16638 Added more debug info in the negotiate process.
16640 * gst/gstmessage.h:
16641 Prepare for segment playback.
16643 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16649 * tools/gst-launch.c: (main):
16650 NULL pipeline on errors.
16652 2005-07-12 Andy Wingo <wingo@pobox.com>
16654 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16655 not it comes from a malloc region. Make sure our copy gets freed.
16657 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16659 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16660 * check/gst/gstmessage.c: (GST_START_TEST):
16661 * check/gst/gststructure.c: (GST_START_TEST),
16662 (gst_structure_suite), (main):
16664 * gst/gstelement.c: (gst_element_message_full):
16665 clean up GError and debug string now that they get copied
16666 * gst/gstmessage.c: (gst_message_new_error),
16667 (gst_message_new_warning), (gst_message_parse_error),
16668 (gst_message_parse_warning):
16669 use GST_TYPE_G_ERROR for structure_new, and take copies of
16670 arguments, so that we don't mess up refcounting
16672 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16674 * check/Makefile.am:
16675 add per-test valgrind targets
16676 * check/gst-libs/gdp.c: (GST_START_TEST),
16677 (gst_data_protocol_suite), (main):
16680 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16682 * check/Makefile.am:
16683 instate more valgrindable tests
16684 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16685 (GST_START_TEST), (fakesrc_suite):
16686 * check/gst/gstpad.c: (GST_START_TEST):
16687 * check/gst/gststructure.c: (GST_START_TEST):
16689 * docs/gst/tmpl/gstminiobject.sgml:
16690 * gst/gstpad.c: (gst_pad_finalize):
16691 fix the static mutex leak
16693 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16695 * check/Makefile.am:
16696 add two more tests for valgrinding
16697 * check/gst/gstvalue.c: (GST_START_TEST):
16698 test refcount of deserialized buffer, found a leak
16699 * docs/gst/gstreamer-docs.sgml:
16700 * docs/gst/gstreamer-sections.txt:
16701 * docs/gst/gstreamer.types:
16702 * docs/gst/tmpl/gstminiobject.sgml:
16703 add miniobject to docs
16704 * gst/gstminiobject.c:
16706 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16707 (gst_string_unwrap):
16708 fix a hard-to-find invalid write for one of the tests
16709 fix a leak for deserialized buffers
16711 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16713 * docs/pwg/advanced-events.xml:
16714 * docs/pwg/advanced-request.xml:
16715 * docs/pwg/advanced-scheduling.xml:
16716 * docs/pwg/appendix-porting.xml:
16717 * docs/pwg/building-boiler.xml:
16718 * docs/pwg/intro-preface.xml:
16719 * docs/pwg/other-ntoone.xml:
16720 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16721 of example code and explanation for pad activation, loop() and
16722 getrange() functions and a bit more. Remove old comments pointing
16724 * examples/pwg/Makefile.am:
16725 Add loop/getrange examples.
16727 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16730 check for valgrind binary + some fixes
16732 valgrind suppressions for the tests
16733 * check/Makefile.am:
16734 add a valgrind: target that valgrinds the unit tests
16735 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16736 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16737 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16738 * check/gst/gstghostpad.c:
16740 * check/gst/gstdata.c:
16742 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16743 (thread_unref), (gst_mini_object_suite), (main):
16745 * gst/gst.c: (gst_deinit):
16747 add a method to clean up.
16748 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16749 (gst_system_clock_obtain):
16750 allow for disposing the system clock.
16751 * tools/gst-launch.c: (main):
16754 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16756 * docs/gst/tmpl/gstbasesrc.sgml:
16757 * docs/gst/tmpl/gstfakesrc.sgml:
16758 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16759 (gst_base_src_init), (gst_base_src_set_property),
16760 (gst_base_src_get_property), (gst_base_src_get_range),
16761 (gst_base_src_start):
16762 * gst/base/gstbasesrc.h:
16763 add num-buffers property
16764 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16765 (gst_fakesrc_init), (gst_fakesrc_set_property),
16766 (gst_fakesrc_get_property), (gst_fakesrc_create),
16767 (gst_fakesrc_start):
16768 remove num-buffers property
16770 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16772 * docs/gst/gstreamer-sections.txt:
16773 * docs/gst/tmpl/gstbasesink.sgml:
16774 * docs/gst/tmpl/gstbasesrc.sgml:
16775 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16776 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16777 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16778 (gst_base_sink_set_property), (gst_base_sink_get_property),
16779 (gst_base_sink_handle_object), (gst_base_sink_event),
16780 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16781 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16782 (gst_base_sink_loop), (gst_base_sink_deactivate),
16783 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16784 (gst_base_sink_change_state):
16785 * gst/base/gstbasesink.h:
16786 * gst/base/gstbasesrc.h:
16787 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16788 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16789 (gst_filesink_init):
16790 more macro splitting
16792 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16794 * gst/gstelement.c: (gst_element_get_bus):
16796 * tools/gst-launch.c: (check_intr), (event_loop):
16799 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16801 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16804 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16806 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16807 (gst_base_src_finalize):
16808 add finalize method and clean up properly
16809 * gst/gstpipeline.c: (gst_pipeline_dispose):
16812 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16814 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16816 add more things to check
16817 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16818 * gst/gstelement.c:
16821 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16823 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16824 (GST_START_TEST), (fakesrc_suite):
16825 * check/gst-libs/gdp.c: (GST_START_TEST):
16826 * check/gst/gst.c: (GST_START_TEST):
16827 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16828 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16829 * check/gst/gstbus.c: (GST_START_TEST):
16830 * check/gst/gstcaps.c: (GST_START_TEST):
16831 * check/gst/gstdata.c: (GST_START_TEST):
16832 * check/gst/gstelement.c: (GST_START_TEST):
16833 * check/gst/gstghostpad.c: (GST_START_TEST):
16834 * check/gst/gstiterator.c: (GST_START_TEST):
16835 * check/gst/gstmessage.c: (GST_START_TEST):
16836 * check/gst/gstobject.c: (GST_START_TEST):
16837 * check/gst/gstpad.c: (GST_START_TEST):
16838 * check/gst/gststructure.c: (GST_START_TEST):
16839 * check/gst/gstsystemclock.c: (GST_START_TEST),
16840 (gst_systemclock_suite):
16841 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16842 * check/gst/gstvalue.c: (GST_START_TEST):
16843 * check/pipelines/cleanup.c: (GST_START_TEST):
16844 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16845 * check/states/sinks.c: (GST_START_TEST):
16846 * check/gstcheck.c: (gst_check_init):
16847 * check/gstcheck.h:
16848 add debugging category
16849 use GST_START_TEST now, so we add a debug line
16851 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16853 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16854 add test for state change message on a bin
16855 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16857 * gst/gstbin.c: (gst_bin_init):
16858 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16859 * gst/gstelement.c: (gst_element_post_message),
16860 (gst_element_set_state):
16861 * gst/gstelementfactory.c: (gst_element_factory_create):
16862 * gst/gstmessage.c: (gst_message_new):
16863 * gst/gstscheduler.c:
16864 various debugging additions and cleanups
16866 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16868 * check/Makefile.am:
16869 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16871 adding tests for elements
16872 * gst/gstelement.c: (gst_element_dispose):
16874 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16876 * gst/registries/gstlibxmlregistry.c: (load_feature):
16877 plug more leaks. A simple gst_init() now is leakfree, yay.
16879 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16881 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16882 (gst_xml_registry_load):
16883 plug another memleak
16885 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16888 use GST_SET_ERROR_CFLAGS
16889 * docs/faq/cvs.xml:
16890 change to ERROR_CFLAGS
16892 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16895 make GST_ERROR_CFLAGS overridable and re-enable Werror
16896 * docs/faq/cvs.xml:
16897 add a note about error CFLAGS
16898 * docs/gst/tmpl/gstfakesrc.sgml:
16899 * gst/elements/gstfakesrc.c:
16900 comment out some unused code
16901 * gst/gst.c: (split_and_iterate):
16902 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16906 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16908 * common/Makefile.am:
16909 * common/gtk-doc.mak:
16910 * docs/gst/Makefile.am:
16911 factor out gtk-doc.mak
16913 2005-07-07 Wim Taymans <wim@fluendo.com>
16915 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16916 (gst_thread_scheduler_dispose):
16917 Unlock the STREAM_LOCK completely.
16919 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16921 * check/Makefile.am:
16922 * check/elements/.cvsignore:
16923 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16924 (START_TEST), (fakesrc_suite), (main):
16925 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16926 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16927 (gst_fakesrc_create), (gst_fakesrc_start):
16928 * gst/elements/gstfakesrc.h:
16929 adding a first element test
16931 2005-07-07 Andy Wingo <wingo@pobox.com>
16933 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16936 2005-07-07 Wim Taymans <wim@fluendo.com>
16942 2005-07-07 Wim Taymans <wim@fluendo.com>
16944 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16945 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16946 Allow subclasses to implement their own negotiation.
16948 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16950 * docs/design/part-gstbin.txt:
16951 * docs/design/part-gstpipeline.txt:
16952 Update design notes to reflect the movement of
16953 responsibility for bus handling from GstPipeline to
16956 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16959 Remove unnecessary queue2/3/4 examples.
16961 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16963 * examples/Makefile.am:
16964 * examples/helloworld/helloworld.c: (event_loop), (main):
16965 * examples/queue/queue.c: (event_loop), (main):
16966 * examples/queue2/queue2.c: (main):
16967 Update a couple of the examples to work again.
16969 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16970 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16971 Spelling corrections and extra debug.
16973 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16974 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16975 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16977 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16978 (gst_pipeline_change_state):
16979 * gst/gstpipeline.h:
16980 Move the bus handler for children to the GstBin, and create a
16981 separate bus for receiving messages from children to the one the
16982 bus sends 'upwards' on.
16984 2005-07-06 Wim Taymans <wim@fluendo.com>
16987 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16988 (gst_base_sink_handle_object), (gst_base_sink_loop),
16989 (gst_base_sink_change_state):
16990 * gst/base/gstbasesink.h:
16991 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16992 (gst_base_src_init), (gst_base_src_setcaps),
16993 (gst_base_src_getcaps), (gst_base_src_loop),
16994 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16995 (gst_base_src_start), (gst_base_src_change_state):
16996 * gst/base/gstbasesrc.h:
16997 Make basesrc negotiate.
16998 Handle the case where preroll fails in basesink.
17001 2005-07-06 Wim Taymans <wim@fluendo.com>
17003 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
17004 Implement the fixate function.
17005 Clean up acceptcaps.
17007 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17009 * docs/pwg/building-filterfactory.xml:
17010 * docs/pwg/pwg.xml:
17011 Remove never-written filter-factory chapter; I'll add the various
17012 base classes to part 4 ("other element types") later on.
17014 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17016 * docs/pwg/advanced-negotiation.xml:
17017 * docs/pwg/building-boiler.xml:
17018 * docs/pwg/building-pads.xml:
17019 * docs/pwg/pwg.xml:
17020 * examples/pwg/Makefile.am:
17021 Add a chapter on caps negotiation, simplify the original code
17022 samples a bit w.r.t. caps negotiation, add link to the advanced
17023 section. Add a bunch of examples showing different use cases of
17024 different types of caps negotiation. Upstream renegotiation isn't
17025 fully documented yet since nobody knows how that works.
17027 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
17029 * check/gst/gstpad.c:
17030 * check/gstcheck.c:
17031 * gst/gstpad.c: (gst_pad_get_internal_links_default):
17032 if pad has no parent, return NULL as list of internal links
17034 2005-07-05 Andy Wingo <wingo@pobox.com>
17036 * gst/elements/gstfilesrc.c:
17037 * gst/elements/gstfakesrc.c:
17038 * gst/base/gstpushsrc.c:
17039 * gst/base/gstbasesrc.h:
17040 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
17042 2005-07-05 Stefan Kost <ensonic@users.sf.net>
17045 better report generation target (lcov needs a patch)
17047 2005-07-05 Andy Wingo <wingo@pobox.com>
17049 * gst/elements, testsuite: Null if we got it...
17051 2005-07-05 Wim Taymans <wim@fluendo.com>
17054 * libs/gst/dataprotocol/Makefile.am:
17055 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
17056 * libs/gst/dataprotocol/dataprotocol.h:
17057 * pkgconfig/Makefile.am:
17058 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
17059 * pkgconfig/gstreamer-dataprotocol.pc.in:
17060 Ported dataprotol to 0.9.
17061 Added pkgconfig files.
17063 2005-07-05 Andy Wingo <wingo@pobox.com>
17065 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
17066 Default to returning TRUE for the case when tranform_caps returns
17067 a fixed caps, like for identity or volume.
17069 * check/gst/gstbus.c (pound_bus_with_messages):
17070 * check/gst/gstmessage.c (START_TEST):
17071 * check/pipelines/simple_launch_lines.c (got_handoff): Application
17072 message API change.
17074 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
17075 logic weaks here: always run transform_caps, trying passthrough
17076 operation only if the original caps intersects with the transform.
17078 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
17079 source and sink caps.
17081 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
17082 Intersect the peer caps with the pad template before going into
17084 (gst_base_transform_transform_caps): More debugging.
17086 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
17089 2005-07-04 Edward Hervey <edward@fluendo.com>
17093 (gst_pad_add_*_probe): now returns the signal id for better wrapping
17096 2005-07-04 Andy Wingo <wingo@pobox.com>
17098 * check/gst/gstpad.c: Only set explicit caps on pads.
17100 2005-07-01 Andy Wingo <wingo@pobox.com>
17102 * tests/network-clock.scm: Commentary update.
17104 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
17105 Didn't really make sense, not implementable with basetransform,
17107 (gst_identity_transform): Unref inbuf via make_writable. Feeble
17108 attempt at implementing the sync property, needs an unlock method.
17110 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
17111 New func, by default returns the same caps (the identity
17113 (gst_base_transform_getcaps): Uses transform_caps to return
17114 something sensible.
17115 (gst_base_transform_setcaps): Complicated logic to get caps on
17116 both pads, even if they are different, and to call set_caps once
17117 for every time both pads get their caps set.
17118 (gst_base_transform_handle_buffer): Give the ref to the transform
17119 function. Allows in-place modification of the buffer.
17121 * gst/base/gstbasetransform.h (transform_caps): New class method.
17122 Given caps on one side, what can I do on the other.
17123 (set_caps): Take two caps, one for each side of the element.
17126 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
17127 caps in place. This is safe because we can check the mutability of
17128 the caps, and a good idea because fixate functions are just called
17129 as a matter of last resort. (Not actually implemented.)
17130 (gst_pad_set_caps): If the caps we're setting is actually the same
17131 as the existing pad caps, just update the pointer without calling
17132 setcaps. Assert that caps is either NULL or fixed, as per the
17135 * gst/gstghostpad.c: Update for fixate changes.
17137 2005-07-02 Andy Wingo <wingo@pobox.com>
17140 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17141 two refcounts makes it immutable, which is enough. Doc more.
17143 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
17145 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17146 Put the mini_object into GValue as a mini_object,
17147 not a gpointer, since that's how we declared
17150 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17152 * examples/pwg/Makefile.am:
17153 Fix buildbot again.
17155 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17157 * docs/pwg/building-testapp.xml:
17159 * examples/pwg/Makefile.am:
17162 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17165 * examples/Makefile.am:
17166 * examples/pwg/Makefile.am:
17167 * examples/pwg/extract.pl:
17168 Enable building the PWG examples.
17169 * docs/pwg/advanced-interfaces.xml:
17170 Add URI interface stub.
17171 * docs/pwg/advanced-types.xml:
17172 * docs/pwg/other-autoplugger.xml:
17173 * docs/pwg/appendix-porting.xml:
17174 * docs/pwg/pwg.xml:
17175 Add porting guide (mostly stubs), remove autoplugging (see ADM).
17176 * docs/pwg/building-boiler.xml:
17177 * docs/pwg/building-chainfn.xml:
17178 * docs/pwg/building-pads.xml:
17179 * docs/pwg/building-props.xml:
17180 * docs/pwg/building-state.xml:
17181 * docs/pwg/building-testapp.xml:
17182 Update the building-*.xml parts for 0.9 changes. All examples
17183 code blocks compile in examples/pwg/*.
17185 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17187 * docs/manual/advanced-autoplugging.xml:
17188 * docs/manual/appendix-checklist.xml:
17189 * docs/manual/appendix-integration.xml:
17190 * docs/manual/highlevel-components.xml:
17191 Fix playbin/decodebin examples, update docs a bit, mention bus
17192 instead of signals in various places, mention kmplayer and
17193 kaffeine since they have a working GStreamer backend in the KDE
17196 2005-06-30 Wim Taymans <wim@fluendo.com>
17199 * docs/design/draft-ghostpads.txt:
17200 * docs/design/draft-push-pull.txt:
17201 * docs/design/draft-query.txt:
17202 * docs/design/part-TODO.txt:
17203 * docs/design/part-query.txt:
17204 Added CHANGES-0.9 doc, updated status of other docs.
17209 2005-06-30 Wim Taymans <wim@fluendo.com>
17211 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17212 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17213 (gst_base_sink_change_state):
17214 * gst/base/gstbasesink.h:
17215 Some tweaks, only EOS and a buffer complete a preroll.
17217 2005-06-30 Andy Wingo <wingo@pobox.com>
17219 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17220 activate_push down to the internal pad as well.
17222 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
17224 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17226 * gst/gsttaginterface.c:
17227 Some documentation fixes (#307394 and #307397).
17229 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
17231 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17233 * gst/gstvalue.c: (gst_value_intersect_list):
17234 Fix memleak (#309125).
17236 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17238 * docs/manual/advanced-dataaccess.xml:
17239 Fix fakesrc example to compile; doesn't work, bug somewhere...?
17240 * docs/manual/basics-pads.xml:
17241 Add reference for filtered caps to above chapter.
17243 2005-06-30 Wim Taymans <wim@fluendo.com>
17245 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17246 (gst_bin_change_state):
17248 Lame attempt at making the state change function a bit
17251 2005-06-30 Wim Taymans <wim@fluendo.com>
17253 * docs/design/part-clocks.txt:
17254 * docs/design/part-element-sink.txt:
17255 * docs/design/part-events.txt:
17256 * docs/design/part-preroll.txt:
17257 * docs/design/part-states.txt:
17258 Some more tweeks and additions to the docs.
17260 2005-06-30 Wim Taymans <wim@fluendo.com>
17262 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17263 (default_have_data), (gst_pad_class_init), (gst_pad_init),
17264 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17265 (gst_pad_check_pull_range), (gst_pad_get_range),
17266 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17268 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17269 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17270 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17271 (gst_pad_remove_buffer_probe):
17272 Removed atomic operations, use existing LOCK.
17273 Move exception handling out of main code path.
17275 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17277 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17278 (silly_return_true_function), (gst_pad_class_init),
17279 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17280 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17281 (gst_pad_send_event):
17282 Fix accumulator, add default value by using _emitv() instead
17283 of _emit() for signal emission.
17285 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17287 * docs/manual/advanced-dataaccess.xml:
17288 * examples/manual/Makefile.am:
17290 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17293 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
17295 * gst/elements/gstfilesink.c: (gst_filesink_render):
17296 Simplify code so that we don't have to handle short
17297 writes and return GST_FLOW_ERROR if an error occured.
17299 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17301 * docs/gst/gstreamer-docs.sgml:
17302 Remove probes more.
17304 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17306 * docs/gst/gstreamer-sections.txt:
17307 * docs/gst/tmpl/gstpad.sgml:
17308 * docs/gst/tmpl/gstprobe.sgml:
17310 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17311 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17312 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17313 (gst_pad_push_event), (gst_pad_send_event):
17315 * gst/gstutils.c: (gst_pad_add_data_probe),
17316 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17317 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17318 (gst_pad_remove_buffer_probe):
17320 Remove old probes, add new g-signal-based probes and some utility
17323 2005-06-29 Edward Hervey <edward@fluendo.com>
17325 * gst/gstelementfactory.c:
17328 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17329 the definition to the header file.
17331 2005-06-29 Andy Wingo <wingo@pobox.com>
17333 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17334 plugins from the source directory.
17336 2005-06-29 Wim Taymans <wim@fluendo.com>
17338 * docs/gst/tmpl/gstbuffer.sgml:
17339 * docs/gst/tmpl/gstclock.sgml:
17340 Some fixings for blantently wrong text.
17342 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17344 * check/Makefile.am:
17345 * gst/gst.c: (add_path_func), (init_pre):
17346 * gst/gstregistry.c: (gst_registry_add_path):
17347 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17348 only scan the GST_PLUGIN_PATH locations, and not add
17351 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17353 * docs/gst/gstreamer-sections.txt:
17354 * docs/gst/tmpl/gstbasesrc.sgml:
17355 * gst/gstelement.c:
17356 * gst/gstelement.h:
17361 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17363 * docs/manual/advanced-autoplugging.xml:
17364 Fix autoplugging example.
17366 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17368 * docs/manual/advanced-autoplugging.xml:
17369 * docs/manual/mime-world.fig:
17370 Try to get autoplugging working, fix type detection. Fix text
17371 in hello-world image.
17373 2005-06-29 Wim Taymans <wim@fluendo.com>
17375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17376 (gst_base_sink_change_state):
17380 map SIGNAL and BROADCAST to the right function.
17383 Remove redundant braces.
17385 * gst/gstpad.c: (gst_pad_set_caps):
17386 Don't call setcaps function when reseting caps to NULL.
17388 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17389 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17390 (gst_system_clock_id_unschedule):
17391 Use BROADCAST as this is what we do.
17393 2005-06-29 Wim Taymans <wim@fluendo.com>
17395 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17396 We are actually prerolling before commiting the state
17399 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17401 * docs/manual/advanced-clocks.xml:
17402 * docs/manual/advanced-interfaces.xml:
17403 * docs/manual/advanced-metadata.xml:
17404 * docs/manual/advanced-position.xml:
17405 * docs/manual/advanced-schedulers.xml:
17406 * docs/manual/advanced-threads.xml:
17407 * docs/manual/appendix-porting.xml:
17408 * docs/manual/basics-bins.xml:
17409 * docs/manual/basics-bus.xml:
17410 * docs/manual/basics-elements.xml:
17411 * docs/manual/basics-helloworld.xml:
17412 * docs/manual/basics-pads.xml:
17413 * docs/manual/highlevel-components.xml:
17414 * docs/manual/manual.xml:
17415 * docs/manual/thread.fig:
17416 Update (until threads/scheduling) Application Development Manual;
17417 remove GstThread, add GstBus, add simple porting checklist, add
17418 documentation for tag writing, clocks, make all examples until this
17419 part compile and run.
17420 * examples/manual/Makefile.am:
17421 Update from changes to Application Development Manual; add bus
17422 example, remove thread example.
17424 2005-06-28 Wim Taymans <wim@fluendo.com>
17426 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17427 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17428 (gst_bus_source_dispatch):
17429 Add debugging messages.
17430 Make internal methods static.
17431 Handle the case where the bus is flushed in the handler.
17433 * gst/gstelement.c: (gst_element_get_bus):
17434 Fix refcount in _get_bus();
17436 * gst/gstpipeline.c: (gst_pipeline_change_state),
17437 (gst_pipeline_get_clock_func):
17438 Clock refcounting fixes.
17439 Handle the case where preroll timed out more gracefully.
17441 * gst/gstsystemclock.c: (gst_system_clock_dispose):
17442 Clean up the internal thread in dispose. This is needed
17443 for subclasses that actually get disposed.
17445 * gst/schedulers/threadscheduler.c:
17446 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17447 (gst_thread_scheduler_dispose):
17448 Free thread pool in dispose.
17450 2005-06-28 Andy Wingo <wingo@pobox.com>
17452 * tests/network-clock-utils.scm (debug, print-event): New utils.
17454 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17455 (*packet-loss*): Unified loss probability.
17456 (network-time): Report out-of-band events.
17458 * tests/plot-data: Add support for out-of-band events. Hack it
17459 into this script instead of passing it down the pipe; should fix
17462 2005-06-28 Wim Taymans <wim@fluendo.com>
17464 * docs/gst/gstreamer.types:
17465 * docs/gst/tmpl/gstbasesrc.sgml:
17466 * docs/gst/tmpl/gstpad.sgml:
17469 2005-06-28 Wim Taymans <wim@fluendo.com>
17471 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17472 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17473 (gst_proxy_pad_do_fixatecaps):
17474 Correctly proxy the check_pull_range function.
17476 2005-06-28 Andy Wingo <wingo@pobox.com>
17478 * tests/network-clock.scm: Removed need for slib.
17480 2005-06-28 Wim Taymans <wim@fluendo.com>
17482 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17483 (gst_basesink_preroll_queue_flush):
17484 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17485 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17486 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17487 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17488 (gst_proxy_pad_set_property):
17491 * gst/gstqueue.c: (gst_queue_init):
17492 The deprecated pad loop function is removed now.
17494 2005-06-28 Andy Wingo <wingo@pobox.com>
17496 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17497 New parameters, simulate network packet loss.
17499 * tests/network-clock-utils.scm: Initialize the RNG.
17501 2005-06-28 Wim Taymans <wim@fluendo.com>
17503 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17504 (gst_basesink_event), (gst_basesink_deactivate):
17505 Flushing the preroll queue always needs to unlock the waiters.
17507 2005-06-28 Edward Hervey <edward@fluendo.com>
17509 * gst/gstpipeline.c: (gst_pipeline_send_event):
17510 Wheen a seek was successful on a pipeline, set the stream_time to the
17511 seek offset in order to have a synchronized stream_time.
17513 2005-06-28 Wim Taymans <wim@fluendo.com>
17515 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17516 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17517 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17518 (gst_proxy_pad_do_fixatecaps):
17519 Call wrapper function instead of just calling the function
17520 pointers. This takes care of any locking and whatmore.
17522 2005-06-28 Wim Taymans <wim@fluendo.com>
17524 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17525 (gst_pad_pull_range):
17527 CONNECTED -> LINKED.
17529 2005-06-28 Andy Wingo <wingo@pobox.com>
17531 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17532 source-munging commit!!!
17534 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17535 (gst_object_sink): Take gpointer arguments, not GstObject --
17536 avoids casts. Like GLib.
17538 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17541 2005-06-27 Andy Wingo <wingo@pobox.com>
17543 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17546 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17547 returns a sorted copy of the trace list.
17548 (gst_alloc_trace_print_live): New API, only prints traces with
17549 live objects. Sort the list.
17550 (gst_alloc_trace_print_all): Sort the list.
17551 (gst_alloc_trace_print): Align columns.
17553 * gst/elements/gstttypefindelement.c:
17554 * gst/elements/gsttee.c:
17555 * gst/base/gstbasesrc.c:
17556 * gst/base/gstbasesink.c:
17557 * gst/base/gstbasetransform.c:
17558 * gst/gstqueue.c: Adapt for pad activation changes.
17560 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17562 (gst_pipeline_dispose): Drop ref on sched.
17564 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17565 (gst_pad_activate_default): Push mode by default.
17566 (pre_activate_switch, post_activate_switch): New stubs, things to
17567 do before and after switching activation modes on pads.
17568 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17569 the pad's activate function to choose which mode to activate.
17570 Shortcut on deactivation and call the right function directly.
17571 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17573 (gst_pad_activate_push): New API, same for push mode.
17574 (gst_pad_set_activate_function)
17575 (gst_pad_set_activatepull_function)
17576 (gst_pad_set_activatepush_function): Setters for new API.
17578 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17579 Trace all miniobjects.
17580 (gst_mini_object_make_writable): Unref the arg if we copy, like
17581 gst_caps_make_writable.
17583 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17585 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17586 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17587 Adapt for new pad API.
17589 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17591 * gst/gstelement.h:
17592 * gst/gstelement.c (gst_element_iterate_src_pads)
17593 (gst_element_iterate_sink_pads): New API functions.
17595 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17596 should fold into gstiterator.c in some form.
17597 (gst_element_pads_activate): Simplified via use of fold and
17598 delegation of decisions to gstpad->activate.
17600 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17603 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17604 class once in init, like gstmessage. Didn't run into this issue
17605 but it seems correct. Don't initialize a trace, gstminiobject does
17608 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17609 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17611 (assert_live_count): New util function, uses alloc traces to check
17614 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17615 To be modified when unlink drops the internal pad.
17617 2005-06-27 Wim Taymans <wim@fluendo.com>
17619 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17620 (gst_bin_change_state):
17621 Cleanup the get_state() function a little, make sure it
17622 iterates the same set of elements.
17623 Added stub iterate_state_order().
17625 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17627 * docs/gst/gstreamer-docs.sgml:
17628 * docs/gst/gstreamer-sections.txt:
17629 * docs/gst/gstreamer.types:
17630 * docs/gst/tmpl/gstbasesink.sgml:
17631 * docs/gst/tmpl/gstbasesrc.sgml:
17632 * docs/gst/tmpl/gstbasetransform.sgml:
17633 * docs/gst/tmpl/gstelement.sgml:
17634 * docs/gst/tmpl/gstiterator.sgml:
17635 * gst/base/gstbasesrc.c:
17636 * gst/base/gstbasesrc.h:
17637 * gst/base/gstbasetransform.h:
17638 * gst/gstelement.c:
17639 * gst/gstiterator.h:
17640 adding basetransform and iterator docs
17642 2005-06-27 Andy Wingo <wingo@pobox.com>
17644 * docs/design/part-activation.txt: Notes on how activation should
17645 work -- not quite implemented yet.
17647 2005-06-25 Wim Taymans <wim@fluendo.com>
17649 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17650 At least get the chain function correct, needs more
17653 2005-06-25 Wim Taymans <wim@fluendo.com>
17655 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17656 (gst_basesink_handle_object), (gst_basesink_event),
17657 (gst_basesink_do_sync), (gst_basesink_handle_event),
17658 (gst_basesink_change_state):
17660 Right, two problems here: ghostpads don't take locks and
17661 glib _rec_mutex_lock_full() with depth==0 still locks.
17662 Catch illegal locking and g_warn them.
17664 2005-06-25 Wim Taymans <wim@fluendo.com>
17666 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17667 Have to check for completion now...
17669 2005-06-25 Wim Taymans <wim@fluendo.com>
17671 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17672 (gst_basesink_handle_object), (gst_basesink_event),
17673 (gst_basesink_do_sync), (gst_basesink_handle_event),
17674 (gst_basesink_change_state):
17676 Unlock STREAM_LOCK whatever the recursion was.
17678 2005-06-25 Wim Taymans <wim@fluendo.com>
17680 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17681 (gst_basesink_preroll_queue_empty),
17682 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17683 (gst_basesink_event), (gst_basesink_do_sync),
17684 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17685 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17686 (gst_basesink_change_state):
17687 Reworked the base sink, handle event and buffer serialisation
17688 correctly and removed possible deadlock.
17689 Handle EOS correctly.
17691 2005-06-25 Wim Taymans <wim@fluendo.com>
17693 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17694 (gst_pipeline_change_state):
17695 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17696 Allow elements to post EOS in the state change function.
17697 Fix up -launch, make it exit the poll loop when the
17698 pipeline actually changed state.
17699 Fix up warning parsing in -launch.
17701 2005-06-25 Wim Taymans <wim@fluendo.com>
17703 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17704 (gst_tee_sink_activate):
17705 Core takes STREAM_LOCK for us now.
17707 2005-06-25 Wim Taymans <wim@fluendo.com>
17709 * gst/gstelement.c: (gst_element_get_state_func),
17710 (gst_element_set_state):
17711 * gst/gstelement.h:
17712 * gst/gstmessage.c: (gst_message_parse_error),
17713 (gst_message_parse_warning):
17714 Keep track of current target state while performing a state
17715 change so that subclasses can do something interesting.
17716 Fix parsing of warning/error messages when GError is NULL.
17718 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17720 * docs/gst/Makefile.am:
17721 * docs/gst/gstreamer-docs.sgml:
17722 * docs/gst/gstreamer-sections.txt:
17723 * docs/gst/gstreamer.types:
17724 * docs/gst/tmpl/gstbasesink.sgml:
17725 * docs/gst/tmpl/gstbasesrc.sgml:
17726 * docs/gst/tmpl/gstbin.sgml:
17727 * docs/gst/tmpl/gstcompat.sgml:
17728 * docs/gst/tmpl/gstfakesink.sgml:
17729 * docs/gst/tmpl/gstfakesrc.sgml:
17730 * docs/gst/tmpl/gstfilesink.sgml:
17731 * docs/gst/tmpl/gstfilesrc.sgml:
17732 * docs/gst/tmpl/gstindex.sgml:
17733 * docs/manual/appendix-quotes.xml:
17734 * gst/base/gstbasesrc.h:
17735 * gst/elements/gstfakesrc.h:
17736 * gst/gstmessage.h:
17737 start pulling in base classes and elements in our docs
17739 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17741 * docs/gst/Makefile.am:
17742 * docs/libs/Makefile.am:
17743 fixed make distcheck with gtk-doc 1.3
17745 2005-06-23 Wim Taymans <wim@fluendo.com>
17747 * gst/gstelement.c: (gst_element_get_state_func),
17748 (gst_element_set_state), (gst_element_change_state):
17749 When the state did not change, also report NO_PREROLL
17752 2005-06-23 Wim Taymans <wim@fluendo.com>
17754 * gst/gstpad.c: (gst_pad_event_default):
17755 * gst/gstqueue.c: (gst_queue_loop):
17756 No unsafe task pausing please.
17758 2005-06-23 Wim Taymans <wim@fluendo.com>
17760 * gst/schedulers/threadscheduler.c:
17761 (gst_thread_scheduler_task_start),
17762 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17763 Ref the task before pushing it on the threadpool. This
17764 makes sure that we have a ref when the threadfunction is
17767 2005-06-23 Andy Wingo <wingo@pobox.com>
17769 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17770 offset is greater than the file's size.
17772 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17773 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17774 * gst/gstobject.c (gst_object_class_init): Make the class lock
17775 recursive. Wim won't let me drop deep_notify. Decodebin works
17776 again, whoopdy doo.
17778 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17779 internal pad, and hacks accordingly. Doesn't do it on the target
17780 pad because we change its caps. Probably catches all cases of
17782 (gst_ghost_pad_set_property): Connect to notify::caps as
17785 * tests/network-clock.scm (plot-simulation): Pipe data to the
17786 elite python skript.
17788 * tests/network-clock-utils.scm (define-parameter): New macro,
17789 defines a parameter that can be set via the command line.
17790 (set-parameter!, parse-parameter-arguments): Command line args
17793 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17796 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17798 * gst/elements/gsttypefindelement.c:
17799 (gst_type_find_element_handle_event):
17800 Don't restart typefinding on a discont.
17801 * gst/gstelement.c: (gst_element_set_state):
17802 Debug spelling fix.
17803 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17804 Allow changing mode of an active pad.
17805 Debug output fixes.
17806 * gst/registries/gstlibxmlregistry.c: (load_feature):
17807 Don't cast a static pad template to a normal pad template.
17809 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17811 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17812 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17813 remove gst_strtoll completely, since it didn't actually do
17814 anything more than what g_ascii_strtoull already does.
17815 check for range errors when deserializing
17816 do a cast for the unsigned cases; but further fixing needs
17817 a decision on what the interpretation of "(int)" and
17818 deserialization should be for values that fall outside the
17819 type's boundaries (ie, refuse, or interpret as casting)
17821 2005-06-23 Wim Taymans <wim@fluendo.com>
17823 * check/Makefile.am:
17824 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17825 * docs/design/part-live-source.txt:
17826 * docs/design/part-states.txt:
17827 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17828 (gst_basesrc_set_live), (gst_basesrc_is_live),
17829 (gst_basesrc_get_range), (gst_basesrc_activate),
17830 (gst_basesrc_change_state):
17831 * gst/base/gstbasesrc.h:
17832 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17833 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17834 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17835 * gst/gstelement.c: (gst_element_get_state_func),
17836 (gst_element_set_state):
17837 * gst/gstelement.h:
17839 * tools/gst-launch.c: (event_loop), (main):
17840 Added support for live sources and other elements that
17842 Updated design docs, added live-source design doc.
17843 Implemented live source functionality in basesrc
17844 Fix error condition in _bin_get_state()
17845 Implement live source handling in -launch.
17846 Added check for live sources.
17847 Fixed case in GstBin where elements were changed state
17851 2005-06-23 Andy Wingo <wingo@pobox.com>
17853 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17854 borken refcounting.
17856 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17857 gst_caps_replace takes care of this for us.
17859 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17860 gst_pad_set_caps on the target, not just its setcaps() function.
17862 * tests/network-clock.scm:
17863 * tests/network-clock-utils.scm: A network clock simulator.
17864 Something of an algorithmic testbed before doing something in C.
17866 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17868 * check/Makefile.am:
17869 * check/gst/capslist.h:
17870 copy over from 0.8, and add two with bitmasks specified with
17872 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17873 add test to parse everything from capslist.h
17874 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17876 add test for structure deserialization
17877 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17878 add tests for deserialization of strings to int types
17879 * gst/gststructure.c: (gst_structure_nth_field_name):
17880 * gst/gststructure.h:
17881 add a way to get the name of a field referenced by index
17882 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17883 instead of checking if the resulting long long lies between
17884 min and max, we check if the long long would fit into
17885 a number of bytes for the final type.
17886 This fixes cases where a string represents 2^32 - 1, which
17887 when cast to int would be the (valid) -1, but is bigger than
17890 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17892 * gst/parse/grammar.y:
17893 add a log line for type deserialization
17895 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17897 * check/gst/gstvalue.c: (START_TEST):
17898 * gst/gstvalue.c: (gst_value_deserialize):
17899 return long long, not int, so gint64 deserialization actually
17900 works. Is there any flag that makes the compiler check this ?
17903 2005-06-22 Wim Taymans <wim@fluendo.com>
17906 Added convenience macros for setting buffers in GValue.
17908 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17910 * check/gst/.cvsignore:
17911 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17912 add a test deserializing int64, and comment part out because
17915 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17917 * check/Makefile.am:
17918 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17919 * testsuite/Makefile.am:
17920 * testsuite/caps/Makefile.am:
17921 * testsuite/caps/value_serialize.c:
17922 * testsuite/test_gst_init.c:
17923 move a value_serialize test over
17925 2005-06-20 Wim Taymans <wim@fluendo.com>
17930 * gst/gstvalue.c: (gst_value_compare_buffer),
17931 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17932 (gst_value_compare_flags), (gst_value_serialize_flags),
17933 (gst_value_deserialize_flags), (_gst_value_initialize):
17934 Fix serialisation of buffers, they are not boxed types anymore
17936 2005-06-20 Wim Taymans <wim@fluendo.com>
17938 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17939 Testcase to show error in buffer-on-caps serialisation.
17941 2005-06-20 Andy Wingo <wingo@pobox.com>
17943 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17944 will be adding to later.
17946 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17947 if its socks fill with rocks.
17948 (gst_system_clock_obtain): Set the name on object construction.
17949 Avoid double-checked locking.
17951 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17953 * gst/gsturi.c: (gst_element_make_from_uri):
17954 Fix potential endless loop.
17956 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17958 * check/Makefile.am:
17960 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17962 move over from testsuite dir and clean up
17965 * testsuite/Makefile.am:
17966 * testsuite/tags/.cvsignore:
17967 * testsuite/tags/Makefile.am:
17968 * testsuite/tags/merge.c:
17969 remove testsuite/tags
17971 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17973 * docs/gst/gstreamer-sections.txt:
17974 * docs/gst/tmpl/gstenumtypes.sgml:
17975 * win32/gstenumtypes.c:
17976 clean up documentation build a little
17978 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17980 * check/gstcheck.h:
17981 add macros for checking refcounts on objects and caps
17982 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17983 add some more unit tests
17984 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17985 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17986 fix leaked refcounts (I hope :)) so unittest works
17990 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17992 * configure.ac: back to HEAD
17994 === release 0.9.1 ===
17996 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
18002 2005-06-17 Andy Wingo <wingo@pobox.com>
18004 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
18005 assert; it's always possible that the pad gets deactivated in
18006 between the checks in gstpad.c and the implementation. Rely on
18007 finish_preroll() to return a FLUSHING or similar instead of on the
18010 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
18011 clock and post an EOS message if we come out of finish_preroll in
18014 2005-06-16 David Schleef <ds@schleef.org>
18016 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18017 (gst_capsfilter_set_property): Allow NULL as possible value
18018 for filter_caps property, indicating GST_CAPS_ANY.
18020 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
18022 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
18024 * gst/schedulers/Makefile.am:
18026 * gstreamer.spec.in:
18029 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
18031 * gstreamer.spec.in:
18034 2005-06-08 Andy Wingo <wingo@pobox.com>
18036 * gst/gstutils.c: RPAD fixes all around.
18037 (gst_element_link_pads): Refcounting fixes.
18039 * tools/gst-inspect.c:
18040 * tools/gst-xmlinspect.c:
18042 * gst/base/gsttypefindhelper.c:
18043 * gst/base/gstbasesink.c:
18044 * gst/gstqueue.c: RPAD fixes.
18046 * gst/gstghostpad.h:
18047 * gst/gstghostpad.c: New ghost pad implementation as full proxy
18048 pads. The tricky thing is they provide both source and sink
18049 interfaces, since they proxy the internal pad for the external
18050 pad, and vice versa. Implement with lower-level ProxyPad objects,
18051 with the interior proxy pad as a child of the exterior ghost pad.
18052 Should write a doc on this.
18054 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
18055 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
18058 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
18059 pads are real pads. No ghost pads in this file. Not documenting
18060 the myriad s/RPAD/PAD/ and REALIZE fixes.
18061 (gst_pad_class_init): Add properties for "direction" and
18062 "template". Both are construct-only, so they can't change during
18063 the life of the pad. Fixes properly deriving from GstPad.
18064 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
18065 derived objects, just set properties when creating the objects via
18067 (gst_pad_get_parent): Implement as a function, return NULL if the
18068 parent is not an element.
18069 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
18070 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
18072 * gst/gstobject.c (gst_object_class_init): Make name a construct
18073 property. Don't set it in the object init.
18075 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
18076 with UNKNOWN direction.
18077 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
18078 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
18079 (gst_element_remove_pad): Remove ghost-pad special cases.
18080 (gst_element_pads_activate): Remove rpad cruft.
18082 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
18083 catch the pad's-parent-not-an-element case.
18085 * gst/gst.h: Include gstghostpad.h.
18087 * gst/gst.c (init_post): No more real, ghost pads.
18089 * gst/Makefile.am: Add gstghostpad.[ch].
18091 * check/Makefile.am:
18092 * check/gst/gstbin.c:
18093 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
18094 into a bin creates ghost pads, and that the refcounts are right.
18095 Partly moved from gstbin.c.
18097 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18099 * check/gst-libs/.cvsignore:
18100 * check/gst/.cvsignore:
18101 * check/pipelines/.cvsignore:
18103 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
18104 (START_TEST), (cleanup_suite), (main):
18105 add some tests related to cleanup after running pipelines
18107 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18109 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
18110 add a testsuite for GstBuffer
18112 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
18114 * gst/gstminiobject.h:
18115 add defines for accessing the refcount
18117 2005-06-03 Stefan Kost <ensonic@users.sf.net>
18119 * Makefile.am: added support for html unit test coverage reports
18121 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
18123 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18124 Free existing caps if the capsfilter changes. Add a FIXME about
18125 setting those caps on the pads.
18127 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
18128 Before adding a ghost pad to a parent bin, check that there isn't
18129 already one for the element on the bin. Prevents infinite recursion
18130 when using decodebin in parse pipelines. Andy says he'll rewrite the
18131 way this works anyway, so ignore the hack.
18133 2005-06-02 Andy Wingo <wingo@pobox.com>
18135 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
18136 file size, pass it on to the type find helper.
18138 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
18139 segment_start and segment_end properly according to the seek
18140 method. Segment_end is still a bit flaky because offset can be
18141 negative for CUR and END cases, but it takes -1 as an "unset"
18144 2005-06-02 Wim Taymans <wim@fluendo.com>
18146 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18147 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18148 (gst_basesink_activate):
18149 * gst/base/gstbasesink.h:
18150 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18151 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18152 (gst_pad_query), (gst_pad_start_task):
18154 * gst/gstqueue.c: (gst_queue_bufferalloc),
18155 (gst_queue_handle_sink_event), (gst_queue_chain):
18156 Bufferalloc: return GstFlowReturn to more accuratly report
18157 why allocation failed.
18159 2005-06-02 Wim Taymans <wim@fluendo.com>
18161 * gst/gstpipeline.c: (gst_pipeline_send_event):
18162 Take snapshot of state without blocking.
18164 2005-06-02 Wim Taymans <wim@fluendo.com>
18166 * docs/design/part-TODO.txt:
18167 * docs/design/part-caps.txt:
18168 * docs/design/part-clocks.txt:
18169 * docs/design/part-negotiation.txt:
18170 * docs/design/part-preroll.txt:
18173 2005-05-30 Wim Taymans <wim@fluendo.com>
18175 * gst/elements/gstidentity.c: (gst_identity_event),
18176 (gst_identity_transform), (gst_identity_get_property):
18177 Protect last_message property as it is accessed from
18180 2005-05-30 Wim Taymans <wim@fluendo.com>
18182 * gst/gstelement.c: (gst_element_init),
18183 (gst_element_pads_activate), (gst_element_change_state):
18184 Slicker pad activation code.
18186 2005-05-30 Wim Taymans <wim@fluendo.com>
18189 * gst/gstelement.h:
18190 * gst/gstelementfactory.h:
18192 Move elementfactory methods to separate .h file.
18194 2005-05-30 Wim Taymans <wim@fluendo.com>
18196 * docs/design/part-overview.txt:
18197 * gst/gstsystemclock.h:
18198 Small typo fixes, doc updates.
18200 2005-05-30 Wim Taymans <wim@fluendo.com>
18202 * gst/gst.c: (gst_init_get_popt_table), (init_post),
18203 (init_popt_callback):
18204 Remove cpu-opt flag.
18206 2005-05-30 Wim Taymans <wim@fluendo.com>
18208 * gst/gstbuffer.c: (gst_subbuffer_finalize),
18209 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18211 Avoid typechecking in places where not needed.
18212 Added accessor for malloc_data.
18214 2005-05-30 Wim Taymans <wim@fluendo.com>
18216 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18217 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18218 (gst_pad_configure_sink), (gst_pad_configure_src),
18219 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18220 (gst_pad_start_task):
18221 Propagate errors from _set_caps() in configure_src/sink
18222 functions instead of returning TRUE.
18223 FLUSH events can travel up and downstream
18226 2005-05-30 Wim Taymans <wim@fluendo.com>
18228 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18229 (gst_basesink_activate):
18230 Handle EOS in preroll.
18232 2005-05-30 Wim Taymans <wim@fluendo.com>
18234 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18235 (gst_queue_loop), (gst_queue_handle_src_event):
18236 Remove old pieces of code
18237 Flushing the queue in an upstream event is a very bad idea.
18239 2005-05-26 Andy Wingo <wingo@pobox.com>
18241 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18242 gst_value_set_mini_object so as to add a ref on the object (which
18243 will be removed when the value is unset).
18245 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18246 arg type in ::handoff.
18248 * gst/gstelement.c (gst_element_change_state): Also deactivate
18249 pads in READY->NULL, just in case the element didn't make it to
18250 PAUSED. Wingo tested, Wim approved.
18252 2005-05-26 Wim Taymans <wim@fluendo.com>
18254 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18255 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18256 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18257 A flushing pad cannot be used to alloc_buffer from.
18259 2005-05-26 Wim Taymans <wim@fluendo.com>
18261 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18262 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18263 (gst_bus_source_dispatch), (gst_bus_source_finalize),
18264 (gst_bus_create_watch), (gst_bus_add_watch_full):
18266 Implement a real GSource and use g_main_context_wakeup() to
18267 signal new messages instead of the socketpair.
18269 2005-05-25 Wim Taymans <wim@fluendo.com>
18271 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18272 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18273 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18274 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18275 (gst_pad_send_event), (gst_pad_start_task):
18276 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18277 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18278 (gst_queue_sink_activate), (gst_queue_src_activate),
18279 (gst_queue_change_state):
18281 Fix state changes for non sinks. We now change sinks, then elements
18282 with unconnected srcpads, then the rest.
18283 More efficient queue unlocking in flush and state changes.
18284 Set the pad activate mode even if it does not have an activate
18287 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18289 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18290 Don't go in pull mode for non-seekable sources.
18291 * gst/elements/gsttypefindelement.h:
18292 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18293 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18294 (free_entry), (stop_typefinding),
18295 (gst_type_find_element_handle_event), (find_peek),
18296 (gst_type_find_element_chain), (do_pull_typefind),
18297 (gst_type_find_element_change_state):
18298 Allow typefinding (w/o seeking) in push-mode, simplified version
18299 of what was in 0.8.
18300 * gst/gstutils.c: (gst_buffer_join):
18302 gst_buffer_join() from 0.8.
18304 2005-05-25 Wim Taymans <wim@fluendo.com>
18306 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18307 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18308 (gst_pad_send_event), (gst_pad_start_task):
18309 Disable attempt at mode switching until it is figured out.
18311 2005-05-25 Wim Taymans <wim@fluendo.com>
18313 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18314 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18315 (gst_basesink_finish_preroll), (gst_basesink_chain),
18316 (gst_basesink_loop), (gst_basesink_activate),
18317 (gst_basesink_change_state):
18318 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18319 (gst_basesrc_get_range), (gst_basesrc_loop),
18320 (gst_basesrc_activate):
18321 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18322 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18323 (gst_real_pad_init), (gst_real_pad_set_property),
18324 (gst_real_pad_get_property), (gst_pad_set_active),
18325 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18326 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18327 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18328 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18329 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18330 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18331 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18332 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18333 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18334 (gst_pad_stop_task):
18336 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18337 (gst_queue_loop), (gst_queue_src_activate):
18338 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18339 (gst_task_get_state):
18341 * gst/schedulers/threadscheduler.c:
18342 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18343 Implement gst_pad_pause/start/stop_task(), take STREAM lock
18345 Remove ACTIVE pad flag, use FLUSHING everywhere
18346 Added _pad_chain(), _pad_get_range() to call chain/getrange
18348 Add locks around IS_FLUSHING when reading.
18349 Take STREAM lock in chain(), get_range() functions so plugins
18350 don't need to take it anymore.
18354 2005-05-25 Wim Taymans <wim@fluendo.com>
18356 * tools/gst-launch.c: (event_loop):
18357 Unref message after using its contents instead of
18360 2005-05-24 Wim Taymans <wim@fluendo.com>
18362 * docs/design/draft-ghostpads.txt:
18363 * docs/design/draft-push-pull.txt:
18364 * docs/design/draft-query.txt:
18365 * docs/design/part-overview.txt:
18366 Docs updates, added general overview doc.
18368 2005-05-21 David Schleef <ds@schleef.org>
18370 * docs/gst/tmpl/old/GstBin.sgml:
18371 * docs/gst/tmpl/old/GstBuffer.sgml:
18372 * docs/gst/tmpl/old/GstCaps.sgml:
18373 * docs/gst/tmpl/old/GstClock.sgml:
18374 * docs/gst/tmpl/old/GstCompat.sgml:
18375 * docs/gst/tmpl/old/GstData.sgml:
18376 * docs/gst/tmpl/old/GstElement.sgml:
18377 * docs/gst/tmpl/old/GstEvent.sgml:
18378 * docs/gst/tmpl/old/GstIndex.sgml:
18379 * docs/gst/tmpl/old/GstStructure.sgml:
18380 * docs/gst/tmpl/old/GstTag.sgml:
18381 * docs/gst/tmpl/old/cothreads.sgml:
18382 * docs/gst/tmpl/old/cothreads_compat.sgml:
18383 * docs/gst/tmpl/old/gettext.sgml:
18384 * docs/gst/tmpl/old/gobject2gtk.sgml:
18385 * docs/gst/tmpl/old/grammar.tab.sgml:
18386 * docs/gst/tmpl/old/gst-i18n-app.sgml:
18387 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18388 * docs/gst/tmpl/old/gst_private.sgml:
18389 * docs/gst/tmpl/old/gstaggregator.sgml:
18390 * docs/gst/tmpl/old/gstarch.sgml:
18391 * docs/gst/tmpl/old/gstatomic_impl.sgml:
18392 * docs/gst/tmpl/old/gstbufferstore.sgml:
18393 * docs/gst/tmpl/old/gstdata_private.sgml:
18394 * docs/gst/tmpl/old/gstdisksink.sgml:
18395 * docs/gst/tmpl/old/gstdisksrc.sgml:
18396 * docs/gst/tmpl/old/gstelementfactory.sgml:
18397 * docs/gst/tmpl/old/gstextratypes.sgml:
18398 * docs/gst/tmpl/old/gstfakesink.sgml:
18399 * docs/gst/tmpl/old/gstfakesrc.sgml:
18400 * docs/gst/tmpl/old/gstfdsink.sgml:
18401 * docs/gst/tmpl/old/gstfdsrc.sgml:
18402 * docs/gst/tmpl/old/gstfilesink.sgml:
18403 * docs/gst/tmpl/old/gstfilesrc.sgml:
18404 * docs/gst/tmpl/old/gsthttpsrc.sgml:
18405 * docs/gst/tmpl/old/gstidentity.sgml:
18406 * docs/gst/tmpl/old/gstindexfactory.sgml:
18407 * docs/gst/tmpl/old/gstmarshal.sgml:
18408 * docs/gst/tmpl/old/gstmd5sink.sgml:
18409 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18410 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18411 * docs/gst/tmpl/old/gstpadtemplate.sgml:
18412 * docs/gst/tmpl/old/gstpipefilter.sgml:
18413 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18414 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18415 * docs/gst/tmpl/old/gstshaper.sgml:
18416 * docs/gst/tmpl/old/gstspider.sgml:
18417 * docs/gst/tmpl/old/gstspideridentity.sgml:
18418 * docs/gst/tmpl/old/gststatistics.sgml:
18419 * docs/gst/tmpl/old/gsttee.sgml:
18420 * docs/gst/tmpl/old/gsttimecache.sgml:
18421 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18422 * docs/gst/tmpl/old/gstxmlregistry.sgml:
18423 * docs/gst/tmpl/old/gthread-cothreads.sgml:
18424 * docs/gst/tmpl/old/types.sgml:
18425 I didn't intend to add these or check them in.
18427 2005-05-19 David Schleef <ds@schleef.org>
18429 * configure.ac: Use -no-common everywhere. In a sane world, it
18430 would be the default in libtool, because without it, you can't
18431 build DLLs on Windows.
18432 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18433 * docs/gst/gstreamer-sections.txt:
18434 * docs/gst/tmpl/gstcpu.sgml:
18435 * docs/gst/tmpl/gstdata.sgml:
18436 * docs/gst/tmpl/gstthread.sgml:
18438 2005-05-19 David Schleef <ds@schleef.org>
18440 * gst/gstminiobject.c: (gst_value_set_mini_object),
18441 (gst_value_take_mini_object), (gst_value_get_mini_object):
18442 * gst/gstminiobject.h: Add GValue set/get functions.
18444 2005-05-19 Wim Taymans <wim@fluendo.com>
18446 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18447 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18448 (gst_subbuffer_init), (gst_buffer_is_span_fast):
18450 * gst/gstbus.c: (gst_bus_post):
18451 * gst/gstelement.c: (gst_element_get_random_pad):
18452 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18453 Make subbufer unref the parent in finalize.
18454 some more debugging info.
18457 2005-05-19 Wim Taymans <wim@fluendo.com>
18459 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18460 (gst_basesink_init), (gst_basesink_finalize),
18461 (gst_basesink_activate), (gst_basesink_change_state):
18462 Don't free preroll queue too early.
18464 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18468 Hi, I'm outdated. Please shoot me.
18470 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18472 * gst/gstpipeline.c: (gst_pipeline_send_event):
18473 Do not access variables after they have been deleted.
18475 2005-05-19 Wim Taymans <wim@fluendo.com>
18477 * tools/gst-inspect.c: (print_plugin_features):
18478 A plugin feature does unfortunatly not use the
18481 2005-05-18 Wim Taymans <wim@fluendo.com>
18483 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18484 Port _span() functions to new subbuffers.
18486 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18488 * gst/gstbin.c: (gst_bin_add_func):
18489 Fix clock settery in bins when adding kids after the clock has
18492 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18494 * gst/elements/gstidentity.c: (gst_identity_class_init):
18495 Workaround until signals support GstMiniObject.
18497 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18500 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18502 2005-05-18 Wim Taymans <wim@fluendo.com>
18504 * gst/base/Makefile.am:
18505 * gst/base/gstadapter.c: (gst_adapter_base_init),
18506 (gst_adapter_class_init), (gst_adapter_init),
18507 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18508 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18509 (gst_adapter_flush), (gst_adapter_available),
18510 (gst_adapter_available_fast):
18511 * gst/base/gstadapter.h:
18512 Ported and added adapter to the base classes.
18514 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18517 * gst/gstmessage.c:
18518 Make sure the class is reffed/unreffed once before threads can be
18519 used. Fixes #304551.
18521 2005-05-17 Wim Taymans <wim@fluendo.com>
18523 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18524 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18525 * gst/gstminiobject.c: (gst_mini_object_get_type),
18526 (gst_mini_object_free):
18527 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18528 (gst_pad_push), (gst_pad_push_event):
18529 * gst/gstqueue.c: (gst_queue_change_state):
18530 Don't queue buffers in basesink when we are flushing.
18531 Unref buffer when flushing in basesink.
18532 Flush queue when going to READY
18533 Unref buffer when _push() returns an error.
18534 Don't free MiniObject instance when refcount is incremented
18535 in _finalize() so that we can recover objects.
18537 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18539 * docs/manual/advanced-schedulers.xml:
18540 * docs/manual/appendix-checklist.xml:
18541 * docs/pwg/advanced-clock.xml:
18542 * docs/pwg/advanced-interfaces.xml:
18543 * docs/pwg/advanced-request.xml:
18544 * docs/pwg/advanced-types.xml:
18545 * docs/pwg/intro-preface.xml:
18546 * examples/plugins/example.c: (gst_example_get_type),
18547 (gst_example_class_init), (gst_example_chain),
18548 (gst_example_set_property), (gst_example_get_property),
18549 (gst_example_change_state), (plugin_init):
18550 * examples/plugins/example.h:
18553 2005-05-17 Wim Taymans <wim@fluendo.com>
18555 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18556 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18557 * gst/gstqueue.c: (gst_queue_change_state):
18558 Clear queue when going to READY.
18559 Remove IN_SETCAPS flag too.
18561 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18563 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18564 Remove implicit cast from gboolean to GstElementStateReturn;
18565 make sure we still return failure in paused => ready case if
18566 the parent class fails to change state and our own stop
18569 2005-05-17 Wim Taymans <wim@fluendo.com>
18571 * tools/gst-launch.c: (event_loop):
18572 Message was unreffed too soon.
18574 2005-05-16 Andy Wingo <wingo@pobox.com>
18576 * gst/gstbin.c (sink_iterator_filter): Err... um...
18578 * check/gst/gstbin.c (test_ghost_pads): New test for the
18579 ghosting-if-elements-not-in-same-bin behavior.
18581 2005-05-16 David Schleef <ds@schleef.org>
18583 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18584 accessing refcount directly.
18586 2005-05-15 David Schleef <ds@schleef.org>
18588 * check/Makefile.am: remove GstData checks
18589 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18590 * gst/Makefile.am: add miniobject, remove data
18591 * gst/gst.h: add miniobject, remove data
18592 * gst/gstdata.c: remove
18593 * gst/gstdata.h: remove
18594 * gst/gstdata_private.h: remove
18595 * gst/gsttypes.h: remove GstEvent and GstMessage
18596 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18597 * gst/gstmarshal.list: change BOXED -> OBJECT
18599 Implement GstMiniObject.
18600 * gst/gstminiobject.c:
18601 * gst/gstminiobject.h:
18603 Modify to be subclasses of GstMiniObject.
18604 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18605 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18606 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18607 (gst_subbuffer_get_type), (gst_subbuffer_init),
18608 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18611 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18612 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18613 (_gst_event_copy), (gst_event_new):
18615 * gst/gstmessage.c: (_gst_message_initialize),
18616 (gst_message_get_type), (gst_message_class_init),
18617 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18618 (gst_message_new), (gst_message_new_error),
18619 (gst_message_new_warning), (gst_message_new_tag),
18620 (gst_message_new_state_changed), (gst_message_new_application):
18621 * gst/gstmessage.h:
18622 * gst/gstprobe.c: (gst_probe_perform),
18623 (gst_probe_dispatcher_dispatch):
18625 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18626 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18627 (_gst_query_copy), (gst_query_new):
18629 Update elements for GstData -> GstMiniObject changes
18631 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18632 (gst_queue_chain), (gst_queue_loop):
18633 * gst/elements/gstbufferstore.c:
18634 (gst_buffer_store_add_buffer_func),
18635 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18636 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18637 (gst_fakesink_render):
18638 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18639 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18640 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18641 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18642 (gst_filesrc_create_read):
18643 * gst/elements/gstidentity.c: (gst_identity_class_init):
18644 * gst/elements/gsttypefindelement.c:
18645 (gst_type_find_element_src_event), (free_entry_buffers),
18646 (gst_type_find_element_handle_event):
18647 * libs/gst/dataprotocol/dataprotocol.c:
18648 (gst_dp_header_from_buffer):
18649 * libs/gst/dataprotocol/dataprotocol.h:
18650 * libs/gst/dataprotocol/dp-private.h:
18652 2005-05-15 David Schleef <ds@schleef.org>
18654 * gst/elements/gstelements.c: Don't include headers that were
18657 2005-05-15 David Schleef <ds@schleef.org>
18659 * gst/elements/Makefile.am: Remove some elements that don't
18660 need to be in the core (or even exist at all).
18661 * gst/elements/gstaggregator.c:
18662 * gst/elements/gstaggregator.h:
18663 * gst/elements/gstmd5sink.c:
18664 * gst/elements/gstmd5sink.h:
18665 * gst/elements/gstmultifilesrc.c:
18666 * gst/elements/gstmultifilesrc.h:
18667 * gst/elements/gstpipefilter.c:
18668 * gst/elements/gstpipefilter.h:
18669 * gst/elements/gstshaper.c:
18670 * gst/elements/gstshaper.h:
18671 * gst/elements/gststatistics.c:
18672 * gst/elements/gststatistics.h:
18673 * po/POTFILES.in: Remove above files.
18675 2005-05-14 Andy Wingo <wingo@pobox.com>
18677 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18678 so as to get the refs right.
18679 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18680 unreffing objects that don't pass the filter.
18682 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18683 gst_element_set_bus.
18684 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18685 normal cases, this will destroy the bus.
18687 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18690 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18693 2005-05-13 Andy Wingo <wingo@pobox.com>
18695 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18696 gst_pad_link, call pad_link_maybe_ghosting,
18697 (pad_link_maybe_ghosting): Links pads, making sure that the
18698 elements being linked are in the same bin.
18699 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18700 Helpers for pad_link_maybe_ghosting.
18702 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18705 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18707 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18709 * docs/design/part-element-source.txt:
18712 2005-05-12 Wim Taymans <wim@fluendo.com>
18714 * gst/base/gstbasesink.c: (gst_basesink_init),
18715 (gst_basesink_activate):
18716 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18717 (gst_basesrc_is_seekable):
18718 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18719 (bin_element_is_sink), (gst_bin_change_state):
18720 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18721 * gst/gstelement.h:
18722 Identify sinks by their flag to avoid overly complicated
18724 Do state changes even for elements not reachable from the
18726 BaseSink is a sink now :)
18727 Some more debugging info in the basesrc.
18730 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18732 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18733 Implement _query on a bin, similar to _send_event.
18735 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18737 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18738 Discont event offset format should be GST_FORMAT_BYTES,
18739 not GST_FORMAT_TIME.
18741 2005-05-12 Wim Taymans <wim@fluendo.com>
18743 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18744 Same fix as Ronald's but without the signal.
18746 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18748 * gst/gstutils.c: (gst_element_query_position):
18749 No, an element is not a pad.
18751 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18753 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18754 (gst_bin_get_state):
18755 If a child is removed from a bin while we remove the child from
18756 the bin and while we're retrieving its state, signal this to the
18757 get_state function so we abort the wait (instead of waiting for
18758 a timeout) and can immediately re-iterate over all other elements.
18760 2005-05-12 Wim Taymans <wim@fluendo.com>
18762 * gst/base/Makefile.am:
18763 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18764 (gst_basesrc_start):
18765 * gst/base/gstbasesrc.h:
18766 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18767 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18768 (gst_pushsrc_init), (gst_pushsrc_create):
18769 * gst/base/gstpushsrc.h:
18770 Added is_seekable to BaseSrc
18771 Added simple PushSrc.
18773 2005-05-11 Wim Taymans <wim@fluendo.com>
18775 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18776 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18777 (gst_element_link_pads), (gst_element_query_position),
18778 (gst_element_query_convert), (intersect_caps_func),
18779 (gst_pad_query_position), (gst_pad_query_convert):
18780 Fix refcounting in utils function.
18781 No point in trying to activate a pad when it's added, it could
18782 be added from the state change function and then we deadlock, the
18783 element has to decide what to do.
18785 2005-05-10 Andy Wingo <wingo@pobox.com>
18787 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18788 *all* the arguments.
18790 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18791 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18792 lock (according to the docs -- if this is wrong change the docs).
18794 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18795 flush messages in the NULL state.
18797 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18798 message immediately and return.
18799 (gst_bus_set_flushing): New function. If a bus is flushing, it
18800 flushes out any queued messages and immediately unrefs new
18801 messages. This is so when an element goes to NULL, all of the
18802 unhandled messages coming from it can be freed, and their
18803 references to the element dropped. In other words: message source
18804 ref considered harmful :P
18806 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18807 we're finished with it.
18809 * gst/gstmessage.c (gst_message_new_state_changed):
18811 2005-05-10 Wim Taymans <wim@fluendo.com>
18813 * gst/gstvalue.c: (gst_value_compare_flags),
18814 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18815 (_gst_value_initialize):
18816 Added flags serialize/deserialize/compare code.
18818 2005-05-09 Andy Wingo <wingo@pobox.com>
18820 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18821 Intersect the peer's caps with our caps.
18823 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18825 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18826 * gst/elements/gsttypefindelement.c: (find_peek):
18827 Handle negative offsets better. Fixes decodebin.
18829 2005-05-09 Wim Taymans <wim@fluendo.com>
18831 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18832 (gst_base_transform_event):
18833 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18834 Implement accept_caps.
18835 Fix silly lock/unlock mismatch in base class.
18837 2005-05-09 Wim Taymans <wim@fluendo.com>
18839 * docs/design/draft-push-pull.txt:
18840 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18841 * gst/elements/gstfilesink.c: (gst_filesink_init),
18842 (gst_filesink_query):
18843 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18844 (gst_type_find_handle_src_query), (find_element_get_length):
18845 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18846 * gst/gstelement.h:
18847 * gst/gstmessage.c:
18848 * gst/gstmessage.h:
18849 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18850 (gst_real_pad_get_caps_unlocked),
18851 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18852 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18853 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18854 (gst_real_pad_dispose), (gst_real_pad_finalize),
18855 (gst_pad_load_and_link), (gst_pad_save_thyself),
18856 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18857 (gst_pad_check_pull_range), (gst_pad_pull_range),
18858 (gst_pad_template_get_type), (gst_pad_template_class_init),
18859 (gst_pad_template_init), (gst_pad_template_dispose),
18860 (name_is_valid), (gst_static_pad_template_get),
18861 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18862 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18863 (gst_pad_get_element_private), (gst_pad_start_task),
18864 (gst_pad_pause_task), (gst_pad_stop_task),
18865 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18866 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18867 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18868 (gst_ghost_pad_new):
18870 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18871 (gst_query_new_position), (gst_query_set_position),
18872 (gst_query_parse_position), (gst_query_new_convert),
18873 (gst_query_set_convert), (gst_query_parse_convert):
18875 * gst/gstqueryutils.c:
18876 * gst/gstqueryutils.h:
18877 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18878 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18879 (gst_queue_handle_src_query):
18880 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18881 (gst_element_query_position), (gst_element_query_convert),
18882 (intersect_caps_func), (gst_pad_query_position),
18883 (gst_pad_query_convert):
18885 * tools/gst-inspect.c: (print_pad_info):
18886 * tools/gst-xmlinspect.c: (print_element_info):
18887 Remove old query functions. Ported old code.
18888 Added position/convert helper functions to gstutils.
18889 Reordered gstpad.c code, grouping relevant things.
18890 Remove gst_message_new(), always need to speficy a specific
18894 2005-05-09 Andy Wingo <wingo@pobox.com>
18896 * gst/gstiterator.h: Add some includes.
18898 * gst/gstqueryutils.h: Include more headers.
18901 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18902 some uses of gst_pad_query.
18904 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18905 NULL out parameters.
18906 (gst_query_new_position): New proc, allocates a new position
18909 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18910 gstqueryutils.c to the build.
18912 * gst/gststructure.c (gst_structure_set_valist): Implement with
18913 the generic G_VALUE_COLLECT.
18915 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18917 * gst/Makefile.am: (gst_headers):
18918 Added gstqueryutils.h to the list of headers to install, that was
18919 a 'nachty' move wingo :)
18921 2005-05-06 Andy Wingo <wingo@pobox.com>
18924 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18925 GstData, init a memchunk.
18926 (standard_definitions): Add a few query types, deprecate a few.
18927 (gst_query_get_type): New proc.
18928 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18930 (gst_query_new_application, gst_query_get_structure): New public
18933 * docs/design/draft-query.txt: Removed LINKS from the query types,
18934 because all the rest can be dispatched to other pads -- seemed
18935 ugly to have a query that couldn't be dispatched. internal_links
18936 is fine as a pad method.
18938 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18939 in gstpad.c, but maintain binary compatibility for the moment.
18940 Will fix before 0.9 is out.
18942 * gst/gstqueryutils.c:
18943 * gst/gstqueryutils.h: New files, implement 3 methods for each
18944 query type: parse_query, parse_response, and set. Probably need an
18947 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18949 * gst/elements/gstfilesink.c (gst_filesink_query2):
18950 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18951 query_types, and formats methods.
18953 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18954 (gst_pad_set_query2_function): New functions.
18955 (gst_real_pad_init): Set query2_default as the default query2
18956 function. Basically just dispatches to internally linked pads.
18960 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18961 without using the atomic operations. Only one thread can possibly
18962 be accessing the data at this point. Changed so as to avoid
18963 gst_atomic operations.
18965 2005-05-06 Wim Taymans <wim@fluendo.com>
18967 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18968 Also set caps if we use the fallback buffer alloc.
18970 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18972 * docs/gst/Makefile.am:
18973 * docs/gst/gstreamer-docs.sgml:
18974 * docs/gst/gstreamer-sections.txt:
18975 * docs/gst/tmpl/gstatomic.sgml:
18976 * docs/gst/tmpl/gstmemchunk.sgml:
18977 * testsuite/elements/struct_i386.h:
18978 * win32/GStreamer.vcproj:
18980 Purge GstAtomic stuff from docs and win32 makefiles as well
18982 2005-05-06 Wim Taymans <wim@fluendo.com>
18984 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18985 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18986 * gst/gstpad.c: (gst_pad_peer_get_caps):
18987 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18988 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18989 (gst_queue_src_activate), (gst_queue_change_state):
18991 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18992 (intersect_caps_func):
18993 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18994 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18995 Some fixes for the peer_get_caps() change.
18997 2005-05-06 Wim Taymans <wim@fluendo.com>
18999 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
19000 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
19001 (gst_basesink_activate):
19002 Actually do something with error codes returned from the push
19005 2005-05-06 Wim Taymans <wim@fluendo.com>
19007 * docs/design/part-element-sink.txt:
19008 * docs/design/part-element-source.txt:
19009 * gst/base/gstbasesink.c: (gst_basesink_class_init),
19010 (gst_basesink_event), (gst_basesink_activate):
19011 * gst/base/gstbasesink.h:
19012 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
19013 (gst_basesrc_activate):
19014 * gst/base/gstbasesrc.h:
19015 * gst/gstelement.c: (gst_element_pads_activate):
19016 Some more documentation.
19017 Fixed scheduling decision in _pads_activate().
19019 2005-05-05 Andy Wingo <wingo@pobox.com>
19021 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
19024 2005-05-05 Wim Taymans <wim@fluendo.com>
19026 * gst/base/Makefile.am:
19027 * gst/base/gstbasesink.h:
19028 * gst/base/gstbasesrc.c: (gst_basesrc_init),
19029 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
19030 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
19031 (gst_collectpads_class_init), (gst_collectpads_init),
19032 (gst_collectpads_finalize), (gst_collectpads_new),
19033 (gst_collectpads_set_function), (gst_collectpads_add_pad),
19034 (find_pad), (gst_collectpads_remove_pad),
19035 (gst_collectpads_is_active), (gst_collectpads_collect),
19036 (gst_collectpads_collect_range), (gst_collectpads_start),
19037 (gst_collectpads_stop), (gst_collectpads_peek),
19038 (gst_collectpads_pop), (gst_collectpads_available),
19039 (gst_collectpads_read), (gst_collectpads_flush),
19040 (gst_collectpads_chain):
19041 * gst/base/gstcollectpads.h:
19042 * gst/elements/Makefile.am:
19043 * gst/elements/gstelements.c:
19044 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19045 (gst_fakesink_get_times), (gst_fakesink_event),
19046 (gst_fakesink_preroll), (gst_fakesink_render):
19047 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19048 (gst_filesink_init), (gst_filesink_set_location),
19049 (gst_filesink_open_file), (gst_filesink_close_file),
19050 (gst_filesink_pad_query), (gst_filesink_event),
19051 (gst_filesink_render), (gst_filesink_change_state):
19052 * gst/elements/gstfilesink.h:
19053 Added object to help in making collect pad based elements.
19055 Make event function in sink baseclass return gboolean.
19057 2005-05-05 Wim Taymans <wim@fluendo.com>
19059 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
19060 (gst_bin_get_by_name):
19062 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
19063 (gst_clock_finalize):
19064 * gst/gstdata.c: (gst_data_replace):
19066 * gst/gstelement.c: (gst_element_request_pad),
19067 (gst_element_pads_activate):
19068 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
19069 (gst_object_unref):
19070 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19071 (gst_pad_set_checkgetrange_function),
19072 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
19073 (gst_pad_check_pull_range), (gst_pad_pull_range),
19074 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19075 (gst_pad_pause_task), (gst_pad_stop_task):
19076 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19077 (gst_element_request_pad), (gst_pad_proxy_getcaps):
19078 Fix name lookup in GstBin.
19079 Added _data_replace() function and _buffer_replace()
19080 Use finalize method to clean up clock.
19081 Fix refcounting on request pads.
19082 Fix pad schedule mode error.
19083 Some more object refcounting debug info,
19086 2005-05-04 Andy Wingo <wingo@pobox.com>
19088 * check/Makefile.am:
19089 * docs/gst/tmpl/gstatomic.sgml:
19090 * docs/gst/tmpl/gstplugin.sgml:
19091 * gst/base/gstbasesink.c: (gst_basesink_activate):
19092 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
19093 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
19094 (gst_basesrc_query), (gst_basesrc_set_property),
19095 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
19096 (gst_basesrc_activate):
19097 * gst/base/gstbasesrc.h:
19098 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
19099 (gst_base_transform_src_activate):
19100 * gst/elements/gstelements.c:
19101 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19102 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
19103 * gst/elements/gsttee.c: (gst_tee_sink_activate):
19104 * gst/elements/gsttypefindelement.c: (find_element_get_length),
19105 (gst_type_find_element_checkgetrange),
19106 (gst_type_find_element_activate):
19107 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
19108 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
19109 (gst_caps_load_thyself):
19110 * gst/gstelement.c: (gst_element_pads_activate),
19111 (gst_element_save_thyself), (gst_element_restore_thyself):
19112 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
19113 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
19115 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
19116 (gst_xml_parse_file), (gst_xml_parse_memory),
19117 (gst_xml_get_element), (gst_xml_make_element):
19118 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19119 (_file_index_id_save_xml), (gst_file_index_commit):
19120 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
19121 (read_enum), (load_pad_template), (load_feature), (load_plugin),
19123 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
19124 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
19125 * tools/gst-complete.c: (main):
19126 * tools/gst-compprep.c: (main):
19127 * tools/gst-inspect.c: (print_element_properties_info):
19128 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
19129 * tools/gst-xmlinspect.c: (print_element_properties):
19132 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
19134 * gst/gstplugin.c: (gst_plugin_check_module),
19135 (gst_plugin_check_file), (gst_plugin_load_file):
19136 apply patch from #172526 to make register work on MacOSX
19138 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19140 * docs/gst/tmpl/gstconfig.sgml:
19141 * gst/gstconfig.h.in:
19142 move documentation for some symbols. Add doc for GST_PTR_FORMAT
19143 * testsuite/debug/printf_extension.c: (main):
19144 Do not use GST_PTR_FORMAT on pointers to types with
19145 sizeof < sizeof(gpointer). Fixes test on 64-bit
19146 * testsuite/elements/property.h:
19147 use correct printf format
19149 2005-05-02 Wim Taymans <wim@fluendo.com>
19151 * docs/design/draft-push-pull.txt:
19152 * docs/design/draft-query.txt:
19153 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19154 (gst_basesrc_start):
19155 Added draft for new query API.
19156 Added draft for better selecting scheduling methods.
19157 Make basesrc ignore length if the subclass does not support
19160 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19163 possible fixes for automake-1.5 - _LIBADD is reserved
19165 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19167 * docs/faq/Makefile.am:
19168 * docs/manual/Makefile.am:
19169 * docs/manuals.mak:
19170 * docs/pwg/Makefile.am:
19172 possible fixes for automake-1.5
19174 2005-04-28 Wim Taymans <wim@fluendo.com>
19176 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19177 (gst_basesink_pad_getcaps), (gst_basesink_init),
19178 (gst_basesink_do_sync):
19179 * gst/gstclock.c: (gst_clock_entry_new):
19180 * gst/gstevent.c: (gst_event_discont_get_value):
19181 * gst/gstpipeline.c: (pipeline_bus_handler),
19182 (gst_pipeline_change_state):
19183 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19184 Better debugging of clocking info.
19185 Allow NULL values when getting discont values.
19187 2005-04-27 Wim Taymans <wim@fluendo.com>
19189 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19190 * check/gst/gstpad.c: (gst_pad_suite):
19191 Increase timeout for checks.
19193 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19195 * check/Makefile.am:
19196 fix the broken rule for cleanup. Apparently this rule is
19197 only needed on FC2, so maybe this warrants further autotool
19200 2005-04-26 Wim Taymans <wim@fluendo.com>
19202 * gst/gsttrashstack.h:
19203 Ooohh. a nasty one! After having a failed pop() from the stack,
19204 it's possible that the stack is empty. In that case, don't
19205 follow the NULL pointer.
19207 2005-04-25 Wim Taymans <wim@fluendo.com>
19209 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19210 (gst_pad_set_checkgetrange_function),
19211 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19212 (gst_pad_check_pull_range), (gst_pad_pull_range),
19213 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19214 (gst_pad_pause_task), (gst_pad_stop_task):
19215 * gst/gstplugin.c: (gst_plugin_load):
19217 Remove gst_library_load as it does more harm than good with
19218 the new g_module flags.
19219 Revert bogus caps template check in pad linking, pad caps
19220 are important when linking not the template, which is more
19221 general than the current caps.
19223 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19225 * gst/autoplug/.cvsignore:
19226 * gst/autoplug/Makefile.am:
19227 * gst/autoplug/gstsearchfuncs.c:
19228 * gst/autoplug/gstsearchfuncs.h:
19229 * gst/autoplug/gstspider.c:
19230 * gst/autoplug/gstspider.h:
19231 * gst/autoplug/gstspideridentity.c:
19232 * gst/autoplug/gstspideridentity.h:
19233 * gst/autoplug/spidertest.c:
19236 2005-04-25 Wim Taymans <wim@fluendo.com>
19238 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19239 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19240 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19241 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19243 Added stubs for unimplemented functions.
19245 2005-04-24 David Schleef <ds@schleef.org>
19247 * gst/gstpad.h: Disable some unimplemented functions. Wim,
19250 2005-04-24 David Schleef <ds@schleef.org>
19252 Convert everything from GstAtomicInt to g_atomic_int_*, and
19257 * gst/gstatomic_impl.h:
19265 * gst/gstdata_private.h:
19269 * gst/gstmessage.c:
19272 * gst/gststructure.c:
19273 * gst/gststructure.h:
19274 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19277 2005-04-24 David Schleef <ds@schleef.org>
19279 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19280 make the regressions tests work. Remove some code that is no
19282 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19283 Disable warning for pads without templates.
19285 2005-04-24 David Schleef <ds@schleef.org>
19287 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
19288 functions that handle filtered links.
19289 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19291 * gst/gstutils.c: Fix/remove utility functions that handle
19294 * gst/gstvalue.c: Add serialization/deserialization of caps
19295 * gst/parse/grammar.y: Ignore filtered caps when linking. This
19296 requires fixing so that the filter caps notation creates
19297 a capsfilter element and sets the filter_caps property. I
19298 think everyone probably wants to keep the shorthand notation.
19299 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19300 * docs/gst/tmpl/gstpad.sgml:
19302 * gst/elements/gstelements.c: Register capsfilter element.
19303 * gst/Makefile.am: fix spacing
19304 * docs/random/ds/0.9-suggested-changes: random
19306 2005-04-23 David Schleef <ds@schleef.org>
19308 * gst/elements/Makefile.am:
19309 * gst/elements/gstcapsfilter.c: New element that acts like an
19310 identity, but filters caps. Will eventually replace filtered
19311 caps in pad linking.
19312 * gst/gstutils.c: (gst_element_create_all_pads): New function
19313 to create all the ALWAYS pads that are registered with an
19314 element class. This functionality should eventually be
19315 merged in with GstElement initialization.
19317 * testsuite/trigger/README: part of trigger test code that should
19318 have been checked in a long time ago.
19320 2005-04-23 David Schleef <ds@schleef.org>
19322 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
19323 needed with new versions of libtool (nobody will confirm this),
19324 and hard to carry around.
19325 * gst/autoplug/Makefile.am:
19326 * gst/base/Makefile.am:
19327 * gst/elements/Makefile.am:
19328 * gst/indexers/Makefile.am:
19329 * gst/schedulers/Makefile.am:
19330 * libs/gst/bytestream/Makefile.am:
19331 * libs/gst/control/Makefile.am:
19332 * libs/gst/dataprotocol/Makefile.am:
19333 * libs/gst/getbits/Makefile.am:
19335 2005-04-21 Wim Taymans <wim@fluendo.com>
19337 * docs/design/draft-push-pull.txt:
19338 * docs/design/part-MT-refcounting.txt:
19339 * docs/design/part-TODO.txt:
19340 * docs/design/part-caps.txt:
19341 * docs/design/part-events.txt:
19342 * docs/design/part-gstbus.txt:
19343 * docs/design/part-gstpipeline.txt:
19344 * docs/design/part-messages.txt:
19345 * docs/design/part-push-pull.txt:
19346 * docs/design/part-query.txt:
19349 2005-04-21 Wim Taymans <wim@fluendo.com>
19351 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19352 (gst_message_new), (gst_message_new_error),
19353 (gst_message_new_warning), (gst_message_new_tag),
19354 (gst_message_new_state_changed), (gst_message_new_application),
19355 (gst_message_get_structure):
19356 * gst/gstmessage.h:
19357 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19358 (gst_structure_copy_conditional):
19359 Use parent refcount in GstMessage to ensure GstStructure
19361 Cleaned up headers a bit.
19364 2005-04-20 Wim Taymans <wim@fluendo.com>
19366 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19367 (gst_basesink_pad_getcaps), (gst_basesink_init),
19368 (gst_basesink_chain_unlocked):
19369 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19370 (gst_type_find_helper):
19371 * gst/elements/gsttypefindelement.c:
19372 (gst_type_find_element_have_type), (gst_type_find_element_init),
19373 (stop_typefinding), (gst_type_find_element_handle_event),
19374 (find_suggest), (gst_type_find_element_chain),
19375 (gst_type_find_element_checkgetrange),
19376 (gst_type_find_element_getrange), (do_typefind),
19377 (gst_type_find_element_activate):
19378 * gst/gstbuffer.c: (_gst_buffer_sub_free),
19379 (gst_buffer_default_free), (gst_buffer_default_copy),
19380 (gst_buffer_set_caps):
19381 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19382 (gst_caps_replace):
19383 * gst/gstmessage.c: (gst_message_new),
19384 (gst_message_new_state_changed):
19385 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19386 (gst_pad_set_checkgetrange_function),
19387 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19388 (gst_pad_set_caps), (gst_pad_check_pull_range),
19389 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19391 * gst/gsttypefind.c: (gst_type_find_register):
19392 Make gst_caps_replace() work like other _replace() functions.
19393 Use _caps_replace() where possible.
19394 Make sure _message_new() initialises its field.
19395 Add gst_static_pad_template_get_caps()
19398 2005-04-18 Andy Wingo <wingo@pobox.com>
19400 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19401 on the peer, not the pad. I think that was a typo. Pass an extra
19402 arg to see if random access is possible. Activate the pads as
19403 PULL_RANGE if possible.
19405 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19407 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
19408 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19411 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19413 * docs/faq/using.xml:
19414 Add note on gstreamer-properties (#154996).
19416 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19418 * docs/random/bbb/optional-properties:
19419 Some analysis on optional properties.
19421 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19423 * docs/gst/tmpl/gstelementfactory.sgml:
19424 * gst/gstelement.h:
19425 * gst/gstelementfactory.c: (gst_element_factory_init),
19426 (gst_element_factory_cleanup), (gst_element_register),
19427 (__gst_element_factory_add_static_pad_template),
19428 (gst_element_factory_get_static_pad_templates),
19429 (gst_element_factory_can_src_caps),
19430 (gst_element_factory_can_sink_caps):
19431 * gst/registries/Makefile.am:
19432 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19433 (gst_xml_registry_class_init), (gst_xml_registry_init),
19434 (gst_xml_registry_new), (gst_xml_registry_set_property),
19435 (gst_xml_registry_get_property), (get_time), (make_dir),
19436 (gst_xml_registry_get_perms_func),
19437 (plugin_times_older_than_recurse), (plugin_times_older_than),
19438 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19439 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19440 (add_to_char_array), (read_string), (read_uint), (read_enum),
19441 (load_pad_template), (load_feature), (load_plugin), (load_paths),
19442 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19443 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19444 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19445 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19446 (gst_xml_registry_rebuild):
19447 * gst/registries/gstlibxmlregistry.h:
19448 * tools/gst-compprep.c: (main):
19449 * tools/gst-inspect.c: (print_pad_templates_info):
19450 * tools/gst-xmlinspect.c: (print_element_info):
19451 Use libxml2 for registry parsing, use staticpadtemplates in
19452 elementfactories. Makes gst_init() +/- 10x faster.
19454 2005-04-12 Wim Taymans <wim@fluendo.com>
19456 * gst/base/Makefile.am:
19457 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19458 (gst_basesink_pad_getcaps), (gst_basesink_init),
19459 (gst_basesink_event), (gst_basesink_change_state):
19460 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19461 (gst_basesrc_init), (gst_basesrc_query),
19462 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19463 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19464 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19465 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19466 (gst_basesrc_stop), (gst_basesrc_activate),
19467 (gst_basesrc_change_state):
19468 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19469 (helper_find_suggest), (gst_type_find_helper):
19470 * gst/base/gsttypefindhelper.h:
19471 * gst/elements/Makefile.am:
19472 * gst/elements/gstelements.c:
19473 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19474 (gst_fakesink_get_times), (gst_fakesink_event),
19475 (gst_fakesink_preroll), (gst_fakesink_render):
19476 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19477 (gst_fakesrc_init), (gst_fakesrc_event_handler),
19478 (gst_fakesrc_get_property), (gst_fakesrc_create),
19479 (gst_fakesrc_start), (gst_fakesrc_stop):
19480 * gst/elements/gstfakesrc.h:
19481 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19482 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19483 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19484 (gst_filesrc_create_read), (gst_filesrc_create),
19485 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19486 (gst_filesrc_start):
19487 * gst/elements/gsttypefindelement.c:
19488 (gst_type_find_element_have_type), (gst_type_find_element_init),
19489 (start_typefinding), (stop_typefinding), (push_buffer_store),
19490 (gst_type_find_element_handle_event),
19491 (gst_type_find_element_chain),
19492 (gst_type_find_element_checkgetrange),
19493 (gst_type_find_element_getrange), (do_typefind),
19494 (gst_type_find_element_activate),
19495 (gst_type_find_element_change_state):
19496 * gst/elements/gsttypefindelement.h:
19497 * gst/gstpipeline.c: (pipeline_bus_handler):
19498 Added typefind helper.
19499 Small preroll fix in the base sink.
19500 Disable typefind code in basesrc.
19501 Crude port of typefindelement.
19505 2005-04-11 Wim Taymans <wim@fluendo.com>
19507 * check/gst/gstbus.c: (gstbus_suite):
19508 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19509 * check/gstcheck.h:
19510 Fix up the timeout so that the test does not fail.
19512 2005-04-06 Wim Taymans <wim@fluendo.com>
19515 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19516 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19517 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19518 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19519 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19520 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19521 (gst_basesrc_stop), (gst_basesrc_activate),
19522 (gst_basesrc_change_state), (basesrc_find_peek),
19523 (basesrc_find_suggest), (gst_basesrc_type_find):
19524 * gst/base/gstbasesrc.h:
19525 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19526 (gst_filesrc_class_init), (gst_filesrc_init),
19527 (gst_filesrc_finalize), (gst_filesrc_set_location),
19528 (gst_filesrc_set_property), (gst_filesrc_get_property),
19529 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19530 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19531 (gst_filesrc_create_read), (gst_filesrc_create),
19532 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19533 * gst/elements/gstfilesrc.h:
19534 * gst/gstelement.c: (gst_element_get_state_func),
19535 (gst_element_lost_state), (gst_element_pads_activate):
19536 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19537 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19538 (gst_pad_pull_range):
19540 More work on the generic source base class, implement seeking,
19542 Make filesrc extend the base source class.
19543 Added gst_pad_set_checkgetrange_function to GstPad.
19545 2005-04-06 Andy Wingo <wingo@pobox.com>
19547 * pkgconfig/gstreamer-base.pc.in:
19548 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19550 * pkgconfig/Makefile.am:
19551 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19553 2005-04-04 Wim Taymans <wim@fluendo.com>
19555 * gst/base/Makefile.am:
19557 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19558 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19559 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19560 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19561 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19562 (gst_basesrc_base_init), (gst_basesrc_class_init),
19563 (gst_basesrc_init), (gst_basesrc_get_formats),
19564 (gst_basesrc_get_query_types), (gst_basesrc_query),
19565 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19566 (gst_basesrc_set_property), (gst_basesrc_get_property),
19567 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19568 (gst_basesrc_loop), (gst_basesrc_activate),
19569 (gst_basesrc_change_state):
19570 * gst/base/gstbasesrc.h:
19571 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19572 (gst_fakesrc_class_init), (gst_fakesrc_init),
19573 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19574 (gst_fakesrc_get_property), (gst_fakesrc_create):
19575 * gst/elements/gstfakesrc.h:
19576 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19577 (gst_filesrc_open_file), (gst_filesrc_loop),
19578 (gst_filesrc_activate), (filesrc_find_peek),
19579 (gst_filesrc_type_find):
19580 Made base source class, make fakesrc extend it.
19581 Add comments to basesink class.
19582 Some filesrc cleanup.
19584 2005-03-31 David Schleef <ds@schleef.org>
19586 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19587 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19588 expected to link against libgstreamer.
19589 * gst/base/Makefile.am: link against libgstreamer
19590 * gst/elements/Makefile.am: same
19592 2005-03-31 Andy Wingo <wingo@pobox.com>
19594 * tests/instantiate/Makefile.am:
19595 * tests/instantiate/caps.c: Add test to test speed of caps copy
19598 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19599 GMemChunk to be fair.
19601 * gst/gsttrashstack.h: Remove warning about using the fallback
19602 trash stack implementation, it's still faster than malloc.
19604 2005-03-30 Andy Wingo <wingo@pobox.com>
19606 * tests/complexity.c: Add a copyright.
19608 2005-03-31 Wim Taymans <wim@fluendo.com>
19610 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19611 (gst_base_transform_class_init), (gst_base_transform_init),
19612 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19613 (gst_base_transform_get_property),
19614 (gst_base_transform_sink_activate),
19615 (gst_base_transform_src_activate),
19616 (gst_base_transform_change_state):
19617 * gst/base/gstbasetransform.h:
19618 * gst/elements/gstidentity.c: (gst_identity_class_init),
19619 (gst_identity_event), (gst_identity_check_perfect),
19620 (gst_identity_transform), (gst_identity_start),
19621 (gst_identity_stop):
19622 Added start/stop methods to transform base class so subclasses
19623 don't need to deal with state changes even.
19625 2005-03-31 Wim Taymans <wim@fluendo.com>
19627 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19628 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19630 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19631 (gst_pad_pull_range):
19632 Added rate to the discont event to prepare for variable speed
19633 and reverse playback.
19635 2005-03-29 David Schleef <ds@schleef.org>
19638 * testsuite/trigger/Makefile.am:
19639 * testsuite/trigger/trigger.c: A little example program to show
19640 how trigger-based elements can work.
19642 2005-03-29 Wim Taymans <wim@fluendo.com>
19644 * gst/base/Makefile.am:
19646 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19647 (gst_basesink_base_init), (gst_basesink_class_init),
19648 (gst_basesink_pad_getcaps), (gst_basesink_init),
19649 (gst_basesink_activate), (gst_basesink_change_state):
19650 * gst/base/gstbasesink.h:
19651 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19652 (gst_base_transform_base_init), (gst_base_transform_finalize),
19653 (gst_base_transform_class_init), (gst_base_transform_init),
19654 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19655 (gst_base_transform_event), (gst_base_transform_getrange),
19656 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19657 (gst_base_transform_set_property),
19658 (gst_base_transform_get_property),
19659 (gst_base_transform_sink_activate),
19660 (gst_base_transform_src_activate),
19661 (gst_base_transform_change_state):
19662 * gst/base/gstbasetransform.h:
19663 * gst/elements/gstidentity.c: (gst_identity_finalize),
19664 (gst_identity_class_init), (gst_identity_init),
19665 (gst_identity_event), (gst_identity_check_perfect),
19666 (gst_identity_transform), (gst_identity_set_property),
19667 (gst_identity_get_property), (gst_identity_change_state):
19668 * gst/elements/gstidentity.h:
19669 * gst/gstelement.c: (gst_element_get_state_func),
19670 (gst_element_lost_state), (gst_element_pads_activate):
19671 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19672 (gst_pad_check_pull_range), (gst_pad_pull_range):
19674 Simplify pad activation.
19675 Added function to check if pull_range can be performed.
19676 Error out when pulling inactive or flushing pads.
19677 Removed const from refcounted types as it does not make sense.
19678 Simplify pad templates in basesink
19679 Added base class for simple 1-to-1 transforms.
19680 Make identity subclass the base transform.
19682 2005-03-29 Andy Wingo <wingo@pobox.com>
19684 * docs/libs/gstreamer-libs-overrides.txt:
19685 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19686 really don't understand what's going on, but like whatever. I want
19689 * docs/gst/Makefile.am:
19690 * docs/libs/Makefile.am: Dist the overrides files.
19692 * check/Makefile.am (clean-local): Remove .libs directories.
19694 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19695 elements to EXTRA_DIST, so po/ files are happy.
19697 * po/POTFILES.in: Er, remove it here.
19699 * po/POTFILES: Remove gstspider.c.
19701 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19703 * docs/libs/gstreamer-libs-docs.sgml:
19704 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19707 * tests/complexity.c (main): Set the length of the preroll queue
19708 on the sinks to prevent a lockup.
19710 * libs/gst/dataprotocol/Makefile.am:
19711 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19712 the same as the one in check/gst-libs/gdp.c.
19714 * po/, docs/gst/: Commit automatic changes to docs and po files.
19716 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19717 the versioned libgstbase.
19719 * check/Makefile.am: Depend on an unversioned gst-register, seems
19720 to make autoconf happier.
19722 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19724 2005-03-28 Wim Taymans <wim@fluendo.com>
19727 * docs/design/part-gstelement.txt:
19728 * docs/design/part-negotiation.txt:
19729 * docs/design/part-preroll.txt:
19730 * docs/design/part-scheduling.txt:
19731 * docs/design/part-states.txt:
19733 * gst/base/Makefile.am:
19735 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19736 (gst_basesink_base_init), (gst_basesink_class_init),
19737 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19738 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19739 (gst_basesink_set_pad_functions),
19740 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19741 (gst_basesink_set_property), (gst_basesink_get_property),
19742 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19743 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19744 (gst_basesink_preroll_queue_push),
19745 (gst_basesink_preroll_queue_empty),
19746 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19747 (gst_basesink_event), (gst_basesink_get_times),
19748 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19749 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19750 (gst_basesink_loop), (gst_basesink_activate),
19751 (gst_basesink_change_state):
19752 * gst/base/gstbasesink.h:
19753 * gst/elements/Makefile.am:
19754 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19755 (gst_fakesink_class_init), (gst_fakesink_init),
19756 (gst_fakesink_set_property), (gst_fakesink_get_property),
19757 (gst_fakesink_get_times), (gst_fakesink_event),
19758 (gst_fakesink_preroll), (gst_fakesink_render),
19759 (gst_fakesink_change_state):
19760 * gst/elements/gstfakesink.h:
19761 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19762 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19763 * gst/gstelement.c: (gst_element_add_pad),
19764 (gst_element_get_state_func), (gst_element_abort_state),
19765 (gst_element_commit_state), (gst_element_lost_state),
19766 (gst_element_set_state), (gst_element_pads_activate):
19767 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19768 * gst/gstpipeline.c: (gst_pipeline_send_event),
19769 (gst_pipeline_change_state):
19770 Added state change code.
19771 Added/updated docs.
19772 Added sink base class, make fakesink extend the base class.
19773 Small cleanups in GstPipeline.
19775 2005-03-26 David Schleef <ds@schleef.org>
19777 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19778 is broken and should be implemented in a different library.
19779 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19780 * gst/gst.h: remove gstcpu.h
19781 * gst/gstcpu.c: remove
19782 * gst/gstcpu.h: remove
19783 * gst/Makefile.am.future: Remove this file. It's ancient.
19785 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19787 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19788 (gst_bin_send_event):
19789 Add default event/set_manager handlers. The set_manager handler
19790 takes care that the manager is distributed over kids that were
19791 already in the bin before the manager was set. The event handler
19792 is a utility virtual function that sends the event over all sinks,
19793 so that gst_element_send_event (bin, event); has the expected
19795 * gst/gstpad.c: (gst_pad_event_default):
19796 Re-install default event handling for discontinuities, so that
19797 seeking works without requiring hacks in applications or extra
19799 * gst/gstpipeline.c: (gst_pipeline_class_init),
19800 (gst_pipeline_send_event):
19801 Half hack, half utility: set a pipeline to PAUSED for seek events,
19802 since that is the only way we can guarantee a/v sync. Means that
19803 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19804 and it "just works".
19806 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19808 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19809 Lock/unlock mismatch.
19811 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19813 * docs/faq/gst-uninstalled:
19814 add gst-plugins-base
19815 * docs/gst/Makefile.am:
19816 don't error out until docs are fixed
19817 * docs/gst/gstreamer.types:
19820 2005-03-22 Wim Taymans <wim@fluendo.com>
19822 * check/Makefile.am:
19823 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19824 * gst/gststructure.c: (gst_structure_set_valist),
19825 (gst_structure_copy_conditional):
19826 Activated more tests.
19827 Added message test.
19828 Added G_TYPE_POINTER to GstStructure.
19831 2005-03-22 Wim Taymans <wim@fluendo.com>
19833 * docs/design/part-TODO.txt:
19834 * docs/design/part-events.txt:
19835 * docs/design/part-gstbin.txt:
19836 * docs/design/part-gstbus.txt:
19837 * docs/design/part-gstpipeline.txt:
19838 * docs/design/part-messages.txt:
19840 * gst/gstmessage.c:
19843 2005-03-21 Wim Taymans <wim@fluendo.com>
19845 * gst/gstbus.c: (gst_bus_post):
19846 Fix copy-and-paste error.
19848 2005-03-21 Wim Taymans <wim@fluendo.com>
19850 * check/Makefile.am:
19852 * gst/elements/Makefile.am:
19853 * gst/elements/gstelements.c:
19854 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19855 (gst_fakesink_event), (gst_fakesink_chain):
19856 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19857 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19858 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19859 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19860 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19861 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19862 (gst_fakesrc_loop), (gst_fakesrc_activate),
19863 (gst_fakesrc_change_state):
19864 * gst/elements/gstfakesrc.h:
19865 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19866 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19867 (gst_filesrc_open_file), (gst_filesrc_loop),
19868 (gst_filesrc_activate), (gst_filesrc_change_state),
19869 (filesrc_find_peek), (filesrc_find_suggest),
19870 (gst_filesrc_type_find):
19871 * gst/elements/gstidentity.c: (gst_identity_finalize),
19872 (gst_identity_class_init), (gst_identity_init),
19873 (gst_identity_proxy_getcaps), (identity_queue_push),
19874 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19875 (gst_identity_getrange), (gst_identity_chain),
19876 (gst_identity_sink_loop), (gst_identity_src_loop),
19877 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19878 (gst_identity_set_property), (gst_identity_get_property),
19879 (gst_identity_change_state):
19880 * gst/elements/gstidentity.h:
19881 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19882 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19883 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19884 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19885 (gst_tee_sink_activate):
19886 * gst/elements/gsttee.h:
19887 * gst/gst.c: (gst_register_core_elements), (init_post):
19889 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19890 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19891 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19892 (gst_bin_change_state):
19894 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19895 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19896 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19897 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19898 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19899 (bus_watch_callback), (bus_watch_destroy),
19900 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19901 (poll_timeout), (gst_bus_poll):
19905 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19906 (gst_element_post_message), (gst_element_message_full),
19907 (gst_element_get_state_func), (gst_element_get_state),
19908 (gst_element_abort_state), (gst_element_commit_state),
19909 (gst_element_lost_state), (gst_element_set_state),
19910 (gst_element_pads_activate), (gst_element_change_state),
19911 (gst_element_dispose), (gst_element_set_manager_func),
19912 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19913 (gst_element_set_manager), (gst_element_get_manager),
19914 (gst_element_set_bus), (gst_element_get_bus),
19915 (gst_element_set_scheduler), (gst_element_get_scheduler):
19916 * gst/gstelement.h:
19917 * gst/gstevent.c: (gst_event_new_segment_seek),
19918 (gst_event_new_flush):
19920 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19921 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19922 (gst_message_new_eos), (gst_message_new_error),
19923 (gst_message_new_warning), (gst_message_new_tag),
19924 (gst_message_new_state_changed), (gst_message_new_application),
19925 (gst_message_get_structure), (gst_message_parse_tag),
19926 (gst_message_parse_state_changed), (gst_message_parse_error),
19927 (gst_message_parse_warning):
19928 * gst/gstmessage.h:
19929 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19930 (gst_real_pad_set_property), (gst_pad_set_active),
19931 (gst_pad_is_active), (gst_pad_set_blocked_async),
19932 (gst_pad_set_blocked), (gst_pad_is_blocked),
19933 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19934 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19935 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19936 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19937 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19938 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19939 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19940 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19941 (gst_pad_set_caps), (gst_pad_configure_sink),
19942 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19943 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19944 (gst_real_pad_dispose), (gst_real_pad_finalize),
19945 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19946 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19947 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19949 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19950 (pipeline_bus_handler), (gst_pipeline_change_state),
19951 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19952 * gst/gstpipeline.h:
19954 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19955 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19956 (gst_queue_link_src), (gst_queue_bufferalloc),
19957 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19958 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19959 (gst_queue_loop), (gst_queue_handle_src_event),
19960 (gst_queue_handle_src_query), (gst_queue_src_activate),
19961 (gst_queue_change_state):
19963 * gst/gstscheduler.c: (gst_scheduler_init),
19964 (gst_scheduler_dispose), (gst_scheduler_create_task),
19965 (gst_scheduler_factory_create):
19966 * gst/gstscheduler.h:
19967 * gst/gststructure.c: (gst_structure_get_type),
19968 (gst_structure_copy_conditional):
19969 * gst/gststructure.h:
19970 * gst/gsttaginterface.h:
19971 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19972 (gst_task_init), (gst_task_dispose), (gst_task_create),
19973 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19979 * gst/schedulers/Makefile.am:
19980 * gst/schedulers/cothreads_compat.h:
19981 * gst/schedulers/entryscheduler.c:
19982 * gst/schedulers/faircothreads.c:
19983 * gst/schedulers/faircothreads.h:
19984 * gst/schedulers/fairscheduler.c:
19985 * gst/schedulers/gstbasicscheduler.c:
19986 * gst/schedulers/gstoptimalscheduler.c:
19987 * gst/schedulers/gthread-cothreads.h:
19988 * gst/schedulers/threadscheduler.c:
19989 (gst_thread_scheduler_task_get_type),
19990 (gst_thread_scheduler_task_class_init),
19991 (gst_thread_scheduler_task_init),
19992 (gst_thread_scheduler_task_start),
19993 (gst_thread_scheduler_task_stop),
19994 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19995 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19996 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19997 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19999 * libs/gst/Makefile.am:
20000 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
20001 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
20002 (gst_file_pad_parent_set):
20003 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20004 (gst_dp_event_from_packet):
20005 * tests/complexity.c: (main):
20006 * tests/mass_elements.c: (main):
20007 * testsuite/states/locked.c: (message_received), (main):
20008 * testsuite/states/parent.c: (main):
20009 * tools/gst-inspect.c: (print_element_flag_info),
20010 (print_implementation_info), (print_pad_info):
20011 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
20013 * tools/gst-md5sum.c: (event_loop), (main):
20014 * tools/gst-typefind.c: (main):
20015 * tools/gst-xmlinspect.c: (print_element_info):
20017 Added GstBus for mainloop integration.
20018 Added GstMessage for sending notifications on the bus.
20019 Added GstTask as an abstraction for pipeline entry points.
20021 Removed Schedulers.
20022 Simplified GstQueue for multithreaded core.
20023 Made _link threadsafe, removed old capsnego.
20024 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
20025 Added pad blocking functions.
20026 Reworked scheduling functions in GstPad to prepare for
20027 scheduling updates soon.
20028 Moved events out of data stream.
20029 Simplified GstEvent types.
20030 Added return values to push/pull.
20031 Removed clocking from GstElement.
20032 Added prototypes for state change function for next merge.
20033 Removed iterate from bins and state change management.
20034 Fixed some elements, disabled others for now.
20035 Fixed -inspect and -launch.
20036 Added check for GstBus.
20038 2005-03-10 Wim Taymans <wim@fluendo.com>
20040 * docs/design/part-MT-refcounting.txt:
20041 * docs/design/part-clocks.txt:
20042 * docs/design/part-gstelement.txt:
20043 * docs/design/part-gstobject.txt:
20044 * docs/design/part-standards.txt:
20045 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20046 (gst_bin_remove_func), (gst_bin_remove):
20050 * testsuite/clock/clock1.c: (main):
20051 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
20053 * testsuite/dlopen/loadgst.c: (do_test):
20054 * testsuite/refcounting/bin.c: (add_remove_test1),
20055 (add_remove_test2), (main):
20056 * testsuite/refcounting/element.c: (main):
20057 * testsuite/refcounting/element_pad.c: (main):
20058 * testsuite/refcounting/pad.c: (main):
20059 * tools/gst-launch.c: (sigint_handler_sighandler):
20060 * tools/gst-typefind.c: (main):
20062 Added doc about clock.
20063 removed gst_bin_iterate_recurse_up(), marked methods
20065 Fix more testsuites.
20067 2005-03-09 Wim Taymans <wim@fluendo.com>
20069 * gst/gstpad.c: (gst_pad_get_direction),
20070 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
20071 (gst_pad_collect_valist):
20072 * testsuite/bins/interface.c: (main):
20073 * testsuite/caps/audioscale.c: (test_caps):
20074 * testsuite/caps/caps.c: (test1), (test2), (test3):
20075 * testsuite/caps/deserialize.c: (main):
20076 * testsuite/caps/enumcaps.c: (main):
20077 * testsuite/caps/filtercaps.c: (main):
20078 * testsuite/caps/intersect2.c: (main):
20079 * testsuite/caps/random.c: (main):
20080 * testsuite/caps/renegotiate.c: (my_fixate), (main):
20081 * testsuite/caps/sets.c: (check_caps):
20082 * testsuite/caps/simplify.c: (check_caps), (main):
20083 * testsuite/caps/subtract.c: (check_caps):
20084 Fix _pad_get_direction wrt ghostpads.
20085 Fix caps testsuite.
20087 2005-03-09 Wim Taymans <wim@fluendo.com>
20089 * check/Makefile.am:
20090 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
20091 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
20092 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
20093 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
20094 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
20095 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
20096 (gst_bin_remove), (gst_bin_iterate_recurse_up),
20097 (bin_element_is_sink), (gst_bin_iterate_sinks),
20098 (gst_bin_iterate_all_by_interface):
20100 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
20101 (gst_element_change_state), (gst_element_dispose),
20102 (gst_element_finalize), (gst_element_set_loop_function):
20103 * gst/gstelement.h:
20104 * gst/gstiterator.c: (find_custom_fold_func):
20105 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20106 (gst_pad_collectv), (gst_pad_collect_valist),
20107 (gst_pad_template_new):
20108 * gst/gstpipeline.c: (gst_pipeline_class_init),
20109 (gst_pipeline_dispose), (gst_pipeline_set_property),
20110 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
20111 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
20112 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
20114 * gst/schedulers/entryscheduler.c:
20115 * gst/schedulers/gstbasicscheduler.c:
20116 (gst_basic_scheduler_cothreaded_chain),
20117 (gst_basic_scheduler_chain_add_element):
20118 * testsuite/bins/interface.c: (main):
20120 Added GstSystemClock test.
20121 Implemented clock distribution code in GstBin.
20122 Implemented iterate sinks method for future use.
20123 Rearranged gstelement.h
20124 Fix GstIterator comparison bug.
20125 Moved some code to GstPipeline, mostly clocking related.
20127 2005-03-09 Wim Taymans <wim@fluendo.com>
20130 * gst/gst_private.h:
20131 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20132 (gst_bin_remove_func), (gst_bin_remove),
20133 (gst_bin_get_by_name_recurse_up):
20134 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
20135 (gst_clock_id_compare_func), (gst_clock_id_wait),
20136 (gst_clock_id_wait_async), (gst_clock_init),
20137 (gst_clock_adjust_unlocked), (gst_clock_get_time):
20138 * gst/gstelement.h:
20139 * gst/gstinfo.c: (_gst_debug_init):
20141 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20142 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20144 Bump version number, we're now 0.9.0
20145 Add future debugging category.
20146 Fix NULL _unref() in _get_by_name_recurse_up
20147 Rearrange gstpad.h.
20150 2005-03-08 Wim Taymans <wim@fluendo.com>
20152 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20153 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20154 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20155 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20156 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20157 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20158 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20159 * gst/elements/gstidentity.c: (gst_identity_class_init):
20160 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20161 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20162 * gst/elements/gstshaper.c: (gst_shaper_class_init):
20163 * gst/elements/gststatistics.c: (gst_statistics_class_init):
20164 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20166 * gst/gstelement.c: (gst_element_class_init),
20167 (gst_element_base_class_init), (gst_element_init),
20168 (gst_element_get_random_pad), (gst_element_wait_state_change),
20169 (gst_element_change_state), (gst_element_dispose),
20170 (gst_element_finalize), (gst_element_set_loop_function):
20171 * gst/gstelement.h:
20172 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20173 * gst/gstthread.c: (gst_thread_class_init),
20174 (gst_thread_release_children_locks), (gst_thread_change_state):
20175 * gst/schedulers/gstbasicscheduler.c:
20176 (gst_basic_scheduler_loopfunc_wrapper),
20177 (gst_basic_scheduler_chain_wrapper),
20178 (gst_basic_scheduler_src_wrapper),
20179 (gst_basic_scheduler_remove_element):
20180 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20181 Remove threadsafe properties. Fix elements because GObject
20182 complains when installing a property before declaring a
20183 set/get_property handler.
20184 Rearrange gstelement.h file, use STATE macros for state locks.
20185 Free mutexes in the finalize method instead of dispose.
20187 2005-03-08 Wim Taymans <wim@fluendo.com>
20189 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20190 * gst/gstthread.c: (gst_thread_release_children_locks):
20191 Added parentage check.
20192 Fix build og GstThread again.
20194 2005-03-08 Wim Taymans <wim@fluendo.com>
20196 * docs/design/part-MT-refcounting.txt:
20197 * docs/design/part-conventions.txt:
20198 * docs/design/part-gstobject.txt:
20199 * docs/design/part-relations.txt:
20200 * docs/design/part-standards.txt:
20201 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20202 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20203 (gst_bin_get_by_name), (gst_bin_get_by_interface),
20204 (gst_bin_iterate_all_by_interface):
20207 * gst/gstelement.c: (gst_element_class_init),
20208 (gst_element_change_state), (gst_element_set_loop_function):
20209 * gst/gstelement.h:
20210 * gst/gstiterator.c:
20211 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20212 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20213 (gst_object_dispatch_properties_changed), (gst_object_set_name),
20214 (gst_object_set_parent), (gst_object_unparent),
20215 (gst_object_check_uniqueness):
20217 Docs updates, clean up some headers.
20219 2005-03-07 Wim Taymans <wim@fluendo.com>
20221 * check/.cvsignore:
20222 * check/Makefile.am:
20223 * check/gst-libs/.cvsignore:
20224 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20225 * check/gst/.cvsignore:
20226 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20227 (START_TEST), (gstbus_suite), (main):
20228 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20229 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20230 (gst_data_suite), (main):
20231 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20232 (add_fold_func), (gstiterator_suite), (main):
20233 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20234 (thread_name_object), (thread_name_object_default),
20235 (gst_object_name_compare), (gst_object_suite), (main):
20236 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20237 (gst_pad_suite), (main):
20238 * check/gstcheck.c: (gst_check_log_message_func),
20239 (gst_check_log_critical_func), (gst_check_init):
20240 * check/gstcheck.h:
20241 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20242 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20245 2005-03-07 Wim Taymans <wim@fluendo.com>
20247 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20248 (gst_list_iterator_next), (gst_list_iterator_resync),
20249 (gst_list_iterator_free), (gst_iterator_new_list),
20250 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20251 (gst_iterator_free), (gst_iterator_push), (filter_next),
20252 (filter_resync), (filter_uninit), (filter_free),
20253 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20254 (gst_iterator_foreach), (find_custom_fold_func),
20255 (gst_iterator_find_custom):
20256 * gst/gstiterator.h:
20257 Added missing files.
20259 2005-03-07 Wim Taymans <wim@fluendo.com>
20263 * docs/design/part-MT-refcounting.txt:
20264 * docs/design/part-conventions.txt:
20265 * docs/design/part-gstobject.txt:
20266 * docs/design/part-relations.txt:
20267 * examples/mixer/mixer.c: (main):
20268 * examples/thread/thread.c: (eos), (main):
20270 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20271 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20272 (gst_spider_plug_from_srcpad):
20273 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20274 (gst_spider_identity_change_state),
20275 (gst_spider_identity_sink_loop_type_finding):
20276 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20277 * gst/elements/gstidentity.c: (gst_identity_init):
20278 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20279 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20280 * gst/elements/gsttypefindelement.c: (free_entry):
20283 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20284 (gst_bin_set_clock_func), (gst_bin_auto_clock),
20285 (gst_bin_set_index), (gst_bin_set_element_sched),
20286 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20287 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20288 (gst_bin_iterate_elements), (iterate_child_recurse),
20289 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20290 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20291 (compare_interface), (gst_bin_get_by_interface),
20292 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20294 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20295 (gst_buffer_default_free), (gst_buffer_default_copy),
20296 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20297 (gst_buffer_create_sub):
20299 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20300 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20301 (gst_caps_unref), (gst_static_caps_get),
20302 (gst_caps_remove_and_get_structure), (gst_caps_append),
20303 (gst_caps_append_structure), (gst_caps_remove_structure),
20304 (gst_caps_copy_nth), (gst_caps_set_simple),
20305 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20306 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20307 (gst_caps_structure_intersect_field), (gst_caps_intersect),
20308 (gst_caps_structure_subtract_field), (gst_caps_subtract),
20309 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20310 (gst_caps_structure_figure_out_union),
20311 (gst_caps_switch_structures), (gst_caps_do_simplify),
20312 (gst_caps_replace), (gst_caps_from_string),
20313 (gst_caps_copy_conditional):
20315 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20316 (_gst_clock_id_free), (gst_clock_id_unref),
20317 (gst_clock_id_compare_func), (gst_clock_id_wait),
20318 (gst_clock_id_wait_async), (gst_clock_class_init),
20319 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20320 (gst_clock_get_time), (gst_clock_set_time_adjust),
20321 (gst_clock_set_property), (gst_clock_get_property):
20324 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20325 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20327 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20328 (gst_element_requires_clock), (gst_element_provides_clock),
20329 (gst_element_set_clock), (gst_element_clock_wait),
20330 (gst_element_wait), (gst_element_set_time_delay),
20331 (gst_element_is_indexable), (gst_element_add_pad),
20332 (gst_element_add_ghost_pad), (gst_element_remove_pad),
20333 (pad_compare_name), (gst_element_get_static_pad),
20334 (gst_element_request_pad), (gst_element_get_request_pad),
20335 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20336 (gst_element_class_get_pad_template_list),
20337 (gst_element_class_get_pad_template), (gst_element_error_func),
20338 (gst_element_get_random_pad), (gst_element_get_event_masks),
20339 (gst_element_send_event), (gst_element_seek),
20340 (gst_element_get_query_types), (gst_element_query),
20341 (gst_element_get_formats), (gst_element_convert),
20342 (gst_element_is_locked_state), (gst_element_set_locked_state),
20343 (gst_element_sync_state_with_parent), (gst_element_change_state),
20344 (gst_element_finalize), (gst_element_yield),
20345 (gst_element_interrupt), (gst_element_set_scheduler),
20346 (gst_element_get_scheduler), (gst_element_set_loop_function):
20347 * gst/gstelement.h:
20349 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20350 (gst_format_get_by_nick), (gst_format_get_details),
20351 (gst_format_iterate_definitions):
20353 * gst/gstindex.c: (gst_index_gtype_resolver):
20356 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20357 (gst_mem_chunk_free):
20358 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20359 (gst_object_ref), (gst_object_unref), (gst_object_sink),
20360 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20361 (gst_object_dispatch_properties_changed),
20362 (gst_object_set_name_default), (gst_object_set_name),
20363 (gst_object_get_name), (gst_object_set_name_prefix),
20364 (gst_object_get_name_prefix), (gst_object_set_parent),
20365 (gst_object_get_parent), (gst_object_unparent),
20366 (gst_object_check_uniqueness), (gst_object_save_thyself),
20367 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20368 (gst_object_set_property), (gst_object_get_property),
20369 (gst_object_get_path_string):
20371 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20372 (gst_real_pad_init), (gst_real_pad_get_property),
20373 (gst_pad_custom_new), (gst_pad_get_direction),
20374 (gst_pad_set_active), (gst_pad_is_active),
20375 (gst_pad_set_event_function), (gst_pad_is_linked),
20376 (gst_pad_link_free), (gst_pad_link_intersect),
20377 (gst_pad_link_fixate), (gst_pad_set_caps),
20378 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20379 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20380 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20381 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20382 (gst_pad_get_caps), (gst_pad_peer_get_caps),
20383 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20384 (gst_pad_realize), (gst_pad_get_allowed_caps),
20385 (gst_real_pad_dispose), (gst_real_pad_finalize),
20386 (gst_pad_collectv), (gst_pad_collect_valist),
20387 (gst_pad_template_dispose), (gst_pad_template_new),
20388 (gst_pad_get_internal_links):
20390 * gst/gstpipeline.c: (gst_pipeline_dispose),
20391 (gst_pipeline_change_state):
20392 * gst/gstpipeline.h:
20394 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20395 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20396 * gst/gstpluginfeature.h:
20397 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20398 * gst/gstquery.c: (_gst_query_type_initialize),
20399 (gst_query_type_register), (gst_query_type_get_by_nick),
20400 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20402 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20403 * gst/gstscheduler.c: (gst_scheduler_add_element),
20404 (gst_scheduler_factory_create):
20405 * gst/gststructure.c: (gst_structure_set_parent_refcount),
20406 (gst_structure_free), (gst_structure_set_name),
20407 (gst_structure_id_set_value), (gst_structure_set_value),
20408 (gst_structure_set_valist), (gst_structure_remove_field),
20409 (gst_structure_remove_fields),
20410 (gst_structure_remove_fields_valist),
20411 (gst_structure_remove_all_fields), (gst_structure_foreach),
20412 (gst_structure_map_in_place),
20413 (gst_caps_structure_fixate_field_nearest_int),
20414 (gst_caps_structure_fixate_field_nearest_double):
20415 * gst/gststructure.h:
20416 * gst/gstsystemclock.c: (gst_system_clock_class_init),
20417 (gst_system_clock_init), (gst_system_clock_dispose),
20418 (gst_system_clock_async_thread),
20419 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20420 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20421 * gst/gstsystemclock.h:
20422 * gst/gsttag.c: (gst_tag_list_add_value_internal),
20423 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20424 * gst/gsttaginterface.c:
20425 * gst/gstthread.c: (gst_thread_dispose),
20426 (gst_thread_release_children_locks), (gst_thread_change_state),
20427 (gst_thread_main_loop):
20428 * gst/gsttrashstack.h:
20429 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20431 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20432 (gst_element_request_pad), (gst_element_get_pad_from_template),
20433 (gst_element_request_compatible_pad),
20434 (gst_element_get_compatible_pad_filtered),
20435 (gst_element_get_compatible_pad), (gst_element_state_get_name),
20436 (gst_element_link_pads_filtered), (gst_element_link_filtered),
20437 (gst_element_link_many), (gst_element_link),
20438 (gst_element_link_pads), (gst_element_unlink_pads),
20439 (gst_element_unlink_many), (gst_element_unlink),
20440 (gst_pad_can_link_filtered), (gst_pad_can_link),
20441 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20442 (gst_object_default_error), (gst_bin_add_many),
20443 (gst_bin_remove_many), (gst_element_populate_std_props),
20444 (gst_element_class_install_std_props), (gst_buffer_merge),
20445 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20446 (link_fold_func), (gst_pad_proxy_setcaps):
20448 * gst/gstvalue.c: (gst_value_deserialize_string):
20449 * gst/parse/grammar.y:
20450 * gst/schedulers/gstbasicscheduler.c:
20451 (gst_basic_scheduler_cothreaded_chain),
20452 (gst_basic_scheduler_chain_recursive_add),
20453 (gst_basic_scheduler_pad_link):
20454 * gst/schedulers/gstoptimalscheduler.c:
20455 (get_group_schedule_function),
20456 (gst_opt_scheduler_state_transition),
20457 (gst_opt_scheduler_add_element), (element_get_reachables_func):
20458 * libs/gst/bytestream/bytestream.c:
20459 * libs/gst/dataprotocol/dataprotocol.c:
20460 (gst_dp_header_from_buffer):
20463 * tests/threadstate/threadstate2.c: (eos):
20464 * tools/gst-compprep.c: (main):
20465 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20466 (print_pad_info), (print_children_info):
20467 * tools/gst-launch.c: (idle_func), (main):
20468 * tools/gst-md5sum.c: (idle_func), (main):
20469 * tools/gst-xmlinspect.c: (print_element_info):
20470 First THREADED backport attempt, focusing on adding locks and
20471 making sure the API is threadsafe. Needs more work. More docs
20474 2005-02-24 Andy Wingo <wingo@pobox.com>
20476 * tests/bench-complexity.scm:
20477 * tests/complexity.gnuplot: New files, good for running complexity
20480 * tests/Makefile.am:
20481 * tests/complexity.c: New test, sets up N elements, at each level
20482 teeing into M streams per element. Eeeenteresting.
20484 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20485 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20486 running bench-mass_elements.scm.
20488 * tests/bench-mass_elements.scm: New script, runs mass_elements
20489 for various numbers of identities, outputting the results to a
20490 file. Requires guile 1.6. Just for testing.
20492 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20494 * gst/schedulers/fairscheduler.c:
20495 compile with debug disabled
20497 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20500 hunting season on 0.9 is now OPEN