1 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
3 * gst/gst.c: (init_post):
4 use _exit() instead of exit() in our forked child; this ensures
5 that none of the registered exit handlers from whatever is using
6 GStreamer get executed. This fixes gnome-mixer-applet failing
7 to load, because ORBit would shut down.
8 Spotted by: Edward Hervey <edward@fluendo.com>
9 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17 === release 0.10.7 ===
19 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22 releasing 0.10.7, "Soepeke, ik zie ou"
24 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
47 * win32/common/config.h:
50 2006-06-07 Wim Taymans <wim@fluendo.com>
52 * gst/gstindex.c: (gst_index_gtype_resolver):
53 * tools/gst-xmlinspect.c: (print_plugin_info):
54 Fix leak spotted by coverity checker. Fixes #343827
55 Fix another other leak found by paolo borelli.
57 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
59 * libs/gst/dataprotocol/dataprotocol.c:
60 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
61 (gst_dp_version_get_type), (gst_dp_init),
62 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
63 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
64 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
65 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
66 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
67 (gst_dp_packetizer_free):
68 * libs/gst/dataprotocol/dataprotocol.h:
69 API: add a GstDPPacketizer object, and create/free functions
70 API: add GstDPVersion enum
71 Add 1.0 event function that uses the string serialization
72 Serialize more useful buffer flags
75 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
77 * tests/check/Makefile.am:
78 * tests/check/gst/gstabi.c:
79 * tests/check/gst/struct_ppc64.h:
80 * tests/check/libs/libsabi.c:
81 * tests/check/libs/struct_ppc64.h:
82 add ppc64 structure sizes
84 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
86 * tests/check/Makefile.am:
87 * tests/check/gst/gstabi.c:
88 * tests/check/gst/struct_x86_64.h:
89 * tests/check/libs/libsabi.c:
90 * tests/check/libs/struct_x86_64.h:
91 generate and add structure size lists for x86_64
93 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
95 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
96 * libs/gst/check/gstcheck.h:
97 factor out the method from tests that checks size of structures,
98 and add code to generate the header containing these sizes
99 * tests/check/gst/gstabi.c: (GST_START_TEST):
100 * tests/check/gst/struct_i386.h:
101 * tests/check/libs/libsabi.c: (GST_START_TEST):
102 * tests/check/libs/struct_i386.h:
105 2006-06-06 Michael Smith <msmith@fluendo.com>
108 Don't use c++-style comments, fixes #343929
110 2006-06-05 Edward Hervey <edward@fluendo.com>
113 plugin_paths is not used if we build without registry support.
115 * gst/gstsegment.c: (gst_segment_copy):
116 _copy() was always returning NULL...
118 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
120 * libs/gst/dataprotocol/dataprotocol.c:
121 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
122 (gst_dp_packet_from_event):
125 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
127 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
128 make sure we unset caps
130 2006-06-02 Michael Smith <msmith@fluendo.com>
132 * libs/gst/check/gstcheck.c: (gst_check_init),
133 (gst_check_chain_func):
134 * libs/gst/check/gstcheck.h:
135 Add a cond/mutex to the check support lib, signal this whenever we
136 add to the buffers list. This will allow tests to not busy-wait on
139 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
141 * libs/gst/dataprotocol/dataprotocol.c:
142 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
143 (gst_dp_packet_from_event):
144 factor out some common header init code
146 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
148 * docs/libs/gstreamer-libs-sections.txt:
149 * docs/libs/tmpl/gstdataprotocol.sgml:
150 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
151 * libs/gst/dataprotocol/dataprotocol.h:
152 API: make gst_dp_crc() public
154 2006-06-01 Stefan Kost <ensonic@users.sf.net>
156 * plugins/indexers/gstindexers.c: (plugin_init):
157 conditionally register fileindexer (fixes #343598)
159 2006-06-01 Stefan Kost <ensonic@users.sf.net>
161 * gst/gsttagsetter.h:
162 Can't cast ifaces to a class
164 * libs/gst/net/gstnetclientclock.h:
165 * libs/gst/net/gstnettimeprovider.h:
166 * plugins/elements/gstfakesink.h:
167 * plugins/elements/gstfakesrc.h:
168 * plugins/elements/gstfdsink.h:
169 * plugins/elements/gstfdsrc.h:
170 * plugins/elements/gstfilesink.h:
171 * plugins/elements/gstfilesrc.h:
172 * plugins/elements/gstidentity.h:
173 * plugins/elements/gstqueue.h:
174 * plugins/elements/gsttee.h:
175 * plugins/indexers/gstfileindex.c:
176 * plugins/indexers/gstmemindex.c:
177 * tests/old/examples/plugins/example.h:
178 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
180 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
182 * libs/gst/dataprotocol/dataprotocol.c:
183 (gst_dp_header_from_buffer):
184 make sure we zero the whole ABI-compatible area
186 2006-06-01 Wim Taymans <wim@fluendo.com>
188 Patch by: Alessandro Decina <alessandro at nnva dot org>
190 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
191 Make sure the EOS flag is cleared from pads after a flush
192 or stop. Fixes #343538.
194 * tests/check/libs/collectpads.c: (GST_START_TEST),
195 (gst_collect_pads_suite):
196 Added test for collectpads reusage after EOS.
198 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
201 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
202 * win32/common/libgstbase.def:
203 export gst_collect_pads_set_flushing
204 * win32/common/libgstreamer.def:
205 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
206 gst_value_fraction_multiply
207 * win32/vs6/gst_inspect.dsp:
208 add a link to intl.lib
210 2006-05-30 Wim Taymans <wim@fluendo.com>
212 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
213 (gst_collect_pads_chain):
214 Handle the case where a pad is removed from the collection
215 that could cause the other pads to become collectable.
217 2006-05-30 Wim Taymans <wim@fluendo.com>
220 Clarify the use of _release_request_pad() and
221 _get_request_pad() a bit better.
223 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
224 (gst_adapter_take_buffer):
225 Fix some doc and comment typos.
227 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
229 * docs/gst/gstreamer-sections.txt:
230 * docs/libs/gstreamer-libs-sections.txt:
233 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
235 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
236 Add debug that can be enabled using a #define at the top of the file,
237 for dumping stats about how late/early we were when waking up from
238 waiting on the clock.
240 2006-05-30 Wim Taymans <wim@fluendo.com>
242 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
243 When rebuilding the pad list, don't leak the previous list.
245 2006-05-30 Wim Taymans <wim@fluendo.com>
247 Patch by: Lutz Mueller <lutz at topfrose dot de>
249 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
250 (gst_base_src_get_query_types), (gst_base_src_update_length):
251 Publish supported query types.
252 Update last_stop field in get_range mode so the position
253 query works. Fixes #342321.
255 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
257 * docs/gst/gstreamer-sections.txt:
258 * gst/gsttaglist.c: (_gst_tag_initialize):
260 API: add GST_TAG_PREVIEW_IMAGE (#343341).
262 2006-05-30 Wim Taymans <wim@fluendo.com>
264 Patch by: Alessandro Decina <alessandro at nnva dot org>
266 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
267 Unlock mutex when removing an unknown pad.
270 * tests/check/Makefile.am:
271 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
272 (push_event), (setup), (teardown), (GST_START_TEST),
273 (gst_collect_pads_suite), (main):
274 Added collecpads check, disabled for now as check crashes for
277 2006-05-29 Wim Taymans <wim@fluendo.com>
279 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
280 Don't leak pads lists.
282 2006-05-29 Wim Taymans <wim@fluendo.com>
284 * docs/libs/gstreamer-libs-sections.txt:
285 * libs/gst/base/gstcollectpads.c:
286 (gst_collect_pads_set_flushing_unlocked),
287 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
288 (gst_collect_pads_stop):
289 * libs/gst/base/gstcollectpads.h:
290 API: gst_collect_pads_set_flushing()
291 Added api to set the pads to flushing, useful for seeking
292 code in elements using collectpads.
293 Clear segment when receiving a flush.
295 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
297 * gst/gst.c: (add_path_func), (init_post):
298 Don't scan registry paths passed via --gst-plugin-path immediately
299 (will crash, because absolutely nothing is set up and no types are
300 registered etc.); do this later in init_post(). Fixes #343057.
302 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
304 * gst/gst.c: (init_post):
305 if we have fork, fork while reading/rebuilding the registry
306 so the parent doesn't take the hit of having all plugins loaded
307 in memory. Fixes #342777.
309 Check if we have fork()
310 * win32/common/config.h.in:
313 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
315 * plugins/elements/gstelements.c:
316 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
317 (gst_file_src_init), (gst_file_src_set_property),
318 (gst_file_src_get_property), (gst_file_src_start):
319 * plugins/elements/gstfilesrc.h:
320 API: GstFileSrc::use-mmap
322 Add a use-mmap property to enable easier testing of all code paths.
323 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
324 in the absence of gnomevfssrc. (Closes #340501)
326 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
328 * tools/gst-inspect.c:
329 Add missing include, removes warning of ngettext not being defined on
332 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
334 * gst/gstvalue.c: (gst_value_deserialize_fraction):
335 Handle NULL input and output pointers silently as a failed conversion,
336 rather than g_warnings.
338 2006-05-25 Wim Taymans <wim@fluendo.com>
340 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
341 Initialize variable before using. Fixes #342820.
343 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
345 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
346 Fix off-by-one bug that would only allow peeks of N-1 bytes
347 from the start even if the buffer to typefind on contains
348 in fact N bytes of data (makes vorbis typefinding from a
349 vorbis identification header buffer work).
351 * tests/check/Makefile.am:
352 * tests/check/libs/.cvsignore:
353 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
354 (gst_typefindhelper_suite), (main), (foobar_typefind),
356 Add very basic unit test for gst_type_find_helper_for_buffer()
357 that checks for the problem fixed above.
359 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
361 * tools/gst-inspect.c: (print_interfaces),
362 (print_element_properties_info), (print_element_list), (main):
363 add more translatable strings
365 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
367 Patch by: Julien Moutte <julien at moutte net>
369 * docs/gst/gstreamer-sections.txt:
370 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
372 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
373 (gst_fake_sink_preroll):
374 * plugins/elements/gstfakesink.h:
375 API: Add new GstFakeSink::preroll-handoff signal (#337100).
377 2006-05-23 Wim Taymans <wim@fluendo.com>
379 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
381 Added _CUSTOM error and success GstFlowReturn that can be
382 used be elements internally.
383 Added macro to check for SUCCESS flowreturns.
384 API: GST_FLOW_CUSTOM_SUCCESS
385 API: GST_FLOW_CUSTOM_ERROR
386 API: GST_FLOW_IS_SUCCESS
388 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
389 Added check for GstFlowReturn sanity.
391 2006-05-23 Wim Taymans <wim@fluendo.com>
393 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
395 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
396 (gst_collect_pads_event):
397 clear/reset segment info in FLUSH_STOP.
400 2006-05-22 Stefan Kost <ensonic@users.sf.net>
402 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
403 (gst_collect_pads_check_collected):
404 Flush queued buffer on _stop(), fixes playing again (#342454)
406 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
408 * tests/check/gst/gststructure.c: (GST_START_TEST),
409 (gst_structure_suite):
410 add a test for a complete structure
412 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
414 * docs/faq/developing.xml:
416 * docs/faq/troubleshooting.xml:
417 * docs/faq/using.xml:
418 Some minor FAQ updates that won't change the fact that
419 our FAQ is badly structured, full of information hardly
420 anyone new to GStreamer needs to know and lacking lots
421 of information people constantly ask for.
423 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
425 * gst/gstpad.c: (gst_pad_set_caps):
426 Short-circuit gst_pad_set_caps if setting the existing
427 caps pointer again, and avoid printing debug and
428 reffing/unreffing the caps.
430 * plugins/elements/gstqueue.c: (gst_queue_push_one):
431 There's actually no need to set the caps before pushing -
432 the acceptcaps method will handle it anyway.
434 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
436 * docs/gst/gstreamer-sections.txt:
437 * win32/common/libgstreamer.def:
438 * gst/gstutils.c: (gst_element_seek_simple):
440 API: add gst_element_seek_simple() (#342238).
442 2006-05-18 Edward Hervey <edward@fluendo.com>
444 * gst/gsttypefind.c: (gst_type_find_get_type):
446 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
447 registered for GstTypeFind pointers. This allows wrapping the structure
448 in bindings (i.e. gst-python).
450 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
452 * gst/gsttagsetter.c:
453 Docs additions and fixes (see #339918).
455 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
457 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
458 The caps intersection algorithm can produce multiple copies of the
459 caps. Until that is fixed, we need to simplify the result to be
460 sure whether the allowed caps are fixed or not.
462 * plugins/elements/gstqueue.c: (gst_queue_init),
463 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
464 (gst_queue_push_one):
465 Proxied buffer alloc should not set the caps on the source pad.
466 When pushing buffers, we always accept the caps change that triggers.
467 This prevents negotiation errors caused by caps changing mid-stream
468 and then being refused on our source pad (because upstream is now
469 refusing those caps).
471 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
473 * tests/examples/helloworld/helloworld.c: (main):
474 Must plug audioconvert and audioresample between decoder
477 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
479 * gst/gstregistryxml.c: (read_string), (load_pad_template),
480 (load_feature), (load_plugin):
481 Allow empty strings for some of the plugin fields so we don't
482 drop valid plugin entries that were written out correctly
485 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
487 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
488 Use g_remove and g_rename instead of remove and rename that don't
489 handle utf8 characters. rename was failing for users who had specific
490 characters in their name then the registry was built at each
492 * win32/vs6/gst_inspect.dsp:
493 * win32/vs6/gst_launch.dsp:
494 * win32/vs6/libgstbase.dsp:
495 * win32/vs6/libgstcoreelements.dsp:
496 * win32/vs6/libgstreamer.dsp:
497 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
498 build of libgstreamer and clean unused libraries in projects link
501 2006-05-17 Edward Hervey <edward@fluendo.com>
503 * plugins/elements/gstqueue.c: (gst_queue_push_one):
504 The queue is not responsible for pushing an EOS when receiving a fatal
505 flow error. It's up to the real element driving the pipeline to do that.
507 2006-05-16 Edward Hervey <edward@fluendo.com>
509 * plugins/elements/gstqueue.c: (gst_queue_push_one):
510 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
511 buffer returned a fatal error. It should just send an EOS and stop
513 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
514 when pushing buffers on the queue and will be able to handle the event.
516 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
518 * docs/manual/basics-bins.xml:
519 * docs/manual/basics-init.xml:
520 Fix typos and minor errors in sample code (#341856).
522 2006-05-16 Wim Taymans <wim@fluendo.com>
524 * docs/design/part-qos.txt:
525 Fix indexes in formulas to make more sense.
527 2006-05-15 Wim Taymans <wim@fluendo.com>
529 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
530 Don't report POSITION based on clock time if sync is
533 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
536 Add cast to make compiler happy - refcount variable was a gint
537 in GstObject but is a guint in GObject and g_atomic_int_get()
540 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
542 * gst/parse/Makefile.am:
543 chain commands using &&, which also makes parallel make work
545 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
547 * docs/gst/gstreamer-sections.txt:
553 === release 0.10.6 ===
555 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
558 releasing 0.10.6, "Take the cannoli"
560 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
562 * tools/gst-launch.c: (print_tag):
563 Fix use of uninitialized variable in the hypothetical
564 case that some broken plugin creates a GST_TAG_IMAGE
565 tag containing a NULL buffer (#341667).
567 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
569 * tools/gst-launch.c: (print_tag):
570 Print something more intelligible for image tags when
571 using the -t switch (#341556).
573 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
578 define GST_MAJORMINOR so we have it available in win32/common/config.h
579 Possibly remove it from our Makefile.am files later
580 * win32/common/config.h:
581 * win32/common/config.h.in:
583 * win32/common/gstenumtypes.c: (register_gst_resource_error):
584 * win32/common/gstversion.h:
587 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
590 Update win32 files listing.
591 * win32/common/gstversion.h:
592 Add GST_MAJORMINOR definition.
593 * win32/common/libgstreamer.def:
594 Add new exported functions.
596 2006-05-12 Michael Smith <msmith@fluendo.com>
598 * gst/gstplugin.c: (gst_plugin_load_file):
599 If an so file has no plugin entry point, unload the module.
601 2006-05-11 Wim Taymans <wim@fluendo.com>
603 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
604 (gst_queue_set_property):
605 Don't forget to signal the _chain or _loop function
606 when the queue size or thresholds change since that might
607 cause them to make progres again.
609 2006-05-11 Stefan Kost <ensonic@users.sf.net>
611 * gst/gstclock.c: (gst_clock_class_init):
612 * gst/gstindex.c: (gst_index_class_init):
613 * gst/gstobject.c: (gst_object_class_init):
614 * gst/gstpad.c: (gst_pad_class_init):
615 * gst/gstpipeline.c: (gst_pipeline_class_init):
616 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
617 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
618 * libs/gst/base/gstbasetransform.c:
619 (gst_base_transform_class_init):
620 * libs/gst/net/gstnetclientclock.c:
621 (gst_net_client_clock_class_init):
622 * libs/gst/net/gstnettimeprovider.c:
623 (gst_net_time_provider_class_init):
624 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
625 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
626 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
627 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
628 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
629 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
630 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
631 * plugins/elements/gstidentity.c: (gst_identity_class_init):
632 * plugins/elements/gsttee.c: (gst_tee_class_init):
633 * tests/old/examples/plugins/example.c: (gst_example_class_init):
634 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
635 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
637 2006-05-11 Wim Taymans <wim@fluendo.com>
639 * gst/gstbuffer.c: (_gst_buffer_initialize):
640 Register subbufer along with the buffer type so that
641 it does not accidentally gets registered from N
642 different streaming threads in a non threadsafe way.
644 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
649 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
650 gst_event_ref() and gst_message_ref() functions again
651 (ugly hack, please do fix if there's a better way besides
652 overrides.txt, which doesn't seem to work).
654 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
656 * libs/gst/check/gstcheck.h:
657 add an assert for setting state to avoid lots of repetitive code
660 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
662 * gst/gstvalue.c: (gst_value_serialize_flags):
663 fix a leak if no flags are set
664 * tests/check/gst/gstvalue.c: (GST_START_TEST):
667 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
669 * docs/manual/basics-pads.xml:
670 Expand a bit on caps and filtered links and update
671 examples that were still using the no longer existing
672 gst_pad_link_filtered() (#338206).
674 2006-05-10 Wim Taymans <wim@fluendo.com>
676 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
677 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
678 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
679 (gst_collect_pads_stop):
680 * libs/gst/base/gstcollectpads.h:
681 No need to call _stop in _finalize.
682 Iterate the main pad list in _finalize.
683 Added some more debug.
684 Free lists and data in the right order.
685 Also free data whem doing _remove_pad when stopped for
686 backward compatibility protect ::started with PAD_LOCK as
689 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
691 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
692 (gst_structure_parse_value):
694 rename a method so that it actually says what it does better
696 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
698 * gst/gstevent.c: (_gst_event_initialize):
699 * gst/gstformat.c: (_gst_format_initialize):
700 make sure some essential types used by events are registered
701 as part of gst_init()
702 * gst/gstvalue.c: (gst_value_serialize_flags):
703 if no flags are set, serialize them to a value that represents NONE
704 so that deserializing them works
705 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
706 add tests for serialization and deserialization of flags
708 2006-05-10 Wim Taymans <wim@fluendo.com>
710 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
711 (gst_collect_pads_collect_range), (gst_collect_pads_available),
712 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
713 (gst_collect_pads_event), (gst_collect_pads_chain):
716 Catch and return errors from the collect function
717 Refuse data on eos pads.
719 2006-05-10 Edward Hervey <edward@fluendo.com>
721 * gst/gstinterface.h:
722 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
723 GInterface type checking.
724 They were previously using non-defined macros.
726 2006-05-09 Wim Taymans <wim@fluendo.com>
728 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
729 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
730 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
731 (gst_collect_pads_start), (gst_collect_pads_stop),
732 (gst_collect_pads_peek), (gst_collect_pads_pop),
733 (gst_collect_pads_available), (gst_collect_pads_read),
734 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
735 (gst_collect_pads_is_collected), (gst_collect_pads_event),
736 (gst_collect_pads_chain):
737 * libs/gst/base/gstcollectpads.h:
738 Clean up the mess that is collectpads, add comments and
740 Maintain a separate pad list so we can add pads while
741 collecting the other ones. For this we need a new separate
743 Fix memory leak in finalize.
744 Refactor some weird code to set/unset pad flushing flags, mark
746 Don't crash in _available, _read, _flush when we're EOS.
748 * tests/check/libs/.cvsignore:
749 Ignore adapter check binary.
751 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
753 * gst/gstindex.c: (gst_index_resolver_get_type):
754 * plugins/elements/gstfakesink.c:
755 (gst_fake_sink_state_error_get_type):
756 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
757 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
758 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
759 Const-ify GEnumValue arrays.
761 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
763 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
764 Add test case for flags + gst_buffer_make_metadata_writable().
766 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
768 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
769 gst_buffer_make_metadata_writable() should maintain the
770 buffer flags (those that make sense at least) (see #340859).
772 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
774 * tools/gst-inspect.c:
775 * tools/gst-launch.c:
776 * tools/gst-typefind.c:
777 * tools/gst-xmlinspect.c:
779 Fix up includes: need to include stdlib.h in tools.h for exit().
781 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
783 * gst/gsttaglist.c: (_gst_tag_initialize):
785 API: add GST_TAG_IMAGE tag (#340721).
787 2006-05-08 Wim Taymans <wim@fluendo.com>
790 Added some docs for the segment query.
792 2006-05-08 Wim Taymans <wim@fluendo.com>
794 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
795 (gst_base_src_loop), (gst_base_src_change_state):
796 Always push non-flushing serialized events in the streaming
799 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
801 * gst/gsterror.c: (_gst_stream_errors_init):
802 Add a missing error string.
804 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
806 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
807 Add applied_rate to the debug
809 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
810 Copy applied_rate into the outgoing NEWSEGMENT event
812 2006-05-08 Wim Taymans <wim@fluendo.com>
814 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
816 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
817 (gst_base_sink_change_state):
818 call ::unlock before taking the PREROLL_LOCK so we can safely
819 handle elements that lock in ::render.
822 2006-05-08 Edward Hervey <edward@fluendo.com>
824 * autogen.sh: (CONFIGURE_DEF_OPT):
825 Darwin's libtoolize is in fact called glibtoolize.
826 Adding glibtoolize to the list of accepted names for libtoolize.
828 2006-05-08 Wim Taymans <wim@fluendo.com>
830 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
831 Unify error handling, don't post an error message
832 when a push() returns EOS but perform our normal EOS
833 handling code. Fixes #340772.
835 2006-05-08 Wim Taymans <wim@fluendo.com>
837 * docs/design/part-overview.txt:
838 Make upsteam/downstream concepts more clear.
839 Give an example of serialized/non-serialized events.
841 * docs/design/part-events.txt:
842 * docs/design/part-streams.txt:
843 Mention applied_rate.
845 * docs/design/part-trickmodes.txt:
846 Mention applied rate, flesh out some more use cases.
848 * gst/gstevent.c: (gst_event_new_new_segment),
849 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
850 (gst_event_parse_new_segment_full), (gst_event_new_tag),
851 (gst_event_parse_tag), (gst_event_new_buffer_size),
852 (gst_event_parse_buffer_size), (gst_event_new_qos),
853 (gst_event_parse_qos), (gst_event_parse_seek),
854 (gst_event_new_navigation):
856 Add applied_rate field to NEWSEGMENT event.
857 API: gst_event_new_new_segment_full()
858 API: gst_event_parse_new_segment_full()
860 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
861 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
862 (gst_segment_to_stream_time), (gst_segment_to_running_time):
864 Add applied_rate to GstSegment structure.
865 Make calculation of stream_time and running_time more correct
866 wrt rate/applied_rate.
868 API: GstSegment::applied_rate field
869 API: gst_segment_set_newsegment_full();
871 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
872 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
873 * libs/gst/base/gstbasetransform.c:
874 (gst_base_transform_sink_eventfunc),
875 (gst_base_transform_handle_buffer):
876 Parse and use applied_rate in the GstSegment field.
878 * tests/check/gst/gstevent.c: (GST_START_TEST):
879 Add check for applied_rate field.
881 * tests/check/gst/gstsegment.c: (GST_START_TEST),
883 Add more checks for various GstSegment operations.
885 2006-05-08 Wim Taymans <wim@fluendo.com>
887 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
888 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
889 (gst_base_sink_get_position), (gst_base_sink_change_state):
890 Store the sync time of the buffer end position separatly in a
891 new variable eos_rtime so we can properly sync the EOS event.
893 Fix the docs for gst_base_sink_set_qos_enabled().
894 Don't set segment start to invalid value when we receive a
896 get closer to handling position reporting for negative rates
899 2006-05-07 Stefan Kost <ensonic@users.sf.net>
902 Docs about how to print caps for debug purposes.
904 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
905 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
907 2006-05-07 Stefan Kost <ensonic@users.sf.net>
910 use full enum names and preprend a '%' in docs strings to make recent
911 gtk-doc turn that into a link
913 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
915 * docs/manual/basics-bins.xml:
916 * docs/manual/basics-bus.xml:
917 * docs/manual/basics-pads.xml:
918 Some typo fixes, some additions, some clarifications.
920 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
922 * tools/gst-inspect.c: (main):
923 * tools/gst-launch.c: (main):
924 * tools/gst-run.c: (main):
925 * tools/gst-typefind.c: (main):
926 * tools/gst-xmlinspect.c: (main):
927 Use the string passed to g_option_context_new() for
928 what it's intended for - the program name is already
931 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
934 * tools/gst-inspect.c: (main):
935 * tools/gst-launch.c: (main):
936 * tools/gst-xmlinspect.c: (main):
938 Add back --version command line option (#340460).
940 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
941 Add --version option and use GOption for argument parsing; refactor a
942 bit; accept directories as arguments and recurse into them; lastly,
943 print a decent error message when things go wrong.
945 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
947 * docs/manual/basics-bins.xml:
948 Don't mention GstThread (#340611)
949 * docs/manual/basics-elements.xml:
950 Update link to GObject tutorial (#340607)
952 2006-05-05 Wim Taymans <wim@fluendo.com>
955 * gst/gstminiobject.c:
956 Add note about refcounting and miniobject/buffer writeability
957 to docs. Fixes #340604
959 * gst/gstelementfactory.h:
960 Added some explanation about @klass.
962 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
964 * docs/manual/intro-motivation.xml:
965 * docs/manual/manual.xml:
966 Avoid CORBA & Bonobo references (#340598)
968 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
970 * docs/manual/basics-bus.xml:
971 * docs/manual/basics-pads.xml:
972 Fix up some inaccuracies and omissions (#340609)
974 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
977 Small typo in docs (#340625)
979 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
981 * gst/parse/Makefile.am:
982 Make 'make -j' proof (see #340698).
984 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
987 Require GLib-2.8 here as well.
989 2006-05-05 Wim Taymans <wim@fluendo.com>
992 * gst/gst.c: (init_pre):
993 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
994 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
995 (gst_object_dispatch_properties_changed):
997 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
998 * gst/gststructure.c: (gst_structure_set_valist):
999 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1000 Remove pre glib2.8 compatibility, fixes #340508
1002 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1005 Mention type of tags in doc blurbs.
1007 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
1009 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1010 (gst_pad_configure_src), (gst_pad_push):
1011 Restore acceptcaps checking behaviour now that good plugins have
1014 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1016 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1027 * gst/parse/Makefile.am:
1028 * libs/gst/base/gstadapter.c:
1029 * libs/gst/base/gstbasesrc.c:
1030 * libs/gst/base/gstpushsrc.c:
1031 * libs/gst/base/gsttypefindhelper.c:
1032 * plugins/elements/gstfakesrc.c:
1033 * plugins/elements/gstidentity.c:
1034 Make sure gstprivate.h and/or config.h are
1035 always included first, otherwise some of our
1036 defines (like _FILE_OFFSET_BITS) might be
1037 redefined in the system headers. Fixes build
1038 on opensolaris (#340016).
1040 2006-05-04 Wim Taymans <wim@fluendo.com>
1042 * docs/libs/gstreamer-libs-sections.txt:
1043 API: addition: gst_adapter_take_buffer()
1045 * libs/gst/base/gstadapter.c: (gst_adapter_push),
1046 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1047 (gst_adapter_available_fast):
1048 * libs/gst/base/gstadapter.h:
1049 Prepare for optimizing the hell out of this hugely inefficient
1051 Added gst_adapter_take_buffer() so we can at least start thinking
1052 about subbuffering and merging.
1053 Added some comments.
1055 * tests/check/Makefile.am:
1056 * tests/check/libs/adapter.c: (GST_START_TEST),
1057 (gst_adapter_suite), (main):
1058 Added GstAdapter check.
1060 2006-05-04 Wim Taymans <wim@fluendo.com>
1062 * docs/design/part-overview.txt:
1063 Fix some typos, add blurb about buffer flags.
1065 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
1067 * docs/libs/gstreamer-libs-sections.txt:
1068 make sure GstBaseTransformClass shows up in the docs
1069 * libs/gst/base/gstbasetransform.c:
1070 * libs/gst/base/gstbasetransform.h:
1071 move docs so gtk-doc picks it up now
1073 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1075 * docs/libs/gstreamer-libs-sections.txt:
1076 add missing symbols to docs
1078 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1080 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1081 back out the newsegment handling change, see #340060 for ongoing
1084 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
1086 * tools/gst-run.c: (get_candidates), (main):
1087 Fix wrong g_file_test() usage (see glib docs for why it doesn't
1088 work); fix typo in error message. Fixes #340079.
1090 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1092 * common/Makefile.am:
1094 * docs/faq/Makefile.am:
1095 * docs/gst/Makefile.am:
1096 * docs/libs/Makefile.am:
1097 * docs/manual/Makefile.am:
1098 * docs/plugins/Makefile.am:
1099 * docs/pwg/Makefile.am:
1100 * docs/slides/Makefile.am:
1102 * common/upload.mak:
1103 move upload.mak to common
1105 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1107 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1108 add more asserts on refcounts
1109 do more cleanup at end of tests
1110 fix test leaks showing in FC5
1112 2006-04-29 Stefan Kost <ensonic@users.sf.net>
1114 * plugins/elements/gsttypefindelement.c:
1115 (gst_type_find_element_handle_event):
1116 reverted wrong change and reflowed code to avoid others falling into
1119 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1121 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1122 fix changelog entry about last collectpads change,
1123 add notes about proper fix
1125 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1128 * gst/gstregistry.c: (gst_registry_scan_path_level),
1129 (gst_registry_scan_path):
1130 * gst/gstregistry.h:
1131 only write out registry if it has changed, fixes #338339
1133 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1136 * gst/gstpipeline.c:
1137 * plugins/elements/gstcapsfilter.c:
1138 * plugins/elements/gstfakesink.c:
1139 * plugins/elements/gstfakesrc.c:
1140 * plugins/elements/gstfdsink.c:
1141 * plugins/elements/gstfdsrc.c:
1142 * plugins/elements/gstfilesink.c:
1143 * plugins/elements/gstfilesrc.c:
1144 * plugins/elements/gstidentity.c:
1145 * plugins/elements/gstqueue.c:
1146 * plugins/elements/gsttee.c:
1147 * plugins/elements/gsttypefindelement.c:
1148 (gst_type_find_element_handle_event):
1149 make GstElementDetails const
1151 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1153 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1154 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1155 (gst_collect_pads_is_collected), (gst_collect_pads_event):
1156 more detailed debug and formatting cleanup,
1157 forward newsegments to src-pad (so that e.g. adder not eats them)
1159 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1161 * gst/gstutils.c: (gst_element_link_pads):
1164 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1166 * libs/gst/controller/gstcontroller.c:
1167 (gst_controller_sync_values):
1169 * tests/check/libs/controller.c: (GST_START_TEST),
1170 (gst_controller_suite):
1171 a new test for live value handling
1173 2006-04-28 Wim Taymans <wim@fluendo.com>
1175 * gst/gstutils.c: (push_and_ref):
1176 Added some more docs.
1177 Fix refcount issue whith gst_element_found_tags() helper
1178 function. Fixes #338335
1180 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1181 Added testsuite for gst_element_found_tags().
1183 2006-04-28 Michael Smith <msmith@fluendo.com>
1185 * gst/gstvalue.c: (gst_value_serialize_flags):
1186 Avoid NULL dereference when trying to serialize flags containing
1189 2006-04-28 Michael Smith <msmith@fluendo.com>
1191 * plugins/elements/gsttypefindelement.c:
1192 (gst_type_find_element_handle_event):
1193 If we get EOS before any data is accumulated, don't use
1194 uninitialised local variables.
1196 2006-04-28 Michael Smith <msmith@fluendo.com>
1198 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1199 (gst_dp_event_from_packet):
1200 Fixes in reading/writing events over GDP (not currently used?) -
1201 dereferencing NULL events for unknown/invalid event types, memory
1202 leak, and change g_warning to GST_WARNING.
1204 2006-04-28 Wim Taymans <wim@fluendo.com>
1206 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1207 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1208 (gst_base_sink_get_position), (gst_base_sink_change_state):
1209 When frame dropping is enabled, we should not ignore frames
1211 Update some documentation.
1213 2006-04-28 Wim Taymans <wim@fluendo.com>
1215 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1216 (gst_base_src_send_event), (gst_base_src_change_state):
1217 Documentation updates.
1219 2006-04-28 Wim Taymans <wim@fluendo.com>
1221 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1222 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1223 handle EAGAIN, EINTR and short writes correctly. Also clean
1224 up some error cases, avoid a deadlock on bad file descriptors and
1225 use GST_DEBUG_OBJECT.
1228 2006-04-28 Wim Taymans <wim@fluendo.com>
1230 * gst/gstvalue.c: (gst_value_serialize_buffer),
1231 (gst_value_deserialize_buffer):
1232 Don't try to serialize a GValue with a NULL buffer.
1235 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1236 Added check for serialisation of NULL buffers.
1238 2006-04-28 Wim Taymans <wim@fluendo.com>
1240 * gst/gstminiobject.c: (gst_value_take_mini_object):
1241 Taking a NULL miniobject is valid, fix the case where
1242 we try to unref the NULL miniobject.
1244 2006-04-28 Wim Taymans <wim@fluendo.com>
1246 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1248 * gst/gstbin.c: (gst_bin_handle_message_func):
1250 Don't leak bin refcount when a state recalc is
1251 in progress and we delay another one #339808.
1253 2006-04-28 Wim Taymans <wim@fluendo.com>
1255 * docs/design/part-TODO.txt:
1256 Mention QoS as an ongoing work item.
1258 * docs/design/part-buffering.txt:
1259 New doc about buffering that needs to be fleshed out
1262 * docs/design/part-qos.txt:
1263 More QoS policy for decoders/demuxers/transforms
1265 * docs/design/part-trickmodes.txt:
1268 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1273 === release 0.10.5 ===
1275 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1278 releasing 0.10.5, "Fogo"
1280 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
1282 patch by: Wim Taymans
1284 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1285 (gst_pad_configure_src), (gst_pad_push):
1286 * gst/gstpipeline.c: (gst_pipeline_init):
1287 Fix internal data flow errors. Fixes #338711.
1289 2006-04-12 Wim Taymans <wim@fluendo.com>
1291 * tests/check/gst/gstelement.c: (GST_START_TEST):
1292 Don't leak the factory.
1294 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1297 * win32/common/config.h:
1300 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
1302 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1303 (gst_controller_unset_all):
1304 Free allocated GstTimedValues when freeing list nodes.
1305 Should fix leaks 'make check-valgrind' complains about.
1307 * win32/common/libgstcontroller.def:
1308 Add gst_controller_unset_all.
1310 2006-04-11 Stefan Kost <ensonic@users.sf.net>
1312 * docs/libs/gstreamer-libs-sections.txt:
1313 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1314 (gst_controller_unset_all):
1315 * libs/gst/controller/gstcontroller.h:
1316 API: Added new method gst_controller_unset_all()
1317 fixed gst_controller_unset()
1318 * tests/check/libs/controller.c: (GST_START_TEST),
1319 (gst_controller_suite):
1320 Added two testcases for new and fixed method
1322 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
1324 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1325 MSG_DONTWAIT is not defined on Cygwin, so work
1326 around that (fixes #317048).
1328 2006-04-11 Wim Taymans <wim@fluendo.com>
1330 * gst/gstelementfactory.c: (gst_element_register),
1331 (gst_element_factory_create), (gst_element_factory_make):
1334 Updated docs (Fixes #131079)
1336 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1339 * tests/check/gst/gstelement.c: (GST_START_TEST),
1340 (gst_element_suite):
1341 Added testcase for elementfactory class field.
1343 2006-04-10 Wim Taymans <wim@fluendo.com>
1346 Added some more docs.
1348 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1349 (gst_base_sink_reset_qos):
1350 Calculate more accurate rate values.
1352 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
1354 * gst/gst_private.h:
1355 add a new #ifdef to use __declspec(dllimport) only for
1356 other modules and not for gstreamer core
1357 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1358 use gst_guint64_to_gdouble for conversion
1359 * win32/common/libgstreamer.def:
1360 add new exported functions
1361 * win32/vs6/gst_inspect.dsp:
1362 * win32/vs6/gst_launch.dsp:
1363 * win32/vs6/libgstbase.dsp:
1364 * win32/vs6/libgstcontroller.dsp:
1365 * win32/vs6/libgstcoreelements.dsp:
1366 * win32/vs6/libgstdataprotocol.dsp:
1367 * win32/vs6/libgstnet.dsp:
1368 update project files
1370 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1372 * gst/gstbuffer.c: (gst_subbuffer_class_init):
1373 * gst/gstclock.c: (gst_clock_class_init):
1374 * gst/gstelement.c: (gst_element_class_init):
1375 * gst/gstindex.c: (gst_index_class_init):
1376 * gst/gstindexfactory.c: (gst_index_factory_class_init):
1377 * gst/gstobject.c: (gst_object_class_init),
1378 (gst_signal_object_class_init):
1379 * gst/gstpad.c: (gst_pad_class_init):
1380 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1381 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1382 * gst/gstregistry.c: (gst_registry_class_init):
1383 * gst/gstsystemclock.c: (gst_system_clock_class_init):
1384 * gst/gsttask.c: (gst_task_class_init):
1385 * gst/gstxml.c: (gst_xml_class_init):
1386 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1387 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1388 (gst_base_src_loop):
1389 * libs/gst/controller/gstcontroller.c:/
1390 (_gst_controller_class_init):
1391 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1392 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1393 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1394 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1395 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1396 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1398 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
1400 * gst/gstpad.c: (gst_pad_link):
1401 Must set peer pads before calling the link function, otherwise
1402 a task started from a link function might get a flow-not-linked
1403 result when trying to push because the other thread where the
1404 linking happens hasn't had a chance to set the peers yet. This
1405 might happen for example when a queue gets linked to a downstream
1406 element, as queue starts a streaming task when its source pad
1407 gets linked. Happens in real life when playing back flac/musepack
1408 files in playbin (#332390).
1410 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1414 * libs/gst/base/gstadapter.h:
1415 * libs/gst/base/gstbasesink.h:
1416 * libs/gst/base/gstbasesrc.h:
1417 * libs/gst/base/gstbasetransform.h:
1418 * libs/gst/base/gstcollectpads.h:
1419 * libs/gst/base/gstpushsrc.h:
1420 Fix broken GObject macros
1422 2006-04-07 Wim Taymans <wim@fluendo.com>
1424 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1425 Initialize start and stop times, thanks valgrind.
1427 2006-04-07 Wim Taymans <wim@fluendo.com>
1429 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1430 Be a bit nicer to badly behaving upstream elements that expect
1431 us to deal with non TIME segments and timestamps (such as fakesrc
1434 2006-04-07 Wim Taymans <wim@fluendo.com>
1437 Small documentation clarification about the signal watch.
1439 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1440 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1441 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1442 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1443 (gst_base_sink_get_position_last),
1444 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
1445 Convert and store timestamps in stream time and running time, the
1446 raw timestamps are not usefull, also document this better.
1447 Use different window sizes for good and bad QoS observations so
1448 we react to badness a little quicker.
1449 Keep track of the amount of rendered and dropped buffers.
1450 Send QoS timestamps in running time.
1452 * libs/gst/base/gstbasetransform.c:
1453 (gst_base_transform_sink_eventfunc),
1454 (gst_base_transform_handle_buffer):
1455 Compare QoS timestamps against running time.
1457 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1462 2006-04-06 Michael Smith <msmith@fluendo.com>
1464 * gst/gstpad.c: (gst_pad_set_property):
1465 Use g_value_get_object() instead of g_value_dup_gst_object(),
1466 to avoid double-reffing the pad template (which we then sink,
1467 so this worked previously if (and only if) the pad template
1470 * gst/gstpadtemplate.c: (gst_pad_template_init),
1471 (gst_pad_template_pad_created):
1472 Never return floating references to pad templates, create
1473 them as initially-sunken.
1475 Document an extra function (and make this stop sinking our
1476 pad template, since that is now guaranteed to do nothing,
1477 since we created it sunken).
1479 * gst/gstghostpad.c:
1482 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1484 * gst/gstinfo.c: (__gst_in_valgrind):
1487 * plugins/elements/gsttypefindelement.c:
1488 (gst_type_find_element_chain):
1489 Don't leak buffer caps.
1491 2006-04-06 Michael Smith <msmith@fluendo.com>
1493 * gst/parse/grammar.y:
1494 Fix a leak in parse-launch for any source-or-sink named element
1497 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1498 Unref the pipeline if it exists after we've failed parsing.
1500 2006-04-05 Michael Smith <msmith@fluendo.com>
1502 * gst/gstpipeline.c: (gst_pipeline_init):
1503 When we create a pipeline bus, initially create it in flushing mode.
1504 Fixes leaks in at least one test, and makes a new pipeline work the
1505 same as one that has gone to READY and then back to NULL.
1510 2006-04-05 Michael Smith <msmith@fluendo.com>
1512 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1513 Unref a pad we reffed.
1514 * tests/check/gst/gstutils.c: (GST_START_TEST):
1517 2006-04-05 Michael Smith <msmith@fluendo.com>
1519 * gst/gstquery.c: (gst_query_set_formats),
1520 (gst_query_set_formatsv):
1521 Fix leaking GValues in queries, as shown by valgrind/testsuite.
1523 2006-04-05 Michael Smith <msmith@fluendo.com>
1525 * tests/check/generic/sinks.c: (GST_START_TEST):
1526 Fix a variety of memleaks in sinks check, which are only sometimes
1527 shown by running the tests under valgrind (weird?).
1529 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
1531 * docs/version.entities.in:
1532 Fix the substituted entity name after thomas' changes on the
1535 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1537 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
1540 2006-04-05 Andy Wingo <wingo@pobox.com>
1542 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
1544 * libs/gst/base/gstbasetransform.c
1545 (gst_base_transform_sink_eventfunc): When resetting our segment on
1546 FLUSH_STOP, also update the flag saying we haven't seen a
1549 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1551 Patch by: Paolo Borelli <pborelli at katamail dot com>
1553 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1554 (gst_plugin_check_license):
1555 minor clean-ups: G_DEFINE_TYPE already takes care of the
1556 parent_class stuff, no need to do it twice. Mark array of
1557 license strings as constant. (#337103)
1559 2006-04-04 Michael Smith <msmith@fluendo.com>
1561 * tools/gst-inspect.c: (print_element_list):
1562 Free the right plugin list; fixes a memory leak.
1564 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1566 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1568 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1569 Don't error out on empty buffers (#336945).
1571 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
1573 * docs/libs/gstreamer-libs-sections.txt:
1575 * libs/gst/base/gstbasesink.c:
1576 * libs/gst/base/gstbasesink.h:
1577 * libs/gst/base/gstbasesrc.c:
1578 * libs/gst/base/gstbasesrc.h:
1579 Documentation updates. Make BaseSink and BaseSrc docs contain the
1580 class structure so that people can actually see the prototypes for
1581 virtual functions they're supposed to be overriding.
1583 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
1585 * plugins/elements/gsttypefindelement.c:
1586 (gst_type_find_element_chain):
1587 More debug info; when skipping typefinding, send cached
1588 events in all cases.
1590 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
1593 use new AS_VERSION and AS_NANO macros
1594 * gst/gst-i18n-lib.h:
1597 * gst/gstversion.h.in:
1598 * win32/common/config.h:
1599 * win32/common/config.h.in:
1602 2006-03-31 Michael Smith <msmith@fluendo.com>
1604 * plugins/elements/gsttypefindelement.c:
1605 (gst_type_find_element_chain):
1606 Do not typefind content if the buffers already have caps.
1607 Neccesary for icydemux (#333657), and the right thing to do anyway.
1609 2006-03-30 Wim Taymans <wim@fluendo.com>
1611 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1612 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
1613 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
1614 (gst_base_sink_record_qos_observation),
1615 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1616 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1617 (gst_base_sink_change_state):
1618 More QoS measurements as described in the design doc.
1619 Get rid of ringbuffer with observations, running average is
1620 more simple and equally good.
1621 Calculates valid proportion now.
1622 Added beginning of flood measurement.
1624 2006-03-29 Wim Taymans <wim@fluendo.com>
1626 * docs/design/part-qos.txt:
1628 Small documentation updates and additions.
1630 2006-03-29 Wim Taymans <wim@fluendo.com>
1632 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1633 (gst_base_src_send_event), (gst_base_src_loop),
1634 (gst_base_src_change_state):
1635 Perform the EOS logic when we reach the segment stop position.
1636 Fix compilation on gcc4.1
1638 2006-03-29 Wim Taymans <wim@fluendo.com>
1640 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1642 * plugins/elements/gstqueue.c: (gst_queue_init),
1643 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
1644 (gst_queue_set_property):
1645 * plugins/elements/gstqueue.h:
1646 In queue, when EOS is received, if minimum threshold > max_size -
1647 current_level, there is chance that queue blocks forever in conditional
1648 item del wait. This is because the queue is not emptied completely due
1649 to minimum threshold. Here is another approach. Instead of setting
1650 cur_levels to max in EOS, just zero all minimum threshold levels. This
1651 should make sure that queue gives out all data. When going to READY
1652 (stop) state, just reset the original minimum threshold levels.
1655 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
1657 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
1658 (gst_type_find_element_handle_event),
1659 (gst_type_find_element_send_cached_events),
1660 (gst_type_find_element_change_state):
1661 * plugins/elements/gsttypefindelement.h:
1662 When typefinding is done in push mode, we should cache
1663 events we receive during typefinding instead of just
1664 dropping them (e.g. newsegment, custom events from
1665 dvdreadsrc etc.) and then send them out once we've
1666 determined the type of the stream (and decodebin
1667 has had a chance to plug in a decoder/demuxer).
1669 2006-03-27 Wim Taymans <wim@fluendo.com>
1671 * docs/design/part-qos.txt:
1674 2006-03-27 Wim Taymans <wim@fluendo.com>
1676 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
1678 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1679 (gst_base_src_send_event), (gst_base_src_change_state):
1680 Handle element seek correctly when we are streaming.
1683 2006-03-24 Michael Smith <msmith@fluendo.com>
1685 * docs/faq/gst-uninstalled:
1686 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
1687 allow you to correctly run intalled applications built against old
1688 core, using plugins that require updated core (e.g. running
1689 installed totem against a full uninstalled gstreamer stack)
1691 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1693 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
1696 2006-03-24 Wim Taymans <wim@fluendo.com>
1698 * docs/gst/gstreamer-sections.txt:
1699 Rearrange the order of the methods so that related methods
1700 are grouped together in sections.
1702 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1705 Little clarification in the docs
1707 2006-03-24 Stefan Kost <ensonic@users.sf.net>
1711 * plugins/elements/gstidentity.c:
1712 * plugins/elements/gstqueue.c:
1713 * plugins/elements/gsttee.c:
1714 * plugins/elements/gsttypefindelement.c:
1715 GST_ELEMENT_DETAILS formatting
1717 2006-03-24 Wim Taymans <wim@fluendo.com>
1719 * libs/gst/base/gstbasesink.h:
1720 Only add fields, not insert or we break ABI.
1722 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1724 * win32/common/libgstbase.def:
1725 * win32/common/libgstreamer.def:
1726 Update, add recently added functions.
1728 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1730 * docs/gst/gstreamer-sections.txt:
1731 * gst/gstutils.c: (gst_pad_query_peer_position),
1732 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
1734 API: add some new utility functions:
1735 - gst_pad_query_peer_position()
1736 - gst_pad_query_peer_duration()
1737 - gst_pad_query_peer_convert()
1739 2006-03-23 Wim Taymans <wim@fluendo.com>
1741 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1742 (gst_base_sink_init), (gst_base_sink_finalize),
1743 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
1744 (gst_base_sink_set_property), (gst_base_sink_get_property),
1745 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
1746 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1747 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
1748 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1749 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1750 (gst_base_sink_preroll_object), (gst_base_sink_event),
1751 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
1752 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1753 (gst_base_sink_query), (gst_base_sink_change_state):
1754 Decouple max-lateness and the fact that QoS messages are generated
1755 with a new property (qos).
1756 added API: GstBaseSink::async_play()
1757 Add vmethod so subclasses can be notified of ASYNC playing
1759 Collect timestamp start and stop to report better current
1760 position in EOS/PLAYING/PAUSED/READY/NULL.
1761 Refactor QoS/frame dropping and other measurements.
1762 API: GstBaseSrc::qos
1765 * libs/gst/base/gstbasesink.h:
1766 Added Private struct.
1767 API: gst_base_sink_set_qos_enabled()
1768 API: gst_base_sink_is_qos_enabled()
1770 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
1772 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1773 If compiling against GLib-2.8 or newer, try to read the
1774 registry file using GMappedFile first before falling back
1775 to fopen() + fread() (#332151).
1777 2006-03-22 Wim Taymans <wim@fluendo.com>
1779 * gst/gstinfo.c: (gst_debug_set_active),
1780 (gst_debug_category_set_threshold):
1781 Disable debugging unless explicitly activated.
1784 2006-03-22 Wim Taymans <wim@fluendo.com>
1786 * gst/gstelement.c: (gst_element_set_locked_state),
1787 (gst_element_dispose):
1788 Cleanup the error case.
1790 * gst/gstobject.c: (gst_object_dispose):
1791 print a critical when some object was disposed with
1792 a parent, also revive the object since it might
1795 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
1797 * tools/gst-launch.1.in:
1800 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1803 * tests/check/Makefile.am:
1804 disable some tests when we don't have a registry
1805 * tests/check/gst/gstutils.c: (gst_utils_suite):
1806 don't build the part that needs parsing
1808 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
1811 * tests/examples/Makefile.am:
1812 fix --disable-parse build
1814 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1816 * tools/gst-feedback.1.in:
1817 Fix typo: s/feeback/feedback/ (#133494).
1819 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1821 * tools/Makefile.am:
1822 * tools/gst-launch.1.in:
1823 Add FILES section and correct entry about GST_REGISTRY_PATH
1824 environment variable (#133495; #133494).
1826 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1828 * tools/Makefile.am:
1829 * tools/gst-md5sum.1.in:
1830 * tools/gst-md5sum.c:
1831 Remove gst-md5sum and man page (the md5sink element
1832 required was removed ages ago)
1834 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1836 * gst/gststructure.c: (gst_structure_id_set_value):
1837 Make sure that string fields in structures/taglists
1838 contain valid UTF-8 - we don't want to pass rubbish to
1839 applications because of a buggy plugin (cp. #334167).
1841 2006-03-21 Edward Hervey <edward@fluendo.com>
1843 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1844 (gst_bin_handle_message_func):
1845 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
1846 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
1847 (gst_element_set_bus_func):
1848 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
1849 * gst/gstminiobject.c: (gst_value_set_mini_object),
1850 (gst_value_take_mini_object):
1851 * gst/gstpad.c: (gst_pad_set_pad_template):
1852 * gst/gstpipeline.c: (gst_pipeline_dispose),
1853 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1854 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
1855 (gst_collect_pads_chain):
1856 * libs/gst/net/gstnettimeprovider.c:
1857 (gst_net_time_provider_set_property):
1858 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
1859 It's in fact all issues with gst_*object_replace().
1861 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
1863 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
1865 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1866 * pkgconfig/gstreamer-check.pc.in:
1867 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
1869 2006-03-21 Edward Hervey <edward@fluendo.com>
1874 gst_[buffer|event|message]_ref() macros are replaced by a static
1875 inline functions because gcc-4.1 will about if the return value
1877 * tests/check/gst/gstevent.c: (event_probe):
1878 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
1880 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
1883 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
1884 the type' case. (Closes: #335195 for now). In the future, when we
1885 depend on GLib 2.10, we could also intern the type name using
1886 g_intern_static_string()
1888 2006-03-20 Wim Taymans <wim@fluendo.com>
1890 * gst/gstbin.c: (gst_bin_handle_message_func),
1891 (bin_query_max_init), (bin_query_position_fold),
1892 (bin_query_position_done), (gst_bin_query):
1893 Position query should also take max of all streams.
1895 2006-03-20 Wim Taymans <wim@fluendo.com>
1897 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1898 (gst_fake_src_finalize):
1899 Fix leaks in fakesrc.
1901 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1902 Fix leaks in the testcase.
1904 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
1906 * gst/gst_private.h:
1907 add win32 specific import decoration(__declspec(dllimport))
1908 for all extern GstDebugCategory * variables
1909 * win32/common/libgstbase.def:
1910 * win32/common/libgstcontroller.def:
1911 * win32/common/libgstreamer.def:
1912 Add some exports, remove empty lines
1913 * win32/common/libgstdataprotocol.def:
1914 * win32/common/libgstdataprotocol.dsp:
1915 * win32/common/libgstnet.def:
1916 * win32/common/libgstnet.dsp:
1917 new project files and exportation files added
1919 2006-03-19 Wim Taymans <wim@fluendo.com>
1921 * tests/check/libs/basesrc.c: (eos_event_counter):
1922 Use proper return value for probe.
1924 2006-03-17 Wim Taymans <wim@fluendo.com>
1926 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1928 Don't leak buffers, caps and pads on negotiation errors.
1930 2006-03-16 Stefan Kost <ensonic@users.sf.net>
1933 * docs/faq/dependencies.xml:
1934 * docs/faq/developing.xml:
1936 * docs/faq/general.xml:
1937 * docs/faq/getting.xml:
1938 * docs/faq/legal.xml:
1939 * docs/faq/troubleshooting.xml:
1940 * docs/faq/using.xml:
1941 Faq review and update.
1943 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
1945 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
1947 Don't pound the cpu to pieces by checking get_caps when accept_caps
1948 is called with the same caps as the pad already has.
1949 Use GST_DEBUG_OBJECT when outputting caps change information.
1951 2006-03-15 Wim Taymans <wim@fluendo.com>
1953 * gst/gstclock.c: (gst_clock_class_init):
1956 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
1961 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
1962 (gst_pad_accept_caps), (gst_pad_configure_sink),
1963 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
1964 Make the default acceptcaps behaviour be to check the requested
1965 caps against the gst_pad_get_caps output.
1967 Ensure that gst_pad_accept_caps is used to check caps when a pad
1968 doesn't have a setcaps function, so that pads automatically refuse
1969 caps that they don't allow in their pad template. (Fixes #332986)
1971 When a buffer with attached caps is pushed, ensure that the source
1972 pad receives those caps even if the element didn't call
1973 gst_pad_set_caps first.
1975 2006-03-15 Wim Taymans <wim@fluendo.com>
1977 * libs/gst/base/gstadapter.c:
1980 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
1982 * win32/common/libgstbase.def:
1983 * win32/common/libgstcontroller.def:
1984 * win32/common/libgstreamer.def:
1985 Add a whole bunch of missing functions (#334434).
1987 2006-03-14 Wim Taymans <wim@fluendo.com>
1989 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1990 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
1991 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
1992 Better debug info when we receive a segment event.
1993 Reorganize a bit so we can pass the get_times() results around.
1994 Use the segment format when calculating the running time.
1995 Don't do QoS is sync is disabled or we have no clock or the
1996 element does not want us to sync to the clock.
1997 Don't drop buffers if QoS is disabled for now.
1999 2006-03-14 Wim Taymans <wim@fluendo.com>
2001 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2002 Marked the stats property as unimplemented so people don't get
2004 Add debug message when regression goes wrong.
2005 Added some more docs.
2007 2006-03-14 Wim Taymans <wim@fluendo.com>
2009 * gst/gstsegment.c: (gst_segment_to_stream_time):
2010 Return correct return type in case of errors.
2012 2006-03-14 Wim Taymans <wim@fluendo.com>
2014 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2015 Don't segfault on invalid formats.
2017 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2019 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2020 Can't use gst_segment_to_running_time() when the segment
2021 is not in GST_TIME_FORMAT (like with filesink, for example).
2022 Stops flac encoding pipelines from spewing critical warnings
2025 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2027 * gst/gstpipeline.c: (gst_pipeline_class_init):
2028 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2030 * plugins/elements/gsttypefindelement.c:
2031 (gst_type_find_element_handle_event):
2032 Don't try to typefind empty streams.
2034 2006-03-14 Wim Taymans <wim@fluendo.com>
2036 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2037 (gst_base_sink_do_qos):
2038 Separate QoS calculation.
2039 Only drop buffers when lateness is bigger than the
2040 duration of the buffer.
2042 2006-03-13 Wim Taymans <wim@fluendo.com>
2044 * gst/gstpipeline.c: (gst_pipeline_set_property),
2045 (gst_pipeline_get_property), (do_pipeline_seek),
2046 (gst_pipeline_change_state), (gst_pipeline_set_delay),
2047 (gst_pipeline_get_delay):
2048 Don't deadlock when reading properties.
2050 2006-03-13 Wim Taymans <wim@fluendo.com>
2052 * libs/gst/base/gstbasetransform.c:
2053 (gst_base_transform_class_init), (gst_base_transform_init),
2054 (gst_base_transform_sink_event),
2055 (gst_base_transform_sink_eventfunc),
2056 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2057 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2058 (gst_base_transform_set_property),
2059 (gst_base_transform_get_property),
2060 (gst_base_transform_change_state), (gst_base_transform_update_qos),
2061 (gst_base_transform_set_qos_enabled),
2062 (gst_base_transform_is_qos_enabled):
2063 * libs/gst/base/gstbasetransform.h:
2064 Make basetransform virtual method for src events too.
2065 Handle QOS in basetransform.
2066 API: gst_base_transform_update_qos()
2067 API: gst_base_transform_set_qos_enabled()
2068 API: gst_base_transform_is_qos_enabled()
2070 2006-03-13 Wim Taymans <wim@fluendo.com>
2072 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2073 (gst_base_sink_do_sync):
2075 Use QOS debug category.
2077 2006-03-13 Wim Taymans <wim@fluendo.com>
2079 * plugins/elements/gstqueue.c:
2080 Very small doc update.
2082 2006-03-13 Wim Taymans <wim@fluendo.com>
2084 * gst/gst_private.h:
2085 * gst/gstinfo.c: (_gst_debug_init):
2086 Added QOS debug category
2088 2006-03-13 Wim Taymans <wim@fluendo.com>
2090 * docs/gst/gstreamer-sections.txt:
2091 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2093 * gst/gstbus.c: (gst_bus_class_init):
2096 * gst/gstelement.c: (gst_element_set_locked_state):
2098 Documentation updates.
2100 * gst/gstpipeline.c: (gst_pipeline_get_type),
2101 (gst_pipeline_class_init), (gst_pipeline_init),
2102 (gst_pipeline_dispose), (gst_pipeline_set_property),
2103 (gst_pipeline_get_property), (do_pipeline_seek),
2104 (gst_pipeline_send_event), (gst_pipeline_change_state),
2105 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2106 (gst_pipeline_get_delay):
2107 * gst/gstpipeline.h:
2108 Added methods for setting the delay.
2109 API: gst_pipeline_set_delay()
2110 API: gst_pipeline_get_delay()
2111 Add pipeline debug category
2114 Don't reset stream time when seek failed.
2116 2006-03-13 Wim Taymans <wim@fluendo.com>
2118 * docs/design/draft-klass.txt:
2119 * docs/design/part-clocks.txt:
2120 * docs/design/part-events.txt:
2121 * docs/design/part-gstbin.txt:
2122 * docs/design/part-gstpipeline.txt:
2123 * docs/design/part-messages.txt:
2124 * docs/design/part-negotiation.txt:
2125 * docs/design/part-overview.txt:
2126 * docs/design/part-preroll.txt:
2127 * docs/design/part-seeking.txt:
2128 * docs/design/part-states.txt:
2129 * docs/design/part-streams.txt:
2130 Documentation updates.
2132 2006-03-12 Julien MOUTTE <julien@moutte.net>
2134 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2135 us to leak strings...
2137 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
2139 * libs/gst/net/gstnettimeprovider.c:
2141 * win32/common/config.h:
2144 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
2146 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2149 Don't check for libgnomeui (leftover from old examples
2150 that aren't built or disted any longer) (#334303).
2152 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
2154 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2155 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2156 Emit RESOURCE_NO_SPACE_LEFT error here as well when
2157 there's no space left on the device.
2159 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
2162 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2163 to cast the input to GstClockTime before comparing with
2164 another GstClockTime value.
2166 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2171 === release 0.10.4 ===
2173 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2176 releasing 0.10.4, "Light"
2178 2006-03-10 Michael Smith <msmith@fluendo.com>
2180 * libs/gst/dataprotocol/dataprotocol.c:
2181 Fix docs for dataprocotol to not get the return types completely
2182 wrong for a few functions.
2184 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2186 * docs/gst/gstreamer-sections.txt:
2187 * gst/gstpipeline.c: (gst_pipeline_class_init),
2188 (gst_pipeline_init), (gst_pipeline_set_property),
2189 (gst_pipeline_get_property), (gst_pipeline_change_state),
2190 (gst_pipeline_set_auto_flush_bus),
2191 (gst_pipeline_get_auto_flush_bus):
2192 * gst/gstpipeline.h:
2193 Add new API: gst_pipeline_set_auto_flush_bus() and
2194 gst_pipeline_get_auto_flush_bus() to disable automatic
2195 flushing of the pipeline's GstBus when going from READY
2196 to NULL state (#332045).
2198 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2200 * docs/gst/gstreamer-sections.txt:
2201 * gst/gsturi.c: (gst_uri_has_protocol):
2203 Add new API: gst_uri_has_protocol() (#333779).
2205 2006-03-09 Wim Taymans <wim@fluendo.com>
2207 * gst/gstclock.c: (gst_clock_entry_new),
2208 (gst_clock_id_compare_func), (gst_clock_id_wait),
2209 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2210 (gst_clock_init), (gst_clock_get_internal_time),
2211 (gst_clock_set_master), (do_linear_regression),
2212 (gst_clock_add_observation), (gst_clock_set_property):
2216 Fix a possible segfault when the window-size is made smaller.
2217 Calculate jitter before performing the clock wait. Ideally
2218 the clock implementation should calculate jitter but we need
2219 API breakage for that.
2221 * gst/gstsystemclock.c: (gst_system_clock_init):
2224 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2225 Remove leftover else
2227 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2228 (gst_systemclock_suite):
2229 Added check to test GST_CLOCK_DIFF.
2231 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2233 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2234 (gst_type_find_helper_get_range):
2235 If we are provided with the size, we should implement
2236 GstTypeFind::get_length, so that typefind functions who
2237 want to can actually peek at the middle of a file.
2239 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
2241 * docs/manual/advanced-dataaccess.xml:
2242 Add some very very basic error checking.
2244 * docs/pwg/appendix-checklist.xml:
2245 Some updates to the list of things to check when writing an element.
2247 2006-03-08 Wim Taymans <wim@fluendo.com>
2249 * docs/design/part-element-transform.txt:
2250 Added some docs about the design of tranform elements.
2252 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2253 (gst_base_src_loop), (gst_base_src_change_state):
2254 Mark buffers with the DISCONT flag.
2256 2006-03-08 Michael Smith <msmith@fluendo.com>
2258 * gst/gstregistry.h:
2259 * gst/gstregistryxml.c: (gst_registry_save),
2260 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2261 (gst_registry_xml_save_pad_template),
2262 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2263 (gst_registry_xml_write_cache):
2264 Rewrite registry-saving to avoid race conditions and check for
2267 2006-03-08 Wim Taymans <wim@fluendo.com>
2269 * libs/gst/base/gstbasetransform.c:
2270 (gst_base_transform_transform_caps),
2271 (gst_base_transform_transform_size),
2272 (gst_base_transform_prepare_output_buffer),
2273 (gst_base_transform_get_unit_size),
2274 (gst_base_transform_buffer_alloc),
2275 (gst_base_transform_handle_buffer),
2276 (gst_base_transform_change_state):
2277 Cleanups, separate normal flow from errors, add sensible
2279 Don't try to renegotiate when allocating an output buffer.
2280 Also copy DISCONT buffer flag when copying a buffer.
2281 Reset the transform after we finish streaming, not during.
2283 2006-03-08 Wim Taymans <wim@fluendo.com>
2285 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2286 Use last buffer timestamp in qos message.
2288 2006-03-07 Wim Taymans <wim@fluendo.com>
2290 Patch by: Christophe Fergeau
2292 * docs/pwg/advanced-tagging.xml:
2293 * docs/pwg/building-pads.xml:
2296 2006-03-07 Wim Taymans <wim@fluendo.com>
2298 * docs/libs/gstreamer-libs-sections.txt:
2299 Added basesink new methods.
2303 Docs updates. Flesh out the QoS docs.
2305 * libs/gst/base/gstadapter.c:
2306 Small doc clarification about ownership and flushing.
2308 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2309 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2310 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2311 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2312 * libs/gst/base/gstbasesink.h:
2314 Added new methods to allow subclass to control max-lateness
2316 Generate very basic QoS events based on last sync observation.
2317 Updated docs, fix typo, added some QoS blurb.
2319 * libs/gst/base/gstbasesrc.c:
2320 Remove obsolete _get_state() calls from docs.
2322 2006-03-07 Wim Taymans <wim@fluendo.com>
2324 * docs/libs/gstreamer-libs-sections.txt:
2325 * libs/gst/base/gstbasetransform.h:
2326 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2327 Fix docs for GstBaseSrc.
2329 2006-03-07 Wim Taymans <wim@fluendo.com>
2331 * docs/gst/gstreamer-sections.txt:
2334 * libs/gst/base/gstbasetransform.h:
2335 Small documentation fixes.
2337 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2340 Document thread-unsafety of gst_value_register_foo_func()
2341 when used at the same time as gst_value_foo() (#322628).
2343 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2345 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2346 (gst_push_src_check_get_range):
2347 Push sources don't support pull mode by default.
2349 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2351 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2352 (gst_base_src_init), (gst_base_src_pad_check_get_range),
2353 (gst_base_src_default_check_get_range):
2354 * libs/gst/base/gstbasesrc.h:
2355 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2356 provide default implementation, and rename
2357 gst_base_src_check_get_range() to
2358 gst_base_src_pad_check_get_range() for clarity.
2360 2006-03-06 Wim Taymans <wim@fluendo.com>
2362 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2363 Make property overridable.
2365 2006-03-06 Wim Taymans <wim@fluendo.com>
2367 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2368 (gst_base_sink_init), (gst_base_sink_set_property),
2369 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2370 * libs/gst/base/gstbasesink.h:
2371 API addition: Make max-lateness a property.
2373 2006-03-06 Wim Taymans <wim@fluendo.com>
2375 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2376 (gst_base_sink_do_sync), (gst_base_sink_render_object):
2377 Don't ever draw a frame that is >10ms late.
2379 2006-03-06 Michael Smith <msmith@fluendo.com>
2381 * gst/gstmessage.c: (_gst_message_copy):
2382 When copying a message, set the parent_refcount of the enclosed
2383 structure to point at the copy, not the original message.
2385 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2387 Patch by: Christophe Fergeau
2390 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2391 usable in c++ code (#333417)
2393 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
2396 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2398 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
2400 * libs/gst/base/gstbasetransform.c:
2401 (gst_base_transform_transform_caps):
2402 Make sure caps are writable before passing them to
2405 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2408 Fix some minor docs errors.
2410 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2412 Patch by: Ross Burton <ross at burtonini dot com>
2414 * gst/gsterror.c: (_gst_resource_errors_init):
2416 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2418 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2421 Add a check and output a g_warning when GStreamer is built
2422 against GLib 2.6 but running against 2.8 or higher, and vice
2423 versa. (Closes: #323542)
2425 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2427 * gst/parse/parse.l:
2428 Commit patch for parse_launch syntax from #331255. Removes
2429 support for quoted strings and mimetypes when writing filtered
2430 caps. See the bug report for more details - I'm pretty sure this
2431 obscure feature is not in use by _anyone_ anywhere.
2433 With this simple change, the size of the gstreamer.so here
2434 drops from 2193KB to 1565KB.
2436 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2438 * plugins/elements/gsttypefindelement.h:
2439 * plugins/elements/gsttypefindelement.c:
2440 (gst_type_find_element_src_event), (start_typefinding),
2441 (stop_typefinding), (gst_type_find_element_handle_event),
2442 (gst_type_find_element_chain),
2443 (gst_type_find_element_chain_do_typefinding):
2444 Use gst_type_find_helper_for_buffer() for chain-based
2447 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2449 * plugins/elements/gsttypefindelement.c:
2450 (gst_type_find_element_class_init),
2451 (gst_type_find_element_set_property),
2452 (gst_type_find_element_get_property):
2453 Deprecate "maximum" property (not only was it only taken into
2454 account for typefinding in push-mode anyway, it also was never
2455 actually possible to set it in the first place because the
2456 property was registered with the numeric property ID for the
2457 "minimum" property). Register "maximum" property correctly,
2458 for the sake of future copy'n'pasters. Remove some cruft
2459 from property get/set functions.
2461 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2463 * plugins/elements/gsttypefindelement.c:
2464 (gst_type_find_element_activate):
2465 Use gst_type_find_helper_get_range() here, so we
2466 can honour the "minimum" property and also emit
2467 the signal with the correct probability of the found caps.
2469 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
2471 * docs/libs/gstreamer-libs-sections.txt:
2472 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2473 (helper_find_suggest), (gst_type_find_helper_get_range),
2474 (gst_type_find_helper):
2475 * libs/gst/base/gsttypefindhelper.h:
2476 New API: gst_type_find_helper_get_range() (#333042).
2478 2006-03-02 Michael Smith <msmith@fluendo.com>
2480 * gst/gstregistryxml.c: (load_feature):
2481 Asserting on a failure to read part of the registry is Not Cool.
2482 Just log a warning and return NULL (which is already handled)
2484 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
2486 * win32/common/libgstbase.def:
2487 added export of gst_type_find_helper_for_buffer
2488 * win32/common/libgstbase.def:
2489 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
2490 gst_ghost_pad_get_target
2492 2006-02-28 Wim Taymans <wim@fluendo.com>
2494 * docs/design/draft-klass.txt:
2496 Added Connector to mark elements that are only used to
2497 allow pipeline connections.
2498 Moved Debug to extra feature since most of them are
2499 functionally something else.
2501 2006-02-28 Wim Taymans <wim@fluendo.com>
2503 * docs/design/draft-klass.txt:
2504 Some updates and clarifications.
2506 2006-02-28 Wim Taymans <wim@fluendo.com>
2508 * docs/design/draft-klass.txt:
2509 Proposal for klass field values.
2511 * docs/design/part-streams.txt:
2512 Start of a doc describing stream anatomy.
2514 2006-02-28 Wim Taymans <wim@fluendo.com>
2516 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
2517 Help the compiler a bit with type registration.
2518 Use existing forward cod path instead of duplicating it when
2521 * gst/gstbus.c: (gst_bus_get_type):
2522 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
2523 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
2524 * gst/gstclock.c: (gst_clock_get_type):
2525 * gst/gstelement.c: (gst_element_get_type),
2526 * gst/gstelementfactory.c: (gst_element_factory_get_type):
2527 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2528 * gst/gstminiobject.c: (gst_mini_object_get_type):
2529 * gst/gstpad.c: (gst_pad_get_type):
2530 * gst/gstsegment.c: (gst_segment_get_type):
2531 * gst/gststructure.c: (gst_structure_get_type):
2532 * gst/gstsystemclock.c: (gst_system_clock_get_type):
2533 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
2535 Help compiler with type registration.
2537 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2540 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2542 * plugins/elements/gsttypefindelement.c:
2543 (gst_type_find_element_handle_event):
2544 When we get an EOS event and have not found a type yet
2545 (most likely because we had not yet accumulated
2546 TYPE_FIND_MIN_SIZE of data yet), try to determine the
2547 type given the data we have so far. Fixes typefinding
2548 for very short streams again, most notably quicktime
2549 redirections as used on Apple's trailer site (#331701).
2551 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2553 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
2554 (gst_type_find_helper):
2555 Try typefinding factories with the highest rank first.
2557 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2559 * docs/libs/gstreamer-libs-docs.sgml:
2560 * docs/libs/gstreamer-libs-sections.txt:
2561 * libs/gst/base/gsttypefindhelper.c:
2562 Add section for typefind helper and add documentation
2563 for the old and the new function.
2565 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2567 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
2568 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
2569 (gst_type_find_helper_for_buffer):
2570 * libs/gst/base/gsttypefindhelper.h:
2571 New API: gst_type_find_helper_for_buffer() (#332723).
2573 2006-02-27 Michael Smith <msmith@fluendo.com>
2575 Patch by: Loïc Minier
2579 * docs/slides/Makefile.am:
2580 prevent CVS directories getting disted.
2582 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
2584 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
2585 Use the REFCOUNTING category for caps refcounting.
2587 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2589 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
2590 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
2592 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
2594 * plugins/elements/gsttypefindelement.c:
2595 (gst_type_find_element_activate):
2596 Use gst_pad_check_pull_range() before _activate_pull()
2597 to avoid unnecessary open/close (see #331690).
2599 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2602 Docs enhancement: make it crystal clear what the
2603 gst_pad_add_*_probe() callbacks should look like.
2605 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
2607 * libs/gst/base/gstbasesrc.c:
2608 Document how applications can stop recording from
2609 live sources (see #330996).
2611 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2613 * tests/check/Makefile.am:
2614 * tests/check/libs/basesrc.c: (eos_event_counter),
2615 (basesrc_eos_events_pull), (basesrc_eos_events_push),
2616 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
2617 (gst_basesrc_suite), (main):
2618 ... and add some tests for the base source EOS stuff.
2620 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2622 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
2623 Test case originally showed the problem fixed below,
2624 but was then amended. Add checks back at the place
2625 where they used to be.
2627 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2629 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2630 (gst_base_src_init), (gst_base_src_loop),
2631 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2632 (gst_base_src_change_state):
2633 * libs/gst/base/gstbasesrc.h:
2634 Don't unconditionally send EOS when going from PAUSED to
2635 READY state, esp. make sure we don't send two EOS events
2636 in some cases (e.g. one when reaching EOS and one when
2637 going from PAUSED to READY). Also, we don't want to send
2638 EOS events when operating in pull mode. However, we do
2639 want to send an EOS event when shutting down a live
2640 source explicitly, for example (fixes #330996).
2642 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
2644 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2645 Update src->read_position after a seek when not using mmap.
2646 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
2648 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
2654 Make things work with --disable-parse as they do with
2655 --disable-load-save - the symbols involved disappear, but the
2656 header is still installed and GST_DISABLE_PARSE is included via
2659 2006-02-20 Julien MOUTTE <julien@moutte.net>
2661 * libs/gst/base/gstbasetransform.c:
2662 (gst_base_transform_change_state): Fix a stupid bug. I was
2663 sure I compiled that.
2665 2006-02-20 Julien MOUTTE <julien@moutte.net>
2667 * gst/gstpad.c: (gst_pad_set_blocked_async):
2668 * gst/gstutils.c: (gst_pad_add_data_probe),
2669 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2670 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2671 (gst_pad_remove_buffer_probe): Make those function act on the
2672 ghostpad target when it's a ghostpad. (Closes #331727)
2674 2006-02-20 Julien MOUTTE <julien@moutte.net>
2676 * libs/gst/base/gstbasetransform.c:
2677 (gst_base_transform_change_state): Make basetransform reusable.
2680 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
2682 * docs/random/release:
2683 Move the current documentation of how to do a release to the top
2686 * gst/gstbin.c: (gst_bin_class_init),
2687 (gst_bin_handle_message_func):
2688 Allow multiple state-recalculation threads. (Closes #328873)
2690 2006-02-19 Julien MOUTTE <julien@moutte.net>
2692 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
2693 * gst/gstpad.c: (gst_pad_set_event_function),
2694 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2695 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2696 2 strings. You can't use the STR_NULL macro on that.
2698 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
2700 * gst/gstpad.c: (gst_pad_set_event_function),
2701 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2702 (gst_pad_set_getcaps_function)
2703 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
2704 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
2705 So now, we can use --gst-debug-level=5 on Windows
2706 * win32/common/libgstcontroller.def:
2707 Added export of gst_controller_init
2708 * win32/vs6/libgstcontroller.dsp:
2709 Fixed Release post build configuration
2711 2006-02-17 Wim Taymans <wim@fluendo.com>
2713 * tests/check/gst/gstquery.c: (GST_START_TEST):
2714 Added another check.
2716 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
2718 * plugins/elements/gsttypefindelement.c: (find_peek):
2719 We can do peeks at non-zero offsets, as long as they
2720 fall within the buffer we have.
2722 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
2724 * tests/check/Makefile.am:
2725 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
2726 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
2727 (parse_suite), (main):
2728 Add testsuite for parse launch syntax
2730 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
2732 * plugins/elements/gsttypefindelement.c:
2733 (gst_type_find_element_chain):
2734 When typefinding is unsuccessful in the chain function, don't
2735 error out immediately. Only error out with NO_CAPS_FOUND if
2736 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
2737 otherwise simply wait for more data so we can try typefinding
2738 again with more data later. Also, don't attempt to typefind
2739 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
2740 this should improve typefinding from network sources where the
2741 size of the first buffer can be somewhat random.
2743 2006-02-14 Wim Taymans <wim@fluendo.com>
2745 * docs/gst/gstreamer-sections.txt:
2746 * gst/gstpadtemplate.c:
2747 * gst/gstpadtemplate.h:
2748 Fix padtemplate docs, fixes #328805.
2750 2006-02-14 Wim Taymans <wim@fluendo.com>
2752 * tools/gst-launch.c: (main):
2753 NO_PREROLL is not an ERROR so don't send confusing messages
2756 2006-02-14 Wim Taymans <wim@fluendo.com>
2758 Patch by: Torsten Schoenfeld
2760 * gst/gstregistry.c: (gst_registry_get_default),
2761 (_gst_registry_cleanup):
2762 Protect default registry with lock and ref/sink it.
2765 2006-02-14 Wim Taymans <wim@fluendo.com>
2768 * gst/gstquery.c: (gst_query_list_add_format),
2769 (gst_query_set_formatsv), (gst_query_parse_formats_length),
2770 (gst_query_parse_formats_nth):
2771 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2774 2006-02-14 Wim Taymans <wim@fluendo.com>
2776 * docs/gst/gstreamer-sections.txt:
2777 Reworked query docs.
2779 * gst/gstquery.c: (gst_query_new_formats),
2780 (gst_query_list_add_format), (gst_query_set_formats),
2781 (gst_query_set_formatsv), (gst_query_parse_formats_length),
2782 (gst_query_parse_formats_nth):
2784 Flesh out formats query, added some new methods.
2785 Fix part of #324398.
2787 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
2788 Added query creation tests.
2790 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
2792 * gst/gstpad.c: (fixate_value):
2793 Add a default fixation for fraction lists.
2795 2006-02-13 Wim Taymans <wim@fluendo.com>
2797 * gst/gsttask.c: (gst_task_init), (gst_task_func),
2798 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
2801 Detect and warn for obvious deadlocks. fixes #320340
2802 Fix error case where lock was not released.
2804 * tests/check/Makefile.am:
2805 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
2806 (task_func), (gst_element_suite), (main):
2809 2006-02-13 Wim Taymans <wim@fluendo.com>
2811 * docs/gst/gstreamer-sections.txt:
2813 Add new functions to docs.
2815 2006-02-13 Wim Taymans <wim@fluendo.com>
2817 * docs/design/part-TODO.txt:
2818 Updated TODO list, basesrc supports seeking to non-bytes
2821 * docs/design/part-element-sink.txt:
2824 * gst/gstbin.c: (bin_replace_message),
2825 (gst_bin_handle_message_func):
2826 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
2827 * gst/gstevent.c: (gst_event_finalize):
2828 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2829 (gst_pad_send_event):
2830 Use shiny new _TYPE_NAME macros.
2832 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2833 Move debug statement up.
2835 * gst/gstelement.c: (gst_element_set_locked_state):
2838 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
2840 * docs/gst/gstreamer-sections.txt:
2843 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
2844 macros (#330906). Also, document the already existing
2845 GST_QUERY_TYPE macro.
2847 2006-02-13 Wim Taymans <wim@fluendo.com>
2849 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
2850 (event_probe), (GST_START_TEST):
2851 Only events up to the pipeline EOS are counted, there are
2852 some more when going to NULL currently which we don't care
2855 2006-02-13 Wim Taymans <wim@fluendo.com>
2857 * gst/gstpad.c: (gst_pad_send_event):
2858 Correctly check flushing and emit probes. fixes #330125
2860 2006-02-10 Andy Wingo <wingo@pobox.com>
2862 * gst/gstbus.c (gst_bus_class_init): Declare our private data
2864 (gst_bus_init): Cache the location of the private data in the
2866 (gst_bus_enable_sync_message_emission)
2867 (gst_bus_disable_sync_message_emission): Implement new public
2869 (gst_bus_post): Emit the sync-message signal if the user asked for
2872 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
2873 location of the bus-private structure.
2874 (gst_bus_enable_sync_message_emission)
2875 (gst_bus_disable_sync_message_emission): API addition
2877 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
2879 Patch by: Vincent Torri
2881 * docs/pwg/building-boiler.xml:
2882 PWG patch from #326800
2884 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
2888 * docs/design/Makefile.am:
2891 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2896 === release 0.10.3 ===
2898 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2901 releasing 0.10.3, "Like a virgin"
2903 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
2906 2nd prerelease of 0.10.3
2907 Bump libtool versioning.
2909 2006-02-07 Andy Wingo <wingo@pobox.com>
2911 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
2912 update last_stop if we're in TIME format and the timestamp is
2915 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
2916 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
2917 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
2918 If we get a new newsegment with a different format, adapt
2921 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
2922 of 0. Not a problem, really.
2924 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
2927 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
2932 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
2935 project files updated to the default vs7 configuration
2936 * win32/common/libgstbase.def:
2937 * win32/common/libgstreamer.def:
2939 removed empty lines,
2940 sorted all exported symbols alphabetically
2941 * win32/common/dirent.c:
2942 * win32/common/dirent.h:
2943 * win32/common/gchar.h:
2944 use windows line end.
2946 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
2948 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2949 Send EOS event when stopping.
2951 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
2954 Tell folks what to do if the plugin-foobar.xml file
2955 hasn't been generated for a newly-added plugin.
2957 2006-02-05 Julien MOUTTE <julien@moutte.net>
2959 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2960 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2961 (gst_collect_pads_start), (gst_collect_pads_stop),
2962 (gst_collect_pads_event): Collectpads now holds a reference
2963 to the GstPad that was added. Indeed we don't want to look
2964 at pads that might just go away with no warning...
2966 2006-02-05 Julien MOUTTE <julien@moutte.net>
2968 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2969 (gst_collect_pads_start), (gst_collect_pads_stop),
2970 (gst_collect_pads_event), (gst_collect_pads_chain):
2971 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
2972 Mark Nauwelaerts's patch on bug #328491.
2974 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
2976 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
2978 Add some simple tests for gst_parse_bin_from_description() and
2979 gst_bin_find_unconnected_pad() (#329069).
2981 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
2983 * tools/gst-launch.c: (event_loop), (main):
2984 Catch errors during preroll (#320084).
2986 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
2988 * plugins/elements/gsttypefindelement.c:
2989 (gst_type_find_element_activate):
2990 Post TYPE_NOT_FOUND error message when typefinding
2991 is unsuccessful in the activate function as well.
2993 2006-02-02 Wim Taymans <wim@fluendo.com>
2995 * docs/design/part-element-sink.txt:
2998 2006-02-02 Wim Taymans <wim@fluendo.com>
3000 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3001 (gst_base_sink_render_object),
3002 (gst_base_sink_queue_object_unlocked):
3003 Only keep track of prerollable items when we are
3005 Before rendering after preroll, always check if we
3007 Added some more debugging.
3009 2006-02-02 Wim Taymans <wim@fluendo.com>
3011 * gst/gstelement.c: (gst_element_continue_state),
3012 (gst_element_set_state_func), (gst_element_change_state):
3013 Fixed #326576, been running this for quite some time with
3014 no regressions at all.
3016 2006-02-02 Wim Taymans <wim@fluendo.com>
3019 Added more suppressions
3021 2006-02-02 Wim Taymans <wim@fluendo.com>
3023 * docs/design/part-element-sink.txt:
3026 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3027 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3028 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3029 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3030 (gst_base_sink_do_sync), (gst_base_sink_render_object),
3031 (gst_base_sink_preroll_object),
3032 (gst_base_sink_queue_object_unlocked),
3033 (gst_base_sink_queue_object), (gst_base_sink_event),
3034 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3035 (gst_base_sink_loop), (gst_base_sink_activate_pull),
3036 (gst_base_sink_get_position), (gst_base_sink_change_state):
3037 * libs/gst/base/gstbasesink.h:
3038 Totally refactored matching the design doc.
3039 Use two segments, one to clip incomming buffers and another to
3041 Handle queueing correctly, bypass the queue when playing.
3042 Make EOS cancelable.
3043 Handle errors correctly when operating in pull based mode.
3045 * tests/check/elements/fakesink.c: (GST_START_TEST),
3047 Added new check for sinks.
3049 2006-02-02 Wim Taymans <wim@fluendo.com>
3051 * gst/gstsegment.c: (gst_segment_clip):
3052 No reason to refuse to clip when start == -1
3054 2006-02-02 Stefan Kost <ensonic@users.sf.net>
3057 * docs/manual/intro-basics.xml:
3058 * docs/manual/intro-preface.xml:
3059 * docs/manual/manual.xml:
3060 * docs/pwg/advanced-dparams.xml:
3061 * docs/pwg/intro-basics.xml:
3062 * docs/pwg/intro-preface.xml:
3064 describe dparams (controller) for plugins
3065 unify docs a little more
3067 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
3069 * docs/gst/gstreamer-sections.txt:
3070 * gst/gstutils.c: (element_find_unconnected_pad),
3071 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3073 Add new API: gst_parse_bin_from_description() and
3074 gst_bin_find_unconnected_pad() (#329069).
3076 2006-02-01 Stefan Kost <ensonic@users.sf.net>
3078 * docs/manual/README:
3079 uncover a nasty detail of the docs build
3081 2006-01-31 Wim Taymans <wim@fluendo.com>
3083 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3084 Don't cache duration messages if we're not going to use or
3087 2006-01-31 Stefan Kost <ensonic@users.sf.net>
3089 * docs/manual/advanced-dparams.xml:
3090 * docs/pwg/advanced-dparams.xml:
3094 * libs/gst/controller/lib.c: (gst_controller_init):
3097 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
3099 * gst/gstelement.c: (gst_element_message_full):
3100 also show file/line/func if no additional debug was given
3102 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
3104 * win32/vs7/grammar.vcproj:
3105 activate copy of autogenerated files for Release mode
3107 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3109 * win32/common/libgstreamer.def:
3110 export gst_value_compare
3112 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
3114 * plugins/elements/Makefile.am:
3115 * plugins/elements/gstelements.c:
3116 * plugins/elements/gstfdsink.c: (_do_init),
3117 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3118 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3119 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3120 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3121 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3122 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3123 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3124 * plugins/elements/gstfdsink.h:
3125 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3127 2006-01-30 Stefan Kost <ensonic@users.sf.net>
3129 * docs/manual/advanced-dparams.xml:
3131 * docs/manual/advanced-position.xml:
3132 * docs/manual/basics-init.xml:
3133 * docs/manual/manual.xml:
3134 * docs/manual/titlepage.xml:
3136 * docs/pwg/titlepage.xml:
3137 cleanup xml (more to come)
3138 * libs/gst/controller/gstcontroller.c:
3141 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3143 * win32/vs6/grammar.dsp:
3144 add autogen of gstmarshal.c,h for Release mode
3146 2006-01-30 Wim Taymans <wim@fluendo.com>
3148 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3149 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3150 (gst_base_sink_handle_object), (gst_base_sink_event),
3151 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3152 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3153 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3154 (gst_base_sink_deactivate), (gst_base_sink_activate),
3155 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3156 (gst_base_sink_query), (gst_base_sink_change_state):
3157 Basesink cleanups, remove some old code.
3158 Handle the case where a subclass can preroll in the render
3159 method (mostly audiosinks).
3161 Remove some locks around variables that are now protected
3162 with the PREROLL_LOCK (clock_id, flushing, ..).
3163 Optimize position query some more, do correct locking.
3164 Remove old code to push queue in state change, this is not
3165 needed anymore since preroll blocks on all prerollable items
3167 Almost implemented as described in design doc.
3169 2006-01-30 Wim Taymans <wim@fluendo.com>
3171 * tests/check/gst/gstbin.c: (GST_START_TEST):
3172 Wait for refcount to settle down before checking.
3174 2006-01-30 Wim Taymans <wim@fluendo.com>
3176 * docs/design/part-element-sink.txt:
3177 Pseudo code overview of desired sink behaviour regarding
3180 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3181 * win32/vs6/grammar.dsp:
3182 fix some bugs in Release mode for autogenerated files
3184 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3185 * win32/common/libgstbase.def:
3186 * win32/common/libgstreamer.def:
3187 export some new symbols: gst_base_src_set_format,
3188 gst_iterator_next, gst_structure_set_valist
3190 2006-01-29 Julien MOUTTE <julien@moutte.net>
3192 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3193 Set pad functions unconditionally. Fixes #329105.
3195 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3197 add vs8 project files created by Sergey Scobich
3199 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
3201 * gst/gstutils.c: (gst_element_unlink_pads):
3202 Don't leak pad references.
3204 * tests/check/elements/fakesink.c: (GST_START_TEST):
3205 * tests/check/generic/sinks.c: (GST_START_TEST):
3206 * tests/check/generic/states.c: (GST_START_TEST):
3207 * tests/check/gst/gstbin.c: (GST_START_TEST):
3208 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3209 * tests/check/gst/gstelement.c: (GST_START_TEST):
3210 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3211 * tests/check/gst/gstiterator.c: (GST_START_TEST):
3212 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3213 Fix a bunch of leaks. Make generic/sinks.c
3214 use a bit less cpu by slowing the buffer rate
3215 between fakesrc and fakesink.
3217 2006-01-27 Stefan Kost <ensonic@users.sf.net>
3219 * gst/gstelement.c: (gst_element_send_event):
3222 * gst/gstiterator.c:
3223 * gst/gstiterator.h:
3224 * gst/gstpad.c: (gst_pad_send_event):
3225 * gst/gststructure.c:
3229 * libs/gst/base/gstadapter.c:
3230 doc fixes, to link to function, just write gst_cool_function(), don't
3233 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3235 * plugins/elements/gsttee.c: (gst_tee_do_push),
3236 (gst_tee_handle_buffer):
3237 Always prefer an actual return value from a src
3238 pad in place of NOT_LINKED. This means we return
3239 WRONG_STATE when all src pads are WRONG_STATE
3240 instead of NOT_LINKED.
3242 Lock when replacing the last message to prevent
3243 racing with the get_property method.
3247 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3249 * tests/check/Makefile.am:
3250 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3252 Add a very simple check that should have caught the memleak I fixed
3253 last night (if not for the slice allocator hiding it)
3255 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3257 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3258 (gst_bin_remove_func), (gst_bin_handle_message_func),
3259 (bin_query_duration_fold), (bin_query_generic_fold):
3260 Clean up references to the clock provider when disposed or when
3261 handling a clock-lost message from it.
3263 Unref sinks when performing a query via gst_iterator_fold, as the
3264 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3266 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3267 (gst_clock_set_master):
3268 Drop our reference to the master clock, if any, when we are disposed.
3270 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3271 Chain up in dispose.
3273 2006-01-26 Wim Taymans <wim@fluendo.com>
3275 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3278 2006-01-26 Julien MOUTTE <julien@moutte.net>
3280 * plugins/elements/gsttee.c: (gst_tee_do_push),
3281 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3282 handles pad being NOT_LINKED or in WRONG_STATE.
3284 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3289 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3292 remove obsolete entry
3294 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3296 * docs/gst/gstreamer-sections.txt:
3297 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3298 (gst_bin_iterate_sources), (gst_bin_send_event):
3300 * gst/gstelement.c: (gst_element_send_event):
3302 * gst/gstpad.c: (gst_pad_send_event):
3303 added code for downstream events, reviewed docs in gstevent.c
3305 2006-01-25 Julien MOUTTE <julien@moutte.net>
3307 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3308 We only query position using the clock in the playing state.
3309 Query peer in the other cases.
3310 * win32/common/config.h: Updates.
3312 2006-01-24 Wim Taymans <wim@fluendo.com>
3314 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3315 A clock entry that is scheduled for the exact time of the
3316 clock is still in time.
3318 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3319 (gst_base_sink_do_sync):
3320 Add some more debug info.
3322 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3325 Add new vs7 project files and solution.
3327 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3330 all files removed as they were out-dated.
3332 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3334 * docs/random/release:
3336 * gst/gstbin.c: (gst_bin_init):
3337 * gst/gstbus.c: (gst_bus_new):
3339 * gst/gstpipeline.c: (gst_pipeline_init):
3340 use gst_bus_new(), improve logging, fix docs
3341 * win32/common/config.h:
3342 update for cvs build
3344 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3347 up required version of automake to 1.7
3349 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
3351 * win32/common/libgstreamer.def:
3352 export gst_buffer_is_metadata_writable
3354 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
3356 * docs/gst/gstreamer-sections.txt:
3358 Add gst_event_replace() (#327001)
3360 2006-01-20 Wim Taymans <wim@fluendo.com>
3362 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3363 Make it actually compile too..
3365 2006-01-20 Wim Taymans <wim@fluendo.com>
3368 Clarify behaviour of _is_equal() when passing NULL parameters.
3370 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3372 Cleanups. Don't unref NULL caps.
3373 When setting the same caps, protect caps of the pad with
3375 Use full functionality of _is_equal() when comparing caps.
3377 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3379 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3380 Don't loop infinitely if there are no buffers to present. Partially
3381 fixes #327197, but collectpads is just broken for reusing elements
3382 to do multiple encodes atm.
3384 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3386 * tools/gst-inspect.c: (print_element_features):
3387 * tools/gst-xmlinspect.c: (main):
3388 URL_HANDLER is not a plugin feature we can search for in
3391 2006-01-19 Edward Hervey <edward@fluendo.com>
3393 * gst/gstelement.c: (gst_element_pads_activate):
3394 When activating, do src pads first, then sink pads.
3395 When de-activating, do sink pads first, then src pads.
3397 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3399 * docs/gst/gstreamer-sections.txt:
3400 Add gst_index_add_associationv to the docs
3402 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3407 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3408 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3409 Do some refactoring. Doesn't actually change functionality,
3410 but makes landing the DRAIN event easier later.
3412 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
3414 * docs/pwg/advanced-scheduling.xml:
3415 Update from 0.9.x to 0.10 API and make example a bit
3418 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3420 * docs/gst/gstreamer-sections.txt:
3421 Add gst_buffer_(is|make)_metadata_writable methods.
3423 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3425 * docs/design/part-sparsestreams.txt:
3426 Update sparse streams doc, hopefully for greater clarity
3428 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
3430 * docs/design/part-events.txt:
3431 Remove mention of FILLER events.
3434 * docs/design/part-sparsestreams.txt:
3435 Write some things about using NEWSEGMENT to keep sparse streams
3438 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3440 * gst/gstbin.c: (gst_bin_dispose):
3441 Guard gst_object_unref call against a NULL object (dispose
3442 can theoretically be called multiple times).
3444 2006-01-18 Wim Taymans <wim@fluendo.com>
3446 * gst/gstbin.c: (gst_bin_element_set_state):
3447 * gst/gstclock.c: (gst_clock_id_wait):
3448 Added some more debug info.
3450 * libs/gst/base/gstadapter.c:
3453 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3454 (gst_base_sink_do_sync), (gst_base_sink_chain):
3455 Added some comments.
3457 2006-01-18 Wim Taymans <wim@fluendo.com>
3459 * tests/check/Makefile.am:
3460 * tests/check/elements/fakesink.c: (chain_async_buffer),
3461 (chain_async), (chain_async_return), (GST_START_TEST),
3462 (fakesink_suite), (main):
3463 Added fakesink test that checks prerolling and clipping
3466 * tests/check/gst/gstutils.c: (GST_START_TEST):
3467 Make check run faster so that buildbots don't timeout.
3469 2006-01-18 Wim Taymans <wim@fluendo.com>
3471 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3472 (gst_base_sink_do_sync):
3474 When the sink finishes blocking on the preroll buffer, it can
3475 immediatly render it instead of rendering when the next buffer
3478 2006-01-18 Wim Taymans <wim@fluendo.com>
3480 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
3481 (gst_base_sink_get_property), (gst_base_sink_do_sync),
3482 (gst_base_sink_chain):
3484 GST_ELEMENT_CLOCK and sync are protected with LOCK.
3485 Don't store _last_stop if the buffer is dropped.
3487 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3489 * plugins/elements/gsttypefindelement.c:
3490 (gst_type_find_element_class_init):
3491 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
3492 object method handler that sets the caps on the pad and we want
3493 that to happen before we emit the signal (fixes e.g. feeding a
3494 plain text file to decodebin).
3496 2006-01-18 Christian Schaller <Christian@fluendo.com>
3498 * gst/gstplugin.c: Add MPL and Proprietary as license options
3500 2006-01-18 Andy Wingo <wingo@pobox.com>
3502 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
3503 symbol was exported before, it appears this was just an oversight.
3505 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
3507 * gst/gstindex.c (gst_index_add_associationv): Changed int in
3508 prototype to gint. OK since this prototype was not in the header.
3510 2006-01-17 Andy Wingo <wingo@pobox.com>
3512 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
3513 registry while we remove plugins.
3515 * tools/gst-inspect.c (print_element_info): Don't unref the
3516 factory arg, that should be the responsibility of whatever code
3517 received the ref. Fixes a double-free when called from
3518 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
3519 (main): Unref the factory if we have one.
3520 (print_element_list): No change -- relies on the
3521 plugin_feature_list_free to free the list of features.
3523 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
3525 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3526 (gst_buffer_make_metadata_writable):
3528 * libs/gst/base/gstbasetransform.c:
3529 (gst_base_transform_prepare_output_buf):
3530 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3531 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3532 Replace gst_buffer_(make|is)_metadata_writable patch now
3533 that the release is out.
3535 2006-01-17 Andy Wingo <wingo@pobox.com>
3537 * gst/gstregistry.c: Reflow design comment. Update so as to speak
3538 in the present tense without reference to versions.
3540 * gst/gstregistry.c (gst_registry_add_plugin)
3541 (gst_registry_remove_plugin, gst_registry_remove_feature)
3542 (gst_registry_find_feature, gst_registry_get_feature_list)
3543 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
3544 (gst_registry_lookup, gst_registry_scan_path)
3545 (_gst_registry_remove_cache_plugins)
3546 (gst_registry_get_feature_list_by_plugin): Add argument
3549 === release 0.10.2 ===
3551 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
3554 releasing 0.10.2, "If man is five"
3556 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3560 * libs/gst/base/gstbasetransform.c:
3561 (gst_base_transform_prepare_output_buf):
3562 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3563 * tests/check/gst/gstbuffer.c: (gst_test_suite):
3564 Back out patch until after the release.
3566 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3568 * gst/gstminiobject.c:
3569 Spelling fix in docs.
3570 * ChangeLog - remove conflict indicator
3572 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
3574 Reviewed By: Andy Wingo
3576 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3577 (gst_buffer_make_metadata_writable):
3579 Add gst_buffer_(is|make)_metadata_writable as analogues of
3580 gst_buffer_(is|make)_writable.
3582 * libs/gst/base/gstbasetransform.c:
3583 (gst_base_transform_prepare_output_buf):
3584 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3585 Use name gst_buffer_(is|make)_metadata_writable functions.
3587 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3588 Test gst_buffer_(is|make)_metadata_writable
3592 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
3594 * docs/manual/Makefile.am:
3595 don't do parallel make
3598 * win32/common/config.h.in:
3599 add generations for HOST_CPU and GST_MAJORMINOR
3600 * win32/common/config.h:
3601 commit generated result
3603 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
3605 * docs/manual/appendix-integration.xml:
3606 Update GNOME integration section to use gst_init_get_option_group()
3607 instead of the old popt stuff (#322911). Also, GNOME applications
3608 should now use gconf*sink and gconf*src instead of the old gconf
3611 2006-01-13 Stefan Kost <ensonic@users.sf.net>
3614 * docs/gst/gstreamer-docs.sgml:
3615 * docs/gst/gstreamer-sections.txt:
3616 * docs/libs/gstreamer-libs-sections.txt:
3617 add new API entries to the docs
3618 * libs/gst/controller/Makefile.am:
3619 * libs/gst/controller/gstcontroller.c:
3620 * libs/gst/controller/gstcontroller.h:
3621 * libs/gst/controller/gstcontrollerprivate.h:
3622 * libs/gst/controller/gsthelper.c:
3623 * libs/gst/controller/gstinterpolation.c:
3624 move private structs to private header
3626 gstreamer-0.7 -> gstreamer-0.10
3627 * tests/check/libs/struct_i386.h:
3628 remove private structs
3630 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3632 * plugins/indexers/Makefile.am:
3633 Fixes as part of #317048
3635 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
3637 * plugins/indexers/Makefile.am:
3638 fix #316086 - compilation when mmap is missing
3640 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
3642 * libs/gst/base/gstbasesink.c:
3643 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
3644 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
3645 * win32/common/config.h:
3646 added some defines GST_MAJORMINOR and HOST_CPU
3647 * win32/common/libgstbase.def:
3648 * win32/common/libgstreamer.def:
3649 added some exported functions.
3651 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3653 * libs/gst/controller/gstcontroller.c:
3654 (gst_controlled_property_set_interpolation_mode),
3655 (gst_controlled_property_new):
3656 * libs/gst/controller/gstcontroller.h:
3657 * libs/gst/controller/gstinterpolation.c:
3658 (interpolate_none_get_string_value_array):
3659 make G_TYPE_STRING controlable
3661 2006-01-12 Stefan Kost <ensonic@users.sf.net>
3664 * tools/gst-feedback.1.in:
3665 * tools/gst-inspect.1.in:
3666 * tools/gst-launch.1.in:
3667 * tools/gst-md5sum.1.in:
3668 * tools/gst-typefind.1.in:
3669 * tools/gst-xmlinspect.1.in:
3670 * tools/gst-xmllaunch.1.in:
3671 cleanup man-pages, remove reference to gst-register, document env-vars
3673 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
3675 * gst/gstbuffer.c: (gst_buffer_span):
3676 gst_buffer_span should copy the timestamp of the first buffer
3677 if they were both originally overlapping subbuffers of the
3678 same parent, using the same logic as the 'slow copy' case.
3680 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
3682 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
3683 Need to awaken ALL the pads when we pop a buffer, otherwise
3684 collectpads only works when there is 2 input streams.
3686 2006-01-11 Stefan Kost <ensonic@users.sf.net>
3688 * docs/random/ensonic/media-device-daemon.txt:
3691 fix doc example, add clarification
3692 * tools/gst-launch.1.in:
3693 add initial info about GST_PLUGIN_PATH, needs more work
3695 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
3697 * docs/manual/basics-bins.xml:
3698 * docs/manual/basics-elements.xml:
3699 * docs/manual/intro-basics.xml:
3700 Some more minor docs additions and updates.
3702 2006-01-11 Wim Taymans <wim@fluendo.com>
3704 * docs/manual/basics-bins.xml:
3705 * docs/manual/basics-elements.xml:
3706 Some small fixes as pointed out by Ser-ver on IRC.
3708 2006-01-10 Edward Hervey <edward@fluendo.com>
3710 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3711 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
3712 the single-segment mode.
3714 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
3716 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3718 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
3719 (gst_base_src_perform_seek), (gst_base_src_send_event),
3720 (gst_base_src_set_property), (gst_base_src_get_property),
3721 (gst_base_src_loop), (gst_base_src_start),
3722 (gst_base_src_activate_push):
3723 * libs/gst/base/gstbasesrc.h:
3724 Name (private) union; makes Sun's Forte compiler happy (#324900).
3726 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
3729 gst-register is gone.
3731 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
3733 * gst/gstvalue.c: (_gst_value_initialize):
3734 make the G_TYPE_DATE instantiation work if debug is disabled
3736 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
3738 * gst/gstmessage.c: (gst_message_parse_tag),
3739 (gst_message_parse_error), (gst_message_parse_warning):
3740 Don't crash when return location for error/warning debug
3741 string is NULL; add fact that return locations can be
3742 NULL to docs where appropriate.
3744 2006-01-05 Wim Taymans <wim@fluendo.com>
3746 * gst/gstplugin.c: (gst_plugin_load_file):
3747 Replace strdup by g_strdup.
3749 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3751 * docs/pwg/advanced-types.xml:
3754 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
3756 submitted by: Abel Cheung
3760 Added Chinese (traditional) translation
3762 2006-01-04 Wim Taymans <wim@fluendo.com>
3764 * docs/manual/basics-pads.xml:
3765 * docs/plugins/Makefile.am:
3766 * docs/plugins/gstreamer-plugins-docs.sgml:
3767 * docs/plugins/gstreamer-plugins-sections.txt:
3768 * docs/pwg/advanced-clock.xml:
3769 * docs/pwg/advanced-scheduling.xml:
3770 * docs/pwg/advanced-types.xml:
3771 * plugins/elements/gstfdsink.c:
3772 * plugins/elements/gstfdsrc.c:
3773 * plugins/elements/gstfdsrc.h:
3774 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3775 * plugins/elements/gstidentity.h:
3776 * plugins/elements/gstqueue.h:
3777 * plugins/elements/gsttee.c:
3778 * plugins/elements/gsttee.h:
3779 * plugins/elements/gsttypefindelement.c:
3780 (gst_type_find_element_class_init):
3781 * plugins/elements/gsttypefindelement.h:
3782 Small updates to various docs.
3783 Added core plugins to docs.
3785 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3788 add a suppression for liboil's uninitialized variable
3790 2006-01-02 James Livingston <jrl at ids dot org dot au>
3792 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3795 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
3796 macro, so that gcc doesn't complain if the -Wmissing-prototypes
3797 compiler switch is being used (#325429).
3799 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
3801 * gst/gstbin.c: (gst_bin_query):
3802 Disable duration query caching in bins until it gets
3803 fixed (see #324807).
3805 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3807 * tools/gst-inspect.c: (print_element_properties_info):
3808 Handle properties of POINTER and BOXED type.
3810 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
3812 * gst/gst.c: (init_post):
3813 Init tags stuff and some other things before loading
3814 any static plugins (there may be other static plugins
3815 than just the GStreamer ones, and they may want to
3816 register their own tags or formats or whatever, and
3817 preferably without segfaulting).
3819 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3820 Print at least a warning in the debug logs if we drop a
3821 query just because we don't know how to adjust the value
3822 in the particular format.
3824 2005-12-24 David Schleef <ds@schleef.org>
3826 * tools/gstreamer-completion:
3827 Replacement for gst-complete written in sh and sed. Only
3828 completes names of features, but that's 90% of what I want
3829 it for. Properties are not available in registry.xml. (Maybe
3832 === release 0.10.1 ===
3834 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
3837 releasing 0.10.1, "Nollaig chridheil"
3839 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
3842 Add missing quote, should be make ERROR_CFLAGS="".
3844 2005-12-20 Wim Taymans <wim@fluendo.com>
3846 * docs/design/part-trickmodes.txt:
3847 More documentation on trickmodes.
3849 2005-12-20 Edward Hervey <edward@fluendo.com>
3851 * gst/gstcaps.c: (gst_static_caps_get_type):
3853 API addition: GST_TYPE_STATIC_CAPS
3854 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
3855 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
3856 * gst/gstpadtemplate.h:
3857 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
3858 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
3861 2005-12-18 Wim Taymans <wim@fluendo.com>
3863 * libs/gst/base/gstadapter.c:
3864 * libs/gst/base/gstadapter.h:
3865 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3866 (gst_base_sink_get_position):
3867 * libs/gst/base/gstbasesink.h:
3868 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3869 (gst_base_src_default_query), (gst_base_src_default_do_seek),
3870 (gst_base_src_do_seek), (gst_base_src_perform_seek),
3871 (gst_base_src_send_event), (gst_base_src_update_length),
3872 (gst_base_src_get_range), (gst_base_src_loop),
3873 (gst_base_src_start):
3874 * libs/gst/base/gstbasesrc.h:
3875 * libs/gst/base/gstbasetransform.h:
3876 * libs/gst/base/gstcollectpads.h:
3877 * libs/gst/base/gstpushsrc.c:
3878 * libs/gst/base/gstpushsrc.h:
3879 * libs/gst/dataprotocol/dataprotocol.c:
3880 * libs/gst/dataprotocol/dataprotocol.h:
3881 * libs/gst/net/gstnetclientclock.h:
3882 * libs/gst/net/gstnettimeprovider.h:
3883 Documentation updates.
3885 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
3887 * docs/manual/basics-helloworld.xml:
3888 Remove superfluous closing bracket in helloworld example.
3890 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
3892 * tools/gst-launch.1.in:
3893 Update gst-launch man page; add a section with useful
3894 environment variables. Fixes #323882.
3896 2005-12-16 Stefan Kost <ensonic@users.sf.net>
3899 * gst/gst_private.h:
3900 change some char* into char[]
3902 2005-12-16 Wim Taymans <wim@fluendo.com>
3904 * gst/gstregistryxml.c: (load_feature):
3906 Don't use g_object_unref on GstObjects so that we avoid
3907 leaks on unsafe glibs.
3909 2005-12-16 Wim Taymans <wim@fluendo.com>
3911 * gst/gstbin.c: (gst_bin_recalc_state):
3914 2005-12-16 Wim Taymans <wim@fluendo.com>
3917 Added make forever target for check.
3919 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
3921 * gst/gst.c: (init_post):
3922 make the registry cache file HOST_CPU-dependent
3924 2005-12-16 Andy Wingo <wingo@pobox.com>
3926 * plugins/elements/gstbufferstore.c
3927 (gst_buffer_store_cleared_func): Pay attention to g_list_append
3930 * tests/check/gst/gstobject.c
3931 (test_fake_object_name_threaded_unique): Pay attention to
3932 g_list_sort return value.
3934 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
3936 * tools/gst-feedback-m.m:
3937 Update for 0.9/0.10 (fixes #323870).
3939 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
3941 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
3942 Fix lcopy for mini objects, the mini object needs to be ref'ed.
3944 * tests/check/gst/gstminiobject.c: (my_foo_init),
3945 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
3946 (test_value_collection), (gst_mini_object_suite):
3947 Add test to ensure refcounts end up as expected when passing
3948 GstMiniObjects through g_object_get() and g_object_set().
3950 2005-12-14 Julien MOUTTE <julien@moutte.net>
3952 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3953 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
3954 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
3955 of collectpads. This version removes a lot of races without
3956 touching API/ABI. Yay !
3958 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
3960 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
3961 Don't allow activation of a srcpad in pull_range if it has no
3963 Change some debug statements to be a little clearer
3965 * plugins/elements/gsttypefindelement.c:
3966 (gst_type_find_handle_src_query):
3967 Check that we have a peer before executing queries thereupon.
3969 * tests/examples/metadata/read-metadata.c: (message_loop):
3970 Use gst_bus_pop instead of gst_bus_poll when we just want it to
3971 immediately return us any available message with 0 timeout.
3973 2005-12-12 Michael Smith <msmith@fluendo.com>
3975 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3976 Don't unref factories after calling them.
3977 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
3978 * plugins/elements/gsttypefindelement.c:
3979 (gst_type_find_element_chain):
3980 Free lists of factories after using them. Fixing typefinding memory
3983 2005-12-12 Stefan Kost <ensonic@users.sf.net>
3985 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3986 (gst_plugin_feature_load):
3987 more meaningful debug output
3989 * tests/Makefile.am:
3990 * tests/old/examples/Makefile.am:
3991 make make distcheck happy again
3993 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
3995 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3996 Catch the special case where we are operating chain-based,
3997 but the downstream peer pad has no chain function. Emit a
3998 custom error message in this case instead of letting the
3999 core generate one implying that this is some sort of core
4000 bug. It's not, it just means that whatever got plugged
4001 into the pipeline downstream when we announced the type
4002 can only operate pull-based, while our source can only
4003 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4004 Error string has not been marked for translation yet, as
4005 it probably needs some more work first.
4007 (gst_type_find_element_get_best_possibility):
4008 Add helper function to find the best of all available
4009 found possibilities that qualify given the min. threshold.
4011 (gst_type_find_element_handle_event):
4012 Fix the case where we get an EOS while still in TYPEFIND
4013 mode (we want to chose the best of all possible types,
4014 not just the first type that happens to be in our unsorted
4015 list of possible types).
4017 (gst_type_find_element_chain):
4018 Make sure we return GST_FLOW_ERROR when we errored out
4019 in stop_typefinding(); also, don't just find the best of
4020 all found type entries and then use the last examined
4021 type entry, but actually use the best entry.
4023 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4025 * tests/examples/typefind/typefind.c: (type_found):
4026 * tests/examples/xml/runxml.c: (xml_loaded):
4027 More gcc4 fixes and a mem leak fix.
4029 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4031 * tests/examples/xml/createxml.c: (object_saved):
4034 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4036 * tests/Makefile.am:
4037 enable the examples even more
4039 2005-12-12 Andy Wingo <wingo@pobox.com>
4041 * libs/gst/net/gstnettimeprovider.c
4042 (gst_net_time_provider_class_init, gst_net_time_provider_init)
4043 (gst_net_time_provider_set_property)
4044 (gst_net_time_provider_get_property):
4045 API addition: Export "active" as a GObject property.
4046 (gst_net_time_provider_thread): Only respond to time queries if
4047 the time provider is active.
4049 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4050 NetTimeProvider, preserving binary compat.
4052 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4054 * tests/examples/controller/audio-example.c: (main):
4055 * tests/examples/launch/Makefile.am:
4056 convert comments again
4058 2005-12-12 Wim Taymans <wim@fluendo.com>
4060 * libs/gst/base/gstpushsrc.c:
4063 2005-12-12 Wim Taymans <wim@fluendo.com>
4065 * docs/libs/gstreamer-libs-sections.txt:
4066 Added new symbol to docs.
4068 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4069 (gst_base_src_init), (gst_base_src_set_format),
4070 (gst_base_src_default_query), (gst_base_src_query),
4071 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4072 (gst_base_src_perform_seek), (gst_base_src_send_event),
4073 (gst_base_src_default_event), (gst_base_src_event_handler),
4074 (gst_base_src_set_property), (gst_base_src_get_property),
4075 (gst_base_src_wait), (gst_base_src_do_sync),
4076 (gst_base_src_update_length), (gst_base_src_get_range),
4077 (gst_base_src_check_get_range), (gst_base_src_loop),
4078 (gst_base_src_default_negotiate), (gst_base_src_start),
4079 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4080 (gst_base_src_change_state):
4081 * libs/gst/base/gstbasesrc.h:
4082 Implement seeking to other formats than _BYTES.
4083 Implement more seeking methods correctly.
4085 Added query vmethod.
4086 Added do_seek vmethod to make life easier for subclasses
4088 API addition: gst_base_src_set_format()
4090 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4092 * tests/examples/Makefile.am:
4095 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4098 * docs/random/ensonic/media-device-daemon.txt:
4099 * tests/examples/controller/.cvsignore:
4100 * tests/examples/controller/Makefile.am:
4101 * tests/examples/controller/audio-example.c: (main):
4102 * tests/examples/helloworld/.cvsignore:
4103 * tests/examples/helloworld/Makefile.am:
4104 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4105 * tests/examples/launch/.cvsignore:
4106 * tests/examples/launch/Makefile.am:
4107 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4108 * tests/examples/metadata/.cvsignore:
4109 * tests/examples/metadata/Makefile.am:
4110 * tests/examples/metadata/read-metadata.c: (message_loop),
4111 (make_pipeline), (print_tag), (main):
4112 * tests/examples/queue/.cvsignore:
4113 * tests/examples/queue/Makefile.am:
4114 * tests/examples/queue/queue.c: (event_loop), (main):
4115 * tests/examples/typefind/.cvsignore:
4116 * tests/examples/typefind/Makefile.am:
4117 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4119 * tests/examples/xml/.cvsignore:
4120 * tests/examples/xml/Makefile.am:
4121 * tests/examples/xml/createxml.c: (object_saved), (main):
4122 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4123 * tests/old/examples/Makefile.am:
4124 * tests/old/examples/TODO:
4125 * tests/old/examples/controller/.cvsignore:
4126 * tests/old/examples/controller/Makefile.am:
4127 * tests/old/examples/controller/audio-example.c:
4128 * tests/old/examples/helloworld/.cvsignore:
4129 * tests/old/examples/helloworld/Makefile.am:
4130 * tests/old/examples/helloworld/helloworld.c:
4131 * tests/old/examples/launch/.cvsignore:
4132 * tests/old/examples/launch/Makefile.am:
4133 * tests/old/examples/launch/mp3parselaunch.c:
4134 * tests/old/examples/launch/mp3play:
4135 * tests/old/examples/manual/Makefile.am:
4136 * tests/old/examples/metadata/Makefile.am:
4137 * tests/old/examples/metadata/read-metadata.c:
4138 * tests/old/examples/queue/.cvsignore:
4139 * tests/old/examples/queue/Makefile.am:
4140 * tests/old/examples/queue/queue.c:
4141 * tests/old/examples/typefind/.cvsignore:
4142 * tests/old/examples/typefind/Makefile.am:
4143 * tests/old/examples/typefind/typefind.c:
4144 * tests/old/examples/xml/.cvsignore:
4145 * tests/old/examples/xml/Makefile.am:
4146 * tests/old/examples/xml/createxml.c:
4147 * tests/old/examples/xml/runxml.c:
4148 applied some simple fixing to some examples
4149 re-enabled the working examples
4151 2005-12-12 Wim Taymans <wim@fluendo.com>
4153 * gst/gstsegment.c: (gst_segment_init),
4154 (gst_segment_set_last_stop), (gst_segment_set_seek),
4155 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4156 (gst_segment_to_running_time):
4157 Added more documentation.
4158 Make sure the last_pos value is updated properly.
4159 Make sure to_stream_time and to_running_time don't
4160 operate on wrong values.
4162 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4165 2005-12-12 Michael Smith <msmith@fluendo.com>
4167 * plugins/elements/gsttypefindelement.c: (free_entry),
4168 (gst_type_find_element_chain):
4169 Now that we're not leaking factories, make sure we keep references
4170 to them while we need them.
4172 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4174 * tests/check/gst/struct_i386.h:
4175 ifdef out the XML structs
4177 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4179 * gst/gstvalue.c: (gst_value_transform_double_fraction):
4180 floor is not needed, F is always positive; this obviates the
4181 need for adding -lm when building without libxml
4183 2005-12-12 Wim Taymans <wim@fluendo.com>
4185 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4186 Take current playback rate into account when reporting
4189 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4191 * docs/manual/mime-world.fig:
4192 Let's try this again, this time with a file that is
4193 actually in XFig format.
4195 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4197 * docs/manual/mime-world.fig:
4198 Add audioconvert element to diagram so that it
4199 matches the text and the code (fixes #319526).
4201 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4203 * docs/pwg/building-chainfn.xml:
4204 * docs/pwg/building-pads.xml:
4205 * docs/pwg/building-state.xml:
4206 * docs/pwg/other-source.xml:
4207 Update state change stuff for 0.10 (fixes #322969).
4209 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4211 * docs/manual/advanced-dataaccess.xml:
4212 * docs/manual/appendix-checklist.xml:
4213 * docs/manual/appendix-programs.xml:
4214 * docs/manual/basics-pads.xml:
4215 * docs/manual/highlevel-components.xml:
4216 * docs/manual/manual.xml:
4217 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4218 add converters in front of pipelines; remove curly
4219 brackets for threads stuff, they no longer exist; use
4220 GST_TYPE_FRACTION for framerates; update some pieces of
4221 code to 0.10, but there's plenty more to do.
4223 * docs/manual/appendix-porting.xml:
4224 Expand on asynchroneous state changes; s/0.9/0.10/;
4225 mention disappearance of gst_init_get_popt_table()
4228 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4230 * docs/faq/using.xml:
4231 Spider no longer exists, and neither does gst-launch-ext.
4232 Update examples to use decodebin and playbin and put
4233 converters in front of sinks (fixes #323726).
4235 2005-12-09 Michael Smith <msmith@fluendo.com>
4237 * plugins/elements/gsttypefindelement.c: (find_peek),
4238 (gst_type_find_element_chain):
4239 Fix leaking element factories in typefinding.
4240 Fix problem where we forgot about a probable type on non-seekable
4241 files, and thus later mis-typefound it.
4243 2005-12-09 Michael Smith <msmith@fluendo.com>
4245 * common/m4/gst-makecontext.m4:
4246 * common/m4/gst-mcsc.m4:
4248 * win32/common/config.h:
4249 * win32/common/config.h.in:
4250 Remove makecontext stuff; not used in 0.10 and causes problems on
4251 HPUX according to bug #322441
4253 2005-12-07 Wim Taymans <wim@fluendo.com>
4255 * tests/check/Makefile.am:
4256 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4258 * tests/check/libs/struct_i386.h:
4259 Added ABI check for libs
4261 2005-12-07 Wim Taymans <wim@fluendo.com>
4263 * tests/check/Makefile.am:
4264 And add the struct_i386.h to dist.
4266 2005-12-07 Wim Taymans <wim@fluendo.com>
4268 * tests/check/Makefile.am:
4269 * tests/check/gst/.cvsignore:
4270 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4272 * tests/check/gst/struct_i386.h:
4273 Added check for ABI compatibility.
4275 2005-12-07 Wim Taymans <wim@fluendo.com>
4277 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4278 (gst_fake_src_get_times), (gst_fake_src_create):
4279 Fix broken sync option, fixes #323259
4281 2005-12-07 Wim Taymans <wim@fluendo.com>
4286 * gst/gstcaps.c: (gst_caps_is_equal):
4287 Don't assert on NULL <--> X. Fixes #323260
4289 * gst/gstminiobject.c: (gst_mini_object_replace):
4290 If we're doing atomic operations, we might just as well use
4291 the proper way to get an atomic pointer.
4293 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4296 2005-12-07 Michael Smith <msmith@fluendo.com>
4298 * gst/parse/grammar.y:
4299 Remove handling of { } for threads.
4301 2005-12-06 David Schleef <ds@schleef.org>
4303 * libs/gst/base/gstbasetransform.c: speling fix.
4305 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
4307 * docs/libs/tmpl/gstdataprotocol.sgml:
4308 * docs/random/omega/testing/gstobject.c:
4312 * gst/gstelementfactory.c:
4315 * gst/gstghostpad.c:
4317 * gst/gstpadtemplate.c:
4318 * gst/gstregistryxml.c:
4320 * gst/gsttagsetter.c:
4321 * gst/gsttypefind.c:
4323 * libs/gst/base/gstbasesrc.c:
4324 * libs/gst/net/gstnetclientclock.c:
4325 * libs/gst/net/gstnettimeprovider.c:
4326 * plugins/elements/gstfakesrc.c:
4327 * plugins/elements/gstfdsrc.c:
4328 * plugins/elements/gstfilesrc.c:
4329 * plugins/elements/gstidentity.c:
4330 * plugins/elements/gstqueue.c:
4331 * plugins/elements/gsttypefindelement.c:
4332 * plugins/indexers/gstfileindex.c:
4333 * plugins/indexers/gstmemindex.c:
4334 * tests/check/gst/gsttag.c:
4335 * tests/old/examples/cutter/cutter.c:
4336 * tests/old/examples/mixer/mixer.c:
4337 * tests/old/examples/xml/runxml.c: (main):
4338 * tests/old/testsuite/caps/normalisation.c:
4339 * tests/old/testsuite/debug/global.c:
4340 * tests/old/testsuite/parse/parse1.c:
4341 * tools/gst-xmlinspect.c:
4342 * win32/common/dirent.c:
4345 === release 0.10.0 ===
4347 2005-12-05 <thomas (at) apestaart (dot) org>
4350 releasing 0.10.0, "Maroilles"
4352 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4354 submitted by: Funda Wang <fundawang@linux.net.cn>
4358 added Chinese (Traditional) translation
4360 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4362 * docs/gst/gstreamer-sections.txt:
4363 * docs/libs/tmpl/gstdataprotocol.sgml:
4364 * docs/random/thomasvs/TODO:
4369 2005-12-05 Andy Wingo <wingo@pobox.com>
4371 patch by: Wim Taymans <wim@fluendo.com>
4373 * libs/gst/base/gstbasetransform.c
4374 (gst_base_transform_prepare_output_buf)
4375 (gst_base_transform_buffer_alloc):
4376 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4377 alloc_buffer_and_set_caps.
4379 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4380 set_caps on the source pad.
4381 (gst_pad_alloc_buffer_and_set_caps): New function, does what
4382 alloc_buffer used to do. Fixes #322874.
4384 * docs/gst/gstreamer-sections.txt:
4385 * docs/design/part-negotiation.txt:
4386 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4389 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4391 patch by: Sebastien Moutte
4394 * win32/common/config.h.in:
4395 * win32/vs6/libgstcontroller.dsp:
4398 2005-12-05 Wim Taymans <wim@fluendo.com>
4400 * gst/gstcaps.c: (gst_caps_is_equal):
4401 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4402 (gst_fake_src_create):
4403 Back out previous code changes, leave doc updates, file bugs
4406 2005-12-05 Wim Taymans <wim@fluendo.com>
4408 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4409 (gst_fake_src_get_times), (gst_fake_src_create):
4410 * plugins/elements/gstfakesrc.h:
4411 Fix broken sync code.
4413 2005-12-05 Wim Taymans <wim@fluendo.com>
4415 * gst/gstcaps.c: (gst_caps_is_equal):
4416 Comparing NULL against !NULL yields different caps, not a
4419 2005-12-05 Wim Taymans <wim@fluendo.com>
4421 * gst/gstpipeline.c:
4422 Fix small typo in docs.
4424 2005-12-05 Andy Wingo <wingo@pobox.com>
4426 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
4428 * gst/gst.c (init_post): remove hard-coded 0.9 location for
4429 registries/plugins with a MAJORMINOR one.
4430 (plugin_desc): Rename library from gstcoreleements to
4431 staticelements. Fixes #323222.
4433 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
4435 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4436 Change debug category to 'collectpads' from 'collect_pads'
4439 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4441 patch by: Sebastien Moutte
4443 * libs/gst/controller/gstinterpolation.c:
4444 use convert function for uint64/double
4445 * win32/vs6/libgstcontroller.dsp:
4448 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4450 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
4451 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
4453 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4454 add tests that seem to show that the guint64/gdouble conversions
4457 2005-12-02 Wim Taymans <wim@fluendo.com>
4459 * gst/gstregistry.c: (gst_registry_add_path):
4460 * gst/gstregistry.h:
4461 * gst/gstregistryxml.c:
4464 2005-12-02 Wim Taymans <wim@fluendo.com>
4466 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4467 (gst_util_uint64_scale_int):
4470 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4473 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
4476 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4479 * win32/common/config.h:
4480 * win32/vs6/gstreamer.dsw:
4481 * win32/vs6/libgstcoreelements.dsp:
4482 * win32/vs6/libgstelements.dsp:
4483 renamed core elements plugin
4485 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4487 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
4489 do piece-wise major/minor comparison so 0.9 < 0.10
4490 also allow .exe extensions for tools
4492 2005-12-02 Michael Smith <msmith@fluendo.com>
4495 Escape a % to make gtkdoc happier; bug 322958.
4497 === release 0.9.7 ===
4499 2005-12-01 <thomas (at) apestaart (dot) org>
4502 releasing 0.9.7, "My Dog Has No Nose"
4504 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4506 * common/gst-xmlinspect.py:
4508 * docs/libs/tmpl/gstdataprotocol.sgml:
4509 * docs/random/release:
4528 * win32/common/config.h:
4529 * win32/common/config.h.in:
4530 * win32/vs6/gst_inspect.dsp:
4531 * win32/vs6/gst_launch.dsp:
4532 * win32/vs6/libgstbase.dsp:
4533 * win32/vs6/libgstelements.dsp:
4534 * win32/vs6/libgstreamer.dsp:
4535 * win32/vs7/GStreamer.vcproj:
4536 * win32/vs7/gst-inspect.vcproj:
4537 * win32/vs7/gst-launch.vcproj:
4538 * win32/vs7/libgstbase.vcproj:
4539 bump GST_MAJORMINOR to 0.10
4540 reset libtool version
4542 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4546 Added Bulgarian translation by (Alexander Shopov)
4548 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4550 * tests/check/gst/gstplugin.c:
4553 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4555 * common/gst-xmlinspect.py:
4556 * common/gtk-doc-plugins.mak:
4559 * docs/gst/Makefile.am:
4560 * docs/gst/gstreamer-docs.sgml:
4561 * docs/gst/gstreamer-sections.txt:
4562 * docs/gst/gstreamer.types:
4563 * docs/gst/gstreamer.types.in:
4564 * docs/plugins/Makefile.am:
4565 * docs/plugins/gstreamer-plugins-docs.sgml:
4566 * docs/plugins/gstreamer-plugins-sections.txt:
4567 * docs/plugins/gstreamer-plugins.types:
4568 * docs/plugins/inspect.stamp:
4569 * docs/plugins/inspect/plugin-coreelements.xml:
4570 * docs/plugins/inspect/plugin-coreindexers.xml:
4571 * docs/plugins/scanobj-build.stamp:
4572 * gstreamer.spec.in:
4573 * plugins/elements/Makefile.am:
4574 * plugins/elements/gstelements.c:
4575 * plugins/elements/gstfakesink.c:
4576 * plugins/elements/gstfakesrc.c:
4577 * plugins/elements/gstfilesink.c:
4578 * plugins/elements/gstfilesrc.c:
4579 * plugins/elements/gstqueue.c:
4580 * plugins/indexers/Makefile.am:
4581 * plugins/indexers/gstindexers.c:
4582 document core plugins in a separate document just like all the
4584 rename these plugins to something starting with core
4586 2005-12-01 Andy Wingo <wingo@pobox.com>
4588 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
4589 padding here before, but it missed the commit.
4591 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4593 * libs/gst/controller/gstinterpolation.c:
4594 whitespace prices have crashed, we should feel free to use some now
4595 use gst_guint64_to_gdouble
4597 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4599 * libs/gst/controller/gstcontroller.c:
4600 * libs/gst/controller/gsthelper.c:
4601 * libs/gst/controller/gstinterpolation.c:
4602 * libs/gst/controller/lib.c:
4603 wrap config.h include
4605 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4607 * docs/gst/gstreamer-sections.txt:
4610 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
4612 * plugins/elements/gstelements.c:
4613 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
4614 (gst_fd_sink__class_init), (gst_fd_sink__init),
4615 (gst_fd_sink__chain), (gst_fd_sink__set_property),
4616 (gst_fd_sink__get_property):
4617 * plugins/elements/gstfdsink.h:
4618 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
4619 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
4620 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
4621 (gst_fd_src_unlock), (gst_fd_src_set_property),
4622 (gst_fd_src_get_property), (gst_fd_src_create),
4623 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
4624 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
4625 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
4626 (gst_fd_src_uri_handler_init):
4627 * plugins/elements/gstfdsrc.h:
4628 * plugins/elements/gstqueue.c: (gst_queue_get_type):
4631 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4633 * docs/gst/Makefile.am:
4634 * docs/gst/gstreamer.types.in:
4638 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4644 * gst/gstregistry.h:
4645 * tests/benchmarks/complexity.c:
4646 * tests/benchmarks/mass-elements.c:
4647 * tests/check/Makefile.am:
4648 * tools/Makefile.am:
4649 * tools/gst-inspect.c:
4650 * tools/gst-xmlinspect.c:
4651 various fixes to make
4652 --disable-nls --disable-registry --disable-loadsave
4653 --disable-parse --disable-gst-debug
4654 work and get the core .so down to 360444 bytes after stripping
4656 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4661 * docs/random/thomasvs/TODO:
4662 * tests/Makefile.am:
4666 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4668 * win32/GStreamer.vcproj:
4671 * win32/Makefile.inspect:
4672 * win32/Makefile.launch:
4673 * win32/Makefile.register:
4675 * win32/gst-inspect.vcproj:
4676 * win32/gst-launch.vcproj:
4677 * win32/gst-register.vcproj:
4678 * win32/gstelements.vcproj:
4679 * win32/gstgetbits.def:
4680 * win32/gstgetbits.vcproj:
4681 * win32/gstreamer-dbg.def:
4682 * win32/gstreamer.def:
4683 * win32/libgstbase.def:
4684 * win32/libgstbase.vcproj:
4685 * win32/link_oldruntime.c:
4690 move even more stuff, win32/ is nice and clean now
4692 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4694 * libs/gst/control/.cvsignore:
4699 * win32/gstbytestream.def:
4700 * win32/gstbytestream.vcproj:
4701 * win32/gstconfig.h:
4702 * win32/gstenumtypes.c:
4703 * win32/gstenumtypes.h:
4704 * win32/gstoptimalscheduler.vcproj:
4705 * win32/gstversion.h:
4707 * win32/testsuite/bins.vcproj:
4708 * win32/testsuite/bytestream.vcproj:
4709 * win32/testsuite/caps.vcproj:
4710 * win32/testsuite/cleanup.vcproj:
4711 * win32/testsuite/clock.vcproj:
4712 * win32/testsuite/debug.vcproj:
4713 * win32/testsuite/dlopen.vcproj:
4714 * win32/testsuite/dynparams.vcproj:
4715 * win32/testsuite/elements.vcproj:
4716 * win32/testsuite/ghostpads.vcproj:
4717 * win32/testsuite/indexers.vcproj:
4718 * win32/testsuite/negotiation.vcproj:
4719 * win32/testsuite/parse.vcproj:
4720 * win32/testsuite/plugin.vcproj:
4721 * win32/testsuite/refcounting.vcproj:
4722 * win32/testsuite/schedulers.vcproj:
4723 * win32/testsuite/states.vcproj:
4724 * win32/testsuite/tags.vcproj:
4725 * win32/testsuite/threads.vcproj:
4726 remove old win32 stuff that isn't maintained and should be
4729 2005-11-30 Andy Wingo <wingo@pobox.com>
4731 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
4732 loading the gst.interfaces python module bork.
4734 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
4735 available since GLib 2.2. Fixes #318031.
4737 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4741 * check/Makefile.am:
4742 * check/elements/.cvsignore:
4743 * check/elements/fakesrc.c:
4744 * check/elements/fdsrc.c:
4745 * check/elements/identity.c:
4746 * check/generic/.cvsignore:
4747 * check/generic/states.c:
4748 * check/gst-libs/.cvsignore:
4749 * check/gst-libs/controller.c:
4750 * check/gst-libs/gdp.c:
4751 * check/gst/.cvsignore:
4752 * check/gst/capslist.h:
4754 * check/gst/gstbin.c:
4755 * check/gst/gstbuffer.c:
4756 * check/gst/gstbus.c:
4757 * check/gst/gstcaps.c:
4758 * check/gst/gstelement.c:
4759 * check/gst/gstevent.c:
4760 * check/gst/gstghostpad.c:
4761 * check/gst/gstiterator.c:
4762 * check/gst/gstmessage.c:
4763 * check/gst/gstminiobject.c:
4764 * check/gst/gstobject.c:
4765 * check/gst/gstpad.c:
4766 * check/gst/gstpipeline.c:
4767 * check/gst/gstplugin.c:
4768 * check/gst/gstsegment.c:
4769 * check/gst/gststructure.c:
4770 * check/gst/gstsystemclock.c:
4771 * check/gst/gsttag.c:
4772 * check/gst/gstutils.c:
4773 * check/gst/gstvalue.c:
4774 * check/net/.cvsignore:
4775 * check/net/gstnetclientclock.c:
4776 * check/net/gstnettimeprovider.c:
4777 * check/pipelines/.cvsignore:
4778 * check/pipelines/cleanup.c:
4779 * check/pipelines/simple_launch_lines.c:
4780 * check/pipelines/stress.c:
4781 * check/states/.cvsignore:
4782 * check/states/sinks.c:
4784 * examples/Makefile.am:
4785 * examples/appreader/.cvsignore:
4786 * examples/appreader/Makefile.am:
4787 * examples/appreader/appreader.c:
4788 * examples/controller/.cvsignore:
4789 * examples/controller/Makefile.am:
4790 * examples/controller/audio-example.c:
4791 * examples/cutter/.cvsignore:
4792 * examples/cutter/Makefile.am:
4793 * examples/cutter/cutter.c:
4794 * examples/cutter/cutter.h:
4795 * examples/events/Makefile.am:
4796 * examples/events/seek.c:
4797 * examples/helloworld/.cvsignore:
4798 * examples/helloworld/Makefile.am:
4799 * examples/helloworld/helloworld.c:
4800 * examples/helloworld2/.cvsignore:
4801 * examples/helloworld2/Makefile.am:
4802 * examples/helloworld2/helloworld2.c:
4803 * examples/launch/.cvsignore:
4804 * examples/launch/Makefile.am:
4805 * examples/launch/mp3parselaunch.c:
4806 * examples/launch/mp3play:
4807 * examples/manual/.cvsignore:
4808 * examples/manual/Makefile.am:
4809 * examples/manual/extract.pl:
4810 * examples/metadata/Makefile.am:
4811 * examples/metadata/read-metadata.c:
4812 * examples/mixer/.cvsignore:
4813 * examples/mixer/Makefile.am:
4814 * examples/mixer/mixer.c:
4815 * examples/mixer/mixer.h:
4816 * examples/pingpong/.cvsignore:
4817 * examples/pingpong/Makefile.am:
4818 * examples/pingpong/pingpong.c:
4819 * examples/plugins/.cvsignore:
4820 * examples/plugins/Makefile.am:
4821 * examples/plugins/example.c:
4822 * examples/plugins/example.h:
4823 * examples/pwg/.cvsignore:
4824 * examples/pwg/Makefile.am:
4825 * examples/pwg/extract.pl:
4826 * examples/queue/.cvsignore:
4827 * examples/queue/Makefile.am:
4828 * examples/queue/queue.c:
4829 * examples/queue2/.cvsignore:
4830 * examples/queue2/Makefile.am:
4831 * examples/queue2/queue2.c:
4832 * examples/queue3/.cvsignore:
4833 * examples/queue3/Makefile.am:
4834 * examples/queue3/queue3.c:
4835 * examples/queue4/.cvsignore:
4836 * examples/queue4/Makefile.am:
4837 * examples/queue4/queue4.c:
4838 * examples/retag/.cvsignore:
4839 * examples/retag/Makefile.am:
4840 * examples/retag/retag.c:
4841 * examples/retag/transcode.c:
4842 * examples/thread/.cvsignore:
4843 * examples/thread/Makefile.am:
4844 * examples/thread/thread.c:
4845 * examples/typefind/.cvsignore:
4846 * examples/typefind/Makefile.am:
4847 * examples/typefind/typefind.c:
4848 * examples/xml/.cvsignore:
4849 * examples/xml/Makefile.am:
4850 * examples/xml/createxml.c:
4851 * examples/xml/runxml.c:
4852 * tests/Makefile.am:
4853 * tests/check/Makefile.am:
4854 * testsuite/.cvsignore:
4855 * testsuite/Makefile.am:
4857 * testsuite/caps/.cvsignore:
4858 * testsuite/caps/Makefile.am:
4859 * testsuite/caps/app_fixate.c:
4860 * testsuite/caps/audioscale.c:
4861 * testsuite/caps/caps.c:
4862 * testsuite/caps/caps.h:
4863 * testsuite/caps/caps_strings:
4864 * testsuite/caps/compatibility.c:
4865 * testsuite/caps/deserialize.c:
4866 * testsuite/caps/enumcaps.c:
4867 * testsuite/caps/eratosthenes.c:
4868 * testsuite/caps/filtercaps.c:
4869 * testsuite/caps/fixed.c:
4870 * testsuite/caps/fraction-convert.c:
4871 * testsuite/caps/fraction-multiply-and-zero.c:
4872 * testsuite/caps/intersect2.c:
4873 * testsuite/caps/intersection.c:
4874 * testsuite/caps/normalisation.c:
4875 * testsuite/caps/random.c:
4876 * testsuite/caps/renegotiate.c:
4877 * testsuite/caps/sets.c:
4878 * testsuite/caps/simplify.c:
4879 * testsuite/caps/string-conversions.c:
4880 * testsuite/caps/structure.c:
4881 * testsuite/caps/subtract.c:
4882 * testsuite/caps/union.c:
4883 * testsuite/debug/.cvsignore:
4884 * testsuite/debug/Makefile.am:
4885 * testsuite/debug/category.c:
4886 * testsuite/debug/commandline.c:
4887 * testsuite/debug/global.c:
4888 * testsuite/debug/output.c:
4889 * testsuite/debug/printf_extension.c:
4890 * testsuite/dlopen/.cvsignore:
4891 * testsuite/dlopen/Makefile.am:
4892 * testsuite/dlopen/dlopen_gst.c:
4893 * testsuite/dlopen/loadgst.c:
4894 * testsuite/elements/.cvsignore:
4895 * testsuite/elements/Makefile.am:
4896 * testsuite/elements/gst-inspect-check.in:
4897 * testsuite/elements/struct_i386.h:
4898 * testsuite/elements/struct_size.c:
4899 * testsuite/indexers/.cvsignore:
4900 * testsuite/indexers/Makefile.am:
4901 * testsuite/indexers/cache1.c:
4902 * testsuite/indexers/indexdump.c:
4903 * testsuite/parse/.cvsignore:
4904 * testsuite/parse/Makefile.am:
4905 * testsuite/parse/parse1.c:
4906 * testsuite/parse/parse2.c:
4907 * testsuite/plugin/.cvsignore:
4908 * testsuite/plugin/Makefile.am:
4909 * testsuite/plugin/README:
4910 * testsuite/plugin/dynamic.c:
4911 * testsuite/plugin/linked.c:
4912 * testsuite/plugin/loading.c:
4913 * testsuite/plugin/registry.c:
4914 * testsuite/plugin/static.c:
4915 * testsuite/plugin/static2.c:
4916 * testsuite/plugin/testplugin.c:
4917 * testsuite/plugin/testplugin2.c:
4918 * testsuite/plugin/testplugin2_s.c:
4919 * testsuite/plugin/testplugin_s.c:
4920 * testsuite/refcounting/.cvsignore:
4921 * testsuite/refcounting/Makefile.am:
4922 * testsuite/refcounting/bin.c:
4923 * testsuite/refcounting/element.c:
4924 * testsuite/refcounting/element_pad.c:
4925 * testsuite/refcounting/mainloop.c:
4926 * testsuite/refcounting/mem.c:
4927 * testsuite/refcounting/mem.h:
4928 * testsuite/refcounting/object.c:
4929 * testsuite/refcounting/pad.c:
4930 * testsuite/refcounting/sched.c:
4931 * testsuite/refcounting/thread.c:
4932 * testsuite/states/.cvsignore:
4933 * testsuite/states/Makefile.am:
4934 * testsuite/states/bin.c:
4935 * testsuite/states/locked.c:
4936 * testsuite/states/parent.c:
4937 * testsuite/threads/.cvsignore:
4938 * testsuite/threads/159566.c:
4939 * testsuite/threads/159852.c:
4940 * testsuite/threads/Makefile.am:
4941 * testsuite/threads/queue.c:
4942 * testsuite/threads/signals.c:
4943 * testsuite/threads/staticrec.c:
4944 * testsuite/threads/thread.c:
4945 * testsuite/threads/threadb.c:
4946 * testsuite/threads/threadc.c:
4947 * testsuite/threads/threadd.c:
4948 * testsuite/threads/threade.c:
4949 * testsuite/threads/threadf.c:
4950 * testsuite/threads/threadg.c:
4951 * testsuite/threads/threadh.c:
4952 * testsuite/threads/threadi.c:
4953 move all of these under tests
4955 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4958 * tests/Makefile.am:
4961 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
4963 * docs/gst/gstreamer-sections.txt:
4964 * tests/sched/.cvsignore:
4965 * tests/sched/Makefile.am:
4966 * tests/sched/cases/(fs-fs).xml:
4967 * tests/sched/cases/(fs-i-fs).xml:
4968 * tests/sched/cases/(fs-i-i-fs).xml:
4969 * tests/sched/cases/(fs-i-q[i-fs]).xml:
4970 * tests/sched/dynamic-pipeline.c:
4971 * tests/sched/interrupt1.c:
4972 * tests/sched/interrupt2.c:
4973 * tests/sched/interrupt3.c:
4974 * tests/sched/runtestcases:
4975 * tests/sched/runxml.c:
4976 * tests/sched/sched-stress.c:
4977 * tests/sched/sort.c:
4978 * tests/sched/testcases:
4979 * tests/sched/testcases1.tc:
4980 * tests/seeking/.cvsignore:
4981 * tests/seeking/Makefile.am:
4982 * tests/seeking/seeking1.c:
4983 * tests/threadstate/.cvsignore:
4984 * tests/threadstate/Makefile.am:
4985 * tests/threadstate/test1.c:
4986 * tests/threadstate/test2.c:
4987 * tests/threadstate/threadstate1.c:
4988 * tests/threadstate/threadstate2.c:
4989 * tests/threadstate/threadstate3.c:
4990 * tests/threadstate/threadstate4.c:
4991 * tests/threadstate/threadstate5.c:
4992 remove obsolete tests
4994 * tests/bench-complexity.scm:
4995 * tests/bench-mass_elements.scm:
4996 * tests/complexity.c:
4997 * tests/complexity.gnuplot:
4998 * tests/instantiate/.cvsignore:
4999 * tests/instantiate/Makefile.am:
5000 * tests/instantiate/caps.c:
5001 * tests/mass_elements.c:
5002 * tests/network-clock-utils.scm:
5003 * tests/network-clock.scm:
5005 First pass at cleaning up tests/ dir before moving the rest
5006 Combined with CVS surgery
5008 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5011 queue has moved, update
5013 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5015 * docs/gst/gstreamer-sections.txt:
5016 remove double entries from the docs
5017 * gst/gst_private.h:
5018 * gst/gstinfo.c: (_gst_debug_init):
5019 remove the THREAD debug category
5023 * docs/gst/gstreamer.types:
5024 * plugins/elements/gstqueue.c: (gst_queue_get_type),
5025 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5026 completely move queue and fix up debugging categories
5028 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5030 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5031 make initialization portable, using LL is not
5033 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5035 * win32/common/gstconfig.h:
5038 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5040 * win32/common/libgstreamer.def:
5041 rename symbols; sort base section
5043 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5045 * gst/gstclock.c: (do_linear_regression):
5046 remove crack non-portable handrolled DEBUG macro
5048 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5050 * docs/random/release:
5052 * win32/common/gstenumtypes.c: (register_gst_object_flags),
5053 (gst_object_flags_get_type), (register_gst_bin_flags),
5054 (gst_bin_flags_get_type), (register_gst_buffer_flag),
5055 (gst_buffer_flag_get_type), (register_gst_bus_flags),
5056 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5057 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5058 (gst_caps_flags_get_type), (register_gst_clock_return),
5059 (gst_clock_return_get_type), (register_gst_clock_entry_type),
5060 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5061 (gst_clock_flags_get_type), (register_gst_state),
5062 (gst_state_get_type), (register_gst_state_change_return),
5063 (gst_state_change_return_get_type), (register_gst_state_change),
5064 (gst_state_change_get_type), (register_gst_element_flags),
5065 (gst_element_flags_get_type), (register_gst_core_error),
5066 (gst_core_error_get_type), (register_gst_library_error),
5067 (gst_library_error_get_type), (register_gst_resource_error),
5068 (gst_resource_error_get_type), (register_gst_stream_error),
5069 (gst_stream_error_get_type), (register_gst_event_type_flags),
5070 (gst_event_type_flags_get_type), (register_gst_event_type),
5071 (gst_event_type_get_type), (register_gst_seek_type),
5072 (gst_seek_type_get_type), (register_gst_seek_flags),
5073 (gst_seek_flags_get_type), (register_gst_format),
5074 (gst_format_get_type), (register_gst_index_certainty),
5075 (gst_index_certainty_get_type), (register_gst_index_entry_type),
5076 (gst_index_entry_type_get_type),
5077 (register_gst_index_lookup_method),
5078 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5079 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5080 (gst_index_resolver_method_get_type), (register_gst_index_flags),
5081 (gst_index_flags_get_type), (register_gst_debug_level),
5082 (gst_debug_level_get_type), (register_gst_debug_color_flags),
5083 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5084 (gst_iterator_result_get_type), (register_gst_iterator_item),
5085 (gst_iterator_item_get_type), (register_gst_message_type),
5086 (gst_message_type_get_type), (register_gst_mini_object_flags),
5087 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5088 (gst_pad_link_return_get_type), (register_gst_flow_return),
5089 (gst_flow_return_get_type), (register_gst_activate_mode),
5090 (gst_activate_mode_get_type), (register_gst_pad_direction),
5091 (gst_pad_direction_get_type), (register_gst_pad_flags),
5092 (gst_pad_flags_get_type), (register_gst_pad_presence),
5093 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5094 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5095 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5096 (gst_plugin_error_get_type), (register_gst_plugin_flags),
5097 (gst_plugin_flags_get_type), (register_gst_rank),
5098 (gst_rank_get_type), (register_gst_query_type),
5099 (gst_query_type_get_type), (register_gst_tag_merge_mode),
5100 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5101 (gst_tag_flag_get_type), (register_gst_task_state),
5102 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5103 (gst_alloc_trace_flags_get_type),
5104 (register_gst_type_find_probability),
5105 (gst_type_find_probability_get_type), (register_gst_uri_type),
5106 (gst_uri_type_get_type), (register_gst_parse_error),
5107 (gst_parse_error_get_type):
5108 * win32/common/gstenumtypes.h:
5109 * win32/common/gstversion.h:
5110 update visual studio generated files
5112 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5114 * win32/vs6/libgstbase.dsp:
5115 * win32/vs6/libgstelements.dsp:
5116 update project files for new locations
5118 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5123 reinstate and update
5128 * docs/random/LICENSE:
5131 2005-11-30 Edward Hervey <edward@fluendo.com>
5133 * gst/gsttypefind.c: (gst_type_find_register):
5134 * gst/gsttypefind.h:
5135 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5136 (gst_type_find_factory_dispose):
5137 * gst/gsttypefindfactory.h:
5138 Fix memory leak in GstTypeFindFactory.
5140 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5143 * plugins/elements/Makefile.am:
5144 * plugins/elements/gstelements.c:
5145 * plugins/elements/gstqueue.c:
5146 move queue from core to the elements plugin
5148 2005-11-29 Andy Wingo <wingo@pobox.com>
5150 * libs/gst/base/gstbasetransform.h:
5151 * libs/gst/base/gstbasesrc.h:
5152 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5154 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5155 of pointers by which to pad very extensible base classes (like the
5156 ones in libs/gst/base).
5158 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5160 * docs/gst/gstreamer-docs.sgml:
5161 * docs/gst/gstreamer-sections.txt:
5162 * docs/libs/gstreamer-libs-docs.sgml:
5163 * docs/libs/gstreamer-libs-sections.txt:
5164 moving documentation from core to lib
5166 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5168 * check/Makefile.am:
5170 * docs/gst/Makefile.am:
5172 * gst/base/.cvsignore:
5173 * gst/base/Makefile.am:
5175 * gst/base/gstadapter.c:
5176 * gst/base/gstadapter.h:
5177 * gst/base/gstbasesink.c:
5178 * gst/base/gstbasesink.h:
5179 * gst/base/gstbasesrc.c:
5180 * gst/base/gstbasesrc.h:
5181 * gst/base/gstbasetransform.c:
5182 * gst/base/gstbasetransform.h:
5183 * gst/base/gstcollectpads.c:
5184 * gst/base/gstcollectpads.h:
5185 * gst/base/gstpushsrc.c:
5186 * gst/base/gstpushsrc.h:
5187 * gst/base/gsttypefindhelper.c:
5188 * gst/base/gsttypefindhelper.h:
5189 * gst/check/Makefile.am:
5190 * gst/check/gstcheck.c:
5191 * gst/check/gstcheck.h:
5192 * gst/net/Makefile.am:
5194 * gst/net/gstnetclientclock.c:
5195 * gst/net/gstnetclientclock.h:
5196 * gst/net/gstnettimepacket.c:
5197 * gst/net/gstnettimepacket.h:
5198 * gst/net/gstnettimeprovider.c:
5199 * gst/net/gstnettimeprovider.h:
5200 * libs/gst/Makefile.am:
5201 * libs/gst/base/Makefile.am:
5202 * libs/gst/base/gstbasetransform.c:
5203 * libs/gst/check/Makefile.am:
5204 * plugins/elements/Makefile.am:
5206 CVS surgery + support to move base, check, and net out of gst
5209 2005-11-29 Andy Wingo <wingo@pobox.com>
5211 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5213 * gst/gststructure.h (struct _GstStructure): Only one pointer of
5216 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5218 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5220 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5222 * gst/gstobject.h: (struct _GstObject): Only one pointer of
5223 padding; reduces object size by about 30%. We don't expect
5224 anything else to go into gstobject.
5226 * gst/gstminiobject.h (struct _GstMiniObject)
5227 (struct _GstMiniObjectClass): Only one pointer of padding; the
5228 payload is only a pointer and two ints anyway. For the class there
5229 are only two methods as well.
5231 * gst/gstelement.h (struct _GstElementClass): Removed
5232 the state_changed signal callback, it is not used.
5234 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5236 * docs/gst/gstreamer.types:
5237 fix includes, though they are a little dinky
5239 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5241 * check/Makefile.am:
5242 look in the right place for elements, a lot more chance of
5245 remove indexers and elements subdirs
5246 * plugins/Makefile.am:
5247 make indexers conditional
5249 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5253 * plugins/elements/Makefile.am:
5254 * plugins/elements/gstcapsfilter.c:
5255 * plugins/elements/gstfilesink.c:
5256 * plugins/elements/gstfilesrc.c:
5257 * plugins/elements/gstidentity.c:
5258 * plugins/indexers/Makefile.am:
5259 do CVS surgery and related build fixery to move elements
5260 and indexers in a new gstreamer/plugins directory, out of the
5263 2005-11-29 Andy Wingo <wingo@pobox.com>
5265 * check/Makefile.am:
5266 * pkgconfig/gstreamer-net-uninstalled.pc.in:
5267 * pkgconfig/gstreamer-net.pc.in:
5268 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5271 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5273 * tools/Makefile.am:
5274 * tools/gst-complete.1.in:
5275 * tools/gst-complete.c:
5276 * tools/gst-compprep.1.in:
5277 * tools/gst-compprep.c:
5278 removing -compprep and -complete
5280 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5282 * gst/gstevent.c: (gst_event_new_new_segment),
5283 (gst_event_parse_new_segment):
5285 fix #320529 - clean up new_segment API and structure.
5286 Let's hope everyone was using the methods, and not the structure.
5288 2005-11-29 Edward Hervey <edward@fluendo.com>
5290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5291 (gst_base_sink_event), (gst_base_sink_do_sync),
5292 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5293 Properly handle non GST_FORMAT_TIME segment
5294 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5295 Properly handle non GST_FORMAT_TIME segment
5297 This function is valid if the accumulator is 0 and the format
5298 is different from the requested format.
5300 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5302 * docs/gst/gstreamer-sections.txt:
5303 Add gst_query_new_seeking and gst_query_parse_seeking to the
5306 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5308 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5309 Treat a pad alloc with new caps the same as if we were not
5310 negotiated, in order to allow a changing upstream output
5311 to produce a new format of data.
5313 2005-11-29 Edward Hervey <edward@fluendo.com>
5315 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5316 (gst_base_transform_event), (gst_base_transform_eventfunc):
5317 The event virtual method is now properly implemented, with a default
5319 Sub classes should call the parent_class event method. They should
5320 return FALSE if they had a problem handling the given event, or don't
5321 want GstBaseTransform to send that even downstream
5322 * gst/elements/gstidentity.c: (gst_identity_class_init),
5323 (gst_identity_init), (gst_identity_event),
5324 (gst_identity_transform_ip), (gst_identity_set_property),
5325 (gst_identity_get_property):
5326 * gst/elements/gstidentity.h:
5327 Added the single-segment boolean property.
5328 If set to TRUE, it will output a single segment of data, starting from
5329 0, will eat up all incoming newsegment, and modify the timestamp of the
5332 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
5334 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5335 Don't ref NULL target pad (#322751). Improve docs.
5337 2005-11-29 Michael Smith <msmith@fluendo.com>
5339 * gst/gstregistryxml.c: (load_plugin):
5340 Don't crash if we failed to load a feature from a plugin.
5342 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5344 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5346 use more check API and less GLib API
5348 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5351 don't run checks if we don't have check
5353 remove the registry when running make torture
5354 * docs/gst/gstreamer-sections.txt:
5355 remove second multiply
5356 * gst/gstqueue.c: (gst_queue_loop):
5357 fix a compile warning when disabling debug
5359 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5362 Hey! Let's print the pad name if the pointer != NULL instead
5363 of when it == NULL :-)
5365 2005-11-28 Wim Taymans <wim@fluendo.com>
5367 * check/gst/gstutils.c: (GST_START_TEST):
5368 Updated check, add some scaling accuracy checking code.
5370 * gst/gstutils.c: (gst_util_div128_64),
5371 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5372 (gst_util_uint64_scale_int):
5373 Fix 6 times faster division code. Optimize for common
5374 1/1 and less common X/1 cases.
5376 2005-11-28 Wim Taymans <wim@fluendo.com>
5378 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5381 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5382 (do_linear_regression), (gst_clock_add_observation):
5384 Release lock when the clock cannot be slaved.
5385 Catch the case where the regression returned an invalid denominator.
5387 * gst/gstutils.c: (gst_util_div128_64_iterate),
5388 (gst_util_div128_64), (gst_util_uint64_scale_int64),
5389 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5390 Add protentially more performant non-iterative 128/64 divide function
5391 that unfortunatly does not work yet.
5392 Shortcut the trivial 0/X = 0 case.
5393 Remove the warnings on overflow.
5395 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5397 * gst/gstplugin.c: (gst_plugin_register_func):
5398 everything causing a plugin not to load should be at least a WARNING
5400 2005-11-28 Stefan Kost <ensonic@users.sf.net>
5402 * docs/random/ensonic/dparams.txt:
5403 some TODOs for the next dev cycle
5404 * libs/gst/controller/gstcontroller.c:
5405 (gst_controlled_property_set_interpolation_mode),
5406 (gst_controlled_property_new):
5407 * libs/gst/controller/gstcontroller.h:
5408 use base type to assign acccessor functions
5410 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5412 * check/Makefile.am:
5413 Oops, that should have been top_srcdir
5415 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5417 * check/Makefile.am:
5418 * check/elements/fdsrc.c: (GST_START_TEST):
5419 Use a cmdline define to specify the location of a file to use for
5420 testing, to avoid breaking distcheck.
5422 2005-11-28 Andy Wingo <wingo@pobox.com>
5424 * gst/gstpad.c (fixate_value): Use array functions for arrays.
5426 2005-11-28 Edward Hervey <edward@fluendo.com>
5428 * tools/gst-launch.c: (main):
5429 Clarify the output strings, makes it easier to translate.
5432 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5435 don't try and build net if we don't even have <sys/socket.h>
5437 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
5439 * check/Makefile.am:
5440 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
5441 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
5442 Add tests for fdsrc seekability
5444 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5445 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
5446 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
5447 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
5448 * gst/elements/gstfdsrc.h:
5449 fdsrc should not be a 'live' source.
5450 Implement seeking on seekable fd's.
5452 * gst/gstquery.c: (gst_query_new_seeking),
5453 (gst_query_parse_seeking):
5455 Implement SEEKING query functions:
5456 *_new_seeking and *_parse_seeking
5458 2005-11-27 Stefan Kost <ensonic@users.sf.net>
5460 * gst/gstelement.c: (gst_element_dispose):
5463 * gst/gstiterator.c:
5464 * gst/gststructure.c:
5467 * libs/gst/controller/gstcontroller.c:
5468 (gst_controlled_property_set_interpolation_mode):
5469 * libs/gst/controller/gstcontroller.h:
5470 * libs/gst/controller/gstinterpolation.c:
5471 (interpolate_none_get_enum_value_array):
5472 support controlling enums
5474 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5477 Improve documentation for gst_value_union().
5480 Change return value for union, intersect and subtract functions
5481 from gint to gboolean.
5483 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5485 * gst/gstvalue.c: (gst_value_serialize_any_list),
5486 (gst_value_transform_any_list_string),
5487 (gst_value_deserialize_list), (gst_value_deserialize_array),
5488 (gst_value_set_int_range), (gst_value_deserialize_int_range),
5489 (gst_value_set_double_range), (gst_value_deserialize_double_range),
5490 (gst_value_set_fraction_range_full),
5491 (gst_value_deserialize_fraction_range),
5492 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
5493 (gst_value_deserialize_boolean),
5494 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
5495 (gst_value_serialize_float), (gst_value_deserialize_float),
5496 (gst_string_wrap), (gst_value_deserialize_string),
5497 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
5498 (gst_value_union_int_range_int_range),
5499 (gst_value_intersect_int_range_int_range),
5500 (gst_value_intersect_double_range_double_range),
5501 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
5502 (gst_value_subtract_int_range_int_range),
5503 (gst_value_subtract_double_double_range),
5504 (gst_value_subtract_double_range_double_range),
5505 (gst_value_deserialize_fraction):
5507 Use gint, gdouble and gchar in our API instead of int, double and
5508 char (and make usage in gstvalue.c more consistent).
5510 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5512 * check/Makefile.am:
5513 * libs/gst/controller/Makefile.am:
5514 * libs/gst/dataprotocol/Makefile.am:
5515 fix up Makefile.am and remove GST_ENABLE_NEW
5517 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5521 * gst/base/Makefile.am:
5522 * gst/check/Makefile.am:
5523 * gst/elements/Makefile.am:
5524 * gst/net/Makefile.am:
5525 update LDFLAGS use some more
5527 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
5529 * common/m4/gst-doc.m4:
5532 2005-11-26 Edward Hervey <edward@fluendo.com>
5534 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5535 This shouldn't issue a g_warning since it returns NULL if it
5536 couldn't find the plugin, and all functions using this behave
5537 properly on a NULL return. Switching to a GST_WARNING.
5539 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
5541 * gst/gstbin.c: (gst_bin_handle_message_func):
5542 Don't leak clock messages.
5544 2005-11-25 Wim Taymans <wim@fluendo.com>
5546 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5547 (gst_util_uint64_scale_int):
5548 Optimisations, remove unneeded vars.
5550 2005-11-25 Wim Taymans <wim@fluendo.com>
5552 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5553 Added more checks for the high precision uint64 cases.
5555 * gst/gstutils.c: (gst_util_uint64_scale_int64),
5556 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5557 Implement high precision (guint64 * guint64) / guint64.
5559 2005-11-24 Wim Taymans <wim@fluendo.com>
5561 * gst/base/gstbasesrc.c: (gst_base_src_query):
5562 Fix wrong percentage query.
5564 * gst/gstutils.c: (gst_util_uint64_scale),
5565 (gst_util_uint64_scale_int):
5566 Add some more common cases that can be handled
5567 efficiently to _scale.
5569 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5571 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
5572 (gst_mini_object_suite):
5573 don't use check calls from threads; check probably isn't
5574 threadsafe and using a lock to make it threadsafe would
5575 defeat the purpose of this check
5576 * gst/check/gstcheck.c:
5577 * gst/check/gstcheck.h:
5578 use GST_DEBUG some more
5580 2005-11-24 Wim Taymans <wim@fluendo.com>
5582 * gst/gstutils.c: (gst_util_uint64_scale),
5583 (gst_util_uint64_scale_int):
5584 Chain trivial case to _scale_int.
5586 2005-11-24 Wim Taymans <wim@fluendo.com>
5588 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5589 Added test for scaling.
5594 * gst/gstutils.c: (gst_util_uint64_scale_int):
5595 Implemented high precision scaling code.
5597 2005-11-24 Stefan Kost <ensonic@users.sf.net>
5600 do not crash on pad==NULL
5602 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
5604 Patch by: Stefan Kost
5606 * common/gtk-doc.mak:
5607 * docs/gst/Makefile.am:
5608 * docs/libs/Makefile.am:
5609 Fix distcheck issues for the libraries docs build
5612 2005-11-24 Michael Smith <msmith@fluendo.com>
5614 * docs/manual/basics-helloworld.xml:
5615 Fix bug #315027: memory leak in example code in docs.
5617 2005-11-24 Michael Smith <msmith@fluendo.com>
5619 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5620 Unlock the PREROLL_LOCK in a failure case.
5622 2005-11-24 Wim Taymans <wim@fluendo.com>
5624 * docs/gst/gstreamer-sections.txt:
5625 * gst/base/gstadapter.h:
5626 * gst/base/gstbasesink.h:
5627 * gst/base/gstbasesrc.h:
5628 * gst/base/gstbasetransform.h:
5629 * gst/base/gstpushsrc.h:
5630 * gst/elements/gstfakesink.h:
5631 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
5632 * gst/elements/gstfakesrc.h:
5633 * gst/elements/gstfilesink.h:
5634 * gst/elements/gstfilesrc.h:
5637 * gst/gstbuffer.c: (_gst_buffer_copy):
5640 * gst/gstchildproxy.c:
5643 * gst/gstelementfactory.c:
5644 * gst/gstelementfactory.h:
5646 * gst/gstghostpad.h:
5648 * gst/gstinterface.h:
5649 * gst/gstminiobject.c:
5650 * gst/gstminiobject.h:
5653 * gst/gstpadtemplate.h:
5654 * gst/gstpipeline.h:
5655 * gst/gstpluginfeature.h:
5660 * gst/gsttagsetter.c:
5661 * gst/gsttagsetter.h:
5664 * gst/gsttypefind.h:
5667 * gst/net/gstnetclientclock.c:
5668 * gst/net/gstnetclientclock.h:
5669 * gst/net/gstnettimepacket.c:
5670 * gst/net/gstnettimeprovider.c:
5671 * gst/net/gstnettimeprovider.h:
5674 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5676 * configure.ac: back to HEAD
5678 === release 0.9.6 ===
5680 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5683 releasing 0.9.6, "Always On Time"
5685 2005-11-23 Wim Taymans <wim@fluendo.com>
5687 * docs/gst/gstreamer-sections.txt:
5688 * gst/glib-compat.c:
5689 * gst/gsttagsetter.c:
5691 * gst/net/gstnetclientclock.c:
5692 * gst/net/gstnettimepacket.h:
5695 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
5697 * docs/faq/using.xml:
5698 * docs/libs/tmpl/gstcontrol.sgml:
5699 * docs/manual/advanced-dparams.xml:
5700 * docs/manual/appendix-checklist.xml:
5701 * docs/manual/basics-elements.xml:
5702 * docs/pwg/other-source.xml:
5703 * docs/random/moving-plugins:
5705 * tools/gst-launch.1.in:
5706 remove mentions of sinesrc
5708 2005-11-23 Michael Smith <msmith@fluendo.com>
5710 * docs/gst/gstreamer-sections.txt:
5711 Update for new API and API changes.
5713 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
5715 Documentation typo fix.
5716 * gst/net/gstnettimepacket.c:
5717 Documentation fixes for arguments.
5719 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
5721 * gst/gststructure.c: (gst_structure_get_fraction),
5722 (gst_structure_parse_value),
5723 (gst_structure_fixate_field_nearest_fraction):
5724 * gst/gststructure.h:
5725 * gst/gstutils.c: (gst_util_uint64_scale_int):
5727 * scripts/update-funcnames:
5729 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
5730 Make gst_structure_fixate_field_nearest_fraction take a numerator
5731 and denominator argument instead of a GValue
5732 add gst_structure_get_fraction helper function.
5734 2005-11-23 Wim Taymans <wim@fluendo.com>
5736 * docs/design/part-TODO.txt:
5739 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5740 * gst/net/gstnetclientclock.h:
5741 Use parent fields for timeout and window_size.
5743 2005-11-23 Andy Wingo <wingo@pobox.com>
5745 * check/net/gstnetclientclock.c (test_functioning): Adjust to
5746 rate_num/rate_denom change.
5748 * gst/net/gstnetclientclock.c
5749 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
5750 OBJECT_LOCK. Don't call add_observation with the lock.
5752 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
5754 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
5756 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
5757 deal with rate as a fraction whose numerator and denominator are
5758 GstClockTime values.
5759 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
5760 master; the other fields are protected by the SLAVE_LOCK.
5761 (do_linear_regression): Note that this must be called with the
5763 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
5764 OBJECT_LOCK. Call set_calibration instead of touching the
5766 (gst_clock_set_property, gst_clock_get_property): Protect
5767 master/slave parameters with the SLAVE_LOCK.
5769 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
5770 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
5771 note that all of the instance variables that add_observation and
5772 the set_master functions use are protected by that lock and not
5774 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
5776 * gst/gstclock.c (gst_clock_add_observation): No longer requires
5777 the caller to take the object lock.
5779 2005-11-23 Wim Taymans <wim@fluendo.com>
5781 * gst/gsterror.c: (_gst_core_errors_init):
5783 Add error for clock stuff.
5785 * gst/gstpipeline.c: (gst_pipeline_change_state),
5786 (gst_pipeline_set_clock):
5787 Post clock error when clock cannot be used in a pipeline.
5789 2005-11-23 Stefan Kost <ensonic@users.sf.net>
5791 * docs/gst/gstreamer-sections.txt:
5792 make two symbols from gstinfo private for the docs
5793 * gst/base/gstcollectpads.h:
5795 fix doc typos, update docs
5797 2005-11-22 Wim Taymans <wim@fluendo.com>
5799 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5800 (gst_base_sink_wait), (gst_base_sink_do_sync),
5801 (gst_base_sink_handle_event):
5802 * gst/base/gstbasesink.h:
5803 No need to store the clock, the parent element class already
5806 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
5807 Updates for clock_set returning a gboolean
5809 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
5810 (gst_clock_id_wait_async), (gst_clock_class_init),
5811 (gst_clock_init), (gst_clock_finalize),
5812 (gst_clock_get_internal_time), (gst_clock_get_time),
5813 (gst_clock_slave_callback), (gst_clock_set_master),
5814 (gst_clock_get_master), (do_linear_regression),
5815 (gst_clock_add_observation), (gst_clock_set_property),
5816 (gst_clock_get_property):
5818 Implement master/slave. When setting a clock as a slave, a
5819 periodic timeout is scheduled to sample master and slave times.
5820 Then the slave clock is recalibrated to match offset and rate
5821 of the master clock.
5822 Update logging a bit.
5823 Add flag so that a clock can state that is cannot be slaved to
5826 * gst/gstelement.c: (gst_element_set_clock):
5828 The set clock returns a gboolean for when an element cannot
5829 deal with the selected clock in the pipeline.
5831 * gst/gstpipeline.c: (gst_pipeline_change_state),
5832 (gst_pipeline_set_clock):
5833 * gst/gstpipeline.h:
5834 Handle the case where the selected clock cannot be set on
5837 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
5838 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5839 (gst_net_client_clock_set_property),
5840 (gst_net_client_clock_get_property),
5841 (gst_net_client_clock_observe_times):
5842 * gst/net/gstnetclientclock.h:
5843 Use regression code in GstClock parent, remove duplicated
5846 2005-11-22 Michael Smith <msmith@fluendo.com>
5848 * gst/gstutils.c: (gst_util_clock_time_scale):
5850 * docs/gst/gstreamer-sections.txt:
5851 Rename method to have extra underscore.
5853 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
5855 * gst/elements/Makefile.am:
5856 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
5857 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5858 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5859 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
5860 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
5861 * gst/elements/gstfakesrc.h:
5862 * gst/gstqueue.c: (queue_leaky_get_type):
5863 correctly fix GEnumValues so that nick is the short lowercase
5865 * tools/gst-inspect.c: (print_element_properties_info):
5866 also show the nick, since it's useful to use from parse_launch
5870 2005-11-22 Michael Smith <msmith@fluendo.com>
5872 * gst/gstutils.c: (gst_util_clocktime_scale):
5874 * docs/gst/gstreamer-sections.txt:
5875 Add util method for scaling a clocktime by a fraction. Useful
5876 implementation is left as an exercise for the reader.
5878 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5880 * gst/gstvalue.c: (gst_value_collect_fraction_range):
5881 If needed, allocate storage in the destination value during
5884 2005-11-22 Edward Hervey <edward@fluendo.com>
5886 * docs/gst/gstreamer-sections.txt:
5891 * gst/gstutils.c: (gst_util_set_object_arg):
5892 * tools/gst-compprep.c: (main):
5893 * tools/gst-inspect.c: (print_element_properties_info):
5894 Removed GstURI, closes bug #321061
5896 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5898 * check/gst/gststructure.c: (GST_START_TEST):
5899 * gst/gststructure.c: (gst_structure_parse_value):
5900 Oops, broke automatic string type parsing.
5901 Add a test to catch it in future.
5903 2005-11-22 Andy Wingo <wingo@pobox.com>
5905 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
5906 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
5907 Actually rename the function implementations. Grr.
5909 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5911 * check/gst/capslist.h:
5913 * check/gst/gststructure.c: (GST_START_TEST),
5914 (gst_structure_suite):
5915 Test automatic value type detection in gst_structure_from_string.
5916 * gst/gststructure.c: (gst_structure_parse_value):
5917 Add fraction as a type we try and guess automatically in
5918 caps/structure strings.
5920 2005-11-22 Andy Wingo <wingo@pobox.com>
5922 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
5924 * gst/gsttagsetter.h:
5925 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
5926 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
5927 (gst_tag_setter_add_tag_valist)
5928 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
5929 _add_values, _add_valist, and _add_valist_values. Since this is an
5930 interface the function suffixes should be more explicit so
5931 language binding don't end up with element.add_valist ->
5932 gst_tag_setter_add_valist, for example. Fixes #322069.
5934 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5936 * check/gst/gstcaps.c: (GST_START_TEST):
5937 Extend caps string tests to check that a caps to string
5938 conversion is reversible and produces the same caps.
5940 * gst/gststructure.c: (gst_structure_value_get_generic_type):
5941 Output "fraction" as the generic type fraction range, so caps
5942 serialisation and deserialisation works.
5943 * check/gst/capslist.h:
5944 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5945 Support 'MIN' and 'MAX' for deserialising fractions.
5947 2005-11-22 Andy Wingo <wingo@pobox.com>
5949 * gst/gstevent.h (gst_event_new_new_segment)
5950 (gst_event_parse_new_segment, gst_event_new_buffer_size)
5951 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
5952 Renamed from *_newsegment, *_buffersize, *_notarget.
5954 * scripts/update-funcnames: New script, performs the changes
5957 2005-11-22 Wim Taymans <wim@fluendo.com>
5959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5960 Make sure the GstFlowReturn is returned.
5962 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
5963 (gst_bus_add_signal_watch):
5965 add gst_bus_add_signal_watch_full.
5967 * gst/gstplugin.c: (gst_plugin_load_file):
5968 Small style cleanup.
5970 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5972 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
5973 Block the fakesrc srcpad when we send an event, to avoid
5974 contention on the stream_lock causing random test failures.
5976 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5978 * check/gst/gstvalue.c: (GST_START_TEST):
5979 * gst/gstvalue.c: (gst_value_fraction_subtract):
5982 2005-11-22 Stefan Kost <ensonic@users.sf.net>
5985 include "gstchildproxy.h"
5986 * gst/gstchildproxy.h:
5987 * libs/gst/controller/gstcontroller.h:
5988 use G_GNUC_NULL_TERMINATED
5990 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
5992 * check/gst/capslist.h:
5993 * check/gst/gstcaps.c: (GST_START_TEST):
5994 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5995 * gst/gststructure.c: (gst_structure_parse_range),
5996 (gst_structure_fixate_field_nearest_fraction):
5997 * gst/gststructure.h:
5998 * gst/gstvalue.c: (gst_value_init_fraction_range),
5999 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6000 (gst_value_collect_fraction_range),
6001 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6002 (gst_value_set_fraction_range_full),
6003 (gst_value_get_fraction_range_min),
6004 (gst_value_get_fraction_range_max),
6005 (gst_value_serialize_fraction_range),
6006 (gst_value_transform_fraction_range_string),
6007 (gst_value_compare_fraction_range),
6008 (gst_value_deserialize_fraction_range),
6009 (gst_value_intersect_fraction_fraction_range),
6010 (gst_value_intersect_fraction_range_fraction_range),
6011 (gst_value_subtract_fraction_fraction_range),
6012 (gst_value_subtract_fraction_range_fraction),
6013 (gst_value_subtract_fraction_range_fraction_range),
6014 (gst_value_collect_fraction), (gst_value_fraction_multiply),
6015 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6016 (gst_value_transform_string_fraction), (_gst_value_initialize):
6018 Implement fraction ranges and extend GstFraction to support
6019 arithmetic subtraction, as well as deserialization from integer
6020 strings such as "100"
6021 Add a testsuite as for int and double range set operations
6023 2005-11-21 Andy Wingo <wingo@pobox.com>
6027 * gst/gststructure.h: Add glib-compat.h.
6029 2005-11-21 Wim Taymans <wim@fluendo.com>
6031 * gst/gstbin.c: (gst_bin_change_state_func):
6034 2005-11-21 Wim Taymans <wim@fluendo.com>
6037 And add a nice define too.
6039 2005-11-21 Wim Taymans <wim@fluendo.com>
6041 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6042 (gst_segment_new), (gst_segment_free), (gst_segment_init),
6043 (gst_segment_set_duration), (gst_segment_set_last_stop),
6044 (gst_segment_set_seek), (gst_segment_set_newsegment),
6045 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6048 Make binding friendly.
6050 2005-11-21 Andy Wingo <wingo@pobox.com>
6052 * gst/gsttagsetter.h:
6054 * gst/gststructure.h:
6056 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6059 * gst/gsterror.c (_gst_core_errors_init):
6060 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6063 * gst/Makefile.am (gst_headers): Add glib-compat.h.
6064 (noinst_HEADERS): noinst the -private.
6066 2005-11-21 Michael Smith <msmith@fluendo.com>
6069 * gst/gstregistry.h:
6070 Remove unimplemented declarations for which we can see no sensible
6073 2005-11-21 Andy Wingo <wingo@pobox.com>
6075 * gst/gst.h: Include glib-compat.h.
6077 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6079 * gst/glib-compat.c: Include the public and the private header.
6081 * gst/glib-compat-private.h: Copied here from glib-compat.h.
6085 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6087 * check/gst/gstevent.c (create_custom_events): Check that
6088 FLUSH_STOP is serialized.
6090 * check/elements/identity.c (event_func):
6091 * check/elements/fakesrc.c (event_func): No stream lock, the core
6094 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6095 stream lock taking, yay.
6097 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6098 ensure that core takes the stream lock.
6100 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6103 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6104 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6105 it already. For the flush start we do take it though so we get the
6106 right preroll state change messages.
6108 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6109 the stream lock here, the core does it for us.
6111 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6112 GST_STREAM_GET_LOCK.
6113 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
6114 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
6115 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6116 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6117 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
6118 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6120 * gst/gstpad.c: Update for stream lock name change.
6122 * gst/base/gstbasesink.c: Update for preroll lock name change.
6124 2005-11-21 Wim Taymans <wim@fluendo.com>
6126 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6127 (gst_clock_get_master):
6129 * gst/gstsystemclock.c: (gst_system_clock_init):
6130 Convert Clock flags to object flags.
6131 Added methods to manage master/slave clocks.
6133 2005-11-21 Wim Taymans <wim@fluendo.com>
6135 * check/gst/gstsegment.c: (GST_START_TEST):
6136 * docs/design/part-TODO.txt:
6137 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6138 (gst_base_sink_event), (gst_base_sink_do_sync),
6139 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6140 (gst_base_sink_query), (gst_base_sink_change_state):
6141 * gst/base/gstbasesink.h:
6142 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6143 (gst_base_src_default_newsegment),
6144 (gst_base_src_configure_segment), (gst_base_src_do_seek),
6145 (gst_base_src_get_range), (gst_base_src_loop),
6146 (gst_base_src_change_state):
6147 * gst/base/gstbasesrc.h:
6148 * gst/base/gstbasetransform.c:
6149 (gst_base_transform_prepare_output_buf),
6150 (gst_base_transform_event), (gst_base_transform_change_state):
6151 * gst/base/gstbasetransform.h:
6152 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6153 (gst_collect_pads_event):
6154 * gst/base/gstcollectpads.h:
6155 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6156 (gst_fake_src_create):
6157 * gst/elements/gstfakesrc.h:
6158 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6159 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6160 (gst_segment_set_last_stop), (gst_segment_set_seek),
6161 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6162 (gst_segment_to_running_time), (gst_segment_clip):
6164 More segment updates, replace code in plugins with segment
6167 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6169 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6170 Don't ignore sscanf results
6172 2005-11-21 Andy Wingo <wingo@pobox.com>
6174 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6177 * *.c: Ran scripts/update-macros. Oh yes.
6179 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6180 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6183 * scripts/update-macros: New script. Run it on your files to
6184 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6187 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6189 * docs/gst/Makefile.am:
6190 * docs/gst/gstreamer-docs.sgml:
6191 * docs/gst/gstreamer-sections.txt:
6192 * docs/gst/gstreamer.types:
6194 more docs fixes, add new api to the docs
6196 2005-11-21 Andy Wingo <wingo@pobox.com>
6198 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6199 state_broadcast call.
6201 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6203 2005-11-21 Julien MOUTTE <julien@moutte.net>
6205 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6206 function calls for arrays.
6208 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6210 * docs/random/ensonic/media-device-daemon.txt:
6211 wild idea, can this be done?
6212 * docs/gst/gstreamer-sections.txt:
6217 * gst/gstpluginfeature.c:
6221 doc fixes and additions
6223 2005-11-21 Andy Wingo <wingo@pobox.com>
6225 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
6226 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
6227 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
6228 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6229 private to the basesrc implementation.
6231 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6232 behalf of event function if necessary. It should no longer be
6233 necessary to take the stream lock in pad's event functions. Fixes
6236 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6237 * docs/gst/gstreamer-sections.txt:
6238 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6239 (gst_structure_fixate_field_nearest_double),
6240 (gst_structure_fixate_field_boolean):
6241 * gst/gststructure.h:
6242 * win32/common/libgstreamer.def:
6243 * win32/gstreamer.def:
6245 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6248 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6250 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6251 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6252 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6253 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6254 (gst_fdsrc_uri_handler_init):
6255 * gst/elements/gstfdsrc.h:
6256 Port fd:// URI handler from 0.8 to fdsrc
6258 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6260 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6261 (gst_value_serialize_fourcc):
6263 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6264 consistent with our other format defines (#320324).
6266 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6268 * gst/gstvalue.c: (gst_value_is_fixed):
6269 Revert previous commit. Value lists are by definition
6270 not fixed, as they are a list of possible values.
6272 2005-11-21 Andy Wingo <wingo@pobox.com>
6274 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6275 during the stable series if we need it. Fixes #319178.
6277 * gst/gstevent.c (gst_event_new_filler): Removed.
6279 * check/gst/gstevent.c: Update comment about filler events.
6281 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6283 * gst/gstvalue.c: (gst_value_is_fixed):
6284 Should handle both value arrays and value lists.
6286 2005-11-21 Andy Wingo <wingo@pobox.com>
6288 patch by: Alessandro Dessina <alessandro nnva org>
6290 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6291 functions to access arrays. Fixes #321962.
6293 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6295 * docs/gst/gstreamer.types:
6296 gst_collectpads_get_type => gst_collect_pads_get_type.
6298 * gst/base/gstbasetransform.c:
6299 Remove unused SIGNAL_HANDOFF enum.
6301 2005-11-21 Andy Wingo <wingo@pobox.com>
6303 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6304 the event type (upstream, downstream, serialized). Renamed
6305 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6306 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6307 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6309 * gst/gstevent.c: Update for new CUSTOM event names.
6311 * check/gst/gstevent.c: Update check for new CUSTOM event names.
6314 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6317 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6319 * docs/gst/gstreamer-sections.txt:
6320 * win32/common/libgstbase.def:
6321 * win32/libgstbase.def:
6322 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6323 (gst_collect_pads_class_init), (gst_collect_pads_init),
6324 (gst_collect_pads_finalize), (gst_collect_pads_new),
6325 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6326 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6327 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6328 (gst_collect_pads_start), (gst_collect_pads_stop),
6329 (gst_collect_pads_peek), (gst_collect_pads_pop),
6330 (gst_collect_pads_available), (gst_collect_pads_read),
6331 (gst_collect_pads_flush), (gst_collect_pads_event),
6332 (gst_collect_pads_chain):
6333 * gst/base/gstcollectpads.h:
6334 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6335 unimplemented functions as unimplemented. Add padding to
6336 GstCollectData. (#320766, #320423)
6338 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6341 Improve docs for DURATION message (usage of duration parameter)
6344 2005-11-20 Wim Taymans <wim@fluendo.com>
6346 * check/Makefile.am:
6347 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6351 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6352 (gst_segment_set_seek), (gst_segment_set_newsegment),
6353 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6356 Added segment helper structure and methods. Not fully implemented
6358 Added segment check.
6360 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
6362 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6363 Add a deserialisation test for fractions
6364 * examples/metadata/read-metadata.c: (message_loop),
6365 (make_pipeline), (main):
6366 Fix up metadata reading sample.
6367 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6369 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6370 Don't try and fixate empty caps
6371 * gst/gst_private.h:
6372 Wrap in G_BEGIN_DECLS/G_END_DECLS
6373 * gst/gstvalue.c: (gst_value_collect_fraction),
6374 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6375 (gst_value_transform_string_fraction),
6376 (gst_value_compare_fraction):
6377 Add some extra guards to ensure that we don't end up
6378 with an invalid denominator of 0 in a gstfraction and
6379 that fractions always get reduced.
6381 2005-11-20 Wim Taymans <wim@fluendo.com>
6383 * docs/gst/gstreamer-sections.txt:
6394 2005-11-20 Wim Taymans <wim@fluendo.com>
6396 * docs/design/part-TODO.txt:
6398 Make a proper enum of the flag.
6400 2005-11-19 Wim Taymans <wim@fluendo.com>
6402 * docs/design/part-TODO.txt:
6403 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6404 (gst_format_to_quark), (gst_format_register):
6406 * gst/gstquery.c: (_gst_query_initialize),
6407 (gst_query_type_get_name), (gst_query_type_to_quark),
6408 (gst_query_type_register):
6410 Add type to quark and type to string conversions.
6412 2005-11-19 Andy Wingo <wingo@pobox.com>
6414 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6417 2005-11-19 Wim Taymans <wim@fluendo.com>
6419 * docs/design/part-TODO.txt:
6420 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6421 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6422 (gst_bin_handle_message_func):
6424 Make message handling overridable.
6426 2005-11-19 Andy Wingo <wingo@pobox.com>
6428 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6431 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6433 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
6434 is a GstClockTime. Fixes #321710.
6436 * gst/gstclock.h (GstClock): Remove offset property. Add
6437 internal_calibration and external_calibration. Fix padding. Pad
6438 also by GstClockTime so we don't run into problems.
6440 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
6441 (gst_clock_get_rate_offset): Remove.
6442 (gst_clock_set_time_adjust): Remove. Fixes #321712.
6445 * gst/gstutils.c (g_static_rec_cond_wait)
6446 (g_static_rec_cond_timed_wait): Removed, no longer needed.
6448 * gst/gstbin.c: Remove terrible continue_state prototype.
6450 * gst/gstelement.h (gst_element_continue_state): Make public.
6453 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
6454 by continue_state. Fixes #319389.
6456 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
6457 Really fixes #168438. However I don't see anywhere where the
6458 filter function is called... stupid GStreamer...
6460 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
6461 don't have a dispose function, so it won't get called when the
6462 object is unreffed, but oh well!
6464 * gst/gstindex.c (gst_index_set_filter_full): New API function,
6465 allows a destroy function to be set so user_data can be freed.
6467 (gst_index_set_filter): Call gst_index_set_filter_full.
6469 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
6471 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6472 string should produce an error, given the lack of a way to
6473 represent NULL strings. Fixes #165650.
6476 * gst/gstvalue.c (gst_value_array_append_value)
6477 (gst_value_array_prepend_value, gst_value_array_get_size)
6478 (gst_value_array_get_value): New API, copied from
6479 gst_value_list_*, only operates on arrays.
6480 (gst_value_list_append_value, gst_value_list_prepend_value)
6481 (gst_value_list_concat, gst_value_list_get_size)
6482 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
6484 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
6485 init_list, because it works on both.
6486 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
6487 (gst_value_copy_list_or_array): Renamed from copy_list.
6488 (gst_value_free_list_or_array): Renamed from free_list.
6489 (gst_value_collect_list_or_array): Renamed from collect_list.
6490 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
6491 (gst_value_list_or_array_peek_pointer): Renamed from
6493 (_gst_value_array_value_table, _gst_value_list_value_table):
6494 Update value table functions.
6495 (gst_value_compare_list_or_array): Renamed from compare_list.
6497 * gsttaglist.h: Whoops, foreach function returns void. Also fix
6501 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
6502 GstTagList*. Fixes #143472.
6504 * gst/gststructure.h: Clarify what the foreach/map functions can
6505 or can't do to their arguments.
6507 2005-11-18 Wim Taymans <wim@fluendo.com>
6509 * gst/gstclock.c: (gst_clock_set_calibration),
6510 (gst_clock_get_calibration):
6512 Calibration can be set with internal time equal to current
6515 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
6521 2005-11-18 Andy Wingo <wingo@pobox.com>
6524 * pkgconfig/gstreamer-net.pc.in:
6525 * pkgconfig/gstreamer-net-uninstalled.pc.in:
6526 * pkgconfig/Makefile.am: Add net pkgconfig files.
6528 2005-11-18 Stefan Kost <ensonic@users.sf.net>
6531 * gst/gstghostpad.c:
6537 2005-11-18 Andy Wingo <wingo@pobox.com>
6539 * gst/net/gstnetclientclock.c: Turn off debugging.
6541 * check/net/gstnetclientclock.c (test_functioning): Assert that the
6542 times connverge somewhat. Can't make a real test.
6544 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
6545 integer arithmetic. Return the minimum of the domain, which can be
6546 set as "internal" for gst_clock_set_calibration.
6547 (gst_net_client_clock_observe_times): Call _set_calibration.
6548 (gst_net_client_clock_new): Call _set_calibration instead of
6551 * check/net/gstnetclientclock.c (test_functioning): Use the right
6555 * gst/gstclock.c (gst_clock_get_calibration)
6556 (gst_clock_set_calibration): New functions, obsolete the ones I
6557 added yesterday. Doh. Precision issues mean we have to extrapolate
6558 from a point in the more recent past than 1970.
6559 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
6561 (gst_clock_adjust_unlocked): Use the right calibration data.
6563 2005-11-18 Edward Hervey <edward@fluendo.com>
6565 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6566 Also reset the ->current_* values in READY->PAUSED
6568 2005-11-18 Andy Wingo <wingo@pobox.com>
6570 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
6571 Whoops, check the right fd. Also add some debugging.
6572 (gst_net_client_clock_observe_times): Adjust for int64 offset.
6573 (do_linear_regression): Add a crapload of debugging. Subtract off
6574 the minimum values from the input series to discard unneeded bits.
6575 Use only int arithmetic. There is still double arithmetic when
6576 calculating the intercept that needs fixing. Return boolean to
6577 indicate success; FALSE would mean the domain or range is too
6578 great. Still needs fixes.
6580 2005-11-18 Wim Taymans <wim@fluendo.com>
6582 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
6583 For the current position in stream time, we need to subtract
6586 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6587 Release lock before calling the callback function of async
6590 2005-11-18 Andy Wingo <wingo@pobox.com>
6592 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
6593 Port goes all the way to MAXUINT16.
6595 * gst/net/gstnettimeprovider.c: Make the port range the same as
6596 for the kernel: 0 assigns, otherwise ports are less than
6599 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
6602 * check/net/gstnetclientclock.c (test_functioning): Add the start
6605 2005-11-18 Wim Taymans <wim@fluendo.com>
6607 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6608 (gst_bin_remove_func), (bin_bus_handler):
6610 Removing a clock provider from a bin, triggers a clock lost message
6611 so that a new clock will be selected.
6612 Adding a clock to a bin triggers a clock provider message.
6613 Make sure we reselect a clock when we received a clock lost message.
6614 Keep a reference to the element that provided the clock.
6616 2005-11-18 Andy Wingo <wingo@pobox.com>
6618 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
6619 the clock initially so it produces values around the base time.
6620 (gst_net_client_clock_class_init): Typo fix.
6621 (gst_net_client_clock_thread): Add note on when the socket gets
6624 2005-11-17 Wim Taymans <wim@fluendo.com>
6626 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
6627 Free remote and local time arrays.
6629 2005-11-17 Wim Taymans <wim@fluendo.com>
6631 * gst/net/gstnetclientclock.c: (do_linear_regression),
6632 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
6633 Fix compilation, uninitialized vars and a forgotten continue.
6635 2005-11-17 Andy Wingo <wingo@pobox.com>
6637 * check/Makefile.am (check_PROGRAMS):
6638 * check/net/gstnetclientclock.c: Add a most minimal test for the
6639 net client clock. More to come later.
6642 * gst/net/Makefile.am: Add netclientclock.
6644 * gst/net/gstnetclientclock.h:
6645 * gst/net/gstnetclientclock.c: New files, implement an untested
6646 GstClock that takes its time from a network time provider.
6647 Implements the algorithm in network-clock.scm.
6649 * tests/network-clock.scm (*window-size*): Rename from
6651 * tests/network-clock.scm (network-time):
6652 * tests/network-clock-utils.scm (q-push): Update callers.
6654 2005-11-17 Wim Taymans <wim@fluendo.com>
6656 * gst/gstbin.c: (gst_bin_provide_clock_func),
6657 (gst_bin_sort_iterator_new):
6658 And unref the child too..
6660 2005-11-17 Wim Taymans <wim@fluendo.com>
6662 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6663 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
6664 Refactor the sort iterator so it can be used while holding the
6666 Make clock selection select a clock closest to the source.
6668 2005-11-17 Michael Smith <msmith@fluendo.com>
6670 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
6671 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
6673 Anonymous structs are a gcc (and some other compilers) extension, so
6674 don't use them. Since this is only for ABI-compatibility, and our
6675 API/ABI freeze is over in a few days, this whole thing will only
6676 last a few days, so don't bother trying to think up a meaningful
6677 name for the struct.
6679 2005-11-17 Andy Wingo <wingo@pobox.com>
6681 * gst/gstclock.h (GstClock): Add rate and offset properties,
6682 preserving ABI stability. Add rate/offset accessors. Will file bug
6683 for the freeze break.
6685 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
6686 and offset, trying to keep precision and avoiding
6688 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
6689 functions. Make gst_clock_set_time_adjust obsolete.
6690 (gst_clock_set_time_adjust): Note that this function is obsolete.
6693 * gst/base/gstbasetransform.h: Make the ABI-stability hack
6694 greppable by using GST_PADDING-1+1.
6696 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
6698 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6700 * gst/gstmessage.c: (gst_message_parse_clock_lost):
6701 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
6703 * gst/gstpadtemplate.h:
6704 * gst/gstpluginfeature.h:
6705 Don't use c++ style comments in headers (#321638).
6707 2005-11-16 Andy Wingo <wingo@pobox.com>
6709 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
6712 * check/net/gstnettimeprovider.c: Check to see that the time
6713 provider actually provides times. Works, yo!
6715 2005-11-16 Wim Taymans <wim@fluendo.com>
6717 * check/Makefile.am:
6720 * check/elements/fakesrc.c: (GST_START_TEST):
6721 Set element to NULL before disposing it.
6723 2005-11-16 Andy Wingo <wingo@pobox.com>
6725 * gst/net/Makefile.am:
6727 * gst/net/gstnettimeprovider.c:
6728 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
6729 provider, include it from gstnet.h, and add it to the build.
6731 * gst/net/gstnettimepacket.h:
6732 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
6733 sending and receiving.
6735 2005-11-16 Wim Taymans <wim@fluendo.com>
6737 * check/Makefile.am:
6738 Enable valgrind check.
6740 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
6741 (gst_fake_src_alloc_buffer):
6744 2005-11-16 Wim Taymans <wim@fluendo.com>
6746 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
6747 Call parent finalize too.
6749 2005-11-16 Wim Taymans <wim@fluendo.com>
6751 * check/Makefile.am:
6752 Enable valgrind check that should work fine now.
6754 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6755 * gst/gstqueue.c: (gst_queue_init):
6756 Fix memleaks in pad allocation.
6758 2005-11-16 Andy Wingo <wingo@pobox.com>
6760 * gst/net/Makefile.am:
6761 * gst/net/gstnet.h: New part of core to hold network elements and
6762 objects. Put in core because it exposes API that applications want
6763 to use. The library is named libgstnet-tempname right now because
6764 of the existing libgstnet in gst-plugins-base. Solution is
6765 probably to rename the one in plugins-base; will file a bug for
6768 * gst/net/gstnettimeprovider.c:
6769 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
6770 get_time call over the network.
6773 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
6775 * check/Makefile.am:
6776 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
6777 get additions shortly.
6779 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6781 * gst/gstpad.c: (gst_pad_new_from_static_template):
6783 add gst_pad_new_from_static_template functions
6784 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
6785 (gst_check_setup_sink_pad):
6786 * gst/elements/gsttee.c: (gst_tee_init):
6789 2005-11-16 Wim Taymans <wim@fluendo.com>
6791 * gst/gstpad.c: (gst_pad_pause_task):
6792 Removed warning, it's not really an error either.
6794 2005-11-16 Wim Taymans <wim@fluendo.com>
6796 * gst/base/gstbasetransform.c:
6797 (gst_base_transform_prepare_output_buf),
6798 (gst_base_transform_event):
6799 Check if the caps are NULL, this can happen if the element
6800 is shutting down and the pad caps are set to NULL.
6802 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6804 * gst/elements/gsttee.c: (gst_tee_init):
6805 fix pad template leak in tee
6807 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6809 * gst/glib-compat.c: (g_value_dup_gst_object):
6810 * gst/glib-compat.h:
6811 * gst/gstpad.c: (gst_pad_set_property):
6812 use gst_object_ref when setting the pad template; this will
6813 trigger the pad template leaks on GLib 2.6 and the slaves
6815 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6817 * gst/glib-compat.c: (gst_flags_get_first_value):
6818 * gst/glib-compat.h:
6819 * gst/gstregistryxml.c:
6820 remove functions copied from GLib 2.6
6822 2005-11-16 Michael Smith <msmith@fluendo.com>
6825 Don't link against VALGRIND_LIBS. That was always the wrong thing to
6826 do, but only breaks with newer valgrind versions. We're not a
6827 valgrind tool, we have no link-time dependencies on libcoregrind.
6829 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6831 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6836 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
6838 * gst/base/gstbasesrc.c: (gst_base_src_init):
6839 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6840 * gst/gstqueue.c: (gst_queue_init):
6841 * gst/gstregistryxml.c: (load_feature):
6842 Revert all these unrefs, they don't even pass make check !
6844 2005-11-15 Johan Dahlin <johan@gnome.org>
6846 * gst/base/gstbasesrc.c: (gst_base_src_init):
6847 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
6848 * gst/gstqueue.c: (gst_queue_init):
6849 Free pad templates, fixes a couple of leaks.
6851 2005-11-15 Daniel Fischer <dan at f3c dot com>
6853 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6855 * gst/gstpad.c: (gst_pad_get_property):
6856 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
6857 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
6860 2005-11-15 Wim Taymans <wim@fluendo.com>
6865 2005-11-15 Andy Wingo <wingo@pobox.com>
6867 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
6869 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
6870 using GST_CLOCK_TIME_NONE to disable base time management.
6871 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
6872 time if it was NONE before.
6873 (gst_pipeline_change_state): Only munge the base time if
6874 stream_time != GST_CLOCK_TIME_NONE.
6876 * check/gst/gstpipeline.c (test_base_time): Punt around the
6877 problem of the probe not being called, because that's not the
6878 issue I'm looking at. Add a check that setting stream_time to NONE
6879 disables base time management.
6881 2005-11-15 Wim Taymans <wim@fluendo.com>
6883 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
6884 segment_stop == -1 at startup.
6886 * gst/base/gstbasetransform.c: (gst_base_transform_event),
6887 (gst_base_transform_change_state):
6888 Init segment values at start.
6890 2005-11-15 Wim Taymans <wim@fluendo.com>
6892 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6893 0 segment values are 0 in any format.
6895 * gst/base/gstbasetransform.c: (gst_base_transform_event):
6896 * gst/base/gstbasetransform.h:
6897 Parse newsegment correctly in basetransform
6899 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6900 Sync to clock using updated segment values.
6902 2005-11-15 Andy Wingo <wingo@pobox.com>
6904 * check/gst/gstpipeline.c (test_base_time): Add check that the
6905 base time and stream time are reset correctly.
6907 2005-11-15 Wim Taymans <wim@fluendo.com>
6909 * docs/design/part-TODO.txt:
6910 Some more TODO items.
6912 2005-11-15 Andy Wingo <wingo@pobox.com>
6914 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
6915 error if the user selected "no clock" as the clocking method.
6917 * check/gst/gstpipeline.c (test_base_time): New test for buffer
6918 timestamps with live capture.
6920 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
6921 is 0 but we are a live source, timestamp the buffers using the
6924 2005-11-14 Stefan Kost <ensonic@users.sf.net>
6926 * docs/gst/gstreamer-sections.txt:
6928 * gst/gstghostpad.c:
6933 2005-11-14 Wim Taymans <wim@fluendo.com>
6936 add suppressions from Wim's Debian machine
6938 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
6941 add suppressions from Andy's AMD64 Ubuntu machine
6943 2005-11-14 Andy Wingo <wingo@pobox.com>
6945 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
6946 STATE_LOCK not necessary. Fixes #311489.
6948 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
6951 * gst/gstindex.c (gst_index_add_object): Note in the docs that
6952 this function is not implemented.
6954 2005-11-14 Julien MOUTTE <julien@moutte.net>
6956 * gst/base/gstbasetransform.c:
6957 (gst_base_transform_prepare_output_buf):
6958 Ref the source pad caps while we need them.
6961 2005-11-11 Wim Taymans <wim@fluendo.com>
6963 * docs/gst/gstreamer-sections.txt:
6964 Added some docs for GstCollectData.
6966 * gst/base/gstadapter.c:
6967 Some small code example fix.
6969 * gst/base/gstcollectpads.c:
6970 * gst/base/gstcollectpads.h:
6973 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6975 * configure.ac: back to HEAD
6977 === release 0.9.5 ===
6979 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6982 releasing 0.9.5, "Bike Lunch Day"
6984 2005-11-11 Wim Taymans <wim@fluendo.com>
6986 * gst/gstbuffer.c: (_gst_buffer_copy):
6989 * gst/gstcaps.c: (gst_caps_is_equal):
6991 Make _is_equal fast in the trivial cases.
6993 * gst/gstminiobject.c:
6994 * gst/gstminiobject.h:
6995 More docs. Spifify .h file.
7000 2005-11-11 Wim Taymans <wim@fluendo.com>
7002 * gst/base/gstbasetransform.c:
7003 (gst_base_transform_prepare_output_buf),
7004 (gst_base_transform_handle_buffer):
7006 If we're processing a buffer and need to allocate an output
7007 buffer, we cannot accept a format change. If we did get a
7008 format change, we have to alloc a buffer ourselves of the
7011 2005-11-11 Wim Taymans <wim@fluendo.com>
7013 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7014 While checking the flag for reentrancy in the gstcaps function
7015 is nice to detect recursive invocations, it also makes it
7016 impossible to call getcaps from multiple threads, which must be
7017 possible. So, checking for recursive calls has to go.
7019 2005-11-11 Michael Smith <msmith@fluendo.com>
7021 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7022 Don't sync on buffers that fall partially outside our current
7023 segment. Prevents an assertion failure/abort playing some files.
7025 2005-11-10 Andy Wingo <wingo@pobox.com>
7027 * check/gst/gstbin.c (test_message_state_changed_children): Style
7030 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7031 gst_bus_poll with the signal watch. Ensures that poll and a signal
7032 watch see the same messages.
7034 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7035 a poll and a watch at the same time get the same messages.
7037 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7039 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7040 * gst/gstcaps.c: (gst_caps_intersect):
7041 Don't call gst_caps_do_simplify - it doesn't respect order of caps
7042 and it's not needed.
7044 2005-11-10 Wim Taymans <wim@fluendo.com>
7046 * docs/design/part-TODO.txt:
7049 2005-11-10 Wim Taymans <wim@fluendo.com>
7051 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7052 * gst/base/gstbasesrc.c: (gst_base_src_wait),
7053 (gst_base_src_do_sync), (gst_base_src_get_range):
7054 Implement clock sync in base class.
7056 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7058 patch by: Tim-Philipp Müller <tim at centricular dot net>
7060 * gst/gststructure.c: (gst_structure_parse_field),
7061 (gst_structure_from_string):
7062 Forward-port a 0.8 patch to handle escaped spaces in structure string,
7063 so that gst_parse_launch() can deal with spaces in filtered link
7064 caps (fixes #164479)
7065 * check/gst/capslist.h:
7066 * check/gst/gststructure.c: (GST_START_TEST):
7067 add unit tests for this change
7069 2005-11-10 Wim Taymans <wim@fluendo.com>
7071 * docs/gst/gstreamer-sections.txt:
7074 Fix docs, move some STATE macros to private.
7076 2005-11-10 Wim Taymans <wim@fluendo.com>
7078 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7079 Added check for bug #317341
7083 Some more spiffifying.
7085 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7086 Call peer linkfunction if we are a source pad. Totally fixes
7090 Update docs, source pads should call the peer linkfunction
7091 so they can atomically perform the pad link.
7093 2005-11-09 Wim Taymans <wim@fluendo.com>
7097 Uber-spiffy-spiffify some more.
7099 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
7101 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7102 * gst/elements/gstfilesink.c: (gst_file_sink_init):
7103 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7104 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7105 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7106 * gst/gstpad.c: (gst_pad_init):
7107 Use GST_DEBUG_FUNCPTR() more extensively.
7109 2005-11-09 Wim Taymans <wim@fluendo.com>
7111 * gst/gstobject.c: (gst_object_class_init):
7113 Documentation fixes.
7115 2005-11-09 Edward Hervey <edward@fluendo.com>
7117 * gst/gsttypefindfactory.c:
7120 2005-11-09 Edward Hervey <edward@fluendo.com>
7122 * gst/base/gsttypefindhelper.c:
7123 * gst/gsttypefind.c:
7124 * gst/gsttypefind.h:
7127 2005-11-09 Wim Taymans <wim@fluendo.com>
7129 * gst/gstiterator.c:
7136 2005-11-09 Wim Taymans <wim@fluendo.com>
7142 2005-11-09 Wim Taymans <wim@fluendo.com>
7144 * docs/gst/gstreamer-sections.txt:
7145 Moved the message async delivery private lock and cond
7146 to the private section.
7152 2005-11-09 Edward Hervey <edward@fluendo.com>
7154 * docs/gst/gstreamer-sections.txt:
7157 Document GstURIHandler
7159 2005-11-09 Wim Taymans <wim@fluendo.com>
7161 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7162 (gst_iterator_find_custom):
7163 * gst/gstiterator.h:
7166 2005-11-09 Wim Taymans <wim@fluendo.com>
7169 Document another field.
7171 * gst/gststructure.c:
7172 * gst/gststructure.h:
7175 2005-11-09 Wim Taymans <wim@fluendo.com>
7180 2005-11-09 Wim Taymans <wim@fluendo.com>
7182 * docs/gst/gstreamer-sections.txt:
7183 Added some new macros.
7190 2005-11-09 Wim Taymans <wim@fluendo.com>
7192 * docs/design/part-TODO.txt:
7193 Some more items for the TODO
7199 2005-11-09 Andy Wingo <wingo@pobox.com>
7201 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7202 to work on something else now tho...
7204 * gst/base/gstadapter.c: More adapter docs.
7206 * gst/elements/gstfilesink.c (gst_file_sink_start)
7207 (gst_file_sink_stop): New functions, replace the state change
7209 (gst_file_sink_class_init): Hook up the start and stop functions.
7210 (gst_file_sink_base_init): Don't set the state change handler any
7211 more. It was a bit ugly too, being set from here...
7212 (gst_file_sink_get_property, gst_file_sink_set_property):
7214 (gst_file_sink_set_location): More robust check that doesn't call
7217 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
7219 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7220 Hold STREAM_LOCK while pushing newsegment or tag events as well.
7222 2005-11-08 Wim Taymans <wim@fluendo.com>
7224 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7225 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7226 (gst_base_sink_chain), (gst_base_sink_change_state):
7227 * gst/base/gstbasesink.h:
7228 * gst/base/gstbasesrc.h:
7231 Avoid excessive typechecking in macros.
7233 * gst/gstminiobject.c: (gst_mini_object_get_type),
7234 (gst_mini_object_init), (gst_mini_object_new),
7235 (gst_mini_object_free):
7236 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7237 (gst_object_finalize):
7238 Remove cruft code, optimize alloc_trace.
7240 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
7242 * docs/faq/gst-uninstalled:
7243 fix up PS1 for systems that try to reset it
7245 2005-11-07 Wim Taymans <wim@fluendo.com>
7247 * gst/base/gstbasesrc.c: (gst_base_src_init),
7248 (gst_base_src_get_range):
7249 Set the segment_end to -1 initially. Fixed typefind.
7251 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
7253 * gst/base/gstadapter.c:
7254 Debug category should be 'adapter', not 'GstAdapter'.
7256 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7257 (gst_collectpads_class_init), (gst_collectpads_init),
7258 (gst_collectpads_peek), (gst_collectpads_pop),
7259 (gst_collectpads_event), (gst_collectpads_chain):
7260 Add debug category and some debugging output. Use boilerplate
7261 macros. Remove some extraneous words from docs.
7263 2005-11-05 Andy Wingo <wingo@pobox.com>
7265 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7268 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7270 * docs/gst/gstreamer-sections.txt:
7273 * gst/gstminiobject.h:
7278 2005-11-04 Wim Taymans <wim@fluendo.com>
7280 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7281 Small update to stop at the configured segment_end
7284 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7286 * gst/gstregistry.c:
7287 * gst/gstregistry.h:
7290 2005-11-04 Edward Hervey <edward@fluendo.com>
7292 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7293 Check if we are doing a segment seek and have arrived at the
7294 end of that segment.
7296 2005-11-04 Wim Taymans <wim@fluendo.com>
7298 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7299 Don't leak a mutex unlock in case of an error.
7304 2005-11-04 Wim Taymans <wim@fluendo.com>
7306 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7308 Get the context to wake up only once.
7310 2005-11-03 Wim Taymans <wim@fluendo.com>
7312 * check/states/sinks.c: (GST_START_TEST):
7313 Uncomment fixed check.
7315 * docs/design/part-TODO.txt:
7318 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7319 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7320 (gst_base_sink_get_position):
7321 If we are going to PLAYING, post the right pending state
7322 when we post the intermediate paused message.
7324 * gst/gstelement.c: (gst_element_continue_state),
7325 (gst_element_set_state_func), (gst_element_change_state):
7326 Don't post state changes that were between the same state
7329 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7331 * docs/gst/gstreamer-sections.txt:
7334 * gst/gstminiobject.h:
7337 more docs and doc style fixes
7339 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7341 * docs/gst/gstreamer-sections.txt:
7343 * gst/gstminiobject.c:
7346 2005-11-03 Andy Wingo <wingo@pobox.com>
7348 * check/states/sinks.c (test_livesrc_sink): Add checks that the
7349 state-changed messages actually have the right order and the right
7352 2005-11-03 Wim Taymans <wim@fluendo.com>
7354 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7355 Added some more checks. Specifically the case where NO_PREROLL
7356 elements are in the pipeline.
7358 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7359 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7360 (gst_base_sink_get_position):
7361 Post READY->PAUSED state change messages too.
7362 Fix bug where VOID was posted as pending state...
7364 * gst/gstbin.c: (gst_bin_recalc_state):
7365 use _element_continue_state() to continue the state change.
7367 * gst/gstelement.c: (gst_element_continue_state),
7368 (gst_element_commit_state), (gst_element_set_state_func),
7369 (gst_element_change_state), (gst_element_change_state_func):
7370 Lots of state change cleanups, assign the STATE_RETURN in
7371 a new continue_state() function that also propagates the
7372 last return value from a state change to the app.
7373 Update some debug statements with proper category.
7375 2005-11-03 Wim Taymans <wim@fluendo.com>
7377 * docs/design/part-events.txt:
7378 * docs/design/part-gstpipeline.txt:
7379 * docs/design/part-messages.txt:
7380 * docs/design/part-overview.txt:
7381 * docs/design/part-seeking.txt:
7382 * docs/design/part-states.txt:
7383 * docs/design/part-trickmodes.txt:
7384 * docs/manual/advanced-position.xml:
7388 People think !! is ugly, this looks better.
7390 * gst/gstpad.c: (gst_pad_set_blocked_async):
7391 Remove !! since it's fixed elsewhere now.
7393 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7395 * gst/gstminiobject.h:
7397 Add !! to _FLAG_IS_SET macros to make the result boolean.
7399 2005-11-03 Edward Hervey <edward@fluendo.com>
7401 * gst/gstpad.c: (gst_pad_set_blocked_async):
7402 comparing a flag and a gboolean rarely returns coherent results...
7403 Added two characters (!!) to make that work correctly.
7405 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7407 * gst/gstbus.c: (gst_bus_class_init):
7410 * gst/gstqueue.c: (gst_queue_loop):
7411 Don't assume a miniobject that isn't a buffer is an
7412 event (it could be that there is a refcounting
7413 problem somewhere and the pointer is stale and
7414 refers to an already destroyed miniobject).
7416 2005-11-03 Julien MOUTTE <julien@moutte.net>
7418 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7420 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7422 * docs/manual/advanced-position.xml:
7423 Update seek example and explanations to current 0.9 API.
7425 * gst/elements/gsttypefindelement.c:
7426 (gst_type_find_element_activate):
7427 Remove FIXME comment now that the found caps
7430 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
7432 * gst/gstregistryxml.c: (load_feature):
7433 Add another GST_STR_NULL instance
7435 2005-11-02 Edward Hervey <edward@fluendo.com>
7437 * gst/gstpad.c: (handle_pad_block):
7438 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
7440 2005-11-02 Wim Taymans <wim@fluendo.com>
7445 * gst/gstelement.c: (gst_element_commit_state):
7446 Remove unused value.
7448 * gst/gstiterator.c:
7449 Mention that the returned element is reffed in the docs.
7451 2005-11-02 Wim Taymans <wim@fluendo.com>
7453 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
7454 (gst_pad_push), (gst_pad_push_event):
7455 Unlock blocked pads when they are flushed.
7457 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7460 * docs/gst/gstreamer-sections.txt:
7463 * gst/gstregistry.c: (gst_registry_scan_path_level):
7464 fix for a nasty little missed situation where an installed plug-in
7465 which was in the cache did not get overridden by an uninstalled one
7466 which was earlier in the plugin path because the newly created plugin
7467 for the uninstalled one (not in the registry) didn't get its
7468 ->registered set to TRUE
7470 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7472 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
7473 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
7474 (gst_collectpads_is_active), (gst_collectpads_collect),
7475 (gst_collectpads_collect_range), (gst_collectpads_start),
7476 (gst_collectpads_stop), (gst_collectpads_peek),
7477 (gst_collectpads_pop), (gst_collectpads_available),
7478 (gst_collectpads_read), (gst_collectpads_flush):
7479 Guard public API with assertions.
7482 Fix docs for gst_pad_set_link_function().
7484 2005-11-02 Johan Dahlin <johan@gnome.org>
7486 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
7487 Unref found_caps after we used it.
7489 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7491 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
7492 Don't try to ref NULL.
7494 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7496 * win32/common/config.h.in:
7497 provide a GST_FUNCTION that just gives a string for now
7499 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7501 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7502 (gst_object_flags_get_type), (register_gst_bin_flags),
7503 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7504 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7505 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7506 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
7507 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7508 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7509 (gst_clock_flags_get_type), (register_gst_state),
7510 (gst_state_get_type), (register_gst_state_change_return),
7511 (gst_state_change_return_get_type), (register_gst_state_change),
7512 (gst_state_change_get_type), (register_gst_element_flags),
7513 (gst_element_flags_get_type), (register_gst_core_error),
7514 (gst_core_error_get_type), (register_gst_library_error),
7515 (gst_library_error_get_type), (register_gst_resource_error),
7516 (gst_resource_error_get_type), (register_gst_stream_error),
7517 (gst_stream_error_get_type), (register_gst_event_type),
7518 (gst_event_type_get_type), (register_gst_seek_type),
7519 (gst_seek_type_get_type), (register_gst_seek_flags),
7520 (gst_seek_flags_get_type), (register_gst_format),
7521 (gst_format_get_type), (register_gst_index_certainty),
7522 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7523 (gst_index_entry_type_get_type),
7524 (register_gst_index_lookup_method),
7525 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7526 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7527 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7528 (gst_index_flags_get_type), (register_gst_debug_level),
7529 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7530 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7531 (gst_iterator_result_get_type), (register_gst_iterator_item),
7532 (gst_iterator_item_get_type), (register_gst_message_type),
7533 (gst_message_type_get_type), (register_gst_mini_object_flags),
7534 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7535 (gst_pad_link_return_get_type), (register_gst_flow_return),
7536 (gst_flow_return_get_type), (register_gst_activate_mode),
7537 (gst_activate_mode_get_type), (register_gst_pad_direction),
7538 (gst_pad_direction_get_type), (register_gst_pad_flags),
7539 (gst_pad_flags_get_type), (register_gst_pad_presence),
7540 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7541 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7542 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7543 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7544 (gst_plugin_flags_get_type), (register_gst_rank),
7545 (gst_rank_get_type), (register_gst_query_type),
7546 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7547 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7548 (gst_tag_flag_get_type), (register_gst_task_state),
7549 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7550 (gst_alloc_trace_flags_get_type),
7551 (register_gst_type_find_probability),
7552 (gst_type_find_probability_get_type), (register_gst_uri_type),
7553 (gst_uri_type_get_type), (register_gst_parse_error),
7554 (gst_parse_error_get_type):
7555 * win32/common/gstversion.h:
7558 2005-11-01 Luca Ognibene <luogni@tin.it>
7561 fix docs. popt is dead, long live GOption.
7563 2005-10-31 Wim Taymans <wim@fluendo.com>
7568 2005-10-31 Andy Wingo <wingo@pobox.com>
7572 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
7574 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
7575 need to serialize property notifications on GLib 2.8. GLib 2.6 has
7576 the possibility of deadlocks here if code calling notify() or
7577 set() has a lock that can be taken in another notify handler (ABBA
7578 with class lock and e.g. python GIL state lock).
7580 2005-10-28 Julien MOUTTE <julien@moutte.net>
7582 * gst/gstbus.c: Doc updates.
7584 2005-10-28 Wim Taymans <wim@fluendo.com>
7586 * docs/design/part-TODO.txt:
7587 * gst/gstiterator.c:
7588 * gst/gstsystemclock.c:
7589 * gst/gstsystemclock.h:
7592 2005-10-28 Edward Hervey <edward@fluendo.com>
7594 * docs/gst/gstreamer-docs.sgml:
7595 * docs/gst/gstreamer-sections.txt:
7596 the GstURIType documentation page is private, it only defines GstURIType
7597 which should be defined in the GstURIHandler page
7599 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
7601 * gst/gstbin.c: (gst_bin_class_init):
7604 Documentation updates.
7606 2005-10-28 Wim Taymans <wim@fluendo.com>
7608 * docs/gst/gstreamer-sections.txt:
7611 Documented the clocks.
7613 2005-10-28 Stefan Kost <ensonic@users.sf.net>
7615 * docs/gst/gstreamer-sections.txt:
7616 move some macros to private sections
7617 * gst/gstminiobject.c:
7618 * gst/gstminiobject.h:
7619 add descriptions provided by ds and some more
7621 mark macro as to be removed
7623 2005-10-28 Wim Taymans <wim@fluendo.com>
7625 * docs/design/part-TODO.txt:
7626 Add an item to TODO.
7628 * gst/gstiterator.c: (gst_iterator_fold),
7629 (gst_iterator_find_custom):
7630 * gst/gstiterator.h:
7633 2005-10-28 Wim Taymans <wim@fluendo.com>
7635 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7636 (gst_base_transform_init):
7639 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
7640 An EOS event marks the queue as completely filled.
7642 2005-10-27 Wim Taymans <wim@fluendo.com>
7644 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7645 (gst_base_sink_do_sync), (gst_base_sink_get_position):
7646 Some more debugging.
7648 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
7649 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
7650 (gst_base_transform_event), (gst_base_transform_getrange),
7651 (gst_base_transform_chain):
7652 * gst/base/gstbasetransform.h:
7654 Protect transform and concurrent buffer alloc with a new lock.
7655 Try not to break ABI/API.
7657 2005-10-27 Wim Taymans <wim@fluendo.com>
7659 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7660 (gst_base_src_init), (gst_base_src_query),
7661 (gst_base_src_default_newsegment),
7662 (gst_base_src_configure_segment), (gst_base_src_do_seek),
7663 (gst_base_src_send_event), (gst_base_src_event_handler),
7664 (gst_base_src_pad_get_range), (gst_base_src_loop),
7665 (gst_base_src_unlock), (gst_base_src_default_negotiate),
7666 (gst_base_src_start), (gst_base_src_deactivate),
7667 (gst_base_src_activate_push), (gst_base_src_change_state):
7668 Move some stuff around and cleanup things.
7670 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
7672 * gst/base/gstbasesrc.c: (gst_base_src_query):
7673 Add missing break statements.
7675 2005-10-27 Wim Taymans <wim@fluendo.com>
7677 * check/gst/gstbin.c: (GST_START_TEST):
7678 An extra refcount is taken in basesrc.
7680 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7681 (gst_base_src_get_range), (gst_base_src_pad_get_range),
7682 (gst_base_src_loop):
7683 Small cleanups, check for flushing after being unlocked from the
7684 LIVE_LOCK. take refcounts correctly (not yet everywhere).
7685 Don't send out EOS when going to READY.
7687 2005-10-27 Wim Taymans <wim@fluendo.com>
7689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7690 (gst_base_sink_get_position):
7693 * gst/gstbin.c: (message_check), (bin_replace_message),
7694 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7695 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7696 (bin_query_duration_init), (bin_query_duration_fold),
7697 (bin_query_duration_done), (bin_query_generic_fold),
7699 * tools/gst-launch.c: (main):
7702 2005-10-26 Stefan Kost <ensonic@users.sf.net>
7704 * examples/controller/audio-example.c: (main):
7705 * examples/queue/queue.c: (event_loop):
7706 * gst/base/gstbasetransform.h:
7707 * gst/gstelement.c: (gst_element_send_event):
7709 * gst/gstpad.c: (gst_pad_send_event):
7712 changing log priority in error situations
7714 2005-10-25 Wim Taymans <wim@fluendo.com>
7716 * gst/gstbin.c: (message_check), (bin_replace_message),
7717 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7718 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7719 (bin_query_duration_init), (bin_query_duration_fold),
7720 (bin_query_duration_done), (bin_query_generic_fold),
7722 Some doc and debug updates.
7723 Cache previously requested query DURATION for speed. invalidate
7724 cached duration if element posts a DURATION message.
7726 2005-10-25 Wim Taymans <wim@fluendo.com>
7728 * docs/design/part-TODO.txt:
7731 * gst/gstbin.c: (message_check), (bin_replace_message),
7732 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7733 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7734 (bin_query_duration_init), (bin_query_duration_fold),
7735 (bin_query_duration_done), (bin_query_generic_fold),
7737 Handle SEGMENT_START/DONE messages correctly.
7738 More evolved query algorithm that handles duration queries
7741 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
7742 (gst_element_get_state_func), (gst_element_abort_state),
7743 (gst_element_commit_state), (gst_element_lost_state):
7744 Some more debugging.
7749 2005-10-25 Wim Taymans <wim@fluendo.com>
7751 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7752 Don't use invalid stream_time.
7754 * gst/gstevent.c: (gst_event_new_newsegment):
7755 stream_time in newsegment cannot be undefined.
7757 2005-10-24 Wim Taymans <wim@fluendo.com>
7762 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7764 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
7766 2005-10-24 Stefan Kost <ensonic@users.sf.net>
7768 * docs/libs/tmpl/gstdparam.sgml:
7769 * docs/libs/tmpl/gstdplinint.sgml:
7770 * docs/libs/tmpl/gstdpman.sgml:
7771 * docs/libs/tmpl/gstdpsmooth.sgml:
7772 * docs/libs/tmpl/gstunitconvert.sgml:
7775 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
7780 === release 0.9.4 ===
7782 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
7785 releasing 0.9.4, "Tyrannosaurus Rex"
7787 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
7789 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
7790 (gst_file_sink_get_current_offset):
7791 Use fseeko() and ftello() if available. When falling back on
7792 lseek() to get the current offset, fflush() first to make sure
7793 everything is up-to-date and we get the right offset.
7795 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
7797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7798 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7799 * gst/gsterror.c: (_gst_stream_errors_init):
7801 * gst/gstqueue.c: (gst_queue_loop):
7803 remove prematurely added error category and clean up the instances
7805 2005-10-21 Wim Taymans <wim@fluendo.com>
7807 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7808 (gst_base_sink_get_position), (gst_base_sink_query),
7809 (gst_base_sink_change_state):
7810 Simply set the right flag when going to playing, that's all
7811 we need to do instead of calling a function inside the object
7812 lock (that could take the lock as well and deadlock)
7814 2005-10-21 Wim Taymans <wim@fluendo.com>
7816 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
7817 (gst_base_src_loop):
7818 Don't warn, the peer element knows what to do best when
7819 the seek failed, it might try something else.
7821 2005-10-21 Wim Taymans <wim@fluendo.com>
7823 * gst/base/gstbasesrc.c: (gst_base_src_init),
7824 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7827 2005-10-21 Wim Taymans <wim@fluendo.com>
7829 * docs/design/part-segments.txt:
7832 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7833 Correctly set caps, even on the subbufer.
7835 2005-10-21 Wim Taymans <wim@fluendo.com>
7837 * docs/gst/gstreamer-docs.sgml:
7838 * docs/gst/gstreamer-sections.txt:
7845 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
7849 And 2% more doc coverage.
7851 2005-10-21 Andy Wingo <wingo@pobox.com>
7853 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
7856 2005-10-20 Wim Taymans <wim@fluendo.com>
7858 * gst/gsterror.c: (gst_error_get_message):
7861 * gst/gststructure.c:
7866 2005-10-20 Wim Taymans <wim@fluendo.com>
7871 Another 1% more coverage.
7873 2005-10-20 Wim Taymans <wim@fluendo.com>
7875 * docs/gst/gstreamer-sections.txt:
7876 * gst/gstelement.c: (gst_element_get_state_func),
7877 (gst_element_abort_state), (gst_element_commit_state),
7878 (gst_element_lost_state):
7880 * gst/gstquery.c: (gst_query_set_position),
7881 (gst_query_parse_position), (gst_query_set_duration),
7882 (gst_query_parse_duration), (gst_query_new_convert):
7884 Yay! 1% more docs coverage.
7886 2005-10-20 Wim Taymans <wim@fluendo.com>
7889 * gst/gstquery.c: (gst_query_set_position),
7890 (gst_query_parse_position), (gst_query_set_duration),
7891 (gst_query_parse_duration), (gst_query_new_convert):
7893 * gst/gstutils.c: (gst_element_query_convert):
7895 Docs and consistency fixes.
7897 2005-10-20 Wim Taymans <wim@fluendo.com>
7903 2005-10-20 Wim Taymans <wim@fluendo.com>
7905 * gst/gstbin.c: (message_check), (bin_replace_message),
7906 (bin_remove_messages), (is_eos), (gst_bin_add_func),
7907 (update_degree), (gst_bin_sort_iterator_next),
7908 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
7909 Reworked the message handling a bit, cache the messages instead of
7910 only the senders. alows us to do more in the future.
7912 2005-10-20 Wim Taymans <wim@fluendo.com>
7914 * docs/design/part-TODO.txt:
7917 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7918 (gst_base_sink_query):
7919 Don't use clock time to report position when in EOS.
7921 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
7923 * tools/gst-inspect.c: (print_interfaces),
7924 (print_element_properties_info), (print_element_info):
7925 Fix interface output with gst-inspect -a; don't print
7926 newlines after double/float properties.
7928 2005-10-20 Wim Taymans <wim@fluendo.com>
7930 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
7931 (gst_base_sink_query):
7932 Speed up current position calculation.
7934 * gst/base/gstbasesrc.c: (gst_base_src_query),
7935 (gst_base_src_default_newsegment):
7936 Correctly set stream position in newsegment.
7938 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
7939 (update_degree), (gst_bin_sort_iterator_next),
7940 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
7941 * gst/gstmessage.c: (gst_message_new_custom):
7942 Clean up debugging info
7944 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7945 (gst_queue_loop), (gst_queue_handle_src_query):
7948 2005-10-19 Wim Taymans <wim@fluendo.com>
7950 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7951 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7952 Fix query handling again.
7954 2005-10-19 Wim Taymans <wim@fluendo.com>
7956 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7957 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
7958 * gst/base/gstbasesrc.c: (gst_base_src_query):
7959 * gst/elements/gstfilesink.c: (gst_file_sink_query):
7960 * gst/elements/gsttypefindelement.c:
7961 (gst_type_find_handle_src_query), (find_element_get_length),
7962 (gst_type_find_element_activate):
7965 * gst/gstquery.c: (gst_query_new_position),
7966 (gst_query_set_position), (gst_query_parse_position),
7967 (gst_query_new_duration), (gst_query_set_duration),
7968 (gst_query_parse_duration), (gst_query_set_segment),
7969 (gst_query_parse_segment):
7971 Bundling query position/duration is not a good idea since duration
7972 does not change much and we don't want to recalculate it for every
7973 position query, so they are separated again..
7974 Base value in segment query is not needed.
7976 * gst/gstqueue.c: (gst_queue_handle_src_query):
7977 * gst/gstutils.c: (gst_element_query_position),
7978 (gst_element_query_duration), (gst_pad_query_position),
7979 (gst_pad_query_duration):
7981 Updates for query API change.
7982 Added some docs here and there.
7984 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
7986 * check/gst/gstbin.c: (GST_START_TEST):
7987 * check/gst/gstghostpad.c: (GST_START_TEST):
7988 * check/pipelines/cleanup.c: (GST_START_TEST):
7989 wait on thread to die so we can check refcount correctly
7991 2005-10-18 Wim Taymans <wim@fluendo.com>
7993 * check/pipelines/stress.c: (GST_START_TEST):
7994 Make check a little more time consuming.
7996 2005-10-18 Wim Taymans <wim@fluendo.com>
7998 * check/Makefile.am:
7999 * check/pipelines/stress.c: (GST_START_TEST),
8000 (simple_launch_lines_suite), (main):
8001 Small state change torture test.
8003 * docs/design/part-states.txt:
8004 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8005 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8006 (gst_base_sink_change_state):
8007 Never take state lock from streaming thread, clean up ugly
8008 hacks. Unfortunatly core does not yet support nice ways to
8011 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8013 Start state recalc if a STATE_DIRTY message is posted, but only
8014 on the toplevel bin.
8016 * gst/gstelement.c: (gst_element_sync_state_with_parent),
8017 (gst_element_get_state_func), (gst_element_abort_state),
8018 (gst_element_commit_state), (gst_element_lost_state),
8019 (gst_element_set_state_func), (gst_element_change_state):
8021 State variables are now protected with the LOCK, the state
8022 lock is only used to serialize _set_state().
8024 2005-10-18 Wim Taymans <wim@fluendo.com>
8026 * check/gst/gstbin.c: (GST_START_TEST):
8027 * check/gst/gstmessage.c: (GST_START_TEST):
8028 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8029 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8031 * gst/gstelement.c: (gst_element_abort_state),
8032 (gst_element_commit_state), (gst_element_lost_state):
8033 * gst/gstmessage.c: (gst_message_new_state_changed),
8034 (gst_message_new_state_dirty), (gst_message_new_segment_start),
8035 (gst_message_new_segment_done), (gst_message_new_duration),
8036 (gst_message_parse_state_changed),
8037 (gst_message_parse_segment_start),
8038 (gst_message_parse_segment_done), (gst_message_parse_duration):
8040 * tools/gst-launch.c: (event_loop):
8041 Seriously, this is better than a previous commit as we only need
8042 to notify the fact that an element changed state in a streaming
8043 thread, marking the state of the parents dirty, hence the
8044 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8047 2005-10-18 Wim Taymans <wim@fluendo.com>
8049 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8050 (gst_bin_recalc_func):
8051 * gst/gstelement.c: (gst_element_set_clock),
8052 (gst_element_abort_state), (gst_element_lost_state):
8053 Cleanups, prepare for state change fixes.
8055 2005-10-18 Wim Taymans <wim@fluendo.com>
8058 * gst/gstelement.c: (gst_element_class_init),
8059 (gst_element_set_state), (gst_element_set_state_func):
8061 Pending ABI changes.
8062 GThreadPool in GstBinClass to monitor async state changes.
8063 state_cookie in GstElement to detect concurrent gst/set state.
8064 set_state is now virtual too in case a very complicated element
8065 has to be constructed.
8067 2005-10-18 Wim Taymans <wim@fluendo.com>
8069 * check/gst/gstbin.c: (GST_START_TEST):
8070 * check/gst/gstmessage.c: (GST_START_TEST):
8071 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8072 * gst/gstbin.c: (bin_bus_handler):
8073 * gst/gstelement.c: (gst_element_commit_state),
8074 (gst_element_lost_state):
8075 * gst/gstmessage.c: (gst_message_new_state_changed),
8076 (gst_message_new_segment_start), (gst_message_new_segment_done),
8077 (gst_message_new_duration), (gst_message_parse_state_changed),
8078 (gst_message_parse_segment_start),
8079 (gst_message_parse_segment_done), (gst_message_parse_duration):
8081 * tools/gst-launch.c: (event_loop):
8082 Make messages future proof.
8083 state-change gets a flag if it was a message comming from the
8085 segment-start/stop can also be specified in other formats.
8086 A message to notify an app that a pipeline changed playback
8088 Also fix a GstMessage leak in -launch
8090 2005-10-18 Andy Wingo <wingo@pobox.com>
8092 * gst/gstelement.c (gst_element_dispose): More helpful message.
8094 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8096 reviewed by: <delete if not using a buddy>
8098 * common/gtk-doc.mak:
8100 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8102 * gst/gstregistry.c: (gst_registry_scan_path_level):
8103 unref a plug-in we get that was already initialized
8105 2005-10-18 Stefan Kost <ensonic@users.sf.net>
8107 * docs/gst/gstreamer-sections.txt:
8108 * docs/libs/gstreamer-libs-sections.txt:
8113 2005-10-17 Andy Wingo <wingo@pobox.com>
8115 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8118 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8120 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8122 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8123 (gst_element_get_state_func): Better debug message.
8124 (gst_element_commit_state): s/INFO/DEBUG/.
8125 (gst_element_lost_state, gst_element_change_state):
8127 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8128 (gst_message_new_custom): s/INFO/LOG/.
8130 2005-10-17 Michael Smith <msmith@fluendo.com>
8132 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8133 Check if end time is valid using end time, not start time.
8135 2005-10-17 Stefan Kost <ensonic@users.sf.net>
8137 * check/gst-libs/controller.c: (GST_START_TEST),
8138 (gst_controller_suite):
8139 * libs/gst/controller/gstcontroller.c:
8140 (gst_controlled_property_set_interpolation_mode):
8141 * libs/gst/controller/gstcontroller.h:
8142 * libs/gst/controller/gstinterpolation.c:
8143 * testsuite/controller/.cvsignore:
8144 * testsuite/controller/Makefile.am:
8145 * testsuite/controller/interpolator.c:
8146 merge controller testsuites
8148 remove mem-chunk from docs
8150 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8152 * gst/gstmemchunk.c:
8153 * gst/gstmemchunk.h:
8154 * gst/gsttrashstack.c:
8155 * gst/gsttrashstack.h:
8156 out. get out. you're fired. to the Attic !
8158 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8160 * gst/gstcaps.c: (gst_caps_intersect):
8161 fix signedness issues in a (hopefully) correct way
8162 * gst/gstelement.c: (gst_element_pads_activate):
8164 * gst/gstobject.c: (gst_object_set_parent):
8167 2005-10-17 Julien MOUTTE <julien@moutte.net>
8169 * gst/gstvalue.h: Fix prototypes.
8171 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8173 * docs/gst/gstreamer-sections.txt:
8174 * gst/gst.c: (gst_version_string):
8176 * gst/gstversion.h.in:
8177 * win32/common/libgstreamer.def:
8178 add gst_version_string ()
8180 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8184 * gst/gst.c: (init_post):
8185 * win32/common/config.h.in:
8187 * gst/gstcaps.c: (gst_caps_intersect):
8188 use gint64, the range could be bigger than a guint
8190 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8193 document potential problem in 2038
8195 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8197 * gst/gstcaps.c: (gst_caps_intersect):
8198 Fix guint j diving under 0
8200 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8203 * win32/common/config.h:
8204 * win32/common/config.h.in:
8205 check for process.h, declares getpid() on Windows
8207 include process.h if we have it
8208 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8209 * gst/gstmemchunk.h:
8210 fix signedness issues
8211 * win32/common/libgstreamer.def:
8214 2005-10-16 Julien MOUTTE <julien@moutte.net>
8216 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8217 fix. Because of unsigned ints, caps intersection was going nuts and
8218 trying to access structures with G_MAXUINT index. That fixes
8219 videotestsrc ! ffmpegcolorspace ! fakesink
8220 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8223 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8226 use the gettext macro
8227 * gst/elements/gstelements.c:
8229 * gst/indexers/gstindexers.c:
8230 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8231 * win32/common/config.h:
8233 * win32/common/config.h.in:
8234 add the template to generate config.h
8235 * win32/common/gstenumtypes.c:
8236 * win32/common/gstversion.h:
8239 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8241 * gst/gst.c: (gst_version):
8242 * gst/gstversion.h.in:
8245 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8248 Oops, add missing closing bracket.
8250 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8253 use common m4's for argument checking
8255 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8257 * docs/gst/gstreamer-sections.txt:
8259 Add GST_EVENT_TYPE_NAME() macro.
8261 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8264 * gst/gstpluginfeature.c:
8266 privatize more symbols
8268 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8271 add srcdir, builddir includes to GST_ALL_CFLAGS, since
8272 everything that uses GStreamer API should have the includes
8274 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8276 * docs/gst/gstreamer-sections.txt:
8277 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8279 give each value a _get_type, removes the DATA exports
8281 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8285 remove _gst_registry_auto_load, not used anymore
8286 * gst/gstbin.c: (gst_bin_get_type):
8288 * gst/gstelement.c: (gst_element_get_type):
8290 * gst/gstobject.c: (gst_object_get_type):
8292 * gst/gstpad.c: (gst_pad_get_type):
8294 make _get_type functions similar, fixes data export from library
8296 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8299 correctly make conditionals
8300 * gst/elements/Makefile.am:
8301 * gst/elements/gstelements.c:
8302 fix typo causing fdsrc not to build
8304 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8306 * testsuite/Makefile.am:
8307 * testsuite/bytestream/.cvsignore:
8308 * testsuite/bytestream/Makefile.am:
8309 * testsuite/bytestream/filepadsink.c:
8310 * testsuite/bytestream/gstbstest.c:
8311 * testsuite/bytestream/test1.c:
8312 * testsuite/bytestream/testfile1:
8313 * testsuite/caps/normalisation.c:
8314 * testsuite/caps/random.c: (main):
8315 * testsuite/cleanup/.cvsignore:
8316 * testsuite/cleanup/Makefile.am:
8317 * testsuite/cleanup/cleanup1.c:
8318 * testsuite/cleanup/cleanup2.c:
8319 * testsuite/cleanup/cleanup3.c:
8320 * testsuite/cleanup/cleanup4.c:
8321 * testsuite/cleanup/cleanup5.c:
8322 * testsuite/controller/interpolator.c:
8323 * testsuite/debug/printf_extension.c: (main):
8324 * testsuite/elements/tee.c:
8325 * testsuite/negotiation/.cvsignore:
8326 * testsuite/negotiation/Makefile.am:
8327 * testsuite/negotiation/pad_link.c:
8328 * testsuite/pad/Makefile.am:
8329 * testsuite/pad/chainnopull.c:
8330 * testsuite/pad/getnopush.c:
8331 * testsuite/pad/link.c:
8332 * testsuite/refcounting/sched.c: (create_pipeline):
8333 * testsuite/registry/Makefile.am:
8334 * testsuite/registry/gst-print-formats.c:
8335 * testsuite/schedulers/.cvsignore:
8336 * testsuite/schedulers/142183-2.c:
8337 * testsuite/schedulers/142183.c:
8338 * testsuite/schedulers/143777-2.c:
8339 * testsuite/schedulers/143777.c:
8340 * testsuite/schedulers/147713.c:
8341 * testsuite/schedulers/147819.c:
8342 * testsuite/schedulers/147894-2.c:
8343 * testsuite/schedulers/147894.c:
8344 * testsuite/schedulers/Makefile.am:
8345 * testsuite/schedulers/group_link.c:
8346 * testsuite/schedulers/queue_link.c:
8347 * testsuite/schedulers/relink.c:
8348 * testsuite/schedulers/unlink.c:
8349 * testsuite/schedulers/unref.c:
8350 * testsuite/schedulers/useless_iteration.c:
8351 * testsuite/states/bin.c:
8352 clean out/remove some stuff from the testsuite directories
8354 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8357 check for some headers
8358 * gst/elements/Makefile.am:
8359 * gst/elements/gstelements.c:
8360 don't compile fdsrc without sys/socket.h
8361 * gst/indexers/Makefile.am:
8362 * gst/indexers/gstindexers.c: (plugin_init):
8363 don't compile fileindex without mmap
8365 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8372 * check/Makefile.am:
8373 * docs/gst/Makefile.am:
8374 * examples/helloworld/Makefile.am:
8376 * gst/base/Makefile.am:
8377 * gst/check/Makefile.am:
8378 * gst/elements/Makefile.am:
8379 * gst/indexers/Makefile.am:
8380 * gst/parse/Makefile.am:
8381 * libs/gst/controller/Makefile.am:
8382 * libs/gst/dataprotocol/Makefile.am:
8383 * examples/helloworld/helloworld.c: (event_loop):
8384 compile fixes, though it's not being compiled currently
8386 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8388 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8389 Add some simple tests for the new taglist date API.
8391 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8393 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8394 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8395 Beautify 'last-message' output: print 'none' for buffer timestamps
8396 and durations if none is set; improve alignment with next messages.
8398 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8400 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8401 * gst/gstpluginfeature.h:
8402 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8403 * gst/gstregistry.h:
8404 * docs/gst/gstreamer-sections.txt:
8405 Add new API to check plugin feature version requirements.
8407 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8408 Some basic tests for the above.
8410 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8412 * gst/gststructure.c: (gst_structure_to_string):
8413 guard against NULL printf - happens when for example
8414 a message structure with GstClock gets serialized
8416 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8418 * gst/base/gstcollectpads.c: (gst_collectpads_event):
8419 Fix presumable copy'n'pasto.
8421 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8423 * gst/elements/gstfakesrc.h:
8424 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8425 * gst/elements/gsttypefindelement.c:
8427 * gst/elements/gstfilesink.c: (gst_file_sink_render):
8428 I wonder if this could actually write +2GB files before
8430 2005-10-13 Andy Wingo <wingo@pobox.com>
8432 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8433 Fix Timmeke Waymans bug.
8434 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
8435 string of the proper length to gst_caps_from_string. There's a
8436 potential for, before this fix, that this could cause someone
8437 connecting over the network to cause a segfault if the payload is
8440 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8442 * docs/design/draft-push-pull.txt:
8443 * docs/design/part-overview.txt:
8444 * docs/random/TODO-pre-0.9:
8445 * docs/random/old/ChangeLog.gstreamer:
8446 * gst/base/gstpushsrc.c:
8450 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8452 * gst/glib-compat.c: (gst_flags_get_first_value):
8453 * gst/glib-compat.h:
8454 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
8455 (gst_value_compare_double), (gst_value_serialize_flags):
8456 GLib 2.6 g_flags_get_first_value has a bug that triggers an
8459 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8461 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8462 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8464 * tools/gst-launch.c: (event_loop):
8465 print out clock nicely
8467 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8469 * docs/gst/gstreamer-sections.txt:
8471 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
8472 (gst_tag_list_get_date_index):
8473 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
8474 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
8476 2005-10-13 Julien MOUTTE <julien@moutte.net>
8478 * gst/base/gstcollectpads.c: (gst_collectpads_event),
8479 (gst_collectpads_chain):
8480 * gst/base/gstcollectpads.h: Handle newsegment and store informations
8483 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8485 * docs/gst/gstreamer-sections.txt:
8488 * tools/gst-inspect.c: (main):
8489 * tools/gst-launch.c: (main):
8490 * tools/gst-run.c: (main):
8491 * tools/gst-xmlinspect.c: (main):
8492 fix GOption context leaks
8495 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8499 * win32/common/config.h:
8501 * win32/vs6/grammar.dsp:
8502 * win32/vs6/libgstelements.dsp:
8503 * win32/vs6/libgstreamer.dsp:
8506 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8508 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8509 * gst/base/gstbasesrc.c: (gst_base_src_query):
8510 fix more guint64<->gdouble conversions
8512 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8515 add win32-update target
8516 * win32/common/gstconfig.h:
8517 * win32/common/gstenumtypes.c:
8518 * win32/common/gstenumtypes.h:
8519 * win32/common/gstversion.h:
8520 add files that visual studio can't generate
8522 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
8525 add a win32-update target
8528 2005-10-12 Wim Taymans <wim@fluendo.com>
8530 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8531 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
8532 * gst/gstelement.c: (gst_element_commit_state),
8533 (gst_element_set_state):
8534 Protect flags with proper lock.
8535 unref provided cached clock in dispose.
8537 2005-10-12 Stefan Kost <ensonic@users.sf.net>
8540 * gst/gstminiobject.h:
8542 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
8543 removed unused flags from miniobject
8546 2005-10-12 Wim Taymans <wim@fluendo.com>
8548 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8549 (gst_file_sink_event), (gst_file_sink_render):
8550 Flush before seeking.
8552 2005-10-12 Andy Wingo <wingo@pobox.com>
8554 * gst/gst.c (gst_init_check): Ignore unknown options, as has
8555 always been the case.
8557 2005-10-12 Stefan Kost <ensonic@users.sf.net>
8559 * check/gst/gstbin.c: (GST_START_TEST):
8560 * docs/gst/gstreamer-sections.txt:
8561 * gst/base/gstbasesink.c: (gst_base_sink_init):
8562 * gst/base/gstbasesrc.c: (gst_base_src_init),
8563 (gst_base_src_get_range), (gst_base_src_check_get_range),
8564 (gst_base_src_start), (gst_base_src_stop):
8565 * gst/base/gstbasesrc.h:
8566 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
8567 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8568 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
8572 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
8574 * gst/gstelement.c: (gst_element_is_locked_state),
8575 (gst_element_set_locked_state), (gst_element_commit_state),
8576 (gst_element_set_state):
8578 * gst/gstindex.c: (gst_index_init):
8580 * gst/gstminiobject.h:
8581 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
8582 (gst_object_set_parent):
8584 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
8585 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
8587 * gst/gstpadtemplate.h:
8588 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
8589 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8590 * gst/gstpipeline.h:
8591 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8592 (gst_file_index_commit):
8593 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
8594 * testsuite/pad/link.c: (gst_test_src_init),
8595 (gst_test_filter_init), (gst_test_sink_init):
8596 * testsuite/states/locked.c: (main):
8597 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
8598 moved bitshift from macro to enum definition
8600 2005-10-12 Wim Taymans <wim@fluendo.com>
8602 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
8603 * gst/elements/gstfilesink.c: (gst_file_sink_event),
8604 (gst_file_sink_render):
8605 Some more debugging info.
8607 2005-10-12 Wim Taymans <wim@fluendo.com>
8609 * docs/design/part-states.txt:
8610 * tools/gst-launch.c: (main):
8612 Revert non-intentional change.
8614 2005-10-12 Wim Taymans <wim@fluendo.com>
8616 * check/gst/gstbin.c: (GST_START_TEST):
8617 * check/gst/gstelement.c: (GST_START_TEST):
8618 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
8619 * check/gst/gstghostpad.c: (GST_START_TEST):
8620 * check/gst/gstpipeline.c: (GST_START_TEST):
8621 * check/pipelines/simple_launch_lines.c: (run_pipeline):
8622 * check/states/sinks.c: (GST_START_TEST):
8623 * gst/elements/gsttypefindelement.c: (stop_typefinding):
8624 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8625 (gst_bin_remove_func), (gst_bin_get_state_func),
8626 (gst_bin_recalc_state), (gst_bin_change_state_func),
8628 * gst/gstelement.c: (gst_element_get_state_func),
8629 (gst_element_get_state), (gst_element_abort_state),
8630 (gst_element_commit_state), (gst_element_set_state),
8631 (gst_element_change_state), (gst_element_change_state_func):
8633 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
8634 (gst_pipeline_provide_clock_func):
8635 * gst/gstutils.c: (gst_element_link_pads_filtered):
8636 * tools/gst-launch.c: (main):
8637 * tools/gst-typefind.c: (main):
8638 Use GstClockTime in _get_state() instead of GTimeVal.
8639 Remove old code in gstutils.c
8641 2005-10-12 Andy Wingo <wingo@pobox.com>
8643 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
8646 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
8647 there is no task. Shouldn't affect any code, as nothing in our
8648 plugins checks this return value.
8649 (gst_pad_stop_task): Also take the stream lock if the pad has no
8652 2005-10-12 Wim Taymans <wim@fluendo.com>
8654 * gst/gstpad.c: (pre_activate), (post_activate),
8655 (gst_pad_activate_pull), (gst_pad_activate_push):
8656 Cleanup activation code. Reset old state if
8659 2005-10-12 Wim Taymans <wim@fluendo.com>
8661 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8662 (gst_base_sink_change_state):
8663 No need to prerol after receiving EOS.
8665 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8666 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
8667 * gst/elements/gstidentity.c: (gst_identity_event):
8668 Print events more verbosely.
8670 2005-10-12 Wim Taymans <wim@fluendo.com>
8672 * check/Makefile.am:
8673 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8674 * check/states/sinks2.c:
8675 Moved sinks2 testcode in sinks check.
8677 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8678 (gst_bin_remove_func), (gst_bin_recalc_state),
8679 (gst_bin_change_state_func), (bin_bus_handler):
8680 Fix potential race condition when _get_state() iterated over an
8681 ASYNC element right before it posted a state completion.
8684 Do proper cast here.
8686 * gst/gstevent.c: (gst_event_new_newsegment),
8687 (gst_event_parse_newsegment):
8688 A playback rate of 0.0 is not allowed.
8690 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8692 * win32/common/config.h:
8693 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
8694 (_trewinddir), (_ttelldir), (_tseekdir):
8695 * win32/common/dirent.h:
8696 * win32/common/gtchar.h:
8697 * win32/common/libgstbase.def:
8698 * win32/common/libgstreamer.def:
8699 * win32/vs6/grammar.dsp:
8700 * win32/vs6/gst_inspect.dsp:
8701 * win32/vs6/gst_launch.dsp:
8702 * win32/vs6/gstreamer.dsw:
8703 * win32/vs6/libgstbase.dsp:
8704 * win32/vs6/libgstelements.dsp:
8705 * win32/vs6/libgstreamer.dsp:
8706 Visual Studio 6 project files, and a new common directory.
8709 2005-10-11 Wim Taymans <wim@fluendo.com>
8711 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8712 (gst_base_sink_do_sync), (gst_base_sink_query),
8713 (gst_base_sink_change_state):
8714 * gst/base/gstbasesink.h:
8715 Correctly parse newsegment info.
8717 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8719 * gst/gst.c: (init_post):
8720 split plugin paths correctly
8722 2005-10-11 Wim Taymans <wim@fluendo.com>
8724 * check/gst/gstevent.c: (GST_START_TEST):
8725 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8726 (gst_base_sink_change_state):
8727 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
8728 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8729 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8730 * gst/gstevent.c: (gst_event_new_newsegment),
8731 (gst_event_parse_newsegment):
8733 Added extra flag to newsegment for future API freeze.
8734 Updated check and base elements.
8736 2005-10-11 Julien MOUTTE <julien@moutte.net>
8738 * gst/base/gstcollectpads.c: (gst_collectpads_init),
8739 (gst_collectpads_add_pad), (gst_collectpads_pop),
8740 (gst_collectpads_event), (gst_collectpads_chain):
8741 * gst/base/gstcollectpads.h: Handle EOS correctly.
8743 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8745 * tools/gst-launch.c: (main):
8746 more null protecting
8748 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8750 * gst/gst-i18n-lib.h:
8751 check for ENABLE_NLS, not GETTEXT_PACKAGE
8752 * gst/gstregistry.c: (gst_registry_add_plugin),
8753 (gst_registry_scan_path_level),
8754 (_gst_registry_remove_cache_plugins):
8755 protect possibly NULL strings
8756 * gst/parse/types.h:
8757 config.h already included before
8758 * tools/gst-inspect.c: (main):
8759 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
8760 check for ENABLE_NLS, not GETTEXT_PACKAGE
8761 * tools/gst-launch.c: (main):
8762 check for ENABLE_NLS, not GETTEXT_PACKAGE
8764 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8767 if we don't have glib, fail before testing 2.8
8768 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
8769 fix a leak, should fix plugins-base testsuite
8771 2005-10-11 Andy Wingo <wingo@pobox.com>
8773 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
8774 take the mode we're going to as an arg. Go head and set the mode
8775 and flushing flags now, so that if the activate function starts a
8776 thread all the flags will be in the right state.
8777 (post_activate): Renamed also. Just handle making sure streaming
8778 finishes for the deactivation case, and setting the deactivated
8780 (gst_pad_set_active): Complain loudly if deactivation fails.
8781 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
8782 (gst_pad_activate_push): Adapt to pre/post_activate changes,
8783 remove the terrible hack.
8785 2005-10-11 Wim Taymans <wim@fluendo.com>
8787 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8788 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
8789 (gst_bin_recalc_state), (gst_bin_change_state_func),
8790 (gst_bin_dispose), (bin_bus_handler):
8792 Prepare to make current EOS message queue more generic.
8795 * gst/gstevent.c: (gst_event_new_newsegment),
8796 (gst_event_parse_newsegment):
8798 Rename base to stream_time.
8803 2005-10-11 Wim Taymans <wim@fluendo.com>
8805 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
8806 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
8807 (gst_bin_change_state_func), (bin_bus_handler):
8809 Work on proper clock selection.
8811 2005-10-11 Edward Hervey <edward@fluendo.com>
8813 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
8814 * libs/gst/controller/gstcontroller.h:
8815 Added GList* version of _remove_properties() in order to be able to wrap
8818 2005-10-11 Wim Taymans <wim@fluendo.com>
8820 * docs/design/part-states.txt:
8823 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
8824 (gst_bin_change_state_func), (bin_bus_handler):
8825 Doc updates. Don't distribute the same clock over and over again.
8831 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
8832 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
8833 (gst_pad_send_event):
8835 Make probe emission threadsafe again.
8836 Register quarks and move _get_name() from utils.
8839 * gst/gstpipeline.c: (gst_pipeline_class_init),
8840 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8841 Only redistribute the clock of it changed.
8843 * gst/gstsystemclock.h:
8848 Moved the _flow_get_name() to GstPad.
8850 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8852 * check/gst-libs/gdp.c: (GST_START_TEST):
8853 * check/gst/gstcaps.c: (GST_START_TEST):
8854 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
8855 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
8856 (gst_dp_packet_from_caps):
8857 fix more valgrind warnings before turning up the heat
8859 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
8861 * gst/parse/grammar.y:
8862 some cleanup before the hacking
8864 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8866 * gst/base/gstbasesrc.c: (gst_base_src_query):
8868 * gst/gstutils.c: (gst_guint64_to_gdouble),
8869 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
8871 externalize, basesrc uses it
8872 obviously the implementation needs testing
8874 2005-10-10 Wim Taymans <wim@fluendo.com>
8876 * tests/sched/Makefile.am:
8877 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
8878 (make_pipeline3), (make_pipeline4), (print_elem), (main):
8880 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
8882 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
8883 apparently converting from guint64 to double is not implemented
8886 2005-10-10 Wim Taymans <wim@fluendo.com>
8888 * check/Makefile.am:
8889 * check/generic/states.c: (GST_START_TEST):
8890 * check/gst/gstbin.c: (GST_START_TEST):
8891 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
8892 * check/states/sinks.c: (GST_START_TEST):
8893 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
8895 Check fixes, use API as stated in design docs, remove hacks.
8897 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8898 (gst_base_sink_change_state):
8899 Catch stopping our task while we're shutting down.
8901 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8902 (gst_bin_remove_func), (gst_bin_get_state_func),
8903 (gst_bin_recalc_state), (gst_bin_change_state_func),
8906 * gst/gstelement.c: (gst_element_init),
8907 (gst_element_get_state_func), (gst_element_abort_state),
8908 (gst_element_commit_state), (gst_element_lost_state),
8909 (gst_element_set_state), (gst_element_change_state),
8910 (gst_element_change_state_func):
8912 New state change algorithm (see #318116)
8914 * gst/gstpipeline.c: (gst_pipeline_class_init),
8915 (gst_pipeline_init), (gst_pipeline_set_property),
8916 (gst_pipeline_get_property), (do_pipeline_seek),
8917 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
8918 * gst/gstpipeline.h:
8919 Remove crude state change hacks.
8924 * tools/gst-launch.c: (main):
8925 Fixes for state change. Needs some more work to fully use the
8928 2005-10-10 Andy Wingo <wingo@pobox.com>
8930 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
8932 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
8933 this flag, but it's not even in GLib 2.6. Odd. Hack around the
8936 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8938 * gst/gstiterator.c: (gst_iterator_new):
8939 Fix my previous commit: GTypes passed to gst_iterator_new()
8940 can be fundamental types.
8942 2005-10-10 Wim Taymans <wim@fluendo.com>
8944 * gst/gstelement.c: (gst_element_iterate_pad_list),
8945 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
8946 (gst_element_iterate_sink_pads):
8947 Use src/sink pads lists for the respective iterators instead
8950 2005-10-10 Andy Wingo <wingo@pobox.com>
8952 Merged in popt removal + GOption addition patch from Ronald, bug
8955 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
8956 GstElement macros around, remove popt-related symbols, add goption
8959 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
8961 * docs/gst/Makefile.am:
8962 * docs/libs/Makefile.am: No POPT_CFLAGS.
8964 * examples/manual/Makefile.am:
8965 * docs/manual/basics-init.xml: Doc updates with an example.
8967 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8968 (gst_init), (parse_one_option), (parse_goption_arg):
8969 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
8970 bit of hand merging and debugging to get the GOption stuff working
8973 * tests/Makefile.am:
8974 * tools/Makefile.am:
8975 * tools/gst-inspect.c: (main):
8976 * tools/gst-launch.c: (main):
8977 * tools/gst-run.c: (main):
8978 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
8980 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
8982 * gst/gstiterator.c: (gst_iterator_new):
8983 Add assertions to make sure passed GType is likely to really
8984 be a GType (as the compiler won't catch it if the size and
8985 GType arguments get mixed up, see #318447).
8987 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
8989 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8991 * gst/gstbin.c: (gst_bin_iterate_sorted):
8992 Pass GType and size arguments to gst_iterator_new() in the right
8993 order (maybe we should make _new() take the GType as first argument
8994 just like _new_list()?) (#318447).
8997 2005-10-10 Wim Taymans <wim@fluendo.com>
8999 * gst/gstelement.c: (gst_element_finalize):
9000 And free the GStaticRecMutex too
9002 2005-10-10 Andy Wingo <wingo@pobox.com>
9004 * gst/gstelement.c (gst_element_init, gst_element_finalize):
9005 Allocate and free the mutex properly.
9007 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9009 (GstElement): The state_lock is now recursive. Rebuild your
9010 plugins, suckers. Old macros adapted.
9012 * docs/gst/gstreamer-sections.txt: Doc updates.
9015 * gst/gstutils.c (g_static_rec_cond_timed_wait)
9016 (g_static_rec_cond_wait): Ported from state changes patch, while
9017 we wait on bug #317802 to be solved in a well-distributed GLib.
9019 * gst/gstelement.c (gst_element_change_state_func): Renamed from
9020 gst_element_change_state, variable name changes.
9021 (gst_element_change_state): Split out of gst_element_set_state in
9022 preparation for the state change merge. Doesn't pay attention to
9023 the 'transition' argument.
9024 (gst_element_set_state): Updates, hopefully purely cosmetic.
9025 (gst_element_sync_state_with_parent): MT-safety. Ported from the
9027 (gst_element_get_state_func): Renamed from get_state, cosmetic
9030 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9032 * gst/elements/gstelements.c:
9033 * win32/GStreamer.vcproj:
9035 * win32/dirent.c: (_tseekdir):
9036 * win32/gst-inspect.vcproj:
9037 * win32/gst-launch.vcproj:
9038 * win32/gstconfig.h:
9039 * win32/gstelements.vcproj:
9040 * win32/gstenumtypes.c: (gst_object_flags_get_type):
9041 * win32/gstreamer.def:
9043 updates for the win32 build (patch from Sebastien Moutte)
9045 2005-10-10 Andy Wingo <wingo@pobox.com>
9047 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9048 gst_bin_get_state, cleaned up (but no logic changes).
9049 (bin_element_is_sink): Comment updates.
9050 (sink_iterator_filter): Remove needless cast.
9051 (gst_bin_iterate_sinks): Doc update.
9052 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9053 cleaned up (but no logic changes).
9055 * check/states/sinks.c (test_src_sink): Cleanups from the state
9057 (test_livesrc_sink): Sync on the state.
9059 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9060 the state change patch.
9062 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9065 * check/gst/gstbin.c: Merge in some style fixes and additional
9066 checks from Wim's state change patch.
9068 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9070 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9071 (gst_type_find_helper):
9072 Check whether we have the requested data already in our list of
9073 cached buffers before pulling a new buffer; also make the buffer
9074 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9076 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9081 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9082 don't use long long, it's not portable. Replacing with
9083 gint64 seems to work; let's hope no skeletons fall out of the closet.
9085 2005-10-10 Andy Wingo <wingo@pobox.com>
9087 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9089 2005-10-09 Stefan Kost <ensonic@users.sf.net>
9091 * docs/gst/gstreamer-sections.txt:
9096 * gst/gstmessage.c: (gst_message_parse_state_changed):
9099 more docs, fix compilation
9101 2005-10-09 Philippe Khalaf <burger@speedy.org>
9103 Fixed a few forgotten variables on previous commit
9105 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
9107 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9108 Fix evil typefind crasher: getrange() might return a short
9109 buffer at the end of a file, but gst_type_find_peek() must
9110 either return the full data as requested or NULL, but
9111 never a short buffer.
9113 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
9115 * gst/gstmessage.c: (gst_message_new_state_changed),
9116 (gst_message_parse_state_changed):
9118 don't use "new", it's a C++ keyword
9120 2005-10-08 Wim Taymans <wim@fluendo.com>
9122 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9123 * gst/gstelement.c: (gst_element_post_message):
9124 * gst/gstpipeline.c: (gst_pipeline_change_state):
9125 Small docs and debug updates.
9127 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9129 * docs/gst/gstreamer-sections.txt:
9130 * gst/gstelementfactory.c:
9135 2005-10-08 Wim Taymans <wim@fluendo.com>
9137 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9138 (gst_bin_dispose), (bin_bus_handler):
9139 Fix typos, add comments.
9140 Clear EOS list when going to PAUSED from any direction and do it
9141 in a threadsafe way.
9142 Get base time in a threadsafe way too.
9143 Fix confusing debug in the change_state function.
9144 Various other small cleanups.
9146 * gst/gstelement.c: (gst_element_post_message):
9147 Fix very verbose bus posting code.
9149 * gst/gstpipeline.c: (gst_pipeline_class_init),
9150 (gst_pipeline_set_property), (gst_pipeline_get_property),
9151 (gst_pipeline_change_state):
9152 Small ARG_ -> PROP_ cleanup
9154 2005-10-08 Wim Taymans <wim@fluendo.com>
9156 * gst/gstbin.c: (is_eos), (bin_bus_handler):
9157 Do a less CPU demanding EOS check because we can.
9159 2005-10-08 Wim Taymans <wim@fluendo.com>
9161 * libs/gst/dataprotocol/dataprotocol.c:
9162 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9163 (gst_dp_packet_from_event):
9164 * libs/gst/dataprotocol/dataprotocol.h:
9165 * libs/gst/dataprotocol/dp-private.h:
9166 It's about time we bump the version number.
9167 Since event types don't fit in the guint8 anymore describing
9168 the payload type, make payload type 16 bits wide.
9170 2005-10-08 Wim Taymans <wim@fluendo.com>
9172 * docs/design/part-TODO.txt:
9173 * docs/design/part-clocks.txt:
9174 * docs/design/part-events.txt:
9175 * docs/design/part-gstbin.txt:
9176 * docs/design/part-gstelement.txt:
9177 * docs/design/part-gstpipeline.txt:
9178 * docs/design/part-live-source.txt:
9179 * docs/design/part-messages.txt:
9180 * docs/design/part-overview.txt:
9181 * docs/design/part-states.txt:
9184 2005-10-08 Wim Taymans <wim@fluendo.com>
9188 Fix event quark registration.
9189 Add some space between events so we can insert them in the
9192 2005-10-08 Wim Taymans <wim@fluendo.com>
9194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9195 (gst_base_sink_handle_buffer):
9202 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9203 (gst_queue_set_property), (gst_queue_get_property):
9205 Remove old unused properties.
9207 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9208 * docs/gst/gstreamer-sections.txt:
9211 * gst/gstminiobject.c:
9212 * gst/gstminiobject.h:
9216 lots of new docs and doc fixes
9218 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9220 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9222 * gst/gstregistry.c: (gst_registry_lookup_locked),
9223 (gst_registry_scan_path_level):
9224 * gst/gstregistryxml.c: (load_plugin):
9225 Only ever load one plugin for a given plugin basename.
9226 This ensures correct overriding of GST_PLUGIN_PATH over
9227 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9228 system installed plugins.
9230 2005-10-08 Wim Taymans <wim@fluendo.com>
9232 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9233 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9234 Prepare for doing QOS.
9236 2005-10-08 Wim Taymans <wim@fluendo.com>
9238 * check/gst/gstbin.c: (GST_START_TEST):
9239 * check/pipelines/cleanup.c: (GST_START_TEST):
9240 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9241 Allow new clock message too.
9243 2005-10-08 Wim Taymans <wim@fluendo.com>
9245 * gst/gstmessage.c: (gst_message_new_error),
9246 (gst_message_new_warning), (gst_message_new_tag),
9247 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9248 (gst_message_new_clock_lost), (gst_message_new_new_clock),
9249 (gst_message_new_segment_start), (gst_message_new_segment_done),
9250 (gst_message_parse_state_changed),
9251 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9252 (gst_message_parse_new_clock):
9254 Also carry the clock in question.
9256 2005-10-08 Wim Taymans <wim@fluendo.com>
9258 * gst/gstmessage.c: (gst_message_new_custom),
9259 (gst_message_new_eos), (gst_message_new_error),
9260 (gst_message_new_warning), (gst_message_new_tag),
9261 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9262 (gst_message_new_new_clock), (gst_message_new_segment_start),
9263 (gst_message_new_segment_done), (gst_message_parse_state_changed),
9264 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9267 Added clock related messages.
9269 * gst/gstpipeline.c: (gst_pipeline_change_state):
9270 Post message when the clock changed.
9272 * tools/gst-launch.c: (event_loop):
9275 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
9277 * tools/gst-inspect.c: (print_element_properties_info):
9278 Can't pass NULL strings to g_print() on windows.
9280 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9283 * docs/gst/Makefile.am:
9284 * docs/gst/gstreamer-docs.sgml:
9285 * docs/gst/running.xml:
9286 * docs/version.entities.in:
9287 add a chapter on running GStreamer.
9288 document GST_DEBUG and GST_PLUGIN* env vars
9290 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9295 remove PLUGINS_BUILDDIR stuff
9296 * gst/gst.c: (init_post):
9297 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9299 remove, it was condescending and not needed
9301 2005-10-08 Wim Taymans <wim@fluendo.com>
9303 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9304 (gst_base_sink_handle_object), (gst_base_sink_event),
9305 (gst_base_sink_wait), (gst_base_sink_handle_event),
9306 (gst_base_sink_change_state):
9307 * gst/base/gstbasesink.h:
9308 Repost EOS message while going to PLAYING if still EOS.
9309 Make sure that when receiving a FLUSH_START we don't attempt
9310 to sync on the clock anymore.
9312 2005-10-08 Wim Taymans <wim@fluendo.com>
9314 * tools/gst-launch.c: (event_loop):
9315 Better message printout.
9317 2005-10-08 Wim Taymans <wim@fluendo.com>
9319 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9320 (gst_bin_child_proxy_get_children_count):
9321 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9322 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9323 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9324 (gst_child_proxy_set_valist):
9325 * gst/parse/grammar.y:
9326 Make ChildProxy threadsafe and fix mem leaks.
9328 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9330 * gst/gst.c: (init_post):
9331 debug the GST_PLUGIN_ env vars
9333 2005-10-08 Wim Taymans <wim@fluendo.com>
9335 * check/gst/gstbin.c: (GST_START_TEST):
9336 * check/gst/gstmessage.c: (GST_START_TEST):
9337 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9338 * gst/gstelement.c: (gst_element_commit_state),
9339 (gst_element_lost_state):
9340 * gst/gstmessage.c: (gst_message_new_state_changed),
9341 (gst_message_parse_state_changed):
9343 * tools/gst-launch.c: (event_loop):
9344 Added extra field to STATE_CHANGE message with the pending
9345 state, which will be different from the new state soon.
9347 2005-10-08 Wim Taymans <wim@fluendo.com>
9349 * gst/gstbus.c: (gst_bus_pop):
9351 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9352 Small cleanups and doc updates.
9354 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9356 * gst/gst.c: (init_pre):
9357 * gst/gstbin.c: (gst_bin_add_func):
9358 log distributing clocks and base time
9359 * gst/gstregistry.c: (gst_registry_add_plugin),
9360 (gst_registry_scan_path_level), (gst_registry_scan_path):
9361 clean up the debugging output a little
9362 * gst/gstutils.c: (gst_element_state_get_name):
9363 warn about a memleak (I've actually seen this be used, though
9364 it was probably a bug)
9366 2005-10-07 Wim Taymans <wim@fluendo.com>
9368 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9369 (gst_base_src_init), (gst_base_src_default_newsegment),
9370 (gst_base_src_newsegment), (gst_base_src_do_seek),
9371 (gst_base_src_loop), (gst_base_src_start):
9372 * gst/base/gstbasesrc.h:
9373 Make the newsegment event customizable by subclasses.
9375 2005-10-07 Wim Taymans <wim@fluendo.com>
9377 * gst/gstevent.c: (gst_event_new_buffersize),
9378 (gst_event_parse_buffersize):
9380 New event for future idea.
9382 2005-10-07 Andy Wingo <wingo@pobox.com>
9384 * gst/gstelement.c (gst_element_post_message): Doc update.
9386 * docs/gst/gstreamer-sections.txt: Update.
9388 * gst/gstmessage.c (gst_message_new_application): Made into a
9389 function like honest API calls.
9390 (gst_message_new_element): New message type.
9392 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9394 * check/elements/fakesrc.c (test_no_preroll): New check, checks
9395 that setting a live fakesrc to PAUSED returns NO_PREROLL both
9398 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9399 NO_PREROLL from gst_element_change_state to fall through.
9401 2005-10-07 Wim Taymans <wim@fluendo.com>
9403 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9404 (gst_ghost_pad_do_activate_push):
9405 Activating a ghostpad with no internal pad in push mode
9408 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
9411 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9412 Fixes compilation on Windows.
9414 2005-10-07 Michael Smith <msmith@fluendo.com>
9416 * tools/gst-inspect.c:
9417 Print out feature and plugin count at the end when printing out
9420 2005-10-04 Michael Smith <msmith@fluendo.com>
9422 * gst/gsterror.c: (_gst_stream_errors_init):
9423 Add another error string used in a few existing plugins.
9426 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9427 * tools/gst-inspect.c: (print_element_info):
9428 When a feature disappears from a plugin (and the feature exists in
9429 the cached registry file), things went horribly wrong. This isn't a
9430 complete fix, we should actually be removing the 'missing' features
9431 from the features list when we load the actual plugin. That's not
9434 2005-10-04 Johan Dahlin <johan@gnome.org>
9436 * check/gst/gstiterator.c: (GST_START_TEST):
9437 * gst/gstbin.c: (gst_bin_iterate_elements),
9438 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
9439 * gst/gstelement.c: (gst_element_iterate_pads):
9440 * gst/gstformat.c: (gst_format_iterate_definitions):
9441 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9442 (gst_iterator_new_list), (gst_iterator_filter):
9443 * gst/gstiterator.h:
9444 * gst/gstquery.c: (gst_query_type_iterate_definitions):
9445 Add a GType to GstIterator, update callsites and tests.
9447 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9449 * gst/gstpad.c: (gst_pad_event_default_dispatch):
9450 give events a chance to be handled by event probes when the pad
9453 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9455 * gst/gstevent.c: (gst_event_type_get_name),
9456 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
9458 add string representations for event types
9460 2005-10-06 Wim Taymans <wim@fluendo.com>
9462 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
9463 Don't use NULL pointers.
9465 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9467 * gst/gst_private.h:
9471 * gst/gstpluginfeature.c:
9472 widen the debug category in output to fit the biggest one we have
9473 add a bus category and use it
9474 play with the colors
9475 fix up some categories
9477 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9479 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
9480 add push activation of sink ghost pads.
9481 Andye, please verify
9483 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9485 * gst/gstutils.c: (gst_element_link_pads):
9486 fix a bug in the case where neither element has a pad
9487 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9488 add a test for that case
9490 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9492 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
9493 emit have-data before checking for peers. This allows
9494 for probe handlers to connect elements. This helps autopluggers.
9495 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
9497 add six checks, linked/unlinked with no/true/false probe
9499 2005-10-04 Wim Taymans <wim@fluendo.com>
9501 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
9502 (gst_fake_sink_event), (gst_fake_sink_preroll),
9503 (gst_fake_sink_render), (gst_fake_sink_change_state):
9504 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
9505 (gst_fake_src_get_property), (gst_fake_src_create),
9506 (gst_fake_src_stop):
9507 * gst/elements/gstidentity.c: (gst_identity_stop):
9508 Protect last_message with lock.
9510 2005-10-04 Edward Hervey <edward@fluendo.com>
9513 Added precision in the comments for GST_FORMAT_DEFAULT
9515 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
9517 * tools/gst-launch.c: (main):
9518 Don't try to run erroneous pipelines.
9520 2005-10-04 Julien MOUTTE <julien@moutte.net>
9522 * gst/gstbus.c: We don't need this header.
9524 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
9529 === release 0.9.3 ===
9531 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
9535 Releasing 0.9.3, "Unregistered"
9537 2005-10-03 Andy Wingo <wingo@pobox.com>
9539 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
9540 whereby calling a pad's activatepush() function can start a thread
9541 that starts to push or pull before the pad gets the FLUSHING flag
9542 unset. Hack around it by holding the stream lock until the flag is
9543 set. Need to replace this with a proper solution. Together with
9544 the ghost pad fixes, this fixes mp3 playing/tagreading.
9546 * docs/design/part-gstghostpad.txt: Add a note about activation of
9547 proxy pads outside of ghost pads.
9549 * gst/gstghostpad.c: Implement the ghost pad activation design.
9551 2005-10-02 Andy Wingo <wingo@pobox.com>
9553 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
9554 It is volatile, after all.
9556 * docs/design/part-gstghostpad.txt: Flesh out activation with
9559 * gst/base/gstbasesrc.c (gst_base_src_init): Use
9562 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
9565 Fix (unused) AM_CONDITIONAL tests.
9567 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
9569 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9571 * gst/gstutils.c: (gst_pad_query_convert):
9572 Add assertion that makes sure src_val is >=0, just like
9573 gst_query_new_convert() has. (#315895)
9575 2005-09-30 Edward Hervey <edward@fluendo.com>
9577 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
9578 Let's not iterate pads we're not interested in, it avoids getting
9579 sky-high refcounts on sinkpad.
9581 2005-09-30 Wim Taymans <wim@fluendo.com>
9583 * gst/gstelement.c: (gst_element_set_state),
9584 (gst_element_change_state):
9585 Small tweak, element in ASYNC remains ASYNC.
9587 2005-09-30 Wim Taymans <wim@fluendo.com>
9589 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9590 Only error is an error.
9592 * gst/gstbin.c: (gst_bin_change_state):
9595 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
9596 Also call pad_block in pad alloc.
9598 * gst/gstutils.c: (gst_flow_get_name):
9601 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9603 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9604 (gst_base_src_get_range):
9605 Fix documentation typos. Add some more debug info.
9607 2005-09-29 David Schleef <ds@schleef.org>
9609 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
9610 more end-user friendly.
9611 * tools/gst-inspect.c: (main): Check if command-line argument is
9612 a file and attempt to load that file as a plugin.
9614 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9616 * check/gst/gstbin.c:
9617 * check/states/sinks.c:
9618 fix tests for the new warning
9619 * check/gst/gstpipeline.c:
9620 add a test for pipeline and bus interaction
9622 elements should be NULL if they get disposed; add a warning if not
9624 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9627 for 2.6 refcounting, make debug log more correct by printing
9628 the actual refcounts at the time of swap (Wim)
9630 2005-09-29 Andy Wingo <wingo@pobox.com>
9632 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
9633 removes signal watches previously added via
9634 gst_bus_add_signal_watch.
9635 (gst_bus_add_signal_watch): Don't return the source id, just store
9636 it on the bus if there wasn't an id already.
9638 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
9639 add_signal_watch and remove_signal_watch.
9641 2005-09-29 Edward Hervey <edward@fluendo.com>
9643 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9644 Better if we actually iterate the list :)
9646 2005-09-29 Wim Taymans <wim@fluendo.com>
9648 * check/gst/gstbin.c: (GST_START_TEST):
9649 Change for new bus API.
9651 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9652 (send_messages), (GST_START_TEST), (gstbus_suite):
9653 Change for new bus signal API.
9655 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
9656 (gst_bus_source_prepare), (gst_bus_source_check),
9657 (gst_bus_create_watch), (gst_bus_add_watch_full),
9658 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
9659 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
9661 Remove support for multiple GSources operating on different
9662 message types as it is too complex and unneeded when using
9664 Added support for receiving signals from the bus.
9666 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
9668 * docs/libs/tmpl/gstdataprotocol.sgml:
9669 * docs/manual/advanced-dataaccess.xml:
9670 * gst/elements/gstcapsfilter.c:
9672 rename filter-caps to caps property
9674 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9676 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9677 More robust fraction string parsing.
9679 * docs/pwg/appendix-porting.xml:
9680 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
9682 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
9684 * gst/gstcaps.c: (gst_caps_do_simplify):
9685 Thou shalt not free a structure and then continue using it
9686 in the next loop iteration.
9688 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
9690 Add test case for caps simplification.
9692 2005-09-29 Wim Taymans <wim@fluendo.com>
9694 * check/gst/gstbin.c: (GST_START_TEST):
9697 2005-09-29 Wim Taymans <wim@fluendo.com>
9699 * check/gst/gstbin.c: (GST_START_TEST):
9702 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9703 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9704 (find_element), (gst_bin_sort_iterator_next),
9705 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9706 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9707 (gst_bin_change_state), (gst_bin_dispose):
9708 A bin does not have a bus, it gets the bus from the parent.
9710 * gst/gstelement.c: (gst_element_requires_clock),
9711 (gst_element_provides_clock), (gst_element_is_indexable),
9712 (gst_element_is_locked_state), (gst_element_change_state),
9713 (gst_element_set_bus_func):
9716 * gst/gstpipeline.c: (gst_pipeline_class_init),
9717 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
9718 The pipeline provides a bus.
9720 2005-09-28 Johan Dahlin <johan@gnome.org>
9722 * gst/gstmessage.c (gst_message_parse_state_changed): Use
9723 gst_structure_get_enum instead of gst_structure_get_int
9725 * gst/gststructure.c (gst_structure_get_enum): Impl.
9727 * gst/gststructure.h (gst_structure_get_enum): Add
9729 * docs/gst/gstreamer-sections.txt: Ditto
9731 * gst/gstmessage.c (gst_message_new_state_changed): Use
9732 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
9733 which does introspection.
9734 Reviewed by Christian Schaller
9736 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9738 * gst/gstinfo.c: (gst_debug_log_default):
9739 don't do dummy g_strdup()s
9740 * libs/gst/controller/gstcontroller.c:
9741 (on_object_controlled_property_changed),
9742 (gst_controlled_property_new), (gst_controller_new_valist),
9743 (gst_controller_new_list),
9744 (gst_controller_remove_properties_valist), (gst_controller_set),
9745 (gst_controller_get), (gst_controller_sync_values),
9746 (gst_controller_get_value_array), (_gst_controller_class_init),
9747 (gst_controller_get_type):
9748 * libs/gst/controller/gstcontroller.h:
9749 * libs/gst/controller/gstinterpolation.c:
9750 (gst_controlled_property_find_timed_value_node):
9751 convert // to /**/ comments
9753 2005-09-28 Wim Taymans <wim@fluendo.com>
9755 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
9756 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
9757 (gst_bus_sync_signal_handler):
9759 Added async-message and sync-message signals to the bus.
9760 Added helper BusFunc to emit signals for all posted messages.
9762 * gst/gstmessage.c: (gst_message_type_get_name),
9763 (gst_message_type_to_quark), (gst_message_get_type):
9765 Register quarks for message names.
9767 2005-09-28 Stefan Kost <ensonic@users.sf.net>
9769 * docs/libs/gstreamer-libs-sections.txt:
9770 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9771 (gst_controller_new_list):
9772 * libs/gst/controller/gstcontroller.h:
9773 added another constructor for language bindings
9775 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
9777 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9781 * gst/gstinfo.c: (_gst_debug_init):
9782 slightly more readable color for refcount debugging
9784 2005-09-28 Wim Taymans <wim@fluendo.com>
9786 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9787 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9788 (find_element), (gst_bin_sort_iterator_next),
9789 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9790 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9791 (gst_bin_change_state), (gst_bin_dispose):
9792 Small doc fixes. get_clock -> provide_clock.
9794 * gst/gstelement.c: (gst_element_class_init),
9795 (gst_element_provides_clock), (gst_element_provide_clock),
9796 (gst_element_get_clock), (gst_element_commit_state),
9797 (gst_element_lost_state):
9799 Make get/set_clock() symetric. Add provide_clock vmethod since
9800 that is actually what this function does.
9802 * gst/gstpipeline.c: (gst_pipeline_class_init),
9803 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
9804 (gst_pipeline_get_clock):
9805 get_clock -> provide_clock.
9807 2005-09-28 Andy Wingo <wingo@pobox.com>
9809 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
9810 lieu of real docs...
9812 * gst/elements/gstfdsrc.c: Cleaned up a bit.
9814 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
9816 * gst/elements/gstcapsfilter.c:
9817 * gst/elements/gstfakesink.c:
9818 * gst/elements/gstfakesrc.c:
9819 * gst/elements/gstfdsink.c:
9820 * gst/elements/gstfdsrc.c:
9821 * gst/elements/gstfilesink.c:
9822 * gst/elements/gstfilesrc.c:
9823 * gst/elements/gstidentity.c:
9824 * gst/elements/gsttee.c:
9825 * gst/elements/gsttypefindelement.c:
9826 Make element details static.
9828 2005-09-28 Wim Taymans <wim@fluendo.com>
9830 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9831 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9832 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9833 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9834 (gst_bin_change_state), (gst_bin_dispose):
9835 Some documentation updates.
9836 Clean up dispose handlers.
9838 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
9839 * gst/gstpad.c: (gst_pad_dispose):
9840 Clean up dispose handler.
9842 * gst/gstpipeline.c: (gst_pipeline_change_state):
9843 Removed spurious UNLOCK.
9845 2005-09-27 Stefan Kost <ensonic@users.sf.net>
9847 * docs/gst/gstreamer-sections.txt:
9848 * gst/base/gstbasesrc.h:
9853 * gst/gstpipeline.c:
9854 * gst/gstpipeline.h:
9857 added two new functions to the docs
9858 documents all undocumented GstXXXFlags
9859 completed some incomplete docs
9861 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
9863 * gst/gstbin.c: (gst_bin_dispose):
9864 * gst/gstelement.c: (gst_element_dispose):
9865 remove now useless and leaky resurrection code in dispose
9866 * gst/base/gstbasesrc.c: (gst_base_src_init):
9867 * gst/gstelementfactory.c: (gst_element_factory_create):
9868 * gst/gstobject.c: (gst_object_set_parent):
9871 2005-09-27 Wim Taymans <wim@fluendo.com>
9873 * docs/design/part-TODO.txt:
9876 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9877 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9878 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9879 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9880 (gst_bin_change_state):
9882 Remove element variable, we keep element info in the iterator now.
9884 2005-09-27 Andy Wingo <wingo@pobox.com>
9886 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
9889 2005-09-27 Wim Taymans <wim@fluendo.com>
9891 * check/gst/gstbin.c: (GST_START_TEST):
9892 Enable check that works now.
9894 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
9895 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
9896 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9897 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9898 (gst_bin_change_state):
9900 Redid the state change algorithm using a topological sort algo.
9901 Handles all cases correctly.
9902 Exposed iterator for state change order.
9905 Temp storage for state changes. Need to get rid of this soon.
9907 2005-09-27 Wim Taymans <wim@fluendo.com>
9909 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
9910 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
9911 (link_fold_func), (gst_pad_proxy_setcaps):
9912 Leak fixes, the fold functions need to unref the passed object and
9913 _get_parent_*() returns ref to parent.
9915 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9917 * check/gst/gstbuffer.c: (test_make_writable):
9918 Plug leak in test case and fix 'make check-valgrind'
9920 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9922 * gst/gstbuffer.c: (gst_subbuffer_init):
9923 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
9924 works correctly in all circumstances (we could have just copied
9925 the parent buffer's readonly flag, but conceptually it seems
9926 cleaner to mark all subbuffers as read-only). (based on patch
9927 by Alessandro Decina, #314710).
9929 * check/gst/gstbuffer.c: (create_read_only_buffer),
9930 (test_make_writable), (test_subbuffer_make_writable),
9932 Add some tests for gst_buffer_make_writable().
9934 2005-09-27 Wim Taymans <wim@fluendo.com>
9936 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
9937 use gst_object_has_ancestor().
9939 * gst/gstobject.c: (gst_object_has_ancestor):
9941 gst_object_has_ancestor() copied from gstbin.c as it is a
9944 * tests/instantiate/create.c: (create_all_elements):
9945 * tests/lat.c: (handoff_src), (handoff_sink):
9946 * tests/sched/runxml.c: (main):
9947 * tests/seeking/seeking1.c: (main):
9948 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9950 Fix compilation of some tests.
9952 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
9955 Remove comment. GST_TYPE_G_ERROR is here to stay,
9956 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
9959 2005-09-26 Wim Taymans <wim@fluendo.com>
9961 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9962 Added check that shows error in state change order.
9964 2005-09-26 Wim Taymans <wim@fluendo.com>
9966 * gst/gstbin.c: (gst_bin_change_state):
9967 Make state change function use 3 queues again, we were
9968 adding elements in the wrong order.
9970 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9973 * gst/gstpad.c: (gst_pad_dispose):
9974 Added some debug info first.
9976 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
9978 * docs/design/draft-push-pull.txt:
9979 * docs/design/part-events.txt:
9980 * docs/design/part-overview.txt:
9981 * docs/design/part-scheduling.txt:
9982 Replace all _pull_region() with _pull_range()
9984 2005-09-26 Andy Wingo <wingo@pobox.com>
9986 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
9988 * check/gst-libs/controller.c: Update for controller api change.
9991 * tests/Makefile.am:
9992 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
9993 over by GLib bug 118439.
9995 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
9996 routines to a function.
9998 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
10000 * libs/gst/controller/gsthelper.c:
10001 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10002 (gst_object_sync_values): Renamed from sink_values. Ugh.
10004 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10006 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10007 Renamed from controller_key, as it is exported.
10009 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10011 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
10016 * gst/gstpadtemplate.h:
10019 * gst/gstqueryutils.c:
10020 * gst/gstqueryutils.h:
10021 remove queryutils headers after moving the two used functions
10022 to gstquery. also fixes build problem for gstsiddec
10024 2005-09-26 Michael Smith <msmith@fluendo.com>
10026 * tools/gst-launch.1.in:
10027 Correct documentation in manpage of debug syntax
10029 2005-09-26 Wim Taymans <wim@fluendo.com>
10031 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10032 (gst_base_src_is_seekable), (gst_base_src_change_state):
10033 Some more debugging info.
10035 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10037 * docs/gst/gstreamer-sections.txt:
10038 * gst/base/gstbasetransform.h:
10042 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10044 * docs/gst/.cvsignore:
10045 * docs/gst/tmpl/.cvsignore:
10046 * docs/gst/tmpl/gstpipeline.sgml:
10047 * docs/gst/tmpl/gstplugin.sgml:
10048 * gst/gstpipeline.c:
10051 inlined the last two docs files
10052 removed the tmpl directory from cvs (no more conflicts here!)
10054 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10056 * docs/gst/gstreamer-sections.txt:
10057 * docs/gst/tmpl/.cvsignore:
10058 * docs/gst/tmpl/gstpad.sgml:
10059 * docs/gst/tmpl/gstpadtemplate.sgml:
10061 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10062 (gst_pad_finalize), (gst_pad_set_pad_template):
10064 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10065 (gst_pad_template_class_init), (gst_pad_template_init),
10066 (gst_pad_template_dispose), (name_is_valid),
10067 (gst_static_pad_template_get), (gst_pad_template_new),
10068 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10069 (gst_pad_template_pad_created):
10070 * gst/gstpadtemplate.h:
10071 inlined two more docs
10072 factored gstpadtemplate out of gstpad
10074 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
10076 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10077 (test_children_state_change_order_semi_sink):
10078 Fix test case: we can't rely on a fixed state change order when
10079 going from READY => PAUSED because the sink might commit its
10080 new state first when the first buffer created by the source
10081 reaches the sink before the source has finished its change state.
10082 (Test case still fails at times, see #316856, comment 5 onwards)
10084 2005-09-24 Wim Taymans <wim@fluendo.com>
10086 * docs/design/part-events.txt:
10087 * docs/design/part-gstbus.txt:
10088 * docs/design/part-gstpipeline.txt:
10089 * docs/design/part-messages.txt:
10090 * docs/design/part-overview.txt:
10091 * docs/design/part-segments.txt:
10095 * gst/gstelement.c:
10098 * gst/gstiterator.c:
10099 Various documentation updates.
10101 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
10104 Well, that's embarassing. Luckily we weren't using
10105 GST_CLOCK_DIFF anywhere.
10107 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10109 * common/gtk-doc.mak:
10110 don't fail on building XML, FC4 slave shows a bunch of doc
10111 missing bits that I don't get
10113 * gst/gstpipeline.c:
10114 * gst/gststructure.c:
10117 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10119 * docs/design/part-gstbin.txt:
10120 * docs/design/part-gstbus.txt:
10122 Add blurb about how the bus goes into flushing mode and
10123 drops all messages when its bin goes from READY into NULL
10126 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10128 * docs/gst/gstreamer-sections.txt:
10129 * gst/gststructure.c: (gst_structure_get_clock_time):
10130 * gst/gststructure.h:
10131 add a method to get a GstClockTime out of a structure
10133 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10135 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10136 (test_children_state_change_order_semi_sink), (gst_bin_suite):
10137 Added test to check state change order in bins (can still be made
10138 to fail here under heavy disk load; bails out with 'Push on pad
10139 fakesink:sink0, but it was not activated in push mode').
10141 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10142 Fix state change order when there is only a semi sink (#316856)
10144 * gst/gstbus.c: (gst_bus_class_init):
10145 Use _class_peek_parent(), not _class_ref(); fix docs to say
10146 'default main context' instead of 'mainloop' where that is
10149 * gst/gstelement.c: (gst_element_commit_state),
10150 (gst_element_set_state):
10151 Fix typos in debug messages
10153 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10156 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10157 * gst/gstpluginfeature.c:
10159 various doc updates
10160 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10161 change an assert into an error until it gets fixed properly
10163 2005-09-23 Stefan Kost <ensonic@users.sf.net>
10165 * docs/gst/gstreamer-sections.txt:
10166 * docs/gst/tmpl/.cvsignore:
10167 * docs/gst/tmpl/gstelement.sgml:
10168 * docs/gst/tmpl/gstinfo.sgml:
10169 * docs/gst/tmpl/gstobject.sgml:
10170 * gst/gstelement.c:
10171 * gst/gstelement.h:
10174 * gst/gstobject.c: (gst_object_class_init):
10176 inlined 3 more biiiig doc files and added some missing docs on the fly
10178 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10180 * check/gst/.cvsignore:
10181 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10182 * gst/gstregistryxml.c: (load_plugin),
10183 (gst_registry_xml_save_plugin):
10184 put back source in registry. add checks for find_plugin.
10185 * testsuite/states/bin.c: (assert_state), (empty_bin),
10186 (test_adding_one_element), (main):
10187 * testsuite/states/locked.c: (main):
10188 some compile/run fixes
10190 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
10192 * check/gst/gstvalue.c: (GST_START_TEST):
10193 fix leaks in the test itself
10195 2005-09-22 Wim Taymans <wim@fluendo.com>
10197 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10198 (gst_base_sink_send_event), (gst_base_sink_peer_query),
10199 (gst_base_sink_query):
10200 Prepare for more accurate position reporting and query
10203 * gst/gstelement.c: (gst_element_send_event),
10204 (gst_element_set_state):
10207 2005-09-22 Wim Taymans <wim@fluendo.com>
10209 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10210 (gst_query_parse_segment):
10212 More documentation.
10213 Add segment query for future use.
10215 2005-09-22 Wim Taymans <wim@fluendo.com>
10217 * gst/gstbin.c: (gst_bin_add_func):
10218 Some more debug info.
10220 * gst/gstelement.c: (gst_element_send_event):
10221 Simplify send_event
10223 * gst/gstelement.h:
10224 Don't know how flags got broken.
10229 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10231 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10232 Add simplistic test suite for GST_TYPE_DATE serialisation and
10235 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10237 * docs/gst/gstreamer-sections.txt:
10238 * gst/gststructure.c: (gst_structure_set_valist),
10239 (gst_structure_get_date):
10240 * gst/gststructure.h:
10241 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10242 (gst_date_copy), (gst_value_compare_date),
10243 (gst_value_serialize_date), (gst_value_deserialize_date),
10244 (gst_value_transform_date_string),
10245 (gst_value_transform_string_date), (_gst_value_initialize):
10247 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10248 bunch of utility functions along with a hack that checks that
10249 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10250 is required. Part of the grand scheme in #170777.
10252 2005-09-22 Andy Wingo <wingo@pobox.com>
10254 * gst/gstconfig.h.in: Psych out gtk-doc.
10256 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10258 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10260 * tools/gst-inspect.c (print_element_list): Plug some
10261 inconsequential leaks.
10263 * gst/gstregistry.c (gst_registry_get_default): Doc.
10265 * check/gst/gstplugin.c:
10266 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10267 * gst/gstelementfactory.c (gst_element_factory_create):
10268 * gst/gstindexfactory.c (gst_index_factory_create): Update for
10271 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10272 (gst_plugin_feature_load): Doc, don't eat refs.
10274 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10275 (gst_plugin_list_free): Doc.
10276 (gst_plugin_load_file): Doc updates.
10278 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10279 accessors returning refcounted objects, return a ref.
10281 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10282 accessor for caps. IDEMPOTENCE. Oh yes.
10284 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
10286 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10288 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10289 (_gst_debug_register_funcptr):
10290 Add mutex to serialise access to the hash table with
10291 the function pointer => function name string mapping;
10292 make that hash table static scope (#316809).
10294 * gst/registries/.cvsignore:
10295 Remove left-over file.
10297 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10299 * docs/pwg/appendix-porting.xml:
10300 And something about newsegment events and caps-on-buffers to
10301 the porting guide (feel free to improve).
10303 2005-09-21 Andy Wingo <wingo@pobox.com>
10305 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10306 data and event probes on the same pad.
10307 (test_buffer_probe_once): Test that removing probes from within
10308 the probe functions works.
10310 2005-09-21 Andy Wingo <wingo@pobox.com>
10312 * check/gst/gstutils.c: New file.
10313 (test_buffer_probe_n_times): A simple buffer probe test. More to
10316 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10317 have-data::buffer, not have-data.
10318 (gst_pad_add_event_probe): Likewise for have-data::event.
10319 (gst_pad_add_data_probe): More docs. The part about 'resolving the
10320 peer' isn't quite right yet though.
10321 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
10322 (gst_pad_remove_data_probe): Change to take the guint handler_id
10323 as their arg, not the function+data, which is more glib-like.
10325 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10326 the signal emission to indicate if the data is a buffer or an
10328 (gst_pad_get_type): Initialize buffer and event quarks.
10329 (gst_pad_class_init): have-data is now a detailed signal, yes it
10332 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10334 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10335 * gst/gstutils.c: (gst_util_set_value_from_string),
10336 (gst_util_set_object_arg):
10337 Don't put functional code in g_return_if_fail() or
10338 g_return_val_if_fail() statements, otherwise things will
10339 break when G_DISABLE_CHECKS is defined during compilation.
10341 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10343 * docs/gst/tmpl/.cvsignore:
10344 * docs/gst/tmpl/gstvalue.sgml:
10347 inlied another one and added some obvious docs
10349 2005-09-21 Wim Taymans <wim@fluendo.com>
10351 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10352 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10353 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10354 (gst_fdsrc_get_property), (gst_fdsrc_create):
10355 * gst/elements/gstfdsrc.h:
10356 Properly implement fdsrc. Removed signal and timeout,
10357 better implemented somewhere else.
10359 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10361 * docs/gst/tmpl/.cvsignore:
10362 * docs/gst/tmpl/gstimplementsinterface.sgml:
10363 * gst/gstinterface.c:
10366 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10368 * docs/gst/gstreamer-sections.txt:
10369 * docs/gst/tmpl/.cvsignore:
10370 * docs/gst/tmpl/gstenumtypes.sgml:
10371 remove obsolete doc file
10373 2005-09-21 David Schleef <ds@schleef.org>
10375 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10376 little beer, fix a little leak.
10378 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10380 * docs/gst/gstreamer-docs.sgml:
10381 * docs/gst/gstreamer-sections.txt:
10382 * docs/gst/tmpl/.cvsignore:
10386 * gst/gstelement.h:
10387 * gst/gstindex.c: (gst_index_class_init):
10389 * gst/gstindexfactory.c: (gst_index_factory_get_type),
10390 (gst_index_factory_class_init), (gst_index_factory_init),
10391 (gst_index_factory_finalize), (gst_index_factory_new),
10392 (gst_index_factory_destroy), (gst_index_factory_find),
10393 (gst_index_factory_create), (gst_index_factory_make):
10394 * gst/gstindexfactory.h:
10395 * gst/gstpluginfeature.c:
10396 * gst/gstpluginfeature.h:
10397 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10398 more docs inlined, splitted gstindex.{c,h}
10400 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10402 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10405 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10407 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10408 Set sync to FALSE by default.
10410 2005-09-20 Wim Taymans <wim@fluendo.com>
10412 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10413 (gst_base_sink_init):
10414 Make sync property settable from subclass.
10416 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10417 (gst_fake_sink_change_state):
10418 Set sync to FALSE by default.
10420 2005-09-20 Wim Taymans <wim@fluendo.com>
10422 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10423 * tools/gst-launch.c: (main):
10424 The timeout handler should have lower priority than the source
10425 so we don't timeout before popping a message with 0 timeout.
10426 Dump error messages after failed state change.
10428 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10430 * tools/gst-inspect.c: (print_element_properties_info):
10433 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10435 * check/gst/gstevent.c:
10436 * gst/elements/gstfakesink.c:
10437 * gst/elements/gstfakesink.h:
10438 remove the sync property from fakesink.
10439 has the side effect of setting sync TRUE
10440 for fakesink, which is a change. Anyone who knows how
10441 to fix this nicely in a GObject-y way, feel free.
10443 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10445 * docs/gst/gstreamer-docs.sgml:
10446 remove probe refsection
10448 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10450 * check/Makefile.am:
10451 disable valgrinding the controller test again
10452 * docs/gst/gstreamer-sections.txt:
10453 update for api-changes
10455 2005-09-20 Wim Taymans <wim@fluendo.com>
10457 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10458 (gst_base_sink_set_property), (gst_base_sink_get_property),
10459 (gst_base_sink_do_sync):
10460 * gst/base/gstbasesink.h:
10461 Added sync property to basesink to disable clock sync.
10463 2005-09-20 Andy Wingo <wingo@pobox.com>
10465 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
10466 eating the caller's refcount.
10468 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
10469 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
10472 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
10473 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
10474 of GLib 2.8 public, so we can know which refcount to check in
10477 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
10478 (gst_object_init): Only set the gst refcount if we're going ahead
10479 with the refcount hack.
10481 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10483 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10484 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10485 more leaks plumbed, added more debug-logging
10489 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10491 * gst/gstmessage.c:
10492 remove include of gstmemchunk.h
10494 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10496 * gst/gstclock.c: (_gst_clock_id_free):
10497 Commit from the Political Party For More Atomic CVS Commits,
10498 so that people don't waste too much of their day fishing
10499 out obvious leaks out of massive commits.
10500 Oh, and fix a pretty damn obvious leak in the memchunk
10503 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10505 * check/Makefile.am:
10506 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10507 plug mem-leak, re-add to valgrindable tests
10509 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10512 unbreak the build for those who have chronic arthritis
10513 and typing "make check" is just too taxing on the hands
10515 2005-09-20 Andy Wingo <wingo@pobox.com>
10517 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
10518 really want it out, you should fix plugins at the same time.
10520 2005-09-19 Stefan Kost <ensonic@users.sf.net>
10523 * docs/gst/gstreamer-sections.txt:
10525 added missing symbols to api docs
10526 disable ref-count hack if we have glib >= 2.8
10528 2005-09-19 David Schleef <ds@schleef.org>
10530 * docs/gst/Makefile.am: Ignore a few more internal headers
10531 * docs/gst/gstreamer-docs.sgml: Remove old sections
10532 * docs/gst/gstreamer-sections.txt: Remove old sections
10533 * docs/gst/tmpl/gstobject.sgml: update
10534 * docs/gst/tmpl/gstplugin.sgml: update
10535 * docs/gst/tmpl/gstpluginfeature.sgml: update
10536 * docs/random/ds/0.9-suggested-changes: update.
10537 * gst/Makefile.am: remove memchunk and trashstack, since they're
10539 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
10540 * gst/gst.h: don't include some headers
10541 * gst/gstchildproxy.c: add gstmarshal.h
10542 * gst/gstclock.c: Don't use memchunks
10543 * gst/gstminiobject.c: Add some docs
10544 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
10545 * gst/gstobject.h: same
10546 * gst/gstplugin.c: include gstmacros.h
10547 * gst/gstplugin.h: don't include gstmacros.h, since it's private
10548 * gst/gstquery.c: don't use memchunks
10549 * gst/gstregistry.c: rename gst_registry_deinit()
10550 * gst/gstregistry.h: same
10552 2005-09-19 David Schleef <ds@schleef.org>
10554 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
10555 * docs/libs/gstreamer-libs-sections.txt:
10556 * docs/libs/tmpl/gstgetbits.sgml:
10557 * docs/libs/tmpl/gstputbits.sgml:
10559 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
10561 * win32/gstenumtypes.c:
10562 * win32/gstenumtypes.h:
10565 2005-09-19 Wim Taymans <wim@fluendo.com>
10567 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
10568 Automatically PAUSE and RESUME a pipeline when a flushing seek
10571 2005-09-19 Andy Wingo <wingo@pobox.com>
10573 * gst/gstregistry.h: Spacing fixen.
10575 2005-09-19 Wim Taymans <wim@fluendo.com>
10577 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
10578 Handle state change failure more correctly.
10580 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10582 * check/Makefile.am:
10583 * check/pipelines/cleanup.c: (run_pipeline):
10584 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10586 enable cleanup again after fixing the leak
10588 some more info on docs
10590 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10592 * check/Makefile.am:
10593 re-enable tests now that leaks are plugged
10595 * check/gst/gstbin.c:
10596 * check/gst/gstpipeline.c:
10597 add some more tests while fixing leaks
10598 * common/check.mak:
10599 make sure binaries are uptodate when valgrinding/gdbing
10601 * gst/gstelementfactory.c:
10602 remove a ref too many, and add a FIXME for when we get
10603 round to disposing of classes
10605 fix the refcounting when loading a plugin from a file and
10606 the code pretends that the pointer is the same even though
10607 of course it can change
10608 * gst/gstpluginfeature.c:
10609 unref plugins marked cached (a bit confusing as a name)
10610 as the docs state should be done
10611 various doc additions to explain refcounting
10612 * gst/gstregistry.c:
10613 * gst/gstregistryxml.c:
10616 2005-09-19 Wim Taymans <wim@fluendo.com>
10618 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10619 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10620 (send_messages), (GST_START_TEST), (gstbus_suite):
10621 * check/gst/gstpipeline.c: (GST_START_TEST):
10622 * check/pipelines/cleanup.c: (run_pipeline):
10623 * check/pipelines/simple_launch_lines.c: (run_pipeline),
10625 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
10626 (gst_bus_source_check), (gst_bus_source_dispatch),
10627 (gst_bus_create_watch), (gst_bus_add_watch_full),
10628 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
10630 * tools/gst-launch.c: (event_loop):
10631 * tools/gst-md5sum.c: (event_loop):
10632 GstBusHandler -> GstBusFunc, return value has the same meaning as
10633 any other GSource (FALSE == remove source).
10634 _add_watch() and _add_watch_full() now take a MessageType mask to
10635 only handle specific types of messages.
10636 _poll() returns the GstMessage instead of the message type to avoid
10638 _have_pending() takes a MessageType mask now too.
10639 Added testsuite for multiple bus watches.
10640 Fix testsuites and applications for new bus API.
10642 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
10644 * check/Makefile.am:
10645 mark a bunch of the tests as to fix until we fix them
10647 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10649 * common/check.mak:
10650 use GST_PLUGIN settings for valgrind tests as well, so we're
10651 valgrinding the correct thing
10652 * gst/gst.c: (init_post):
10655 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10657 * gst/gst.c: (init_post), (gst_deinit):
10658 * gst/gstelementfactory.c: (gst_element_factory_class_init),
10659 (gst_element_factory_finalize), (gst_element_factory_cleanup):
10660 * gst/gstindex.c: (gst_index_factory_class_init),
10661 (gst_index_factory_finalize):
10662 * gst/gstobject.c: (gst_object_dispose):
10663 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10664 (gst_plugin_load_file), (gst_plugin_desc_free):
10665 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
10666 (gst_plugin_feature_finalize):
10667 * gst/gstregistry.c: (gst_registry_class_init),
10668 (gst_registry_init), (gst_registry_finalize),
10669 (gst_registry_get_default), (gst_registry_deinit):
10670 * gst/gstregistry.h:
10671 * gst/gstregistryxml.c: (load_feature), (load_plugin):
10672 various cleanups and memleak plugging. make valgrind is happy now.
10674 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
10676 * common/check.mak:
10677 add a check-valgrind target
10679 2005-09-18 David Schleef <ds@schleef.org>
10681 * tools/gst-inspect.c: Revert the GOption code.
10683 2005-09-17 David Schleef <ds@schleef.org>
10685 * check/Makefile.am: Fix environment variables.
10686 * check/gst/gstplugin.c: Fix for API changes.
10687 * tools/gst-inspect.c: Fix for API changes.
10688 * tools/gst-xmlinspect.c: Fix for API changes.
10689 * gst/gstelementfactory.c:
10692 * gst/gstpluginfeature.c:
10693 * gst/gstpluginfeature.h:
10694 * gst/gstregistry.c:
10695 * gst/gstregistry.h:
10696 * gst/gstregistryxml.c:
10697 * gst/gsttypefind.c:
10698 * gst/gsttypefindfactory.c:
10699 * gst/indexers/gstfileindex.c:
10700 * gst/indexers/gstmemindex.c:
10701 * gst/schedulers/Makefile.am:
10702 Change registry to keep track of both plugins and features,
10703 removing the feature tracking from plugins themselves.
10705 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10707 * check/Makefile.am:
10708 * tools/gst-register.1.in:
10709 remove gst-register
10711 2005-09-15 David Schleef <ds@schleef.org>
10713 * check/gst/gstplugin.c:
10714 * gst/gstelementfactory.c:
10716 * gst/gstpluginfeature.c:
10717 * gst/gstregistry.c:
10718 Getting tired of debugging. Disabled all the unreffing of
10719 plugins and features, which fixes the segfaults, but of
10720 course leaks like crazy. At least playbin works.
10722 2005-09-15 David Schleef <ds@schleef.org>
10724 * check/gst/gstplugin.c: (register_check_elements),
10725 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
10727 * gst/elements/gsttypefindelement.c: Fix refcounting.
10728 * gst/gsttypefind.c:
10729 * gst/gsttypefindfactory.c:
10730 * gst/gsttypefindfactory.h:
10732 2005-09-15 David Schleef <ds@schleef.org>
10734 * gst/gstindex.c: get refcounting correct.
10735 * gst/gstregistry.c: Handle the case where a feature/plugin is
10738 2005-09-15 David Schleef <ds@schleef.org>
10740 * check/Makefile.am:
10741 * check/gst/gstplugin.c: Add test
10742 * gst/gstplugin.c: Fix problems noticed by testsuite
10744 * gst/gstregistry.c:
10745 * gst/gstregistry.h:
10747 2005-09-15 David Schleef <ds@schleef.org>
10749 * gst/gstplugin.c: Implement semi-decent recounting and locking
10750 in plugins and plugin features.
10752 * gst/gstpluginfeature.c:
10753 * gst/gstpluginfeature.h:
10754 * gst/gstregistry.c:
10756 2005-09-15 Michael Smith <msmith@fluendo.com>
10758 * gst/gstregistry.c: (gst_registry_get_feature_list):
10759 Implement this. Makes oggdemux work; decodebin still broken.
10761 2005-09-14 David Schleef <ds@schleef.org>
10763 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
10765 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
10766 * gst/check/Makefile.am:
10767 * libs/gst/controller/Makefile.am:
10768 * libs/gst/dataprotocol/Makefile.am:
10770 2005-09-14 David Schleef <ds@schleef.org>
10772 * configure.ac: Remove getbits library. Nothing uses it, and
10773 it should be in something like liboil if someone did want
10775 * libs/gst/Makefile.am:
10776 * libs/gst/getbits/Makefile.am:
10777 * libs/gst/getbits/gbtest.c:
10778 * libs/gst/getbits/getbits.c:
10779 * libs/gst/getbits/getbits.h:
10780 * libs/gst/getbits/gstgetbits_generic.c:
10781 * libs/gst/getbits/gstgetbits_i386.s:
10782 * libs/gst/getbits/gstgetbits_inl.h:
10784 2005-09-14 David Schleef <ds@schleef.org>
10786 * gst/Makefile.am: Dist glib-compat.h
10788 2005-09-14 David Schleef <ds@schleef.org>
10790 * configure.ac: Remove gst/registries, since it's no longer used.
10791 * gst/registries/Makefile.am:
10792 * gst/registries/gstlibxmlregistry.c:
10793 * gst/registries/gstlibxmlregistry.h:
10794 * gst/registries/gstxmlregistry.c:
10795 * gst/registries/gstxmlregistry.h:
10796 * gst/registries/registrytest.c:
10798 2005-09-14 David Schleef <ds@schleef.org>
10800 * gst/glib-compat.h:
10801 * gst/gstregistryxml.c:
10802 Convergence is near. Seriously.
10804 2005-09-14 David Schleef <ds@schleef.org>
10806 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10807 * gst/glib-compat.h:
10808 Attempt #4 to appease the buildbots.
10810 2005-09-14 David Schleef <ds@schleef.org>
10812 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10815 2005-09-14 David Schleef <ds@schleef.org>
10817 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10820 2005-09-14 David Schleef <ds@schleef.org>
10822 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
10825 2005-09-14 David Schleef <ds@schleef.org>
10827 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
10828 * gst/glib-compat.h: Add some functions that are in newer versions
10829 of glib than we care to require.
10830 * gst/gstregistryxml.c: Use them.
10832 2005-09-14 David Schleef <ds@schleef.org>
10834 * po/POTFILES.in: remove gst-register.c
10836 2005-09-14 David Schleef <ds@schleef.org>
10838 * docs/gst/gstreamer-docs.sgml:
10839 * docs/gst/gstreamer-sections.txt:
10840 * docs/gst/gstreamer.types:
10841 * docs/gst/tmpl/gstelement.sgml:
10842 * docs/gst/tmpl/gstplugin.sgml:
10843 * docs/gst/tmpl/gstpluginfeature.sgml:
10844 Documentation updates for registry changes.
10846 2005-09-14 David Schleef <ds@schleef.org>
10848 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
10849 because we don't require glib-2.8.
10851 2005-09-14 David Schleef <ds@schleef.org>
10853 * gst/gstregistryxml.c: Added. Essentially moved out of the
10854 registries directory.
10856 2005-09-14 David Schleef <ds@schleef.org>
10858 * check/Makefile.am:
10859 * check/generic/states.c:
10863 * gst/gst_private.h:
10864 * gst/gstelementfactory.c:
10869 * gst/gstpluginfeature.c:
10870 * gst/gstpluginfeature.h:
10871 * gst/gstregistry.c:
10872 * gst/gstregistry.h:
10873 * gst/gstregistrypool.c: remove
10874 * gst/gstregistrypool.h: remove
10875 * gst/gsttypefind.c:
10876 * gst/gsttypefindfactory.c:
10878 * tools/Makefile.am:
10879 * tools/gst-compprep.c:
10880 * tools/gst-inspect.c:
10881 * tools/gst-register.c: remove
10882 * tools/gst-xmlinspect.c:
10883 Registry rewrite. Changes registry from being a file created
10884 by a tool into a simple cache file created automatically by
10885 libgstreamer. Removed gst-register (because it's no longer
10886 needed). Remove registry pools, because we only have one
10887 registry implementation (XML). Fix up other subsystems as
10890 2005-09-13 Michael Smith <msmith@fluendo.com>
10892 * gst/gstconfig.h.in:
10893 Don't Use windows linking attributes for MinGW. Fixes #316157
10895 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
10897 * gst/gstutils.c: (set_state_async_thread_func),
10898 (gst_element_set_state_async):
10899 Apparently people think it's better if this function doesn't
10900 try to set the state to whatever state was asked for on the first
10901 call to this function for any object. Seriously.
10903 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10905 * check/gst/gstpipeline.c: (GST_START_TEST):
10906 * docs/gst/gstreamer-sections.txt:
10907 * gst/gstutils.c: (set_state_async_thread_func),
10908 (gst_element_set_state_async):
10910 add a "gst_element_set_state_async" method that
10911 sets the state and starts a thread to make sure the state
10912 change completes as best as it can
10914 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10916 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10917 codify design+behaviour in testsuite after discussion
10919 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
10921 * docs/gst/tmpl/gstelement.sgml:
10922 * docs/manual/appendix-quotes.xml:
10924 * gst/gstelement.c: (gst_element_set_state):
10927 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
10929 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10930 (gst_base_transform_prepare_output_buf),
10931 (gst_base_transform_handle_buffer):
10932 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
10933 (gst_capsfilter_prepare_buf):
10934 Remove the requirement for sub-classes to call the parent
10935 implementation of prepare_output_buffer with a wrapper function.
10937 * gst/gsttaglist.h:
10938 * gst/gsttagsetter.h:
10939 Fix #define wrapper
10941 2005-09-11 Stefan Kost <ensonic@users.sf.net>
10943 * docs/gst/gstreamer-sections.txt:
10946 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10948 * docs/gst/gstreamer-sections.txt:
10949 * docs/gst/tmpl/gstelement.sgml:
10950 * docs/gst/tmpl/gstplugin.sgml:
10951 * gst/gstminiobject.c:
10953 docs now stop throwing warnings
10955 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10957 * docs/gst/gstreamer-sections.txt:
10958 * docs/gst/gstreamer.types:
10959 * docs/gst/tmpl/gstpad.sgml:
10960 * docs/gst/tmpl/gsttypes.sgml:
10961 * gst/base/gstadapter.h:
10962 * gst/base/gstbasesink.h:
10963 * gst/base/gstbasesrc.h:
10969 * gst/gstelement.h:
10971 * gst/gstmessage.h:
10973 * gst/gststructure.c:
10974 * gst/registries/gstlibxmlregistry.h:
10975 various documentation fixes
10977 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
10979 * docs/gst/gstreamer-sections.txt:
10980 * docs/gst/tmpl/gstvalue.sgml:
10981 rearrange gstvalue section
10982 * gst/gstutils.c: (gst_element_state_get_name):
10984 * gst/gstvalue.c: (_gst_value_initialize):
10988 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
10990 * check/gst-libs/controller.c:
10991 Header include fix.
10992 * gst/base/gstbasetransform.c:
10993 (gst_base_transform_default_prepare_buf),
10994 (gst_base_transform_handle_buffer):
10995 * gst/base/gstbasetransform.h:
10996 Some more basetransform changes and fixes to enable sub-classes
10997 that modify buffer metadata only.
10998 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10999 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11000 (gst_capsfilter_prepare_buf):
11001 If the output pad has fixed allowed caps and input buffers
11002 don't have any, set the fixed caps on outgoing buffers.
11004 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
11005 * check/elements/identity.c: (GST_START_TEST):
11006 Make the error a little clearer when the test fails because
11007 identity made a copy of the buffer.
11008 * docs/gst/gstreamer-sections.txt:
11009 New symbols in gstbasetransform.h
11010 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11011 (gst_base_transform_init), (gst_base_transform_transform_size),
11012 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11013 (gst_base_transform_default_prepare_buf),
11014 (gst_base_transform_get_unit_size),
11015 (gst_base_transform_buffer_alloc),
11016 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11017 (gst_base_transform_change_state),
11018 (gst_base_transform_set_passthrough),
11019 (gst_base_transform_set_in_place),
11020 (gst_base_transform_is_in_place):
11021 * gst/base/gstbasetransform.h:
11022 Change BaseTransform to separate in_place operate from same_caps
11023 output. in_place implies that the element can perform the transform
11024 on incoming buffers in-place, even if the caps on the output are
11026 Sub-class elements can now implement special buffer allocation
11027 methods for outgoing buffers if they wish to.
11028 Big documentation addition.
11029 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11030 * gst/elements/gstelements.c:
11031 Changes for basetransform modifications.
11032 * gst/elements/Makefile.am:
11033 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11034 Compile fix. Extra debug output.
11036 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11038 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11040 add tests for valid pad naming
11041 * gst/check/gstcheck.c: (gst_check_log_message_func),
11042 (gst_check_log_critical_func):
11044 remove printing of code, it is fragile when the code contains
11045 % and the line number is enough info
11046 * gst/check/gstcheck.h:
11047 * gst/gstpad.c: (gst_pad_template_new):
11050 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11053 say what CHECK flags we use
11054 * docs/libs/gstreamer-libs.types:
11055 * libs/gst/controller/Makefile.am:
11056 * libs/gst/controller/gst-controller.c:
11057 * libs/gst/controller/gst-controller.h:
11058 * libs/gst/controller/gst-helper.c:
11059 * libs/gst/controller/gst-interpolation.c:
11060 * libs/gst/controller/gstcontroller.c:
11061 * libs/gst/controller/gsthelper.c:
11062 * libs/gst/controller/gstinterpolation.c:
11063 * tools/gst-inspect.c: (print_plugin_info):
11064 we don't use dashes in header names
11066 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11068 * check/Makefile.am:
11069 * check/gst/.cvsignore:
11070 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11071 (gst_pipeline_suite), (main):
11072 adding a test for pipelines and state changes
11073 * gst/gstutils.c: (get_state_func):
11075 * gstreamer.spec.in:
11078 2005-09-08 Michael Smith <msmith@fluendo.com>
11080 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11081 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11082 (gst_file_src_is_seekable), (gst_file_src_get_size),
11083 (gst_file_src_start):
11084 * gst/elements/gstfilesrc.h:
11085 Various fixes for unseekable, unmmapable, and non-normal files, so
11086 that fallback to read() rather than mmap() works.
11087 * gst/gstevent.c: (gst_event_new_newsegment):
11088 Allow newsegment events with segment_start == segment_end, as will
11089 correctly happen if you use filesrc on a zero-size file, for
11092 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11094 * gst/gstplugin.c: (gst_plugin_load_file):
11095 Call g_module_close when we don't load the module
11097 * gst/registries/gstlibxmlregistry.c:
11098 (gst_xml_registry_get_property):
11099 Port leak fix from 0.8
11101 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11103 * docs/gst/gstreamer-docs.sgml:
11104 * docs/gst/tmpl/.cvsignore:
11105 * docs/gst/tmpl/gsttrace.sgml:
11106 * docs/gst/tmpl/gsttrashstack.sgml:
11109 * gst/gstelement.h:
11111 * gst/gstmessage.c:
11112 * gst/gstmessage.h:
11115 * gst/gsttaginterface.c:
11116 * gst/gsttaginterface.h:
11117 * gst/gsttaglist.c:
11118 * gst/gsttaglist.h:
11119 * gst/gsttagsetter.c:
11120 * gst/gsttagsetter.h:
11123 * gst/gsttrashstack.c:
11124 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11125 inlined docs for gsttrace, gsttrashstack
11127 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11130 * gst/elements/gstbufferstore.h:
11131 * gst/elements/gsttypefindelement.c:
11132 * gst/elements/gsttypefindelement.h:
11134 * gst/gsttypefind.c:
11135 * gst/gsttypefind.h:
11136 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11137 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11138 (gst_type_find_factory_dispose),
11139 (gst_type_find_factory_unload_thyself),
11140 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11141 (gst_type_find_factory_get_caps),
11142 (gst_type_find_factory_get_extensions),
11143 (gst_type_find_factory_call_function):
11144 * gst/gsttypefindfactory.h:
11145 * gst/registries/gstlibxmlregistry.c:
11146 * gst/registries/gstxmlregistry.c:
11147 splitted gsttypefind into gsttypefind, gsttypefindfactory
11149 2005-09-07 Andy Wingo <wingo@pobox.com>
11151 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11152 condition whereby the pad's task function is entered before the
11153 pad_mode variable was set.
11155 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11157 * gst/gstpad.c: (gst_pad_alloc_buffer):
11158 Catch misbehaving pad_alloc functions that don't
11159 set up caps and do it for them.
11161 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11163 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11164 test for pipe!=NULL
11165 * docs/gst/tmpl/.cvsignore:
11166 * docs/gst/tmpl/gstmemchunk.sgml:
11167 * docs/gst/tmpl/gstparse.sgml:
11168 * docs/gst/tmpl/gsttaglist.sgml:
11169 * docs/gst/tmpl/gsttagsetter.sgml:
11170 * docs/gst/tmpl/gsttypefind.sgml:
11171 * docs/gst/tmpl/gsttypefindfactory.sgml:
11172 * gst/gstmemchunk.c:
11175 * gst/gsttaginterface.c:
11176 * gst/gsttypefind.c:
11177 * gst/gsttypefind.h:
11180 === release 0.9.2 ===
11182 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
11187 releasing 0.9.2, "South"
11189 2005-09-05 Andy Wingo <wingo@pobox.com>
11191 * gst/registries/gstxmlregistry.h:
11192 * gst/registries/gstxmlregistry.c: Um... resurrect...
11194 * gst/registries/gstxmlregistry.h:
11195 * gst/registries/gstxmlregistry.c: and update to newer API.
11196 Incidentally they should be a bit faster now that they don't have
11199 2005-09-05 Andy Wingo <wingo@pobox.com>
11201 * gst/registries/gstxmlregistry.h:
11202 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11203 replaced by the libxml registry a while back
11205 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11207 * docs/gst/tmpl/gstplugin.sgml:
11208 * gst/elements/gstelements.c:
11210 * gst/gstplugin.c: (gst_plugin_register_func),
11211 (gst_plugin_desc_copy), (gst_plugin_desc_free),
11212 (gst_plugin_get_source):
11214 * gst/registries/gstlibxmlregistry.c: (load_plugin),
11215 (gst_xml_registry_save_plugin):
11216 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11217 (gst_xml_registry_save_plugin):
11218 * tools/gst-inspect.c: (print_plugin_info):
11219 add a "source" plugin description field, to represent the source
11220 module this plugin is a part of. By default GST_PLUGIN_DEFINE
11221 will set it to PACKAGE, which is automake's idea of the name of
11222 the source project.
11224 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11229 * docs/Makefile.am:
11230 * docs/faq/Makefile.am:
11231 * docs/gst/tmpl/gstelement.sgml:
11232 * docs/gst/tmpl/gsttypes.sgml:
11233 * docs/htmlinstall.mak:
11234 * docs/manual/Makefile.am:
11235 * docs/pwg/Makefile.am:
11236 reorganize doc build a little
11237 split out docbook and gtk-doc stuff
11238 have two separate --enable's and enable them through autogen
11239 but disable by default in configure (to be similar to other
11241 * gstreamer.spec.in:
11242 clean up docs install
11260 translation updates
11262 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
11264 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11267 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11268 (gst_fake_sink_change_state):
11269 Make state change function thread-safe.
11271 * gst/gstpad.c: (gst_pad_alloc_buffer):
11272 Set offset on generic buffer allocated by fallback.
11274 2005-09-03 Stefan Kost <ensonic@users.sf.net>
11276 * docs/gst/gstreamer-sections.txt:
11277 * docs/gst/tmpl/gstelement.sgml:
11279 * libs/gst/controller/gst-controller.c:
11280 (gst_controlled_property_set_interpolation_mode),
11281 (gst_controlled_property_new),
11282 (gst_controller_find_controlled_property):
11283 run the wingo-magic script against the docs
11285 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11287 * docs/gst/gstreamer-docs.sgml:
11288 * docs/gst/gstreamer-sections.txt:
11289 * docs/gst/tmpl/.cvsignore:
11290 * docs/gst/tmpl/gstelementdetails.sgml:
11291 * docs/gst/tmpl/gstelementfactory.sgml:
11294 * gst/gstelementfactory.c:
11295 * gst/gstelementfactory.h:
11296 merged elementdetails docs into elementfactory docs
11299 2005-09-02 Andy Wingo <wingo@pobox.com>
11301 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11302 consider this enum an enum and not a flags.
11304 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11306 * docs/gst/gstreamer-docs.sgml:
11307 * docs/gst/tmpl/.cvsignore:
11308 * docs/gst/tmpl/gstghostpad.sgml:
11309 * docs/gst/tmpl/gstiterator.sgml:
11310 * docs/gst/tmpl/gstmacros.sgml:
11311 * docs/gst/tmpl/gstrealpad.sgml:
11312 * docs/gst/tmpl/gstregistry.sgml:
11313 * docs/gst/tmpl/gstregistrypool.sgml:
11314 * docs/gst/tmpl/gststructure.sgml:
11315 * docs/gst/tmpl/gstsystemclock.sgml:
11316 * docs/gst/tmpl/gsttrace.sgml:
11317 * gst/gstghostpad.c:
11319 * gst/gstmemchunk.c:
11320 * gst/gstmemchunk.h:
11322 * gst/gstregistry.c:
11323 * gst/gstregistrypool.c:
11324 * gst/gststructure.c:
11325 * gst/gstsystemclock.c:
11328 2005-09-02 Andy Wingo <wingo@pobox.com>
11330 * gst/gstelement.h (GstState): Renamed from GstElementState,
11331 changed to be a normal enum instead of flags.
11332 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11333 munged to be GST_STATE_CHANGE_*.
11334 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11335 work with the new state representation.
11336 (GstStateChange): New enumeration of possible state transitions.
11337 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11338 (GstElementClass::change_state): Pass the GstStateChange along as
11339 an argument. Helps language bindings, so they don't have to use
11340 tricky lock-needing macros like GST_STATE_CHANGE ().
11342 * scripts/update-states (file): New script. Run it on a file to
11343 update it for state naming and API changes. Updates files in
11346 * All files updated for the new API.
11348 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
11350 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11351 * gst/gstutils.c: (gst_util_set_value_from_string),
11352 (gst_util_set_object_arg):
11353 fix a bunch of unchecked return values
11354 * tools/gst-complete.c: (main):
11355 * gstreamer.spec.in:
11358 2005-09-01 Wim Taymans <wim@fluendo.com>
11360 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11361 (gst_base_sink_event), (gst_base_sink_do_sync),
11362 (gst_base_sink_handle_event):
11363 * gst/base/gstbasesink.h:
11364 Handle newsegments more correctly.
11369 * gst/gstevent.c: (gst_event_new_newsegment):
11370 A newsegment cannot have a start_time of -1
11372 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
11374 * win32/gstenumtypes.c:
11375 * win32/gstenumtypes.h:
11378 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11380 * libs/gst/controller/gst-controller.c:
11381 (gst_controlled_property_set_interpolation_mode),
11382 (gst_controlled_property_new):
11383 fixed boolean again
11385 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
11387 * docs/faq/gst-uninstalled:
11392 * gst/gstutils.c: (gst_element_link_filtered):
11394 add gst_element_link_filtered
11396 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11398 * docs/gst/gstreamer-docs.sgml:
11399 * docs/gst/gstreamer-sections.txt:
11400 * docs/gst/tmpl/.cvsignore:
11401 * docs/gst/tmpl/gsterror.sgml:
11402 * docs/gst/tmpl/gstfilter.sgml:
11403 * docs/gst/tmpl/gsturihandler.sgml:
11404 * docs/gst/tmpl/gsturitype.sgml:
11405 * docs/gst/tmpl/gstutils.sgml:
11406 * docs/gst/tmpl/gstxml.sgml:
11411 * gst/gsturitype.c:
11414 inlined more docs, fixed double id-ref
11416 2005-08-31 Wim Taymans <wim@fluendo.com>
11418 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11419 (gst_base_transform_handle_buffer):
11420 Passthrough elements don't need the caps as they don't care.
11422 2005-08-31 Wim Taymans <wim@fluendo.com>
11424 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11425 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11426 Don't leak refcounts on buffers.
11428 2005-08-31 Wim Taymans <wim@fluendo.com>
11430 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11431 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11432 (gst_base_transform_chain), (gst_base_transform_change_state):
11433 * gst/base/gstbasetransform.h:
11434 Handle the case where we are not negotiated more gracefully.
11436 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
11438 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
11439 (gst_file_src_map_region):
11440 Set READONLY flag on mmap'ed buffers, otherwise
11441 gst_buffer_make_writable() won't work properly (#314708).
11443 2005-08-31 Wim Taymans <wim@fluendo.com>
11445 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
11446 passthrough elements can even do inplace on non writable
11447 buffers (as they don't touch them).
11449 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11451 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11452 (gst_test_mono_source_set_property),
11453 (gst_test_mono_source_class_init), (GST_START_TEST),
11454 (gst_controller_suite):
11455 more tests (hehe I have the most)
11457 describe popping messages whenusing mulltiple sources
11458 * libs/gst/controller/gst-controller.c:
11459 (gst_controlled_property_set_interpolation_mode),
11460 (gst_controlled_property_new):
11461 * libs/gst/controller/gst-controller.h:
11462 * libs/gst/controller/gst-interpolation.c:
11463 implement boolean properties
11465 2005-08-31 Wim Taymans <wim@fluendo.com>
11467 * gst/gstminiobject.c: (gst_mini_object_ref):
11468 Cannot assert that the refcount has to be positive
11469 since a disposed object can be resurrected.
11471 2005-08-31 Wim Taymans <wim@fluendo.com>
11473 * gst/gstpad.c: (gst_pad_init):
11474 Revert change, need to first fix badly behaving
11477 2005-08-30 Wim Taymans <wim@fluendo.com>
11479 * check/elements/fakesrc.c: (setup_fakesrc):
11480 * check/elements/identity.c: (setup_identity):
11481 Activate pads before using them.
11483 2005-08-30 Wim Taymans <wim@fluendo.com>
11485 * gst/base/gstadapter.c: (gst_adapter_flush):
11486 Flushing out 0 bytes is ok for this function.
11488 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11489 no newsegment gives a warning and sets the start/stop to
11492 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
11493 (gst_base_transform_set_passthrough):
11496 * gst/gstminiobject.c: (gst_mini_object_ref):
11497 Check refcount here too.
11499 * gst/gstpad.c: (gst_pad_init):
11500 Pads are initially flushing and refusing data.
11502 * gst/gstutils.c: (gst_element_link_pads_filtered):
11503 When adding a capsfilter element make sure it has the
11504 same state as the parent bin.
11506 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11508 * docs/gst/tmpl/.cvsignore:
11509 * docs/gst/tmpl/gstformat.sgml:
11510 * docs/gst/tmpl/gstversion.sgml:
11514 * gst/gstversion.h.in:
11515 more docs and two more inlined
11517 2005-08-30 Wim Taymans <wim@fluendo.com>
11519 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
11520 Don't sync to clock.
11522 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11524 * docs/gst/gstreamer-sections.txt:
11525 ultral33t func10ns deserve to appear in the docs actually
11526 * docs/gst/tmpl/.cvsignore:
11527 * docs/gst/tmpl/gstcompat.sgml:
11528 * docs/gst/tmpl/gstconfig.sgml:
11529 * gst/check/gstcheck.c:
11531 * gst/gstconfig.h.in:
11534 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11536 * docs/gst/tmpl/.cvsignore:
11537 * docs/gst/tmpl/gstquery.sgml:
11538 * docs/gst/tmpl/gstutils.sgml:
11541 inlined and extended docs
11543 2005-08-30 Stefan Kost <ensonic@users.sf.net>
11545 * check/gst-libs/controller.c: (GST_START_TEST),
11546 (gst_controller_suite):
11548 * docs/gst/tmpl/gstutils.sgml:
11549 * docs/libs/gstreamer-libs-sections.txt:
11550 * docs/libs/tmpl/gstdataprotocol.sgml:
11552 * examples/controller/audio-example.c: (main):
11553 controller example works now
11556 * tools/gst-inspect.c: (print_element_properties_info):
11557 show param spec flags
11559 2005-08-29 Andy Wingo <wingo@pobox.com>
11561 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
11563 2005-08-28 Andy Wingo <wingo@pobox.com>
11565 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
11566 as having two arguments instead of just one. Allows superclasses
11567 to access information on subclasses -- see the terrible for() loop
11568 in gtype.c:g_type_create_instance for the reason why. All callers
11571 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11573 * docs/design/part-messages.txt:
11575 * docs/gst/tmpl/.cvsignore:
11576 * docs/gst/tmpl/gstcaps.sgml:
11577 * docs/gst/tmpl/gstclock.sgml:
11583 * gst/gstmessage.c:
11584 added descriptions for bus and message
11585 inline caps and clock docs
11587 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11589 * gst/gstmessage.c:
11590 * gst/gstmessage.h:
11593 2005-08-27 Stefan Kost <ensonic@users.sf.net>
11595 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11598 2005-08-26 Andy Wingo <wingo@pobox.com>
11600 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
11601 element_set_state's return val.
11602 (test_2_elements): Add test that's been disabled for months.
11604 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
11605 can-activate-pull properties.
11607 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
11608 can-activate-pull properties. Implement is_seekable so fakesrc can
11609 operate in pull mode.
11611 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
11613 (gst_base_sink_activate, gst_base_sink_activate_pull)
11614 (gst_base_sink_activate_push): Make activation mode choosing work.
11616 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
11617 is right. Make pull mode work. Post an eos before pausing in pull
11619 (gst_base_sink_change_state): Pay attention to the core's
11620 change_state() return val.
11622 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
11623 has-getrange properties. Cleanups.
11625 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
11626 has_getrange and replace with can_activate_pull and
11629 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
11630 locking comments. Remove has_loop, has_chain and replace with
11631 can_activate_pull and can_activate_push.
11633 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
11636 * examples/Makefile.am:
11637 * examples/metadata/Makefile.am:
11638 * examples/metadata/read-metadata.c: (message_loop),
11639 (have_pad_handler), (make_pipeline), (print_tag), (main):
11640 Add metadata reading example that loops over a list of filenames,
11641 dumping any tags found.
11643 * gst/gstbus.c: (gst_bus_dispose):
11644 * gst/gstelement.c: (gst_element_dispose):
11645 Release a few potentially-held references in dispose.
11647 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11649 * docs/gst/tmpl/gstminiobject.sgml:
11650 do *not* add tmpl/*.sgml files to CVS!
11652 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11654 * libs/gst/bytestream/.cvsignore:
11655 * libs/gst/bytestream/Makefile.am:
11656 * libs/gst/bytestream/adapter.c:
11657 * libs/gst/bytestream/adapter.h:
11658 * libs/gst/bytestream/bytestream.c:
11659 * libs/gst/bytestream/bytestream.h:
11660 * libs/gst/bytestream/filepad.c:
11661 * libs/gst/bytestream/filepad.h:
11662 removing obsolete files
11664 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11666 * docs/gst/gstreamer-docs.sgml:
11667 * docs/libs/gstreamer-libs-docs.sgml:
11668 disabed additional index entries again, as this makes docs-gen just
11669 slow and they aren't useful yet
11670 * docs/libs/gstreamer-libs-sections.txt:
11671 little -section.txt cleanup for libs
11673 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
11675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11676 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
11677 fix up some debugging
11678 (gst_base_transform_get_unit_size),
11679 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
11680 (gst_base_transform_handle_buffer):
11681 * gst/base/gstbasetransform.h:
11682 handle and store timed NEWSEGMENT events so that subclasses that
11683 calculate time by counting samples have a segment_start time they
11684 need to add to their timestamps - see audioresample
11686 2005-08-26 Stefan Kost <ensonic@users.sf.net>
11689 removed ';' from the end of macro defs
11690 * docs/gst/gstreamer-docs.sgml:
11691 * docs/gst/gstreamer-sections.txt:
11692 * docs/gst/tmpl/.cvsignore:
11694 * gst/gstelement.c: (gst_element_class_init),
11695 (gst_element_set_state), (activate_pads),
11696 (gst_element_save_thyself):
11697 * gst/gstevent.c: (gst_event_new_newsegment):
11699 * gst/gstiterator.c:
11700 * gst/gstiterator.h:
11703 * gst/gstutils.c: (gst_pad_query_convert):
11705 fixed parameter name mismatches between source, header and docs
11706 added some more docs, resolved the last batch of unused elements in
11707 docs (now someone needs to doc them)
11709 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11711 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
11712 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
11713 don't walk through the plugins backwards. Where is all this
11714 reversed logic coming from ?
11716 2005-08-25 Wim Taymans <wim@fluendo.com>
11718 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11719 (gst_base_transform_transform_size),
11720 (gst_base_transform_configure_caps),
11721 (gst_base_transform_get_unit_size),
11722 (gst_base_transform_buffer_alloc),
11723 (gst_base_transform_change_state):
11724 * gst/base/gstbasetransform.h:
11725 Cache caps unit_size.
11726 Make sure we cannot negotiate up and downstream at the
11729 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11731 * gst/gst.c: (init_pre), (init_post):
11732 register the installed plugin path after the env var
11733 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
11734 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
11735 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
11736 directories, so the tests can prefer uninstalled over installed
11738 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
11740 * gst/base/gstbasetransform.h:
11745 2005-08-25 Wim Taymans <wim@fluendo.com>
11747 * gst/gstbin.c: (bin_bus_handler):
11748 Be a bit more conservative about the posted message.
11750 * gst/gstbus.c: (gst_bus_post):
11751 Some cleanups, warn wrong return values.
11753 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
11755 * check/gst/gstbin.c: (GST_START_TEST):
11756 * gst/gstbin.c: (bin_bus_handler):
11757 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11758 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11759 (gst_message_new_warning), (gst_message_new_tag),
11760 (gst_message_new_state_changed), (gst_message_new_segment_start),
11761 (gst_message_new_segment_done), (gst_message_new_custom):
11762 * gst/gstmessage.h:
11763 * tools/gst-launch.c: (event_loop):
11764 * tools/gst-md5sum.c: (event_loop):
11765 Revert unpopular change for GST_MESSAGE_SRC to GObject.
11767 2005-08-25 Wim Taymans <wim@fluendo.com>
11769 * check/generic/states.c: (GST_START_TEST):
11770 Cleanup can be done at the end.
11772 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
11773 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11774 (gst_task_get_state), (gst_task_start), (gst_task_pause):
11775 Oh boy.. Thanks for finding this, Thomas.
11777 2005-08-25 Stefan Kost <ensonic@users.sf.net>
11779 * docs/gst/gstreamer.types:
11780 added missing types
11782 2005-08-25 Stefan Kost <ensonic@users.sf.net>
11784 * docs/gst/gstreamer-docs.sgml:
11785 * docs/gst/gstreamer-sections.txt:
11786 * docs/gst/tmpl/.cvsignore:
11788 * gst/gstiterator.c:
11790 * gst/registries/gstxmlregistry.h:
11791 added missing classes and symbols (123 more to go)
11792 removed removed symbols from section file
11793 fixed many doc-comments
11795 2005-08-24 Wim Taymans <wim@fluendo.com>
11797 * check/generic/states.c: (GST_START_TEST):
11798 Make sure all tasks are stopped.
11800 * check/gst/gstbin.c: (GST_START_TEST):
11801 Unref after usage for proper valgrinding.
11803 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
11804 Really wait for the task to stop before destroying the
11807 * gst/gstqueue.c: (gst_queue_sink_activate_push),
11808 (gst_queue_src_activate_push):
11809 Small cleanups. Don't stop the task when we did not start
11812 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
11813 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
11814 (gst_task_get_state), (gst_task_start), (gst_task_pause),
11817 Protect the stream lock with the object lock.
11818 Disallow setting the stream lock when running.
11819 Add cleanup_all to wait for the threadpool to finish.
11820 Remove code to autoallocate a mutex if none was provided.
11821 Add _join() to wait for a task to stop.
11822 Protect the thread pool with a global lock.
11824 2005-08-24 Wim Taymans <wim@fluendo.com>
11826 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11827 (gst_base_sink_get_times), (gst_base_sink_do_sync),
11828 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
11829 * gst/base/gstbasesink.h:
11830 Handle newsegment events correctly.
11831 Drop buffers out of the segment range.
11833 2005-08-22 Andy Wingo <wingo@pobox.com>
11835 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
11836 macro, implements an interface and gstimplementsinterface for a
11839 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
11841 * check/Makefile.am:
11842 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
11843 add a test that does a bunch of state changes on elements
11844 needs some fixing for valgrind
11845 * check/states/sinks.c: (gst_object_suite):
11848 add prototype for gst_caps_is_equal_fixed
11850 * gst/gstregistrypool.c:
11853 2005-08-24 Andy Wingo <wingo@pobox.com>
11855 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
11856 convert a negative value. Doesn't make much sense. Mostly this is
11857 here to force callers to ensure -1 maps to -1.
11859 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
11861 * docs/pwg/advanced-types.xml:
11862 Well done to Michael for catching my deliberate introduction
11863 of this spelling mistake.
11864 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
11865 * gst/gstelement.h:
11866 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
11867 unlink pads before removing the element from the bin.
11869 2005-08-24 Andy Wingo <wingo@pobox.com>
11871 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
11872 the same thing as GST_DEBUG=*:4.
11873 (parse_debug_level, parse_debug_category): New helper parsers.
11875 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
11877 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
11878 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
11879 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
11880 (gst_base_transform_buffer_alloc),
11881 (gst_base_transform_handle_buffer):
11882 use gboolean return values and pointers to size so we can use the
11883 full GST_BUFFER_SIZE range (guint) for buffer sizes
11884 use GstPadDirection for transform_caps
11885 * gst/base/gstbasetransform.h:
11886 rename get_size to get_unit_size since that's what it is
11887 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
11888 use GstPadDirection for transform_caps
11889 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11891 cleanup and debugging
11893 2005-08-24 Stefan Kost <ensonic@users.sf.net>
11895 * gst/gstelement.c: (gst_element_class_init),
11896 (gst_element_set_state), (activate_pads),
11897 (gst_element_save_thyself):
11898 * tools/gst-compprep.c: (main):
11899 * tools/gst-inspect.c: (print_element_properties_info):
11900 * tools/gst-xmlinspect.c: (print_element_properties):
11901 Fixed long standing mem-leak
11903 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
11905 * check/gst/gstbin.c: (GST_START_TEST):
11906 * gst/gstbin.c: (bin_bus_handler):
11907 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
11908 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
11909 (gst_message_new_warning), (gst_message_new_tag),
11910 (gst_message_new_state_changed), (gst_message_new_segment_start),
11911 (gst_message_new_segment_done), (gst_message_new_custom):
11912 * gst/gstmessage.h:
11913 * tools/gst-launch.c: (event_loop):
11914 * tools/gst-md5sum.c: (event_loop):
11915 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
11916 that applications can sensibly post custom messages with references
11917 to their own objects.
11919 2005-08-24 Andy Wingo <wingo@pobox.com>
11921 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
11924 2005-08-24 Wim Taymans <wim@fluendo.com>
11926 * gst/base/gstbasetransform.c: (gst_base_transform_init),
11927 (gst_base_transform_transform_caps),
11928 (gst_base_transform_transform_size),
11929 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11930 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
11931 (gst_base_transform_handle_buffer):
11932 * gst/base/gstbasetransform.h:
11933 Many fixes and new features added by Thomas. Can now also do
11934 transforms with variable sizes and a custom fixate_caps function.
11936 2005-08-24 Wim Taymans <wim@fluendo.com>
11938 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
11942 Cast to ClockTime before formatting to time.
11947 2005-08-24 Stefan Kost <ensonic@users.sf.net>
11949 * check/gst-libs/controller.c: (GST_START_TEST),
11950 (gst_controller_suite):
11951 * docs/gst/tmpl/gstcaps.sgml:
11952 * docs/gst/tmpl/gstghostpad.sgml:
11953 * docs/gst/tmpl/gstquery.sgml:
11954 * docs/gst/tmpl/gstutils.sgml:
11955 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
11956 (gst_object_sink_values), (gst_object_get_value_arrays),
11957 (gst_object_get_value_array):
11958 gracefully handle helper method calls to objects that are not beeing
11959 controlled, added test case for that
11961 2005-08-23 Wim Taymans <wim@fluendo.com>
11963 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
11964 (gst_event_new_newsegment), (gst_event_parse_newsegment),
11965 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
11966 (gst_event_parse_qos), (gst_event_new_seek),
11967 (gst_event_parse_seek):
11969 Some more debugging output and doc cleanups.
11971 * gst/gstqueue.c: (gst_queue_handle_sink_event):
11972 Fix possible deadlock.
11974 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11976 * docs/gst/gstreamer-docs.sgml:
11977 * docs/gst/gstreamer-sections.txt:
11978 * docs/gst/gstreamer.types:
11979 * docs/gst/tmpl/.cvsignore:
11982 * gst/gstelement.c:
11984 added 100 symbols from gstreamer-unused.txt to the right sections
11985 fixed more broken comments
11986 added GstBus to docs
11988 2005-08-23 Stefan Kost <ensonic@users.sf.net>
11990 * docs/gst/gstreamer-sections.txt:
11991 * docs/gst/tmpl/.cvsignore:
11992 * docs/gst/tmpl/gstbin.sgml:
11993 * docs/gst/tmpl/gstbuffer.sgml:
11994 * gst/base/gstbasesrc.c:
11995 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
11998 * tools/gst-launch.1.in:
11999 inlined more doc comments, added missing comments and fixed comments
12002 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
12004 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12008 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12010 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12011 * gst/gststructure.h:
12012 add a fixate function for booleans; add a FIXME that these func
12013 names should probably be gst_structure_fixate_*
12015 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12017 * docs/gst/gstreamer-docs.sgml:
12018 * docs/gst/gstreamer-sections.txt:
12020 * gst/gstbin.c: (gst_bin_get_type),
12021 (gst_bin_child_proxy_get_child_by_index),
12022 (gst_bin_child_proxy_get_children_count),
12023 (gst_bin_child_proxy_init):
12024 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12025 (gst_child_proxy_get_child_by_index),
12026 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12027 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12028 (gst_child_proxy_get), (gst_child_proxy_set_property),
12029 (gst_child_proxy_set_valist), (gst_child_proxy_set),
12030 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12031 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12032 * gst/gstchildproxy.h:
12033 * gst/parse/grammar.y:
12034 * tools/gst-inspect.c: (print_interfaces),
12035 (print_element_properties_info), (print_element_info):
12036 ported gstchildproxy over from 0.8
12037 ported gst-inspect fixes and enhancements over from 0.8
12039 2005-08-22 Wim Taymans <wim@fluendo.com>
12041 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12042 (gst_base_transform_handle_buffer):
12043 Also call the transform function if we have ANY caps.
12045 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12048 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12050 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12051 Don't pretend to handle seek events if the source is not seekable
12053 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12055 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12056 Remove extra parameter to debug output
12058 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12059 (gst_base_src_do_seek), (gst_base_src_activate_push):
12060 Fix seek event handling.
12062 * gst/gstpipeline.c: (gst_pipeline_change_state):
12063 * gst/gstqueue.c: (gst_queue_handle_sink_event),
12064 (gst_queue_src_activate_push):
12065 Don't start the src pad task on FLUSH_STOP if the pad
12069 2005-08-22 Wim Taymans <wim@fluendo.com>
12071 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12072 Added check for gst_static_caps_get() refcounting.
12074 2005-08-22 Wim Taymans <wim@fluendo.com>
12076 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12077 Make _static_caps_get() refcounting sane.
12079 * gst/gstelement.c: (gst_element_set_state):
12080 Add g_return_val_if_fail() to protect against segfaults.
12082 2005-08-22 Stefan Kost <ensonic@users.sf.net>
12084 * docs/gst/tmpl/gstevent.sgml:
12087 inlined remaining docs, added missing doc comments
12089 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
12091 * check/gst/gstbin.c: (GST_START_TEST):
12092 since we don't know when preroll is done, use refcount range
12094 * gst/check/gstcheck.h:
12095 add macro for checking refcount range
12097 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12099 * check/Makefile.am:
12100 clean up environment for when registry gets built versus
12101 when actual tests are run; valgrind seems to not report
12102 leaks if GST_PLUGIN_PATH is set to some specific values
12103 * check/gst/gstbin.c: (GST_START_TEST):
12104 add more refcounting checks; maybe this exposes a
12106 * common/check.mak:
12107 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12108 * gst/check/gstcheck.h:
12109 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12110 (gst_bin_change_state):
12111 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12112 add/fix debugging/whitespace
12114 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12116 * check/gst/gstevent.c: (event_probe), (test_event),
12118 Er, don't call gst_bin_watch_for_state_change you idiot.
12120 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12122 * check/Makefile.am:
12123 Use CHECK_CFLAGS and CHECK_LIBS
12124 * check/gst/gstevent.c: (event_probe), (test_event),
12127 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12128 (gst_base_src_start), (gst_base_src_stop),
12129 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12130 (gst_base_src_change_state):
12131 Sprinkle gst_base_src_stop liberally around error paths to fix
12132 problems reusing a source after failed state changes.
12133 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12134 (helper_find_suggest), (gst_type_find_helper):
12135 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12137 * docs/gst/tmpl/gstevent.sgml:
12138 Migrate part of the docs from the SGML file. Wait for ensonic to
12139 tell me how I did it wrong ;)
12140 * tools/gst-typefind.c: (main):
12141 Extra robustness to state changes between files.
12143 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12145 * check/Makefile.am:
12146 don't valgrind the controller test - it's leaking - Stefan, HELP
12147 * gst/check/gstcheck.c: (gst_check_message_error),
12148 (gst_check_chain_func), (gst_check_setup_element),
12149 (gst_check_teardown_element), (gst_check_setup_src_pad),
12150 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12151 (gst_check_teardown_sink_pad):
12152 * gst/check/gstcheck.h:
12153 add a bunch of methods to set up elements, and src and sink pads
12154 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12155 * check/elements/identity.c: (setup_identity), (cleanup_identity),
12158 * gst/gstmessage.c:
12160 whitespace/doc fixes
12162 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12164 * gst/gstelement.h:
12165 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12166 be handled by the application and not always printed as well
12168 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12170 * check/Makefile.am:
12172 * gst/check/gstcheck.c: (gst_check_message_error):
12173 * gst/check/gstcheck.h:
12174 add a fail_unless_equals_int
12175 add fail_unless for error messages
12177 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12179 * check/Makefile.am:
12181 * common/Makefile.am:
12182 * common/check.mak:
12184 factor out some of the common stuff so we can use it
12186 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12188 * check/Makefile.am:
12189 * check/gst/gstiterator.c: (GST_START_TEST):
12190 * check/gst/gstsystemclock.c: (GST_START_TEST),
12191 (gst_systemclock_suite):
12192 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12194 valgrind more tests
12196 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12198 * check/elements/.cvsignore:
12199 * check/elements/gstfakesrc.c:
12200 rename to name of element
12201 * check/elements/identity.c: (chain_func), (event_func),
12202 (setup_identity), (cleanup_identity), (GST_START_TEST),
12203 (identity_suite), (main):
12204 add a test for identity
12205 * check/Makefile.am:
12206 * pkgconfig/Makefile.am:
12207 * pkgconfig/gstreamer-check.pc.in:
12208 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12212 move the check stuff to a library that gets installed
12213 * check/gst-libs/controller.c: (GST_START_TEST):
12214 * check/gst-libs/gdp.c:
12215 * check/gst/gst.c: (GST_START_TEST):
12216 * check/gst/gstbin.c:
12217 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12218 * check/gst/gstbus.c:
12219 * check/gst/gstcaps.c: (GST_START_TEST):
12220 * check/gst/gstelement.c:
12221 * check/gst/gstghostpad.c:
12222 * check/gst/gstiterator.c:
12223 * check/gst/gstmessage.c:
12224 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12225 * check/gst/gstobject.c:
12226 * check/gst/gstpad.c: (GST_START_TEST):
12227 * check/gst/gststructure.c: (GST_START_TEST):
12228 * check/gst/gstsystemclock.c: (GST_START_TEST),
12229 (gst_systemclock_suite):
12230 * check/gst/gsttag.c: (gst_tag_suite):
12231 * check/gst/gstvalue.c:
12232 * check/pipelines/cleanup.c:
12233 * check/pipelines/simple_launch_lines.c:
12234 * check/states/sinks.c:
12235 change include statement
12237 * docs/gst/gstreamer-sections.txt:
12238 * docs/gst/tmpl/gstpad.sgml:
12239 document more pad stuff
12240 * gst/gstminiobject.c: (gst_mini_object_ref),
12241 (gst_mini_object_unref):
12244 2005-08-19 Stefan Kost <ensonic@users.sf.net>
12246 * docs/gst/tmpl/gst.sgml:
12248 eliminate another tmpl file, fix spelling in the long-description
12250 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12252 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12253 (test_event), (timediff), (gstevents_suite):
12254 Should fix build on 64-bit arch's
12256 2005-08-18 Andy Wingo <wingo@pobox.com>
12258 Make sure that when a pipeline goes to PLAYING, that data has
12259 actually hit the sink.
12261 * check/states/sinks.c (test_sink): A sink that doesn't get any
12262 data shouldn't return SUCCESS for going to either PLAYING or
12263 PAUSED. Test also the return values on the way back down.
12265 * gst/gstelement.c (gst_element_set_state): When changing the
12266 state of an element currently changing state asynchronously, go to
12267 lost-state after commiting the pending state. Makes future calls
12268 to get_state continue to return ASYNC.
12270 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12271 ASYNC when going to PLAYING if we still don't have preroll, as can
12272 happen with live sources.
12274 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12276 * docs/pwg/advanced-types.xml:
12277 Hack long paragraph into 2 chunks as a workaround for buggy
12278 jadetex version in sid and breezy that loops infinitely and
12281 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12283 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12284 (test_event), (timediff), (gstevents_suite):
12285 Provide more error margin in clock measurements to allow for
12286 g_get_current_time inaccuracies.
12288 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12290 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12291 (test_event), (timediff), (gstevents_suite):
12292 Fix error message output so I might be able to tell why the
12293 test works here but fails on the build farm.
12295 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12297 * check/Makefile.am:
12298 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12299 (test_event), (timediff), (gstevents_suite), (main):
12302 * docs/design/part-seeking.txt:
12303 Spelling correction
12305 * docs/gst/tmpl/gstevent.sgml:
12306 * docs/gst/tmpl/gstfakesrc.sgml:
12309 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12310 Treat a buffer-without-newsegment the same as a receiving
12311 a newsegment not in time format, and disable syncing to the clock
12314 * gst/gstbus.c: (gst_bus_set_sync_handler):
12315 Assert if anyone tries to replace the existing sync_handler for bus,
12316 as only the owner should be setting it.
12319 Have a fixed set of custom event enums with events identified by
12320 their structure name (as in 0.8), rather than a free-for-all
12321 allowing collisions between enum values from different plugins.
12323 * gst/gstpad.c: (gst_pad_class_init):
12326 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12327 Handle out-of-band downstream events from the sending thread.
12329 2005-08-17 Andy Wingo <wingo@pobox.com>
12331 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12332 play-timeout==0 to mean no timeout at all. In that case, don't
12333 bother with a get_state or a warning, just return directly, even
12336 * gst/base/gstbasetransform.c: Debug changes.
12339 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12340 ensure bins post state change messages. A bit of a hack but I can't
12341 think of a way to avoid it.
12343 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12345 2005-08-16 Andy Wingo <wingo@pobox.com>
12347 * gst/base/gstadapter.h:
12348 * gst/base/gstadapter.c (gst_adapter_take): New function, like
12349 peek() but you own the data. Not terribly efficient atm.
12351 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12353 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12354 (gst_element_found_tags):
12356 Add two utility functions for tag handling.
12358 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12360 * docs/manual/advanced-dataaccess.xml:
12361 * docs/manual/basics-helloworld.xml:
12362 Fix docs to use _bin_add() before _link(), which fixes the examples
12363 with recent core versions (reported by Madhan Raj M
12364 <raj_madan@rediffmail.com>, #313199).
12366 2005-08-16 Wim Taymans <wim@fluendo.com>
12368 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12369 Added subtract checks.
12371 * docs/design/part-events.txt:
12372 Some more docs about newsegment
12374 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12377 * gst/gstcaps.c: (gst_caps_to_string):
12378 Add comments, cleanups.
12380 * gst/gstelement.c: (gst_element_save_thyself):
12383 * gst/gstvalue.c: (gst_value_collect_int_range),
12384 (gst_string_unwrap), (gst_value_union_int_int_range),
12385 (gst_value_union_int_range_int_range),
12386 (gst_value_intersect_int_int_range),
12387 (gst_value_intersect_int_range_int_range),
12388 (gst_value_intersect_double_double_range),
12389 (gst_value_intersect_double_range_double_range),
12390 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12391 (gst_value_subtract_int_range_int),
12392 (gst_value_subtract_double_range_double),
12393 (gst_value_subtract_double_range_double_range),
12394 (gst_value_subtract_from_list), (gst_value_subtract_list),
12395 (gst_value_can_compare), (gst_value_compare_fraction):
12396 Cleanups, add comments, remove unneeded asserts.
12398 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12400 * tools/gst-launch.c: (event_loop):
12401 don't convert NULL structures to strings
12403 2005-08-15 Stefan Kost <ensonic@users.sf.net>
12405 * docs/gst/gstreamer-sections.txt:
12406 made some defines private
12407 * docs/gst/tmpl/gstconfig.sgml:
12408 * docs/gst/tmpl/gstqueue.sgml:
12409 * docs/gst/tmpl/gsttaglist.sgml:
12410 * docs/gst/tmpl/gsttypes.sgml:
12411 * docs/gst/tmpl/gstutils.sgml:
12412 * docs/pwg/appendix-porting.xml:
12413 * gst/base/gstbasesink.h:
12414 * gst/base/gstbasesrc.c:
12415 * gst/base/gstbasesrc.h:
12416 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12417 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12418 * gst/gstelement.c: (gst_element_class_init):
12419 * gst/gstpad.c: (gst_pad_class_init):
12420 * gst/gstqueue.c: (gst_queue_class_init):
12421 * gst/gstxml.c: (gst_xml_class_init):
12422 documented all undocumented signal inline
12423 * libs/gst/controller/gst-controller.h:
12426 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12428 * docs/pwg/appendix-porting.xml:
12429 Document _set_link_function -> _set_setcaps_function.
12431 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12433 * check/Makefile.am:
12434 add a .check target for running the check
12435 * check/gst-libs/controller.c: (GST_START_TEST):
12437 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12438 complete checks for gstbuffer; would be nice if I could get the
12439 gcov stuff to work so I can see if I actually completed gstbuffer.c
12440 * check/gstcheck.h:
12441 add ASSERT_BUFFER_REFCOUNT
12443 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
12445 * docs/gst/gstreamer-sections.txt:
12446 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12448 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
12449 spew out a warning if a tag that is already registered
12450 is re-registered, unless it is re-registered with a
12451 different type (#308438).
12453 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
12455 * docs/pwg/appendix-porting.xml:
12456 * docs/pwg/building-state.xml:
12457 Add some paragraphs about state changes in 0.9 to the PWG
12458 and the porting guide, in particular about the new meaning
12459 of GST_STATE_PAUSED and how to write state change functions
12460 with concurrent access by multiple threads in mind.
12462 2005-08-11 Stefan Kost <ensonic@users.sf.net>
12464 * docs/gst/gstreamer-docs.sgml:
12465 * docs/libs/gstreamer-libs-docs.sgml:
12466 added deprecation and since indexes
12467 * libs/gst/controller/gst-controller.c:
12468 * libs/gst/controller/gst-helper.c:
12472 2005-08-11 Wim Taymans <wim@fluendo.com>
12474 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
12475 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
12476 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
12477 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
12478 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
12479 (gst_ghost_pad_set_target):
12480 Actually implement (re)setting the target on a ghostpad
12481 as described in the docs.
12483 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12485 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
12486 Check whether GST_DEBUG_NO_COLOR environment variable is
12487 set and disable coloured debug output if that is the case.
12489 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12491 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12492 (gst_type_find_helper):
12493 The memory returned by gst_type_find_peek() needs to
12494 stay valid until the end of a typefind function, and
12495 typefind functions may keep results from different
12496 offsets around, so we can't just unref the buffer from
12497 the previous _peek(), but have to save all buffers
12498 returned by _peek() until typefinding is done and only
12501 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
12503 * docs/gst/gstreamer-sections.txt:
12505 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
12507 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12509 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12510 Fix a pretty good memleak.
12512 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
12514 * gst/gstiterator.h:
12515 Fix wrong include and 'make distcheck'.
12517 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12519 * gst/gstbin.c: (bin_bus_handler):
12520 Use gst_element_post_message() instead.
12522 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
12524 * gst/base/gstadapter.h:
12525 * gst/base/gstbasesink.h:
12526 * gst/base/gstbasesrc.h:
12527 * gst/base/gstbasetransform.h:
12528 * gst/base/gstcollectpads.h:
12529 * gst/base/gstpushsrc.h:
12530 * gst/gstiterator.h:
12531 Add padding to our base elements' class and instance structs and
12532 to GstIterator (you will need to rebuild all plugins and apps!)
12534 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12536 * gst/gstbin.c: (bin_bus_handler):
12537 Make default message forwarding from child->bus to bin->bus
12538 threadsafe and make it not emit warnings if the parent has no bus.
12540 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12542 * gst/gstelement.c: (activate_pads):
12543 On paused->ready, set pad->caps to NULL, as is the documented
12544 behaviour in this state change. Fixes playback of series of
12545 media files when visualization is enabled in Totem.
12547 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12549 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12550 Allow NULL as filter-caps (which means "any").
12552 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12554 * docs/libs/gstreamer-libs-sections.txt:
12555 * libs/gst/controller/gst-controller.c:
12556 * libs/gst/controller/gst-controller.h:
12557 * libs/gst/controller/gst-helper.c:
12558 adding more entries to the docs and fix small doc-bugs
12560 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12562 * docs/gst/gstreamer-docs.sgml:
12563 * docs/gst/gstreamer-sections.txt:
12564 * docs/gst/gstreamer.types:
12565 * docs/gst/tmpl/gstbasesink.sgml:
12566 * docs/gst/tmpl/gstbasesrc.sgml:
12567 * docs/gst/tmpl/gstbasetransform.sgml:
12568 * docs/gst/tmpl/gstfakesrc.sgml:
12569 * gst/base/gstcollectpads.c:
12570 * gst/base/gstcollectpads.h:
12571 * libs/gst/controller/gst-controller.c:
12572 * libs/gst/controller/gst-controller.h:
12573 * libs/gst/controller/gst-helper.c:
12574 * libs/gst/controller/gst-interpolation.c:
12575 * libs/gst/controller/lib.c:
12576 added long/short desc for controller docs
12577 added collectpads base class docs
12578 added correct includes to base-class docs
12580 2005-08-05 Stefan Kost <ensonic@users.sf.net>
12582 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12583 (gst_test_mono_source_set_property),
12584 (gst_test_mono_source_class_init), (GST_START_TEST),
12585 (gst_controller_suite):
12586 * docs/gst/gstreamer-docs.sgml:
12587 * docs/gst/gstreamer-sections.txt:
12588 * docs/gst/gstreamer.types:
12589 * docs/libs/gstreamer-libs-docs.sgml:
12590 * docs/libs/gstreamer-libs-sections.txt:
12591 * gst/base/gstadapter.c:
12592 * libs/gst/controller/gst-controller.c:
12593 (gst_controlled_property_new), (gst_controlled_property_free),
12594 (gst_controller_new_valist),
12595 (gst_controller_remove_properties_valist),
12596 (gst_controller_sink_values), (_gst_controller_finalize):
12597 * libs/gst/controller/gst-controller.h:
12598 * libs/gst/controller/gst-helper.c:
12599 (gst_object_control_properties), (gst_object_uncontrol_properties),
12600 (gst_object_get_controller), (gst_object_set_controller),
12601 (gst_object_sink_values), (gst_object_get_value_arrays),
12602 (gst_object_get_value_array):
12603 more tests (and fixes) for the controller
12604 more docs for the controller
12605 integrated companies docs for the adapter
12607 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
12609 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
12610 (GST_START_TEST), (fakesrc_suite):
12611 add tests for sizetype
12613 2005-08-04 Andy Wingo <wingo@pobox.com>
12615 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
12616 fixes buffer_alloc proxying among other things.
12618 * gst/base/gstbasetransform.c:
12619 * gst/base/gstbasetransform.h:
12620 Revert patch to gstbasetransform from 7-28 removing
12623 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
12624 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
12625 Semantics changed, should return not the size of the output buffer
12626 but the byte size of a buffer with a given caps.
12628 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
12630 (gst_base_transform_configure_caps): Don't set out_size here: (in,
12631 out) are not the pad caps until setcaps finishes.
12632 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
12633 not-in-place case as well. Deal with changing from in-place to
12634 not-in-place within calling pad_alloc_buffer. Still a bit
12635 concerned about the overhead here...
12637 2005-08-03 Andy Wingo <wingo@pobox.com>
12639 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
12640 fixating is an error.
12642 2005-08-04 Edward Hervey <edward@fluendo.com>
12644 * gst/base/gstadapter.h:
12645 Added gst_adapter_get_type() to the header
12647 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12649 * check/Makefile.am:
12650 * check/gst-libs/controller.c:
12651 * libs/gst/controller/gst-controller.c:
12652 (gst_controller_new_valist):
12653 added check test suite for the controller
12654 * gst/base/gstpushsrc.c:
12657 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12659 * docs/gst/Makefile.am:
12660 * docs/gst/gstreamer-docs.sgml:
12661 * docs/gst/gstreamer-sections.txt:
12662 * docs/gst/gstreamer.types:
12663 * docs/gst/tmpl/gstfakesrc.sgml:
12665 * gst/base/gstbasesink.c:
12666 * gst/base/gstbasesink.h:
12667 * gst/base/gstbasesrc.c:
12668 * gst/base/gstbasesrc.h:
12669 * gst/base/gstbasetransform.c:
12670 * gst/base/gstpushsrc.c:
12671 * gst/base/gstpushsrc.h:
12672 add short/long description docs to base classes
12673 add pushsrc to the docs
12674 remove consolidated doc fragments
12676 2005-08-03 Stefan Kost <ensonic@users.sf.net>
12679 * docs/libs/Makefile.am:
12680 * docs/libs/gstreamer-libs-docs.sgml:
12681 * docs/libs/gstreamer-libs-sections.txt:
12682 * docs/libs/gstreamer-libs.types:
12683 * examples/Makefile.am:
12684 * examples/controller/.cvsignore:
12685 * examples/controller/Makefile.am:
12686 * examples/controller/audio-example.c: (main):
12687 * libs/gst/Makefile.am:
12688 * libs/gst/controller/.cvsignore:
12689 * libs/gst/controller/Makefile.am:
12690 * libs/gst/controller/gst-controller.c:
12691 (on_object_controlled_property_changed), (gst_timed_value_compare),
12692 (gst_timed_value_find),
12693 (gst_controlled_property_set_interpolation_mode),
12694 (gst_controlled_property_new), (gst_controlled_property_free),
12695 (gst_controller_find_controlled_property),
12696 (gst_controller_new_valist), (gst_controller_new),
12697 (gst_controller_remove_properties_valist),
12698 (gst_controller_remove_properties), (gst_controller_set),
12699 (gst_controller_set_from_list), (gst_controller_unset),
12700 (gst_controller_get), (gst_controller_get_all),
12701 (gst_controller_sink_values), (gst_controller_get_value_arrays),
12702 (gst_controller_get_value_array),
12703 (gst_controller_set_interpolation_mode),
12704 (_gst_controller_finalize), (_gst_controller_init),
12705 (_gst_controller_class_init), (gst_controller_get_type):
12706 * libs/gst/controller/gst-controller.h:
12707 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
12708 (g_object_uncontrol_properties), (g_object_get_controller),
12709 (g_object_set_controller), (g_object_sink_values),
12710 (g_object_get_value_arrays), (g_object_get_value_array):
12711 * libs/gst/controller/gst-interpolation.c:
12712 (gst_controlled_property_find_timed_value_node),
12713 (interpolate_none_get), (interpolate_trigger_get),
12714 (interpolate_trigger_get_value_array):
12715 * libs/gst/controller/lib.c: (gst_controller_init):
12716 * pkgconfig/Makefile.am:
12717 * pkgconfig/gstreamer-control-uninstalled.pc.in:
12718 * pkgconfig/gstreamer-control.pc.in:
12719 * testsuite/Makefile.am:
12720 * testsuite/controller/.cvsignore:
12721 * testsuite/controller/Makefile.am:
12722 * testsuite/controller/interpolator.c: (main):
12723 added controller code
12724 removed dparam pc files
12726 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12727 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
12728 (gst_collectpads_stop):
12729 Broadcast the condition when shutting down, to make sure we wake all
12730 threads up. Shut down pads on finalize, for safety.
12732 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
12733 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12734 (gst_base_transform_handle_buffer),
12735 (gst_base_transform_change_state):
12736 Handle PAUSED->READY->PAUSED transition after negotiation
12738 * gst/gstmessage.c: (gst_message_init):
12739 Extra piece of debug for new messages.
12741 2005-08-01 Stefan Kost <ensonic@users.sf.net>
12744 * docs/gst/tmpl/gstbasesrc.sgml:
12745 * docs/gst/tmpl/gstelement.sgml:
12746 * docs/gst/tmpl/gstevent.sgml:
12747 * docs/gst/tmpl/gstfakesrc.sgml:
12748 * docs/gst/tmpl/gstformat.sgml:
12749 * docs/gst/tmpl/gstghostpad.sgml:
12750 * docs/gst/tmpl/gstpad.sgml:
12751 * docs/gst/tmpl/gstquery.sgml:
12752 * docs/gst/tmpl/gststructure.sgml:
12753 * docs/gst/tmpl/gsttaglist.sgml:
12754 * docs/gst/tmpl/gstvalue.sgml:
12755 * docs/libs/gstreamer-libs-docs.sgml:
12756 * docs/libs/gstreamer-libs-sections.txt:
12757 * docs/libs/gstreamer-libs.types:
12758 * libs/gst/Makefile.am:
12759 * libs/gst/control/.cvsignore:
12760 * libs/gst/control/Makefile.am:
12761 * libs/gst/control/control.c:
12762 * libs/gst/control/control.h:
12763 * libs/gst/control/dparam.c:
12764 * libs/gst/control/dparam.h:
12765 * libs/gst/control/dparam_smooth.c:
12766 * libs/gst/control/dparam_smooth.h:
12767 * libs/gst/control/dparamcommon.h:
12768 * libs/gst/control/dparammanager.c:
12769 * libs/gst/control/dparammanager.h:
12770 * libs/gst/control/dplinearinterp.c:
12771 * libs/gst/control/dplinearinterp.h:
12772 * libs/gst/control/unitconvert.c:
12773 * libs/gst/control/unitconvert.h:
12774 * testsuite/Makefile.am:
12775 * testsuite/dynparams/.cvsignore:
12776 * testsuite/dynparams/Makefile.am:
12777 * testsuite/dynparams/dparamstest.c:
12778 * tools/Makefile.am:
12779 * tools/gst-inspect.c: (print_element_info), (main):
12780 * tools/gst-xmlinspect.c: (print_element_info), (main):
12781 deactivate and remove dparams (libgstcontrol)
12783 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12785 * gst/elements/gsttypefindelement.c:
12786 (gst_type_find_element_have_type), (gst_type_find_element_init),
12787 (stop_typefinding), (gst_type_find_element_handle_event),
12788 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12789 * gst/elements/gsttypefindelement.h:
12790 Set caps on all outgoing buffers, not just the first one.
12792 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12794 * gst/elements/gsttypefindelement.c:
12795 (gst_type_find_element_have_type),
12796 (gst_type_find_element_check_set_buffer_caps),
12797 (gst_type_find_element_init), (stop_typefinding),
12798 (gst_type_find_element_handle_event),
12799 (gst_type_find_element_chain), (gst_type_find_element_getrange):
12800 * gst/elements/gsttypefindelement.h:
12801 Set caps on first outgoing buffer when we've found the type.
12803 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
12805 * docs/gst/gstreamer-docs.sgml:
12806 * docs/gst/gstreamer-sections.txt:
12807 * docs/gst/tmpl/gstscheduler.sgml:
12808 * docs/gst/tmpl/gstschedulerfactory.sgml:
12809 Remove some old cruft from docs.
12811 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
12814 Fix inline docs for GstPadLinkReturn.
12816 * gst/gststructure.c: (gst_structure_has_name):
12817 * gst/gststructure.h:
12818 * docs/gst/gstreamer-sections.txt:
12819 New API: gst_structure_has_name().
12821 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
12824 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
12825 and _LARGEFILE_SOURCE in config.h as required. Do not
12826 export those flags in our .pc files any longer (#142209).
12828 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
12830 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
12831 (gst_file_sink_do_seek), (gst_file_sink_event),
12832 (gst_file_sink_get_current_offset), (gst_file_sink_render):
12833 Redo seek/tell calls with large file support in mind; add some
12834 debugging messages; add log message that tells us when large
12835 file support is unavailable or not enabled for some reason.
12837 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
12838 Add log message that tells us when large file support
12839 is unavailable or not enabled for some reason.
12841 2005-07-29 Wim Taymans <wim@fluendo.com>
12843 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12844 Added test for removing an element with ghostpad from a bin.
12845 Fixed test as current implementation does the right thing.
12847 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
12848 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
12849 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
12850 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
12851 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
12852 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12853 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12854 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12855 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
12856 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
12857 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
12858 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
12859 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12860 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
12861 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
12862 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12863 * gst/gstghostpad.h:
12864 Clean up ghostpads, remove properties for internal stuff.
12867 Prepare for switching targets, not all use cases work yet.
12869 2005-07-29 Wim Taymans <wim@fluendo.com>
12871 * docs/design/part-gstghostpad.txt:
12874 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12875 (gst_bin_remove_func):
12876 Unlinking pads while holding the bin LOCK is not a good
12879 * gst/gstpad.c: (gst_pad_class_init),
12880 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
12881 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
12882 No prob setting template after creating the pad.
12884 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
12886 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
12887 (gst_bus_peek), (gst_bus_source_dispatch),
12888 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
12889 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
12890 gst_bus_poll may be called from other threads. Handle
12891 this nicely by not making poll_data disappear off the
12892 stack once gst_bus_poll returns.
12893 gst_bus_peek now increments the refcount on the returned
12896 2005-07-29 Wim Taymans <wim@fluendo.com>
12898 * docs/design/part-gstghostpad.txt:
12899 Overview of current GhostPad datastructures and use
12900 cases for changing the target.
12902 2005-07-28 Wim Taymans <wim@fluendo.com>
12904 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12905 Added checks for hierarchy consistency whan adding linked
12908 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12909 Added check to test element scheduling without bin/pipeline.
12911 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12912 First add elements to bin, then link.
12914 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
12915 (gst_bin_remove_func):
12916 Unlink pads from elements added/removed from bin to maintain
12917 hierarchy consistency.
12919 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12921 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12922 (gst_base_transform_handle_buffer):
12923 * gst/base/gstbasetransform.h:
12924 Remove broken delay_configure (fixes renegotiation of software
12925 scaling pipelines); remove some leftover printf()s.
12927 2005-07-28 Wim Taymans <wim@fluendo.com>
12929 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12930 Added some more tests for wrong hierarchy
12932 * docs/design/part-overview.txt:
12935 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
12938 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
12939 (gst_element_dispose):
12940 Some more cleanups.
12942 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12943 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
12944 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
12945 (gst_pad_set_caps), (gst_pad_send_event):
12946 Check for correct hierarchy when linking pads. Moving to
12947 strict requirement for ghostpads when linking elements in
12951 Clean ups. Added WRONG_HIERARCHY return value.
12953 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12955 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12956 Better debug if no transform is possible.
12958 2005-07-27 Wim Taymans <wim@fluendo.com>
12960 * docs/random/wtay/network-transp:
12961 Some old doc I had.
12963 2005-07-27 Wim Taymans <wim@fluendo.com>
12965 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12966 (gst_dp_event_from_packet):
12967 Fix serialization of seek events.
12969 2005-07-27 Wim Taymans <wim@fluendo.com>
12971 * check/gst-libs/gdp.c: (GST_START_TEST):
12972 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12973 Fix compilation and fix event serialization.
12975 2005-07-27 Wim Taymans <wim@fluendo.com>
12978 * docs/design/part-TODO.txt:
12979 * docs/design/part-events.txt:
12982 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12983 (gst_base_sink_event), (gst_base_sink_do_sync),
12984 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
12985 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12986 (gst_base_src_do_seek), (gst_base_src_event_handler),
12987 (gst_base_src_loop):
12988 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12989 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12990 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12991 (gst_base_transform_event), (gst_base_transform_handle_buffer),
12992 (gst_base_transform_set_passthrough),
12993 (gst_base_transform_is_passthrough):
12994 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
12995 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13001 * gst/gstelement.c: (gst_element_seek):
13002 * gst/gstelement.h:
13003 Update gst_element_seek.
13005 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13006 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13007 (gst_event_new_flush_start), (gst_event_new_flush_stop),
13008 (gst_event_new_eos), (gst_event_new_newsegment),
13009 (gst_event_parse_newsegment), (gst_event_new_tag),
13010 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13011 (gst_event_parse_qos), (gst_event_new_seek),
13012 (gst_event_parse_seek), (gst_event_new_navigation):
13014 Make GstEvent use GstStructure. Add parsing code, make sure the
13015 API is sufficiently generic.
13016 Mark possible directions of events and serialization.
13018 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13019 (_gst_message_copy), (gst_message_new_segment_start),
13020 (gst_message_new_segment_done), (gst_message_new_custom),
13021 (gst_message_parse_segment_start),
13022 (gst_message_parse_segment_done):
13025 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13026 (gst_pad_set_caps), (gst_pad_send_event):
13027 Update for new events.
13028 Catch events sent in wrong directions.
13030 * gst/gstqueue.c: (gst_queue_link_src),
13031 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13032 (gst_queue_handle_src_query):
13037 Remove event code from this file.
13039 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13040 (gst_dp_event_from_packet):
13043 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13045 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13046 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13047 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13048 Make debugging actually useful.
13050 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13052 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13053 (gst_pad_fixate_caps):
13054 Implement default fixation once again, so that gst_pad_fixate()
13055 actually does anything at all. This probably needs to be some
13056 sort of a last resort, and use profile-based fixation first, but
13057 since that doesn't exist yet, this is the best we have. Fixes
13058 visualization in Totem.
13060 2005-07-22 Wim Taymans <wim@fluendo.com>
13062 * docs/design/part-events.txt:
13065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13066 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13067 (gst_base_sink_activate_pull):
13068 Some more comments.
13070 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13071 (gst_fake_src_create):
13072 Fix handoff marshall.
13074 * gst/elements/gstidentity.c: (gst_identity_class_init),
13075 (gst_identity_transform_ip):
13076 We're a real inplace element.
13078 * gst/gstbus.c: (gst_bus_post):
13079 Added some comments.
13081 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13082 * tests/muxing/case1.c: (main):
13083 * tests/sched/dynamic-pipeline.c: (main):
13084 * tests/sched/interrupt1.c: (main):
13085 * tests/sched/interrupt2.c: (main):
13086 * tests/sched/interrupt3.c: (main):
13087 * tests/sched/runxml.c: (main):
13088 * tests/sched/sched-stress.c: (main):
13089 * tests/seeking/seeking1.c: (event_received), (main):
13090 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13092 * tests/threadstate/threadstate3.c: (main):
13093 * tests/threadstate/threadstate4.c: (main):
13094 * tests/threadstate/threadstate5.c: (main):
13097 2005-07-21 Wim Taymans <wim@fluendo.com>
13099 * docs/design/part-seeking.txt:
13100 Some small additions.
13102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13103 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13104 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13105 * gst/base/gstbasesink.h:
13106 discont values are gint64, handle the math correctly.
13108 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13109 Make the basesrc report error if the source pad is not linked.
13111 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13112 (gst_queue_loop), (gst_queue_handle_src_query),
13113 (gst_queue_src_activate_push):
13114 Make queue collect data even if the srcpad is not linked.
13115 Start pushing out data as soon as it is linked.
13117 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13119 Added gst_flow_get_name() to ease error reporting.
13121 2005-07-20 Wim Taymans <wim@fluendo.com>
13123 * gst/gstmessage.c: (gst_message_new_segment_start),
13124 (gst_message_new_segment_done), (gst_message_parse_segment_start),
13125 (gst_message_parse_segment_done):
13126 * gst/gstmessage.h:
13127 Added a bunch of messages for advanced seeking.
13129 * gst/parse/grammar.y:
13130 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13131 (gst_dpman_state_changed):
13132 Fix some new-pad -> pad-added signals
13134 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13136 * docs/manual/appendix-porting.xml:
13137 * docs/pwg/appendix-porting.xml:
13138 Document new-pad/state-change signal renames and the FixedList
13141 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13143 * docs/manual/advanced-autoplugging.xml:
13144 * docs/manual/basics-helloworld.xml:
13145 * docs/manual/basics-pads.xml:
13146 * docs/random/ds/0.9-suggested-changes:
13147 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13148 * gst/gstelement.h:
13152 * gst/gststructure.c: (gst_structure_value_get_generic_type),
13153 (gst_structure_parse_array), (gst_structure_parse_value):
13154 * gst/gstvalue.c: (gst_type_is_fixed),
13155 (gst_value_list_prepend_value), (gst_value_list_append_value),
13156 (gst_value_list_get_size), (gst_value_list_get_value),
13157 (gst_value_transform_array_string), (gst_value_serialize_array),
13158 (gst_value_deserialize_array), (gst_value_intersect_array),
13159 (gst_value_is_fixed), (_gst_value_initialize):
13161 GstElement::new-pad -> pad-added, GstElement::state-change ->
13162 state-changed, GstValueFixedList -> GstValueArray, add format and
13163 flags as their own arguments in gst_element_seek() (should improve
13164 "bindeability"), remove function generators since they don't work
13165 under a whole bunch of compilers (they were deprecated already
13168 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13170 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13171 (_gst_debug_register_funcptr):
13173 Fix illegal cast on some platforms (#309253).
13175 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13177 * gst/gstmessage.c: (gst_message_new_custom):
13178 * gst/gstmessage.h:
13179 Add _new_custom, make _new_application a macro to _new_custom.
13181 2005-07-20 Wim Taymans <wim@fluendo.com>
13183 * gst/base/gstbasesrc.c: (gst_base_src_init),
13184 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13185 * gst/base/gstbasesrc.h:
13186 Add a gboolean to decide when to push out a discont.
13188 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13189 (gst_queue_loop), (gst_queue_handle_src_query),
13190 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13191 (gst_queue_set_property), (gst_queue_get_property):
13194 * tests/threadstate/threadstate1.c: (main):
13195 Make a thread test compile and run... very silly..
13198 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13200 * docs/manual/appendix-porting.xml:
13201 Mention removal of libgstgconf-0.9.la and existence of gconf
13204 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13206 * docs/pwg/advanced-clock.xml:
13207 * docs/pwg/appendix-porting.xml:
13208 * docs/pwg/intro-preface.xml:
13209 * docs/pwg/other-base.xml:
13210 * docs/pwg/other-manager.xml:
13211 * docs/pwg/other-nton.xml:
13212 * docs/pwg/other-ntoone.xml:
13213 * docs/pwg/other-oneton.xml:
13214 * docs/pwg/pwg.xml:
13215 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13216 demuxer), remove n-to-n (was never written), fix some code examples
13217 and links and update the porting section to include all this.
13219 2005-07-19 Wim Taymans <wim@fluendo.com>
13221 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13222 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13223 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13224 (gst_queue_src_activate_push), (gst_queue_change_state),
13225 (gst_queue_get_property):
13227 Propagate GstFlowReturn more intelligently upstream and output
13228 an ERROR/EOS when streaming stopped due to fatal error.
13230 2005-07-19 Wim Taymans <wim@fluendo.com>
13232 * tools/gst-launch.c: (check_intr), (event_loop), (main):
13233 Don't block forever for the state change to complete, the
13234 pipeline already did with a sensible timeout.
13236 2005-07-19 Wim Taymans <wim@fluendo.com>
13238 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13239 Make sure we never call the create function is we
13242 2005-07-19 Andy Wingo <wingo@pobox.com>
13244 * gst/parse/parse.l: Attempt to solve bug #172815.
13246 2005-07-19 Wim Taymans <wim@fluendo.com>
13248 * docs/design/part-clocks.txt:
13249 * docs/design/part-events.txt:
13250 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13251 Small docs updates.
13252 Only update the seeking values when we are not
13255 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13257 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13258 Oops, ignore the result of gst_pad_push_event here.
13260 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13262 * gst/base/gstbasesrc.c: (gst_base_src_loop),
13263 (gst_base_src_activate_push):
13264 Send discont event from the loop function, as pads
13265 aren't activated yet in the activate_push handler.
13267 * gst/gstbin.c: (bin_bus_handler):
13268 Don't leak element name.
13270 2005-07-18 Andy Wingo <wingo@pobox.com>
13272 * configure.ac: Use AS_LIBTOOL_TAGS.
13274 2005-07-18 Wim Taymans <wim@fluendo.com>
13276 * docs/gst/gstreamer.types:
13277 Remove deleted types.
13279 2005-07-18 Wim Taymans <wim@fluendo.com>
13281 * check/elements/gstfakesrc.c: (GST_START_TEST):
13284 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13285 (init_popt_callback):
13287 * gst/gst_private.h:
13288 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13289 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13292 * gst/gstconfig.h.in:
13293 * gst/gstelement.c: (gst_element_class_init),
13294 (gst_element_set_base_time), (gst_element_get_base_time),
13295 (iterator_fold_with_resync), (gst_element_change_state),
13296 (gst_element_dispose), (gst_element_get_bus):
13297 * gst/gstelement.h:
13298 * gst/gstelementfactory.h:
13299 * gst/gsterror.c: (_gst_core_errors_init):
13302 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13304 * gst/gstinfo.c: (_gst_debug_init):
13305 * gst/gstmessage.c: (_gst_message_copy):
13306 * gst/gstmessage.h:
13307 * gst/gstminiobject.h:
13310 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13311 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13314 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13315 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13316 (gst_pipeline_get_last_stream_time):
13317 * gst/gstpipeline.h:
13318 * gst/gstpluginfeature.h:
13320 * gst/gstscheduler.c:
13321 * gst/gstscheduler.h:
13322 * gst/gststructure.h:
13323 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13324 (gst_task_finalize), (gst_task_func), (gst_task_create),
13325 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13326 (gst_task_stop), (gst_task_pause):
13328 * gst/gsttypefind.h:
13330 * gst/registries/gstlibxmlregistry.c: (load_feature),
13331 (gst_xml_registry_load), (gst_xml_registry_save_feature):
13332 * gst/registries/gstxmlregistry.c:
13333 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13334 * gst/schedulers/threadscheduler.c:
13335 * libs/gst/control/dparammanager.h:
13336 * tools/gst-inspect.c: (print_element_list),
13337 (print_plugin_features), (print_element_features):
13338 * tools/gst-xmlinspect.c: (print_element_list),
13339 (print_plugin_info), (main):
13340 Removed plugable schedulers.
13341 Removed Scheduler/Manager from elements.
13342 Removed gsttypes.h, rearranged includes.
13343 Removed dependency pad<->element, element<>pipeline, and
13344 various others, fix includes.
13345 implement gst_pad_get_parent() with gst_object_get_parent()
13346 Make GstTask sefcontained.
13347 Fix _get_state() on GstBin, it did not return ASYNC with a 0
13349 Fix endless loop in iterator_fold_with_resync.
13352 2005-07-18 Wim Taymans <wim@fluendo.com>
13358 2005-07-18 Wim Taymans <wim@fluendo.com>
13361 No more cothreads.h
13363 2005-07-18 Wim Taymans <wim@fluendo.com>
13367 Let's remove these.
13369 2005-07-18 Wim Taymans <wim@fluendo.com>
13371 * docs/design/part-dynamic.txt:
13372 * docs/design/part-events.txt:
13373 * docs/design/part-seeking.txt:
13374 Some more docs in the works.
13376 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13377 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13378 (gst_base_transform_setcaps), (gst_base_transform_get_size),
13379 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13380 (gst_base_transform_handle_buffer),
13381 (gst_base_transform_sink_activate_push),
13382 (gst_base_transform_src_activate_pull),
13383 (gst_base_transform_set_passthrough),
13384 (gst_base_transform_is_passthrough):
13387 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13390 * gst/gstevent.c: (gst_event_finalize):
13393 * gst/gstutils.c: (gst_element_unlink),
13394 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13395 (gst_pad_proxy_setcaps):
13397 Add _get_parent_element() to get a pads parent as an element.
13399 2005-07-18 Wim Taymans <wim@fluendo.com>
13401 * check/gst/gstbin.c: (GST_START_TEST):
13404 2005-07-18 Wim Taymans <wim@fluendo.com>
13406 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13407 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13408 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13409 (gst_base_sink_event), (gst_base_sink_do_sync),
13410 (gst_base_sink_chain), (gst_base_sink_loop),
13411 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13412 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13414 Fix logic for returning ASYNC when not prerolled.
13416 2005-07-18 Wim Taymans <wim@fluendo.com>
13418 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13419 Fix nasty refcount bug.
13421 2005-07-16 Philippe Khalaf <burger@speedy.org>
13423 * gst/elements/gstfdsrc.c:
13424 * gst/elements/gstfdsrc.h:
13425 * gst/elements/gstelements.c:
13426 * gst/elements/Makefile.am:
13427 Ported fdsrc to 0.9.
13429 2005-07-16 Wim Taymans <wim@fluendo.com>
13431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13432 (gst_base_sink_do_sync):
13435 2005-07-16 Wim Taymans <wim@fluendo.com>
13437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13438 (gst_base_sink_event), (gst_base_sink_get_times),
13439 (gst_base_sink_do_sync), (gst_base_sink_change_state):
13440 * gst/base/gstbasesink.h:
13441 Store and use discont values when syncing buffers as described
13444 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13445 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
13446 (gst_base_src_activate_push):
13447 Push discont event when starting.
13449 * gst/elements/gstidentity.c: (gst_identity_transform):
13452 * gst/gstbin.c: (gst_bin_change_state):
13453 Small cleanups in base_time distribution.
13455 * gst/gstelement.c: (gst_element_set_base_time),
13456 (gst_element_get_base_time), (gst_element_change_state):
13457 * gst/gstelement.h:
13458 Added methods for the base_time of the element.
13461 * gst/gstpipeline.c: (gst_pipeline_send_event),
13462 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13463 (gst_pipeline_get_last_stream_time):
13464 * gst/gstpipeline.h:
13466 Handle seeking as described in design doc, remove stream_time
13468 Cleanups clock and stream_time selection code. Added accessors
13469 for the stream_time.
13472 2005-07-16 Andy Wingo <wingo@pobox.com>
13474 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
13477 2005-07-16 Wim Taymans <wim@fluendo.com>
13479 * check/gst/gstbin.c: (GST_START_TEST):
13480 Make elements silent as the deep_notify refs the
13481 parent, which might make the test fail.
13483 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13484 Don't hold the lock for too long.
13486 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
13488 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13489 Don't unref the caps we passed to gst_caps_make_writable() after
13490 passing them. gst_caps_make_writable() will do that for us.
13492 2005-07-15 Andy Wingo <wingo@pobox.com>
13494 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
13497 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
13498 own marshalling function for the handoff signal. Properly type the
13499 buffer as a buffer. Fixes some warnings. Should do a more general
13501 (gst_identity_class_init): Plug into the right marshaller.
13503 2005-07-15 Wim Taymans <wim@fluendo.com>
13505 * docs/design/part-TODO.txt:
13506 * docs/design/part-clocks.txt:
13507 * docs/design/part-element-sink.txt:
13508 * docs/design/part-events.txt:
13509 * docs/design/part-gstpipeline.txt:
13510 Updated docs, mostly DISCONT related.
13512 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
13514 * docs/pwg/building-pads.xml:
13515 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
13517 2005-07-15 Andy Wingo <wingo@pobox.com>
13519 * tools/gst-typefind.c: Update, add copyright block.
13521 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
13522 Normalize and truncate caps before fixation.
13525 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
13526 discards all but the first structure from its argument.
13528 2005-07-15 Wim Taymans <wim@fluendo.com>
13530 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13531 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
13532 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13533 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13534 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
13535 (gst_base_transform_chain), (gst_base_transform_change_state),
13536 (gst_base_transform_set_passthrough),
13537 (gst_base_transform_is_passthrough):
13538 * gst/base/gstbasetransform.h:
13539 Make passthrough work using the bufferpools.
13540 Changed API a bit, subclasses have to write into a buffer
13541 provided by the base class.
13542 More debug info in nego functions.
13544 * gst/elements/gstidentity.c: (gst_identity_init),
13545 (gst_identity_transform):
13546 Port to new base class.
13548 2005-07-15 Wim Taymans <wim@fluendo.com>
13550 * gst/gstmessage.c: (gst_message_new_state_changed):
13551 * tools/gst-launch.c: (event_loop), (main):
13552 Totally dump messages in -launch with the -m option.
13553 Fix message name for State messages,
13555 2005-07-14 Wim Taymans <wim@fluendo.com>
13557 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13558 Post error messages on errors.
13560 2005-07-14 Wim Taymans <wim@fluendo.com>
13562 * gst/gstcaps.c: (gst_caps_do_simplify):
13566 Define error for stream stopped.
13568 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13569 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
13570 Do proper return values.
13572 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13573 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
13574 (gst_pad_get_range):
13575 Better return values.
13578 Reorganise return values, add macro to check for fatal errors.
13580 * gst/gstqueue.c: (gst_queue_chain):
13581 Return proper GstFlowReturn values,
13583 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
13585 * docs/gst/gstreamer-sections.txt:
13586 * docs/gst/gstreamer.types:
13587 * docs/gst/tmpl/gst.sgml:
13588 * docs/gst/tmpl/gstbasesink.sgml:
13589 * docs/gst/tmpl/gstbasesrc.sgml:
13590 * docs/gst/tmpl/gstbasetransform.sgml:
13591 * docs/gst/tmpl/gstbin.sgml:
13592 * docs/gst/tmpl/gstbuffer.sgml:
13593 * docs/gst/tmpl/gstcaps.sgml:
13594 * docs/gst/tmpl/gstclock.sgml:
13595 * docs/gst/tmpl/gstcompat.sgml:
13596 * docs/gst/tmpl/gstconfig.sgml:
13597 * docs/gst/tmpl/gstelement.sgml:
13598 * docs/gst/tmpl/gstelementdetails.sgml:
13599 * docs/gst/tmpl/gstelementfactory.sgml:
13600 * docs/gst/tmpl/gstenumtypes.sgml:
13601 * docs/gst/tmpl/gsterror.sgml:
13602 * docs/gst/tmpl/gstevent.sgml:
13603 * docs/gst/tmpl/gstfakesink.sgml:
13604 * docs/gst/tmpl/gstfakesrc.sgml:
13605 * docs/gst/tmpl/gstfilesink.sgml:
13606 * docs/gst/tmpl/gstfilesrc.sgml:
13607 * docs/gst/tmpl/gstfilter.sgml:
13608 * docs/gst/tmpl/gstformat.sgml:
13609 * docs/gst/tmpl/gstghostpad.sgml:
13610 * docs/gst/tmpl/gstimplementsinterface.sgml:
13611 * docs/gst/tmpl/gstindex.sgml:
13612 * docs/gst/tmpl/gstindexfactory.sgml:
13613 * docs/gst/tmpl/gstinfo.sgml:
13614 * docs/gst/tmpl/gstiterator.sgml:
13615 * docs/gst/tmpl/gstmacros.sgml:
13616 * docs/gst/tmpl/gstmemchunk.sgml:
13617 * docs/gst/tmpl/gstminiobject.sgml:
13618 * docs/gst/tmpl/gstobject.sgml:
13619 * docs/gst/tmpl/gstpad.sgml:
13620 * docs/gst/tmpl/gstpadtemplate.sgml:
13621 * docs/gst/tmpl/gstparse.sgml:
13622 * docs/gst/tmpl/gstpipeline.sgml:
13623 * docs/gst/tmpl/gstplugin.sgml:
13624 * docs/gst/tmpl/gstpluginfeature.sgml:
13625 * docs/gst/tmpl/gstquery.sgml:
13626 * docs/gst/tmpl/gstqueue.sgml:
13627 * docs/gst/tmpl/gstregistry.sgml:
13628 * docs/gst/tmpl/gstregistrypool.sgml:
13629 * docs/gst/tmpl/gstscheduler.sgml:
13630 * docs/gst/tmpl/gstschedulerfactory.sgml:
13631 * docs/gst/tmpl/gststructure.sgml:
13632 * docs/gst/tmpl/gstsystemclock.sgml:
13633 * docs/gst/tmpl/gsttaglist.sgml:
13634 * docs/gst/tmpl/gsttagsetter.sgml:
13635 * docs/gst/tmpl/gsttrace.sgml:
13636 * docs/gst/tmpl/gsttrashstack.sgml:
13637 * docs/gst/tmpl/gsttypefind.sgml:
13638 * docs/gst/tmpl/gsttypefindfactory.sgml:
13639 * docs/gst/tmpl/gsttypes.sgml:
13640 * docs/gst/tmpl/gsturihandler.sgml:
13641 * docs/gst/tmpl/gsturitype.sgml:
13642 * docs/gst/tmpl/gstutils.sgml:
13643 * docs/gst/tmpl/gstvalue.sgml:
13644 * docs/gst/tmpl/gstversion.sgml:
13645 * docs/gst/tmpl/gstxml.sgml:
13646 * docs/libs/tmpl/gstcontrol.sgml:
13647 * docs/libs/tmpl/gstdataprotocol.sgml:
13648 * docs/libs/tmpl/gstdparam.sgml:
13649 * docs/libs/tmpl/gstdplinint.sgml:
13650 * docs/libs/tmpl/gstdpman.sgml:
13651 * docs/libs/tmpl/gstdpsmooth.sgml:
13652 * docs/libs/tmpl/gstgetbits.sgml:
13653 * docs/libs/tmpl/gstunitconvert.sgml:
13654 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
13655 (gst_push_src_base_init), (gst_push_src_class_init),
13656 (gst_push_src_init), (gst_push_src_create):
13657 * gst/base/gstpushsrc.h:
13658 * gst/elements/gstelements.c:
13659 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
13660 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
13661 (gst_fake_sink_init), (gst_fake_sink_set_property),
13662 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
13663 (gst_fake_sink_event), (gst_fake_sink_preroll),
13664 (gst_fake_sink_render), (gst_fake_sink_change_state):
13665 * gst/elements/gstfakesink.h:
13666 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13667 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13668 (gst_fake_src_base_init), (gst_fake_src_class_init),
13669 (gst_fake_src_init), (gst_fake_src_event_handler),
13670 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
13671 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
13672 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
13673 (gst_fake_src_create_buffer), (gst_fake_src_create),
13674 (gst_fake_src_start), (gst_fake_src_stop):
13675 * gst/elements/gstfakesrc.h:
13676 * gst/elements/gstfilesink.c: (_do_init),
13677 (gst_file_sink_base_init), (gst_file_sink_class_init),
13678 (gst_file_sink_init), (gst_file_sink_dispose),
13679 (gst_file_sink_set_location), (gst_file_sink_set_property),
13680 (gst_file_sink_get_property), (gst_file_sink_open_file),
13681 (gst_file_sink_close_file), (gst_file_sink_query),
13682 (gst_file_sink_event), (gst_file_sink_render),
13683 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
13684 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
13685 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
13686 * gst/elements/gstfilesink.h:
13687 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
13688 (gst_file_src_class_init), (gst_file_src_init),
13689 (gst_file_src_finalize), (gst_file_src_set_location),
13690 (gst_file_src_set_property), (gst_file_src_get_property),
13691 (gst_file_src_map_region), (gst_file_src_map_small_region),
13692 (gst_file_src_create_mmap), (gst_file_src_create_read),
13693 (gst_file_src_create), (gst_file_src_is_seekable),
13694 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
13695 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
13696 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
13697 (gst_file_src_uri_handler_init):
13698 * gst/elements/gstfilesrc.h:
13699 more autistic cleanliness in functions/names/defines
13701 2005-07-13 Andy Wingo <wingo@pobox.com>
13703 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
13704 source couldn't negotiate.
13706 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
13710 * gst/gstutils.c (gst_element_link_pads_filtered): New old
13711 function. I am channeling Hades. Put your boots on suckers!!!
13713 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13715 * testsuite/caps/Makefile.am:
13716 * testsuite/caps/value_compare.c:
13717 * testsuite/caps/value_intersect.c:
13718 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13719 move two testsuite apps over to the check dir
13721 2005-07-12 Wim Taymans <wim@fluendo.com>
13723 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13724 Added more debug info in the negotiate process.
13726 * gst/gstmessage.h:
13727 Prepare for segment playback.
13729 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
13735 * tools/gst-launch.c: (main):
13736 NULL pipeline on errors.
13738 2005-07-12 Andy Wingo <wingo@pobox.com>
13740 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
13741 not it comes from a malloc region. Make sure our copy gets freed.
13743 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13745 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13746 * check/gst/gstmessage.c: (GST_START_TEST):
13747 * check/gst/gststructure.c: (GST_START_TEST),
13748 (gst_structure_suite), (main):
13750 * gst/gstelement.c: (gst_element_message_full):
13751 clean up GError and debug string now that they get copied
13752 * gst/gstmessage.c: (gst_message_new_error),
13753 (gst_message_new_warning), (gst_message_parse_error),
13754 (gst_message_parse_warning):
13755 use GST_TYPE_G_ERROR for structure_new, and take copies of
13756 arguments, so that we don't mess up refcounting
13758 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13760 * check/Makefile.am:
13761 add per-test valgrind targets
13762 * check/gst-libs/gdp.c: (GST_START_TEST),
13763 (gst_data_protocol_suite), (main):
13766 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
13768 * check/Makefile.am:
13769 instate more valgrindable tests
13770 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13771 (GST_START_TEST), (fakesrc_suite):
13772 * check/gst/gstpad.c: (GST_START_TEST):
13773 * check/gst/gststructure.c: (GST_START_TEST):
13775 * docs/gst/tmpl/gstminiobject.sgml:
13776 * gst/gstpad.c: (gst_pad_finalize):
13777 fix the static mutex leak
13779 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13781 * check/Makefile.am:
13782 add two more tests for valgrinding
13783 * check/gst/gstvalue.c: (GST_START_TEST):
13784 test refcount of deserialized buffer, found a leak
13785 * docs/gst/gstreamer-docs.sgml:
13786 * docs/gst/gstreamer-sections.txt:
13787 * docs/gst/gstreamer.types:
13788 * docs/gst/tmpl/gstminiobject.sgml:
13789 add miniobject to docs
13790 * gst/gstminiobject.c:
13792 * gst/gstvalue.c: (gst_value_deserialize_buffer),
13793 (gst_string_unwrap):
13794 fix a hard-to-find invalid write for one of the tests
13795 fix a leak for deserialized buffers
13797 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13799 * docs/pwg/advanced-events.xml:
13800 * docs/pwg/advanced-request.xml:
13801 * docs/pwg/advanced-scheduling.xml:
13802 * docs/pwg/appendix-porting.xml:
13803 * docs/pwg/building-boiler.xml:
13804 * docs/pwg/intro-preface.xml:
13805 * docs/pwg/other-ntoone.xml:
13806 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
13807 of example code and explanation for pad activation, loop() and
13808 getrange() functions and a bit more. Remove old comments pointing
13810 * examples/pwg/Makefile.am:
13811 Add loop/getrange examples.
13813 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13816 check for valgrind binary + some fixes
13818 valgrind suppressions for the tests
13819 * check/Makefile.am:
13820 add a valgrind: target that valgrinds the unit tests
13821 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
13822 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13823 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13824 * check/gst/gstghostpad.c:
13826 * check/gst/gstdata.c:
13828 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
13829 (thread_unref), (gst_mini_object_suite), (main):
13831 * gst/gst.c: (gst_deinit):
13833 add a method to clean up.
13834 * gst/gstsystemclock.c: (gst_system_clock_dispose),
13835 (gst_system_clock_obtain):
13836 allow for disposing the system clock.
13837 * tools/gst-launch.c: (main):
13840 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
13842 * docs/gst/tmpl/gstbasesrc.sgml:
13843 * docs/gst/tmpl/gstfakesrc.sgml:
13844 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13845 (gst_base_src_init), (gst_base_src_set_property),
13846 (gst_base_src_get_property), (gst_base_src_get_range),
13847 (gst_base_src_start):
13848 * gst/base/gstbasesrc.h:
13849 add num-buffers property
13850 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13851 (gst_fakesrc_init), (gst_fakesrc_set_property),
13852 (gst_fakesrc_get_property), (gst_fakesrc_create),
13853 (gst_fakesrc_start):
13854 remove num-buffers property
13856 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13858 * docs/gst/gstreamer-sections.txt:
13859 * docs/gst/tmpl/gstbasesink.sgml:
13860 * docs/gst/tmpl/gstbasesrc.sgml:
13861 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13862 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13863 (gst_base_sink_finalize), (gst_base_sink_set_clock),
13864 (gst_base_sink_set_property), (gst_base_sink_get_property),
13865 (gst_base_sink_handle_object), (gst_base_sink_event),
13866 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13867 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
13868 (gst_base_sink_loop), (gst_base_sink_deactivate),
13869 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
13870 (gst_base_sink_change_state):
13871 * gst/base/gstbasesink.h:
13872 * gst/base/gstbasesrc.h:
13873 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
13874 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
13875 (gst_filesink_init):
13876 more macro splitting
13878 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13880 * gst/gstelement.c: (gst_element_get_bus):
13882 * tools/gst-launch.c: (check_intr), (event_loop):
13885 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13887 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13890 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
13892 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13893 (gst_base_src_finalize):
13894 add finalize method and clean up properly
13895 * gst/gstpipeline.c: (gst_pipeline_dispose):
13898 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13900 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
13902 add more things to check
13903 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13904 * gst/gstelement.c:
13907 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13909 * check/elements/gstfakesrc.c: (chain_func), (event_func),
13910 (GST_START_TEST), (fakesrc_suite):
13911 * check/gst-libs/gdp.c: (GST_START_TEST):
13912 * check/gst/gst.c: (GST_START_TEST):
13913 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13914 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13915 * check/gst/gstbus.c: (GST_START_TEST):
13916 * check/gst/gstcaps.c: (GST_START_TEST):
13917 * check/gst/gstdata.c: (GST_START_TEST):
13918 * check/gst/gstelement.c: (GST_START_TEST):
13919 * check/gst/gstghostpad.c: (GST_START_TEST):
13920 * check/gst/gstiterator.c: (GST_START_TEST):
13921 * check/gst/gstmessage.c: (GST_START_TEST):
13922 * check/gst/gstobject.c: (GST_START_TEST):
13923 * check/gst/gstpad.c: (GST_START_TEST):
13924 * check/gst/gststructure.c: (GST_START_TEST):
13925 * check/gst/gstsystemclock.c: (GST_START_TEST),
13926 (gst_systemclock_suite):
13927 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13928 * check/gst/gstvalue.c: (GST_START_TEST):
13929 * check/pipelines/cleanup.c: (GST_START_TEST):
13930 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13931 * check/states/sinks.c: (GST_START_TEST):
13932 * check/gstcheck.c: (gst_check_init):
13933 * check/gstcheck.h:
13934 add debugging category
13935 use GST_START_TEST now, so we add a debug line
13937 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
13939 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
13940 add test for state change message on a bin
13941 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
13943 * gst/gstbin.c: (gst_bin_init):
13944 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
13945 * gst/gstelement.c: (gst_element_post_message),
13946 (gst_element_set_state):
13947 * gst/gstelementfactory.c: (gst_element_factory_create):
13948 * gst/gstmessage.c: (gst_message_new):
13949 * gst/gstscheduler.c:
13950 various debugging additions and cleanups
13952 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13954 * check/Makefile.am:
13955 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
13957 adding tests for elements
13958 * gst/gstelement.c: (gst_element_dispose):
13960 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13962 * gst/registries/gstlibxmlregistry.c: (load_feature):
13963 plug more leaks. A simple gst_init() now is leakfree, yay.
13965 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13967 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
13968 (gst_xml_registry_load):
13969 plug another memleak
13971 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13974 use GST_SET_ERROR_CFLAGS
13975 * docs/faq/cvs.xml:
13976 change to ERROR_CFLAGS
13978 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
13981 make GST_ERROR_CFLAGS overridable and re-enable Werror
13982 * docs/faq/cvs.xml:
13983 add a note about error CFLAGS
13984 * docs/gst/tmpl/gstfakesrc.sgml:
13985 * gst/elements/gstfakesrc.c:
13986 comment out some unused code
13987 * gst/gst.c: (split_and_iterate):
13988 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
13992 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
13994 * common/Makefile.am:
13995 * common/gtk-doc.mak:
13996 * docs/gst/Makefile.am:
13997 factor out gtk-doc.mak
13999 2005-07-07 Wim Taymans <wim@fluendo.com>
14001 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14002 (gst_thread_scheduler_dispose):
14003 Unlock the STREAM_LOCK completely.
14005 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14007 * check/Makefile.am:
14008 * check/elements/.cvsignore:
14009 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14010 (START_TEST), (fakesrc_suite), (main):
14011 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14012 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14013 (gst_fakesrc_create), (gst_fakesrc_start):
14014 * gst/elements/gstfakesrc.h:
14015 adding a first element test
14017 2005-07-07 Andy Wingo <wingo@pobox.com>
14019 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14022 2005-07-07 Wim Taymans <wim@fluendo.com>
14028 2005-07-07 Wim Taymans <wim@fluendo.com>
14030 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14031 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14032 Allow subclasses to implement their own negotiation.
14034 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14036 * docs/design/part-gstbin.txt:
14037 * docs/design/part-gstpipeline.txt:
14038 Update design notes to reflect the movement of
14039 responsibility for bus handling from GstPipeline to
14042 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14045 Remove unnecessary queue2/3/4 examples.
14047 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14049 * examples/Makefile.am:
14050 * examples/helloworld/helloworld.c: (event_loop), (main):
14051 * examples/queue/queue.c: (event_loop), (main):
14052 * examples/queue2/queue2.c: (main):
14053 Update a couple of the examples to work again.
14055 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14056 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14057 Spelling corrections and extra debug.
14059 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14060 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14061 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14063 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14064 (gst_pipeline_change_state):
14065 * gst/gstpipeline.h:
14066 Move the bus handler for children to the GstBin, and create a
14067 separate bus for receiving messages from children to the one the
14068 bus sends 'upwards' on.
14070 2005-07-06 Wim Taymans <wim@fluendo.com>
14073 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14074 (gst_base_sink_handle_object), (gst_base_sink_loop),
14075 (gst_base_sink_change_state):
14076 * gst/base/gstbasesink.h:
14077 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14078 (gst_base_src_init), (gst_base_src_setcaps),
14079 (gst_base_src_getcaps), (gst_base_src_loop),
14080 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14081 (gst_base_src_start), (gst_base_src_change_state):
14082 * gst/base/gstbasesrc.h:
14083 Make basesrc negotiate.
14084 Handle the case where preroll fails in basesink.
14087 2005-07-06 Wim Taymans <wim@fluendo.com>
14089 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14090 Implement the fixate function.
14091 Clean up acceptcaps.
14093 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14095 * docs/pwg/building-filterfactory.xml:
14096 * docs/pwg/pwg.xml:
14097 Remove never-written filter-factory chapter; I'll add the various
14098 base classes to part 4 ("other element types") later on.
14100 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14102 * docs/pwg/advanced-negotiation.xml:
14103 * docs/pwg/building-boiler.xml:
14104 * docs/pwg/building-pads.xml:
14105 * docs/pwg/pwg.xml:
14106 * examples/pwg/Makefile.am:
14107 Add a chapter on caps negotiation, simplify the original code
14108 samples a bit w.r.t. caps negotiation, add link to the advanced
14109 section. Add a bunch of examples showing different use cases of
14110 different types of caps negotiation. Upstream renegotiation isn't
14111 fully documented yet since nobody knows how that works.
14113 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
14115 * check/gst/gstpad.c:
14116 * check/gstcheck.c:
14117 * gst/gstpad.c: (gst_pad_get_internal_links_default):
14118 if pad has no parent, return NULL as list of internal links
14120 2005-07-05 Andy Wingo <wingo@pobox.com>
14122 * gst/elements/gstfilesrc.c:
14123 * gst/elements/gstfakesrc.c:
14124 * gst/base/gstpushsrc.c:
14125 * gst/base/gstbasesrc.h:
14126 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14128 2005-07-05 Stefan Kost <ensonic@users.sf.net>
14131 better report generation target (lcov needs a patch)
14133 2005-07-05 Andy Wingo <wingo@pobox.com>
14135 * gst/elements, testsuite: Null if we got it...
14137 2005-07-05 Wim Taymans <wim@fluendo.com>
14140 * libs/gst/dataprotocol/Makefile.am:
14141 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14142 * libs/gst/dataprotocol/dataprotocol.h:
14143 * pkgconfig/Makefile.am:
14144 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14145 * pkgconfig/gstreamer-dataprotocol.pc.in:
14146 Ported dataprotol to 0.9.
14147 Added pkgconfig files.
14149 2005-07-05 Andy Wingo <wingo@pobox.com>
14151 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14152 Default to returning TRUE for the case when tranform_caps returns
14153 a fixed caps, like for identity or volume.
14155 * check/gst/gstbus.c (pound_bus_with_messages):
14156 * check/gst/gstmessage.c (START_TEST):
14157 * check/pipelines/simple_launch_lines.c (got_handoff): Application
14158 message API change.
14160 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14161 logic weaks here: always run transform_caps, trying passthrough
14162 operation only if the original caps intersects with the transform.
14164 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14165 source and sink caps.
14167 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14168 Intersect the peer caps with the pad template before going into
14170 (gst_base_transform_transform_caps): More debugging.
14172 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14175 2005-07-04 Edward Hervey <edward@fluendo.com>
14179 (gst_pad_add_*_probe): now returns the signal id for better wrapping
14182 2005-07-04 Andy Wingo <wingo@pobox.com>
14184 * check/gst/gstpad.c: Only set explicit caps on pads.
14186 2005-07-01 Andy Wingo <wingo@pobox.com>
14188 * tests/network-clock.scm: Commentary update.
14190 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14191 Didn't really make sense, not implementable with basetransform,
14193 (gst_identity_transform): Unref inbuf via make_writable. Feeble
14194 attempt at implementing the sync property, needs an unlock method.
14196 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14197 New func, by default returns the same caps (the identity
14199 (gst_base_transform_getcaps): Uses transform_caps to return
14200 something sensible.
14201 (gst_base_transform_setcaps): Complicated logic to get caps on
14202 both pads, even if they are different, and to call set_caps once
14203 for every time both pads get their caps set.
14204 (gst_base_transform_handle_buffer): Give the ref to the transform
14205 function. Allows in-place modification of the buffer.
14207 * gst/base/gstbasetransform.h (transform_caps): New class method.
14208 Given caps on one side, what can I do on the other.
14209 (set_caps): Take two caps, one for each side of the element.
14212 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14213 caps in place. This is safe because we can check the mutability of
14214 the caps, and a good idea because fixate functions are just called
14215 as a matter of last resort. (Not actually implemented.)
14216 (gst_pad_set_caps): If the caps we're setting is actually the same
14217 as the existing pad caps, just update the pointer without calling
14218 setcaps. Assert that caps is either NULL or fixed, as per the
14221 * gst/gstghostpad.c: Update for fixate changes.
14223 2005-07-02 Andy Wingo <wingo@pobox.com>
14226 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14227 two refcounts makes it immutable, which is enough. Doc more.
14229 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
14231 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14232 Put the mini_object into GValue as a mini_object,
14233 not a gpointer, since that's how we declared
14236 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14238 * examples/pwg/Makefile.am:
14239 Fix buildbot again.
14241 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14243 * docs/pwg/building-testapp.xml:
14245 * examples/pwg/Makefile.am:
14248 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14251 * examples/Makefile.am:
14252 * examples/pwg/Makefile.am:
14253 * examples/pwg/extract.pl:
14254 Enable building the PWG examples.
14255 * docs/pwg/advanced-interfaces.xml:
14256 Add URI interface stub.
14257 * docs/pwg/advanced-types.xml:
14258 * docs/pwg/other-autoplugger.xml:
14259 * docs/pwg/appendix-porting.xml:
14260 * docs/pwg/pwg.xml:
14261 Add porting guide (mostly stubs), remove autoplugging (see ADM).
14262 * docs/pwg/building-boiler.xml:
14263 * docs/pwg/building-chainfn.xml:
14264 * docs/pwg/building-pads.xml:
14265 * docs/pwg/building-props.xml:
14266 * docs/pwg/building-state.xml:
14267 * docs/pwg/building-testapp.xml:
14268 Update the building-*.xml parts for 0.9 changes. All examples
14269 code blocks compile in examples/pwg/*.
14271 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14273 * docs/manual/advanced-autoplugging.xml:
14274 * docs/manual/appendix-checklist.xml:
14275 * docs/manual/appendix-integration.xml:
14276 * docs/manual/highlevel-components.xml:
14277 Fix playbin/decodebin examples, update docs a bit, mention bus
14278 instead of signals in various places, mention kmplayer and
14279 kaffeine since they have a working GStreamer backend in the KDE
14282 2005-06-30 Wim Taymans <wim@fluendo.com>
14285 * docs/design/draft-ghostpads.txt:
14286 * docs/design/draft-push-pull.txt:
14287 * docs/design/draft-query.txt:
14288 * docs/design/part-TODO.txt:
14289 * docs/design/part-query.txt:
14290 Added CHANGES-0.9 doc, updated status of other docs.
14295 2005-06-30 Wim Taymans <wim@fluendo.com>
14297 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14298 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14299 (gst_base_sink_change_state):
14300 * gst/base/gstbasesink.h:
14301 Some tweaks, only EOS and a buffer complete a preroll.
14303 2005-06-30 Andy Wingo <wingo@pobox.com>
14305 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14306 activate_push down to the internal pad as well.
14308 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
14310 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14312 * gst/gsttaginterface.c:
14313 Some documentation fixes (#307394 and #307397).
14315 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
14317 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14319 * gst/gstvalue.c: (gst_value_intersect_list):
14320 Fix memleak (#309125).
14322 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14324 * docs/manual/advanced-dataaccess.xml:
14325 Fix fakesrc example to compile; doesn't work, bug somewhere...?
14326 * docs/manual/basics-pads.xml:
14327 Add reference for filtered caps to above chapter.
14329 2005-06-30 Wim Taymans <wim@fluendo.com>
14331 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14332 (gst_bin_change_state):
14334 Lame attempt at making the state change function a bit
14337 2005-06-30 Wim Taymans <wim@fluendo.com>
14339 * docs/design/part-clocks.txt:
14340 * docs/design/part-element-sink.txt:
14341 * docs/design/part-events.txt:
14342 * docs/design/part-preroll.txt:
14343 * docs/design/part-states.txt:
14344 Some more tweeks and additions to the docs.
14346 2005-06-30 Wim Taymans <wim@fluendo.com>
14348 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14349 (default_have_data), (gst_pad_class_init), (gst_pad_init),
14350 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14351 (gst_pad_check_pull_range), (gst_pad_get_range),
14352 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14354 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14355 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14356 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14357 (gst_pad_remove_buffer_probe):
14358 Removed atomic operations, use existing LOCK.
14359 Move exception handling out of main code path.
14361 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14363 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14364 (silly_return_true_function), (gst_pad_class_init),
14365 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14366 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14367 (gst_pad_send_event):
14368 Fix accumulator, add default value by using _emitv() instead
14369 of _emit() for signal emission.
14371 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14373 * docs/manual/advanced-dataaccess.xml:
14374 * examples/manual/Makefile.am:
14376 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14379 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
14381 * gst/elements/gstfilesink.c: (gst_filesink_render):
14382 Simplify code so that we don't have to handle short
14383 writes and return GST_FLOW_ERROR if an error occured.
14385 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14387 * docs/gst/gstreamer-docs.sgml:
14388 Remove probes more.
14390 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14392 * docs/gst/gstreamer-sections.txt:
14393 * docs/gst/tmpl/gstpad.sgml:
14394 * docs/gst/tmpl/gstprobe.sgml:
14396 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14397 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14398 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14399 (gst_pad_push_event), (gst_pad_send_event):
14401 * gst/gstutils.c: (gst_pad_add_data_probe),
14402 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14403 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14404 (gst_pad_remove_buffer_probe):
14406 Remove old probes, add new g-signal-based probes and some utility
14409 2005-06-29 Edward Hervey <edward@fluendo.com>
14411 * gst/gstelementfactory.c:
14414 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14415 the definition to the header file.
14417 2005-06-29 Andy Wingo <wingo@pobox.com>
14419 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14420 plugins from the source directory.
14422 2005-06-29 Wim Taymans <wim@fluendo.com>
14424 * docs/gst/tmpl/gstbuffer.sgml:
14425 * docs/gst/tmpl/gstclock.sgml:
14426 Some fixings for blantently wrong text.
14428 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14430 * check/Makefile.am:
14431 * gst/gst.c: (add_path_func), (init_pre):
14432 * gst/gstregistry.c: (gst_registry_add_path):
14433 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
14434 only scan the GST_PLUGIN_PATH locations, and not add
14437 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14439 * docs/gst/gstreamer-sections.txt:
14440 * docs/gst/tmpl/gstbasesrc.sgml:
14441 * gst/gstelement.c:
14442 * gst/gstelement.h:
14447 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14449 * docs/manual/advanced-autoplugging.xml:
14450 Fix autoplugging example.
14452 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14454 * docs/manual/advanced-autoplugging.xml:
14455 * docs/manual/mime-world.fig:
14456 Try to get autoplugging working, fix type detection. Fix text
14457 in hello-world image.
14459 2005-06-29 Wim Taymans <wim@fluendo.com>
14461 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14462 (gst_base_sink_change_state):
14466 map SIGNAL and BROADCAST to the right function.
14469 Remove redundant braces.
14471 * gst/gstpad.c: (gst_pad_set_caps):
14472 Don't call setcaps function when reseting caps to NULL.
14474 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14475 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
14476 (gst_system_clock_id_unschedule):
14477 Use BROADCAST as this is what we do.
14479 2005-06-29 Wim Taymans <wim@fluendo.com>
14481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14482 We are actually prerolling before commiting the state
14485 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14487 * docs/manual/advanced-clocks.xml:
14488 * docs/manual/advanced-interfaces.xml:
14489 * docs/manual/advanced-metadata.xml:
14490 * docs/manual/advanced-position.xml:
14491 * docs/manual/advanced-schedulers.xml:
14492 * docs/manual/advanced-threads.xml:
14493 * docs/manual/appendix-porting.xml:
14494 * docs/manual/basics-bins.xml:
14495 * docs/manual/basics-bus.xml:
14496 * docs/manual/basics-elements.xml:
14497 * docs/manual/basics-helloworld.xml:
14498 * docs/manual/basics-pads.xml:
14499 * docs/manual/highlevel-components.xml:
14500 * docs/manual/manual.xml:
14501 * docs/manual/thread.fig:
14502 Update (until threads/scheduling) Application Development Manual;
14503 remove GstThread, add GstBus, add simple porting checklist, add
14504 documentation for tag writing, clocks, make all examples until this
14505 part compile and run.
14506 * examples/manual/Makefile.am:
14507 Update from changes to Application Development Manual; add bus
14508 example, remove thread example.
14510 2005-06-28 Wim Taymans <wim@fluendo.com>
14512 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
14513 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
14514 (gst_bus_source_dispatch):
14515 Add debugging messages.
14516 Make internal methods static.
14517 Handle the case where the bus is flushed in the handler.
14519 * gst/gstelement.c: (gst_element_get_bus):
14520 Fix refcount in _get_bus();
14522 * gst/gstpipeline.c: (gst_pipeline_change_state),
14523 (gst_pipeline_get_clock_func):
14524 Clock refcounting fixes.
14525 Handle the case where preroll timed out more gracefully.
14527 * gst/gstsystemclock.c: (gst_system_clock_dispose):
14528 Clean up the internal thread in dispose. This is needed
14529 for subclasses that actually get disposed.
14531 * gst/schedulers/threadscheduler.c:
14532 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14533 (gst_thread_scheduler_dispose):
14534 Free thread pool in dispose.
14536 2005-06-28 Andy Wingo <wingo@pobox.com>
14538 * tests/network-clock-utils.scm (debug, print-event): New utils.
14540 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
14541 (*packet-loss*): Unified loss probability.
14542 (network-time): Report out-of-band events.
14544 * tests/plot-data: Add support for out-of-band events. Hack it
14545 into this script instead of passing it down the pipe; should fix
14548 2005-06-28 Wim Taymans <wim@fluendo.com>
14550 * docs/gst/gstreamer.types:
14551 * docs/gst/tmpl/gstbasesrc.sgml:
14552 * docs/gst/tmpl/gstpad.sgml:
14555 2005-06-28 Wim Taymans <wim@fluendo.com>
14557 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14558 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
14559 (gst_proxy_pad_do_fixatecaps):
14560 Correctly proxy the check_pull_range function.
14562 2005-06-28 Andy Wingo <wingo@pobox.com>
14564 * tests/network-clock.scm: Removed need for slib.
14566 2005-06-28 Wim Taymans <wim@fluendo.com>
14568 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
14569 (gst_basesink_preroll_queue_flush):
14570 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
14571 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
14572 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14573 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14574 (gst_proxy_pad_set_property):
14577 * gst/gstqueue.c: (gst_queue_init):
14578 The deprecated pad loop function is removed now.
14580 2005-06-28 Andy Wingo <wingo@pobox.com>
14582 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
14583 New parameters, simulate network packet loss.
14585 * tests/network-clock-utils.scm: Initialize the RNG.
14587 2005-06-28 Wim Taymans <wim@fluendo.com>
14589 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
14590 (gst_basesink_event), (gst_basesink_deactivate):
14591 Flushing the preroll queue always needs to unlock the waiters.
14593 2005-06-28 Edward Hervey <edward@fluendo.com>
14595 * gst/gstpipeline.c: (gst_pipeline_send_event):
14596 Wheen a seek was successful on a pipeline, set the stream_time to the
14597 seek offset in order to have a synchronized stream_time.
14599 2005-06-28 Wim Taymans <wim@fluendo.com>
14601 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14602 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
14603 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
14604 (gst_proxy_pad_do_fixatecaps):
14605 Call wrapper function instead of just calling the function
14606 pointers. This takes care of any locking and whatmore.
14608 2005-06-28 Wim Taymans <wim@fluendo.com>
14610 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
14611 (gst_pad_pull_range):
14613 CONNECTED -> LINKED.
14615 2005-06-28 Andy Wingo <wingo@pobox.com>
14617 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
14618 source-munging commit!!!
14620 * gst/gstobject.c (gst_object_unref, gst_object_ref)
14621 (gst_object_sink): Take gpointer arguments, not GstObject --
14622 avoids casts. Like GLib.
14624 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
14627 2005-06-27 Andy Wingo <wingo@pobox.com>
14629 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
14632 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
14633 returns a sorted copy of the trace list.
14634 (gst_alloc_trace_print_live): New API, only prints traces with
14635 live objects. Sort the list.
14636 (gst_alloc_trace_print_all): Sort the list.
14637 (gst_alloc_trace_print): Align columns.
14639 * gst/elements/gstttypefindelement.c:
14640 * gst/elements/gsttee.c:
14641 * gst/base/gstbasesrc.c:
14642 * gst/base/gstbasesink.c:
14643 * gst/base/gstbasetransform.c:
14644 * gst/gstqueue.c: Adapt for pad activation changes.
14646 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
14648 (gst_pipeline_dispose): Drop ref on sched.
14650 * gst/gstpad.c (gst_pad_init): Set the default activate func.
14651 (gst_pad_activate_default): Push mode by default.
14652 (pre_activate_switch, post_activate_switch): New stubs, things to
14653 do before and after switching activation modes on pads.
14654 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
14655 the pad's activate function to choose which mode to activate.
14656 Shortcut on deactivation and call the right function directly.
14657 (gst_pad_activate_pull): New API, (de)activates a pad in pull
14659 (gst_pad_activate_push): New API, same for push mode.
14660 (gst_pad_set_activate_function)
14661 (gst_pad_set_activatepull_function)
14662 (gst_pad_set_activatepush_function): Setters for new API.
14664 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
14665 Trace all miniobjects.
14666 (gst_mini_object_make_writable): Unref the arg if we copy, like
14667 gst_caps_make_writable.
14669 * gst/gstmessage.c (_gst_message_initialize): No trace init.
14671 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
14672 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
14673 Adapt for new pad API.
14675 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
14677 * gst/gstelement.h:
14678 * gst/gstelement.c (gst_element_iterate_src_pads)
14679 (gst_element_iterate_sink_pads): New API functions.
14681 * gst/gstelement.c (iterator_fold_with_resync): New utility,
14682 should fold into gstiterator.c in some form.
14683 (gst_element_pads_activate): Simplified via use of fold and
14684 delegation of decisions to gstpad->activate.
14686 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
14689 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
14690 class once in init, like gstmessage. Didn't run into this issue
14691 but it seems correct. Don't initialize a trace, gstminiobject does
14694 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
14695 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
14697 (assert_live_count): New util function, uses alloc traces to check
14700 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
14701 To be modified when unlink drops the internal pad.
14703 2005-06-27 Wim Taymans <wim@fluendo.com>
14705 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
14706 (gst_bin_change_state):
14707 Cleanup the get_state() function a little, make sure it
14708 iterates the same set of elements.
14709 Added stub iterate_state_order().
14711 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
14713 * docs/gst/gstreamer-docs.sgml:
14714 * docs/gst/gstreamer-sections.txt:
14715 * docs/gst/gstreamer.types:
14716 * docs/gst/tmpl/gstbasesink.sgml:
14717 * docs/gst/tmpl/gstbasesrc.sgml:
14718 * docs/gst/tmpl/gstbasetransform.sgml:
14719 * docs/gst/tmpl/gstelement.sgml:
14720 * docs/gst/tmpl/gstiterator.sgml:
14721 * gst/base/gstbasesrc.c:
14722 * gst/base/gstbasesrc.h:
14723 * gst/base/gstbasetransform.h:
14724 * gst/gstelement.c:
14725 * gst/gstiterator.h:
14726 adding basetransform and iterator docs
14728 2005-06-27 Andy Wingo <wingo@pobox.com>
14730 * docs/design/part-activation.txt: Notes on how activation should
14731 work -- not quite implemented yet.
14733 2005-06-25 Wim Taymans <wim@fluendo.com>
14735 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
14736 At least get the chain function correct, needs more
14739 2005-06-25 Wim Taymans <wim@fluendo.com>
14741 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14742 (gst_basesink_handle_object), (gst_basesink_event),
14743 (gst_basesink_do_sync), (gst_basesink_handle_event),
14744 (gst_basesink_change_state):
14746 Right, two problems here: ghostpads don't take locks and
14747 glib _rec_mutex_lock_full() with depth==0 still locks.
14748 Catch illegal locking and g_warn them.
14750 2005-06-25 Wim Taymans <wim@fluendo.com>
14752 * check/states/sinks.c: (START_TEST), (gst_object_suite):
14753 Have to check for completion now...
14755 2005-06-25 Wim Taymans <wim@fluendo.com>
14757 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14758 (gst_basesink_handle_object), (gst_basesink_event),
14759 (gst_basesink_do_sync), (gst_basesink_handle_event),
14760 (gst_basesink_change_state):
14762 Unlock STREAM_LOCK whatever the recursion was.
14764 2005-06-25 Wim Taymans <wim@fluendo.com>
14766 * gst/base/gstbasesink.c: (gst_basesink_set_property),
14767 (gst_basesink_preroll_queue_empty),
14768 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
14769 (gst_basesink_event), (gst_basesink_do_sync),
14770 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
14771 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
14772 (gst_basesink_change_state):
14773 Reworked the base sink, handle event and buffer serialisation
14774 correctly and removed possible deadlock.
14775 Handle EOS correctly.
14777 2005-06-25 Wim Taymans <wim@fluendo.com>
14779 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
14780 (gst_pipeline_change_state):
14781 * tools/gst-launch.c: (check_intr), (event_loop), (main):
14782 Allow elements to post EOS in the state change function.
14783 Fix up -launch, make it exit the poll loop when the
14784 pipeline actually changed state.
14785 Fix up warning parsing in -launch.
14787 2005-06-25 Wim Taymans <wim@fluendo.com>
14789 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
14790 (gst_tee_sink_activate):
14791 Core takes STREAM_LOCK for us now.
14793 2005-06-25 Wim Taymans <wim@fluendo.com>
14795 * gst/gstelement.c: (gst_element_get_state_func),
14796 (gst_element_set_state):
14797 * gst/gstelement.h:
14798 * gst/gstmessage.c: (gst_message_parse_error),
14799 (gst_message_parse_warning):
14800 Keep track of current target state while performing a state
14801 change so that subclasses can do something interesting.
14802 Fix parsing of warning/error messages when GError is NULL.
14804 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
14806 * docs/gst/Makefile.am:
14807 * docs/gst/gstreamer-docs.sgml:
14808 * docs/gst/gstreamer-sections.txt:
14809 * docs/gst/gstreamer.types:
14810 * docs/gst/tmpl/gstbasesink.sgml:
14811 * docs/gst/tmpl/gstbasesrc.sgml:
14812 * docs/gst/tmpl/gstbin.sgml:
14813 * docs/gst/tmpl/gstcompat.sgml:
14814 * docs/gst/tmpl/gstfakesink.sgml:
14815 * docs/gst/tmpl/gstfakesrc.sgml:
14816 * docs/gst/tmpl/gstfilesink.sgml:
14817 * docs/gst/tmpl/gstfilesrc.sgml:
14818 * docs/gst/tmpl/gstindex.sgml:
14819 * docs/manual/appendix-quotes.xml:
14820 * gst/base/gstbasesrc.h:
14821 * gst/elements/gstfakesrc.h:
14822 * gst/gstmessage.h:
14823 start pulling in base classes and elements in our docs
14825 2005-06-24 Stefan Kost <ensonic@users.sf.net>
14827 * docs/gst/Makefile.am:
14828 * docs/libs/Makefile.am:
14829 fixed make distcheck with gtk-doc 1.3
14831 2005-06-23 Wim Taymans <wim@fluendo.com>
14833 * gst/gstelement.c: (gst_element_get_state_func),
14834 (gst_element_set_state), (gst_element_change_state):
14835 When the state did not change, also report NO_PREROLL
14838 2005-06-23 Wim Taymans <wim@fluendo.com>
14840 * gst/gstpad.c: (gst_pad_event_default):
14841 * gst/gstqueue.c: (gst_queue_loop):
14842 No unsafe task pausing please.
14844 2005-06-23 Wim Taymans <wim@fluendo.com>
14846 * gst/schedulers/threadscheduler.c:
14847 (gst_thread_scheduler_task_start),
14848 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
14849 Ref the task before pushing it on the threadpool. This
14850 makes sure that we have a ref when the threadfunction is
14853 2005-06-23 Andy Wingo <wingo@pobox.com>
14855 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
14856 offset is greater than the file's size.
14858 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
14859 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
14860 * gst/gstobject.c (gst_object_class_init): Make the class lock
14861 recursive. Wim won't let me drop deep_notify. Decodebin works
14862 again, whoopdy doo.
14864 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
14865 internal pad, and hacks accordingly. Doesn't do it on the target
14866 pad because we change its caps. Probably catches all cases of
14868 (gst_ghost_pad_set_property): Connect to notify::caps as
14871 * tests/network-clock.scm (plot-simulation): Pipe data to the
14872 elite python skript.
14874 * tests/network-clock-utils.scm (define-parameter): New macro,
14875 defines a parameter that can be set via the command line.
14876 (set-parameter!, parse-parameter-arguments): Command line args
14879 * tests/plot-data: Simple matplotlib-based plotter, takes input on
14882 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
14884 * gst/elements/gsttypefindelement.c:
14885 (gst_type_find_element_handle_event):
14886 Don't restart typefinding on a discont.
14887 * gst/gstelement.c: (gst_element_set_state):
14888 Debug spelling fix.
14889 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
14890 Allow changing mode of an active pad.
14891 Debug output fixes.
14892 * gst/registries/gstlibxmlregistry.c: (load_feature):
14893 Don't cast a static pad template to a normal pad template.
14895 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
14897 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14898 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14899 remove gst_strtoll completely, since it didn't actually do
14900 anything more than what g_ascii_strtoull already does.
14901 check for range errors when deserializing
14902 do a cast for the unsigned cases; but further fixing needs
14903 a decision on what the interpretation of "(int)" and
14904 deserialization should be for values that fall outside the
14905 type's boundaries (ie, refuse, or interpret as casting)
14907 2005-06-23 Wim Taymans <wim@fluendo.com>
14909 * check/Makefile.am:
14910 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
14911 * docs/design/part-live-source.txt:
14912 * docs/design/part-states.txt:
14913 * gst/base/gstbasesrc.c: (gst_basesrc_init),
14914 (gst_basesrc_set_live), (gst_basesrc_is_live),
14915 (gst_basesrc_get_range), (gst_basesrc_activate),
14916 (gst_basesrc_change_state):
14917 * gst/base/gstbasesrc.h:
14918 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14919 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
14920 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
14921 * gst/gstelement.c: (gst_element_get_state_func),
14922 (gst_element_set_state):
14923 * gst/gstelement.h:
14925 * tools/gst-launch.c: (event_loop), (main):
14926 Added support for live sources and other elements that
14928 Updated design docs, added live-source design doc.
14929 Implemented live source functionality in basesrc
14930 Fix error condition in _bin_get_state()
14931 Implement live source handling in -launch.
14932 Added check for live sources.
14933 Fixed case in GstBin where elements were changed state
14937 2005-06-23 Andy Wingo <wingo@pobox.com>
14939 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
14940 borken refcounting.
14942 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
14943 gst_caps_replace takes care of this for us.
14945 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
14946 gst_pad_set_caps on the target, not just its setcaps() function.
14948 * tests/network-clock.scm:
14949 * tests/network-clock-utils.scm: A network clock simulator.
14950 Something of an algorithmic testbed before doing something in C.
14952 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14954 * check/Makefile.am:
14955 * check/gst/capslist.h:
14956 copy over from 0.8, and add two with bitmasks specified with
14958 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
14959 add test to parse everything from capslist.h
14960 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
14962 add test for structure deserialization
14963 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14964 add tests for deserialization of strings to int types
14965 * gst/gststructure.c: (gst_structure_nth_field_name):
14966 * gst/gststructure.h:
14967 add a way to get the name of a field referenced by index
14968 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14969 instead of checking if the resulting long long lies between
14970 min and max, we check if the long long would fit into
14971 a number of bytes for the final type.
14972 This fixes cases where a string represents 2^32 - 1, which
14973 when cast to int would be the (valid) -1, but is bigger than
14976 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14978 * gst/parse/grammar.y:
14979 add a log line for type deserialization
14981 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
14983 * check/gst/gstvalue.c: (START_TEST):
14984 * gst/gstvalue.c: (gst_value_deserialize):
14985 return long long, not int, so gint64 deserialization actually
14986 works. Is there any flag that makes the compiler check this ?
14989 2005-06-22 Wim Taymans <wim@fluendo.com>
14992 Added convenience macros for setting buffers in GValue.
14994 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
14996 * check/gst/.cvsignore:
14997 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
14998 add a test deserializing int64, and comment part out because
15001 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15003 * check/Makefile.am:
15004 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15005 * testsuite/Makefile.am:
15006 * testsuite/caps/Makefile.am:
15007 * testsuite/caps/value_serialize.c:
15008 * testsuite/test_gst_init.c:
15009 move a value_serialize test over
15011 2005-06-20 Wim Taymans <wim@fluendo.com>
15016 * gst/gstvalue.c: (gst_value_compare_buffer),
15017 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15018 (gst_value_compare_flags), (gst_value_serialize_flags),
15019 (gst_value_deserialize_flags), (_gst_value_initialize):
15020 Fix serialisation of buffers, they are not boxed types anymore
15022 2005-06-20 Wim Taymans <wim@fluendo.com>
15024 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15025 Testcase to show error in buffer-on-caps serialisation.
15027 2005-06-20 Andy Wingo <wingo@pobox.com>
15029 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15030 will be adding to later.
15032 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15033 if its socks fill with rocks.
15034 (gst_system_clock_obtain): Set the name on object construction.
15035 Avoid double-checked locking.
15037 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
15039 * gst/gsturi.c: (gst_element_make_from_uri):
15040 Fix potential endless loop.
15042 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15044 * check/Makefile.am:
15046 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15048 move over from testsuite dir and clean up
15051 * testsuite/Makefile.am:
15052 * testsuite/tags/.cvsignore:
15053 * testsuite/tags/Makefile.am:
15054 * testsuite/tags/merge.c:
15055 remove testsuite/tags
15057 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15059 * docs/gst/gstreamer-sections.txt:
15060 * docs/gst/tmpl/gstenumtypes.sgml:
15061 * win32/gstenumtypes.c:
15062 clean up documentation build a little
15064 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15066 * check/gstcheck.h:
15067 add macros for checking refcounts on objects and caps
15068 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15069 add some more unit tests
15070 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15071 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15072 fix leaked refcounts (I hope :)) so unittest works
15076 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15078 * configure.ac: back to HEAD
15080 === release 0.9.1 ===
15082 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
15088 2005-06-17 Andy Wingo <wingo@pobox.com>
15090 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15091 assert; it's always possible that the pad gets deactivated in
15092 between the checks in gstpad.c and the implementation. Rely on
15093 finish_preroll() to return a FLUSHING or similar instead of on the
15096 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15097 clock and post an EOS message if we come out of finish_preroll in
15100 2005-06-16 David Schleef <ds@schleef.org>
15102 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15103 (gst_capsfilter_set_property): Allow NULL as possible value
15104 for filter_caps property, indicating GST_CAPS_ANY.
15106 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15108 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15110 * gst/schedulers/Makefile.am:
15112 * gstreamer.spec.in:
15115 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15117 * gstreamer.spec.in:
15120 2005-06-08 Andy Wingo <wingo@pobox.com>
15122 * gst/gstutils.c: RPAD fixes all around.
15123 (gst_element_link_pads): Refcounting fixes.
15125 * tools/gst-inspect.c:
15126 * tools/gst-xmlinspect.c:
15128 * gst/base/gsttypefindhelper.c:
15129 * gst/base/gstbasesink.c:
15130 * gst/gstqueue.c: RPAD fixes.
15132 * gst/gstghostpad.h:
15133 * gst/gstghostpad.c: New ghost pad implementation as full proxy
15134 pads. The tricky thing is they provide both source and sink
15135 interfaces, since they proxy the internal pad for the external
15136 pad, and vice versa. Implement with lower-level ProxyPad objects,
15137 with the interior proxy pad as a child of the exterior ghost pad.
15138 Should write a doc on this.
15140 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15141 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15144 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15145 pads are real pads. No ghost pads in this file. Not documenting
15146 the myriad s/RPAD/PAD/ and REALIZE fixes.
15147 (gst_pad_class_init): Add properties for "direction" and
15148 "template". Both are construct-only, so they can't change during
15149 the life of the pad. Fixes properly deriving from GstPad.
15150 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15151 derived objects, just set properties when creating the objects via
15153 (gst_pad_get_parent): Implement as a function, return NULL if the
15154 parent is not an element.
15155 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15156 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15158 * gst/gstobject.c (gst_object_class_init): Make name a construct
15159 property. Don't set it in the object init.
15161 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15162 with UNKNOWN direction.
15163 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15164 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15165 (gst_element_remove_pad): Remove ghost-pad special cases.
15166 (gst_element_pads_activate): Remove rpad cruft.
15168 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15169 catch the pad's-parent-not-an-element case.
15171 * gst/gst.h: Include gstghostpad.h.
15173 * gst/gst.c (init_post): No more real, ghost pads.
15175 * gst/Makefile.am: Add gstghostpad.[ch].
15177 * check/Makefile.am:
15178 * check/gst/gstbin.c:
15179 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15180 into a bin creates ghost pads, and that the refcounts are right.
15181 Partly moved from gstbin.c.
15183 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15185 * check/gst-libs/.cvsignore:
15186 * check/gst/.cvsignore:
15187 * check/pipelines/.cvsignore:
15189 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15190 (START_TEST), (cleanup_suite), (main):
15191 add some tests related to cleanup after running pipelines
15193 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15195 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15196 add a testsuite for GstBuffer
15198 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15200 * gst/gstminiobject.h:
15201 add defines for accessing the refcount
15203 2005-06-03 Stefan Kost <ensonic@users.sf.net>
15205 * Makefile.am: added support for html unit test coverage reports
15207 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
15209 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15210 Free existing caps if the capsfilter changes. Add a FIXME about
15211 setting those caps on the pads.
15213 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15214 Before adding a ghost pad to a parent bin, check that there isn't
15215 already one for the element on the bin. Prevents infinite recursion
15216 when using decodebin in parse pipelines. Andy says he'll rewrite the
15217 way this works anyway, so ignore the hack.
15219 2005-06-02 Andy Wingo <wingo@pobox.com>
15221 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15222 file size, pass it on to the type find helper.
15224 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15225 segment_start and segment_end properly according to the seek
15226 method. Segment_end is still a bit flaky because offset can be
15227 negative for CUR and END cases, but it takes -1 as an "unset"
15230 2005-06-02 Wim Taymans <wim@fluendo.com>
15232 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15233 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15234 (gst_basesink_activate):
15235 * gst/base/gstbasesink.h:
15236 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15237 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15238 (gst_pad_query), (gst_pad_start_task):
15240 * gst/gstqueue.c: (gst_queue_bufferalloc),
15241 (gst_queue_handle_sink_event), (gst_queue_chain):
15242 Bufferalloc: return GstFlowReturn to more accuratly report
15243 why allocation failed.
15245 2005-06-02 Wim Taymans <wim@fluendo.com>
15247 * gst/gstpipeline.c: (gst_pipeline_send_event):
15248 Take snapshot of state without blocking.
15250 2005-06-02 Wim Taymans <wim@fluendo.com>
15252 * docs/design/part-TODO.txt:
15253 * docs/design/part-caps.txt:
15254 * docs/design/part-clocks.txt:
15255 * docs/design/part-negotiation.txt:
15256 * docs/design/part-preroll.txt:
15259 2005-05-30 Wim Taymans <wim@fluendo.com>
15261 * gst/elements/gstidentity.c: (gst_identity_event),
15262 (gst_identity_transform), (gst_identity_get_property):
15263 Protect last_message property as it is accessed from
15266 2005-05-30 Wim Taymans <wim@fluendo.com>
15268 * gst/gstelement.c: (gst_element_init),
15269 (gst_element_pads_activate), (gst_element_change_state):
15270 Slicker pad activation code.
15272 2005-05-30 Wim Taymans <wim@fluendo.com>
15275 * gst/gstelement.h:
15276 * gst/gstelementfactory.h:
15278 Move elementfactory methods to separate .h file.
15280 2005-05-30 Wim Taymans <wim@fluendo.com>
15282 * docs/design/part-overview.txt:
15283 * gst/gstsystemclock.h:
15284 Small typo fixes, doc updates.
15286 2005-05-30 Wim Taymans <wim@fluendo.com>
15288 * gst/gst.c: (gst_init_get_popt_table), (init_post),
15289 (init_popt_callback):
15290 Remove cpu-opt flag.
15292 2005-05-30 Wim Taymans <wim@fluendo.com>
15294 * gst/gstbuffer.c: (gst_subbuffer_finalize),
15295 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15297 Avoid typechecking in places where not needed.
15298 Added accessor for malloc_data.
15300 2005-05-30 Wim Taymans <wim@fluendo.com>
15302 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15303 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15304 (gst_pad_configure_sink), (gst_pad_configure_src),
15305 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15306 (gst_pad_start_task):
15307 Propagate errors from _set_caps() in configure_src/sink
15308 functions instead of returning TRUE.
15309 FLUSH events can travel up and downstream
15312 2005-05-30 Wim Taymans <wim@fluendo.com>
15314 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15315 (gst_basesink_activate):
15316 Handle EOS in preroll.
15318 2005-05-30 Wim Taymans <wim@fluendo.com>
15320 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15321 (gst_queue_loop), (gst_queue_handle_src_event):
15322 Remove old pieces of code
15323 Flushing the queue in an upstream event is a very bad idea.
15325 2005-05-26 Andy Wingo <wingo@pobox.com>
15327 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15328 gst_value_set_mini_object so as to add a ref on the object (which
15329 will be removed when the value is unset).
15331 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15332 arg type in ::handoff.
15334 * gst/gstelement.c (gst_element_change_state): Also deactivate
15335 pads in READY->NULL, just in case the element didn't make it to
15336 PAUSED. Wingo tested, Wim approved.
15338 2005-05-26 Wim Taymans <wim@fluendo.com>
15340 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15341 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15342 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15343 A flushing pad cannot be used to alloc_buffer from.
15345 2005-05-26 Wim Taymans <wim@fluendo.com>
15347 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15348 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15349 (gst_bus_source_dispatch), (gst_bus_source_finalize),
15350 (gst_bus_create_watch), (gst_bus_add_watch_full):
15352 Implement a real GSource and use g_main_context_wakeup() to
15353 signal new messages instead of the socketpair.
15355 2005-05-25 Wim Taymans <wim@fluendo.com>
15357 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15358 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15359 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15360 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15361 (gst_pad_send_event), (gst_pad_start_task):
15362 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15363 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15364 (gst_queue_sink_activate), (gst_queue_src_activate),
15365 (gst_queue_change_state):
15367 Fix state changes for non sinks. We now change sinks, then elements
15368 with unconnected srcpads, then the rest.
15369 More efficient queue unlocking in flush and state changes.
15370 Set the pad activate mode even if it does not have an activate
15373 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15375 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15376 Don't go in pull mode for non-seekable sources.
15377 * gst/elements/gsttypefindelement.h:
15378 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15379 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15380 (free_entry), (stop_typefinding),
15381 (gst_type_find_element_handle_event), (find_peek),
15382 (gst_type_find_element_chain), (do_pull_typefind),
15383 (gst_type_find_element_change_state):
15384 Allow typefinding (w/o seeking) in push-mode, simplified version
15385 of what was in 0.8.
15386 * gst/gstutils.c: (gst_buffer_join):
15388 gst_buffer_join() from 0.8.
15390 2005-05-25 Wim Taymans <wim@fluendo.com>
15392 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15393 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15394 (gst_pad_send_event), (gst_pad_start_task):
15395 Disable attempt at mode switching until it is figured out.
15397 2005-05-25 Wim Taymans <wim@fluendo.com>
15399 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15400 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15401 (gst_basesink_finish_preroll), (gst_basesink_chain),
15402 (gst_basesink_loop), (gst_basesink_activate),
15403 (gst_basesink_change_state):
15404 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15405 (gst_basesrc_get_range), (gst_basesrc_loop),
15406 (gst_basesrc_activate):
15407 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15408 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15409 (gst_real_pad_init), (gst_real_pad_set_property),
15410 (gst_real_pad_get_property), (gst_pad_set_active),
15411 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15412 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15413 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15414 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15415 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15416 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15417 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15418 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15419 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15420 (gst_pad_stop_task):
15422 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15423 (gst_queue_loop), (gst_queue_src_activate):
15424 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15425 (gst_task_get_state):
15427 * gst/schedulers/threadscheduler.c:
15428 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15429 Implement gst_pad_pause/start/stop_task(), take STREAM lock
15431 Remove ACTIVE pad flag, use FLUSHING everywhere
15432 Added _pad_chain(), _pad_get_range() to call chain/getrange
15434 Add locks around IS_FLUSHING when reading.
15435 Take STREAM lock in chain(), get_range() functions so plugins
15436 don't need to take it anymore.
15440 2005-05-25 Wim Taymans <wim@fluendo.com>
15442 * tools/gst-launch.c: (event_loop):
15443 Unref message after using its contents instead of
15446 2005-05-24 Wim Taymans <wim@fluendo.com>
15448 * docs/design/draft-ghostpads.txt:
15449 * docs/design/draft-push-pull.txt:
15450 * docs/design/draft-query.txt:
15451 * docs/design/part-overview.txt:
15452 Docs updates, added general overview doc.
15454 2005-05-21 David Schleef <ds@schleef.org>
15456 * docs/gst/tmpl/old/GstBin.sgml:
15457 * docs/gst/tmpl/old/GstBuffer.sgml:
15458 * docs/gst/tmpl/old/GstCaps.sgml:
15459 * docs/gst/tmpl/old/GstClock.sgml:
15460 * docs/gst/tmpl/old/GstCompat.sgml:
15461 * docs/gst/tmpl/old/GstData.sgml:
15462 * docs/gst/tmpl/old/GstElement.sgml:
15463 * docs/gst/tmpl/old/GstEvent.sgml:
15464 * docs/gst/tmpl/old/GstIndex.sgml:
15465 * docs/gst/tmpl/old/GstStructure.sgml:
15466 * docs/gst/tmpl/old/GstTag.sgml:
15467 * docs/gst/tmpl/old/cothreads.sgml:
15468 * docs/gst/tmpl/old/cothreads_compat.sgml:
15469 * docs/gst/tmpl/old/gettext.sgml:
15470 * docs/gst/tmpl/old/gobject2gtk.sgml:
15471 * docs/gst/tmpl/old/grammar.tab.sgml:
15472 * docs/gst/tmpl/old/gst-i18n-app.sgml:
15473 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
15474 * docs/gst/tmpl/old/gst_private.sgml:
15475 * docs/gst/tmpl/old/gstaggregator.sgml:
15476 * docs/gst/tmpl/old/gstarch.sgml:
15477 * docs/gst/tmpl/old/gstatomic_impl.sgml:
15478 * docs/gst/tmpl/old/gstbufferstore.sgml:
15479 * docs/gst/tmpl/old/gstdata_private.sgml:
15480 * docs/gst/tmpl/old/gstdisksink.sgml:
15481 * docs/gst/tmpl/old/gstdisksrc.sgml:
15482 * docs/gst/tmpl/old/gstelementfactory.sgml:
15483 * docs/gst/tmpl/old/gstextratypes.sgml:
15484 * docs/gst/tmpl/old/gstfakesink.sgml:
15485 * docs/gst/tmpl/old/gstfakesrc.sgml:
15486 * docs/gst/tmpl/old/gstfdsink.sgml:
15487 * docs/gst/tmpl/old/gstfdsrc.sgml:
15488 * docs/gst/tmpl/old/gstfilesink.sgml:
15489 * docs/gst/tmpl/old/gstfilesrc.sgml:
15490 * docs/gst/tmpl/old/gsthttpsrc.sgml:
15491 * docs/gst/tmpl/old/gstidentity.sgml:
15492 * docs/gst/tmpl/old/gstindexfactory.sgml:
15493 * docs/gst/tmpl/old/gstmarshal.sgml:
15494 * docs/gst/tmpl/old/gstmd5sink.sgml:
15495 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
15496 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
15497 * docs/gst/tmpl/old/gstpadtemplate.sgml:
15498 * docs/gst/tmpl/old/gstpipefilter.sgml:
15499 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
15500 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
15501 * docs/gst/tmpl/old/gstshaper.sgml:
15502 * docs/gst/tmpl/old/gstspider.sgml:
15503 * docs/gst/tmpl/old/gstspideridentity.sgml:
15504 * docs/gst/tmpl/old/gststatistics.sgml:
15505 * docs/gst/tmpl/old/gsttee.sgml:
15506 * docs/gst/tmpl/old/gsttimecache.sgml:
15507 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
15508 * docs/gst/tmpl/old/gstxmlregistry.sgml:
15509 * docs/gst/tmpl/old/gthread-cothreads.sgml:
15510 * docs/gst/tmpl/old/types.sgml:
15511 I didn't intend to add these or check them in.
15513 2005-05-19 David Schleef <ds@schleef.org>
15515 * configure.ac: Use -no-common everywhere. In a sane world, it
15516 would be the default in libtool, because without it, you can't
15517 build DLLs on Windows.
15518 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
15519 * docs/gst/gstreamer-sections.txt:
15520 * docs/gst/tmpl/gstcpu.sgml:
15521 * docs/gst/tmpl/gstdata.sgml:
15522 * docs/gst/tmpl/gstthread.sgml:
15524 2005-05-19 David Schleef <ds@schleef.org>
15526 * gst/gstminiobject.c: (gst_value_set_mini_object),
15527 (gst_value_take_mini_object), (gst_value_get_mini_object):
15528 * gst/gstminiobject.h: Add GValue set/get functions.
15530 2005-05-19 Wim Taymans <wim@fluendo.com>
15532 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
15533 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
15534 (gst_subbuffer_init), (gst_buffer_is_span_fast):
15536 * gst/gstbus.c: (gst_bus_post):
15537 * gst/gstelement.c: (gst_element_get_random_pad):
15538 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
15539 Make subbufer unref the parent in finalize.
15540 some more debugging info.
15543 2005-05-19 Wim Taymans <wim@fluendo.com>
15545 * gst/base/gstbasesink.c: (gst_basesink_class_init),
15546 (gst_basesink_init), (gst_basesink_finalize),
15547 (gst_basesink_activate), (gst_basesink_change_state):
15548 Don't free preroll queue too early.
15550 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15554 Hi, I'm outdated. Please shoot me.
15556 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15558 * gst/gstpipeline.c: (gst_pipeline_send_event):
15559 Do not access variables after they have been deleted.
15561 2005-05-19 Wim Taymans <wim@fluendo.com>
15563 * tools/gst-inspect.c: (print_plugin_features):
15564 A plugin feature does unfortunatly not use the
15567 2005-05-18 Wim Taymans <wim@fluendo.com>
15569 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
15570 Port _span() functions to new subbuffers.
15572 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15574 * gst/gstbin.c: (gst_bin_add_func):
15575 Fix clock settery in bins when adding kids after the clock has
15578 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15580 * gst/elements/gstidentity.c: (gst_identity_class_init):
15581 Workaround until signals support GstMiniObject.
15583 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15586 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
15588 2005-05-18 Wim Taymans <wim@fluendo.com>
15590 * gst/base/Makefile.am:
15591 * gst/base/gstadapter.c: (gst_adapter_base_init),
15592 (gst_adapter_class_init), (gst_adapter_init),
15593 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
15594 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
15595 (gst_adapter_flush), (gst_adapter_available),
15596 (gst_adapter_available_fast):
15597 * gst/base/gstadapter.h:
15598 Ported and added adapter to the base classes.
15600 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15603 * gst/gstmessage.c:
15604 Make sure the class is reffed/unreffed once before threads can be
15605 used. Fixes #304551.
15607 2005-05-17 Wim Taymans <wim@fluendo.com>
15609 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
15610 (gst_basesink_chain_unlocked), (gst_basesink_activate):
15611 * gst/gstminiobject.c: (gst_mini_object_get_type),
15612 (gst_mini_object_free):
15613 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
15614 (gst_pad_push), (gst_pad_push_event):
15615 * gst/gstqueue.c: (gst_queue_change_state):
15616 Don't queue buffers in basesink when we are flushing.
15617 Unref buffer when flushing in basesink.
15618 Flush queue when going to READY
15619 Unref buffer when _push() returns an error.
15620 Don't free MiniObject instance when refcount is incremented
15621 in _finalize() so that we can recover objects.
15623 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
15625 * docs/manual/advanced-schedulers.xml:
15626 * docs/manual/appendix-checklist.xml:
15627 * docs/pwg/advanced-clock.xml:
15628 * docs/pwg/advanced-interfaces.xml:
15629 * docs/pwg/advanced-request.xml:
15630 * docs/pwg/advanced-types.xml:
15631 * docs/pwg/intro-preface.xml:
15632 * examples/plugins/example.c: (gst_example_get_type),
15633 (gst_example_class_init), (gst_example_chain),
15634 (gst_example_set_property), (gst_example_get_property),
15635 (gst_example_change_state), (plugin_init):
15636 * examples/plugins/example.h:
15639 2005-05-17 Wim Taymans <wim@fluendo.com>
15641 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
15642 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
15643 * gst/gstqueue.c: (gst_queue_change_state):
15644 Clear queue when going to READY.
15645 Remove IN_SETCAPS flag too.
15647 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
15649 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
15650 Remove implicit cast from gboolean to GstElementStateReturn;
15651 make sure we still return failure in paused => ready case if
15652 the parent class fails to change state and our own stop
15655 2005-05-17 Wim Taymans <wim@fluendo.com>
15657 * tools/gst-launch.c: (event_loop):
15658 Message was unreffed too soon.
15660 2005-05-16 Andy Wingo <wingo@pobox.com>
15662 * gst/gstbin.c (sink_iterator_filter): Err... um...
15664 * check/gst/gstbin.c (test_ghost_pads): New test for the
15665 ghosting-if-elements-not-in-same-bin behavior.
15667 2005-05-16 David Schleef <ds@schleef.org>
15669 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
15670 accessing refcount directly.
15672 2005-05-15 David Schleef <ds@schleef.org>
15674 * check/Makefile.am: remove GstData checks
15675 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
15676 * gst/Makefile.am: add miniobject, remove data
15677 * gst/gst.h: add miniobject, remove data
15678 * gst/gstdata.c: remove
15679 * gst/gstdata.h: remove
15680 * gst/gstdata_private.h: remove
15681 * gst/gsttypes.h: remove GstEvent and GstMessage
15682 * gst/gstelement.c: (gst_element_post_message): fix for API changes
15683 * gst/gstmarshal.list: change BOXED -> OBJECT
15685 Implement GstMiniObject.
15686 * gst/gstminiobject.c:
15687 * gst/gstminiobject.h:
15689 Modify to be subclasses of GstMiniObject.
15690 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
15691 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
15692 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
15693 (gst_subbuffer_get_type), (gst_subbuffer_init),
15694 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
15697 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
15698 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
15699 (_gst_event_copy), (gst_event_new):
15701 * gst/gstmessage.c: (_gst_message_initialize),
15702 (gst_message_get_type), (gst_message_class_init),
15703 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
15704 (gst_message_new), (gst_message_new_error),
15705 (gst_message_new_warning), (gst_message_new_tag),
15706 (gst_message_new_state_changed), (gst_message_new_application):
15707 * gst/gstmessage.h:
15708 * gst/gstprobe.c: (gst_probe_perform),
15709 (gst_probe_dispatcher_dispatch):
15711 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
15712 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
15713 (_gst_query_copy), (gst_query_new):
15715 Update elements for GstData -> GstMiniObject changes
15717 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
15718 (gst_queue_chain), (gst_queue_loop):
15719 * gst/elements/gstbufferstore.c:
15720 (gst_buffer_store_add_buffer_func),
15721 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
15722 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15723 (gst_fakesink_render):
15724 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
15725 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
15726 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
15727 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
15728 (gst_filesrc_create_read):
15729 * gst/elements/gstidentity.c: (gst_identity_class_init):
15730 * gst/elements/gsttypefindelement.c:
15731 (gst_type_find_element_src_event), (free_entry_buffers),
15732 (gst_type_find_element_handle_event):
15733 * libs/gst/dataprotocol/dataprotocol.c:
15734 (gst_dp_header_from_buffer):
15735 * libs/gst/dataprotocol/dataprotocol.h:
15736 * libs/gst/dataprotocol/dp-private.h:
15738 2005-05-15 David Schleef <ds@schleef.org>
15740 * gst/elements/gstelements.c: Don't include headers that were
15743 2005-05-15 David Schleef <ds@schleef.org>
15745 * gst/elements/Makefile.am: Remove some elements that don't
15746 need to be in the core (or even exist at all).
15747 * gst/elements/gstaggregator.c:
15748 * gst/elements/gstaggregator.h:
15749 * gst/elements/gstmd5sink.c:
15750 * gst/elements/gstmd5sink.h:
15751 * gst/elements/gstmultifilesrc.c:
15752 * gst/elements/gstmultifilesrc.h:
15753 * gst/elements/gstpipefilter.c:
15754 * gst/elements/gstpipefilter.h:
15755 * gst/elements/gstshaper.c:
15756 * gst/elements/gstshaper.h:
15757 * gst/elements/gststatistics.c:
15758 * gst/elements/gststatistics.h:
15759 * po/POTFILES.in: Remove above files.
15761 2005-05-14 Andy Wingo <wingo@pobox.com>
15763 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
15764 so as to get the refs right.
15765 (sink_iterator_filter): New function, wraps bin_element_is_sink,
15766 unreffing objects that don't pass the filter.
15768 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
15769 gst_element_set_bus.
15770 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
15771 normal cases, this will destroy the bus.
15773 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
15776 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
15779 2005-05-13 Andy Wingo <wingo@pobox.com>
15781 * gst/gstutils.c (gst_element_link_pads): Instead of calling
15782 gst_pad_link, call pad_link_maybe_ghosting,
15783 (pad_link_maybe_ghosting): Links pads, making sure that the
15784 elements being linked are in the same bin.
15785 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
15786 Helpers for pad_link_maybe_ghosting.
15788 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
15791 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
15793 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
15795 * docs/design/part-element-source.txt:
15798 2005-05-12 Wim Taymans <wim@fluendo.com>
15800 * gst/base/gstbasesink.c: (gst_basesink_init),
15801 (gst_basesink_activate):
15802 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
15803 (gst_basesrc_is_seekable):
15804 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15805 (bin_element_is_sink), (gst_bin_change_state):
15806 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15807 * gst/gstelement.h:
15808 Identify sinks by their flag to avoid overly complicated
15810 Do state changes even for elements not reachable from the
15812 BaseSink is a sink now :)
15813 Some more debugging info in the basesrc.
15816 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15818 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
15819 Implement _query on a bin, similar to _send_event.
15821 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
15823 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
15824 Discont event offset format should be GST_FORMAT_BYTES,
15825 not GST_FORMAT_TIME.
15827 2005-05-12 Wim Taymans <wim@fluendo.com>
15829 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
15830 Same fix as Ronald's but without the signal.
15832 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15834 * gst/gstutils.c: (gst_element_query_position):
15835 No, an element is not a pad.
15837 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15839 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
15840 (gst_bin_get_state):
15841 If a child is removed from a bin while we remove the child from
15842 the bin and while we're retrieving its state, signal this to the
15843 get_state function so we abort the wait (instead of waiting for
15844 a timeout) and can immediately re-iterate over all other elements.
15846 2005-05-12 Wim Taymans <wim@fluendo.com>
15848 * gst/base/Makefile.am:
15849 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
15850 (gst_basesrc_start):
15851 * gst/base/gstbasesrc.h:
15852 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
15853 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
15854 (gst_pushsrc_init), (gst_pushsrc_create):
15855 * gst/base/gstpushsrc.h:
15856 Added is_seekable to BaseSrc
15857 Added simple PushSrc.
15859 2005-05-11 Wim Taymans <wim@fluendo.com>
15861 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
15862 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15863 (gst_element_link_pads), (gst_element_query_position),
15864 (gst_element_query_convert), (intersect_caps_func),
15865 (gst_pad_query_position), (gst_pad_query_convert):
15866 Fix refcounting in utils function.
15867 No point in trying to activate a pad when it's added, it could
15868 be added from the state change function and then we deadlock, the
15869 element has to decide what to do.
15871 2005-05-10 Andy Wingo <wingo@pobox.com>
15873 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
15874 *all* the arguments.
15876 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
15877 stream lock if it's a FLUSH_DONE; normal flushes don't get the
15878 lock (according to the docs -- if this is wrong change the docs).
15880 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
15881 flush messages in the NULL state.
15883 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
15884 message immediately and return.
15885 (gst_bus_set_flushing): New function. If a bus is flushing, it
15886 flushes out any queued messages and immediately unrefs new
15887 messages. This is so when an element goes to NULL, all of the
15888 unhandled messages coming from it can be freed, and their
15889 references to the element dropped. In other words: message source
15890 ref considered harmful :P
15892 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
15893 we're finished with it.
15895 * gst/gstmessage.c (gst_message_new_state_changed):
15897 2005-05-10 Wim Taymans <wim@fluendo.com>
15899 * gst/gstvalue.c: (gst_value_compare_flags),
15900 (gst_value_serialize_flags), (gst_value_deserialize_flags),
15901 (_gst_value_initialize):
15902 Added flags serialize/deserialize/compare code.
15904 2005-05-09 Andy Wingo <wingo@pobox.com>
15906 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
15907 Intersect the peer's caps with our caps.
15909 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15911 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15912 * gst/elements/gsttypefindelement.c: (find_peek):
15913 Handle negative offsets better. Fixes decodebin.
15915 2005-05-09 Wim Taymans <wim@fluendo.com>
15917 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
15918 (gst_base_transform_event):
15919 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
15920 Implement accept_caps.
15921 Fix silly lock/unlock mismatch in base class.
15923 2005-05-09 Wim Taymans <wim@fluendo.com>
15925 * docs/design/draft-push-pull.txt:
15926 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
15927 * gst/elements/gstfilesink.c: (gst_filesink_init),
15928 (gst_filesink_query):
15929 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15930 (gst_type_find_handle_src_query), (find_element_get_length):
15931 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
15932 * gst/gstelement.h:
15933 * gst/gstmessage.c:
15934 * gst/gstmessage.h:
15935 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
15936 (gst_real_pad_get_caps_unlocked),
15937 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
15938 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15939 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
15940 (gst_real_pad_dispose), (gst_real_pad_finalize),
15941 (gst_pad_load_and_link), (gst_pad_save_thyself),
15942 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
15943 (gst_pad_check_pull_range), (gst_pad_pull_range),
15944 (gst_pad_template_get_type), (gst_pad_template_class_init),
15945 (gst_pad_template_init), (gst_pad_template_dispose),
15946 (name_is_valid), (gst_static_pad_template_get),
15947 (gst_pad_template_new), (gst_static_pad_template_get_caps),
15948 (gst_pad_template_get_caps), (gst_pad_set_element_private),
15949 (gst_pad_get_element_private), (gst_pad_start_task),
15950 (gst_pad_pause_task), (gst_pad_stop_task),
15951 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
15952 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
15953 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
15954 (gst_ghost_pad_new):
15956 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
15957 (gst_query_new_position), (gst_query_set_position),
15958 (gst_query_parse_position), (gst_query_new_convert),
15959 (gst_query_set_convert), (gst_query_parse_convert):
15961 * gst/gstqueryutils.c:
15962 * gst/gstqueryutils.h:
15963 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
15964 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
15965 (gst_queue_handle_src_query):
15966 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
15967 (gst_element_query_position), (gst_element_query_convert),
15968 (intersect_caps_func), (gst_pad_query_position),
15969 (gst_pad_query_convert):
15971 * tools/gst-inspect.c: (print_pad_info):
15972 * tools/gst-xmlinspect.c: (print_element_info):
15973 Remove old query functions. Ported old code.
15974 Added position/convert helper functions to gstutils.
15975 Reordered gstpad.c code, grouping relevant things.
15976 Remove gst_message_new(), always need to speficy a specific
15980 2005-05-09 Andy Wingo <wingo@pobox.com>
15982 * gst/gstiterator.h: Add some includes.
15984 * gst/gstqueryutils.h: Include more headers.
15987 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
15988 some uses of gst_pad_query.
15990 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
15991 NULL out parameters.
15992 (gst_query_new_position): New proc, allocates a new position
15995 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
15996 gstqueryutils.c to the build.
15998 * gst/gststructure.c (gst_structure_set_valist): Implement with
15999 the generic G_VALUE_COLLECT.
16001 2005-05-08 Edward Hervey <bilboed@bilboed.com>
16003 * gst/Makefile.am: (gst_headers):
16004 Added gstqueryutils.h to the list of headers to install, that was
16005 a 'nachty' move wingo :)
16007 2005-05-06 Andy Wingo <wingo@pobox.com>
16010 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16011 GstData, init a memchunk.
16012 (standard_definitions): Add a few query types, deprecate a few.
16013 (gst_query_get_type): New proc.
16014 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16016 (gst_query_new_application, gst_query_get_structure): New public
16019 * docs/design/draft-query.txt: Removed LINKS from the query types,
16020 because all the rest can be dispatched to other pads -- seemed
16021 ugly to have a query that couldn't be dispatched. internal_links
16022 is fine as a pad method.
16024 * gst/gstpad.h: Add query2 as a pad method, add the new functions
16025 in gstpad.c, but maintain binary compatibility for the moment.
16026 Will fix before 0.9 is out.
16028 * gst/gstqueryutils.c:
16029 * gst/gstqueryutils.h: New files, implement 3 methods for each
16030 query type: parse_query, parse_response, and set. Probably need an
16033 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16035 * gst/elements/gstfilesink.c (gst_filesink_query2):
16036 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16037 query_types, and formats methods.
16039 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16040 (gst_pad_set_query2_function): New functions.
16041 (gst_real_pad_init): Set query2_default as the default query2
16042 function. Basically just dispatches to internally linked pads.
16046 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16047 without using the atomic operations. Only one thread can possibly
16048 be accessing the data at this point. Changed so as to avoid
16049 gst_atomic operations.
16051 2005-05-06 Wim Taymans <wim@fluendo.com>
16053 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16054 Also set caps if we use the fallback buffer alloc.
16056 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
16058 * docs/gst/Makefile.am:
16059 * docs/gst/gstreamer-docs.sgml:
16060 * docs/gst/gstreamer-sections.txt:
16061 * docs/gst/tmpl/gstatomic.sgml:
16062 * docs/gst/tmpl/gstmemchunk.sgml:
16063 * testsuite/elements/struct_i386.h:
16064 * win32/GStreamer.vcproj:
16066 Purge GstAtomic stuff from docs and win32 makefiles as well
16068 2005-05-06 Wim Taymans <wim@fluendo.com>
16070 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16071 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16072 * gst/gstpad.c: (gst_pad_peer_get_caps):
16073 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16074 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16075 (gst_queue_src_activate), (gst_queue_change_state):
16077 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16078 (intersect_caps_func):
16079 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16080 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16081 Some fixes for the peer_get_caps() change.
16083 2005-05-06 Wim Taymans <wim@fluendo.com>
16085 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16086 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16087 (gst_basesink_activate):
16088 Actually do something with error codes returned from the push
16091 2005-05-06 Wim Taymans <wim@fluendo.com>
16093 * docs/design/part-element-sink.txt:
16094 * docs/design/part-element-source.txt:
16095 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16096 (gst_basesink_event), (gst_basesink_activate):
16097 * gst/base/gstbasesink.h:
16098 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16099 (gst_basesrc_activate):
16100 * gst/base/gstbasesrc.h:
16101 * gst/gstelement.c: (gst_element_pads_activate):
16102 Some more documentation.
16103 Fixed scheduling decision in _pads_activate().
16105 2005-05-05 Andy Wingo <wingo@pobox.com>
16107 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16110 2005-05-05 Wim Taymans <wim@fluendo.com>
16112 * gst/base/Makefile.am:
16113 * gst/base/gstbasesink.h:
16114 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16115 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16116 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16117 (gst_collectpads_class_init), (gst_collectpads_init),
16118 (gst_collectpads_finalize), (gst_collectpads_new),
16119 (gst_collectpads_set_function), (gst_collectpads_add_pad),
16120 (find_pad), (gst_collectpads_remove_pad),
16121 (gst_collectpads_is_active), (gst_collectpads_collect),
16122 (gst_collectpads_collect_range), (gst_collectpads_start),
16123 (gst_collectpads_stop), (gst_collectpads_peek),
16124 (gst_collectpads_pop), (gst_collectpads_available),
16125 (gst_collectpads_read), (gst_collectpads_flush),
16126 (gst_collectpads_chain):
16127 * gst/base/gstcollectpads.h:
16128 * gst/elements/Makefile.am:
16129 * gst/elements/gstelements.c:
16130 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16131 (gst_fakesink_get_times), (gst_fakesink_event),
16132 (gst_fakesink_preroll), (gst_fakesink_render):
16133 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16134 (gst_filesink_init), (gst_filesink_set_location),
16135 (gst_filesink_open_file), (gst_filesink_close_file),
16136 (gst_filesink_pad_query), (gst_filesink_event),
16137 (gst_filesink_render), (gst_filesink_change_state):
16138 * gst/elements/gstfilesink.h:
16139 Added object to help in making collect pad based elements.
16141 Make event function in sink baseclass return gboolean.
16143 2005-05-05 Wim Taymans <wim@fluendo.com>
16145 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16146 (gst_bin_get_by_name):
16148 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16149 (gst_clock_finalize):
16150 * gst/gstdata.c: (gst_data_replace):
16152 * gst/gstelement.c: (gst_element_request_pad),
16153 (gst_element_pads_activate):
16154 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16155 (gst_object_unref):
16156 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16157 (gst_pad_set_checkgetrange_function),
16158 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16159 (gst_pad_check_pull_range), (gst_pad_pull_range),
16160 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16161 (gst_pad_pause_task), (gst_pad_stop_task):
16162 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16163 (gst_element_request_pad), (gst_pad_proxy_getcaps):
16164 Fix name lookup in GstBin.
16165 Added _data_replace() function and _buffer_replace()
16166 Use finalize method to clean up clock.
16167 Fix refcounting on request pads.
16168 Fix pad schedule mode error.
16169 Some more object refcounting debug info,
16172 2005-05-04 Andy Wingo <wingo@pobox.com>
16174 * check/Makefile.am:
16175 * docs/gst/tmpl/gstatomic.sgml:
16176 * docs/gst/tmpl/gstplugin.sgml:
16177 * gst/base/gstbasesink.c: (gst_basesink_activate):
16178 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16179 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16180 (gst_basesrc_query), (gst_basesrc_set_property),
16181 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16182 (gst_basesrc_activate):
16183 * gst/base/gstbasesrc.h:
16184 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16185 (gst_base_transform_src_activate):
16186 * gst/elements/gstelements.c:
16187 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16188 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16189 * gst/elements/gsttee.c: (gst_tee_sink_activate):
16190 * gst/elements/gsttypefindelement.c: (find_element_get_length),
16191 (gst_type_find_element_checkgetrange),
16192 (gst_type_find_element_activate):
16193 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16194 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16195 (gst_caps_load_thyself):
16196 * gst/gstelement.c: (gst_element_pads_activate),
16197 (gst_element_save_thyself), (gst_element_restore_thyself):
16198 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16199 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16201 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16202 (gst_xml_parse_file), (gst_xml_parse_memory),
16203 (gst_xml_get_element), (gst_xml_make_element):
16204 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16205 (_file_index_id_save_xml), (gst_file_index_commit):
16206 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16207 (read_enum), (load_pad_template), (load_feature), (load_plugin),
16209 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16210 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16211 * tools/gst-complete.c: (main):
16212 * tools/gst-compprep.c: (main):
16213 * tools/gst-inspect.c: (print_element_properties_info):
16214 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16215 * tools/gst-xmlinspect.c: (print_element_properties):
16218 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
16220 * gst/gstplugin.c: (gst_plugin_check_module),
16221 (gst_plugin_check_file), (gst_plugin_load_file):
16222 apply patch from #172526 to make register work on MacOSX
16224 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16226 * docs/gst/tmpl/gstconfig.sgml:
16227 * gst/gstconfig.h.in:
16228 move documentation for some symbols. Add doc for GST_PTR_FORMAT
16229 * testsuite/debug/printf_extension.c: (main):
16230 Do not use GST_PTR_FORMAT on pointers to types with
16231 sizeof < sizeof(gpointer). Fixes test on 64-bit
16232 * testsuite/elements/property.h:
16233 use correct printf format
16235 2005-05-02 Wim Taymans <wim@fluendo.com>
16237 * docs/design/draft-push-pull.txt:
16238 * docs/design/draft-query.txt:
16239 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16240 (gst_basesrc_start):
16241 Added draft for new query API.
16242 Added draft for better selecting scheduling methods.
16243 Make basesrc ignore length if the subclass does not support
16246 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16249 possible fixes for automake-1.5 - _LIBADD is reserved
16251 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16253 * docs/faq/Makefile.am:
16254 * docs/manual/Makefile.am:
16255 * docs/manuals.mak:
16256 * docs/pwg/Makefile.am:
16258 possible fixes for automake-1.5
16260 2005-04-28 Wim Taymans <wim@fluendo.com>
16262 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16263 (gst_basesink_pad_getcaps), (gst_basesink_init),
16264 (gst_basesink_do_sync):
16265 * gst/gstclock.c: (gst_clock_entry_new):
16266 * gst/gstevent.c: (gst_event_discont_get_value):
16267 * gst/gstpipeline.c: (pipeline_bus_handler),
16268 (gst_pipeline_change_state):
16269 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16270 Better debugging of clocking info.
16271 Allow NULL values when getting discont values.
16273 2005-04-27 Wim Taymans <wim@fluendo.com>
16275 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16276 * check/gst/gstpad.c: (gst_pad_suite):
16277 Increase timeout for checks.
16279 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16281 * check/Makefile.am:
16282 fix the broken rule for cleanup. Apparently this rule is
16283 only needed on FC2, so maybe this warrants further autotool
16286 2005-04-26 Wim Taymans <wim@fluendo.com>
16288 * gst/gsttrashstack.h:
16289 Ooohh. a nasty one! After having a failed pop() from the stack,
16290 it's possible that the stack is empty. In that case, don't
16291 follow the NULL pointer.
16293 2005-04-25 Wim Taymans <wim@fluendo.com>
16295 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16296 (gst_pad_set_checkgetrange_function),
16297 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16298 (gst_pad_check_pull_range), (gst_pad_pull_range),
16299 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16300 (gst_pad_pause_task), (gst_pad_stop_task):
16301 * gst/gstplugin.c: (gst_plugin_load):
16303 Remove gst_library_load as it does more harm than good with
16304 the new g_module flags.
16305 Revert bogus caps template check in pad linking, pad caps
16306 are important when linking not the template, which is more
16307 general than the current caps.
16309 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16311 * gst/autoplug/.cvsignore:
16312 * gst/autoplug/Makefile.am:
16313 * gst/autoplug/gstsearchfuncs.c:
16314 * gst/autoplug/gstsearchfuncs.h:
16315 * gst/autoplug/gstspider.c:
16316 * gst/autoplug/gstspider.h:
16317 * gst/autoplug/gstspideridentity.c:
16318 * gst/autoplug/gstspideridentity.h:
16319 * gst/autoplug/spidertest.c:
16322 2005-04-25 Wim Taymans <wim@fluendo.com>
16324 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16325 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16326 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16327 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16329 Added stubs for unimplemented functions.
16331 2005-04-24 David Schleef <ds@schleef.org>
16333 * gst/gstpad.h: Disable some unimplemented functions. Wim,
16336 2005-04-24 David Schleef <ds@schleef.org>
16338 Convert everything from GstAtomicInt to g_atomic_int_*, and
16343 * gst/gstatomic_impl.h:
16351 * gst/gstdata_private.h:
16355 * gst/gstmessage.c:
16358 * gst/gststructure.c:
16359 * gst/gststructure.h:
16360 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16363 2005-04-24 David Schleef <ds@schleef.org>
16365 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16366 make the regressions tests work. Remove some code that is no
16368 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16369 Disable warning for pads without templates.
16371 2005-04-24 David Schleef <ds@schleef.org>
16373 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
16374 functions that handle filtered links.
16375 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16377 * gst/gstutils.c: Fix/remove utility functions that handle
16380 * gst/gstvalue.c: Add serialization/deserialization of caps
16381 * gst/parse/grammar.y: Ignore filtered caps when linking. This
16382 requires fixing so that the filter caps notation creates
16383 a capsfilter element and sets the filter_caps property. I
16384 think everyone probably wants to keep the shorthand notation.
16385 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16386 * docs/gst/tmpl/gstpad.sgml:
16388 * gst/elements/gstelements.c: Register capsfilter element.
16389 * gst/Makefile.am: fix spacing
16390 * docs/random/ds/0.9-suggested-changes: random
16392 2005-04-23 David Schleef <ds@schleef.org>
16394 * gst/elements/Makefile.am:
16395 * gst/elements/gstcapsfilter.c: New element that acts like an
16396 identity, but filters caps. Will eventually replace filtered
16397 caps in pad linking.
16398 * gst/gstutils.c: (gst_element_create_all_pads): New function
16399 to create all the ALWAYS pads that are registered with an
16400 element class. This functionality should eventually be
16401 merged in with GstElement initialization.
16403 * testsuite/trigger/README: part of trigger test code that should
16404 have been checked in a long time ago.
16406 2005-04-23 David Schleef <ds@schleef.org>
16408 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
16409 needed with new versions of libtool (nobody will confirm this),
16410 and hard to carry around.
16411 * gst/autoplug/Makefile.am:
16412 * gst/base/Makefile.am:
16413 * gst/elements/Makefile.am:
16414 * gst/indexers/Makefile.am:
16415 * gst/schedulers/Makefile.am:
16416 * libs/gst/bytestream/Makefile.am:
16417 * libs/gst/control/Makefile.am:
16418 * libs/gst/dataprotocol/Makefile.am:
16419 * libs/gst/getbits/Makefile.am:
16421 2005-04-21 Wim Taymans <wim@fluendo.com>
16423 * docs/design/draft-push-pull.txt:
16424 * docs/design/part-MT-refcounting.txt:
16425 * docs/design/part-TODO.txt:
16426 * docs/design/part-caps.txt:
16427 * docs/design/part-events.txt:
16428 * docs/design/part-gstbus.txt:
16429 * docs/design/part-gstpipeline.txt:
16430 * docs/design/part-messages.txt:
16431 * docs/design/part-push-pull.txt:
16432 * docs/design/part-query.txt:
16435 2005-04-21 Wim Taymans <wim@fluendo.com>
16437 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
16438 (gst_message_new), (gst_message_new_error),
16439 (gst_message_new_warning), (gst_message_new_tag),
16440 (gst_message_new_state_changed), (gst_message_new_application),
16441 (gst_message_get_structure):
16442 * gst/gstmessage.h:
16443 * gst/gststructure.c: (gst_structure_set_parent_refcount),
16444 (gst_structure_copy_conditional):
16445 Use parent refcount in GstMessage to ensure GstStructure
16447 Cleaned up headers a bit.
16450 2005-04-20 Wim Taymans <wim@fluendo.com>
16452 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16453 (gst_basesink_pad_getcaps), (gst_basesink_init),
16454 (gst_basesink_chain_unlocked):
16455 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
16456 (gst_type_find_helper):
16457 * gst/elements/gsttypefindelement.c:
16458 (gst_type_find_element_have_type), (gst_type_find_element_init),
16459 (stop_typefinding), (gst_type_find_element_handle_event),
16460 (find_suggest), (gst_type_find_element_chain),
16461 (gst_type_find_element_checkgetrange),
16462 (gst_type_find_element_getrange), (do_typefind),
16463 (gst_type_find_element_activate):
16464 * gst/gstbuffer.c: (_gst_buffer_sub_free),
16465 (gst_buffer_default_free), (gst_buffer_default_copy),
16466 (gst_buffer_set_caps):
16467 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
16468 (gst_caps_replace):
16469 * gst/gstmessage.c: (gst_message_new),
16470 (gst_message_new_state_changed):
16471 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16472 (gst_pad_set_checkgetrange_function),
16473 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
16474 (gst_pad_set_caps), (gst_pad_check_pull_range),
16475 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
16477 * gst/gsttypefind.c: (gst_type_find_register):
16478 Make gst_caps_replace() work like other _replace() functions.
16479 Use _caps_replace() where possible.
16480 Make sure _message_new() initialises its field.
16481 Add gst_static_pad_template_get_caps()
16484 2005-04-18 Andy Wingo <wingo@pobox.com>
16486 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
16487 on the peer, not the pad. I think that was a typo. Pass an extra
16488 arg to see if random access is possible. Activate the pads as
16489 PULL_RANGE if possible.
16491 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
16493 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
16494 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
16497 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16499 * docs/faq/using.xml:
16500 Add note on gstreamer-properties (#154996).
16502 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16504 * docs/random/bbb/optional-properties:
16505 Some analysis on optional properties.
16507 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16509 * docs/gst/tmpl/gstelementfactory.sgml:
16510 * gst/gstelement.h:
16511 * gst/gstelementfactory.c: (gst_element_factory_init),
16512 (gst_element_factory_cleanup), (gst_element_register),
16513 (__gst_element_factory_add_static_pad_template),
16514 (gst_element_factory_get_static_pad_templates),
16515 (gst_element_factory_can_src_caps),
16516 (gst_element_factory_can_sink_caps):
16517 * gst/registries/Makefile.am:
16518 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
16519 (gst_xml_registry_class_init), (gst_xml_registry_init),
16520 (gst_xml_registry_new), (gst_xml_registry_set_property),
16521 (gst_xml_registry_get_property), (get_time), (make_dir),
16522 (gst_xml_registry_get_perms_func),
16523 (plugin_times_older_than_recurse), (plugin_times_older_than),
16524 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
16525 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
16526 (add_to_char_array), (read_string), (read_uint), (read_enum),
16527 (load_pad_template), (load_feature), (load_plugin), (load_paths),
16528 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
16529 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
16530 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
16531 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
16532 (gst_xml_registry_rebuild):
16533 * gst/registries/gstlibxmlregistry.h:
16534 * tools/gst-compprep.c: (main):
16535 * tools/gst-inspect.c: (print_pad_templates_info):
16536 * tools/gst-xmlinspect.c: (print_element_info):
16537 Use libxml2 for registry parsing, use staticpadtemplates in
16538 elementfactories. Makes gst_init() +/- 10x faster.
16540 2005-04-12 Wim Taymans <wim@fluendo.com>
16542 * gst/base/Makefile.am:
16543 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16544 (gst_basesink_pad_getcaps), (gst_basesink_init),
16545 (gst_basesink_event), (gst_basesink_change_state):
16546 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16547 (gst_basesrc_init), (gst_basesrc_query),
16548 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16549 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16550 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16551 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16552 (gst_basesrc_stop), (gst_basesrc_activate),
16553 (gst_basesrc_change_state):
16554 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16555 (helper_find_suggest), (gst_type_find_helper):
16556 * gst/base/gsttypefindhelper.h:
16557 * gst/elements/Makefile.am:
16558 * gst/elements/gstelements.c:
16559 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16560 (gst_fakesink_get_times), (gst_fakesink_event),
16561 (gst_fakesink_preroll), (gst_fakesink_render):
16562 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16563 (gst_fakesrc_init), (gst_fakesrc_event_handler),
16564 (gst_fakesrc_get_property), (gst_fakesrc_create),
16565 (gst_fakesrc_start), (gst_fakesrc_stop):
16566 * gst/elements/gstfakesrc.h:
16567 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
16568 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16569 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16570 (gst_filesrc_create_read), (gst_filesrc_create),
16571 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
16572 (gst_filesrc_start):
16573 * gst/elements/gsttypefindelement.c:
16574 (gst_type_find_element_have_type), (gst_type_find_element_init),
16575 (start_typefinding), (stop_typefinding), (push_buffer_store),
16576 (gst_type_find_element_handle_event),
16577 (gst_type_find_element_chain),
16578 (gst_type_find_element_checkgetrange),
16579 (gst_type_find_element_getrange), (do_typefind),
16580 (gst_type_find_element_activate),
16581 (gst_type_find_element_change_state):
16582 * gst/elements/gsttypefindelement.h:
16583 * gst/gstpipeline.c: (pipeline_bus_handler):
16584 Added typefind helper.
16585 Small preroll fix in the base sink.
16586 Disable typefind code in basesrc.
16587 Crude port of typefindelement.
16591 2005-04-11 Wim Taymans <wim@fluendo.com>
16593 * check/gst/gstbus.c: (gstbus_suite):
16594 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
16595 * check/gstcheck.h:
16596 Fix up the timeout so that the test does not fail.
16598 2005-04-06 Wim Taymans <wim@fluendo.com>
16601 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16602 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
16603 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16604 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16605 (gst_basesrc_check_get_range), (gst_basesrc_loop),
16606 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16607 (gst_basesrc_stop), (gst_basesrc_activate),
16608 (gst_basesrc_change_state), (basesrc_find_peek),
16609 (basesrc_find_suggest), (gst_basesrc_type_find):
16610 * gst/base/gstbasesrc.h:
16611 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
16612 (gst_filesrc_class_init), (gst_filesrc_init),
16613 (gst_filesrc_finalize), (gst_filesrc_set_location),
16614 (gst_filesrc_set_property), (gst_filesrc_get_property),
16615 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16616 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16617 (gst_filesrc_create_read), (gst_filesrc_create),
16618 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
16619 * gst/elements/gstfilesrc.h:
16620 * gst/gstelement.c: (gst_element_get_state_func),
16621 (gst_element_lost_state), (gst_element_pads_activate):
16622 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16623 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16624 (gst_pad_pull_range):
16626 More work on the generic source base class, implement seeking,
16628 Make filesrc extend the base source class.
16629 Added gst_pad_set_checkgetrange_function to GstPad.
16631 2005-04-06 Andy Wingo <wingo@pobox.com>
16633 * pkgconfig/gstreamer-base.pc.in:
16634 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
16636 * pkgconfig/Makefile.am:
16637 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
16639 2005-04-04 Wim Taymans <wim@fluendo.com>
16641 * gst/base/Makefile.am:
16643 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16644 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16645 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16646 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
16647 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16648 (gst_basesrc_base_init), (gst_basesrc_class_init),
16649 (gst_basesrc_init), (gst_basesrc_get_formats),
16650 (gst_basesrc_get_query_types), (gst_basesrc_query),
16651 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
16652 (gst_basesrc_set_property), (gst_basesrc_get_property),
16653 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
16654 (gst_basesrc_loop), (gst_basesrc_activate),
16655 (gst_basesrc_change_state):
16656 * gst/base/gstbasesrc.h:
16657 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
16658 (gst_fakesrc_class_init), (gst_fakesrc_init),
16659 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
16660 (gst_fakesrc_get_property), (gst_fakesrc_create):
16661 * gst/elements/gstfakesrc.h:
16662 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
16663 (gst_filesrc_open_file), (gst_filesrc_loop),
16664 (gst_filesrc_activate), (filesrc_find_peek),
16665 (gst_filesrc_type_find):
16666 Made base source class, make fakesrc extend it.
16667 Add comments to basesink class.
16668 Some filesrc cleanup.
16670 2005-03-31 David Schleef <ds@schleef.org>
16672 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
16673 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
16674 expected to link against libgstreamer.
16675 * gst/base/Makefile.am: link against libgstreamer
16676 * gst/elements/Makefile.am: same
16678 2005-03-31 Andy Wingo <wingo@pobox.com>
16680 * tests/instantiate/Makefile.am:
16681 * tests/instantiate/caps.c: Add test to test speed of caps copy
16684 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
16685 GMemChunk to be fair.
16687 * gst/gsttrashstack.h: Remove warning about using the fallback
16688 trash stack implementation, it's still faster than malloc.
16690 2005-03-30 Andy Wingo <wingo@pobox.com>
16692 * tests/complexity.c: Add a copyright.
16694 2005-03-31 Wim Taymans <wim@fluendo.com>
16696 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
16697 (gst_base_transform_class_init), (gst_base_transform_init),
16698 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16699 (gst_base_transform_get_property),
16700 (gst_base_transform_sink_activate),
16701 (gst_base_transform_src_activate),
16702 (gst_base_transform_change_state):
16703 * gst/base/gstbasetransform.h:
16704 * gst/elements/gstidentity.c: (gst_identity_class_init),
16705 (gst_identity_event), (gst_identity_check_perfect),
16706 (gst_identity_transform), (gst_identity_start),
16707 (gst_identity_stop):
16708 Added start/stop methods to transform base class so subclasses
16709 don't need to deal with state changes even.
16711 2005-03-31 Wim Taymans <wim@fluendo.com>
16713 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
16714 (gst_event_new_discontinuous), (gst_event_discont_get_value):
16716 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16717 (gst_pad_pull_range):
16718 Added rate to the discont event to prepare for variable speed
16719 and reverse playback.
16721 2005-03-29 David Schleef <ds@schleef.org>
16724 * testsuite/trigger/Makefile.am:
16725 * testsuite/trigger/trigger.c: A little example program to show
16726 how trigger-based elements can work.
16728 2005-03-29 Wim Taymans <wim@fluendo.com>
16730 * gst/base/Makefile.am:
16732 * gst/base/gstbasesink.c: (gst_basesink_get_type),
16733 (gst_basesink_base_init), (gst_basesink_class_init),
16734 (gst_basesink_pad_getcaps), (gst_basesink_init),
16735 (gst_basesink_activate), (gst_basesink_change_state):
16736 * gst/base/gstbasesink.h:
16737 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
16738 (gst_base_transform_base_init), (gst_base_transform_finalize),
16739 (gst_base_transform_class_init), (gst_base_transform_init),
16740 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
16741 (gst_base_transform_event), (gst_base_transform_getrange),
16742 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
16743 (gst_base_transform_set_property),
16744 (gst_base_transform_get_property),
16745 (gst_base_transform_sink_activate),
16746 (gst_base_transform_src_activate),
16747 (gst_base_transform_change_state):
16748 * gst/base/gstbasetransform.h:
16749 * gst/elements/gstidentity.c: (gst_identity_finalize),
16750 (gst_identity_class_init), (gst_identity_init),
16751 (gst_identity_event), (gst_identity_check_perfect),
16752 (gst_identity_transform), (gst_identity_set_property),
16753 (gst_identity_get_property), (gst_identity_change_state):
16754 * gst/elements/gstidentity.h:
16755 * gst/gstelement.c: (gst_element_get_state_func),
16756 (gst_element_lost_state), (gst_element_pads_activate):
16757 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16758 (gst_pad_check_pull_range), (gst_pad_pull_range):
16760 Simplify pad activation.
16761 Added function to check if pull_range can be performed.
16762 Error out when pulling inactive or flushing pads.
16763 Removed const from refcounted types as it does not make sense.
16764 Simplify pad templates in basesink
16765 Added base class for simple 1-to-1 transforms.
16766 Make identity subclass the base transform.
16768 2005-03-29 Andy Wingo <wingo@pobox.com>
16770 * docs/libs/gstreamer-libs-overrides.txt:
16771 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
16772 really don't understand what's going on, but like whatever. I want
16775 * docs/gst/Makefile.am:
16776 * docs/libs/Makefile.am: Dist the overrides files.
16778 * check/Makefile.am (clean-local): Remove .libs directories.
16780 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
16781 elements to EXTRA_DIST, so po/ files are happy.
16783 * po/POTFILES.in: Er, remove it here.
16785 * po/POTFILES: Remove gstspider.c.
16787 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
16789 * docs/libs/gstreamer-libs-docs.sgml:
16790 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
16793 * tests/complexity.c (main): Set the length of the preroll queue
16794 on the sinks to prevent a lockup.
16796 * libs/gst/dataprotocol/Makefile.am:
16797 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
16798 the same as the one in check/gst-libs/gdp.c.
16800 * po/, docs/gst/: Commit automatic changes to docs and po files.
16802 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
16803 the versioned libgstbase.
16805 * check/Makefile.am: Depend on an unversioned gst-register, seems
16806 to make autoconf happier.
16808 * gst/base/Makefile.am: Make libgstbase a versioned lib.
16810 2005-03-28 Wim Taymans <wim@fluendo.com>
16813 * docs/design/part-gstelement.txt:
16814 * docs/design/part-negotiation.txt:
16815 * docs/design/part-preroll.txt:
16816 * docs/design/part-scheduling.txt:
16817 * docs/design/part-states.txt:
16819 * gst/base/Makefile.am:
16821 * gst/base/gstbasesink.c: (gst_basesink_get_template),
16822 (gst_basesink_base_init), (gst_basesink_class_init),
16823 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16824 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16825 (gst_basesink_set_pad_functions),
16826 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
16827 (gst_basesink_set_property), (gst_basesink_get_property),
16828 (gst_base_sink_get_template), (gst_base_sink_get_caps),
16829 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
16830 (gst_basesink_preroll_queue_push),
16831 (gst_basesink_preroll_queue_empty),
16832 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
16833 (gst_basesink_event), (gst_basesink_get_times),
16834 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
16835 (gst_basesink_chain_unlocked), (gst_basesink_chain),
16836 (gst_basesink_loop), (gst_basesink_activate),
16837 (gst_basesink_change_state):
16838 * gst/base/gstbasesink.h:
16839 * gst/elements/Makefile.am:
16840 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
16841 (gst_fakesink_class_init), (gst_fakesink_init),
16842 (gst_fakesink_set_property), (gst_fakesink_get_property),
16843 (gst_fakesink_get_times), (gst_fakesink_event),
16844 (gst_fakesink_preroll), (gst_fakesink_render),
16845 (gst_fakesink_change_state):
16846 * gst/elements/gstfakesink.h:
16847 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16848 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
16849 * gst/gstelement.c: (gst_element_add_pad),
16850 (gst_element_get_state_func), (gst_element_abort_state),
16851 (gst_element_commit_state), (gst_element_lost_state),
16852 (gst_element_set_state), (gst_element_pads_activate):
16853 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
16854 * gst/gstpipeline.c: (gst_pipeline_send_event),
16855 (gst_pipeline_change_state):
16856 Added state change code.
16857 Added/updated docs.
16858 Added sink base class, make fakesink extend the base class.
16859 Small cleanups in GstPipeline.
16861 2005-03-26 David Schleef <ds@schleef.org>
16863 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
16864 is broken and should be implemented in a different library.
16865 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
16866 * gst/gst.h: remove gstcpu.h
16867 * gst/gstcpu.c: remove
16868 * gst/gstcpu.h: remove
16869 * gst/Makefile.am.future: Remove this file. It's ancient.
16871 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16873 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
16874 (gst_bin_send_event):
16875 Add default event/set_manager handlers. The set_manager handler
16876 takes care that the manager is distributed over kids that were
16877 already in the bin before the manager was set. The event handler
16878 is a utility virtual function that sends the event over all sinks,
16879 so that gst_element_send_event (bin, event); has the expected
16881 * gst/gstpad.c: (gst_pad_event_default):
16882 Re-install default event handling for discontinuities, so that
16883 seeking works without requiring hacks in applications or extra
16885 * gst/gstpipeline.c: (gst_pipeline_class_init),
16886 (gst_pipeline_send_event):
16887 Half hack, half utility: set a pipeline to PAUSED for seek events,
16888 since that is the only way we can guarantee a/v sync. Means that
16889 you can do gst_element_seek (pipeline, method, pos); on a pipeline
16890 and it "just works".
16892 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16894 * gst/gstpipeline.c: (gst_pipeline_use_clock):
16895 Lock/unlock mismatch.
16897 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
16899 * docs/faq/gst-uninstalled:
16900 add gst-plugins-base
16901 * docs/gst/Makefile.am:
16902 don't error out until docs are fixed
16903 * docs/gst/gstreamer.types:
16906 2005-03-22 Wim Taymans <wim@fluendo.com>
16908 * check/Makefile.am:
16909 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
16910 * gst/gststructure.c: (gst_structure_set_valist),
16911 (gst_structure_copy_conditional):
16912 Activated more tests.
16913 Added message test.
16914 Added G_TYPE_POINTER to GstStructure.
16917 2005-03-22 Wim Taymans <wim@fluendo.com>
16919 * docs/design/part-TODO.txt:
16920 * docs/design/part-events.txt:
16921 * docs/design/part-gstbin.txt:
16922 * docs/design/part-gstbus.txt:
16923 * docs/design/part-gstpipeline.txt:
16924 * docs/design/part-messages.txt:
16926 * gst/gstmessage.c:
16929 2005-03-21 Wim Taymans <wim@fluendo.com>
16931 * gst/gstbus.c: (gst_bus_post):
16932 Fix copy-and-paste error.
16934 2005-03-21 Wim Taymans <wim@fluendo.com>
16936 * check/Makefile.am:
16938 * gst/elements/Makefile.am:
16939 * gst/elements/gstelements.c:
16940 * gst/elements/gstfakesink.c: (gst_fakesink_init),
16941 (gst_fakesink_event), (gst_fakesink_chain):
16942 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16943 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
16944 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
16945 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
16946 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16947 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
16948 (gst_fakesrc_loop), (gst_fakesrc_activate),
16949 (gst_fakesrc_change_state):
16950 * gst/elements/gstfakesrc.h:
16951 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
16952 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
16953 (gst_filesrc_open_file), (gst_filesrc_loop),
16954 (gst_filesrc_activate), (gst_filesrc_change_state),
16955 (filesrc_find_peek), (filesrc_find_suggest),
16956 (gst_filesrc_type_find):
16957 * gst/elements/gstidentity.c: (gst_identity_finalize),
16958 (gst_identity_class_init), (gst_identity_init),
16959 (gst_identity_proxy_getcaps), (identity_queue_push),
16960 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
16961 (gst_identity_getrange), (gst_identity_chain),
16962 (gst_identity_sink_loop), (gst_identity_src_loop),
16963 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
16964 (gst_identity_set_property), (gst_identity_get_property),
16965 (gst_identity_change_state):
16966 * gst/elements/gstidentity.h:
16967 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
16968 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
16969 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
16970 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
16971 (gst_tee_sink_activate):
16972 * gst/elements/gsttee.h:
16973 * gst/gst.c: (gst_register_core_elements), (init_post):
16975 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
16976 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
16977 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
16978 (gst_bin_change_state):
16980 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
16981 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
16982 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
16983 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
16984 (gst_bus_set_sync_handler), (gst_bus_create_watch),
16985 (bus_watch_callback), (bus_watch_destroy),
16986 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
16987 (poll_timeout), (gst_bus_poll):
16991 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
16992 (gst_element_post_message), (gst_element_message_full),
16993 (gst_element_get_state_func), (gst_element_get_state),
16994 (gst_element_abort_state), (gst_element_commit_state),
16995 (gst_element_lost_state), (gst_element_set_state),
16996 (gst_element_pads_activate), (gst_element_change_state),
16997 (gst_element_dispose), (gst_element_set_manager_func),
16998 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
16999 (gst_element_set_manager), (gst_element_get_manager),
17000 (gst_element_set_bus), (gst_element_get_bus),
17001 (gst_element_set_scheduler), (gst_element_get_scheduler):
17002 * gst/gstelement.h:
17003 * gst/gstevent.c: (gst_event_new_segment_seek),
17004 (gst_event_new_flush):
17006 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17007 (_gst_message_free), (gst_message_get_type), (gst_message_new),
17008 (gst_message_new_eos), (gst_message_new_error),
17009 (gst_message_new_warning), (gst_message_new_tag),
17010 (gst_message_new_state_changed), (gst_message_new_application),
17011 (gst_message_get_structure), (gst_message_parse_tag),
17012 (gst_message_parse_state_changed), (gst_message_parse_error),
17013 (gst_message_parse_warning):
17014 * gst/gstmessage.h:
17015 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17016 (gst_real_pad_set_property), (gst_pad_set_active),
17017 (gst_pad_is_active), (gst_pad_set_blocked_async),
17018 (gst_pad_set_blocked), (gst_pad_is_blocked),
17019 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17020 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17021 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17022 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17023 (gst_pad_link_filtered), (gst_pad_relink_filtered),
17024 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17025 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17026 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17027 (gst_pad_set_caps), (gst_pad_configure_sink),
17028 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17029 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17030 (gst_real_pad_dispose), (gst_real_pad_finalize),
17031 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17032 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17033 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17035 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17036 (pipeline_bus_handler), (gst_pipeline_change_state),
17037 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17038 * gst/gstpipeline.h:
17040 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17041 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17042 (gst_queue_link_src), (gst_queue_bufferalloc),
17043 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17044 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17045 (gst_queue_loop), (gst_queue_handle_src_event),
17046 (gst_queue_handle_src_query), (gst_queue_src_activate),
17047 (gst_queue_change_state):
17049 * gst/gstscheduler.c: (gst_scheduler_init),
17050 (gst_scheduler_dispose), (gst_scheduler_create_task),
17051 (gst_scheduler_factory_create):
17052 * gst/gstscheduler.h:
17053 * gst/gststructure.c: (gst_structure_get_type),
17054 (gst_structure_copy_conditional):
17055 * gst/gststructure.h:
17056 * gst/gsttaginterface.h:
17057 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17058 (gst_task_init), (gst_task_dispose), (gst_task_create),
17059 (gst_task_get_state), (gst_task_start), (gst_task_stop),
17065 * gst/schedulers/Makefile.am:
17066 * gst/schedulers/cothreads_compat.h:
17067 * gst/schedulers/entryscheduler.c:
17068 * gst/schedulers/faircothreads.c:
17069 * gst/schedulers/faircothreads.h:
17070 * gst/schedulers/fairscheduler.c:
17071 * gst/schedulers/gstbasicscheduler.c:
17072 * gst/schedulers/gstoptimalscheduler.c:
17073 * gst/schedulers/gthread-cothreads.h:
17074 * gst/schedulers/threadscheduler.c:
17075 (gst_thread_scheduler_task_get_type),
17076 (gst_thread_scheduler_task_class_init),
17077 (gst_thread_scheduler_task_init),
17078 (gst_thread_scheduler_task_start),
17079 (gst_thread_scheduler_task_stop),
17080 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17081 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17082 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17083 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17085 * libs/gst/Makefile.am:
17086 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17087 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17088 (gst_file_pad_parent_set):
17089 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17090 (gst_dp_event_from_packet):
17091 * tests/complexity.c: (main):
17092 * tests/mass_elements.c: (main):
17093 * testsuite/states/locked.c: (message_received), (main):
17094 * testsuite/states/parent.c: (main):
17095 * tools/gst-inspect.c: (print_element_flag_info),
17096 (print_implementation_info), (print_pad_info):
17097 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17099 * tools/gst-md5sum.c: (event_loop), (main):
17100 * tools/gst-typefind.c: (main):
17101 * tools/gst-xmlinspect.c: (print_element_info):
17103 Added GstBus for mainloop integration.
17104 Added GstMessage for sending notifications on the bus.
17105 Added GstTask as an abstraction for pipeline entry points.
17107 Removed Schedulers.
17108 Simplified GstQueue for multithreaded core.
17109 Made _link threadsafe, removed old capsnego.
17110 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17111 Added pad blocking functions.
17112 Reworked scheduling functions in GstPad to prepare for
17113 scheduling updates soon.
17114 Moved events out of data stream.
17115 Simplified GstEvent types.
17116 Added return values to push/pull.
17117 Removed clocking from GstElement.
17118 Added prototypes for state change function for next merge.
17119 Removed iterate from bins and state change management.
17120 Fixed some elements, disabled others for now.
17121 Fixed -inspect and -launch.
17122 Added check for GstBus.
17124 2005-03-10 Wim Taymans <wim@fluendo.com>
17126 * docs/design/part-MT-refcounting.txt:
17127 * docs/design/part-clocks.txt:
17128 * docs/design/part-gstelement.txt:
17129 * docs/design/part-gstobject.txt:
17130 * docs/design/part-standards.txt:
17131 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17132 (gst_bin_remove_func), (gst_bin_remove):
17136 * testsuite/clock/clock1.c: (main):
17137 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17139 * testsuite/dlopen/loadgst.c: (do_test):
17140 * testsuite/refcounting/bin.c: (add_remove_test1),
17141 (add_remove_test2), (main):
17142 * testsuite/refcounting/element.c: (main):
17143 * testsuite/refcounting/element_pad.c: (main):
17144 * testsuite/refcounting/pad.c: (main):
17145 * tools/gst-launch.c: (sigint_handler_sighandler):
17146 * tools/gst-typefind.c: (main):
17148 Added doc about clock.
17149 removed gst_bin_iterate_recurse_up(), marked methods
17151 Fix more testsuites.
17153 2005-03-09 Wim Taymans <wim@fluendo.com>
17155 * gst/gstpad.c: (gst_pad_get_direction),
17156 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17157 (gst_pad_collect_valist):
17158 * testsuite/bins/interface.c: (main):
17159 * testsuite/caps/audioscale.c: (test_caps):
17160 * testsuite/caps/caps.c: (test1), (test2), (test3):
17161 * testsuite/caps/deserialize.c: (main):
17162 * testsuite/caps/enumcaps.c: (main):
17163 * testsuite/caps/filtercaps.c: (main):
17164 * testsuite/caps/intersect2.c: (main):
17165 * testsuite/caps/random.c: (main):
17166 * testsuite/caps/renegotiate.c: (my_fixate), (main):
17167 * testsuite/caps/sets.c: (check_caps):
17168 * testsuite/caps/simplify.c: (check_caps), (main):
17169 * testsuite/caps/subtract.c: (check_caps):
17170 Fix _pad_get_direction wrt ghostpads.
17171 Fix caps testsuite.
17173 2005-03-09 Wim Taymans <wim@fluendo.com>
17175 * check/Makefile.am:
17176 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17177 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17178 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17179 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17180 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17181 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17182 (gst_bin_remove), (gst_bin_iterate_recurse_up),
17183 (bin_element_is_sink), (gst_bin_iterate_sinks),
17184 (gst_bin_iterate_all_by_interface):
17186 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17187 (gst_element_change_state), (gst_element_dispose),
17188 (gst_element_finalize), (gst_element_set_loop_function):
17189 * gst/gstelement.h:
17190 * gst/gstiterator.c: (find_custom_fold_func):
17191 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17192 (gst_pad_collectv), (gst_pad_collect_valist),
17193 (gst_pad_template_new):
17194 * gst/gstpipeline.c: (gst_pipeline_class_init),
17195 (gst_pipeline_dispose), (gst_pipeline_set_property),
17196 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17197 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17198 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17200 * gst/schedulers/entryscheduler.c:
17201 * gst/schedulers/gstbasicscheduler.c:
17202 (gst_basic_scheduler_cothreaded_chain),
17203 (gst_basic_scheduler_chain_add_element):
17204 * testsuite/bins/interface.c: (main):
17206 Added GstSystemClock test.
17207 Implemented clock distribution code in GstBin.
17208 Implemented iterate sinks method for future use.
17209 Rearranged gstelement.h
17210 Fix GstIterator comparison bug.
17211 Moved some code to GstPipeline, mostly clocking related.
17213 2005-03-09 Wim Taymans <wim@fluendo.com>
17216 * gst/gst_private.h:
17217 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17218 (gst_bin_remove_func), (gst_bin_remove),
17219 (gst_bin_get_by_name_recurse_up):
17220 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17221 (gst_clock_id_compare_func), (gst_clock_id_wait),
17222 (gst_clock_id_wait_async), (gst_clock_init),
17223 (gst_clock_adjust_unlocked), (gst_clock_get_time):
17224 * gst/gstelement.h:
17225 * gst/gstinfo.c: (_gst_debug_init):
17227 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17228 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17230 Bump version number, we're now 0.9.0
17231 Add future debugging category.
17232 Fix NULL _unref() in _get_by_name_recurse_up
17233 Rearrange gstpad.h.
17236 2005-03-08 Wim Taymans <wim@fluendo.com>
17238 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17239 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17240 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17241 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17242 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17243 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17244 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17245 * gst/elements/gstidentity.c: (gst_identity_class_init):
17246 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17247 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17248 * gst/elements/gstshaper.c: (gst_shaper_class_init):
17249 * gst/elements/gststatistics.c: (gst_statistics_class_init):
17250 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17252 * gst/gstelement.c: (gst_element_class_init),
17253 (gst_element_base_class_init), (gst_element_init),
17254 (gst_element_get_random_pad), (gst_element_wait_state_change),
17255 (gst_element_change_state), (gst_element_dispose),
17256 (gst_element_finalize), (gst_element_set_loop_function):
17257 * gst/gstelement.h:
17258 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17259 * gst/gstthread.c: (gst_thread_class_init),
17260 (gst_thread_release_children_locks), (gst_thread_change_state):
17261 * gst/schedulers/gstbasicscheduler.c:
17262 (gst_basic_scheduler_loopfunc_wrapper),
17263 (gst_basic_scheduler_chain_wrapper),
17264 (gst_basic_scheduler_src_wrapper),
17265 (gst_basic_scheduler_remove_element):
17266 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17267 Remove threadsafe properties. Fix elements because GObject
17268 complains when installing a property before declaring a
17269 set/get_property handler.
17270 Rearrange gstelement.h file, use STATE macros for state locks.
17271 Free mutexes in the finalize method instead of dispose.
17273 2005-03-08 Wim Taymans <wim@fluendo.com>
17275 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17276 * gst/gstthread.c: (gst_thread_release_children_locks):
17277 Added parentage check.
17278 Fix build og GstThread again.
17280 2005-03-08 Wim Taymans <wim@fluendo.com>
17282 * docs/design/part-MT-refcounting.txt:
17283 * docs/design/part-conventions.txt:
17284 * docs/design/part-gstobject.txt:
17285 * docs/design/part-relations.txt:
17286 * docs/design/part-standards.txt:
17287 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17288 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17289 (gst_bin_get_by_name), (gst_bin_get_by_interface),
17290 (gst_bin_iterate_all_by_interface):
17293 * gst/gstelement.c: (gst_element_class_init),
17294 (gst_element_change_state), (gst_element_set_loop_function):
17295 * gst/gstelement.h:
17296 * gst/gstiterator.c:
17297 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17298 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17299 (gst_object_dispatch_properties_changed), (gst_object_set_name),
17300 (gst_object_set_parent), (gst_object_unparent),
17301 (gst_object_check_uniqueness):
17303 Docs updates, clean up some headers.
17305 2005-03-07 Wim Taymans <wim@fluendo.com>
17307 * check/.cvsignore:
17308 * check/Makefile.am:
17309 * check/gst-libs/.cvsignore:
17310 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17311 * check/gst/.cvsignore:
17312 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17313 (START_TEST), (gstbus_suite), (main):
17314 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17315 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17316 (gst_data_suite), (main):
17317 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17318 (add_fold_func), (gstiterator_suite), (main):
17319 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17320 (thread_name_object), (thread_name_object_default),
17321 (gst_object_name_compare), (gst_object_suite), (main):
17322 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17323 (gst_pad_suite), (main):
17324 * check/gstcheck.c: (gst_check_log_message_func),
17325 (gst_check_log_critical_func), (gst_check_init):
17326 * check/gstcheck.h:
17327 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17328 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17331 2005-03-07 Wim Taymans <wim@fluendo.com>
17333 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17334 (gst_list_iterator_next), (gst_list_iterator_resync),
17335 (gst_list_iterator_free), (gst_iterator_new_list),
17336 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17337 (gst_iterator_free), (gst_iterator_push), (filter_next),
17338 (filter_resync), (filter_uninit), (filter_free),
17339 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17340 (gst_iterator_foreach), (find_custom_fold_func),
17341 (gst_iterator_find_custom):
17342 * gst/gstiterator.h:
17343 Added missing files.
17345 2005-03-07 Wim Taymans <wim@fluendo.com>
17349 * docs/design/part-MT-refcounting.txt:
17350 * docs/design/part-conventions.txt:
17351 * docs/design/part-gstobject.txt:
17352 * docs/design/part-relations.txt:
17353 * examples/mixer/mixer.c: (main):
17354 * examples/thread/thread.c: (eos), (main):
17356 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17357 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17358 (gst_spider_plug_from_srcpad):
17359 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17360 (gst_spider_identity_change_state),
17361 (gst_spider_identity_sink_loop_type_finding):
17362 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17363 * gst/elements/gstidentity.c: (gst_identity_init):
17364 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17365 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17366 * gst/elements/gsttypefindelement.c: (free_entry):
17369 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17370 (gst_bin_set_clock_func), (gst_bin_auto_clock),
17371 (gst_bin_set_index), (gst_bin_set_element_sched),
17372 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17373 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17374 (gst_bin_iterate_elements), (iterate_child_recurse),
17375 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17376 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17377 (compare_interface), (gst_bin_get_by_interface),
17378 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17380 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17381 (gst_buffer_default_free), (gst_buffer_default_copy),
17382 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17383 (gst_buffer_create_sub):
17385 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17386 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17387 (gst_caps_unref), (gst_static_caps_get),
17388 (gst_caps_remove_and_get_structure), (gst_caps_append),
17389 (gst_caps_append_structure), (gst_caps_remove_structure),
17390 (gst_caps_copy_nth), (gst_caps_set_simple),
17391 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17392 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17393 (gst_caps_structure_intersect_field), (gst_caps_intersect),
17394 (gst_caps_structure_subtract_field), (gst_caps_subtract),
17395 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17396 (gst_caps_structure_figure_out_union),
17397 (gst_caps_switch_structures), (gst_caps_do_simplify),
17398 (gst_caps_replace), (gst_caps_from_string),
17399 (gst_caps_copy_conditional):
17401 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17402 (_gst_clock_id_free), (gst_clock_id_unref),
17403 (gst_clock_id_compare_func), (gst_clock_id_wait),
17404 (gst_clock_id_wait_async), (gst_clock_class_init),
17405 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17406 (gst_clock_get_time), (gst_clock_set_time_adjust),
17407 (gst_clock_set_property), (gst_clock_get_property):
17410 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17411 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17413 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17414 (gst_element_requires_clock), (gst_element_provides_clock),
17415 (gst_element_set_clock), (gst_element_clock_wait),
17416 (gst_element_wait), (gst_element_set_time_delay),
17417 (gst_element_is_indexable), (gst_element_add_pad),
17418 (gst_element_add_ghost_pad), (gst_element_remove_pad),
17419 (pad_compare_name), (gst_element_get_static_pad),
17420 (gst_element_request_pad), (gst_element_get_request_pad),
17421 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17422 (gst_element_class_get_pad_template_list),
17423 (gst_element_class_get_pad_template), (gst_element_error_func),
17424 (gst_element_get_random_pad), (gst_element_get_event_masks),
17425 (gst_element_send_event), (gst_element_seek),
17426 (gst_element_get_query_types), (gst_element_query),
17427 (gst_element_get_formats), (gst_element_convert),
17428 (gst_element_is_locked_state), (gst_element_set_locked_state),
17429 (gst_element_sync_state_with_parent), (gst_element_change_state),
17430 (gst_element_finalize), (gst_element_yield),
17431 (gst_element_interrupt), (gst_element_set_scheduler),
17432 (gst_element_get_scheduler), (gst_element_set_loop_function):
17433 * gst/gstelement.h:
17435 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
17436 (gst_format_get_by_nick), (gst_format_get_details),
17437 (gst_format_iterate_definitions):
17439 * gst/gstindex.c: (gst_index_gtype_resolver):
17442 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
17443 (gst_mem_chunk_free):
17444 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17445 (gst_object_ref), (gst_object_unref), (gst_object_sink),
17446 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
17447 (gst_object_dispatch_properties_changed),
17448 (gst_object_set_name_default), (gst_object_set_name),
17449 (gst_object_get_name), (gst_object_set_name_prefix),
17450 (gst_object_get_name_prefix), (gst_object_set_parent),
17451 (gst_object_get_parent), (gst_object_unparent),
17452 (gst_object_check_uniqueness), (gst_object_save_thyself),
17453 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
17454 (gst_object_set_property), (gst_object_get_property),
17455 (gst_object_get_path_string):
17457 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17458 (gst_real_pad_init), (gst_real_pad_get_property),
17459 (gst_pad_custom_new), (gst_pad_get_direction),
17460 (gst_pad_set_active), (gst_pad_is_active),
17461 (gst_pad_set_event_function), (gst_pad_is_linked),
17462 (gst_pad_link_free), (gst_pad_link_intersect),
17463 (gst_pad_link_fixate), (gst_pad_set_caps),
17464 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
17465 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
17466 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
17467 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
17468 (gst_pad_get_caps), (gst_pad_peer_get_caps),
17469 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
17470 (gst_pad_realize), (gst_pad_get_allowed_caps),
17471 (gst_real_pad_dispose), (gst_real_pad_finalize),
17472 (gst_pad_collectv), (gst_pad_collect_valist),
17473 (gst_pad_template_dispose), (gst_pad_template_new),
17474 (gst_pad_get_internal_links):
17476 * gst/gstpipeline.c: (gst_pipeline_dispose),
17477 (gst_pipeline_change_state):
17478 * gst/gstpipeline.h:
17480 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
17481 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
17482 * gst/gstpluginfeature.h:
17483 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
17484 * gst/gstquery.c: (_gst_query_type_initialize),
17485 (gst_query_type_register), (gst_query_type_get_by_nick),
17486 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
17488 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
17489 * gst/gstscheduler.c: (gst_scheduler_add_element),
17490 (gst_scheduler_factory_create):
17491 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17492 (gst_structure_free), (gst_structure_set_name),
17493 (gst_structure_id_set_value), (gst_structure_set_value),
17494 (gst_structure_set_valist), (gst_structure_remove_field),
17495 (gst_structure_remove_fields),
17496 (gst_structure_remove_fields_valist),
17497 (gst_structure_remove_all_fields), (gst_structure_foreach),
17498 (gst_structure_map_in_place),
17499 (gst_caps_structure_fixate_field_nearest_int),
17500 (gst_caps_structure_fixate_field_nearest_double):
17501 * gst/gststructure.h:
17502 * gst/gstsystemclock.c: (gst_system_clock_class_init),
17503 (gst_system_clock_init), (gst_system_clock_dispose),
17504 (gst_system_clock_async_thread),
17505 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
17506 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
17507 * gst/gstsystemclock.h:
17508 * gst/gsttag.c: (gst_tag_list_add_value_internal),
17509 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
17510 * gst/gsttaginterface.c:
17511 * gst/gstthread.c: (gst_thread_dispose),
17512 (gst_thread_release_children_locks), (gst_thread_change_state),
17513 (gst_thread_main_loop):
17514 * gst/gsttrashstack.h:
17515 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
17517 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17518 (gst_element_request_pad), (gst_element_get_pad_from_template),
17519 (gst_element_request_compatible_pad),
17520 (gst_element_get_compatible_pad_filtered),
17521 (gst_element_get_compatible_pad), (gst_element_state_get_name),
17522 (gst_element_link_pads_filtered), (gst_element_link_filtered),
17523 (gst_element_link_many), (gst_element_link),
17524 (gst_element_link_pads), (gst_element_unlink_pads),
17525 (gst_element_unlink_many), (gst_element_unlink),
17526 (gst_pad_can_link_filtered), (gst_pad_can_link),
17527 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
17528 (gst_object_default_error), (gst_bin_add_many),
17529 (gst_bin_remove_many), (gst_element_populate_std_props),
17530 (gst_element_class_install_std_props), (gst_buffer_merge),
17531 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
17532 (link_fold_func), (gst_pad_proxy_setcaps):
17534 * gst/gstvalue.c: (gst_value_deserialize_string):
17535 * gst/parse/grammar.y:
17536 * gst/schedulers/gstbasicscheduler.c:
17537 (gst_basic_scheduler_cothreaded_chain),
17538 (gst_basic_scheduler_chain_recursive_add),
17539 (gst_basic_scheduler_pad_link):
17540 * gst/schedulers/gstoptimalscheduler.c:
17541 (get_group_schedule_function),
17542 (gst_opt_scheduler_state_transition),
17543 (gst_opt_scheduler_add_element), (element_get_reachables_func):
17544 * libs/gst/bytestream/bytestream.c:
17545 * libs/gst/dataprotocol/dataprotocol.c:
17546 (gst_dp_header_from_buffer):
17549 * tests/threadstate/threadstate2.c: (eos):
17550 * tools/gst-compprep.c: (main):
17551 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
17552 (print_pad_info), (print_children_info):
17553 * tools/gst-launch.c: (idle_func), (main):
17554 * tools/gst-md5sum.c: (idle_func), (main):
17555 * tools/gst-xmlinspect.c: (print_element_info):
17556 First THREADED backport attempt, focusing on adding locks and
17557 making sure the API is threadsafe. Needs more work. More docs
17560 2005-02-24 Andy Wingo <wingo@pobox.com>
17562 * tests/bench-complexity.scm:
17563 * tests/complexity.gnuplot: New files, good for running complexity
17566 * tests/Makefile.am:
17567 * tests/complexity.c: New test, sets up N elements, at each level
17568 teeing into M streams per element. Eeeenteresting.
17570 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
17571 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
17572 running bench-mass_elements.scm.
17574 * tests/bench-mass_elements.scm: New script, runs mass_elements
17575 for various numbers of identities, outputting the results to a
17576 file. Requires guile 1.6. Just for testing.
17578 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
17580 * gst/schedulers/fairscheduler.c:
17581 compile with debug disabled
17583 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
17586 hunting season on 0.9 is now OPEN