1 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3 * docs/pwg/building-boiler.xml:
4 * plugins/elements/gstcapsfilter.c:
5 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8 2006-09-16 Edward Hervey <edward@fluendo.com>
10 * libs/gst/base/gstbasetransform.c:
11 (gst_base_transform_buffer_alloc):
12 Check if requested caps are the same as the sinks caps IF
13 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
15 This fixes the renegotiation issues stated in #352827.
17 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
20 * docs/manual/advanced-autoplugging.xml:
21 * tests/examples/Makefile.am:
22 * tests/examples/manual/.cvsignore:
23 * tests/examples/manual/Makefile.am:
24 * tests/examples/manual/extract.pl:
25 Extract the manual examples again like we used to do.
28 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
30 * win32/common/config.h:
33 2006-09-16 Stefan Kost <ensonic@users.sf.net>
36 Documents how to receive errors.
38 2006-09-15 Wim Taymans <wim@fluendo.com>
40 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
42 Added some comments here and there.
43 Post an application message when an interrupt is caught instead of doing
44 an uncontrolled state change.
45 Clean up the event loop.
46 Handle buffering messages, pause/resume the pipeline.
47 Make shutdown because of an interrupt more reliable.
49 2006-09-15 Wim Taymans <wim@fluendo.com>
51 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
52 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
53 (gst_base_sink_preroll_object):
54 Make sure that our internal state is correct when we commit our state
55 asynchronously. This solves a race where a state change to PLAYING
56 could cause the sink to remain blocked in preroll in some situations.
58 2006-09-15 Wim Taymans <wim@fluendo.com>
60 * tools/gst-inspect.c: (print_element_properties_info),
62 List flags as hex so it's easier to deal with.
64 2006-09-15 Wim Taymans <wim@fluendo.com>
66 * docs/libs/gstreamer-libs-sections.txt:
67 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
68 (gst_base_sink_do_sync):
69 * libs/gst/base/gstbasesink.h:
70 Expose logic to wait for preroll so that subclasses such as audiosink
71 can also use this method.
72 API: gst_base_sink_wait_preroll()
74 2006-09-15 Wim Taymans <wim@fluendo.com>
76 * gst/gstobject.c: (gst_object_set_parent):
77 * gst/gstpipeline.c: (do_pipeline_seek):
78 Small cleanups in docs and code.
80 * gst/gstsegment.c: (gst_segment_clip):
81 * tests/check/gst/gstsegment.c: (GST_START_TEST):
82 if stop == start and start is in the segment, no clipping should be
83 done. Also add a test for this.
85 2006-09-15 Wim Taymans <wim@fluendo.com>
87 * docs/design/part-buffering.txt:
88 * docs/gst/gstreamer-sections.txt:
89 * gst/gstmessage.c: (gst_message_new_buffering),
90 (gst_message_parse_buffering):
92 Added methods to create and parse BUFFERING messages.
93 Added preliminary docs about buffering.
94 API: gst_message_new_buffering
95 API: gst_message_parse_buffering
97 2006-09-06 Wim Taymans <wim@fluendo.com>
100 Update documentation.
102 * gst/gstelement.c: (gst_element_class_init),
103 (gst_element_release_request_pad), (gst_element_set_clock),
104 (gst_element_get_index), (gst_element_add_pad),
105 (gst_element_remove_pad), (gst_element_get_random_pad),
106 (gst_element_send_event), (gst_element_get_query_types),
107 (gst_element_query), (gst_element_post_message),
108 (gst_element_message_full), (gst_element_continue_state),
109 (gst_element_lost_state), (gst_element_save_thyself),
110 (gst_element_restore_thyself):
111 Documentation updates.
112 Rename last bit of the new-pad -> pad-added signal rename.
113 Fix the case where an element query would only work if the source
115 Avoid some useless type checking in message handling.
120 Documentation updates.
122 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
124 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
125 add an INFO line for when we actually update the fd
127 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
132 === release 0.10.10 ===
134 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
137 releasing 0.10.10, "Pais"
139 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
141 * docs/manual/advanced-position.xml:
142 Fix typo in sample code.
144 2006-09-05 Wim Taymans <wim@fluendo.com>
146 * libs/gst/net/gstnetclientclock.c: (inet_aton),
147 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
148 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
149 * libs/gst/net/gstnetclientclock.h:
150 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
151 * libs/gst/net/gstnettimepacket.h:
152 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
153 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
154 (gst_net_time_provider_thread), (gst_net_time_provider_new):
155 * libs/gst/net/gstnettimeprovider.h:
156 Make stuff compile on windows. Fixes #345295.
158 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
160 * gst/gst.c: (ensure_current_registry_forking):
161 Print better details when child was terminated by signal.
163 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
165 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
166 Print a warning rather than g_assert() if a plugin feature
167 is a URI handler but returns no protocols (#353976).
169 2006-09-02 Stefan Kost <ensonic@users.sf.net>
171 * docs/random/moving-plugins:
174 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
176 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
177 Fix locking order, handle NULL function values properly.
182 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
183 Initialise variable before using it and fix debug statement to
184 print the address of the function rather than the address of the
185 variable on the stack holding the address of the function.
187 2006-09-01 Wim Taymans <wim@fluendo.com>
189 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
190 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
191 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
192 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
193 (gst_ghost_pad_parent_unset),
194 (gst_ghost_pad_internal_do_activate_push),
195 (gst_ghost_pad_internal_do_activate_pull),
196 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
197 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
198 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
199 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
200 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
201 (gst_ghost_pad_new_no_target_from_template),
202 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
204 Avoid needless typechecking in macros.
205 Since the internal pad is always present and never changes, there is
206 no need to locking or ref when retrieving it.
207 Improve debugging a bit.
208 Handle link errors when setting the target. Fixes #341029.
210 2006-09-01 Wim Taymans <wim@fluendo.com>
212 * docs/libs/gstreamer-libs-sections.txt:
213 * docs/plugins/gstreamer-plugins-sections.txt:
216 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
217 (gst_collect_pads_event):
218 * libs/gst/base/gstcollectpads.h:
219 Documentation updates.
220 Free queued buffer when removing a pad.
222 2006-08-31 Michael Smith <msmith@fluendo.com>
224 * gst/gstutils.c: (gst_element_link_pads),
225 (gst_element_link_pads_filtered):
226 Ensure that we set a capsfilter to NULL if we failed to link it
227 when doing filtered linking, to avoid criticals.
229 No need to check for unreffing srcpad, which is explicly NULLed
230 above (a trivial code cleanup).
232 2006-08-31 Wim Taymans <wim@fluendo.com>
234 * docs/design/part-gstghostpad.txt:
235 Update ascii art in documentation.
237 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
238 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
239 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
240 (gst_ghost_pad_internal_do_activate_push),
241 (gst_ghost_pad_internal_do_activate_pull),
242 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
243 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
244 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
245 (gst_ghost_pad_set_target):
246 Small cleanups and leak fixes.
247 Remove some checks now that the internal pad is never NULL.
248 Fix the case where linking pads without a target would create nasty
249 criticals. Fixes #341029.
250 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
251 value of _set_target().
253 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
254 (gst_ghost_pad_suite):
255 Some more tests for creating and linking untargeted ghostpads.
257 2006-08-31 Edward Hervey <edward@fluendo.com>
259 * docs/gst/gstreamer-sections.txt:
260 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
261 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
262 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
263 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
264 (gst_ghost_pad_new_from_template),
265 (gst_ghost_pad_new_no_target_from_template):
267 Refactored *_new() functions.
268 Templates are now used as a g_object_new() parameter.
269 Use template in _do_getcaps() if we don't have a target.
270 Small documentation cleanups.
271 Added two new constructors:
272 gst_ghost_pad_new_from_template()
273 gst_ghost_pad_new_no_target_from_template()
274 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
275 (gst_ghost_pad_suite):
276 Added tests for new ghostpad instanciation functions.
278 API additions: gst_ghost_pad_new_from_template,
279 gst_ghost_pad_new_no_target_from_template
281 2006-08-30 Stefan Kost <ensonic@users.sf.net>
283 * docs/random/ensonic/profiling.txt:
284 Ideas about qos profiling.
286 2006-08-29 Wim Taymans <wim@fluendo.com>
288 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
292 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
295 Improve and detypofy docs.
297 * tests/check/Makefile.am:
298 * tests/check/gst/.cvsignore:
299 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
300 Add a basic test suite for GstXML.
302 2006-08-29 Wim Taymans <wim@fluendo.com>
304 * gst/gstelement.c: (activate_pads), (clear_caps),
305 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
306 Clear the pad caps when the element shut down all of the pads and
307 is not streaming data that could modify the caps.
310 2006-08-28 Michael Smith <msmith@fluendo.com>
312 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
313 Revert previous change; I misunderstood single-segment mode.
315 2006-08-28 Michael Smith <msmith@fluendo.com>
317 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
318 Unset DISCONT on buffers when using single-segment mode.
320 2006-08-28 Wim Taymans <wim@fluendo.com>
322 * gst/gstcaps.c: (gst_caps_merge_structure):
324 Fix docs and indentation again.
326 * tests/check/gst/gstquery.c: (GST_START_TEST):
327 Fix leak in tests and add some more tests.
329 2006-08-28 Edward Hervey <edward@fluendo.com>
331 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
332 Inform GstSegment of the last stop position in order for the current
333 segment to have a proper duration if it doesn't have a specific stop
334 position from which a duration could be calculated.
335 This bug was noticeable when a non-flushing, non-update new segment was
336 followed by another segment (all buffers from the new segment were being
339 2006-08-28 Wim Taymans <wim@fluendo.com>
341 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
342 Small comment update.
344 * plugins/elements/gstidentity.c: (gst_identity_class_init),
345 (gst_identity_transform_ip):
346 Drop-probability is broken, mention this in the code with a
347 FIXME and also in the property description.
348 Make silent also be silent about the drop messages.
350 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
352 * docs/manual/appendix-win32.xml:
353 Remove mention of popt, we don't depend on that any
354 longer (#353136). Add some comments pointing out that
355 this section is slightly outdated.
357 2006-08-28 Wim Taymans <wim@fluendo.com>
359 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
361 * gst/gstquery.c: (gst_query_new_segment):
362 * tests/check/gst/gstquery.c: (GST_START_TEST):
363 Initialize variables when creating a new segment query.
366 2006-08-28 Wim Taymans <wim@fluendo.com>
368 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
370 * gst/gstelement.c: (gst_element_get_bus):
371 * tests/check/gst/gstelement.c: (GST_START_TEST):
372 Check for NULL before _reffing the bus. Fixes #353122.
374 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
376 * docs/manual/basics-bus.xml:
377 Docs update: fix wrong callback return value explanation; add
378 some lines about the implicit relationship between main loop
379 and main context; remove duplicate main loop variable declaration.
381 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
383 * tests/check/gst/gstcaps.c: (GST_START_TEST):
384 Don't leak caps in unit test; add a few more simple
387 2006-08-24 Stefan Kost <ensonic@users.sf.net>
389 * docs/gst/gstreamer-sections.txt:
390 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
391 (gst_caps_structure_is_subset), (gst_caps_merge),
392 (gst_caps_merge_structure):
394 * libs/gst/base/gstbasetransform.c:
395 (gst_base_transform_transform_caps):
396 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
397 implement caps merging (fixes #352580)
399 2006-08-23 Stefan Kost <ensonic@users.sf.net>
402 * tools/gst-plot-timeline.py:
403 add debug-log plotting developer tool (#340674)
405 2006-08-23 Wim Taymans <wim@fluendo.com>
407 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
409 Improve debugging for task functions.
411 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
412 (gst_task_start), (gst_task_pause), (gst_task_join):
413 Make sure that the task function started and finished after a
415 Don't try to push the task function on the threadpool multiple
417 Improve the g_warning message with some useful suggestions
418 about how to fix the problem.
420 2006-08-23 Wim Taymans <wim@fluendo.com>
422 * gst/gstutils.c: (gst_pad_proxy_getcaps):
423 Handle RESYNC correctly in _proxy_getcaps.
425 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
427 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
428 (gst_xml_parse_memory), (gst_xml_get_element):
429 Chain up to parent class in dispose function and also
430 unref the elements in the toplevel_elements GList.
431 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
432 Always return a reference in gst_xml_get_element() rather
435 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
436 Don't leak GstXml object.
438 2006-08-21 Stefan Kost <ensonic@users.sf.net>
440 * docs/gst/gstreamer-sections.txt:
441 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
444 * libs/gst/base/gstbasetransform.c:
445 (gst_base_transform_transform_caps):
446 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
449 2006-08-21 Edward Hervey <edward@fluendo.com>
451 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
452 Implement GObject::dispose virtual method in GstXML so we can free the
455 2006-08-21 Wim Taymans <wim@fluendo.com>
457 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
458 (gst_buffer_create_sub):
459 Copy duration/offset_end/caps when creating a subbuffer of the
461 Make the subbuffer read-only when we make the metadata writable for
464 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
465 Added check for metadata copy when creating subbuffers.
467 2006-08-21 Edward Hervey <edward@fluendo.com>
469 * libs/gst/base/gstbasetransform.c:
470 (gst_base_transform_buffer_alloc):
471 Only call downstream buffer_alloc if transform element is passthrough
472 or always_in_place. Closes #350449.
474 2006-08-20 Stefan Kost <ensonic@users.sf.net>
477 ChangeLog surgery to add comments to previous changes
479 2006-08-20 Stefan Kost <ensonic@users.sf.net>
484 * gst/gstpad.c: (gst_pad_set_active):
485 Be more verbose in the log
487 * libs/gst/base/gstbasetransform.c:
488 (gst_base_transform_transform_caps):
489 Simplify caps to get rid of duplicates, fixes #345444
491 2006-08-20 Stefan Kost <ensonic@users.sf.net>
495 Use these optimizations only internally.
497 2006-08-20 Stefan Kost <ensonic@users.sf.net>
499 * gst/gstvalue.c: (gst_value_compare_list),
500 (gst_value_compare_fraction_range),
501 (gst_value_intersect_fraction_fraction_range),
502 (gst_value_intersect_fraction_range_fraction_range),
503 (gst_value_subtract_fraction_fraction_range),
504 (gst_value_subtract_fraction_range_fraction_range),
505 (gst_value_get_compare_func), (gst_value_compare),
506 (gst_value_compare_with_func):
508 Saves the expensive lookup of the compare function in many cases
511 2006-08-18 Edward Hervey <edward@fluendo.com>
513 * tests/check/gst/gstinfo.c: (gst_info_suite):
514 Disable test that require gstdebug if it wasn't built in core.
516 2006-08-18 Stefan Kost <ensonic@users.sf.net>
518 * docs/random/ensonic/logging.txt:
521 * gst/gstinfo.c: (gst_debug_log_default):
522 reorder fields, save some columns, add optional color codes for log
525 2006-08-18 Stefan Kost <ensonic@users.sf.net>
527 * docs/random/ensonic/logging.txt:
528 add ideas about making the logs a bit more useful
530 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
532 * docs/pwg/advanced-events.xml:
533 * docs/pwg/titlepage.xml:
534 Update for 0.10 API (#340627). Add myself
537 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
539 * docs/libs/gstreamer-libs-docs.sgml:
540 * docs/libs/gstreamer-libs-sections.txt:
541 * libs/gst/check/gstbufferstraw.c:
542 Make gstcheck stuff show up in docs (still needs to
543 be documented properly though).
545 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
547 * docs/gst/gstreamer-sections.txt:
549 * gst/gst.c: (init_post):
551 * gst/gstquark.c: (_priv_gst_quarks_initialize):
553 * gst/gstquery.c: (gst_query_new_position),
554 (gst_query_set_position), (gst_query_parse_position),
555 (gst_query_new_duration), (gst_query_set_duration),
556 (gst_query_parse_duration), (gst_query_new_convert),
557 (gst_query_set_convert), (gst_query_parse_convert),
558 (gst_query_new_segment), (gst_query_set_segment),
559 (gst_query_parse_segment), (gst_query_new_seeking),
560 (gst_query_set_seeking), (gst_query_parse_seeking):
561 Add internal helpers for pre-registering quarks from static strings
562 and using the quark values directly instead of looking them up when
563 creating and parsing queries. Can be used for event construction too.
566 2006-08-16 Wim Taymans <wim@fluendo.com>
571 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
573 * gst/gstutils.c: (gst_util_set_value_from_string):
574 Fix memleak (#351502).
576 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
577 Add unit test for most of gst_util_set_value_from_string()
578 (not that one would want to encourage use of this function).
580 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
582 * libs/gst/check/gstcheck.h:
583 Use const gchar * variables in fail_unless_equals_string
584 macro to avoid compiler warnings (and don't use tabs for
587 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
589 * tools/gst-launch.c: (print_tag):
590 More space on the left for the tag names, to cater
591 for the 'extended comment' tag (not touching the
592 string for the first line since it's translated).
594 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
596 * libs/gst/check/gstcheck.h:
597 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
598 print something when they fail.
600 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
602 * docs/gst/gstreamer-sections.txt:
603 * gst/gsttaglist.c: (_gst_tag_initialize):
605 API: add GST_TAG_EXTENDED_COMMENT (#350935).
606 Also change merge function for GST_TAG_COMMENT to
609 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
611 * gst/gstinfo.c: (gst_debug_print_object):
612 Make GST_PTR_FORMAT print messages as well.
614 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
615 (GST_START_TEST), (gst_info_suite):
618 2006-08-14 Edward Hervey <edward@fluendo.com>
620 * gst/gstelementfactory.c: (gst_element_register):
621 If the GstElementClass doesn't have a GstElementDetails with all fields
622 filled up correctly (longname, description AND author), then error out
623 nicely instead of crashing.
625 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
627 * gst/gststructure.c:
628 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
631 Expand on the difference between arrays and lists as we use them.
633 2006-08-14 Wim Taymans <wim@fluendo.com>
635 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
636 If the parent state change function failed, don't assume we can safely
637 stop the source, this will be done when the pads are deactivated.
639 2006-08-14 Wim Taymans <wim@fluendo.com>
642 * gst/gsttask.c: (gst_task_join):
645 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
647 When pad (de)activation failed for some reason, restore the old
648 activation mode and set the pad to flushing instead of assuming the
650 If the _task_join() failed, reinstall the task on the pad so that it can
651 be stopped later and return an error.
653 2006-08-11 Andy Wingo <wingo@pobox.com>
656 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
657 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
658 is only for users of API that don't want to see deprecated
659 functions in the headers; people that want to compile out
660 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
661 CFLAGS. Fixes the build of multifdsink, or will soon..
663 2006-08-11 Wim Taymans <wim@fluendo.com>
665 * docs/gst/gstreamer-sections.txt:
666 Add GstClockClass vmethod docs.
669 Mark #endif with comment for associated #if
671 * gst/gstclock.c: (gst_clock_id_wait):
673 Add vmethod wait_jitter to avoid an unneeded _get_time() for
674 most clock implementations.
676 Flesh out docs about resolution methods.
677 API: GstClockClass::wait_jitter
679 * gst/gstsystemclock.c: (gst_system_clock_class_init),
680 (gst_system_clock_async_thread),
681 (gst_system_clock_id_wait_jitter_unlocked),
682 (gst_system_clock_id_wait_jitter):
683 Use base class wait_jitter variant for improved performance
684 due to less clock polling.
686 2006-08-11 Edward Hervey <edward@fluendo.com>
688 * gst/gst.c: (gst_init_check), (init_post):
689 Set gst as being initialized before scanning/updating the registry,
690 since there might be my python plugin loader that calls gst_init() and
691 we don't want to loop back in.
694 2006-08-11 Wim Taymans <wim@fluendo.com>
696 * docs/design/part-qos.txt:
697 Bring docs in line with the code. Mostly the sign of the jitter was
698 wrong in the docs. Fixes #349943.
701 Fix the docs for the jitter.
703 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
704 (gst_event_parse_tag), (gst_event_new_buffer_size),
705 (gst_event_parse_buffer_size), (gst_event_parse_qos),
706 (gst_event_new_seek), (gst_event_parse_seek),
707 (gst_event_new_navigation):
708 Make sure the GstStructure has no parent when creating custom
710 Add some more argument checking so that we avoid 0.0 rates.
711 Flesh out the docs for the QoS event some more.
713 2006-08-11 Wim Taymans <wim@fluendo.com>
715 * docs/gst/gstreamer-sections.txt:
716 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
717 (ensure_current_registry_forking), (ensure_current_registry),
718 (parse_one_option), (parse_goption_arg), (gst_deinit),
719 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
722 Added API and command line option to disable registry forking in
723 addition to the environment variable.
724 Constify some static arrays.
725 Added some more debug.
727 API: gst_registry_fork_is_enabled()
728 API: gst_registry_fork_set_enabled()
729 API: --gst-disable-registry-fork command line option
732 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
734 * gst/gst.c: (gst_init):
735 Fix typo in error message.
737 2006-08-10 Stefan Kost <ensonic@users.sf.net>
739 * libs/gst/controller/gstcontroller.h:
740 fix ABI size-correction
742 * tests/check/libs/gdp.c: (gst_dp_suite):
743 make tests that use deprecated API conditional
745 2006-08-10 Stefan Kost <ensonic@users.sf.net>
747 * docs/libs/gstreamer-libs-sections.txt:
748 * libs/gst/controller/gstcontroller.c:
749 (_gst_controller_get_property), (_gst_controller_set_property),
750 (_gst_controller_init), (_gst_controller_class_init):
751 * libs/gst/controller/gstcontroller.h:
752 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
753 (gst_object_set_control_rate):
754 API: add gst_object_{s,g}et_control_rate(), add private data section,
757 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
758 * libs/gst/dataprotocol/dataprotocol.h:
759 add deprecation guards to make gtk-doc happy and allow disabling cruft
761 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
763 * tests/check/Makefile.am:
764 * tests/check/gst/.cvsignore:
765 Let's enable the new unit test as well.
767 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
770 * docs/gst/gstreamer-sections.txt:
771 * gst/gstconfig.h.in:
772 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
773 (_gst_info_printf_extension_ptr),
774 (_gst_info_printf_extension_segment):
775 API: add GST_SEGMENT_FORMAT, which is a printf extension we
776 register that lets us easily dump GstSegments into debug
779 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
780 (info_segment_format_printf_extension), (gst_info_suite):
781 Add simple unit test that logs a bunch of different segments (not
782 valgrinded at the moment because of leaks in
783 gst_debug_add_log_function).
785 2006-08-09 Edward Hervey <edward@fluendo.com>
787 * libs/gst/base/gstbasetransform.c:
788 (gst_base_transform_buffer_alloc):
789 Even if we can't figure out the proper format to request downstream,
790 call buffer_alloc() downstream with the input parameters without setting
791 the caps on the srcpad. This will force negotiation in the chain
795 2006-08-08 Edward Hervey <edward@fluendo.com>
797 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
798 Unlinking from a pad without a target is now a perfectly valid case
799 which should NOT raise an assertion.
800 This case would happen if a linked ghostpad its target set to NULL after
801 it was previously linked.
803 2006-08-08 Edward Hervey <edward@fluendo.com>
805 * tests/check/libs/gdp.c:
806 Also comment out the test (see below).
808 2006-08-08 Edward Hervey <edward@fluendo.com>
810 * tests/check/libs/gdp.c: (gst_dp_suite):
811 Use the architecture information from config.h and not gcc macros
812 in order to properly disable a test that fails on PPC64.
814 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
816 * gst/gstelement.c: (gst_element_remove_pad):
817 Don't crash printing the warning if the pad has no parent.
819 2006-08-02 Wim Taymans <wim@fluendo.com>
821 * libs/gst/dataprotocol/dataprotocol.c:
822 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
823 (gst_dp_crc), (gst_dp_header_payload_length),
824 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
825 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
826 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
827 (gst_dp_event_from_packet), (gst_dp_validate_header),
828 (gst_dp_validate_payload):
829 Make debug category static
830 Constify the crc table.
831 Do some more arg checking in public functions.
832 Fix some docs and do some small cleanups.
834 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
835 Add some more checks to see if GDP deals with bogus input.
837 2006-07-31 Wim Taymans <wim@fluendo.com>
839 * gst/gstvalue.c: (gst_value_compare_list):
840 Fix GstValueList comparison code. Fixes #347293.
842 * tests/check/gst/gstvalue.c: (GST_START_TEST):
843 Check to test GstValueList comparison.
845 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
847 * gst/gstelementfactory.c: (gst_element_factory_create):
848 Remove unnecessary ref/unref pair
850 * gst/parse/grammar.y:
851 Make sure to free the parse buffer on all code paths.
852 Move a g_free up to the error handler where it's easier to see.
854 * tests/check/gst/gstevent.c: (test_event):
855 Extending timeout for downstream travelling events to 10 seconds to
856 hopefully avoid intermittent failure on the buildbots.
858 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
859 Don't manually set the state of the src element - it will happen as a
860 natural consequence of the pipeline changing state, and that way it
861 will do it in the right order too.
863 2006-07-31 Wim Taymans <wim@fluendo.com>
865 * libs/gst/base/gstbasetransform.c:
866 (gst_base_transform_buffer_alloc):
867 Use OBJECT_LOCK and refcounting to get the pad caps in the
868 buffer_alloc function because the caps could change while we are
869 busy with them. Fixes #349105
871 2006-07-31 Wim Taymans <wim@fluendo.com>
873 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
874 Protect _PAD_CAPS with OBJECT_LOCK.
876 2006-07-31 Wim Taymans <wim@fluendo.com>
878 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
879 (gst_pad_get_property), (gst_pad_activate_pull),
880 (gst_pad_activate_push), (gst_pad_set_blocked_async),
881 (gst_pad_set_activate_function),
882 (gst_pad_set_activatepull_function),
883 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
884 (gst_pad_set_getrange_function),
885 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
886 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
887 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
888 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
889 (gst_pad_set_acceptcaps_function),
890 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
891 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
892 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
893 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
894 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
895 (gst_pad_configure_sink), (gst_pad_configure_src),
896 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
897 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
898 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
899 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
900 (gst_pad_send_event):
901 Use _DEBUG_OBJECT when it makes sense.
902 Protect GST_PAD_CAPS with the OBJECT_LOCK.
903 Small cleanups and code reflows.
904 Avoid caps refcounting in _accept_caps.
905 Refactor alloc_buffer so that the code performed on the peer is in a
906 separate function. Also if the pad does not implement a buffer alloc
907 function, we should still check if the pad is flushing before falling
908 back to the default allocator.
910 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
912 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
913 Make all uses of identity and fakesink have silent=true to avoid
914 serialising every passing data structure, which is breaking tests
915 on FC4 for some unknown reason.
917 2006-07-30 Stefan Kost <ensonic@users.sf.net>
919 * gst/parse/Makefile.am:
920 * gst/parse/grammar.y:
922 Reverted previous patch as it required to bump the flex dependency to
923 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
925 2006-07-30 Stefan Kost <ensonic@users.sf.net>
927 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
929 * gst/parse/Makefile.am:
930 * gst/parse/grammar.y:
932 push & pop the state of the lexer for reentrant use case
935 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
937 * libs/gst/base/gstbasesrc.h:
938 Note in the docs that the ::newsegment vfunc is not actually used by
941 2006-07-28 Wim Taymans <wim@fluendo.com>
943 * libs/gst/base/gstcollectpads.c:
944 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
945 (gst_collect_pads_clear), (gst_collect_pads_flush),
946 (gst_collect_pads_event), (gst_collect_pads_chain):
947 When flushing a pad, also clear the queued buffer so that we don't
948 accidentally use it when we shouldn't.
949 Fix leaks by inreffing incomming buffer.
950 Flush out queued buffers in case of errors.
953 2006-07-28 Wim Taymans <wim@fluendo.com>
955 * docs/random/phonon-gst:
956 Random notes about a Phonon backend.
958 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
960 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
962 * tests/check/libs/gdp.c: (gst_dp_suite):
963 Take a whack at fixing the ppc compile using a different define to
964 disable the broken test.
966 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
967 Remove excess g_print()
969 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
971 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
972 Oops, meant to uncomment this line too to dampen the noise a bit.
974 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
976 * gst/parse/grammar.y:
978 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
979 (GST_START_TEST), (parse_suite):
980 Fix some of the leaks exposed by extending the parse-launch testsuite,
981 and move the 3 I can't figure out into a separate test that won't run
982 the pipelines unless the appropriate line is uncommented.
984 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
986 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
987 Requesting 0 bytes before the end of the file should result in
988 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
991 2006-07-27 Wim Taymans <wim@fluendo.com>
993 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
994 Fix useless assert, a uint is always positive.
996 * gst/gststructure.c: (gst_structure_nth_field_name),
997 (gst_structure_foreach), (gst_structure_map_in_place):
998 Check input arguments for public functions to avoid obvious crashes.
1000 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1001 * plugins/elements/gstfakesink.h:
1002 Do less useless typechecking.
1004 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1006 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1007 Do not use mmap() by default since there are a number of error
1008 conditions that we would like to handle in a non-fatal way that
1009 will result in a SIGBUS if we use mmap(). Examples: external
1010 devices (USB harddrive, portable music player) being unplugged
1011 while in use; file on mounted CD/DVD that can't be read because
1012 the medium is partly damaged. Fixes #348455 and #348475.
1014 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1017 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1020 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1022 * gst/gstregistry.c:
1023 Move big documentation comment into class section header, so that it
1024 appears in the API docs.
1026 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1028 * docs/gst/gstreamer-sections.txt:
1029 Oops. Commit the docs additions too for new API.
1030 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1032 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1034 * gst/gststructure.c: (gst_structure_id_set),
1035 (gst_structure_id_set_valist):
1036 * gst/gststructure.h:
1037 Add API for setting values into structures without performing
1038 a quark lookup, if the appropriate quark is already known.
1040 API: gst_structure_id_set
1041 API: gst_structure_id_set_valist
1043 * gst/parse/grammar.y:
1044 * gst/parse/parse.l:
1045 Remove some dead code shown by the coverage information.
1046 Don't throw a critical g_warning when encountering a syntax error,
1047 just warn and let the normal error path handle it.
1049 * plugins/elements/gstelements.c:
1050 Bump the rank of filesink up to PRIMARY so that it is preferred over
1051 gnomevfssink for file:// sink uri's
1053 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1054 (GST_START_TEST), (run_delayed_test),
1055 (gst_parse_test_element_base_init),
1056 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1057 (gst_parse_test_element_change_state),
1058 (gst_register_parse_element), (parse_suite):
1059 Beef up the tests for parse syntax to check that more error cases
1060 fail as they are supposed to. Increases the test coverage a bit.
1062 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1064 * docs/manual/basics-elements.xml:
1065 Fix gst_element_link() example.
1068 Mention in API docs that one should usually gst_bin_add()
1069 elements to a bin or pipeline before doing the linking.
1071 2006-07-26 Wim Taymans <wim@fluendo.com>
1073 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1074 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1075 Avoid function call for known types by keeping the buffer and
1076 subbuffer GType global.
1078 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1079 Random silly optimisations in read() path.
1081 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1083 * tools/gst-launch.c: (main):
1084 If the top-level of the parse is a normal bin, it doesn't do the
1085 right logic to run as a top-level element, so place it inside a
1088 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1090 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1091 Remove superfluous g_object_notify() calls, GObject does
1092 that for us automatically.
1094 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1097 on Win32, use dllspec to export the debug category symbols
1099 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1101 * gst/gsttaglist.c: (_gst_tag_initialize):
1102 Allow more than one GST_TAG_IMAGE per taglist.
1104 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1106 * gst/gstminiobject.c:
1108 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1109 (gst_fd_src_create):
1110 log recurring events at LOG level
1111 add more debug for when the fd gets set
1113 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1115 * gst/gstparse.c: (gst_parse_launch):
1116 Also remove reentrance checks if flex is MT safe (#348179)
1117 Fix my empty ChangeLog entry below
1119 2006-07-21 Andy Wingo <wingo@pobox.com>
1121 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1123 * libs/gst/check/Makefile.am
1124 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1125 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1126 * libs/gst/check/gstbufferstraw.h:
1127 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1128 functions, thus proving I am still a GStreamer haxor. OK I wrote
1129 them a long time ago, but anyways.
1131 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1134 * gst/gstparse.c: (gst_parse_launch):
1135 Check for flex version and omit mutex if we have a MT save flex
1138 2006-07-21 Wim Taymans <wim@fluendo.com>
1140 * gst/gstparse.c: (gst_parse_launch):
1141 Protect recursive calls to _parse with a recursive mutex
1144 2006-07-21 Wim Taymans <wim@fluendo.com>
1146 * tests/check/gst/gstpad.c: (GST_START_TEST):
1149 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1151 * gst/gstparse.c: (gst_parse_launch):
1152 Do not hang on recursive usage of gst_parse_launch()
1154 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1157 Add some more docs, comments and FIXME 0.11s here and there
1158 and also fix some typos.
1160 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1163 Convert tabs to spaces for better readability.
1165 2006-07-20 Edward Hervey <edward@fluendo.com>
1167 * tests/check/libs/gdp.c: (gst_dp_suite):
1168 the test_buffer test fails at line 140 on ppc64 at the following
1170 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1171 GST_BUFFER_FLAG_IN_CAPS),
1172 "GST_BUFFER_IN_CAPS flag should have been copied !");
1173 See bug #348114 for more details.
1175 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1177 * docs/pwg/advanced-scheduling.xml:
1179 Fix typos (#348000).
1181 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1183 * docs/pwg/intro-basics.xml:
1184 Fix wrong links (#347927).
1186 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1188 * gst/gstregistry.h:
1189 * gst/gstregistryxml.c: (load_feature),
1190 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1191 * win32/common/config.h:
1192 make --disable-index work (#342564)
1194 2006-07-18 Wim Taymans <wim@fluendo.com>
1196 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1200 The attached patch adds two missing defines to gsttrace.h when tracing
1201 is disabled. It also corrects one existing define.
1204 2006-07-17 Wim Taymans <wim@fluendo.com>
1206 * docs/gst/gstreamer-sections.txt:
1207 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1209 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1210 Add two functions to check and change the SIGSEGV behaviour
1211 when loading plugins.
1212 Don't mess with the SIGSEGV handler when we were told not to.
1214 API: gst_segtrap_is_enabled
1215 API: gst_segtrap_set_enabled
1217 2006-07-14 Wim Taymans <wim@fluendo.com>
1219 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1220 * tests/check/elements/filesrc.c: (GST_START_TEST):
1221 Revert fix for regression in #347408 after release.
1223 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1225 Patch by: Antoine Tremblay <hexa00 at gmail com>
1227 * gst/gstutils.c: (gst_element_unlink):
1228 Free iterator when done (#347311).
1230 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1231 And add a test case for this.
1233 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1236 Bump nano back to CVS
1238 === release 0.10.9 ===
1240 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1243 releasing 0.10.9, "On the road again"
1245 2006-07-13 Wim Taymans <wim@fluendo.com>
1247 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1248 * tests/check/elements/filesrc.c: (GST_START_TEST):
1249 Revert pull-0 fix for release. Disable check. Fixes #347408.
1251 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1253 * libs/gst/dataprotocol/dataprotocol.c:
1254 (gst_dp_event_from_packet_1_0):
1255 Fixes #347337: failure to deserialize event packets with
1256 empty payload (only event type)
1258 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1261 do not install a .c file in the header directory
1263 2006-07-13 Edward Hervey <edward@fluendo.com>
1265 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1266 GhostPad no longer implicitely use the padtemplates of the targets.
1269 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1271 * gst/gstvalue.c: (gst_value_compare_list),
1272 (gst_value_compare_array), (_gst_value_initialize):
1273 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1274 Make GstValueArray comparison be order dependent as designed.
1275 Add checks for value lists and value array comparisons.
1278 2006-07-11 Edward Hervey <edward@fluendo.com>
1280 * gst/gstbin.c: (activate_pads),
1281 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1282 (gst_bin_change_state_func):
1283 (de)activate src pads before calling state_change on the childs.
1284 This is to avoid the case where a src ghostpad is blocked (holding the
1285 stream lock), which would block the deactivation of the ghostpad's
1287 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1288 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1289 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1290 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1291 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1292 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1293 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1294 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1295 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1296 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1297 (gst_ghost_pad_class_init),
1298 (gst_ghost_pad_internal_do_activate_push),
1299 (gst_ghost_pad_internal_do_activate_pull),
1300 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1301 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1302 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1303 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1304 GhostPads now create their internal GstProxyPad at creation (and not
1305 when they're linked, as it was being done previously).
1306 The internal and target pads are linked straight away.
1307 The data will also travel through the other pad in order to make
1308 pad blocking and probes non-hackish (the probe/block now really happens
1309 on the GhostPad and not on the target).
1310 * gst/gstpad.c: (gst_pad_set_blocked_async),
1311 (gst_pad_link_prepare), (gst_pad_push_event):
1312 Remove previous ghostpad cruft.
1313 * gst/gstutils.c: (gst_pad_add_data_probe),
1314 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1315 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1316 (gst_pad_remove_buffer_probe):
1317 Remove previous ghost pad cruft.
1318 Added more detailed debug statements.
1319 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1320 Fix the testsuite for refcounting changes.
1321 The comments about who has references were correct, but the refcount
1322 being checked wasn't the same (!?!).
1326 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1328 * docs/gst/gstreamer-sections.txt:
1329 * gst/gstconfig.h.in:
1330 More docs for configuration options, add docs to gtk-doc.
1332 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1335 * gst/gstconfig.h.in:
1336 * win32/common/config.h:
1337 Fix build when disabling tracing (fixes #344016). Also start to document
1338 the defines that disable the sub-systems.
1340 2006-07-10 Edward Hervey <edward@fluendo.com>
1342 * gst/gst.c: (ensure_current_registry_forking):
1343 let's make valgrind happy...
1345 2006-07-09 Wim Taymans <wim@fluendo.com>
1347 * gst/gstelement.c: (activate_pads),
1348 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1349 Better pad activation code: Reset the collect value too on resync.
1352 2006-07-09 Wim Taymans <wim@fluendo.com>
1354 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1355 (gst_pad_activate_push):
1356 Use some more macros where it makes sense.
1357 Allow pad mode switching instead of asserting. When a pad
1358 is activated in one mode and we activate it in another,
1359 deactivate it first before activating it in a different mode.
1362 2006-07-08 Andy Wingo <wingo@pobox.com>
1364 * tools/gst-launch.c (main): Handle err == NULL.
1366 * gst/gst.c (init_post, ensure_current_registry)
1367 (ensure_current_registry_forking)
1368 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1369 factoring out the registry scanning into separate functions. Don't
1370 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1371 Better environment var name/interface suggestions accepted.
1373 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1375 * gst/gstobject.c: (gst_object_set_name_default),
1376 (gst_object_set_name):
1377 Random micro-optimisation: don't use a hash table
1378 with strings as keys and the usual strdup/strcmp
1379 involved, but rather just use the GQuark of the
1380 type name as key, since it needs to be looked up
1381 anyway to get the type name string.
1383 * tests/check/gst/gstobject.c: (GST_START_TEST):
1386 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1388 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1389 (gst_bin_iterate_all_by_interface):
1390 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1391 GTypes are gulongs and thus the top 4 bytes might be cut
1392 off on some platforms when doing GPOINTER_TO_INT, leading
1393 to invalid GTypes and bad things happening (see RH bug #179654).
1394 Also add a check to make sure the type passed in is really
1397 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1402 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1406 * gst-element-check.m4:
1407 * gst-element-check.m4.in:
1408 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1409 instead of the unversioned gst-inspect (#324176, #168659).
1411 2006-07-06 Wim Taymans <wim@fluendo.com>
1414 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1417 2006-07-06 Wim Taymans <wim@fluendo.com>
1419 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1420 (gst_base_src_wait), (gst_base_src_update_length),
1421 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1422 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1423 (gst_base_src_loop), (gst_base_src_start),
1424 (gst_base_src_activate_pull):
1426 blocksize == 0 now means the default blocksize when working in push
1428 Remove some pointless asserts in _wait function.
1429 Fix offset/length calculations and EOS handling. We can now pull 0
1430 bytes as well, which is allowed.
1431 use _check_get_range() to decide if we can operate in _pull based
1433 Fix refcounting leak when check_get_range function was not
1435 API GstBaseSrc::blocksize range can be 0 too now (default)
1437 * tests/check/elements/filesrc.c: (GST_START_TEST),
1439 Added check to test _get_range() behaviour.
1441 2006-07-06 Wim Taymans <wim@fluendo.com>
1443 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1444 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1445 (gst_pad_pull_range):
1447 Lots of comments and docs added to the pad functions.
1448 Flesh out the expected behaviour of the get_range() functions.
1450 2006-07-06 Wim Taymans <wim@fluendo.com>
1455 * gst/gstiterator.h:
1459 Remove comma at end of enumerator list.
1461 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1463 * win32/common/libgstbase.def:
1464 * win32/common/libgstdataprotocol.def:
1465 * win32/common/libsgtreamer.def:
1466 Add new exported functions.
1468 2006-07-05 Wim Taymans <wim@fluendo.com>
1470 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1471 Add some more docs here and there.
1473 2006-07-05 Wim Taymans <wim@fluendo.com>
1475 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1476 (gst_base_sink_loop), (gst_base_sink_get_position):
1477 When operating in pull mode update the offset so that we
1480 2006-07-05 Wim Taymans <wim@fluendo.com>
1482 * gst/gstregistryxml.c: (read_string):
1483 Avoid strdup. (will happen in libxml, but hey!)
1488 2006-07-05 Wim Taymans <wim@fluendo.com>
1490 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1491 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1493 No point in checking if the size of the subbuffer > 0, the
1494 code handles it correclty as demonstrated by unit test.
1495 Also add a unit test for the zero sized _new_and_alloc and
1496 _copy. Fixes #346663.
1498 2006-07-05 Wim Taymans <wim@fluendo.com>
1500 * libs/gst/base/gstbasetransform.c:
1501 (gst_base_transform_prepare_output_buffer),
1502 (gst_base_transform_buffer_alloc),
1503 (gst_base_transform_handle_buffer):
1504 Make sure the buffer we pass to transform_ip has a refcount of
1505 1 and thus is writable. Fixes #343196
1507 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1509 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1510 (gst_file_src_init), (gst_file_src_set_property),
1511 (gst_file_src_get_property), (gst_file_src_map_region):
1512 * plugins/elements/gstfilesrc.h:
1513 Add "sequential" property, off by default, to use madvise and hint
1514 to the kernel that sequential access is desired.
1515 Touch all retrieved pages by default to ensure they are pulled
1516 into memory. (Closes #345720)
1518 2006-07-03 Wim Taymans <wim@fluendo.com>
1520 * docs/design/part-block.txt:
1521 * docs/design/part-dynamic.txt:
1524 2006-07-03 Wim Taymans <wim@fluendo.com>
1526 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1527 (gst_caps_unref), (gst_static_caps_get),
1528 (gst_caps_append_structure):
1529 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1530 Use GSlice when the glib we build against is >= 2.10
1532 2006-07-03 Wim Taymans <wim@fluendo.com>
1534 * gst/gstelement.c: (gst_element_pads_activate):
1535 Small cleanup in pad activation code.
1537 2006-07-03 Wim Taymans <wim@fluendo.com>
1539 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1541 * gst/gst-i18n-app.h:
1542 * gst/gst-i18n-lib.h:
1543 * tools/gst-inspect.c: (print_signal_info):
1544 The attached patch will make the inclusion of gettext.h unconditional in
1545 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1546 libintl.h in tools/gst-inspect.c.
1547 This allows use of --disable-nls again and fixes #344642.
1549 2006-07-03 Edward Hervey <edward@fluendo.com>
1551 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1552 Implement pad blocking on events according to part-block.txt.
1553 More comments on behaviour.
1554 * tests/check/gst/gstevent.c: (test_event):
1555 Send event to peer pad of blocked pad (else it will block).
1557 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1559 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1560 (gst_check_run_suite):
1561 if we get the wrong message, give us the types as string
1562 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1564 * tests/check/elements/filesrc.c: (GST_START_TEST):
1565 add a test for trying to open a non-existing file
1567 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1569 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1570 add a test for adding self
1572 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1574 * libs/gst/check/gstcheck.h:
1575 add some assert_ as alias for fail_unless_*
1576 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1577 increase test coverage
1579 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1582 include lcov.mak for lcov coverage generation
1583 * tools/Makefile.am:
1586 2006-07-02 Edward Hervey <edward@fluendo.com>
1588 * tests/check/elements/.cvsignore:
1591 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1594 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1595 * tests/check/Makefile.am:
1598 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1600 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1601 remove gst_caps_simplify; it was not declared and not used
1602 and deprecated in 0.8
1604 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1606 * docs/faq/gst-uninstalled:
1607 don't put empty paths on PYTHONPATH
1608 * docs/gst/gstreamer-sections.txt:
1609 remove some symbols that are not there
1611 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1613 * gst/gstcaps.c: (gst_caps_compare_structures):
1615 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1616 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1619 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1621 * libs/gst/dataprotocol/Makefile.am:
1622 build dataprotocol test by linking to the lib, instead of
1623 compiling the source, so we get coverage
1624 * tests/check/Makefile.am:
1625 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1626 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1627 add a test for filesrc
1629 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1631 * tests/check/gst/gststructure.c: (GST_START_TEST),
1632 (gst_structure_suite):
1633 Push coverage from 59.04% to 70.00%
1635 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1637 * tests/check/Makefile.am:
1638 gst-inspect every element; this makes sure that we also get
1639 coverage on element's get/set functions
1641 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1644 set CFLAGS and friends to -O0 if gcov is being used
1647 * libs/gst/base/Makefile.am:
1648 * libs/gst/check/Makefile.am:
1649 * libs/gst/controller/Makefile.am:
1650 * libs/gst/dataprotocol/Makefile.am:
1651 * libs/gst/net/Makefile.am:
1652 * plugins/elements/Makefile.am:
1653 * plugins/indexers/Makefile.am:
1654 add makefile rules to generate gcov data and clean up
1655 * tests/check/Makefile.am:
1656 add a coverage target that generates an html overview
1659 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1661 * tests/check/elements/fakesink.c:
1662 * tests/check/elements/fakesrc.c:
1663 * tests/check/elements/fdsrc.c:
1664 * tests/check/elements/identity.c:
1665 * tests/check/generic/sinks.c: (gst_sinks_suite):
1666 * tests/check/generic/states.c:
1667 * tests/check/gst/gst.c:
1668 * tests/check/gst/gstabi.c:
1669 * tests/check/gst/gstbin.c:
1670 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1671 * tests/check/gst/gstbus.c: (gst_bus_suite):
1672 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1673 * tests/check/gst/gstelement.c:
1674 * tests/check/gst/gstevent.c: (gst_event_suite):
1675 * tests/check/gst/gstghostpad.c:
1676 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1677 * tests/check/gst/gstmessage.c: (gst_message_suite):
1678 * tests/check/gst/gstminiobject.c:
1679 * tests/check/gst/gstobject.c:
1680 * tests/check/gst/gstpad.c:
1681 * tests/check/gst/gstpipeline.c:
1682 * tests/check/gst/gstplugin.c:
1683 * tests/check/gst/gstquery.c: (gst_query_suite):
1684 * tests/check/gst/gstsegment.c: (gst_segment_suite):
1685 * tests/check/gst/gststructure.c:
1686 * tests/check/gst/gstsystemclock.c:
1687 * tests/check/gst/gsttag.c:
1688 * tests/check/gst/gsttask.c: (gst_task_suite):
1689 * tests/check/gst/gstutils.c:
1690 * tests/check/gst/gstvalue.c:
1691 * tests/check/libs/adapter.c:
1692 * tests/check/libs/basesrc.c:
1693 * tests/check/libs/collectpads.c:
1694 * tests/check/libs/controller.c:
1695 * tests/check/libs/gdp.c: (gst_dp_suite):
1696 * tests/check/libs/gstnetclientclock.c:
1697 * tests/check/libs/gstnettimeprovider.c:
1698 * tests/check/libs/libsabi.c: (libsabi_suite):
1699 * tests/check/libs/typefindhelper.c:
1700 * tests/check/pipelines/cleanup.c:
1701 * tests/check/pipelines/parse-launch.c:
1702 * tests/check/pipelines/simple-launch-lines.c:
1703 * tests/check/pipelines/stress.c: (stress_suite):
1706 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1708 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1709 * libs/gst/check/gstcheck.h:
1710 create a macro and function so that the simple unit test
1711 case can be just one macro to create main()
1713 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
1715 * gst/gstbin.c: (gst_bin_restore_thyself):
1716 * gst/gstxml.c: (gst_xml_make_element):
1717 Fix deserialisation from XML. Set parent manually
1718 instead of using gst_bin_add(), since gst_bin_add()
1719 will unlink all pads of the element being added.
1722 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
1724 Patch by: Peter Kjellerstedt <pkj at axis com>
1726 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1727 Fix missing g_strdup() and double free when using the
1728 --gst-plugin-load command line option (#346097).
1730 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1733 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1735 * libs/gst/net/gstnetclientclock.c:
1736 * libs/gst/net/gstnettimeprovider.c:
1737 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1739 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1741 * docs/manual/advanced-dataaccess.xml:
1742 Fix buffer probe example compilation in
1745 2006-06-22 Edward Hervey <edward@fluendo.com>
1747 * gst/gstelement.c: (gst_element_pads_activate):
1748 We need to deactivate src pads first and then sink pads.
1749 The reason is the src pads might be blocking while holding the streaming
1750 lock, so we need to deactivate them first so that deactivating the sink
1751 pads doesn't block (since it will require the streaming lock).
1753 2006-06-22 Wim Taymans <wim@fluendo.com>
1755 * libs/gst/base/gstbasetransform.c:
1756 (gst_base_transform_buffer_alloc):
1757 Forgot to remove two unneeded unrefs.
1758 Simplify a check _is_equal allready checks the obvious case.
1760 2006-06-22 Wim Taymans <wim@fluendo.com>
1762 * docs/design/part-block.txt:
1763 Some docs about what pad_block should do.
1765 2006-06-22 Wim Taymans <wim@fluendo.com>
1767 * gst/gstcaps.c: (gst_caps_replace):
1768 Fix crasher when passed NULL. Doc clarification.
1769 Optimize for the trivial case.
1771 * gst/gstpipeline.c: (gst_pipeline_change_state):
1774 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1775 Small documentation cleanup.
1777 * libs/gst/base/gstbasetransform.c:
1778 (gst_base_transform_buffer_alloc):
1779 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1780 is what we need and it avoids a whole lot of redundant
1781 refcount operations.
1783 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
1785 Patch by: Philip Jägenstedt <philip at lysator liu se>
1787 * docs/manual/advanced-dataaccess.xml:
1788 Fix 'Embedding static elements' section to use
1789 GST_PLUGIN_DEFINE_STATIC (#345607).
1791 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1793 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1794 Attempt to 'fix' spuriously failing test case: it seems like the
1795 timeout of half a second is simply too small when the system is under
1796 load otherwise, and the timeout doesn't really seem to serve any
1797 particular purpose here. Give the pipeline a few seconds to preroll
1798 first, and then give it another half a second to go from PAUSED to
1799 PLAYING and marshal the message into the main thread.
1801 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1803 * tools/gst-feedback-m.m:
1804 Don't only use unversioned tools, try versioned tools as well
1807 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1809 * gst/gstbus.c: (gst_bus_class_init):
1810 Fix some typos, make docs more explicit.
1812 2006-06-20 Wim Taymans <wim@fluendo.com>
1814 * tests/check/gst/gstghostpad.c: (block_callback),
1815 (GST_START_TEST), (gst_ghost_pad_suite):
1816 Added some more ghostpad tests, mainly blocking
1819 2006-06-16 Wim Taymans <wim@fluendo.com>
1821 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1822 (gst_file_sink_close_file), (gst_file_sink_do_seek),
1823 (gst_file_sink_event), (gst_file_sink_render):
1824 * plugins/elements/gstfilesink.h:
1825 Check if we can seek in the file instead of assuming
1826 we always can. Post an error when we are asked to seek in a
1827 non-seekable file (like a fifo). Fixes #343312.
1830 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1832 * tools/gst-launch.1.in:
1833 Un-garble (fourcc) bit in filtered caps section.
1835 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1837 * docs/manual/advanced-autoplugging.xml:
1838 * docs/manual/basics-helloworld.xml:
1839 * docs/manual/highlevel-components.xml:
1840 Don't leak bus reference in sample code.
1842 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
1845 Add default for new --enable-plugin-docs switch.
1848 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1852 Use new ENABLE_PLUGIN_DOCS conditional.
1854 2006-06-14 Wim Taymans <wim@fluendo.com>
1856 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1857 Make it clear with a FIXME and a real define what the #if 0
1858 previously disabled.
1860 2006-06-14 Wim Taymans <wim@fluendo.com>
1862 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1863 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1864 * libs/gst/base/gstbasetransform.c:
1865 (gst_base_transform_sink_eventfunc):
1866 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1867 Don't randomly and silently reset a segment when the format
1868 changes as this is a bug somewhere upstream. Fixes #330379.
1870 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
1872 Patch by: Wouter Paesen <wouter at kangaroot net>
1874 * libs/gst/controller/gstcontroller.c:
1875 (gst_controlled_property_new):
1876 Fix controlling of float properties (#344849).
1878 * tests/check/libs/controller.c:
1879 (gst_test_mono_source_get_property),
1880 (gst_test_mono_source_set_property),
1881 (gst_test_mono_source_class_init), (GST_START_TEST):
1882 While we're at it, add some float stuff to unit test.
1884 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1887 * docs/images/gdp-header.svg:
1889 * docs/libs/Makefile.am:
1890 * docs/libs/gdp-header.png:
1891 * libs/gst/dataprotocol/dataprotocol.c:
1892 add it to the API docs
1893 * docs/manual/intro-motivation.xml:
1896 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1898 * gst/gst.c: (scan_and_update_registry), (init_post):
1899 If the fork()'ed child process can't write the updated registry cache
1900 file to disk for some reason, make it exit with a failure exit code,
1901 so that the parent can then re-scan the plugins itself and update the
1902 registry structures in memory and work with that (rather than failing
1903 when creating elements because seemingly no plugins are available).
1904 Refactor registry scanning code into separate function for this and
1905 also separate fork() and non-fork() code paths. Fixes #344748.
1907 2006-06-13 Wim Taymans <wim@fluendo.com>
1909 * docs/manual/advanced-dataaccess.xml:
1910 Fix wrong PluginDesc. Fixes #344755.
1912 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1914 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1915 Fix silly bug that prevented us from creating
1916 ~/.gstreamer-0.10 and writing the registry in one
1917 go (the first call to g_mkstemp() would overwrite the
1918 placeholder in the template string, so the second call
1919 to g_mkstemp() after creating the missing directory
1920 would then error out with 'invalid argument').
1922 2006-06-13 Edward Hervey <edward@fluendo.com>
1924 * gst/gst.c: (init_post):
1927 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1929 * gst/glib-compat-private.h:
1930 * gst/glib-compat.c:
1931 * gst/glib-compat.h:
1932 * gst/gstvalue.c: (gst_value_serialize_flags):
1933 remove GLib 2.6 compatibility code
1935 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
1937 * gst/parse/Makefile.am:
1938 Fix build with 'make -j N' even more (#340016).
1940 2006-06-12 Wim Taymans <wim@fluendo.com>
1942 * docs/gst/gstreamer-sections.txt:
1945 2006-06-12 Wim Taymans <wim@fluendo.com>
1947 * gst/gstsegment.c: (gst_segment_set_duration),
1948 (gst_segment_set_last_stop), (gst_segment_set_seek),
1949 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1950 (gst_segment_to_running_time), (gst_segment_clip):
1951 Use G_UNLIKELY to help the compiler a bit.
1953 2006-06-12 Wim Taymans <wim@fluendo.com>
1955 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1957 * gst/gstevent.c: (gst_event_get_type):
1959 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1961 constify quark registration strings. Fixes #344115
1962 Avoid unneeded type checking is _pad_push() by internally
1963 calling gst_pad_chain_unchecked().
1965 2006-06-12 Wim Taymans <wim@fluendo.com>
1967 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1968 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1969 (gst_subbuffer_finalize), (gst_buffer_create_sub),
1970 (gst_buffer_is_span_fast), (gst_buffer_span):
1971 Init _type for consistency.
1972 Use _FLAGS macro to avoid type check.
1973 Avoid unneeded type checks in subbufer code.
1975 2006-06-12 Wim Taymans <wim@fluendo.com>
1977 * gst/gst.c: (gst_debug_help):
1978 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1979 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1980 (gst_plugin_feature_list_free):
1981 * gst/gstregistry.c: (gst_registry_add_plugin),
1982 (gst_registry_add_feature), (gst_registry_plugin_filter),
1983 (gst_registry_feature_filter), (gst_registry_find_plugin),
1984 (gst_registry_find_feature), (gst_registry_get_plugin_list),
1985 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1986 * gst/gstregistryxml.c: (load_feature),
1987 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1988 * gst/gstminiobject.c: (gst_mini_object_unref),
1989 (gst_mini_object_replace), (gst_value_mini_object_free),
1990 (gst_value_mini_object_copy):
1991 Use _CAST macros to avoid unneeded type checking.
1992 Added some more G_UNLIKELY.
1994 2006-06-12 Wim Taymans <wim@fluendo.com>
1997 Avoid unneeded type checking.
1998 API: GST_BUFFER_IS_DISCONT
2000 * gst/gstminiobject.h:
2001 Avoid type check in flag accessor.
2003 * gst/gstelementfactory.h:
2005 * gst/gstpluginfeature.h:
2007 API: GST_ELEMENT_FACTORY_CAST
2008 API: GST_PLUGIN_CAST
2009 API: GST_PLUGIN_FEATURE_CAST
2011 2006-06-12 Wim Taymans <wim@fluendo.com>
2013 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2015 Add G_UNLIKELY in type registration.
2016 Avoid type check in _ref/_unref since that is also
2019 2006-06-12 Wim Taymans <wim@fluendo.com>
2021 * gst/gsterror.c: (gst_g_error_get_type):
2022 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2023 (gst_static_pad_template_get_type):
2024 * gst/gsttaglist.c: (gst_tag_list_get_type):
2025 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2026 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2027 * gst/gsturi.c: (gst_uri_handler_get_type):
2028 * gst/gstvalue.c: (gst_date_get_type):
2029 * gst/gstxml.c: (gst_xml_get_type):
2030 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2031 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2032 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2033 Add G_UNLIKELY in type registration.
2035 2006-06-12 Wim Taymans <wim@fluendo.com>
2037 * tools/gst-inspect.c: (print_signal_info):
2038 Properly print enum values.
2040 2006-06-12 Wim Taymans <wim@fluendo.com>
2042 * gst/gstinfo.c: (gst_debug_set_active),
2043 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2045 Add some G_[UN]LIKELY.
2046 Maintain __gst_debug_min to avoid formatting the arguments of
2047 debug messages that will be dropped anyway to avoid a lot of
2048 overhead from the debugging system.
2050 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2054 add missing files containing translatable strings, tell intltool about
2057 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2059 * tests/check/libs/.cvsignore:
2060 add test-binary to ignore list
2062 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2064 * docs/libs/gstreamer-libs-docs.sgml:
2065 reorder (put dp into a chapter) and indent
2067 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2072 === release 0.10.8 ===
2074 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2077 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2079 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2081 * gst/gst.c: (init_post):
2082 move pid declaration to declaration block
2084 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2086 * gst/gst.c: (init_post):
2087 use _exit() instead of exit() in our forked child; this ensures
2088 that none of the registered exit handlers from whatever is using
2089 GStreamer get executed. This fixes gnome-mixer-applet failing
2090 to load, because ORBit would shut down.
2091 Spotted by: Edward Hervey <edward@fluendo.com>
2092 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2095 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2100 === release 0.10.7 ===
2102 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2105 releasing 0.10.7, "Soepeke, ik zie ou"
2107 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2130 * win32/common/config.h:
2133 2006-06-07 Wim Taymans <wim@fluendo.com>
2135 * gst/gstindex.c: (gst_index_gtype_resolver):
2136 * tools/gst-xmlinspect.c: (print_plugin_info):
2137 Fix leak spotted by coverity checker. Fixes #343827
2138 Fix another other leak found by paolo borelli.
2140 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2142 * libs/gst/dataprotocol/dataprotocol.c:
2143 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2144 (gst_dp_version_get_type), (gst_dp_init),
2145 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2146 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2147 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2148 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2149 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2150 (gst_dp_packetizer_free):
2151 * libs/gst/dataprotocol/dataprotocol.h:
2152 API: add a GstDPPacketizer object, and create/free functions
2153 API: add GstDPVersion enum
2154 Add 1.0 event function that uses the string serialization
2155 Serialize more useful buffer flags
2158 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2160 * tests/check/Makefile.am:
2161 * tests/check/gst/gstabi.c:
2162 * tests/check/gst/struct_ppc64.h:
2163 * tests/check/libs/libsabi.c:
2164 * tests/check/libs/struct_ppc64.h:
2165 add ppc64 structure sizes
2167 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2169 * tests/check/Makefile.am:
2170 * tests/check/gst/gstabi.c:
2171 * tests/check/gst/struct_x86_64.h:
2172 * tests/check/libs/libsabi.c:
2173 * tests/check/libs/struct_x86_64.h:
2174 generate and add structure size lists for x86_64
2176 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2178 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2179 * libs/gst/check/gstcheck.h:
2180 factor out the method from tests that checks size of structures,
2181 and add code to generate the header containing these sizes
2182 * tests/check/gst/gstabi.c: (GST_START_TEST):
2183 * tests/check/gst/struct_i386.h:
2184 * tests/check/libs/libsabi.c: (GST_START_TEST):
2185 * tests/check/libs/struct_i386.h:
2188 2006-06-06 Michael Smith <msmith@fluendo.com>
2191 Don't use c++-style comments, fixes #343929
2193 2006-06-05 Edward Hervey <edward@fluendo.com>
2196 plugin_paths is not used if we build without registry support.
2198 * gst/gstsegment.c: (gst_segment_copy):
2199 _copy() was always returning NULL...
2201 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2203 * libs/gst/dataprotocol/dataprotocol.c:
2204 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2205 (gst_dp_packet_from_event):
2208 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2210 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2211 make sure we unset caps
2213 2006-06-02 Michael Smith <msmith@fluendo.com>
2215 * libs/gst/check/gstcheck.c: (gst_check_init),
2216 (gst_check_chain_func):
2217 * libs/gst/check/gstcheck.h:
2218 Add a cond/mutex to the check support lib, signal this whenever we
2219 add to the buffers list. This will allow tests to not busy-wait on
2222 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2224 * libs/gst/dataprotocol/dataprotocol.c:
2225 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2226 (gst_dp_packet_from_event):
2227 factor out some common header init code
2229 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2231 * docs/libs/gstreamer-libs-sections.txt:
2232 * docs/libs/tmpl/gstdataprotocol.sgml:
2233 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2234 * libs/gst/dataprotocol/dataprotocol.h:
2235 API: make gst_dp_crc() public
2237 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2239 * plugins/indexers/gstindexers.c: (plugin_init):
2240 conditionally register fileindexer (fixes #343598)
2242 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2244 * gst/gsttagsetter.h:
2245 Can't cast ifaces to a class
2247 * libs/gst/net/gstnetclientclock.h:
2248 * libs/gst/net/gstnettimeprovider.h:
2249 * plugins/elements/gstfakesink.h:
2250 * plugins/elements/gstfakesrc.h:
2251 * plugins/elements/gstfdsink.h:
2252 * plugins/elements/gstfdsrc.h:
2253 * plugins/elements/gstfilesink.h:
2254 * plugins/elements/gstfilesrc.h:
2255 * plugins/elements/gstidentity.h:
2256 * plugins/elements/gstqueue.h:
2257 * plugins/elements/gsttee.h:
2258 * plugins/indexers/gstfileindex.c:
2259 * plugins/indexers/gstmemindex.c:
2260 * tests/old/examples/plugins/example.h:
2261 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2263 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2265 * libs/gst/dataprotocol/dataprotocol.c:
2266 (gst_dp_header_from_buffer):
2267 make sure we zero the whole ABI-compatible area
2269 2006-06-01 Wim Taymans <wim@fluendo.com>
2271 Patch by: Alessandro Decina <alessandro at nnva dot org>
2273 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2274 Make sure the EOS flag is cleared from pads after a flush
2275 or stop. Fixes #343538.
2277 * tests/check/libs/collectpads.c: (GST_START_TEST),
2278 (gst_collect_pads_suite):
2279 Added test for collectpads reusage after EOS.
2281 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2284 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2285 * win32/common/libgstbase.def:
2286 export gst_collect_pads_set_flushing
2287 * win32/common/libgstreamer.def:
2288 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2289 gst_value_fraction_multiply
2290 * win32/vs6/gst_inspect.dsp:
2291 add a link to intl.lib
2293 2006-05-30 Wim Taymans <wim@fluendo.com>
2295 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2296 (gst_collect_pads_chain):
2297 Handle the case where a pad is removed from the collection
2298 that could cause the other pads to become collectable.
2300 2006-05-30 Wim Taymans <wim@fluendo.com>
2303 Clarify the use of _release_request_pad() and
2304 _get_request_pad() a bit better.
2306 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2307 (gst_adapter_take_buffer):
2308 Fix some doc and comment typos.
2310 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2312 * docs/gst/gstreamer-sections.txt:
2313 * docs/libs/gstreamer-libs-sections.txt:
2314 add declared symbols
2316 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2318 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2319 Add debug that can be enabled using a #define at the top of the file,
2320 for dumping stats about how late/early we were when waking up from
2321 waiting on the clock.
2323 2006-05-30 Wim Taymans <wim@fluendo.com>
2325 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2326 When rebuilding the pad list, don't leak the previous list.
2328 2006-05-30 Wim Taymans <wim@fluendo.com>
2330 Patch by: Lutz Mueller <lutz at topfrose dot de>
2332 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2333 (gst_base_src_get_query_types), (gst_base_src_update_length):
2334 Publish supported query types.
2335 Update last_stop field in get_range mode so the position
2336 query works. Fixes #342321.
2338 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2340 * docs/gst/gstreamer-sections.txt:
2341 * gst/gsttaglist.c: (_gst_tag_initialize):
2343 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2345 2006-05-30 Wim Taymans <wim@fluendo.com>
2347 Patch by: Alessandro Decina <alessandro at nnva dot org>
2349 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2350 Unlock mutex when removing an unknown pad.
2353 * tests/check/Makefile.am:
2354 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2355 (push_event), (setup), (teardown), (GST_START_TEST),
2356 (gst_collect_pads_suite), (main):
2357 Added collecpads check, disabled for now as check crashes for
2360 2006-05-29 Wim Taymans <wim@fluendo.com>
2362 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2363 Don't leak pads lists.
2365 2006-05-29 Wim Taymans <wim@fluendo.com>
2367 * docs/libs/gstreamer-libs-sections.txt:
2368 * libs/gst/base/gstcollectpads.c:
2369 (gst_collect_pads_set_flushing_unlocked),
2370 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2371 (gst_collect_pads_stop):
2372 * libs/gst/base/gstcollectpads.h:
2373 API: gst_collect_pads_set_flushing()
2374 Added api to set the pads to flushing, useful for seeking
2375 code in elements using collectpads.
2376 Clear segment when receiving a flush.
2378 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2380 * gst/gst.c: (add_path_func), (init_post):
2381 Don't scan registry paths passed via --gst-plugin-path immediately
2382 (will crash, because absolutely nothing is set up and no types are
2383 registered etc.); do this later in init_post(). Fixes #343057.
2385 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2387 * gst/gst.c: (init_post):
2388 if we have fork, fork while reading/rebuilding the registry
2389 so the parent doesn't take the hit of having all plugins loaded
2390 in memory. Fixes #342777.
2392 Check if we have fork()
2393 * win32/common/config.h.in:
2396 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2398 * plugins/elements/gstelements.c:
2399 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2400 (gst_file_src_init), (gst_file_src_set_property),
2401 (gst_file_src_get_property), (gst_file_src_start):
2402 * plugins/elements/gstfilesrc.h:
2403 API: GstFileSrc::use-mmap
2405 Add a use-mmap property to enable easier testing of all code paths.
2406 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2407 in the absence of gnomevfssrc. (Closes #340501)
2409 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2411 * tools/gst-inspect.c:
2412 Add missing include, removes warning of ngettext not being defined on
2415 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2417 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2418 Handle NULL input and output pointers silently as a failed conversion,
2419 rather than g_warnings.
2421 2006-05-25 Wim Taymans <wim@fluendo.com>
2423 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2424 Initialize variable before using. Fixes #342820.
2426 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2428 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2429 Fix off-by-one bug that would only allow peeks of N-1 bytes
2430 from the start even if the buffer to typefind on contains
2431 in fact N bytes of data (makes vorbis typefinding from a
2432 vorbis identification header buffer work).
2434 * tests/check/Makefile.am:
2435 * tests/check/libs/.cvsignore:
2436 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2437 (gst_typefindhelper_suite), (main), (foobar_typefind),
2439 Add very basic unit test for gst_type_find_helper_for_buffer()
2440 that checks for the problem fixed above.
2442 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2444 * tools/gst-inspect.c: (print_interfaces),
2445 (print_element_properties_info), (print_element_list), (main):
2446 add more translatable strings
2448 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2450 Patch by: Julien Moutte <julien at moutte net>
2452 * docs/gst/gstreamer-sections.txt:
2453 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2455 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2456 (gst_fake_sink_preroll):
2457 * plugins/elements/gstfakesink.h:
2458 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2460 2006-05-23 Wim Taymans <wim@fluendo.com>
2462 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2464 Added _CUSTOM error and success GstFlowReturn that can be
2465 used be elements internally.
2466 Added macro to check for SUCCESS flowreturns.
2467 API: GST_FLOW_CUSTOM_SUCCESS
2468 API: GST_FLOW_CUSTOM_ERROR
2469 API: GST_FLOW_IS_SUCCESS
2471 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2472 Added check for GstFlowReturn sanity.
2474 2006-05-23 Wim Taymans <wim@fluendo.com>
2476 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2479 (gst_collect_pads_event):
2480 clear/reset segment info in FLUSH_STOP.
2483 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2485 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2486 (gst_collect_pads_check_collected):
2487 Flush queued buffer on _stop(), fixes playing again (#342454)
2489 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2491 * tests/check/gst/gststructure.c: (GST_START_TEST),
2492 (gst_structure_suite):
2493 add a test for a complete structure
2495 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2497 * docs/faq/developing.xml:
2499 * docs/faq/troubleshooting.xml:
2500 * docs/faq/using.xml:
2501 Some minor FAQ updates that won't change the fact that
2502 our FAQ is badly structured, full of information hardly
2503 anyone new to GStreamer needs to know and lacking lots
2504 of information people constantly ask for.
2506 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2508 * gst/gstpad.c: (gst_pad_set_caps):
2509 Short-circuit gst_pad_set_caps if setting the existing
2510 caps pointer again, and avoid printing debug and
2511 reffing/unreffing the caps.
2513 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2514 There's actually no need to set the caps before pushing -
2515 the acceptcaps method will handle it anyway.
2517 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2519 * docs/gst/gstreamer-sections.txt:
2520 * win32/common/libgstreamer.def:
2521 * gst/gstutils.c: (gst_element_seek_simple):
2523 API: add gst_element_seek_simple() (#342238).
2525 2006-05-18 Edward Hervey <edward@fluendo.com>
2527 * gst/gsttypefind.c: (gst_type_find_get_type):
2528 * gst/gsttypefind.h:
2529 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2530 registered for GstTypeFind pointers. This allows wrapping the structure
2531 in bindings (i.e. gst-python).
2533 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2535 * gst/gsttagsetter.c:
2536 Docs additions and fixes (see #339918).
2538 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2540 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2541 The caps intersection algorithm can produce multiple copies of the
2542 caps. Until that is fixed, we need to simplify the result to be
2543 sure whether the allowed caps are fixed or not.
2545 * plugins/elements/gstqueue.c: (gst_queue_init),
2546 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2547 (gst_queue_push_one):
2548 Proxied buffer alloc should not set the caps on the source pad.
2549 When pushing buffers, we always accept the caps change that triggers.
2550 This prevents negotiation errors caused by caps changing mid-stream
2551 and then being refused on our source pad (because upstream is now
2552 refusing those caps).
2554 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2556 * tests/examples/helloworld/helloworld.c: (main):
2557 Must plug audioconvert and audioresample between decoder
2560 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2562 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2563 (load_feature), (load_plugin):
2564 Allow empty strings for some of the plugin fields so we don't
2565 drop valid plugin entries that were written out correctly
2568 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2570 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2571 Use g_remove and g_rename instead of remove and rename that don't
2572 handle utf8 characters. rename was failing for users who had specific
2573 characters in their name then the registry was built at each
2575 * win32/vs6/gst_inspect.dsp:
2576 * win32/vs6/gst_launch.dsp:
2577 * win32/vs6/libgstbase.dsp:
2578 * win32/vs6/libgstcoreelements.dsp:
2579 * win32/vs6/libgstreamer.dsp:
2580 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2581 build of libgstreamer and clean unused libraries in projects link
2584 2006-05-17 Edward Hervey <edward@fluendo.com>
2586 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2587 The queue is not responsible for pushing an EOS when receiving a fatal
2588 flow error. It's up to the real element driving the pipeline to do that.
2590 2006-05-16 Edward Hervey <edward@fluendo.com>
2592 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2593 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2594 buffer returned a fatal error. It should just send an EOS and stop
2596 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2597 when pushing buffers on the queue and will be able to handle the event.
2599 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
2601 * docs/manual/basics-bins.xml:
2602 * docs/manual/basics-init.xml:
2603 Fix typos and minor errors in sample code (#341856).
2605 2006-05-16 Wim Taymans <wim@fluendo.com>
2607 * docs/design/part-qos.txt:
2608 Fix indexes in formulas to make more sense.
2610 2006-05-15 Wim Taymans <wim@fluendo.com>
2612 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2613 Don't report POSITION based on clock time if sync is
2616 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
2619 Add cast to make compiler happy - refcount variable was a gint
2620 in GstObject but is a guint in GObject and g_atomic_int_get()
2623 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
2625 * gst/parse/Makefile.am:
2626 chain commands using &&, which also makes parallel make work
2628 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
2630 * docs/gst/gstreamer-sections.txt:
2636 === release 0.10.6 ===
2638 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
2641 releasing 0.10.6, "Take the cannoli"
2643 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
2645 * tools/gst-launch.c: (print_tag):
2646 Fix use of uninitialized variable in the hypothetical
2647 case that some broken plugin creates a GST_TAG_IMAGE
2648 tag containing a NULL buffer (#341667).
2650 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
2652 * tools/gst-launch.c: (print_tag):
2653 Print something more intelligible for image tags when
2654 using the -t switch (#341556).
2656 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
2661 define GST_MAJORMINOR so we have it available in win32/common/config.h
2662 Possibly remove it from our Makefile.am files later
2663 * win32/common/config.h:
2664 * win32/common/config.h.in:
2665 added GST_MAJORMINOR
2666 * win32/common/gstenumtypes.c: (register_gst_resource_error):
2667 * win32/common/gstversion.h:
2670 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
2673 Update win32 files listing.
2674 * win32/common/gstversion.h:
2675 Add GST_MAJORMINOR definition.
2676 * win32/common/libgstreamer.def:
2677 Add new exported functions.
2679 2006-05-12 Michael Smith <msmith@fluendo.com>
2681 * gst/gstplugin.c: (gst_plugin_load_file):
2682 If an so file has no plugin entry point, unload the module.
2684 2006-05-11 Wim Taymans <wim@fluendo.com>
2686 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2687 (gst_queue_set_property):
2688 Don't forget to signal the _chain or _loop function
2689 when the queue size or thresholds change since that might
2690 cause them to make progres again.
2692 2006-05-11 Stefan Kost <ensonic@users.sf.net>
2694 * gst/gstclock.c: (gst_clock_class_init):
2695 * gst/gstindex.c: (gst_index_class_init):
2696 * gst/gstobject.c: (gst_object_class_init):
2697 * gst/gstpad.c: (gst_pad_class_init):
2698 * gst/gstpipeline.c: (gst_pipeline_class_init):
2699 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2700 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2701 * libs/gst/base/gstbasetransform.c:
2702 (gst_base_transform_class_init):
2703 * libs/gst/net/gstnetclientclock.c:
2704 (gst_net_client_clock_class_init):
2705 * libs/gst/net/gstnettimeprovider.c:
2706 (gst_net_time_provider_class_init):
2707 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2708 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2709 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2710 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2711 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2712 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2713 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2714 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2715 * plugins/elements/gsttee.c: (gst_tee_class_init):
2716 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2717 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2718 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2720 2006-05-11 Wim Taymans <wim@fluendo.com>
2722 * gst/gstbuffer.c: (_gst_buffer_initialize):
2723 Register subbufer along with the buffer type so that
2724 it does not accidentally gets registered from N
2725 different streaming threads in a non threadsafe way.
2727 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2732 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2733 gst_event_ref() and gst_message_ref() functions again
2734 (ugly hack, please do fix if there's a better way besides
2735 overrides.txt, which doesn't seem to work).
2737 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2739 * libs/gst/check/gstcheck.h:
2740 add an assert for setting state to avoid lots of repetitive code
2743 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2745 * gst/gstvalue.c: (gst_value_serialize_flags):
2746 fix a leak if no flags are set
2747 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2750 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2752 * docs/manual/basics-pads.xml:
2753 Expand a bit on caps and filtered links and update
2754 examples that were still using the no longer existing
2755 gst_pad_link_filtered() (#338206).
2757 2006-05-10 Wim Taymans <wim@fluendo.com>
2759 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2760 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2761 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2762 (gst_collect_pads_stop):
2763 * libs/gst/base/gstcollectpads.h:
2764 No need to call _stop in _finalize.
2765 Iterate the main pad list in _finalize.
2766 Added some more debug.
2767 Free lists and data in the right order.
2768 Also free data whem doing _remove_pad when stopped for
2769 backward compatibility protect ::started with PAD_LOCK as
2772 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2774 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2775 (gst_structure_parse_value):
2777 rename a method so that it actually says what it does better
2779 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2781 * gst/gstevent.c: (_gst_event_initialize):
2782 * gst/gstformat.c: (_gst_format_initialize):
2783 make sure some essential types used by events are registered
2784 as part of gst_init()
2785 * gst/gstvalue.c: (gst_value_serialize_flags):
2786 if no flags are set, serialize them to a value that represents NONE
2787 so that deserializing them works
2788 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2789 add tests for serialization and deserialization of flags
2791 2006-05-10 Wim Taymans <wim@fluendo.com>
2793 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2794 (gst_collect_pads_collect_range), (gst_collect_pads_available),
2795 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2796 (gst_collect_pads_event), (gst_collect_pads_chain):
2799 Catch and return errors from the collect function
2800 Refuse data on eos pads.
2802 2006-05-10 Edward Hervey <edward@fluendo.com>
2804 * gst/gstinterface.h:
2805 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2806 GInterface type checking.
2807 They were previously using non-defined macros.
2809 2006-05-09 Wim Taymans <wim@fluendo.com>
2811 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2812 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2813 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2814 (gst_collect_pads_start), (gst_collect_pads_stop),
2815 (gst_collect_pads_peek), (gst_collect_pads_pop),
2816 (gst_collect_pads_available), (gst_collect_pads_read),
2817 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2818 (gst_collect_pads_is_collected), (gst_collect_pads_event),
2819 (gst_collect_pads_chain):
2820 * libs/gst/base/gstcollectpads.h:
2821 Clean up the mess that is collectpads, add comments and
2822 FIXMEs where needed.
2823 Maintain a separate pad list so we can add pads while
2824 collecting the other ones. For this we need a new separate
2826 Fix memory leak in finalize.
2827 Refactor some weird code to set/unset pad flushing flags, mark
2829 Don't crash in _available, _read, _flush when we're EOS.
2831 * tests/check/libs/.cvsignore:
2832 Ignore adapter check binary.
2834 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2836 * gst/gstindex.c: (gst_index_resolver_get_type):
2837 * plugins/elements/gstfakesink.c:
2838 (gst_fake_sink_state_error_get_type):
2839 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2840 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2841 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2842 Const-ify GEnumValue arrays.
2844 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2846 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2847 Add test case for flags + gst_buffer_make_metadata_writable().
2849 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2851 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2852 gst_buffer_make_metadata_writable() should maintain the
2853 buffer flags (those that make sense at least) (see #340859).
2855 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2857 * tools/gst-inspect.c:
2858 * tools/gst-launch.c:
2859 * tools/gst-typefind.c:
2860 * tools/gst-xmlinspect.c:
2862 Fix up includes: need to include stdlib.h in tools.h for exit().
2864 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2866 * gst/gsttaglist.c: (_gst_tag_initialize):
2868 API: add GST_TAG_IMAGE tag (#340721).
2870 2006-05-08 Wim Taymans <wim@fluendo.com>
2873 Added some docs for the segment query.
2875 2006-05-08 Wim Taymans <wim@fluendo.com>
2877 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2878 (gst_base_src_loop), (gst_base_src_change_state):
2879 Always push non-flushing serialized events in the streaming
2882 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
2884 * gst/gsterror.c: (_gst_stream_errors_init):
2885 Add a missing error string.
2887 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
2889 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2890 Add applied_rate to the debug
2892 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2893 Copy applied_rate into the outgoing NEWSEGMENT event
2895 2006-05-08 Wim Taymans <wim@fluendo.com>
2897 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2899 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2900 (gst_base_sink_change_state):
2901 call ::unlock before taking the PREROLL_LOCK so we can safely
2902 handle elements that lock in ::render.
2905 2006-05-08 Edward Hervey <edward@fluendo.com>
2907 * autogen.sh: (CONFIGURE_DEF_OPT):
2908 Darwin's libtoolize is in fact called glibtoolize.
2909 Adding glibtoolize to the list of accepted names for libtoolize.
2911 2006-05-08 Wim Taymans <wim@fluendo.com>
2913 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2914 Unify error handling, don't post an error message
2915 when a push() returns EOS but perform our normal EOS
2916 handling code. Fixes #340772.
2918 2006-05-08 Wim Taymans <wim@fluendo.com>
2920 * docs/design/part-overview.txt:
2921 Make upsteam/downstream concepts more clear.
2922 Give an example of serialized/non-serialized events.
2924 * docs/design/part-events.txt:
2925 * docs/design/part-streams.txt:
2926 Mention applied_rate.
2928 * docs/design/part-trickmodes.txt:
2929 Mention applied rate, flesh out some more use cases.
2931 * gst/gstevent.c: (gst_event_new_new_segment),
2932 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
2933 (gst_event_parse_new_segment_full), (gst_event_new_tag),
2934 (gst_event_parse_tag), (gst_event_new_buffer_size),
2935 (gst_event_parse_buffer_size), (gst_event_new_qos),
2936 (gst_event_parse_qos), (gst_event_parse_seek),
2937 (gst_event_new_navigation):
2939 Add applied_rate field to NEWSEGMENT event.
2940 API: gst_event_new_new_segment_full()
2941 API: gst_event_parse_new_segment_full()
2943 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
2944 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
2945 (gst_segment_to_stream_time), (gst_segment_to_running_time):
2947 Add applied_rate to GstSegment structure.
2948 Make calculation of stream_time and running_time more correct
2949 wrt rate/applied_rate.
2951 API: GstSegment::applied_rate field
2952 API: gst_segment_set_newsegment_full();
2954 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2955 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
2956 * libs/gst/base/gstbasetransform.c:
2957 (gst_base_transform_sink_eventfunc),
2958 (gst_base_transform_handle_buffer):
2959 Parse and use applied_rate in the GstSegment field.
2961 * tests/check/gst/gstevent.c: (GST_START_TEST):
2962 Add check for applied_rate field.
2964 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2965 (gstsegments_suite):
2966 Add more checks for various GstSegment operations.
2968 2006-05-08 Wim Taymans <wim@fluendo.com>
2970 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2971 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2972 (gst_base_sink_get_position), (gst_base_sink_change_state):
2973 Store the sync time of the buffer end position separatly in a
2974 new variable eos_rtime so we can properly sync the EOS event.
2976 Fix the docs for gst_base_sink_set_qos_enabled().
2977 Don't set segment start to invalid value when we receive a
2978 non TIME newsegment.
2979 get closer to handling position reporting for negative rates
2982 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2985 Docs about how to print caps for debug purposes.
2987 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2988 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2990 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2993 use full enum names and preprend a '%' in docs strings to make recent
2994 gtk-doc turn that into a link
2996 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2998 * docs/manual/basics-bins.xml:
2999 * docs/manual/basics-bus.xml:
3000 * docs/manual/basics-pads.xml:
3001 Some typo fixes, some additions, some clarifications.
3003 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3005 * tools/gst-inspect.c: (main):
3006 * tools/gst-launch.c: (main):
3007 * tools/gst-run.c: (main):
3008 * tools/gst-typefind.c: (main):
3009 * tools/gst-xmlinspect.c: (main):
3010 Use the string passed to g_option_context_new() for
3011 what it's intended for - the program name is already
3014 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3016 * tools/Makefile.am:
3017 * tools/gst-inspect.c: (main):
3018 * tools/gst-launch.c: (main):
3019 * tools/gst-xmlinspect.c: (main):
3021 Add back --version command line option (#340460).
3023 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3024 Add --version option and use GOption for argument parsing; refactor a
3025 bit; accept directories as arguments and recurse into them; lastly,
3026 print a decent error message when things go wrong.
3028 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3030 * docs/manual/basics-bins.xml:
3031 Don't mention GstThread (#340611)
3032 * docs/manual/basics-elements.xml:
3033 Update link to GObject tutorial (#340607)
3035 2006-05-05 Wim Taymans <wim@fluendo.com>
3038 * gst/gstminiobject.c:
3039 Add note about refcounting and miniobject/buffer writeability
3040 to docs. Fixes #340604
3042 * gst/gstelementfactory.h:
3043 Added some explanation about @klass.
3045 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3047 * docs/manual/intro-motivation.xml:
3048 * docs/manual/manual.xml:
3049 Avoid CORBA & Bonobo references (#340598)
3051 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3053 * docs/manual/basics-bus.xml:
3054 * docs/manual/basics-pads.xml:
3055 Fix up some inaccuracies and omissions (#340609)
3057 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3059 * gst/gstghostpad.c:
3060 Small typo in docs (#340625)
3062 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3064 * gst/parse/Makefile.am:
3065 Make 'make -j' proof (see #340698).
3067 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3070 Require GLib-2.8 here as well.
3072 2006-05-05 Wim Taymans <wim@fluendo.com>
3074 * gst/glib-compat.c:
3075 * gst/gst.c: (init_pre):
3076 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3077 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3078 (gst_object_dispatch_properties_changed):
3080 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3081 * gst/gststructure.c: (gst_structure_set_valist):
3082 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3083 Remove pre glib2.8 compatibility, fixes #340508
3085 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3088 Mention type of tags in doc blurbs.
3090 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3092 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3093 (gst_pad_configure_src), (gst_pad_push):
3094 Restore acceptcaps checking behaviour now that good plugins have
3097 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3099 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3110 * gst/parse/Makefile.am:
3111 * libs/gst/base/gstadapter.c:
3112 * libs/gst/base/gstbasesrc.c:
3113 * libs/gst/base/gstpushsrc.c:
3114 * libs/gst/base/gsttypefindhelper.c:
3115 * plugins/elements/gstfakesrc.c:
3116 * plugins/elements/gstidentity.c:
3117 Make sure gstprivate.h and/or config.h are
3118 always included first, otherwise some of our
3119 defines (like _FILE_OFFSET_BITS) might be
3120 redefined in the system headers. Fixes build
3121 on opensolaris (#340016).
3123 2006-05-04 Wim Taymans <wim@fluendo.com>
3125 * docs/libs/gstreamer-libs-sections.txt:
3126 API: addition: gst_adapter_take_buffer()
3128 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3129 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3130 (gst_adapter_available_fast):
3131 * libs/gst/base/gstadapter.h:
3132 Prepare for optimizing the hell out of this hugely inefficient
3134 Added gst_adapter_take_buffer() so we can at least start thinking
3135 about subbuffering and merging.
3136 Added some comments.
3138 * tests/check/Makefile.am:
3139 * tests/check/libs/adapter.c: (GST_START_TEST),
3140 (gst_adapter_suite), (main):
3141 Added GstAdapter check.
3143 2006-05-04 Wim Taymans <wim@fluendo.com>
3145 * docs/design/part-overview.txt:
3146 Fix some typos, add blurb about buffer flags.
3148 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3150 * docs/libs/gstreamer-libs-sections.txt:
3151 make sure GstBaseTransformClass shows up in the docs
3152 * libs/gst/base/gstbasetransform.c:
3153 * libs/gst/base/gstbasetransform.h:
3154 move docs so gtk-doc picks it up now
3156 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3158 * docs/libs/gstreamer-libs-sections.txt:
3159 add missing symbols to docs
3161 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3163 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3164 back out the newsegment handling change, see #340060 for ongoing
3167 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3169 * tools/gst-run.c: (get_candidates), (main):
3170 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3171 work); fix typo in error message. Fixes #340079.
3173 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3175 * common/Makefile.am:
3177 * docs/faq/Makefile.am:
3178 * docs/gst/Makefile.am:
3179 * docs/libs/Makefile.am:
3180 * docs/manual/Makefile.am:
3181 * docs/plugins/Makefile.am:
3182 * docs/pwg/Makefile.am:
3183 * docs/slides/Makefile.am:
3185 * common/upload.mak:
3186 move upload.mak to common
3188 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3190 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3191 add more asserts on refcounts
3192 do more cleanup at end of tests
3193 fix test leaks showing in FC5
3195 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3197 * plugins/elements/gsttypefindelement.c:
3198 (gst_type_find_element_handle_event):
3199 reverted wrong change and reflowed code to avoid others falling into
3202 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3204 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3205 fix changelog entry about last collectpads change,
3206 add notes about proper fix
3208 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3211 * gst/gstregistry.c: (gst_registry_scan_path_level),
3212 (gst_registry_scan_path):
3213 * gst/gstregistry.h:
3214 only write out registry if it has changed, fixes #338339
3216 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3219 * gst/gstpipeline.c:
3220 * plugins/elements/gstcapsfilter.c:
3221 * plugins/elements/gstfakesink.c:
3222 * plugins/elements/gstfakesrc.c:
3223 * plugins/elements/gstfdsink.c:
3224 * plugins/elements/gstfdsrc.c:
3225 * plugins/elements/gstfilesink.c:
3226 * plugins/elements/gstfilesrc.c:
3227 * plugins/elements/gstidentity.c:
3228 * plugins/elements/gstqueue.c:
3229 * plugins/elements/gsttee.c:
3230 * plugins/elements/gsttypefindelement.c:
3231 (gst_type_find_element_handle_event):
3232 make GstElementDetails const
3234 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3236 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3237 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3238 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3239 more detailed debug and formatting cleanup,
3240 forward newsegments to src-pad (so that e.g. adder not eats them)
3242 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3244 * gst/gstutils.c: (gst_element_link_pads):
3247 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3249 * libs/gst/controller/gstcontroller.c:
3250 (gst_controller_sync_values):
3252 * tests/check/libs/controller.c: (GST_START_TEST),
3253 (gst_controller_suite):
3254 a new test for live value handling
3256 2006-04-28 Wim Taymans <wim@fluendo.com>
3258 * gst/gstutils.c: (push_and_ref):
3259 Added some more docs.
3260 Fix refcount issue whith gst_element_found_tags() helper
3261 function. Fixes #338335
3263 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3264 Added testsuite for gst_element_found_tags().
3266 2006-04-28 Michael Smith <msmith@fluendo.com>
3268 * gst/gstvalue.c: (gst_value_serialize_flags):
3269 Avoid NULL dereference when trying to serialize flags containing
3272 2006-04-28 Michael Smith <msmith@fluendo.com>
3274 * plugins/elements/gsttypefindelement.c:
3275 (gst_type_find_element_handle_event):
3276 If we get EOS before any data is accumulated, don't use
3277 uninitialised local variables.
3279 2006-04-28 Michael Smith <msmith@fluendo.com>
3281 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3282 (gst_dp_event_from_packet):
3283 Fixes in reading/writing events over GDP (not currently used?) -
3284 dereferencing NULL events for unknown/invalid event types, memory
3285 leak, and change g_warning to GST_WARNING.
3287 2006-04-28 Wim Taymans <wim@fluendo.com>
3289 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3290 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3291 (gst_base_sink_get_position), (gst_base_sink_change_state):
3292 When frame dropping is enabled, we should not ignore frames
3294 Update some documentation.
3296 2006-04-28 Wim Taymans <wim@fluendo.com>
3298 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3299 (gst_base_src_send_event), (gst_base_src_change_state):
3300 Documentation updates.
3302 2006-04-28 Wim Taymans <wim@fluendo.com>
3304 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3305 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3306 handle EAGAIN, EINTR and short writes correctly. Also clean
3307 up some error cases, avoid a deadlock on bad file descriptors and
3308 use GST_DEBUG_OBJECT.
3311 2006-04-28 Wim Taymans <wim@fluendo.com>
3313 * gst/gstvalue.c: (gst_value_serialize_buffer),
3314 (gst_value_deserialize_buffer):
3315 Don't try to serialize a GValue with a NULL buffer.
3318 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3319 Added check for serialisation of NULL buffers.
3321 2006-04-28 Wim Taymans <wim@fluendo.com>
3323 * gst/gstminiobject.c: (gst_value_take_mini_object):
3324 Taking a NULL miniobject is valid, fix the case where
3325 we try to unref the NULL miniobject.
3327 2006-04-28 Wim Taymans <wim@fluendo.com>
3329 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3331 * gst/gstbin.c: (gst_bin_handle_message_func):
3333 Don't leak bin refcount when a state recalc is
3334 in progress and we delay another one #339808.
3336 2006-04-28 Wim Taymans <wim@fluendo.com>
3338 * docs/design/part-TODO.txt:
3339 Mention QoS as an ongoing work item.
3341 * docs/design/part-buffering.txt:
3342 New doc about buffering that needs to be fleshed out
3345 * docs/design/part-qos.txt:
3346 More QoS policy for decoders/demuxers/transforms
3348 * docs/design/part-trickmodes.txt:
3351 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3356 === release 0.10.5 ===
3358 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3361 releasing 0.10.5, "Fogo"
3363 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3365 patch by: Wim Taymans
3367 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3368 (gst_pad_configure_src), (gst_pad_push):
3369 * gst/gstpipeline.c: (gst_pipeline_init):
3370 Fix internal data flow errors. Fixes #338711.
3372 2006-04-12 Wim Taymans <wim@fluendo.com>
3374 * tests/check/gst/gstelement.c: (GST_START_TEST):
3375 Don't leak the factory.
3377 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3380 * win32/common/config.h:
3383 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3385 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3386 (gst_controller_unset_all):
3387 Free allocated GstTimedValues when freeing list nodes.
3388 Should fix leaks 'make check-valgrind' complains about.
3390 * win32/common/libgstcontroller.def:
3391 Add gst_controller_unset_all.
3393 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3395 * docs/libs/gstreamer-libs-sections.txt:
3396 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3397 (gst_controller_unset_all):
3398 * libs/gst/controller/gstcontroller.h:
3399 API: Added new method gst_controller_unset_all()
3400 fixed gst_controller_unset()
3401 * tests/check/libs/controller.c: (GST_START_TEST),
3402 (gst_controller_suite):
3403 Added two testcases for new and fixed method
3405 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3407 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3408 MSG_DONTWAIT is not defined on Cygwin, so work
3409 around that (fixes #317048).
3411 2006-04-11 Wim Taymans <wim@fluendo.com>
3413 * gst/gstelementfactory.c: (gst_element_register),
3414 (gst_element_factory_create), (gst_element_factory_make):
3417 Updated docs (Fixes #131079)
3419 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3422 * tests/check/gst/gstelement.c: (GST_START_TEST),
3423 (gst_element_suite):
3424 Added testcase for elementfactory class field.
3426 2006-04-10 Wim Taymans <wim@fluendo.com>
3429 Added some more docs.
3431 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3432 (gst_base_sink_reset_qos):
3433 Calculate more accurate rate values.
3435 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3437 * gst/gst_private.h:
3438 add a new #ifdef to use __declspec(dllimport) only for
3439 other modules and not for gstreamer core
3440 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3441 use gst_guint64_to_gdouble for conversion
3442 * win32/common/libgstreamer.def:
3443 add new exported functions
3444 * win32/vs6/gst_inspect.dsp:
3445 * win32/vs6/gst_launch.dsp:
3446 * win32/vs6/libgstbase.dsp:
3447 * win32/vs6/libgstcontroller.dsp:
3448 * win32/vs6/libgstcoreelements.dsp:
3449 * win32/vs6/libgstdataprotocol.dsp:
3450 * win32/vs6/libgstnet.dsp:
3451 update project files
3453 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3455 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3456 * gst/gstclock.c: (gst_clock_class_init):
3457 * gst/gstelement.c: (gst_element_class_init):
3458 * gst/gstindex.c: (gst_index_class_init):
3459 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3460 * gst/gstobject.c: (gst_object_class_init),
3461 (gst_signal_object_class_init):
3462 * gst/gstpad.c: (gst_pad_class_init):
3463 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3464 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3465 * gst/gstregistry.c: (gst_registry_class_init):
3466 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3467 * gst/gsttask.c: (gst_task_class_init):
3468 * gst/gstxml.c: (gst_xml_class_init):
3469 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3470 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3471 (gst_base_src_loop):
3472 * libs/gst/controller/gstcontroller.c:/
3473 (_gst_controller_class_init):
3474 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3475 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3476 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3477 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3478 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3479 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3481 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3483 * gst/gstpad.c: (gst_pad_link):
3484 Must set peer pads before calling the link function, otherwise
3485 a task started from a link function might get a flow-not-linked
3486 result when trying to push because the other thread where the
3487 linking happens hasn't had a chance to set the peers yet. This
3488 might happen for example when a queue gets linked to a downstream
3489 element, as queue starts a streaming task when its source pad
3490 gets linked. Happens in real life when playing back flac/musepack
3491 files in playbin (#332390).
3493 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3497 * libs/gst/base/gstadapter.h:
3498 * libs/gst/base/gstbasesink.h:
3499 * libs/gst/base/gstbasesrc.h:
3500 * libs/gst/base/gstbasetransform.h:
3501 * libs/gst/base/gstcollectpads.h:
3502 * libs/gst/base/gstpushsrc.h:
3503 Fix broken GObject macros
3505 2006-04-07 Wim Taymans <wim@fluendo.com>
3507 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3508 Initialize start and stop times, thanks valgrind.
3510 2006-04-07 Wim Taymans <wim@fluendo.com>
3512 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3513 Be a bit nicer to badly behaving upstream elements that expect
3514 us to deal with non TIME segments and timestamps (such as fakesrc
3517 2006-04-07 Wim Taymans <wim@fluendo.com>
3520 Small documentation clarification about the signal watch.
3522 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3523 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3524 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3525 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3526 (gst_base_sink_get_position_last),
3527 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3528 Convert and store timestamps in stream time and running time, the
3529 raw timestamps are not usefull, also document this better.
3530 Use different window sizes for good and bad QoS observations so
3531 we react to badness a little quicker.
3532 Keep track of the amount of rendered and dropped buffers.
3533 Send QoS timestamps in running time.
3535 * libs/gst/base/gstbasetransform.c:
3536 (gst_base_transform_sink_eventfunc),
3537 (gst_base_transform_handle_buffer):
3538 Compare QoS timestamps against running time.
3540 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3545 2006-04-06 Michael Smith <msmith@fluendo.com>
3547 * gst/gstpad.c: (gst_pad_set_property):
3548 Use g_value_get_object() instead of g_value_dup_gst_object(),
3549 to avoid double-reffing the pad template (which we then sink,
3550 so this worked previously if (and only if) the pad template
3553 * gst/gstpadtemplate.c: (gst_pad_template_init),
3554 (gst_pad_template_pad_created):
3555 Never return floating references to pad templates, create
3556 them as initially-sunken.
3558 Document an extra function (and make this stop sinking our
3559 pad template, since that is now guaranteed to do nothing,
3560 since we created it sunken).
3562 * gst/gstghostpad.c:
3565 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3567 * gst/gstinfo.c: (__gst_in_valgrind):
3570 * plugins/elements/gsttypefindelement.c:
3571 (gst_type_find_element_chain):
3572 Don't leak buffer caps.
3574 2006-04-06 Michael Smith <msmith@fluendo.com>
3576 * gst/parse/grammar.y:
3577 Fix a leak in parse-launch for any source-or-sink named element
3580 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3581 Unref the pipeline if it exists after we've failed parsing.
3583 2006-04-05 Michael Smith <msmith@fluendo.com>
3585 * gst/gstpipeline.c: (gst_pipeline_init):
3586 When we create a pipeline bus, initially create it in flushing mode.
3587 Fixes leaks in at least one test, and makes a new pipeline work the
3588 same as one that has gone to READY and then back to NULL.
3593 2006-04-05 Michael Smith <msmith@fluendo.com>
3595 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3596 Unref a pad we reffed.
3597 * tests/check/gst/gstutils.c: (GST_START_TEST):
3600 2006-04-05 Michael Smith <msmith@fluendo.com>
3602 * gst/gstquery.c: (gst_query_set_formats),
3603 (gst_query_set_formatsv):
3604 Fix leaking GValues in queries, as shown by valgrind/testsuite.
3606 2006-04-05 Michael Smith <msmith@fluendo.com>
3608 * tests/check/generic/sinks.c: (GST_START_TEST):
3609 Fix a variety of memleaks in sinks check, which are only sometimes
3610 shown by running the tests under valgrind (weird?).
3612 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
3614 * docs/version.entities.in:
3615 Fix the substituted entity name after thomas' changes on the
3618 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3620 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3623 2006-04-05 Andy Wingo <wingo@pobox.com>
3625 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3627 * libs/gst/base/gstbasetransform.c
3628 (gst_base_transform_sink_eventfunc): When resetting our segment on
3629 FLUSH_STOP, also update the flag saying we haven't seen a
3632 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3634 Patch by: Paolo Borelli <pborelli at katamail dot com>
3636 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3637 (gst_plugin_check_license):
3638 minor clean-ups: G_DEFINE_TYPE already takes care of the
3639 parent_class stuff, no need to do it twice. Mark array of
3640 license strings as constant. (#337103)
3642 2006-04-04 Michael Smith <msmith@fluendo.com>
3644 * tools/gst-inspect.c: (print_element_list):
3645 Free the right plugin list; fixes a memory leak.
3647 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3649 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3651 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3652 Don't error out on empty buffers (#336945).
3654 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
3656 * docs/libs/gstreamer-libs-sections.txt:
3658 * libs/gst/base/gstbasesink.c:
3659 * libs/gst/base/gstbasesink.h:
3660 * libs/gst/base/gstbasesrc.c:
3661 * libs/gst/base/gstbasesrc.h:
3662 Documentation updates. Make BaseSink and BaseSrc docs contain the
3663 class structure so that people can actually see the prototypes for
3664 virtual functions they're supposed to be overriding.
3666 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3668 * plugins/elements/gsttypefindelement.c:
3669 (gst_type_find_element_chain):
3670 More debug info; when skipping typefinding, send cached
3671 events in all cases.
3673 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
3676 use new AS_VERSION and AS_NANO macros
3677 * gst/gst-i18n-lib.h:
3680 * gst/gstversion.h.in:
3681 * win32/common/config.h:
3682 * win32/common/config.h.in:
3685 2006-03-31 Michael Smith <msmith@fluendo.com>
3687 * plugins/elements/gsttypefindelement.c:
3688 (gst_type_find_element_chain):
3689 Do not typefind content if the buffers already have caps.
3690 Neccesary for icydemux (#333657), and the right thing to do anyway.
3692 2006-03-30 Wim Taymans <wim@fluendo.com>
3694 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3695 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3696 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3697 (gst_base_sink_record_qos_observation),
3698 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3699 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3700 (gst_base_sink_change_state):
3701 More QoS measurements as described in the design doc.
3702 Get rid of ringbuffer with observations, running average is
3703 more simple and equally good.
3704 Calculates valid proportion now.
3705 Added beginning of flood measurement.
3707 2006-03-29 Wim Taymans <wim@fluendo.com>
3709 * docs/design/part-qos.txt:
3711 Small documentation updates and additions.
3713 2006-03-29 Wim Taymans <wim@fluendo.com>
3715 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3716 (gst_base_src_send_event), (gst_base_src_loop),
3717 (gst_base_src_change_state):
3718 Perform the EOS logic when we reach the segment stop position.
3719 Fix compilation on gcc4.1
3721 2006-03-29 Wim Taymans <wim@fluendo.com>
3723 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3725 * plugins/elements/gstqueue.c: (gst_queue_init),
3726 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3727 (gst_queue_set_property):
3728 * plugins/elements/gstqueue.h:
3729 In queue, when EOS is received, if minimum threshold > max_size -
3730 current_level, there is chance that queue blocks forever in conditional
3731 item del wait. This is because the queue is not emptied completely due
3732 to minimum threshold. Here is another approach. Instead of setting
3733 cur_levels to max in EOS, just zero all minimum threshold levels. This
3734 should make sure that queue gives out all data. When going to READY
3735 (stop) state, just reset the original minimum threshold levels.
3738 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
3740 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3741 (gst_type_find_element_handle_event),
3742 (gst_type_find_element_send_cached_events),
3743 (gst_type_find_element_change_state):
3744 * plugins/elements/gsttypefindelement.h:
3745 When typefinding is done in push mode, we should cache
3746 events we receive during typefinding instead of just
3747 dropping them (e.g. newsegment, custom events from
3748 dvdreadsrc etc.) and then send them out once we've
3749 determined the type of the stream (and decodebin
3750 has had a chance to plug in a decoder/demuxer).
3752 2006-03-27 Wim Taymans <wim@fluendo.com>
3754 * docs/design/part-qos.txt:
3757 2006-03-27 Wim Taymans <wim@fluendo.com>
3759 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3761 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3762 (gst_base_src_send_event), (gst_base_src_change_state):
3763 Handle element seek correctly when we are streaming.
3766 2006-03-24 Michael Smith <msmith@fluendo.com>
3768 * docs/faq/gst-uninstalled:
3769 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3770 allow you to correctly run intalled applications built against old
3771 core, using plugins that require updated core (e.g. running
3772 installed totem against a full uninstalled gstreamer stack)
3774 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3779 2006-03-24 Wim Taymans <wim@fluendo.com>
3781 * docs/gst/gstreamer-sections.txt:
3782 Rearrange the order of the methods so that related methods
3783 are grouped together in sections.
3785 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3788 Little clarification in the docs
3790 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3794 * plugins/elements/gstidentity.c:
3795 * plugins/elements/gstqueue.c:
3796 * plugins/elements/gsttee.c:
3797 * plugins/elements/gsttypefindelement.c:
3798 GST_ELEMENT_DETAILS formatting
3800 2006-03-24 Wim Taymans <wim@fluendo.com>
3802 * libs/gst/base/gstbasesink.h:
3803 Only add fields, not insert or we break ABI.
3805 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3807 * win32/common/libgstbase.def:
3808 * win32/common/libgstreamer.def:
3809 Update, add recently added functions.
3811 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3813 * docs/gst/gstreamer-sections.txt:
3814 * gst/gstutils.c: (gst_pad_query_peer_position),
3815 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3817 API: add some new utility functions:
3818 - gst_pad_query_peer_position()
3819 - gst_pad_query_peer_duration()
3820 - gst_pad_query_peer_convert()
3822 2006-03-23 Wim Taymans <wim@fluendo.com>
3824 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3825 (gst_base_sink_init), (gst_base_sink_finalize),
3826 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3827 (gst_base_sink_set_property), (gst_base_sink_get_property),
3828 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3829 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3830 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3831 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3832 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3833 (gst_base_sink_preroll_object), (gst_base_sink_event),
3834 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3835 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3836 (gst_base_sink_query), (gst_base_sink_change_state):
3837 Decouple max-lateness and the fact that QoS messages are generated
3838 with a new property (qos).
3839 added API: GstBaseSink::async_play()
3840 Add vmethod so subclasses can be notified of ASYNC playing
3842 Collect timestamp start and stop to report better current
3843 position in EOS/PLAYING/PAUSED/READY/NULL.
3844 Refactor QoS/frame dropping and other measurements.
3845 API: GstBaseSrc::qos
3848 * libs/gst/base/gstbasesink.h:
3849 Added Private struct.
3850 API: gst_base_sink_set_qos_enabled()
3851 API: gst_base_sink_is_qos_enabled()
3853 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3855 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3856 If compiling against GLib-2.8 or newer, try to read the
3857 registry file using GMappedFile first before falling back
3858 to fopen() + fread() (#332151).
3860 2006-03-22 Wim Taymans <wim@fluendo.com>
3862 * gst/gstinfo.c: (gst_debug_set_active),
3863 (gst_debug_category_set_threshold):
3864 Disable debugging unless explicitly activated.
3867 2006-03-22 Wim Taymans <wim@fluendo.com>
3869 * gst/gstelement.c: (gst_element_set_locked_state),
3870 (gst_element_dispose):
3871 Cleanup the error case.
3873 * gst/gstobject.c: (gst_object_dispose):
3874 print a critical when some object was disposed with
3875 a parent, also revive the object since it might
3878 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
3880 * tools/gst-launch.1.in:
3883 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3886 * tests/check/Makefile.am:
3887 disable some tests when we don't have a registry
3888 * tests/check/gst/gstutils.c: (gst_utils_suite):
3889 don't build the part that needs parsing
3891 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3894 * tests/examples/Makefile.am:
3895 fix --disable-parse build
3897 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3899 * tools/gst-feedback.1.in:
3900 Fix typo: s/feeback/feedback/ (#133494).
3902 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3904 * tools/Makefile.am:
3905 * tools/gst-launch.1.in:
3906 Add FILES section and correct entry about GST_REGISTRY_PATH
3907 environment variable (#133495; #133494).
3909 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3911 * tools/Makefile.am:
3912 * tools/gst-md5sum.1.in:
3913 * tools/gst-md5sum.c:
3914 Remove gst-md5sum and man page (the md5sink element
3915 required was removed ages ago)
3917 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3919 * gst/gststructure.c: (gst_structure_id_set_value):
3920 Make sure that string fields in structures/taglists
3921 contain valid UTF-8 - we don't want to pass rubbish to
3922 applications because of a buggy plugin (cp. #334167).
3924 2006-03-21 Edward Hervey <edward@fluendo.com>
3926 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3927 (gst_bin_handle_message_func):
3928 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
3929 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
3930 (gst_element_set_bus_func):
3931 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
3932 * gst/gstminiobject.c: (gst_value_set_mini_object),
3933 (gst_value_take_mini_object):
3934 * gst/gstpad.c: (gst_pad_set_pad_template):
3935 * gst/gstpipeline.c: (gst_pipeline_dispose),
3936 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3937 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
3938 (gst_collect_pads_chain):
3939 * libs/gst/net/gstnettimeprovider.c:
3940 (gst_net_time_provider_set_property):
3941 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
3942 It's in fact all issues with gst_*object_replace().
3944 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3946 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
3948 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3949 * pkgconfig/gstreamer-check.pc.in:
3950 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
3952 2006-03-21 Edward Hervey <edward@fluendo.com>
3957 gst_[buffer|event|message]_ref() macros are replaced by a static
3958 inline functions because gcc-4.1 will about if the return value
3960 * tests/check/gst/gstevent.c: (event_probe):
3961 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
3963 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
3966 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
3967 the type' case. (Closes: #335195 for now). In the future, when we
3968 depend on GLib 2.10, we could also intern the type name using
3969 g_intern_static_string()
3971 2006-03-20 Wim Taymans <wim@fluendo.com>
3973 * gst/gstbin.c: (gst_bin_handle_message_func),
3974 (bin_query_max_init), (bin_query_position_fold),
3975 (bin_query_position_done), (gst_bin_query):
3976 Position query should also take max of all streams.
3978 2006-03-20 Wim Taymans <wim@fluendo.com>
3980 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3981 (gst_fake_src_finalize):
3982 Fix leaks in fakesrc.
3984 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3985 Fix leaks in the testcase.
3987 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
3989 * gst/gst_private.h:
3990 add win32 specific import decoration(__declspec(dllimport))
3991 for all extern GstDebugCategory * variables
3992 * win32/common/libgstbase.def:
3993 * win32/common/libgstcontroller.def:
3994 * win32/common/libgstreamer.def:
3995 Add some exports, remove empty lines
3996 * win32/common/libgstdataprotocol.def:
3997 * win32/common/libgstdataprotocol.dsp:
3998 * win32/common/libgstnet.def:
3999 * win32/common/libgstnet.dsp:
4000 new project files and exportation files added
4002 2006-03-19 Wim Taymans <wim@fluendo.com>
4004 * tests/check/libs/basesrc.c: (eos_event_counter):
4005 Use proper return value for probe.
4007 2006-03-17 Wim Taymans <wim@fluendo.com>
4009 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4011 Don't leak buffers, caps and pads on negotiation errors.
4013 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4016 * docs/faq/dependencies.xml:
4017 * docs/faq/developing.xml:
4019 * docs/faq/general.xml:
4020 * docs/faq/getting.xml:
4021 * docs/faq/legal.xml:
4022 * docs/faq/troubleshooting.xml:
4023 * docs/faq/using.xml:
4024 Faq review and update.
4026 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4028 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4030 Don't pound the cpu to pieces by checking get_caps when accept_caps
4031 is called with the same caps as the pad already has.
4032 Use GST_DEBUG_OBJECT when outputting caps change information.
4034 2006-03-15 Wim Taymans <wim@fluendo.com>
4036 * gst/gstclock.c: (gst_clock_class_init):
4039 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4044 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4045 (gst_pad_accept_caps), (gst_pad_configure_sink),
4046 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4047 Make the default acceptcaps behaviour be to check the requested
4048 caps against the gst_pad_get_caps output.
4050 Ensure that gst_pad_accept_caps is used to check caps when a pad
4051 doesn't have a setcaps function, so that pads automatically refuse
4052 caps that they don't allow in their pad template. (Fixes #332986)
4054 When a buffer with attached caps is pushed, ensure that the source
4055 pad receives those caps even if the element didn't call
4056 gst_pad_set_caps first.
4058 2006-03-15 Wim Taymans <wim@fluendo.com>
4060 * libs/gst/base/gstadapter.c:
4063 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4065 * win32/common/libgstbase.def:
4066 * win32/common/libgstcontroller.def:
4067 * win32/common/libgstreamer.def:
4068 Add a whole bunch of missing functions (#334434).
4070 2006-03-14 Wim Taymans <wim@fluendo.com>
4072 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4073 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4074 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4075 Better debug info when we receive a segment event.
4076 Reorganize a bit so we can pass the get_times() results around.
4077 Use the segment format when calculating the running time.
4078 Don't do QoS is sync is disabled or we have no clock or the
4079 element does not want us to sync to the clock.
4080 Don't drop buffers if QoS is disabled for now.
4082 2006-03-14 Wim Taymans <wim@fluendo.com>
4084 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4085 Marked the stats property as unimplemented so people don't get
4087 Add debug message when regression goes wrong.
4088 Added some more docs.
4090 2006-03-14 Wim Taymans <wim@fluendo.com>
4092 * gst/gstsegment.c: (gst_segment_to_stream_time):
4093 Return correct return type in case of errors.
4095 2006-03-14 Wim Taymans <wim@fluendo.com>
4097 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4098 Don't segfault on invalid formats.
4100 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4102 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4103 Can't use gst_segment_to_running_time() when the segment
4104 is not in GST_TIME_FORMAT (like with filesink, for example).
4105 Stops flac encoding pipelines from spewing critical warnings
4108 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4110 * gst/gstpipeline.c: (gst_pipeline_class_init):
4111 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4113 * plugins/elements/gsttypefindelement.c:
4114 (gst_type_find_element_handle_event):
4115 Don't try to typefind empty streams.
4117 2006-03-14 Wim Taymans <wim@fluendo.com>
4119 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4120 (gst_base_sink_do_qos):
4121 Separate QoS calculation.
4122 Only drop buffers when lateness is bigger than the
4123 duration of the buffer.
4125 2006-03-13 Wim Taymans <wim@fluendo.com>
4127 * gst/gstpipeline.c: (gst_pipeline_set_property),
4128 (gst_pipeline_get_property), (do_pipeline_seek),
4129 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4130 (gst_pipeline_get_delay):
4131 Don't deadlock when reading properties.
4133 2006-03-13 Wim Taymans <wim@fluendo.com>
4135 * libs/gst/base/gstbasetransform.c:
4136 (gst_base_transform_class_init), (gst_base_transform_init),
4137 (gst_base_transform_sink_event),
4138 (gst_base_transform_sink_eventfunc),
4139 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4140 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4141 (gst_base_transform_set_property),
4142 (gst_base_transform_get_property),
4143 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4144 (gst_base_transform_set_qos_enabled),
4145 (gst_base_transform_is_qos_enabled):
4146 * libs/gst/base/gstbasetransform.h:
4147 Make basetransform virtual method for src events too.
4148 Handle QOS in basetransform.
4149 API: gst_base_transform_update_qos()
4150 API: gst_base_transform_set_qos_enabled()
4151 API: gst_base_transform_is_qos_enabled()
4153 2006-03-13 Wim Taymans <wim@fluendo.com>
4155 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4156 (gst_base_sink_do_sync):
4158 Use QOS debug category.
4160 2006-03-13 Wim Taymans <wim@fluendo.com>
4162 * plugins/elements/gstqueue.c:
4163 Very small doc update.
4165 2006-03-13 Wim Taymans <wim@fluendo.com>
4167 * gst/gst_private.h:
4168 * gst/gstinfo.c: (_gst_debug_init):
4169 Added QOS debug category
4171 2006-03-13 Wim Taymans <wim@fluendo.com>
4173 * docs/gst/gstreamer-sections.txt:
4174 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4176 * gst/gstbus.c: (gst_bus_class_init):
4179 * gst/gstelement.c: (gst_element_set_locked_state):
4181 Documentation updates.
4183 * gst/gstpipeline.c: (gst_pipeline_get_type),
4184 (gst_pipeline_class_init), (gst_pipeline_init),
4185 (gst_pipeline_dispose), (gst_pipeline_set_property),
4186 (gst_pipeline_get_property), (do_pipeline_seek),
4187 (gst_pipeline_send_event), (gst_pipeline_change_state),
4188 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4189 (gst_pipeline_get_delay):
4190 * gst/gstpipeline.h:
4191 Added methods for setting the delay.
4192 API: gst_pipeline_set_delay()
4193 API: gst_pipeline_get_delay()
4194 Add pipeline debug category
4197 Don't reset stream time when seek failed.
4199 2006-03-13 Wim Taymans <wim@fluendo.com>
4201 * docs/design/draft-klass.txt:
4202 * docs/design/part-clocks.txt:
4203 * docs/design/part-events.txt:
4204 * docs/design/part-gstbin.txt:
4205 * docs/design/part-gstpipeline.txt:
4206 * docs/design/part-messages.txt:
4207 * docs/design/part-negotiation.txt:
4208 * docs/design/part-overview.txt:
4209 * docs/design/part-preroll.txt:
4210 * docs/design/part-seeking.txt:
4211 * docs/design/part-states.txt:
4212 * docs/design/part-streams.txt:
4213 Documentation updates.
4215 2006-03-12 Julien MOUTTE <julien@moutte.net>
4217 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4218 us to leak strings...
4220 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4222 * libs/gst/net/gstnettimeprovider.c:
4224 * win32/common/config.h:
4227 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4229 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4232 Don't check for libgnomeui (leftover from old examples
4233 that aren't built or disted any longer) (#334303).
4235 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4237 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4238 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4239 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4240 there's no space left on the device.
4242 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4245 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4246 to cast the input to GstClockTime before comparing with
4247 another GstClockTime value.
4249 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4254 === release 0.10.4 ===
4256 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4259 releasing 0.10.4, "Light"
4261 2006-03-10 Michael Smith <msmith@fluendo.com>
4263 * libs/gst/dataprotocol/dataprotocol.c:
4264 Fix docs for dataprocotol to not get the return types completely
4265 wrong for a few functions.
4267 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4269 * docs/gst/gstreamer-sections.txt:
4270 * gst/gstpipeline.c: (gst_pipeline_class_init),
4271 (gst_pipeline_init), (gst_pipeline_set_property),
4272 (gst_pipeline_get_property), (gst_pipeline_change_state),
4273 (gst_pipeline_set_auto_flush_bus),
4274 (gst_pipeline_get_auto_flush_bus):
4275 * gst/gstpipeline.h:
4276 Add new API: gst_pipeline_set_auto_flush_bus() and
4277 gst_pipeline_get_auto_flush_bus() to disable automatic
4278 flushing of the pipeline's GstBus when going from READY
4279 to NULL state (#332045).
4281 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4283 * docs/gst/gstreamer-sections.txt:
4284 * gst/gsturi.c: (gst_uri_has_protocol):
4286 Add new API: gst_uri_has_protocol() (#333779).
4288 2006-03-09 Wim Taymans <wim@fluendo.com>
4290 * gst/gstclock.c: (gst_clock_entry_new),
4291 (gst_clock_id_compare_func), (gst_clock_id_wait),
4292 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4293 (gst_clock_init), (gst_clock_get_internal_time),
4294 (gst_clock_set_master), (do_linear_regression),
4295 (gst_clock_add_observation), (gst_clock_set_property):
4299 Fix a possible segfault when the window-size is made smaller.
4300 Calculate jitter before performing the clock wait. Ideally
4301 the clock implementation should calculate jitter but we need
4302 API breakage for that.
4304 * gst/gstsystemclock.c: (gst_system_clock_init):
4307 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4308 Remove leftover else
4310 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4311 (gst_systemclock_suite):
4312 Added check to test GST_CLOCK_DIFF.
4314 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4316 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4317 (gst_type_find_helper_get_range):
4318 If we are provided with the size, we should implement
4319 GstTypeFind::get_length, so that typefind functions who
4320 want to can actually peek at the middle of a file.
4322 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4324 * docs/manual/advanced-dataaccess.xml:
4325 Add some very very basic error checking.
4327 * docs/pwg/appendix-checklist.xml:
4328 Some updates to the list of things to check when writing an element.
4330 2006-03-08 Wim Taymans <wim@fluendo.com>
4332 * docs/design/part-element-transform.txt:
4333 Added some docs about the design of tranform elements.
4335 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4336 (gst_base_src_loop), (gst_base_src_change_state):
4337 Mark buffers with the DISCONT flag.
4339 2006-03-08 Michael Smith <msmith@fluendo.com>
4341 * gst/gstregistry.h:
4342 * gst/gstregistryxml.c: (gst_registry_save),
4343 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4344 (gst_registry_xml_save_pad_template),
4345 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4346 (gst_registry_xml_write_cache):
4347 Rewrite registry-saving to avoid race conditions and check for
4350 2006-03-08 Wim Taymans <wim@fluendo.com>
4352 * libs/gst/base/gstbasetransform.c:
4353 (gst_base_transform_transform_caps),
4354 (gst_base_transform_transform_size),
4355 (gst_base_transform_prepare_output_buffer),
4356 (gst_base_transform_get_unit_size),
4357 (gst_base_transform_buffer_alloc),
4358 (gst_base_transform_handle_buffer),
4359 (gst_base_transform_change_state):
4360 Cleanups, separate normal flow from errors, add sensible
4362 Don't try to renegotiate when allocating an output buffer.
4363 Also copy DISCONT buffer flag when copying a buffer.
4364 Reset the transform after we finish streaming, not during.
4366 2006-03-08 Wim Taymans <wim@fluendo.com>
4368 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4369 Use last buffer timestamp in qos message.
4371 2006-03-07 Wim Taymans <wim@fluendo.com>
4373 Patch by: Christophe Fergeau
4375 * docs/pwg/advanced-tagging.xml:
4376 * docs/pwg/building-pads.xml:
4379 2006-03-07 Wim Taymans <wim@fluendo.com>
4381 * docs/libs/gstreamer-libs-sections.txt:
4382 Added basesink new methods.
4386 Docs updates. Flesh out the QoS docs.
4388 * libs/gst/base/gstadapter.c:
4389 Small doc clarification about ownership and flushing.
4391 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4392 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4393 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4394 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4395 * libs/gst/base/gstbasesink.h:
4397 Added new methods to allow subclass to control max-lateness
4399 Generate very basic QoS events based on last sync observation.
4400 Updated docs, fix typo, added some QoS blurb.
4402 * libs/gst/base/gstbasesrc.c:
4403 Remove obsolete _get_state() calls from docs.
4405 2006-03-07 Wim Taymans <wim@fluendo.com>
4407 * docs/libs/gstreamer-libs-sections.txt:
4408 * libs/gst/base/gstbasetransform.h:
4409 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4410 Fix docs for GstBaseSrc.
4412 2006-03-07 Wim Taymans <wim@fluendo.com>
4414 * docs/gst/gstreamer-sections.txt:
4417 * libs/gst/base/gstbasetransform.h:
4418 Small documentation fixes.
4420 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4423 Document thread-unsafety of gst_value_register_foo_func()
4424 when used at the same time as gst_value_foo() (#322628).
4426 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4428 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4429 (gst_push_src_check_get_range):
4430 Push sources don't support pull mode by default.
4432 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4434 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4435 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4436 (gst_base_src_default_check_get_range):
4437 * libs/gst/base/gstbasesrc.h:
4438 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4439 provide default implementation, and rename
4440 gst_base_src_check_get_range() to
4441 gst_base_src_pad_check_get_range() for clarity.
4443 2006-03-06 Wim Taymans <wim@fluendo.com>
4445 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4446 Make property overridable.
4448 2006-03-06 Wim Taymans <wim@fluendo.com>
4450 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4451 (gst_base_sink_init), (gst_base_sink_set_property),
4452 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4453 * libs/gst/base/gstbasesink.h:
4454 API addition: Make max-lateness a property.
4456 2006-03-06 Wim Taymans <wim@fluendo.com>
4458 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4459 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4460 Don't ever draw a frame that is >10ms late.
4462 2006-03-06 Michael Smith <msmith@fluendo.com>
4464 * gst/gstmessage.c: (_gst_message_copy):
4465 When copying a message, set the parent_refcount of the enclosed
4466 structure to point at the copy, not the original message.
4468 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4470 Patch by: Christophe Fergeau
4473 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4474 usable in c++ code (#333417)
4476 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4479 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4481 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4483 * libs/gst/base/gstbasetransform.c:
4484 (gst_base_transform_transform_caps):
4485 Make sure caps are writable before passing them to
4488 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4491 Fix some minor docs errors.
4493 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4495 Patch by: Ross Burton <ross at burtonini dot com>
4497 * gst/gsterror.c: (_gst_resource_errors_init):
4499 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4501 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4504 Add a check and output a g_warning when GStreamer is built
4505 against GLib 2.6 but running against 2.8 or higher, and vice
4506 versa. (Closes: #323542)
4508 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4510 * gst/parse/parse.l:
4511 Commit patch for parse_launch syntax from #331255. Removes
4512 support for quoted strings and mimetypes when writing filtered
4513 caps. See the bug report for more details - I'm pretty sure this
4514 obscure feature is not in use by _anyone_ anywhere.
4516 With this simple change, the size of the gstreamer.so here
4517 drops from 2193KB to 1565KB.
4519 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4521 * plugins/elements/gsttypefindelement.h:
4522 * plugins/elements/gsttypefindelement.c:
4523 (gst_type_find_element_src_event), (start_typefinding),
4524 (stop_typefinding), (gst_type_find_element_handle_event),
4525 (gst_type_find_element_chain),
4526 (gst_type_find_element_chain_do_typefinding):
4527 Use gst_type_find_helper_for_buffer() for chain-based
4530 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4532 * plugins/elements/gsttypefindelement.c:
4533 (gst_type_find_element_class_init),
4534 (gst_type_find_element_set_property),
4535 (gst_type_find_element_get_property):
4536 Deprecate "maximum" property (not only was it only taken into
4537 account for typefinding in push-mode anyway, it also was never
4538 actually possible to set it in the first place because the
4539 property was registered with the numeric property ID for the
4540 "minimum" property). Register "maximum" property correctly,
4541 for the sake of future copy'n'pasters. Remove some cruft
4542 from property get/set functions.
4544 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4546 * plugins/elements/gsttypefindelement.c:
4547 (gst_type_find_element_activate):
4548 Use gst_type_find_helper_get_range() here, so we
4549 can honour the "minimum" property and also emit
4550 the signal with the correct probability of the found caps.
4552 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4554 * docs/libs/gstreamer-libs-sections.txt:
4555 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4556 (helper_find_suggest), (gst_type_find_helper_get_range),
4557 (gst_type_find_helper):
4558 * libs/gst/base/gsttypefindhelper.h:
4559 New API: gst_type_find_helper_get_range() (#333042).
4561 2006-03-02 Michael Smith <msmith@fluendo.com>
4563 * gst/gstregistryxml.c: (load_feature):
4564 Asserting on a failure to read part of the registry is Not Cool.
4565 Just log a warning and return NULL (which is already handled)
4567 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4569 * win32/common/libgstbase.def:
4570 added export of gst_type_find_helper_for_buffer
4571 * win32/common/libgstbase.def:
4572 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4573 gst_ghost_pad_get_target
4575 2006-02-28 Wim Taymans <wim@fluendo.com>
4577 * docs/design/draft-klass.txt:
4579 Added Connector to mark elements that are only used to
4580 allow pipeline connections.
4581 Moved Debug to extra feature since most of them are
4582 functionally something else.
4584 2006-02-28 Wim Taymans <wim@fluendo.com>
4586 * docs/design/draft-klass.txt:
4587 Some updates and clarifications.
4589 2006-02-28 Wim Taymans <wim@fluendo.com>
4591 * docs/design/draft-klass.txt:
4592 Proposal for klass field values.
4594 * docs/design/part-streams.txt:
4595 Start of a doc describing stream anatomy.
4597 2006-02-28 Wim Taymans <wim@fluendo.com>
4599 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4600 Help the compiler a bit with type registration.
4601 Use existing forward cod path instead of duplicating it when
4604 * gst/gstbus.c: (gst_bus_get_type):
4605 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4606 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4607 * gst/gstclock.c: (gst_clock_get_type):
4608 * gst/gstelement.c: (gst_element_get_type),
4609 * gst/gstelementfactory.c: (gst_element_factory_get_type):
4610 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4611 * gst/gstminiobject.c: (gst_mini_object_get_type):
4612 * gst/gstpad.c: (gst_pad_get_type):
4613 * gst/gstsegment.c: (gst_segment_get_type):
4614 * gst/gststructure.c: (gst_structure_get_type):
4615 * gst/gstsystemclock.c: (gst_system_clock_get_type):
4616 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4618 Help compiler with type registration.
4620 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4623 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4625 * plugins/elements/gsttypefindelement.c:
4626 (gst_type_find_element_handle_event):
4627 When we get an EOS event and have not found a type yet
4628 (most likely because we had not yet accumulated
4629 TYPE_FIND_MIN_SIZE of data yet), try to determine the
4630 type given the data we have so far. Fixes typefinding
4631 for very short streams again, most notably quicktime
4632 redirections as used on Apple's trailer site (#331701).
4634 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4636 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4637 (gst_type_find_helper):
4638 Try typefinding factories with the highest rank first.
4640 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4642 * docs/libs/gstreamer-libs-docs.sgml:
4643 * docs/libs/gstreamer-libs-sections.txt:
4644 * libs/gst/base/gsttypefindhelper.c:
4645 Add section for typefind helper and add documentation
4646 for the old and the new function.
4648 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4650 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4651 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4652 (gst_type_find_helper_for_buffer):
4653 * libs/gst/base/gsttypefindhelper.h:
4654 New API: gst_type_find_helper_for_buffer() (#332723).
4656 2006-02-27 Michael Smith <msmith@fluendo.com>
4658 Patch by: Loïc Minier
4662 * docs/slides/Makefile.am:
4663 prevent CVS directories getting disted.
4665 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4667 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4668 Use the REFCOUNTING category for caps refcounting.
4670 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4672 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4673 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4675 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4677 * plugins/elements/gsttypefindelement.c:
4678 (gst_type_find_element_activate):
4679 Use gst_pad_check_pull_range() before _activate_pull()
4680 to avoid unnecessary open/close (see #331690).
4682 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4685 Docs enhancement: make it crystal clear what the
4686 gst_pad_add_*_probe() callbacks should look like.
4688 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4690 * libs/gst/base/gstbasesrc.c:
4691 Document how applications can stop recording from
4692 live sources (see #330996).
4694 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4696 * tests/check/Makefile.am:
4697 * tests/check/libs/basesrc.c: (eos_event_counter),
4698 (basesrc_eos_events_pull), (basesrc_eos_events_push),
4699 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4700 (gst_basesrc_suite), (main):
4701 ... and add some tests for the base source EOS stuff.
4703 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4705 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4706 Test case originally showed the problem fixed below,
4707 but was then amended. Add checks back at the place
4708 where they used to be.
4710 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4712 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4713 (gst_base_src_init), (gst_base_src_loop),
4714 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4715 (gst_base_src_change_state):
4716 * libs/gst/base/gstbasesrc.h:
4717 Don't unconditionally send EOS when going from PAUSED to
4718 READY state, esp. make sure we don't send two EOS events
4719 in some cases (e.g. one when reaching EOS and one when
4720 going from PAUSED to READY). Also, we don't want to send
4721 EOS events when operating in pull mode. However, we do
4722 want to send an EOS event when shutting down a live
4723 source explicitly, for example (fixes #330996).
4725 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4727 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4728 Update src->read_position after a seek when not using mmap.
4729 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4731 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
4737 Make things work with --disable-parse as they do with
4738 --disable-load-save - the symbols involved disappear, but the
4739 header is still installed and GST_DISABLE_PARSE is included via
4742 2006-02-20 Julien MOUTTE <julien@moutte.net>
4744 * libs/gst/base/gstbasetransform.c:
4745 (gst_base_transform_change_state): Fix a stupid bug. I was
4746 sure I compiled that.
4748 2006-02-20 Julien MOUTTE <julien@moutte.net>
4750 * gst/gstpad.c: (gst_pad_set_blocked_async):
4751 * gst/gstutils.c: (gst_pad_add_data_probe),
4752 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4753 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4754 (gst_pad_remove_buffer_probe): Make those function act on the
4755 ghostpad target when it's a ghostpad. (Closes #331727)
4757 2006-02-20 Julien MOUTTE <julien@moutte.net>
4759 * libs/gst/base/gstbasetransform.c:
4760 (gst_base_transform_change_state): Make basetransform reusable.
4763 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
4765 * docs/random/release:
4766 Move the current documentation of how to do a release to the top
4769 * gst/gstbin.c: (gst_bin_class_init),
4770 (gst_bin_handle_message_func):
4771 Allow multiple state-recalculation threads. (Closes #328873)
4773 2006-02-19 Julien MOUTTE <julien@moutte.net>
4775 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4776 * gst/gstpad.c: (gst_pad_set_event_function),
4777 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4778 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4779 2 strings. You can't use the STR_NULL macro on that.
4781 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
4783 * gst/gstpad.c: (gst_pad_set_event_function),
4784 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4785 (gst_pad_set_getcaps_function)
4786 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4787 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4788 So now, we can use --gst-debug-level=5 on Windows
4789 * win32/common/libgstcontroller.def:
4790 Added export of gst_controller_init
4791 * win32/vs6/libgstcontroller.dsp:
4792 Fixed Release post build configuration
4794 2006-02-17 Wim Taymans <wim@fluendo.com>
4796 * tests/check/gst/gstquery.c: (GST_START_TEST):
4797 Added another check.
4799 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
4801 * plugins/elements/gsttypefindelement.c: (find_peek):
4802 We can do peeks at non-zero offsets, as long as they
4803 fall within the buffer we have.
4805 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
4807 * tests/check/Makefile.am:
4808 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4809 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4810 (parse_suite), (main):
4811 Add testsuite for parse launch syntax
4813 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
4815 * plugins/elements/gsttypefindelement.c:
4816 (gst_type_find_element_chain):
4817 When typefinding is unsuccessful in the chain function, don't
4818 error out immediately. Only error out with NO_CAPS_FOUND if
4819 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4820 otherwise simply wait for more data so we can try typefinding
4821 again with more data later. Also, don't attempt to typefind
4822 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4823 this should improve typefinding from network sources where the
4824 size of the first buffer can be somewhat random.
4826 2006-02-14 Wim Taymans <wim@fluendo.com>
4828 * docs/gst/gstreamer-sections.txt:
4829 * gst/gstpadtemplate.c:
4830 * gst/gstpadtemplate.h:
4831 Fix padtemplate docs, fixes #328805.
4833 2006-02-14 Wim Taymans <wim@fluendo.com>
4835 * tools/gst-launch.c: (main):
4836 NO_PREROLL is not an ERROR so don't send confusing messages
4839 2006-02-14 Wim Taymans <wim@fluendo.com>
4841 Patch by: Torsten Schoenfeld
4843 * gst/gstregistry.c: (gst_registry_get_default),
4844 (_gst_registry_cleanup):
4845 Protect default registry with lock and ref/sink it.
4848 2006-02-14 Wim Taymans <wim@fluendo.com>
4851 * gst/gstquery.c: (gst_query_list_add_format),
4852 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4853 (gst_query_parse_formats_nth):
4854 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4857 2006-02-14 Wim Taymans <wim@fluendo.com>
4859 * docs/gst/gstreamer-sections.txt:
4860 Reworked query docs.
4862 * gst/gstquery.c: (gst_query_new_formats),
4863 (gst_query_list_add_format), (gst_query_set_formats),
4864 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4865 (gst_query_parse_formats_nth):
4867 Flesh out formats query, added some new methods.
4868 Fix part of #324398.
4870 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4871 Added query creation tests.
4873 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
4875 * gst/gstpad.c: (fixate_value):
4876 Add a default fixation for fraction lists.
4878 2006-02-13 Wim Taymans <wim@fluendo.com>
4880 * gst/gsttask.c: (gst_task_init), (gst_task_func),
4881 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4884 Detect and warn for obvious deadlocks. fixes #320340
4885 Fix error case where lock was not released.
4887 * tests/check/Makefile.am:
4888 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4889 (task_func), (gst_element_suite), (main):
4892 2006-02-13 Wim Taymans <wim@fluendo.com>
4894 * docs/gst/gstreamer-sections.txt:
4896 Add new functions to docs.
4898 2006-02-13 Wim Taymans <wim@fluendo.com>
4900 * docs/design/part-TODO.txt:
4901 Updated TODO list, basesrc supports seeking to non-bytes
4904 * docs/design/part-element-sink.txt:
4907 * gst/gstbin.c: (bin_replace_message),
4908 (gst_bin_handle_message_func):
4909 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
4910 * gst/gstevent.c: (gst_event_finalize):
4911 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4912 (gst_pad_send_event):
4913 Use shiny new _TYPE_NAME macros.
4915 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4916 Move debug statement up.
4918 * gst/gstelement.c: (gst_element_set_locked_state):
4921 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
4923 * docs/gst/gstreamer-sections.txt:
4926 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
4927 macros (#330906). Also, document the already existing
4928 GST_QUERY_TYPE macro.
4930 2006-02-13 Wim Taymans <wim@fluendo.com>
4932 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
4933 (event_probe), (GST_START_TEST):
4934 Only events up to the pipeline EOS are counted, there are
4935 some more when going to NULL currently which we don't care
4938 2006-02-13 Wim Taymans <wim@fluendo.com>
4940 * gst/gstpad.c: (gst_pad_send_event):
4941 Correctly check flushing and emit probes. fixes #330125
4943 2006-02-10 Andy Wingo <wingo@pobox.com>
4945 * gst/gstbus.c (gst_bus_class_init): Declare our private data
4947 (gst_bus_init): Cache the location of the private data in the
4949 (gst_bus_enable_sync_message_emission)
4950 (gst_bus_disable_sync_message_emission): Implement new public
4952 (gst_bus_post): Emit the sync-message signal if the user asked for
4955 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
4956 location of the bus-private structure.
4957 (gst_bus_enable_sync_message_emission)
4958 (gst_bus_disable_sync_message_emission): API addition
4960 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
4962 Patch by: Vincent Torri
4964 * docs/pwg/building-boiler.xml:
4965 PWG patch from #326800
4967 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
4971 * docs/design/Makefile.am:
4974 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4979 === release 0.10.3 ===
4981 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4984 releasing 0.10.3, "Like a virgin"
4986 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4989 2nd prerelease of 0.10.3
4990 Bump libtool versioning.
4992 2006-02-07 Andy Wingo <wingo@pobox.com>
4994 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4995 update last_stop if we're in TIME format and the timestamp is
4998 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
4999 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5000 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5001 If we get a new newsegment with a different format, adapt
5004 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5005 of 0. Not a problem, really.
5007 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5010 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5015 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5018 project files updated to the default vs7 configuration
5019 * win32/common/libgstbase.def:
5020 * win32/common/libgstreamer.def:
5022 removed empty lines,
5023 sorted all exported symbols alphabetically
5024 * win32/common/dirent.c:
5025 * win32/common/dirent.h:
5026 * win32/common/gchar.h:
5027 use windows line end.
5029 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5031 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5032 Send EOS event when stopping.
5034 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5037 Tell folks what to do if the plugin-foobar.xml file
5038 hasn't been generated for a newly-added plugin.
5040 2006-02-05 Julien MOUTTE <julien@moutte.net>
5042 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5043 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5044 (gst_collect_pads_start), (gst_collect_pads_stop),
5045 (gst_collect_pads_event): Collectpads now holds a reference
5046 to the GstPad that was added. Indeed we don't want to look
5047 at pads that might just go away with no warning...
5049 2006-02-05 Julien MOUTTE <julien@moutte.net>
5051 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5052 (gst_collect_pads_start), (gst_collect_pads_stop),
5053 (gst_collect_pads_event), (gst_collect_pads_chain):
5054 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5055 Mark Nauwelaerts's patch on bug #328491.
5057 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5059 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5061 Add some simple tests for gst_parse_bin_from_description() and
5062 gst_bin_find_unconnected_pad() (#329069).
5064 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5066 * tools/gst-launch.c: (event_loop), (main):
5067 Catch errors during preroll (#320084).
5069 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5071 * plugins/elements/gsttypefindelement.c:
5072 (gst_type_find_element_activate):
5073 Post TYPE_NOT_FOUND error message when typefinding
5074 is unsuccessful in the activate function as well.
5076 2006-02-02 Wim Taymans <wim@fluendo.com>
5078 * docs/design/part-element-sink.txt:
5081 2006-02-02 Wim Taymans <wim@fluendo.com>
5083 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5084 (gst_base_sink_render_object),
5085 (gst_base_sink_queue_object_unlocked):
5086 Only keep track of prerollable items when we are
5088 Before rendering after preroll, always check if we
5090 Added some more debugging.
5092 2006-02-02 Wim Taymans <wim@fluendo.com>
5094 * gst/gstelement.c: (gst_element_continue_state),
5095 (gst_element_set_state_func), (gst_element_change_state):
5096 Fixed #326576, been running this for quite some time with
5097 no regressions at all.
5099 2006-02-02 Wim Taymans <wim@fluendo.com>
5102 Added more suppressions
5104 2006-02-02 Wim Taymans <wim@fluendo.com>
5106 * docs/design/part-element-sink.txt:
5109 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5110 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5111 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5112 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5113 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5114 (gst_base_sink_preroll_object),
5115 (gst_base_sink_queue_object_unlocked),
5116 (gst_base_sink_queue_object), (gst_base_sink_event),
5117 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5118 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5119 (gst_base_sink_get_position), (gst_base_sink_change_state):
5120 * libs/gst/base/gstbasesink.h:
5121 Totally refactored matching the design doc.
5122 Use two segments, one to clip incomming buffers and another to
5124 Handle queueing correctly, bypass the queue when playing.
5125 Make EOS cancelable.
5126 Handle errors correctly when operating in pull based mode.
5128 * tests/check/elements/fakesink.c: (GST_START_TEST),
5130 Added new check for sinks.
5132 2006-02-02 Wim Taymans <wim@fluendo.com>
5134 * gst/gstsegment.c: (gst_segment_clip):
5135 No reason to refuse to clip when start == -1
5137 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5140 * docs/manual/intro-basics.xml:
5141 * docs/manual/intro-preface.xml:
5142 * docs/manual/manual.xml:
5143 * docs/pwg/advanced-dparams.xml:
5144 * docs/pwg/intro-basics.xml:
5145 * docs/pwg/intro-preface.xml:
5147 describe dparams (controller) for plugins
5148 unify docs a little more
5150 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5152 * docs/gst/gstreamer-sections.txt:
5153 * gst/gstutils.c: (element_find_unconnected_pad),
5154 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5156 Add new API: gst_parse_bin_from_description() and
5157 gst_bin_find_unconnected_pad() (#329069).
5159 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5161 * docs/manual/README:
5162 uncover a nasty detail of the docs build
5164 2006-01-31 Wim Taymans <wim@fluendo.com>
5166 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5167 Don't cache duration messages if we're not going to use or
5170 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5172 * docs/manual/advanced-dparams.xml:
5173 * docs/pwg/advanced-dparams.xml:
5177 * libs/gst/controller/lib.c: (gst_controller_init):
5180 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5182 * gst/gstelement.c: (gst_element_message_full):
5183 also show file/line/func if no additional debug was given
5185 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5187 * win32/vs7/grammar.vcproj:
5188 activate copy of autogenerated files for Release mode
5190 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5192 * win32/common/libgstreamer.def:
5193 export gst_value_compare
5195 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5197 * plugins/elements/Makefile.am:
5198 * plugins/elements/gstelements.c:
5199 * plugins/elements/gstfdsink.c: (_do_init),
5200 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5201 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5202 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5203 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5204 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5205 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5206 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5207 * plugins/elements/gstfdsink.h:
5208 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5210 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5212 * docs/manual/advanced-dparams.xml:
5214 * docs/manual/advanced-position.xml:
5215 * docs/manual/basics-init.xml:
5216 * docs/manual/manual.xml:
5217 * docs/manual/titlepage.xml:
5219 * docs/pwg/titlepage.xml:
5220 cleanup xml (more to come)
5221 * libs/gst/controller/gstcontroller.c:
5224 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5226 * win32/vs6/grammar.dsp:
5227 add autogen of gstmarshal.c,h for Release mode
5229 2006-01-30 Wim Taymans <wim@fluendo.com>
5231 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5232 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5233 (gst_base_sink_handle_object), (gst_base_sink_event),
5234 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5235 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5236 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5237 (gst_base_sink_deactivate), (gst_base_sink_activate),
5238 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5239 (gst_base_sink_query), (gst_base_sink_change_state):
5240 Basesink cleanups, remove some old code.
5241 Handle the case where a subclass can preroll in the render
5242 method (mostly audiosinks).
5244 Remove some locks around variables that are now protected
5245 with the PREROLL_LOCK (clock_id, flushing, ..).
5246 Optimize position query some more, do correct locking.
5247 Remove old code to push queue in state change, this is not
5248 needed anymore since preroll blocks on all prerollable items
5250 Almost implemented as described in design doc.
5252 2006-01-30 Wim Taymans <wim@fluendo.com>
5254 * tests/check/gst/gstbin.c: (GST_START_TEST):
5255 Wait for refcount to settle down before checking.
5257 2006-01-30 Wim Taymans <wim@fluendo.com>
5259 * docs/design/part-element-sink.txt:
5260 Pseudo code overview of desired sink behaviour regarding
5263 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5264 * win32/vs6/grammar.dsp:
5265 fix some bugs in Release mode for autogenerated files
5267 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5268 * win32/common/libgstbase.def:
5269 * win32/common/libgstreamer.def:
5270 export some new symbols: gst_base_src_set_format,
5271 gst_iterator_next, gst_structure_set_valist
5273 2006-01-29 Julien MOUTTE <julien@moutte.net>
5275 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5276 Set pad functions unconditionally. Fixes #329105.
5278 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5280 add vs8 project files created by Sergey Scobich
5282 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5284 * gst/gstutils.c: (gst_element_unlink_pads):
5285 Don't leak pad references.
5287 * tests/check/elements/fakesink.c: (GST_START_TEST):
5288 * tests/check/generic/sinks.c: (GST_START_TEST):
5289 * tests/check/generic/states.c: (GST_START_TEST):
5290 * tests/check/gst/gstbin.c: (GST_START_TEST):
5291 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5292 * tests/check/gst/gstelement.c: (GST_START_TEST):
5293 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5294 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5295 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5296 Fix a bunch of leaks. Make generic/sinks.c
5297 use a bit less cpu by slowing the buffer rate
5298 between fakesrc and fakesink.
5300 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5302 * gst/gstelement.c: (gst_element_send_event):
5305 * gst/gstiterator.c:
5306 * gst/gstiterator.h:
5307 * gst/gstpad.c: (gst_pad_send_event):
5308 * gst/gststructure.c:
5312 * libs/gst/base/gstadapter.c:
5313 doc fixes, to link to function, just write gst_cool_function(), don't
5316 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5318 * plugins/elements/gsttee.c: (gst_tee_do_push),
5319 (gst_tee_handle_buffer):
5320 Always prefer an actual return value from a src
5321 pad in place of NOT_LINKED. This means we return
5322 WRONG_STATE when all src pads are WRONG_STATE
5323 instead of NOT_LINKED.
5325 Lock when replacing the last message to prevent
5326 racing with the get_property method.
5330 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5332 * tests/check/Makefile.am:
5333 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5335 Add a very simple check that should have caught the memleak I fixed
5336 last night (if not for the slice allocator hiding it)
5338 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5340 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5341 (gst_bin_remove_func), (gst_bin_handle_message_func),
5342 (bin_query_duration_fold), (bin_query_generic_fold):
5343 Clean up references to the clock provider when disposed or when
5344 handling a clock-lost message from it.
5346 Unref sinks when performing a query via gst_iterator_fold, as the
5347 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5349 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5350 (gst_clock_set_master):
5351 Drop our reference to the master clock, if any, when we are disposed.
5353 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5354 Chain up in dispose.
5356 2006-01-26 Wim Taymans <wim@fluendo.com>
5358 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5361 2006-01-26 Julien MOUTTE <julien@moutte.net>
5363 * plugins/elements/gsttee.c: (gst_tee_do_push),
5364 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5365 handles pad being NOT_LINKED or in WRONG_STATE.
5367 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5372 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5375 remove obsolete entry
5377 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5379 * docs/gst/gstreamer-sections.txt:
5380 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5381 (gst_bin_iterate_sources), (gst_bin_send_event):
5383 * gst/gstelement.c: (gst_element_send_event):
5385 * gst/gstpad.c: (gst_pad_send_event):
5386 added code for downstream events, reviewed docs in gstevent.c
5388 2006-01-25 Julien MOUTTE <julien@moutte.net>
5390 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5391 We only query position using the clock in the playing state.
5392 Query peer in the other cases.
5393 * win32/common/config.h: Updates.
5395 2006-01-24 Wim Taymans <wim@fluendo.com>
5397 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5398 A clock entry that is scheduled for the exact time of the
5399 clock is still in time.
5401 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5402 (gst_base_sink_do_sync):
5403 Add some more debug info.
5405 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5408 Add new vs7 project files and solution.
5410 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5413 all files removed as they were out-dated.
5415 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5417 * docs/random/release:
5419 * gst/gstbin.c: (gst_bin_init):
5420 * gst/gstbus.c: (gst_bus_new):
5422 * gst/gstpipeline.c: (gst_pipeline_init):
5423 use gst_bus_new(), improve logging, fix docs
5424 * win32/common/config.h:
5425 update for cvs build
5427 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5430 up required version of automake to 1.7
5432 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5434 * win32/common/libgstreamer.def:
5435 export gst_buffer_is_metadata_writable
5437 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5439 * docs/gst/gstreamer-sections.txt:
5441 Add gst_event_replace() (#327001)
5443 2006-01-20 Wim Taymans <wim@fluendo.com>
5445 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5446 Make it actually compile too..
5448 2006-01-20 Wim Taymans <wim@fluendo.com>
5451 Clarify behaviour of _is_equal() when passing NULL parameters.
5453 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5455 Cleanups. Don't unref NULL caps.
5456 When setting the same caps, protect caps of the pad with
5458 Use full functionality of _is_equal() when comparing caps.
5460 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5462 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5463 Don't loop infinitely if there are no buffers to present. Partially
5464 fixes #327197, but collectpads is just broken for reusing elements
5465 to do multiple encodes atm.
5467 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5469 * tools/gst-inspect.c: (print_element_features):
5470 * tools/gst-xmlinspect.c: (main):
5471 URL_HANDLER is not a plugin feature we can search for in
5474 2006-01-19 Edward Hervey <edward@fluendo.com>
5476 * gst/gstelement.c: (gst_element_pads_activate):
5477 When activating, do src pads first, then sink pads.
5478 When de-activating, do sink pads first, then src pads.
5480 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5482 * docs/gst/gstreamer-sections.txt:
5483 Add gst_index_add_associationv to the docs
5485 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5490 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5491 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5492 Do some refactoring. Doesn't actually change functionality,
5493 but makes landing the DRAIN event easier later.
5495 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5497 * docs/pwg/advanced-scheduling.xml:
5498 Update from 0.9.x to 0.10 API and make example a bit
5501 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5503 * docs/gst/gstreamer-sections.txt:
5504 Add gst_buffer_(is|make)_metadata_writable methods.
5506 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5508 * docs/design/part-sparsestreams.txt:
5509 Update sparse streams doc, hopefully for greater clarity
5511 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5513 * docs/design/part-events.txt:
5514 Remove mention of FILLER events.
5517 * docs/design/part-sparsestreams.txt:
5518 Write some things about using NEWSEGMENT to keep sparse streams
5521 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5523 * gst/gstbin.c: (gst_bin_dispose):
5524 Guard gst_object_unref call against a NULL object (dispose
5525 can theoretically be called multiple times).
5527 2006-01-18 Wim Taymans <wim@fluendo.com>
5529 * gst/gstbin.c: (gst_bin_element_set_state):
5530 * gst/gstclock.c: (gst_clock_id_wait):
5531 Added some more debug info.
5533 * libs/gst/base/gstadapter.c:
5536 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5537 (gst_base_sink_do_sync), (gst_base_sink_chain):
5538 Added some comments.
5540 2006-01-18 Wim Taymans <wim@fluendo.com>
5542 * tests/check/Makefile.am:
5543 * tests/check/elements/fakesink.c: (chain_async_buffer),
5544 (chain_async), (chain_async_return), (GST_START_TEST),
5545 (fakesink_suite), (main):
5546 Added fakesink test that checks prerolling and clipping
5549 * tests/check/gst/gstutils.c: (GST_START_TEST):
5550 Make check run faster so that buildbots don't timeout.
5552 2006-01-18 Wim Taymans <wim@fluendo.com>
5554 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5555 (gst_base_sink_do_sync):
5557 When the sink finishes blocking on the preroll buffer, it can
5558 immediatly render it instead of rendering when the next buffer
5561 2006-01-18 Wim Taymans <wim@fluendo.com>
5563 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5564 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5565 (gst_base_sink_chain):
5567 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5568 Don't store _last_stop if the buffer is dropped.
5570 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5572 * plugins/elements/gsttypefindelement.c:
5573 (gst_type_find_element_class_init):
5574 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5575 object method handler that sets the caps on the pad and we want
5576 that to happen before we emit the signal (fixes e.g. feeding a
5577 plain text file to decodebin).
5579 2006-01-18 Christian Schaller <Christian@fluendo.com>
5581 * gst/gstplugin.c: Add MPL and Proprietary as license options
5583 2006-01-18 Andy Wingo <wingo@pobox.com>
5585 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5586 symbol was exported before, it appears this was just an oversight.
5588 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5590 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5591 prototype to gint. OK since this prototype was not in the header.
5593 2006-01-17 Andy Wingo <wingo@pobox.com>
5595 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5596 registry while we remove plugins.
5598 * tools/gst-inspect.c (print_element_info): Don't unref the
5599 factory arg, that should be the responsibility of whatever code
5600 received the ref. Fixes a double-free when called from
5601 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5602 (main): Unref the factory if we have one.
5603 (print_element_list): No change -- relies on the
5604 plugin_feature_list_free to free the list of features.
5606 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
5608 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5609 (gst_buffer_make_metadata_writable):
5611 * libs/gst/base/gstbasetransform.c:
5612 (gst_base_transform_prepare_output_buf):
5613 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5614 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5615 Replace gst_buffer_(make|is)_metadata_writable patch now
5616 that the release is out.
5618 2006-01-17 Andy Wingo <wingo@pobox.com>
5620 * gst/gstregistry.c: Reflow design comment. Update so as to speak
5621 in the present tense without reference to versions.
5623 * gst/gstregistry.c (gst_registry_add_plugin)
5624 (gst_registry_remove_plugin, gst_registry_remove_feature)
5625 (gst_registry_find_feature, gst_registry_get_feature_list)
5626 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5627 (gst_registry_lookup, gst_registry_scan_path)
5628 (_gst_registry_remove_cache_plugins)
5629 (gst_registry_get_feature_list_by_plugin): Add argument
5632 === release 0.10.2 ===
5634 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
5637 releasing 0.10.2, "If man is five"
5639 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5643 * libs/gst/base/gstbasetransform.c:
5644 (gst_base_transform_prepare_output_buf):
5645 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5646 * tests/check/gst/gstbuffer.c: (gst_test_suite):
5647 Back out patch until after the release.
5649 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5651 * gst/gstminiobject.c:
5652 Spelling fix in docs.
5653 * ChangeLog - remove conflict indicator
5655 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5657 Reviewed By: Andy Wingo
5659 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5660 (gst_buffer_make_metadata_writable):
5662 Add gst_buffer_(is|make)_metadata_writable as analogues of
5663 gst_buffer_(is|make)_writable.
5665 * libs/gst/base/gstbasetransform.c:
5666 (gst_base_transform_prepare_output_buf):
5667 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5668 Use name gst_buffer_(is|make)_metadata_writable functions.
5670 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5671 Test gst_buffer_(is|make)_metadata_writable
5675 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
5677 * docs/manual/Makefile.am:
5678 don't do parallel make
5681 * win32/common/config.h.in:
5682 add generations for HOST_CPU and GST_MAJORMINOR
5683 * win32/common/config.h:
5684 commit generated result
5686 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
5688 * docs/manual/appendix-integration.xml:
5689 Update GNOME integration section to use gst_init_get_option_group()
5690 instead of the old popt stuff (#322911). Also, GNOME applications
5691 should now use gconf*sink and gconf*src instead of the old gconf
5694 2006-01-13 Stefan Kost <ensonic@users.sf.net>
5697 * docs/gst/gstreamer-docs.sgml:
5698 * docs/gst/gstreamer-sections.txt:
5699 * docs/libs/gstreamer-libs-sections.txt:
5700 add new API entries to the docs
5701 * libs/gst/controller/Makefile.am:
5702 * libs/gst/controller/gstcontroller.c:
5703 * libs/gst/controller/gstcontroller.h:
5704 * libs/gst/controller/gstcontrollerprivate.h:
5705 * libs/gst/controller/gsthelper.c:
5706 * libs/gst/controller/gstinterpolation.c:
5707 move private structs to private header
5709 gstreamer-0.7 -> gstreamer-0.10
5710 * tests/check/libs/struct_i386.h:
5711 remove private structs
5713 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5715 * plugins/indexers/Makefile.am:
5716 Fixes as part of #317048
5718 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5720 * plugins/indexers/Makefile.am:
5721 fix #316086 - compilation when mmap is missing
5723 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
5725 * libs/gst/base/gstbasesink.c:
5726 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
5727 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5728 * win32/common/config.h:
5729 added some defines GST_MAJORMINOR and HOST_CPU
5730 * win32/common/libgstbase.def:
5731 * win32/common/libgstreamer.def:
5732 added some exported functions.
5734 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5736 * libs/gst/controller/gstcontroller.c:
5737 (gst_controlled_property_set_interpolation_mode),
5738 (gst_controlled_property_new):
5739 * libs/gst/controller/gstcontroller.h:
5740 * libs/gst/controller/gstinterpolation.c:
5741 (interpolate_none_get_string_value_array):
5742 make G_TYPE_STRING controlable
5744 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5747 * tools/gst-feedback.1.in:
5748 * tools/gst-inspect.1.in:
5749 * tools/gst-launch.1.in:
5750 * tools/gst-md5sum.1.in:
5751 * tools/gst-typefind.1.in:
5752 * tools/gst-xmlinspect.1.in:
5753 * tools/gst-xmllaunch.1.in:
5754 cleanup man-pages, remove reference to gst-register, document env-vars
5756 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
5758 * gst/gstbuffer.c: (gst_buffer_span):
5759 gst_buffer_span should copy the timestamp of the first buffer
5760 if they were both originally overlapping subbuffers of the
5761 same parent, using the same logic as the 'slow copy' case.
5763 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
5765 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5766 Need to awaken ALL the pads when we pop a buffer, otherwise
5767 collectpads only works when there is 2 input streams.
5769 2006-01-11 Stefan Kost <ensonic@users.sf.net>
5771 * docs/random/ensonic/media-device-daemon.txt:
5774 fix doc example, add clarification
5775 * tools/gst-launch.1.in:
5776 add initial info about GST_PLUGIN_PATH, needs more work
5778 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
5780 * docs/manual/basics-bins.xml:
5781 * docs/manual/basics-elements.xml:
5782 * docs/manual/intro-basics.xml:
5783 Some more minor docs additions and updates.
5785 2006-01-11 Wim Taymans <wim@fluendo.com>
5787 * docs/manual/basics-bins.xml:
5788 * docs/manual/basics-elements.xml:
5789 Some small fixes as pointed out by Ser-ver on IRC.
5791 2006-01-10 Edward Hervey <edward@fluendo.com>
5793 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5794 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5795 the single-segment mode.
5797 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
5799 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5801 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5802 (gst_base_src_perform_seek), (gst_base_src_send_event),
5803 (gst_base_src_set_property), (gst_base_src_get_property),
5804 (gst_base_src_loop), (gst_base_src_start),
5805 (gst_base_src_activate_push):
5806 * libs/gst/base/gstbasesrc.h:
5807 Name (private) union; makes Sun's Forte compiler happy (#324900).
5809 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
5812 gst-register is gone.
5814 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
5816 * gst/gstvalue.c: (_gst_value_initialize):
5817 make the G_TYPE_DATE instantiation work if debug is disabled
5819 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
5821 * gst/gstmessage.c: (gst_message_parse_tag),
5822 (gst_message_parse_error), (gst_message_parse_warning):
5823 Don't crash when return location for error/warning debug
5824 string is NULL; add fact that return locations can be
5825 NULL to docs where appropriate.
5827 2006-01-05 Wim Taymans <wim@fluendo.com>
5829 * gst/gstplugin.c: (gst_plugin_load_file):
5830 Replace strdup by g_strdup.
5832 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5834 * docs/pwg/advanced-types.xml:
5837 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5839 submitted by: Abel Cheung
5843 Added Chinese (traditional) translation
5845 2006-01-04 Wim Taymans <wim@fluendo.com>
5847 * docs/manual/basics-pads.xml:
5848 * docs/plugins/Makefile.am:
5849 * docs/plugins/gstreamer-plugins-docs.sgml:
5850 * docs/plugins/gstreamer-plugins-sections.txt:
5851 * docs/pwg/advanced-clock.xml:
5852 * docs/pwg/advanced-scheduling.xml:
5853 * docs/pwg/advanced-types.xml:
5854 * plugins/elements/gstfdsink.c:
5855 * plugins/elements/gstfdsrc.c:
5856 * plugins/elements/gstfdsrc.h:
5857 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5858 * plugins/elements/gstidentity.h:
5859 * plugins/elements/gstqueue.h:
5860 * plugins/elements/gsttee.c:
5861 * plugins/elements/gsttee.h:
5862 * plugins/elements/gsttypefindelement.c:
5863 (gst_type_find_element_class_init):
5864 * plugins/elements/gsttypefindelement.h:
5865 Small updates to various docs.
5866 Added core plugins to docs.
5868 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5871 add a suppression for liboil's uninitialized variable
5873 2006-01-02 James Livingston <jrl at ids dot org dot au>
5875 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5878 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5879 macro, so that gcc doesn't complain if the -Wmissing-prototypes
5880 compiler switch is being used (#325429).
5882 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
5884 * gst/gstbin.c: (gst_bin_query):
5885 Disable duration query caching in bins until it gets
5886 fixed (see #324807).
5888 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5890 * tools/gst-inspect.c: (print_element_properties_info):
5891 Handle properties of POINTER and BOXED type.
5893 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5895 * gst/gst.c: (init_post):
5896 Init tags stuff and some other things before loading
5897 any static plugins (there may be other static plugins
5898 than just the GStreamer ones, and they may want to
5899 register their own tags or formats or whatever, and
5900 preferably without segfaulting).
5902 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5903 Print at least a warning in the debug logs if we drop a
5904 query just because we don't know how to adjust the value
5905 in the particular format.
5907 2005-12-24 David Schleef <ds@schleef.org>
5909 * tools/gstreamer-completion:
5910 Replacement for gst-complete written in sh and sed. Only
5911 completes names of features, but that's 90% of what I want
5912 it for. Properties are not available in registry.xml. (Maybe
5915 === release 0.10.1 ===
5917 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
5920 releasing 0.10.1, "Nollaig chridheil"
5922 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
5925 Add missing quote, should be make ERROR_CFLAGS="".
5927 2005-12-20 Wim Taymans <wim@fluendo.com>
5929 * docs/design/part-trickmodes.txt:
5930 More documentation on trickmodes.
5932 2005-12-20 Edward Hervey <edward@fluendo.com>
5934 * gst/gstcaps.c: (gst_static_caps_get_type):
5936 API addition: GST_TYPE_STATIC_CAPS
5937 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
5938 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
5939 * gst/gstpadtemplate.h:
5940 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
5941 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
5944 2005-12-18 Wim Taymans <wim@fluendo.com>
5946 * libs/gst/base/gstadapter.c:
5947 * libs/gst/base/gstadapter.h:
5948 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5949 (gst_base_sink_get_position):
5950 * libs/gst/base/gstbasesink.h:
5951 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5952 (gst_base_src_default_query), (gst_base_src_default_do_seek),
5953 (gst_base_src_do_seek), (gst_base_src_perform_seek),
5954 (gst_base_src_send_event), (gst_base_src_update_length),
5955 (gst_base_src_get_range), (gst_base_src_loop),
5956 (gst_base_src_start):
5957 * libs/gst/base/gstbasesrc.h:
5958 * libs/gst/base/gstbasetransform.h:
5959 * libs/gst/base/gstcollectpads.h:
5960 * libs/gst/base/gstpushsrc.c:
5961 * libs/gst/base/gstpushsrc.h:
5962 * libs/gst/dataprotocol/dataprotocol.c:
5963 * libs/gst/dataprotocol/dataprotocol.h:
5964 * libs/gst/net/gstnetclientclock.h:
5965 * libs/gst/net/gstnettimeprovider.h:
5966 Documentation updates.
5968 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
5970 * docs/manual/basics-helloworld.xml:
5971 Remove superfluous closing bracket in helloworld example.
5973 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
5975 * tools/gst-launch.1.in:
5976 Update gst-launch man page; add a section with useful
5977 environment variables. Fixes #323882.
5979 2005-12-16 Stefan Kost <ensonic@users.sf.net>
5982 * gst/gst_private.h:
5983 change some char* into char[]
5985 2005-12-16 Wim Taymans <wim@fluendo.com>
5987 * gst/gstregistryxml.c: (load_feature):
5989 Don't use g_object_unref on GstObjects so that we avoid
5990 leaks on unsafe glibs.
5992 2005-12-16 Wim Taymans <wim@fluendo.com>
5994 * gst/gstbin.c: (gst_bin_recalc_state):
5997 2005-12-16 Wim Taymans <wim@fluendo.com>
6000 Added make forever target for check.
6002 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6004 * gst/gst.c: (init_post):
6005 make the registry cache file HOST_CPU-dependent
6007 2005-12-16 Andy Wingo <wingo@pobox.com>
6009 * plugins/elements/gstbufferstore.c
6010 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6013 * tests/check/gst/gstobject.c
6014 (test_fake_object_name_threaded_unique): Pay attention to
6015 g_list_sort return value.
6017 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6019 * tools/gst-feedback-m.m:
6020 Update for 0.9/0.10 (fixes #323870).
6022 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6024 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6025 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6027 * tests/check/gst/gstminiobject.c: (my_foo_init),
6028 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6029 (test_value_collection), (gst_mini_object_suite):
6030 Add test to ensure refcounts end up as expected when passing
6031 GstMiniObjects through g_object_get() and g_object_set().
6033 2005-12-14 Julien MOUTTE <julien@moutte.net>
6035 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6036 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6037 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6038 of collectpads. This version removes a lot of races without
6039 touching API/ABI. Yay !
6041 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6043 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6044 Don't allow activation of a srcpad in pull_range if it has no
6046 Change some debug statements to be a little clearer
6048 * plugins/elements/gsttypefindelement.c:
6049 (gst_type_find_handle_src_query):
6050 Check that we have a peer before executing queries thereupon.
6052 * tests/examples/metadata/read-metadata.c: (message_loop):
6053 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6054 immediately return us any available message with 0 timeout.
6056 2005-12-12 Michael Smith <msmith@fluendo.com>
6058 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6059 Don't unref factories after calling them.
6060 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6061 * plugins/elements/gsttypefindelement.c:
6062 (gst_type_find_element_chain):
6063 Free lists of factories after using them. Fixing typefinding memory
6066 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6068 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6069 (gst_plugin_feature_load):
6070 more meaningful debug output
6072 * tests/Makefile.am:
6073 * tests/old/examples/Makefile.am:
6074 make make distcheck happy again
6076 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6078 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6079 Catch the special case where we are operating chain-based,
6080 but the downstream peer pad has no chain function. Emit a
6081 custom error message in this case instead of letting the
6082 core generate one implying that this is some sort of core
6083 bug. It's not, it just means that whatever got plugged
6084 into the pipeline downstream when we announced the type
6085 can only operate pull-based, while our source can only
6086 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6087 Error string has not been marked for translation yet, as
6088 it probably needs some more work first.
6090 (gst_type_find_element_get_best_possibility):
6091 Add helper function to find the best of all available
6092 found possibilities that qualify given the min. threshold.
6094 (gst_type_find_element_handle_event):
6095 Fix the case where we get an EOS while still in TYPEFIND
6096 mode (we want to chose the best of all possible types,
6097 not just the first type that happens to be in our unsorted
6098 list of possible types).
6100 (gst_type_find_element_chain):
6101 Make sure we return GST_FLOW_ERROR when we errored out
6102 in stop_typefinding(); also, don't just find the best of
6103 all found type entries and then use the last examined
6104 type entry, but actually use the best entry.
6106 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6108 * tests/examples/typefind/typefind.c: (type_found):
6109 * tests/examples/xml/runxml.c: (xml_loaded):
6110 More gcc4 fixes and a mem leak fix.
6112 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6114 * tests/examples/xml/createxml.c: (object_saved):
6117 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6119 * tests/Makefile.am:
6120 enable the examples even more
6122 2005-12-12 Andy Wingo <wingo@pobox.com>
6124 * libs/gst/net/gstnettimeprovider.c
6125 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6126 (gst_net_time_provider_set_property)
6127 (gst_net_time_provider_get_property):
6128 API addition: Export "active" as a GObject property.
6129 (gst_net_time_provider_thread): Only respond to time queries if
6130 the time provider is active.
6132 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6133 NetTimeProvider, preserving binary compat.
6135 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6137 * tests/examples/controller/audio-example.c: (main):
6138 * tests/examples/launch/Makefile.am:
6139 convert comments again
6141 2005-12-12 Wim Taymans <wim@fluendo.com>
6143 * libs/gst/base/gstpushsrc.c:
6146 2005-12-12 Wim Taymans <wim@fluendo.com>
6148 * docs/libs/gstreamer-libs-sections.txt:
6149 Added new symbol to docs.
6151 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6152 (gst_base_src_init), (gst_base_src_set_format),
6153 (gst_base_src_default_query), (gst_base_src_query),
6154 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6155 (gst_base_src_perform_seek), (gst_base_src_send_event),
6156 (gst_base_src_default_event), (gst_base_src_event_handler),
6157 (gst_base_src_set_property), (gst_base_src_get_property),
6158 (gst_base_src_wait), (gst_base_src_do_sync),
6159 (gst_base_src_update_length), (gst_base_src_get_range),
6160 (gst_base_src_check_get_range), (gst_base_src_loop),
6161 (gst_base_src_default_negotiate), (gst_base_src_start),
6162 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6163 (gst_base_src_change_state):
6164 * libs/gst/base/gstbasesrc.h:
6165 Implement seeking to other formats than _BYTES.
6166 Implement more seeking methods correctly.
6168 Added query vmethod.
6169 Added do_seek vmethod to make life easier for subclasses
6171 API addition: gst_base_src_set_format()
6173 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6175 * tests/examples/Makefile.am:
6178 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6181 * docs/random/ensonic/media-device-daemon.txt:
6182 * tests/examples/controller/.cvsignore:
6183 * tests/examples/controller/Makefile.am:
6184 * tests/examples/controller/audio-example.c: (main):
6185 * tests/examples/helloworld/.cvsignore:
6186 * tests/examples/helloworld/Makefile.am:
6187 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6188 * tests/examples/launch/.cvsignore:
6189 * tests/examples/launch/Makefile.am:
6190 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6191 * tests/examples/metadata/.cvsignore:
6192 * tests/examples/metadata/Makefile.am:
6193 * tests/examples/metadata/read-metadata.c: (message_loop),
6194 (make_pipeline), (print_tag), (main):
6195 * tests/examples/queue/.cvsignore:
6196 * tests/examples/queue/Makefile.am:
6197 * tests/examples/queue/queue.c: (event_loop), (main):
6198 * tests/examples/typefind/.cvsignore:
6199 * tests/examples/typefind/Makefile.am:
6200 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6202 * tests/examples/xml/.cvsignore:
6203 * tests/examples/xml/Makefile.am:
6204 * tests/examples/xml/createxml.c: (object_saved), (main):
6205 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6206 * tests/old/examples/Makefile.am:
6207 * tests/old/examples/TODO:
6208 * tests/old/examples/controller/.cvsignore:
6209 * tests/old/examples/controller/Makefile.am:
6210 * tests/old/examples/controller/audio-example.c:
6211 * tests/old/examples/helloworld/.cvsignore:
6212 * tests/old/examples/helloworld/Makefile.am:
6213 * tests/old/examples/helloworld/helloworld.c:
6214 * tests/old/examples/launch/.cvsignore:
6215 * tests/old/examples/launch/Makefile.am:
6216 * tests/old/examples/launch/mp3parselaunch.c:
6217 * tests/old/examples/launch/mp3play:
6218 * tests/old/examples/manual/Makefile.am:
6219 * tests/old/examples/metadata/Makefile.am:
6220 * tests/old/examples/metadata/read-metadata.c:
6221 * tests/old/examples/queue/.cvsignore:
6222 * tests/old/examples/queue/Makefile.am:
6223 * tests/old/examples/queue/queue.c:
6224 * tests/old/examples/typefind/.cvsignore:
6225 * tests/old/examples/typefind/Makefile.am:
6226 * tests/old/examples/typefind/typefind.c:
6227 * tests/old/examples/xml/.cvsignore:
6228 * tests/old/examples/xml/Makefile.am:
6229 * tests/old/examples/xml/createxml.c:
6230 * tests/old/examples/xml/runxml.c:
6231 applied some simple fixing to some examples
6232 re-enabled the working examples
6234 2005-12-12 Wim Taymans <wim@fluendo.com>
6236 * gst/gstsegment.c: (gst_segment_init),
6237 (gst_segment_set_last_stop), (gst_segment_set_seek),
6238 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6239 (gst_segment_to_running_time):
6240 Added more documentation.
6241 Make sure the last_pos value is updated properly.
6242 Make sure to_stream_time and to_running_time don't
6243 operate on wrong values.
6245 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6248 2005-12-12 Michael Smith <msmith@fluendo.com>
6250 * plugins/elements/gsttypefindelement.c: (free_entry),
6251 (gst_type_find_element_chain):
6252 Now that we're not leaking factories, make sure we keep references
6253 to them while we need them.
6255 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6257 * tests/check/gst/struct_i386.h:
6258 ifdef out the XML structs
6260 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6262 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6263 floor is not needed, F is always positive; this obviates the
6264 need for adding -lm when building without libxml
6266 2005-12-12 Wim Taymans <wim@fluendo.com>
6268 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6269 Take current playback rate into account when reporting
6272 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6274 * docs/manual/mime-world.fig:
6275 Let's try this again, this time with a file that is
6276 actually in XFig format.
6278 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6280 * docs/manual/mime-world.fig:
6281 Add audioconvert element to diagram so that it
6282 matches the text and the code (fixes #319526).
6284 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6286 * docs/pwg/building-chainfn.xml:
6287 * docs/pwg/building-pads.xml:
6288 * docs/pwg/building-state.xml:
6289 * docs/pwg/other-source.xml:
6290 Update state change stuff for 0.10 (fixes #322969).
6292 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6294 * docs/manual/advanced-dataaccess.xml:
6295 * docs/manual/appendix-checklist.xml:
6296 * docs/manual/appendix-programs.xml:
6297 * docs/manual/basics-pads.xml:
6298 * docs/manual/highlevel-components.xml:
6299 * docs/manual/manual.xml:
6300 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6301 add converters in front of pipelines; remove curly
6302 brackets for threads stuff, they no longer exist; use
6303 GST_TYPE_FRACTION for framerates; update some pieces of
6304 code to 0.10, but there's plenty more to do.
6306 * docs/manual/appendix-porting.xml:
6307 Expand on asynchroneous state changes; s/0.9/0.10/;
6308 mention disappearance of gst_init_get_popt_table()
6311 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6313 * docs/faq/using.xml:
6314 Spider no longer exists, and neither does gst-launch-ext.
6315 Update examples to use decodebin and playbin and put
6316 converters in front of sinks (fixes #323726).
6318 2005-12-09 Michael Smith <msmith@fluendo.com>
6320 * plugins/elements/gsttypefindelement.c: (find_peek),
6321 (gst_type_find_element_chain):
6322 Fix leaking element factories in typefinding.
6323 Fix problem where we forgot about a probable type on non-seekable
6324 files, and thus later mis-typefound it.
6326 2005-12-09 Michael Smith <msmith@fluendo.com>
6328 * common/m4/gst-makecontext.m4:
6329 * common/m4/gst-mcsc.m4:
6331 * win32/common/config.h:
6332 * win32/common/config.h.in:
6333 Remove makecontext stuff; not used in 0.10 and causes problems on
6334 HPUX according to bug #322441
6336 2005-12-07 Wim Taymans <wim@fluendo.com>
6338 * tests/check/Makefile.am:
6339 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6341 * tests/check/libs/struct_i386.h:
6342 Added ABI check for libs
6344 2005-12-07 Wim Taymans <wim@fluendo.com>
6346 * tests/check/Makefile.am:
6347 And add the struct_i386.h to dist.
6349 2005-12-07 Wim Taymans <wim@fluendo.com>
6351 * tests/check/Makefile.am:
6352 * tests/check/gst/.cvsignore:
6353 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6355 * tests/check/gst/struct_i386.h:
6356 Added check for ABI compatibility.
6358 2005-12-07 Wim Taymans <wim@fluendo.com>
6360 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6361 (gst_fake_src_get_times), (gst_fake_src_create):
6362 Fix broken sync option, fixes #323259
6364 2005-12-07 Wim Taymans <wim@fluendo.com>
6369 * gst/gstcaps.c: (gst_caps_is_equal):
6370 Don't assert on NULL <--> X. Fixes #323260
6372 * gst/gstminiobject.c: (gst_mini_object_replace):
6373 If we're doing atomic operations, we might just as well use
6374 the proper way to get an atomic pointer.
6376 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6379 2005-12-07 Michael Smith <msmith@fluendo.com>
6381 * gst/parse/grammar.y:
6382 Remove handling of { } for threads.
6384 2005-12-06 David Schleef <ds@schleef.org>
6386 * libs/gst/base/gstbasetransform.c: speling fix.
6388 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6390 * docs/libs/tmpl/gstdataprotocol.sgml:
6391 * docs/random/omega/testing/gstobject.c:
6395 * gst/gstelementfactory.c:
6398 * gst/gstghostpad.c:
6400 * gst/gstpadtemplate.c:
6401 * gst/gstregistryxml.c:
6403 * gst/gsttagsetter.c:
6404 * gst/gsttypefind.c:
6406 * libs/gst/base/gstbasesrc.c:
6407 * libs/gst/net/gstnetclientclock.c:
6408 * libs/gst/net/gstnettimeprovider.c:
6409 * plugins/elements/gstfakesrc.c:
6410 * plugins/elements/gstfdsrc.c:
6411 * plugins/elements/gstfilesrc.c:
6412 * plugins/elements/gstidentity.c:
6413 * plugins/elements/gstqueue.c:
6414 * plugins/elements/gsttypefindelement.c:
6415 * plugins/indexers/gstfileindex.c:
6416 * plugins/indexers/gstmemindex.c:
6417 * tests/check/gst/gsttag.c:
6418 * tests/old/examples/cutter/cutter.c:
6419 * tests/old/examples/mixer/mixer.c:
6420 * tests/old/examples/xml/runxml.c: (main):
6421 * tests/old/testsuite/caps/normalisation.c:
6422 * tests/old/testsuite/debug/global.c:
6423 * tests/old/testsuite/parse/parse1.c:
6424 * tools/gst-xmlinspect.c:
6425 * win32/common/dirent.c:
6428 === release 0.10.0 ===
6430 2005-12-05 <thomas (at) apestaart (dot) org>
6433 releasing 0.10.0, "Maroilles"
6435 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6437 submitted by: Funda Wang <fundawang@linux.net.cn>
6441 added Chinese (Traditional) translation
6443 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6445 * docs/gst/gstreamer-sections.txt:
6446 * docs/libs/tmpl/gstdataprotocol.sgml:
6447 * docs/random/thomasvs/TODO:
6452 2005-12-05 Andy Wingo <wingo@pobox.com>
6454 patch by: Wim Taymans <wim@fluendo.com>
6456 * libs/gst/base/gstbasetransform.c
6457 (gst_base_transform_prepare_output_buf)
6458 (gst_base_transform_buffer_alloc):
6459 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6460 alloc_buffer_and_set_caps.
6462 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6463 set_caps on the source pad.
6464 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6465 alloc_buffer used to do. Fixes #322874.
6467 * docs/gst/gstreamer-sections.txt:
6468 * docs/design/part-negotiation.txt:
6469 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6472 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6474 patch by: Sebastien Moutte
6477 * win32/common/config.h.in:
6478 * win32/vs6/libgstcontroller.dsp:
6481 2005-12-05 Wim Taymans <wim@fluendo.com>
6483 * gst/gstcaps.c: (gst_caps_is_equal):
6484 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6485 (gst_fake_src_create):
6486 Back out previous code changes, leave doc updates, file bugs
6489 2005-12-05 Wim Taymans <wim@fluendo.com>
6491 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6492 (gst_fake_src_get_times), (gst_fake_src_create):
6493 * plugins/elements/gstfakesrc.h:
6494 Fix broken sync code.
6496 2005-12-05 Wim Taymans <wim@fluendo.com>
6498 * gst/gstcaps.c: (gst_caps_is_equal):
6499 Comparing NULL against !NULL yields different caps, not a
6502 2005-12-05 Wim Taymans <wim@fluendo.com>
6504 * gst/gstpipeline.c:
6505 Fix small typo in docs.
6507 2005-12-05 Andy Wingo <wingo@pobox.com>
6509 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6511 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6512 registries/plugins with a MAJORMINOR one.
6513 (plugin_desc): Rename library from gstcoreleements to
6514 staticelements. Fixes #323222.
6516 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6518 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6519 Change debug category to 'collectpads' from 'collect_pads'
6522 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6524 patch by: Sebastien Moutte
6526 * libs/gst/controller/gstinterpolation.c:
6527 use convert function for uint64/double
6528 * win32/vs6/libgstcontroller.dsp:
6531 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6533 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6534 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6536 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6537 add tests that seem to show that the guint64/gdouble conversions
6540 2005-12-02 Wim Taymans <wim@fluendo.com>
6542 * gst/gstregistry.c: (gst_registry_add_path):
6543 * gst/gstregistry.h:
6544 * gst/gstregistryxml.c:
6547 2005-12-02 Wim Taymans <wim@fluendo.com>
6549 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6550 (gst_util_uint64_scale_int):
6553 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6556 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6559 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6562 * win32/common/config.h:
6563 * win32/vs6/gstreamer.dsw:
6564 * win32/vs6/libgstcoreelements.dsp:
6565 * win32/vs6/libgstelements.dsp:
6566 renamed core elements plugin
6568 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6570 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6572 do piece-wise major/minor comparison so 0.9 < 0.10
6573 also allow .exe extensions for tools
6575 2005-12-02 Michael Smith <msmith@fluendo.com>
6578 Escape a % to make gtkdoc happier; bug 322958.
6580 === release 0.9.7 ===
6582 2005-12-01 <thomas (at) apestaart (dot) org>
6585 releasing 0.9.7, "My Dog Has No Nose"
6587 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6589 * common/gst-xmlinspect.py:
6591 * docs/libs/tmpl/gstdataprotocol.sgml:
6592 * docs/random/release:
6611 * win32/common/config.h:
6612 * win32/common/config.h.in:
6613 * win32/vs6/gst_inspect.dsp:
6614 * win32/vs6/gst_launch.dsp:
6615 * win32/vs6/libgstbase.dsp:
6616 * win32/vs6/libgstelements.dsp:
6617 * win32/vs6/libgstreamer.dsp:
6618 * win32/vs7/GStreamer.vcproj:
6619 * win32/vs7/gst-inspect.vcproj:
6620 * win32/vs7/gst-launch.vcproj:
6621 * win32/vs7/libgstbase.vcproj:
6622 bump GST_MAJORMINOR to 0.10
6623 reset libtool version
6625 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6629 Added Bulgarian translation by (Alexander Shopov)
6631 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6633 * tests/check/gst/gstplugin.c:
6636 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6638 * common/gst-xmlinspect.py:
6639 * common/gtk-doc-plugins.mak:
6642 * docs/gst/Makefile.am:
6643 * docs/gst/gstreamer-docs.sgml:
6644 * docs/gst/gstreamer-sections.txt:
6645 * docs/gst/gstreamer.types:
6646 * docs/gst/gstreamer.types.in:
6647 * docs/plugins/Makefile.am:
6648 * docs/plugins/gstreamer-plugins-docs.sgml:
6649 * docs/plugins/gstreamer-plugins-sections.txt:
6650 * docs/plugins/gstreamer-plugins.types:
6651 * docs/plugins/inspect.stamp:
6652 * docs/plugins/inspect/plugin-coreelements.xml:
6653 * docs/plugins/inspect/plugin-coreindexers.xml:
6654 * docs/plugins/scanobj-build.stamp:
6655 * gstreamer.spec.in:
6656 * plugins/elements/Makefile.am:
6657 * plugins/elements/gstelements.c:
6658 * plugins/elements/gstfakesink.c:
6659 * plugins/elements/gstfakesrc.c:
6660 * plugins/elements/gstfilesink.c:
6661 * plugins/elements/gstfilesrc.c:
6662 * plugins/elements/gstqueue.c:
6663 * plugins/indexers/Makefile.am:
6664 * plugins/indexers/gstindexers.c:
6665 document core plugins in a separate document just like all the
6667 rename these plugins to something starting with core
6669 2005-12-01 Andy Wingo <wingo@pobox.com>
6671 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6672 padding here before, but it missed the commit.
6674 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6676 * libs/gst/controller/gstinterpolation.c:
6677 whitespace prices have crashed, we should feel free to use some now
6678 use gst_guint64_to_gdouble
6680 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6682 * libs/gst/controller/gstcontroller.c:
6683 * libs/gst/controller/gsthelper.c:
6684 * libs/gst/controller/gstinterpolation.c:
6685 * libs/gst/controller/lib.c:
6686 wrap config.h include
6688 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6690 * docs/gst/gstreamer-sections.txt:
6693 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6695 * plugins/elements/gstelements.c:
6696 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6697 (gst_fd_sink__class_init), (gst_fd_sink__init),
6698 (gst_fd_sink__chain), (gst_fd_sink__set_property),
6699 (gst_fd_sink__get_property):
6700 * plugins/elements/gstfdsink.h:
6701 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6702 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6703 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6704 (gst_fd_src_unlock), (gst_fd_src_set_property),
6705 (gst_fd_src_get_property), (gst_fd_src_create),
6706 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6707 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6708 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6709 (gst_fd_src_uri_handler_init):
6710 * plugins/elements/gstfdsrc.h:
6711 * plugins/elements/gstqueue.c: (gst_queue_get_type):
6714 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6716 * docs/gst/Makefile.am:
6717 * docs/gst/gstreamer.types.in:
6721 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6727 * gst/gstregistry.h:
6728 * tests/benchmarks/complexity.c:
6729 * tests/benchmarks/mass-elements.c:
6730 * tests/check/Makefile.am:
6731 * tools/Makefile.am:
6732 * tools/gst-inspect.c:
6733 * tools/gst-xmlinspect.c:
6734 various fixes to make
6735 --disable-nls --disable-registry --disable-loadsave
6736 --disable-parse --disable-gst-debug
6737 work and get the core .so down to 360444 bytes after stripping
6739 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6744 * docs/random/thomasvs/TODO:
6745 * tests/Makefile.am:
6749 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6751 * win32/GStreamer.vcproj:
6754 * win32/Makefile.inspect:
6755 * win32/Makefile.launch:
6756 * win32/Makefile.register:
6758 * win32/gst-inspect.vcproj:
6759 * win32/gst-launch.vcproj:
6760 * win32/gst-register.vcproj:
6761 * win32/gstelements.vcproj:
6762 * win32/gstgetbits.def:
6763 * win32/gstgetbits.vcproj:
6764 * win32/gstreamer-dbg.def:
6765 * win32/gstreamer.def:
6766 * win32/libgstbase.def:
6767 * win32/libgstbase.vcproj:
6768 * win32/link_oldruntime.c:
6773 move even more stuff, win32/ is nice and clean now
6775 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6777 * libs/gst/control/.cvsignore:
6782 * win32/gstbytestream.def:
6783 * win32/gstbytestream.vcproj:
6784 * win32/gstconfig.h:
6785 * win32/gstenumtypes.c:
6786 * win32/gstenumtypes.h:
6787 * win32/gstoptimalscheduler.vcproj:
6788 * win32/gstversion.h:
6790 * win32/testsuite/bins.vcproj:
6791 * win32/testsuite/bytestream.vcproj:
6792 * win32/testsuite/caps.vcproj:
6793 * win32/testsuite/cleanup.vcproj:
6794 * win32/testsuite/clock.vcproj:
6795 * win32/testsuite/debug.vcproj:
6796 * win32/testsuite/dlopen.vcproj:
6797 * win32/testsuite/dynparams.vcproj:
6798 * win32/testsuite/elements.vcproj:
6799 * win32/testsuite/ghostpads.vcproj:
6800 * win32/testsuite/indexers.vcproj:
6801 * win32/testsuite/negotiation.vcproj:
6802 * win32/testsuite/parse.vcproj:
6803 * win32/testsuite/plugin.vcproj:
6804 * win32/testsuite/refcounting.vcproj:
6805 * win32/testsuite/schedulers.vcproj:
6806 * win32/testsuite/states.vcproj:
6807 * win32/testsuite/tags.vcproj:
6808 * win32/testsuite/threads.vcproj:
6809 remove old win32 stuff that isn't maintained and should be
6812 2005-11-30 Andy Wingo <wingo@pobox.com>
6814 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6815 loading the gst.interfaces python module bork.
6817 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6818 available since GLib 2.2. Fixes #318031.
6820 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6824 * check/Makefile.am:
6825 * check/elements/.cvsignore:
6826 * check/elements/fakesrc.c:
6827 * check/elements/fdsrc.c:
6828 * check/elements/identity.c:
6829 * check/generic/.cvsignore:
6830 * check/generic/states.c:
6831 * check/gst-libs/.cvsignore:
6832 * check/gst-libs/controller.c:
6833 * check/gst-libs/gdp.c:
6834 * check/gst/.cvsignore:
6835 * check/gst/capslist.h:
6837 * check/gst/gstbin.c:
6838 * check/gst/gstbuffer.c:
6839 * check/gst/gstbus.c:
6840 * check/gst/gstcaps.c:
6841 * check/gst/gstelement.c:
6842 * check/gst/gstevent.c:
6843 * check/gst/gstghostpad.c:
6844 * check/gst/gstiterator.c:
6845 * check/gst/gstmessage.c:
6846 * check/gst/gstminiobject.c:
6847 * check/gst/gstobject.c:
6848 * check/gst/gstpad.c:
6849 * check/gst/gstpipeline.c:
6850 * check/gst/gstplugin.c:
6851 * check/gst/gstsegment.c:
6852 * check/gst/gststructure.c:
6853 * check/gst/gstsystemclock.c:
6854 * check/gst/gsttag.c:
6855 * check/gst/gstutils.c:
6856 * check/gst/gstvalue.c:
6857 * check/net/.cvsignore:
6858 * check/net/gstnetclientclock.c:
6859 * check/net/gstnettimeprovider.c:
6860 * check/pipelines/.cvsignore:
6861 * check/pipelines/cleanup.c:
6862 * check/pipelines/simple_launch_lines.c:
6863 * check/pipelines/stress.c:
6864 * check/states/.cvsignore:
6865 * check/states/sinks.c:
6867 * examples/Makefile.am:
6868 * examples/appreader/.cvsignore:
6869 * examples/appreader/Makefile.am:
6870 * examples/appreader/appreader.c:
6871 * examples/controller/.cvsignore:
6872 * examples/controller/Makefile.am:
6873 * examples/controller/audio-example.c:
6874 * examples/cutter/.cvsignore:
6875 * examples/cutter/Makefile.am:
6876 * examples/cutter/cutter.c:
6877 * examples/cutter/cutter.h:
6878 * examples/events/Makefile.am:
6879 * examples/events/seek.c:
6880 * examples/helloworld/.cvsignore:
6881 * examples/helloworld/Makefile.am:
6882 * examples/helloworld/helloworld.c:
6883 * examples/helloworld2/.cvsignore:
6884 * examples/helloworld2/Makefile.am:
6885 * examples/helloworld2/helloworld2.c:
6886 * examples/launch/.cvsignore:
6887 * examples/launch/Makefile.am:
6888 * examples/launch/mp3parselaunch.c:
6889 * examples/launch/mp3play:
6890 * examples/manual/.cvsignore:
6891 * examples/manual/Makefile.am:
6892 * examples/manual/extract.pl:
6893 * examples/metadata/Makefile.am:
6894 * examples/metadata/read-metadata.c:
6895 * examples/mixer/.cvsignore:
6896 * examples/mixer/Makefile.am:
6897 * examples/mixer/mixer.c:
6898 * examples/mixer/mixer.h:
6899 * examples/pingpong/.cvsignore:
6900 * examples/pingpong/Makefile.am:
6901 * examples/pingpong/pingpong.c:
6902 * examples/plugins/.cvsignore:
6903 * examples/plugins/Makefile.am:
6904 * examples/plugins/example.c:
6905 * examples/plugins/example.h:
6906 * examples/pwg/.cvsignore:
6907 * examples/pwg/Makefile.am:
6908 * examples/pwg/extract.pl:
6909 * examples/queue/.cvsignore:
6910 * examples/queue/Makefile.am:
6911 * examples/queue/queue.c:
6912 * examples/queue2/.cvsignore:
6913 * examples/queue2/Makefile.am:
6914 * examples/queue2/queue2.c:
6915 * examples/queue3/.cvsignore:
6916 * examples/queue3/Makefile.am:
6917 * examples/queue3/queue3.c:
6918 * examples/queue4/.cvsignore:
6919 * examples/queue4/Makefile.am:
6920 * examples/queue4/queue4.c:
6921 * examples/retag/.cvsignore:
6922 * examples/retag/Makefile.am:
6923 * examples/retag/retag.c:
6924 * examples/retag/transcode.c:
6925 * examples/thread/.cvsignore:
6926 * examples/thread/Makefile.am:
6927 * examples/thread/thread.c:
6928 * examples/typefind/.cvsignore:
6929 * examples/typefind/Makefile.am:
6930 * examples/typefind/typefind.c:
6931 * examples/xml/.cvsignore:
6932 * examples/xml/Makefile.am:
6933 * examples/xml/createxml.c:
6934 * examples/xml/runxml.c:
6935 * tests/Makefile.am:
6936 * tests/check/Makefile.am:
6937 * testsuite/.cvsignore:
6938 * testsuite/Makefile.am:
6940 * testsuite/caps/.cvsignore:
6941 * testsuite/caps/Makefile.am:
6942 * testsuite/caps/app_fixate.c:
6943 * testsuite/caps/audioscale.c:
6944 * testsuite/caps/caps.c:
6945 * testsuite/caps/caps.h:
6946 * testsuite/caps/caps_strings:
6947 * testsuite/caps/compatibility.c:
6948 * testsuite/caps/deserialize.c:
6949 * testsuite/caps/enumcaps.c:
6950 * testsuite/caps/eratosthenes.c:
6951 * testsuite/caps/filtercaps.c:
6952 * testsuite/caps/fixed.c:
6953 * testsuite/caps/fraction-convert.c:
6954 * testsuite/caps/fraction-multiply-and-zero.c:
6955 * testsuite/caps/intersect2.c:
6956 * testsuite/caps/intersection.c:
6957 * testsuite/caps/normalisation.c:
6958 * testsuite/caps/random.c:
6959 * testsuite/caps/renegotiate.c:
6960 * testsuite/caps/sets.c:
6961 * testsuite/caps/simplify.c:
6962 * testsuite/caps/string-conversions.c:
6963 * testsuite/caps/structure.c:
6964 * testsuite/caps/subtract.c:
6965 * testsuite/caps/union.c:
6966 * testsuite/debug/.cvsignore:
6967 * testsuite/debug/Makefile.am:
6968 * testsuite/debug/category.c:
6969 * testsuite/debug/commandline.c:
6970 * testsuite/debug/global.c:
6971 * testsuite/debug/output.c:
6972 * testsuite/debug/printf_extension.c:
6973 * testsuite/dlopen/.cvsignore:
6974 * testsuite/dlopen/Makefile.am:
6975 * testsuite/dlopen/dlopen_gst.c:
6976 * testsuite/dlopen/loadgst.c:
6977 * testsuite/elements/.cvsignore:
6978 * testsuite/elements/Makefile.am:
6979 * testsuite/elements/gst-inspect-check.in:
6980 * testsuite/elements/struct_i386.h:
6981 * testsuite/elements/struct_size.c:
6982 * testsuite/indexers/.cvsignore:
6983 * testsuite/indexers/Makefile.am:
6984 * testsuite/indexers/cache1.c:
6985 * testsuite/indexers/indexdump.c:
6986 * testsuite/parse/.cvsignore:
6987 * testsuite/parse/Makefile.am:
6988 * testsuite/parse/parse1.c:
6989 * testsuite/parse/parse2.c:
6990 * testsuite/plugin/.cvsignore:
6991 * testsuite/plugin/Makefile.am:
6992 * testsuite/plugin/README:
6993 * testsuite/plugin/dynamic.c:
6994 * testsuite/plugin/linked.c:
6995 * testsuite/plugin/loading.c:
6996 * testsuite/plugin/registry.c:
6997 * testsuite/plugin/static.c:
6998 * testsuite/plugin/static2.c:
6999 * testsuite/plugin/testplugin.c:
7000 * testsuite/plugin/testplugin2.c:
7001 * testsuite/plugin/testplugin2_s.c:
7002 * testsuite/plugin/testplugin_s.c:
7003 * testsuite/refcounting/.cvsignore:
7004 * testsuite/refcounting/Makefile.am:
7005 * testsuite/refcounting/bin.c:
7006 * testsuite/refcounting/element.c:
7007 * testsuite/refcounting/element_pad.c:
7008 * testsuite/refcounting/mainloop.c:
7009 * testsuite/refcounting/mem.c:
7010 * testsuite/refcounting/mem.h:
7011 * testsuite/refcounting/object.c:
7012 * testsuite/refcounting/pad.c:
7013 * testsuite/refcounting/sched.c:
7014 * testsuite/refcounting/thread.c:
7015 * testsuite/states/.cvsignore:
7016 * testsuite/states/Makefile.am:
7017 * testsuite/states/bin.c:
7018 * testsuite/states/locked.c:
7019 * testsuite/states/parent.c:
7020 * testsuite/threads/.cvsignore:
7021 * testsuite/threads/159566.c:
7022 * testsuite/threads/159852.c:
7023 * testsuite/threads/Makefile.am:
7024 * testsuite/threads/queue.c:
7025 * testsuite/threads/signals.c:
7026 * testsuite/threads/staticrec.c:
7027 * testsuite/threads/thread.c:
7028 * testsuite/threads/threadb.c:
7029 * testsuite/threads/threadc.c:
7030 * testsuite/threads/threadd.c:
7031 * testsuite/threads/threade.c:
7032 * testsuite/threads/threadf.c:
7033 * testsuite/threads/threadg.c:
7034 * testsuite/threads/threadh.c:
7035 * testsuite/threads/threadi.c:
7036 move all of these under tests
7038 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7041 * tests/Makefile.am:
7044 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7046 * docs/gst/gstreamer-sections.txt:
7047 * tests/sched/.cvsignore:
7048 * tests/sched/Makefile.am:
7049 * tests/sched/cases/(fs-fs).xml:
7050 * tests/sched/cases/(fs-i-fs).xml:
7051 * tests/sched/cases/(fs-i-i-fs).xml:
7052 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7053 * tests/sched/dynamic-pipeline.c:
7054 * tests/sched/interrupt1.c:
7055 * tests/sched/interrupt2.c:
7056 * tests/sched/interrupt3.c:
7057 * tests/sched/runtestcases:
7058 * tests/sched/runxml.c:
7059 * tests/sched/sched-stress.c:
7060 * tests/sched/sort.c:
7061 * tests/sched/testcases:
7062 * tests/sched/testcases1.tc:
7063 * tests/seeking/.cvsignore:
7064 * tests/seeking/Makefile.am:
7065 * tests/seeking/seeking1.c:
7066 * tests/threadstate/.cvsignore:
7067 * tests/threadstate/Makefile.am:
7068 * tests/threadstate/test1.c:
7069 * tests/threadstate/test2.c:
7070 * tests/threadstate/threadstate1.c:
7071 * tests/threadstate/threadstate2.c:
7072 * tests/threadstate/threadstate3.c:
7073 * tests/threadstate/threadstate4.c:
7074 * tests/threadstate/threadstate5.c:
7075 remove obsolete tests
7077 * tests/bench-complexity.scm:
7078 * tests/bench-mass_elements.scm:
7079 * tests/complexity.c:
7080 * tests/complexity.gnuplot:
7081 * tests/instantiate/.cvsignore:
7082 * tests/instantiate/Makefile.am:
7083 * tests/instantiate/caps.c:
7084 * tests/mass_elements.c:
7085 * tests/network-clock-utils.scm:
7086 * tests/network-clock.scm:
7088 First pass at cleaning up tests/ dir before moving the rest
7089 Combined with CVS surgery
7091 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7094 queue has moved, update
7096 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7098 * docs/gst/gstreamer-sections.txt:
7099 remove double entries from the docs
7100 * gst/gst_private.h:
7101 * gst/gstinfo.c: (_gst_debug_init):
7102 remove the THREAD debug category
7106 * docs/gst/gstreamer.types:
7107 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7108 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7109 completely move queue and fix up debugging categories
7111 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7113 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7114 make initialization portable, using LL is not
7116 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7118 * win32/common/gstconfig.h:
7121 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7123 * win32/common/libgstreamer.def:
7124 rename symbols; sort base section
7126 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7128 * gst/gstclock.c: (do_linear_regression):
7129 remove crack non-portable handrolled DEBUG macro
7131 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7133 * docs/random/release:
7135 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7136 (gst_object_flags_get_type), (register_gst_bin_flags),
7137 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7138 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7139 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7140 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7141 (gst_caps_flags_get_type), (register_gst_clock_return),
7142 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7143 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7144 (gst_clock_flags_get_type), (register_gst_state),
7145 (gst_state_get_type), (register_gst_state_change_return),
7146 (gst_state_change_return_get_type), (register_gst_state_change),
7147 (gst_state_change_get_type), (register_gst_element_flags),
7148 (gst_element_flags_get_type), (register_gst_core_error),
7149 (gst_core_error_get_type), (register_gst_library_error),
7150 (gst_library_error_get_type), (register_gst_resource_error),
7151 (gst_resource_error_get_type), (register_gst_stream_error),
7152 (gst_stream_error_get_type), (register_gst_event_type_flags),
7153 (gst_event_type_flags_get_type), (register_gst_event_type),
7154 (gst_event_type_get_type), (register_gst_seek_type),
7155 (gst_seek_type_get_type), (register_gst_seek_flags),
7156 (gst_seek_flags_get_type), (register_gst_format),
7157 (gst_format_get_type), (register_gst_index_certainty),
7158 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7159 (gst_index_entry_type_get_type),
7160 (register_gst_index_lookup_method),
7161 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7162 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7163 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7164 (gst_index_flags_get_type), (register_gst_debug_level),
7165 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7166 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7167 (gst_iterator_result_get_type), (register_gst_iterator_item),
7168 (gst_iterator_item_get_type), (register_gst_message_type),
7169 (gst_message_type_get_type), (register_gst_mini_object_flags),
7170 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7171 (gst_pad_link_return_get_type), (register_gst_flow_return),
7172 (gst_flow_return_get_type), (register_gst_activate_mode),
7173 (gst_activate_mode_get_type), (register_gst_pad_direction),
7174 (gst_pad_direction_get_type), (register_gst_pad_flags),
7175 (gst_pad_flags_get_type), (register_gst_pad_presence),
7176 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7177 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7178 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7179 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7180 (gst_plugin_flags_get_type), (register_gst_rank),
7181 (gst_rank_get_type), (register_gst_query_type),
7182 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7183 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7184 (gst_tag_flag_get_type), (register_gst_task_state),
7185 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7186 (gst_alloc_trace_flags_get_type),
7187 (register_gst_type_find_probability),
7188 (gst_type_find_probability_get_type), (register_gst_uri_type),
7189 (gst_uri_type_get_type), (register_gst_parse_error),
7190 (gst_parse_error_get_type):
7191 * win32/common/gstenumtypes.h:
7192 * win32/common/gstversion.h:
7193 update visual studio generated files
7195 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7197 * win32/vs6/libgstbase.dsp:
7198 * win32/vs6/libgstelements.dsp:
7199 update project files for new locations
7201 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7206 reinstate and update
7211 * docs/random/LICENSE:
7214 2005-11-30 Edward Hervey <edward@fluendo.com>
7216 * gst/gsttypefind.c: (gst_type_find_register):
7217 * gst/gsttypefind.h:
7218 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7219 (gst_type_find_factory_dispose):
7220 * gst/gsttypefindfactory.h:
7221 Fix memory leak in GstTypeFindFactory.
7223 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7226 * plugins/elements/Makefile.am:
7227 * plugins/elements/gstelements.c:
7228 * plugins/elements/gstqueue.c:
7229 move queue from core to the elements plugin
7231 2005-11-29 Andy Wingo <wingo@pobox.com>
7233 * libs/gst/base/gstbasetransform.h:
7234 * libs/gst/base/gstbasesrc.h:
7235 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7237 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7238 of pointers by which to pad very extensible base classes (like the
7239 ones in libs/gst/base).
7241 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7243 * docs/gst/gstreamer-docs.sgml:
7244 * docs/gst/gstreamer-sections.txt:
7245 * docs/libs/gstreamer-libs-docs.sgml:
7246 * docs/libs/gstreamer-libs-sections.txt:
7247 moving documentation from core to lib
7249 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7251 * check/Makefile.am:
7253 * docs/gst/Makefile.am:
7255 * gst/base/.cvsignore:
7256 * gst/base/Makefile.am:
7258 * gst/base/gstadapter.c:
7259 * gst/base/gstadapter.h:
7260 * gst/base/gstbasesink.c:
7261 * gst/base/gstbasesink.h:
7262 * gst/base/gstbasesrc.c:
7263 * gst/base/gstbasesrc.h:
7264 * gst/base/gstbasetransform.c:
7265 * gst/base/gstbasetransform.h:
7266 * gst/base/gstcollectpads.c:
7267 * gst/base/gstcollectpads.h:
7268 * gst/base/gstpushsrc.c:
7269 * gst/base/gstpushsrc.h:
7270 * gst/base/gsttypefindhelper.c:
7271 * gst/base/gsttypefindhelper.h:
7272 * gst/check/Makefile.am:
7273 * gst/check/gstcheck.c:
7274 * gst/check/gstcheck.h:
7275 * gst/net/Makefile.am:
7277 * gst/net/gstnetclientclock.c:
7278 * gst/net/gstnetclientclock.h:
7279 * gst/net/gstnettimepacket.c:
7280 * gst/net/gstnettimepacket.h:
7281 * gst/net/gstnettimeprovider.c:
7282 * gst/net/gstnettimeprovider.h:
7283 * libs/gst/Makefile.am:
7284 * libs/gst/base/Makefile.am:
7285 * libs/gst/base/gstbasetransform.c:
7286 * libs/gst/check/Makefile.am:
7287 * plugins/elements/Makefile.am:
7289 CVS surgery + support to move base, check, and net out of gst
7292 2005-11-29 Andy Wingo <wingo@pobox.com>
7294 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7296 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7299 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7301 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7303 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7305 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7306 padding; reduces object size by about 30%. We don't expect
7307 anything else to go into gstobject.
7309 * gst/gstminiobject.h (struct _GstMiniObject)
7310 (struct _GstMiniObjectClass): Only one pointer of padding; the
7311 payload is only a pointer and two ints anyway. For the class there
7312 are only two methods as well.
7314 * gst/gstelement.h (struct _GstElementClass): Removed
7315 the state_changed signal callback, it is not used.
7317 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7319 * docs/gst/gstreamer.types:
7320 fix includes, though they are a little dinky
7322 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7324 * check/Makefile.am:
7325 look in the right place for elements, a lot more chance of
7328 remove indexers and elements subdirs
7329 * plugins/Makefile.am:
7330 make indexers conditional
7332 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7336 * plugins/elements/Makefile.am:
7337 * plugins/elements/gstcapsfilter.c:
7338 * plugins/elements/gstfilesink.c:
7339 * plugins/elements/gstfilesrc.c:
7340 * plugins/elements/gstidentity.c:
7341 * plugins/indexers/Makefile.am:
7342 do CVS surgery and related build fixery to move elements
7343 and indexers in a new gstreamer/plugins directory, out of the
7346 2005-11-29 Andy Wingo <wingo@pobox.com>
7348 * check/Makefile.am:
7349 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7350 * pkgconfig/gstreamer-net.pc.in:
7351 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7354 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7356 * tools/Makefile.am:
7357 * tools/gst-complete.1.in:
7358 * tools/gst-complete.c:
7359 * tools/gst-compprep.1.in:
7360 * tools/gst-compprep.c:
7361 removing -compprep and -complete
7363 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7365 * gst/gstevent.c: (gst_event_new_new_segment),
7366 (gst_event_parse_new_segment):
7368 fix #320529 - clean up new_segment API and structure.
7369 Let's hope everyone was using the methods, and not the structure.
7371 2005-11-29 Edward Hervey <edward@fluendo.com>
7373 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7374 (gst_base_sink_event), (gst_base_sink_do_sync),
7375 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7376 Properly handle non GST_FORMAT_TIME segment
7377 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7378 Properly handle non GST_FORMAT_TIME segment
7380 This function is valid if the accumulator is 0 and the format
7381 is different from the requested format.
7383 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7385 * docs/gst/gstreamer-sections.txt:
7386 Add gst_query_new_seeking and gst_query_parse_seeking to the
7389 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7391 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7392 Treat a pad alloc with new caps the same as if we were not
7393 negotiated, in order to allow a changing upstream output
7394 to produce a new format of data.
7396 2005-11-29 Edward Hervey <edward@fluendo.com>
7398 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7399 (gst_base_transform_event), (gst_base_transform_eventfunc):
7400 The event virtual method is now properly implemented, with a default
7402 Sub classes should call the parent_class event method. They should
7403 return FALSE if they had a problem handling the given event, or don't
7404 want GstBaseTransform to send that even downstream
7405 * gst/elements/gstidentity.c: (gst_identity_class_init),
7406 (gst_identity_init), (gst_identity_event),
7407 (gst_identity_transform_ip), (gst_identity_set_property),
7408 (gst_identity_get_property):
7409 * gst/elements/gstidentity.h:
7410 Added the single-segment boolean property.
7411 If set to TRUE, it will output a single segment of data, starting from
7412 0, will eat up all incoming newsegment, and modify the timestamp of the
7415 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7417 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7418 Don't ref NULL target pad (#322751). Improve docs.
7420 2005-11-29 Michael Smith <msmith@fluendo.com>
7422 * gst/gstregistryxml.c: (load_plugin):
7423 Don't crash if we failed to load a feature from a plugin.
7425 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7427 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7429 use more check API and less GLib API
7431 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7434 don't run checks if we don't have check
7436 remove the registry when running make torture
7437 * docs/gst/gstreamer-sections.txt:
7438 remove second multiply
7439 * gst/gstqueue.c: (gst_queue_loop):
7440 fix a compile warning when disabling debug
7442 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7445 Hey! Let's print the pad name if the pointer != NULL instead
7446 of when it == NULL :-)
7448 2005-11-28 Wim Taymans <wim@fluendo.com>
7450 * check/gst/gstutils.c: (GST_START_TEST):
7451 Updated check, add some scaling accuracy checking code.
7453 * gst/gstutils.c: (gst_util_div128_64),
7454 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7455 (gst_util_uint64_scale_int):
7456 Fix 6 times faster division code. Optimize for common
7457 1/1 and less common X/1 cases.
7459 2005-11-28 Wim Taymans <wim@fluendo.com>
7461 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7464 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7465 (do_linear_regression), (gst_clock_add_observation):
7467 Release lock when the clock cannot be slaved.
7468 Catch the case where the regression returned an invalid denominator.
7470 * gst/gstutils.c: (gst_util_div128_64_iterate),
7471 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7472 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7473 Add protentially more performant non-iterative 128/64 divide function
7474 that unfortunatly does not work yet.
7475 Shortcut the trivial 0/X = 0 case.
7476 Remove the warnings on overflow.
7478 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7480 * gst/gstplugin.c: (gst_plugin_register_func):
7481 everything causing a plugin not to load should be at least a WARNING
7483 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7485 * docs/random/ensonic/dparams.txt:
7486 some TODOs for the next dev cycle
7487 * libs/gst/controller/gstcontroller.c:
7488 (gst_controlled_property_set_interpolation_mode),
7489 (gst_controlled_property_new):
7490 * libs/gst/controller/gstcontroller.h:
7491 use base type to assign acccessor functions
7493 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7495 * check/Makefile.am:
7496 Oops, that should have been top_srcdir
7498 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7500 * check/Makefile.am:
7501 * check/elements/fdsrc.c: (GST_START_TEST):
7502 Use a cmdline define to specify the location of a file to use for
7503 testing, to avoid breaking distcheck.
7505 2005-11-28 Andy Wingo <wingo@pobox.com>
7507 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7509 2005-11-28 Edward Hervey <edward@fluendo.com>
7511 * tools/gst-launch.c: (main):
7512 Clarify the output strings, makes it easier to translate.
7515 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7518 don't try and build net if we don't even have <sys/socket.h>
7520 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7522 * check/Makefile.am:
7523 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7524 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7525 Add tests for fdsrc seekability
7527 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7528 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7529 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7530 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7531 * gst/elements/gstfdsrc.h:
7532 fdsrc should not be a 'live' source.
7533 Implement seeking on seekable fd's.
7535 * gst/gstquery.c: (gst_query_new_seeking),
7536 (gst_query_parse_seeking):
7538 Implement SEEKING query functions:
7539 *_new_seeking and *_parse_seeking
7541 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7543 * gst/gstelement.c: (gst_element_dispose):
7546 * gst/gstiterator.c:
7547 * gst/gststructure.c:
7550 * libs/gst/controller/gstcontroller.c:
7551 (gst_controlled_property_set_interpolation_mode):
7552 * libs/gst/controller/gstcontroller.h:
7553 * libs/gst/controller/gstinterpolation.c:
7554 (interpolate_none_get_enum_value_array):
7555 support controlling enums
7557 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7560 Improve documentation for gst_value_union().
7563 Change return value for union, intersect and subtract functions
7564 from gint to gboolean.
7566 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7568 * gst/gstvalue.c: (gst_value_serialize_any_list),
7569 (gst_value_transform_any_list_string),
7570 (gst_value_deserialize_list), (gst_value_deserialize_array),
7571 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7572 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7573 (gst_value_set_fraction_range_full),
7574 (gst_value_deserialize_fraction_range),
7575 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7576 (gst_value_deserialize_boolean),
7577 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7578 (gst_value_serialize_float), (gst_value_deserialize_float),
7579 (gst_string_wrap), (gst_value_deserialize_string),
7580 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7581 (gst_value_union_int_range_int_range),
7582 (gst_value_intersect_int_range_int_range),
7583 (gst_value_intersect_double_range_double_range),
7584 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7585 (gst_value_subtract_int_range_int_range),
7586 (gst_value_subtract_double_double_range),
7587 (gst_value_subtract_double_range_double_range),
7588 (gst_value_deserialize_fraction):
7590 Use gint, gdouble and gchar in our API instead of int, double and
7591 char (and make usage in gstvalue.c more consistent).
7593 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7595 * check/Makefile.am:
7596 * libs/gst/controller/Makefile.am:
7597 * libs/gst/dataprotocol/Makefile.am:
7598 fix up Makefile.am and remove GST_ENABLE_NEW
7600 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7604 * gst/base/Makefile.am:
7605 * gst/check/Makefile.am:
7606 * gst/elements/Makefile.am:
7607 * gst/net/Makefile.am:
7608 update LDFLAGS use some more
7610 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7612 * common/m4/gst-doc.m4:
7615 2005-11-26 Edward Hervey <edward@fluendo.com>
7617 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7618 This shouldn't issue a g_warning since it returns NULL if it
7619 couldn't find the plugin, and all functions using this behave
7620 properly on a NULL return. Switching to a GST_WARNING.
7622 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
7624 * gst/gstbin.c: (gst_bin_handle_message_func):
7625 Don't leak clock messages.
7627 2005-11-25 Wim Taymans <wim@fluendo.com>
7629 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7630 (gst_util_uint64_scale_int):
7631 Optimisations, remove unneeded vars.
7633 2005-11-25 Wim Taymans <wim@fluendo.com>
7635 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7636 Added more checks for the high precision uint64 cases.
7638 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7639 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7640 Implement high precision (guint64 * guint64) / guint64.
7642 2005-11-24 Wim Taymans <wim@fluendo.com>
7644 * gst/base/gstbasesrc.c: (gst_base_src_query):
7645 Fix wrong percentage query.
7647 * gst/gstutils.c: (gst_util_uint64_scale),
7648 (gst_util_uint64_scale_int):
7649 Add some more common cases that can be handled
7650 efficiently to _scale.
7652 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7654 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7655 (gst_mini_object_suite):
7656 don't use check calls from threads; check probably isn't
7657 threadsafe and using a lock to make it threadsafe would
7658 defeat the purpose of this check
7659 * gst/check/gstcheck.c:
7660 * gst/check/gstcheck.h:
7661 use GST_DEBUG some more
7663 2005-11-24 Wim Taymans <wim@fluendo.com>
7665 * gst/gstutils.c: (gst_util_uint64_scale),
7666 (gst_util_uint64_scale_int):
7667 Chain trivial case to _scale_int.
7669 2005-11-24 Wim Taymans <wim@fluendo.com>
7671 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7672 Added test for scaling.
7677 * gst/gstutils.c: (gst_util_uint64_scale_int):
7678 Implemented high precision scaling code.
7680 2005-11-24 Stefan Kost <ensonic@users.sf.net>
7683 do not crash on pad==NULL
7685 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7687 Patch by: Stefan Kost
7689 * common/gtk-doc.mak:
7690 * docs/gst/Makefile.am:
7691 * docs/libs/Makefile.am:
7692 Fix distcheck issues for the libraries docs build
7695 2005-11-24 Michael Smith <msmith@fluendo.com>
7697 * docs/manual/basics-helloworld.xml:
7698 Fix bug #315027: memory leak in example code in docs.
7700 2005-11-24 Michael Smith <msmith@fluendo.com>
7702 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7703 Unlock the PREROLL_LOCK in a failure case.
7705 2005-11-24 Wim Taymans <wim@fluendo.com>
7707 * docs/gst/gstreamer-sections.txt:
7708 * gst/base/gstadapter.h:
7709 * gst/base/gstbasesink.h:
7710 * gst/base/gstbasesrc.h:
7711 * gst/base/gstbasetransform.h:
7712 * gst/base/gstpushsrc.h:
7713 * gst/elements/gstfakesink.h:
7714 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7715 * gst/elements/gstfakesrc.h:
7716 * gst/elements/gstfilesink.h:
7717 * gst/elements/gstfilesrc.h:
7720 * gst/gstbuffer.c: (_gst_buffer_copy):
7723 * gst/gstchildproxy.c:
7726 * gst/gstelementfactory.c:
7727 * gst/gstelementfactory.h:
7729 * gst/gstghostpad.h:
7731 * gst/gstinterface.h:
7732 * gst/gstminiobject.c:
7733 * gst/gstminiobject.h:
7736 * gst/gstpadtemplate.h:
7737 * gst/gstpipeline.h:
7738 * gst/gstpluginfeature.h:
7743 * gst/gsttagsetter.c:
7744 * gst/gsttagsetter.h:
7747 * gst/gsttypefind.h:
7750 * gst/net/gstnetclientclock.c:
7751 * gst/net/gstnetclientclock.h:
7752 * gst/net/gstnettimepacket.c:
7753 * gst/net/gstnettimeprovider.c:
7754 * gst/net/gstnettimeprovider.h:
7757 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7759 * configure.ac: back to HEAD
7761 === release 0.9.6 ===
7763 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7766 releasing 0.9.6, "Always On Time"
7768 2005-11-23 Wim Taymans <wim@fluendo.com>
7770 * docs/gst/gstreamer-sections.txt:
7771 * gst/glib-compat.c:
7772 * gst/gsttagsetter.c:
7774 * gst/net/gstnetclientclock.c:
7775 * gst/net/gstnettimepacket.h:
7778 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7780 * docs/faq/using.xml:
7781 * docs/libs/tmpl/gstcontrol.sgml:
7782 * docs/manual/advanced-dparams.xml:
7783 * docs/manual/appendix-checklist.xml:
7784 * docs/manual/basics-elements.xml:
7785 * docs/pwg/other-source.xml:
7786 * docs/random/moving-plugins:
7788 * tools/gst-launch.1.in:
7789 remove mentions of sinesrc
7791 2005-11-23 Michael Smith <msmith@fluendo.com>
7793 * docs/gst/gstreamer-sections.txt:
7794 Update for new API and API changes.
7796 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7798 Documentation typo fix.
7799 * gst/net/gstnettimepacket.c:
7800 Documentation fixes for arguments.
7802 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
7804 * gst/gststructure.c: (gst_structure_get_fraction),
7805 (gst_structure_parse_value),
7806 (gst_structure_fixate_field_nearest_fraction):
7807 * gst/gststructure.h:
7808 * gst/gstutils.c: (gst_util_uint64_scale_int):
7810 * scripts/update-funcnames:
7812 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7813 Make gst_structure_fixate_field_nearest_fraction take a numerator
7814 and denominator argument instead of a GValue
7815 add gst_structure_get_fraction helper function.
7817 2005-11-23 Wim Taymans <wim@fluendo.com>
7819 * docs/design/part-TODO.txt:
7822 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7823 * gst/net/gstnetclientclock.h:
7824 Use parent fields for timeout and window_size.
7826 2005-11-23 Andy Wingo <wingo@pobox.com>
7828 * check/net/gstnetclientclock.c (test_functioning): Adjust to
7829 rate_num/rate_denom change.
7831 * gst/net/gstnetclientclock.c
7832 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7833 OBJECT_LOCK. Don't call add_observation with the lock.
7835 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7837 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7839 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7840 deal with rate as a fraction whose numerator and denominator are
7841 GstClockTime values.
7842 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7843 master; the other fields are protected by the SLAVE_LOCK.
7844 (do_linear_regression): Note that this must be called with the
7846 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7847 OBJECT_LOCK. Call set_calibration instead of touching the
7849 (gst_clock_set_property, gst_clock_get_property): Protect
7850 master/slave parameters with the SLAVE_LOCK.
7852 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7853 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7854 note that all of the instance variables that add_observation and
7855 the set_master functions use are protected by that lock and not
7857 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7859 * gst/gstclock.c (gst_clock_add_observation): No longer requires
7860 the caller to take the object lock.
7862 2005-11-23 Wim Taymans <wim@fluendo.com>
7864 * gst/gsterror.c: (_gst_core_errors_init):
7866 Add error for clock stuff.
7868 * gst/gstpipeline.c: (gst_pipeline_change_state),
7869 (gst_pipeline_set_clock):
7870 Post clock error when clock cannot be used in a pipeline.
7872 2005-11-23 Stefan Kost <ensonic@users.sf.net>
7874 * docs/gst/gstreamer-sections.txt:
7875 make two symbols from gstinfo private for the docs
7876 * gst/base/gstcollectpads.h:
7878 fix doc typos, update docs
7880 2005-11-22 Wim Taymans <wim@fluendo.com>
7882 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7883 (gst_base_sink_wait), (gst_base_sink_do_sync),
7884 (gst_base_sink_handle_event):
7885 * gst/base/gstbasesink.h:
7886 No need to store the clock, the parent element class already
7889 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7890 Updates for clock_set returning a gboolean
7892 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7893 (gst_clock_id_wait_async), (gst_clock_class_init),
7894 (gst_clock_init), (gst_clock_finalize),
7895 (gst_clock_get_internal_time), (gst_clock_get_time),
7896 (gst_clock_slave_callback), (gst_clock_set_master),
7897 (gst_clock_get_master), (do_linear_regression),
7898 (gst_clock_add_observation), (gst_clock_set_property),
7899 (gst_clock_get_property):
7901 Implement master/slave. When setting a clock as a slave, a
7902 periodic timeout is scheduled to sample master and slave times.
7903 Then the slave clock is recalibrated to match offset and rate
7904 of the master clock.
7905 Update logging a bit.
7906 Add flag so that a clock can state that is cannot be slaved to
7909 * gst/gstelement.c: (gst_element_set_clock):
7911 The set clock returns a gboolean for when an element cannot
7912 deal with the selected clock in the pipeline.
7914 * gst/gstpipeline.c: (gst_pipeline_change_state),
7915 (gst_pipeline_set_clock):
7916 * gst/gstpipeline.h:
7917 Handle the case where the selected clock cannot be set on
7920 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
7921 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7922 (gst_net_client_clock_set_property),
7923 (gst_net_client_clock_get_property),
7924 (gst_net_client_clock_observe_times):
7925 * gst/net/gstnetclientclock.h:
7926 Use regression code in GstClock parent, remove duplicated
7929 2005-11-22 Michael Smith <msmith@fluendo.com>
7931 * gst/gstutils.c: (gst_util_clock_time_scale):
7933 * docs/gst/gstreamer-sections.txt:
7934 Rename method to have extra underscore.
7936 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
7938 * gst/elements/Makefile.am:
7939 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
7940 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7941 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7942 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
7943 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
7944 * gst/elements/gstfakesrc.h:
7945 * gst/gstqueue.c: (queue_leaky_get_type):
7946 correctly fix GEnumValues so that nick is the short lowercase
7948 * tools/gst-inspect.c: (print_element_properties_info):
7949 also show the nick, since it's useful to use from parse_launch
7953 2005-11-22 Michael Smith <msmith@fluendo.com>
7955 * gst/gstutils.c: (gst_util_clocktime_scale):
7957 * docs/gst/gstreamer-sections.txt:
7958 Add util method for scaling a clocktime by a fraction. Useful
7959 implementation is left as an exercise for the reader.
7961 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7963 * gst/gstvalue.c: (gst_value_collect_fraction_range):
7964 If needed, allocate storage in the destination value during
7967 2005-11-22 Edward Hervey <edward@fluendo.com>
7969 * docs/gst/gstreamer-sections.txt:
7974 * gst/gstutils.c: (gst_util_set_object_arg):
7975 * tools/gst-compprep.c: (main):
7976 * tools/gst-inspect.c: (print_element_properties_info):
7977 Removed GstURI, closes bug #321061
7979 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7981 * check/gst/gststructure.c: (GST_START_TEST):
7982 * gst/gststructure.c: (gst_structure_parse_value):
7983 Oops, broke automatic string type parsing.
7984 Add a test to catch it in future.
7986 2005-11-22 Andy Wingo <wingo@pobox.com>
7988 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
7989 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7990 Actually rename the function implementations. Grr.
7992 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7994 * check/gst/capslist.h:
7996 * check/gst/gststructure.c: (GST_START_TEST),
7997 (gst_structure_suite):
7998 Test automatic value type detection in gst_structure_from_string.
7999 * gst/gststructure.c: (gst_structure_parse_value):
8000 Add fraction as a type we try and guess automatically in
8001 caps/structure strings.
8003 2005-11-22 Andy Wingo <wingo@pobox.com>
8005 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8007 * gst/gsttagsetter.h:
8008 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8009 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8010 (gst_tag_setter_add_tag_valist)
8011 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8012 _add_values, _add_valist, and _add_valist_values. Since this is an
8013 interface the function suffixes should be more explicit so
8014 language binding don't end up with element.add_valist ->
8015 gst_tag_setter_add_valist, for example. Fixes #322069.
8017 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8019 * check/gst/gstcaps.c: (GST_START_TEST):
8020 Extend caps string tests to check that a caps to string
8021 conversion is reversible and produces the same caps.
8023 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8024 Output "fraction" as the generic type fraction range, so caps
8025 serialisation and deserialisation works.
8026 * check/gst/capslist.h:
8027 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8028 Support 'MIN' and 'MAX' for deserialising fractions.
8030 2005-11-22 Andy Wingo <wingo@pobox.com>
8032 * gst/gstevent.h (gst_event_new_new_segment)
8033 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8034 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8035 Renamed from *_newsegment, *_buffersize, *_notarget.
8037 * scripts/update-funcnames: New script, performs the changes
8040 2005-11-22 Wim Taymans <wim@fluendo.com>
8042 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8043 Make sure the GstFlowReturn is returned.
8045 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8046 (gst_bus_add_signal_watch):
8048 add gst_bus_add_signal_watch_full.
8050 * gst/gstplugin.c: (gst_plugin_load_file):
8051 Small style cleanup.
8053 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8055 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8056 Block the fakesrc srcpad when we send an event, to avoid
8057 contention on the stream_lock causing random test failures.
8059 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8061 * check/gst/gstvalue.c: (GST_START_TEST):
8062 * gst/gstvalue.c: (gst_value_fraction_subtract):
8065 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8068 include "gstchildproxy.h"
8069 * gst/gstchildproxy.h:
8070 * libs/gst/controller/gstcontroller.h:
8071 use G_GNUC_NULL_TERMINATED
8073 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8075 * check/gst/capslist.h:
8076 * check/gst/gstcaps.c: (GST_START_TEST):
8077 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8078 * gst/gststructure.c: (gst_structure_parse_range),
8079 (gst_structure_fixate_field_nearest_fraction):
8080 * gst/gststructure.h:
8081 * gst/gstvalue.c: (gst_value_init_fraction_range),
8082 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8083 (gst_value_collect_fraction_range),
8084 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8085 (gst_value_set_fraction_range_full),
8086 (gst_value_get_fraction_range_min),
8087 (gst_value_get_fraction_range_max),
8088 (gst_value_serialize_fraction_range),
8089 (gst_value_transform_fraction_range_string),
8090 (gst_value_compare_fraction_range),
8091 (gst_value_deserialize_fraction_range),
8092 (gst_value_intersect_fraction_fraction_range),
8093 (gst_value_intersect_fraction_range_fraction_range),
8094 (gst_value_subtract_fraction_fraction_range),
8095 (gst_value_subtract_fraction_range_fraction),
8096 (gst_value_subtract_fraction_range_fraction_range),
8097 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8098 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8099 (gst_value_transform_string_fraction), (_gst_value_initialize):
8101 Implement fraction ranges and extend GstFraction to support
8102 arithmetic subtraction, as well as deserialization from integer
8103 strings such as "100"
8104 Add a testsuite as for int and double range set operations
8106 2005-11-21 Andy Wingo <wingo@pobox.com>
8110 * gst/gststructure.h: Add glib-compat.h.
8112 2005-11-21 Wim Taymans <wim@fluendo.com>
8114 * gst/gstbin.c: (gst_bin_change_state_func):
8117 2005-11-21 Wim Taymans <wim@fluendo.com>
8120 And add a nice define too.
8122 2005-11-21 Wim Taymans <wim@fluendo.com>
8124 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8125 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8126 (gst_segment_set_duration), (gst_segment_set_last_stop),
8127 (gst_segment_set_seek), (gst_segment_set_newsegment),
8128 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8131 Make binding friendly.
8133 2005-11-21 Andy Wingo <wingo@pobox.com>
8135 * gst/gsttagsetter.h:
8137 * gst/gststructure.h:
8139 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8142 * gst/gsterror.c (_gst_core_errors_init):
8143 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8146 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8147 (noinst_HEADERS): noinst the -private.
8149 2005-11-21 Michael Smith <msmith@fluendo.com>
8152 * gst/gstregistry.h:
8153 Remove unimplemented declarations for which we can see no sensible
8156 2005-11-21 Andy Wingo <wingo@pobox.com>
8158 * gst/gst.h: Include glib-compat.h.
8160 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8162 * gst/glib-compat.c: Include the public and the private header.
8164 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8168 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8170 * check/gst/gstevent.c (create_custom_events): Check that
8171 FLUSH_STOP is serialized.
8173 * check/elements/identity.c (event_func):
8174 * check/elements/fakesrc.c (event_func): No stream lock, the core
8177 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8178 stream lock taking, yay.
8180 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8181 ensure that core takes the stream lock.
8183 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8186 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8187 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8188 it already. For the flush start we do take it though so we get the
8189 right preroll state change messages.
8191 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8192 the stream lock here, the core does it for us.
8194 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8195 GST_STREAM_GET_LOCK.
8196 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8197 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8198 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8199 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8200 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8201 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8203 * gst/gstpad.c: Update for stream lock name change.
8205 * gst/base/gstbasesink.c: Update for preroll lock name change.
8207 2005-11-21 Wim Taymans <wim@fluendo.com>
8209 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8210 (gst_clock_get_master):
8212 * gst/gstsystemclock.c: (gst_system_clock_init):
8213 Convert Clock flags to object flags.
8214 Added methods to manage master/slave clocks.
8216 2005-11-21 Wim Taymans <wim@fluendo.com>
8218 * check/gst/gstsegment.c: (GST_START_TEST):
8219 * docs/design/part-TODO.txt:
8220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8221 (gst_base_sink_event), (gst_base_sink_do_sync),
8222 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8223 (gst_base_sink_query), (gst_base_sink_change_state):
8224 * gst/base/gstbasesink.h:
8225 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8226 (gst_base_src_default_newsegment),
8227 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8228 (gst_base_src_get_range), (gst_base_src_loop),
8229 (gst_base_src_change_state):
8230 * gst/base/gstbasesrc.h:
8231 * gst/base/gstbasetransform.c:
8232 (gst_base_transform_prepare_output_buf),
8233 (gst_base_transform_event), (gst_base_transform_change_state):
8234 * gst/base/gstbasetransform.h:
8235 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8236 (gst_collect_pads_event):
8237 * gst/base/gstcollectpads.h:
8238 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8239 (gst_fake_src_create):
8240 * gst/elements/gstfakesrc.h:
8241 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8242 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8243 (gst_segment_set_last_stop), (gst_segment_set_seek),
8244 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8245 (gst_segment_to_running_time), (gst_segment_clip):
8247 More segment updates, replace code in plugins with segment
8250 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8252 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8253 Don't ignore sscanf results
8255 2005-11-21 Andy Wingo <wingo@pobox.com>
8257 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8260 * *.c: Ran scripts/update-macros. Oh yes.
8262 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8263 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8266 * scripts/update-macros: New script. Run it on your files to
8267 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8270 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8272 * docs/gst/Makefile.am:
8273 * docs/gst/gstreamer-docs.sgml:
8274 * docs/gst/gstreamer-sections.txt:
8275 * docs/gst/gstreamer.types:
8277 more docs fixes, add new api to the docs
8279 2005-11-21 Andy Wingo <wingo@pobox.com>
8281 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8282 state_broadcast call.
8284 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8286 2005-11-21 Julien MOUTTE <julien@moutte.net>
8288 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8289 function calls for arrays.
8291 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8293 * docs/random/ensonic/media-device-daemon.txt:
8294 wild idea, can this be done?
8295 * docs/gst/gstreamer-sections.txt:
8300 * gst/gstpluginfeature.c:
8304 doc fixes and additions
8306 2005-11-21 Andy Wingo <wingo@pobox.com>
8308 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8309 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8310 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8311 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8312 private to the basesrc implementation.
8314 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8315 behalf of event function if necessary. It should no longer be
8316 necessary to take the stream lock in pad's event functions. Fixes
8319 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8320 * docs/gst/gstreamer-sections.txt:
8321 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8322 (gst_structure_fixate_field_nearest_double),
8323 (gst_structure_fixate_field_boolean):
8324 * gst/gststructure.h:
8325 * win32/common/libgstreamer.def:
8326 * win32/gstreamer.def:
8328 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8331 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8333 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8334 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8335 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8336 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8337 (gst_fdsrc_uri_handler_init):
8338 * gst/elements/gstfdsrc.h:
8339 Port fd:// URI handler from 0.8 to fdsrc
8341 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8343 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8344 (gst_value_serialize_fourcc):
8346 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8347 consistent with our other format defines (#320324).
8349 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8351 * gst/gstvalue.c: (gst_value_is_fixed):
8352 Revert previous commit. Value lists are by definition
8353 not fixed, as they are a list of possible values.
8355 2005-11-21 Andy Wingo <wingo@pobox.com>
8357 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8358 during the stable series if we need it. Fixes #319178.
8360 * gst/gstevent.c (gst_event_new_filler): Removed.
8362 * check/gst/gstevent.c: Update comment about filler events.
8364 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8366 * gst/gstvalue.c: (gst_value_is_fixed):
8367 Should handle both value arrays and value lists.
8369 2005-11-21 Andy Wingo <wingo@pobox.com>
8371 patch by: Alessandro Dessina <alessandro nnva org>
8373 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8374 functions to access arrays. Fixes #321962.
8376 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8378 * docs/gst/gstreamer.types:
8379 gst_collectpads_get_type => gst_collect_pads_get_type.
8381 * gst/base/gstbasetransform.c:
8382 Remove unused SIGNAL_HANDOFF enum.
8384 2005-11-21 Andy Wingo <wingo@pobox.com>
8386 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8387 the event type (upstream, downstream, serialized). Renamed
8388 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8389 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8390 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8392 * gst/gstevent.c: Update for new CUSTOM event names.
8394 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8397 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8400 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8402 * docs/gst/gstreamer-sections.txt:
8403 * win32/common/libgstbase.def:
8404 * win32/libgstbase.def:
8405 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8406 (gst_collect_pads_class_init), (gst_collect_pads_init),
8407 (gst_collect_pads_finalize), (gst_collect_pads_new),
8408 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8409 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8410 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8411 (gst_collect_pads_start), (gst_collect_pads_stop),
8412 (gst_collect_pads_peek), (gst_collect_pads_pop),
8413 (gst_collect_pads_available), (gst_collect_pads_read),
8414 (gst_collect_pads_flush), (gst_collect_pads_event),
8415 (gst_collect_pads_chain):
8416 * gst/base/gstcollectpads.h:
8417 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8418 unimplemented functions as unimplemented. Add padding to
8419 GstCollectData. (#320766, #320423)
8421 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8424 Improve docs for DURATION message (usage of duration parameter)
8427 2005-11-20 Wim Taymans <wim@fluendo.com>
8429 * check/Makefile.am:
8430 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8434 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8435 (gst_segment_set_seek), (gst_segment_set_newsegment),
8436 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8439 Added segment helper structure and methods. Not fully implemented
8441 Added segment check.
8443 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8445 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8446 Add a deserialisation test for fractions
8447 * examples/metadata/read-metadata.c: (message_loop),
8448 (make_pipeline), (main):
8449 Fix up metadata reading sample.
8450 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8452 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8453 Don't try and fixate empty caps
8454 * gst/gst_private.h:
8455 Wrap in G_BEGIN_DECLS/G_END_DECLS
8456 * gst/gstvalue.c: (gst_value_collect_fraction),
8457 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8458 (gst_value_transform_string_fraction),
8459 (gst_value_compare_fraction):
8460 Add some extra guards to ensure that we don't end up
8461 with an invalid denominator of 0 in a gstfraction and
8462 that fractions always get reduced.
8464 2005-11-20 Wim Taymans <wim@fluendo.com>
8466 * docs/gst/gstreamer-sections.txt:
8477 2005-11-20 Wim Taymans <wim@fluendo.com>
8479 * docs/design/part-TODO.txt:
8481 Make a proper enum of the flag.
8483 2005-11-19 Wim Taymans <wim@fluendo.com>
8485 * docs/design/part-TODO.txt:
8486 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8487 (gst_format_to_quark), (gst_format_register):
8489 * gst/gstquery.c: (_gst_query_initialize),
8490 (gst_query_type_get_name), (gst_query_type_to_quark),
8491 (gst_query_type_register):
8493 Add type to quark and type to string conversions.
8495 2005-11-19 Andy Wingo <wingo@pobox.com>
8497 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8500 2005-11-19 Wim Taymans <wim@fluendo.com>
8502 * docs/design/part-TODO.txt:
8503 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8504 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8505 (gst_bin_handle_message_func):
8507 Make message handling overridable.
8509 2005-11-19 Andy Wingo <wingo@pobox.com>
8511 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8514 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8516 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8517 is a GstClockTime. Fixes #321710.
8519 * gst/gstclock.h (GstClock): Remove offset property. Add
8520 internal_calibration and external_calibration. Fix padding. Pad
8521 also by GstClockTime so we don't run into problems.
8523 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8524 (gst_clock_get_rate_offset): Remove.
8525 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8528 * gst/gstutils.c (g_static_rec_cond_wait)
8529 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8531 * gst/gstbin.c: Remove terrible continue_state prototype.
8533 * gst/gstelement.h (gst_element_continue_state): Make public.
8536 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8537 by continue_state. Fixes #319389.
8539 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8540 Really fixes #168438. However I don't see anywhere where the
8541 filter function is called... stupid GStreamer...
8543 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8544 don't have a dispose function, so it won't get called when the
8545 object is unreffed, but oh well!
8547 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8548 allows a destroy function to be set so user_data can be freed.
8550 (gst_index_set_filter): Call gst_index_set_filter_full.
8552 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8554 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8555 string should produce an error, given the lack of a way to
8556 represent NULL strings. Fixes #165650.
8559 * gst/gstvalue.c (gst_value_array_append_value)
8560 (gst_value_array_prepend_value, gst_value_array_get_size)
8561 (gst_value_array_get_value): New API, copied from
8562 gst_value_list_*, only operates on arrays.
8563 (gst_value_list_append_value, gst_value_list_prepend_value)
8564 (gst_value_list_concat, gst_value_list_get_size)
8565 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8567 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8568 init_list, because it works on both.
8569 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8570 (gst_value_copy_list_or_array): Renamed from copy_list.
8571 (gst_value_free_list_or_array): Renamed from free_list.
8572 (gst_value_collect_list_or_array): Renamed from collect_list.
8573 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8574 (gst_value_list_or_array_peek_pointer): Renamed from
8576 (_gst_value_array_value_table, _gst_value_list_value_table):
8577 Update value table functions.
8578 (gst_value_compare_list_or_array): Renamed from compare_list.
8580 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8584 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8585 GstTagList*. Fixes #143472.
8587 * gst/gststructure.h: Clarify what the foreach/map functions can
8588 or can't do to their arguments.
8590 2005-11-18 Wim Taymans <wim@fluendo.com>
8592 * gst/gstclock.c: (gst_clock_set_calibration),
8593 (gst_clock_get_calibration):
8595 Calibration can be set with internal time equal to current
8598 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
8604 2005-11-18 Andy Wingo <wingo@pobox.com>
8607 * pkgconfig/gstreamer-net.pc.in:
8608 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8609 * pkgconfig/Makefile.am: Add net pkgconfig files.
8611 2005-11-18 Stefan Kost <ensonic@users.sf.net>
8614 * gst/gstghostpad.c:
8620 2005-11-18 Andy Wingo <wingo@pobox.com>
8622 * gst/net/gstnetclientclock.c: Turn off debugging.
8624 * check/net/gstnetclientclock.c (test_functioning): Assert that the
8625 times connverge somewhat. Can't make a real test.
8627 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8628 integer arithmetic. Return the minimum of the domain, which can be
8629 set as "internal" for gst_clock_set_calibration.
8630 (gst_net_client_clock_observe_times): Call _set_calibration.
8631 (gst_net_client_clock_new): Call _set_calibration instead of
8634 * check/net/gstnetclientclock.c (test_functioning): Use the right
8638 * gst/gstclock.c (gst_clock_get_calibration)
8639 (gst_clock_set_calibration): New functions, obsolete the ones I
8640 added yesterday. Doh. Precision issues mean we have to extrapolate
8641 from a point in the more recent past than 1970.
8642 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8644 (gst_clock_adjust_unlocked): Use the right calibration data.
8646 2005-11-18 Edward Hervey <edward@fluendo.com>
8648 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8649 Also reset the ->current_* values in READY->PAUSED
8651 2005-11-18 Andy Wingo <wingo@pobox.com>
8653 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8654 Whoops, check the right fd. Also add some debugging.
8655 (gst_net_client_clock_observe_times): Adjust for int64 offset.
8656 (do_linear_regression): Add a crapload of debugging. Subtract off
8657 the minimum values from the input series to discard unneeded bits.
8658 Use only int arithmetic. There is still double arithmetic when
8659 calculating the intercept that needs fixing. Return boolean to
8660 indicate success; FALSE would mean the domain or range is too
8661 great. Still needs fixes.
8663 2005-11-18 Wim Taymans <wim@fluendo.com>
8665 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8666 For the current position in stream time, we need to subtract
8669 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8670 Release lock before calling the callback function of async
8673 2005-11-18 Andy Wingo <wingo@pobox.com>
8675 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8676 Port goes all the way to MAXUINT16.
8678 * gst/net/gstnettimeprovider.c: Make the port range the same as
8679 for the kernel: 0 assigns, otherwise ports are less than
8682 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8685 * check/net/gstnetclientclock.c (test_functioning): Add the start
8688 2005-11-18 Wim Taymans <wim@fluendo.com>
8690 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8691 (gst_bin_remove_func), (bin_bus_handler):
8693 Removing a clock provider from a bin, triggers a clock lost message
8694 so that a new clock will be selected.
8695 Adding a clock to a bin triggers a clock provider message.
8696 Make sure we reselect a clock when we received a clock lost message.
8697 Keep a reference to the element that provided the clock.
8699 2005-11-18 Andy Wingo <wingo@pobox.com>
8701 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8702 the clock initially so it produces values around the base time.
8703 (gst_net_client_clock_class_init): Typo fix.
8704 (gst_net_client_clock_thread): Add note on when the socket gets
8707 2005-11-17 Wim Taymans <wim@fluendo.com>
8709 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8710 Free remote and local time arrays.
8712 2005-11-17 Wim Taymans <wim@fluendo.com>
8714 * gst/net/gstnetclientclock.c: (do_linear_regression),
8715 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8716 Fix compilation, uninitialized vars and a forgotten continue.
8718 2005-11-17 Andy Wingo <wingo@pobox.com>
8720 * check/Makefile.am (check_PROGRAMS):
8721 * check/net/gstnetclientclock.c: Add a most minimal test for the
8722 net client clock. More to come later.
8725 * gst/net/Makefile.am: Add netclientclock.
8727 * gst/net/gstnetclientclock.h:
8728 * gst/net/gstnetclientclock.c: New files, implement an untested
8729 GstClock that takes its time from a network time provider.
8730 Implements the algorithm in network-clock.scm.
8732 * tests/network-clock.scm (*window-size*): Rename from
8734 * tests/network-clock.scm (network-time):
8735 * tests/network-clock-utils.scm (q-push): Update callers.
8737 2005-11-17 Wim Taymans <wim@fluendo.com>
8739 * gst/gstbin.c: (gst_bin_provide_clock_func),
8740 (gst_bin_sort_iterator_new):
8741 And unref the child too..
8743 2005-11-17 Wim Taymans <wim@fluendo.com>
8745 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8746 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8747 Refactor the sort iterator so it can be used while holding the
8749 Make clock selection select a clock closest to the source.
8751 2005-11-17 Michael Smith <msmith@fluendo.com>
8753 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8754 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8756 Anonymous structs are a gcc (and some other compilers) extension, so
8757 don't use them. Since this is only for ABI-compatibility, and our
8758 API/ABI freeze is over in a few days, this whole thing will only
8759 last a few days, so don't bother trying to think up a meaningful
8760 name for the struct.
8762 2005-11-17 Andy Wingo <wingo@pobox.com>
8764 * gst/gstclock.h (GstClock): Add rate and offset properties,
8765 preserving ABI stability. Add rate/offset accessors. Will file bug
8766 for the freeze break.
8768 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8769 and offset, trying to keep precision and avoiding
8771 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8772 functions. Make gst_clock_set_time_adjust obsolete.
8773 (gst_clock_set_time_adjust): Note that this function is obsolete.
8776 * gst/base/gstbasetransform.h: Make the ABI-stability hack
8777 greppable by using GST_PADDING-1+1.
8779 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
8781 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8783 * gst/gstmessage.c: (gst_message_parse_clock_lost):
8784 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8786 * gst/gstpadtemplate.h:
8787 * gst/gstpluginfeature.h:
8788 Don't use c++ style comments in headers (#321638).
8790 2005-11-16 Andy Wingo <wingo@pobox.com>
8792 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8795 * check/net/gstnettimeprovider.c: Check to see that the time
8796 provider actually provides times. Works, yo!
8798 2005-11-16 Wim Taymans <wim@fluendo.com>
8800 * check/Makefile.am:
8803 * check/elements/fakesrc.c: (GST_START_TEST):
8804 Set element to NULL before disposing it.
8806 2005-11-16 Andy Wingo <wingo@pobox.com>
8808 * gst/net/Makefile.am:
8810 * gst/net/gstnettimeprovider.c:
8811 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8812 provider, include it from gstnet.h, and add it to the build.
8814 * gst/net/gstnettimepacket.h:
8815 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8816 sending and receiving.
8818 2005-11-16 Wim Taymans <wim@fluendo.com>
8820 * check/Makefile.am:
8821 Enable valgrind check.
8823 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8824 (gst_fake_src_alloc_buffer):
8827 2005-11-16 Wim Taymans <wim@fluendo.com>
8829 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8830 Call parent finalize too.
8832 2005-11-16 Wim Taymans <wim@fluendo.com>
8834 * check/Makefile.am:
8835 Enable valgrind check that should work fine now.
8837 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8838 * gst/gstqueue.c: (gst_queue_init):
8839 Fix memleaks in pad allocation.
8841 2005-11-16 Andy Wingo <wingo@pobox.com>
8843 * gst/net/Makefile.am:
8844 * gst/net/gstnet.h: New part of core to hold network elements and
8845 objects. Put in core because it exposes API that applications want
8846 to use. The library is named libgstnet-tempname right now because
8847 of the existing libgstnet in gst-plugins-base. Solution is
8848 probably to rename the one in plugins-base; will file a bug for
8851 * gst/net/gstnettimeprovider.c:
8852 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8853 get_time call over the network.
8856 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8858 * check/Makefile.am:
8859 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8860 get additions shortly.
8862 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8864 * gst/gstpad.c: (gst_pad_new_from_static_template):
8866 add gst_pad_new_from_static_template functions
8867 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8868 (gst_check_setup_sink_pad):
8869 * gst/elements/gsttee.c: (gst_tee_init):
8872 2005-11-16 Wim Taymans <wim@fluendo.com>
8874 * gst/gstpad.c: (gst_pad_pause_task):
8875 Removed warning, it's not really an error either.
8877 2005-11-16 Wim Taymans <wim@fluendo.com>
8879 * gst/base/gstbasetransform.c:
8880 (gst_base_transform_prepare_output_buf),
8881 (gst_base_transform_event):
8882 Check if the caps are NULL, this can happen if the element
8883 is shutting down and the pad caps are set to NULL.
8885 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8887 * gst/elements/gsttee.c: (gst_tee_init):
8888 fix pad template leak in tee
8890 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8892 * gst/glib-compat.c: (g_value_dup_gst_object):
8893 * gst/glib-compat.h:
8894 * gst/gstpad.c: (gst_pad_set_property):
8895 use gst_object_ref when setting the pad template; this will
8896 trigger the pad template leaks on GLib 2.6 and the slaves
8898 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8900 * gst/glib-compat.c: (gst_flags_get_first_value):
8901 * gst/glib-compat.h:
8902 * gst/gstregistryxml.c:
8903 remove functions copied from GLib 2.6
8905 2005-11-16 Michael Smith <msmith@fluendo.com>
8908 Don't link against VALGRIND_LIBS. That was always the wrong thing to
8909 do, but only breaks with newer valgrind versions. We're not a
8910 valgrind tool, we have no link-time dependencies on libcoregrind.
8912 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8914 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8919 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8921 * gst/base/gstbasesrc.c: (gst_base_src_init):
8922 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8923 * gst/gstqueue.c: (gst_queue_init):
8924 * gst/gstregistryxml.c: (load_feature):
8925 Revert all these unrefs, they don't even pass make check !
8927 2005-11-15 Johan Dahlin <johan@gnome.org>
8929 * gst/base/gstbasesrc.c: (gst_base_src_init):
8930 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8931 * gst/gstqueue.c: (gst_queue_init):
8932 Free pad templates, fixes a couple of leaks.
8934 2005-11-15 Daniel Fischer <dan at f3c dot com>
8936 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8938 * gst/gstpad.c: (gst_pad_get_property):
8939 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
8940 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
8943 2005-11-15 Wim Taymans <wim@fluendo.com>
8948 2005-11-15 Andy Wingo <wingo@pobox.com>
8950 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
8952 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
8953 using GST_CLOCK_TIME_NONE to disable base time management.
8954 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
8955 time if it was NONE before.
8956 (gst_pipeline_change_state): Only munge the base time if
8957 stream_time != GST_CLOCK_TIME_NONE.
8959 * check/gst/gstpipeline.c (test_base_time): Punt around the
8960 problem of the probe not being called, because that's not the
8961 issue I'm looking at. Add a check that setting stream_time to NONE
8962 disables base time management.
8964 2005-11-15 Wim Taymans <wim@fluendo.com>
8966 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8967 segment_stop == -1 at startup.
8969 * gst/base/gstbasetransform.c: (gst_base_transform_event),
8970 (gst_base_transform_change_state):
8971 Init segment values at start.
8973 2005-11-15 Wim Taymans <wim@fluendo.com>
8975 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8976 0 segment values are 0 in any format.
8978 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8979 * gst/base/gstbasetransform.h:
8980 Parse newsegment correctly in basetransform
8982 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8983 Sync to clock using updated segment values.
8985 2005-11-15 Andy Wingo <wingo@pobox.com>
8987 * check/gst/gstpipeline.c (test_base_time): Add check that the
8988 base time and stream time are reset correctly.
8990 2005-11-15 Wim Taymans <wim@fluendo.com>
8992 * docs/design/part-TODO.txt:
8993 Some more TODO items.
8995 2005-11-15 Andy Wingo <wingo@pobox.com>
8997 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8998 error if the user selected "no clock" as the clocking method.
9000 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9001 timestamps with live capture.
9003 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9004 is 0 but we are a live source, timestamp the buffers using the
9007 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9009 * docs/gst/gstreamer-sections.txt:
9011 * gst/gstghostpad.c:
9016 2005-11-14 Wim Taymans <wim@fluendo.com>
9019 add suppressions from Wim's Debian machine
9021 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9024 add suppressions from Andy's AMD64 Ubuntu machine
9026 2005-11-14 Andy Wingo <wingo@pobox.com>
9028 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9029 STATE_LOCK not necessary. Fixes #311489.
9031 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9034 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9035 this function is not implemented.
9037 2005-11-14 Julien MOUTTE <julien@moutte.net>
9039 * gst/base/gstbasetransform.c:
9040 (gst_base_transform_prepare_output_buf):
9041 Ref the source pad caps while we need them.
9044 2005-11-11 Wim Taymans <wim@fluendo.com>
9046 * docs/gst/gstreamer-sections.txt:
9047 Added some docs for GstCollectData.
9049 * gst/base/gstadapter.c:
9050 Some small code example fix.
9052 * gst/base/gstcollectpads.c:
9053 * gst/base/gstcollectpads.h:
9056 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9058 * configure.ac: back to HEAD
9060 === release 0.9.5 ===
9062 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9065 releasing 0.9.5, "Bike Lunch Day"
9067 2005-11-11 Wim Taymans <wim@fluendo.com>
9069 * gst/gstbuffer.c: (_gst_buffer_copy):
9072 * gst/gstcaps.c: (gst_caps_is_equal):
9074 Make _is_equal fast in the trivial cases.
9076 * gst/gstminiobject.c:
9077 * gst/gstminiobject.h:
9078 More docs. Spifify .h file.
9083 2005-11-11 Wim Taymans <wim@fluendo.com>
9085 * gst/base/gstbasetransform.c:
9086 (gst_base_transform_prepare_output_buf),
9087 (gst_base_transform_handle_buffer):
9089 If we're processing a buffer and need to allocate an output
9090 buffer, we cannot accept a format change. If we did get a
9091 format change, we have to alloc a buffer ourselves of the
9094 2005-11-11 Wim Taymans <wim@fluendo.com>
9096 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9097 While checking the flag for reentrancy in the gstcaps function
9098 is nice to detect recursive invocations, it also makes it
9099 impossible to call getcaps from multiple threads, which must be
9100 possible. So, checking for recursive calls has to go.
9102 2005-11-11 Michael Smith <msmith@fluendo.com>
9104 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9105 Don't sync on buffers that fall partially outside our current
9106 segment. Prevents an assertion failure/abort playing some files.
9108 2005-11-10 Andy Wingo <wingo@pobox.com>
9110 * check/gst/gstbin.c (test_message_state_changed_children): Style
9113 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9114 gst_bus_poll with the signal watch. Ensures that poll and a signal
9115 watch see the same messages.
9117 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9118 a poll and a watch at the same time get the same messages.
9120 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9122 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9123 * gst/gstcaps.c: (gst_caps_intersect):
9124 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9125 and it's not needed.
9127 2005-11-10 Wim Taymans <wim@fluendo.com>
9129 * docs/design/part-TODO.txt:
9132 2005-11-10 Wim Taymans <wim@fluendo.com>
9134 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9135 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9136 (gst_base_src_do_sync), (gst_base_src_get_range):
9137 Implement clock sync in base class.
9139 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9141 patch by: Tim-Philipp Müller <tim at centricular dot net>
9143 * gst/gststructure.c: (gst_structure_parse_field),
9144 (gst_structure_from_string):
9145 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9146 so that gst_parse_launch() can deal with spaces in filtered link
9147 caps (fixes #164479)
9148 * check/gst/capslist.h:
9149 * check/gst/gststructure.c: (GST_START_TEST):
9150 add unit tests for this change
9152 2005-11-10 Wim Taymans <wim@fluendo.com>
9154 * docs/gst/gstreamer-sections.txt:
9157 Fix docs, move some STATE macros to private.
9159 2005-11-10 Wim Taymans <wim@fluendo.com>
9161 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9162 Added check for bug #317341
9166 Some more spiffifying.
9168 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9169 Call peer linkfunction if we are a source pad. Totally fixes
9173 Update docs, source pads should call the peer linkfunction
9174 so they can atomically perform the pad link.
9176 2005-11-09 Wim Taymans <wim@fluendo.com>
9180 Uber-spiffy-spiffify some more.
9182 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9184 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9185 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9186 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9187 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9188 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9189 * gst/gstpad.c: (gst_pad_init):
9190 Use GST_DEBUG_FUNCPTR() more extensively.
9192 2005-11-09 Wim Taymans <wim@fluendo.com>
9194 * gst/gstobject.c: (gst_object_class_init):
9196 Documentation fixes.
9198 2005-11-09 Edward Hervey <edward@fluendo.com>
9200 * gst/gsttypefindfactory.c:
9203 2005-11-09 Edward Hervey <edward@fluendo.com>
9205 * gst/base/gsttypefindhelper.c:
9206 * gst/gsttypefind.c:
9207 * gst/gsttypefind.h:
9210 2005-11-09 Wim Taymans <wim@fluendo.com>
9212 * gst/gstiterator.c:
9219 2005-11-09 Wim Taymans <wim@fluendo.com>
9225 2005-11-09 Wim Taymans <wim@fluendo.com>
9227 * docs/gst/gstreamer-sections.txt:
9228 Moved the message async delivery private lock and cond
9229 to the private section.
9235 2005-11-09 Edward Hervey <edward@fluendo.com>
9237 * docs/gst/gstreamer-sections.txt:
9240 Document GstURIHandler
9242 2005-11-09 Wim Taymans <wim@fluendo.com>
9244 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9245 (gst_iterator_find_custom):
9246 * gst/gstiterator.h:
9249 2005-11-09 Wim Taymans <wim@fluendo.com>
9252 Document another field.
9254 * gst/gststructure.c:
9255 * gst/gststructure.h:
9258 2005-11-09 Wim Taymans <wim@fluendo.com>
9263 2005-11-09 Wim Taymans <wim@fluendo.com>
9265 * docs/gst/gstreamer-sections.txt:
9266 Added some new macros.
9273 2005-11-09 Wim Taymans <wim@fluendo.com>
9275 * docs/design/part-TODO.txt:
9276 Some more items for the TODO
9282 2005-11-09 Andy Wingo <wingo@pobox.com>
9284 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9285 to work on something else now tho...
9287 * gst/base/gstadapter.c: More adapter docs.
9289 * gst/elements/gstfilesink.c (gst_file_sink_start)
9290 (gst_file_sink_stop): New functions, replace the state change
9292 (gst_file_sink_class_init): Hook up the start and stop functions.
9293 (gst_file_sink_base_init): Don't set the state change handler any
9294 more. It was a bit ugly too, being set from here...
9295 (gst_file_sink_get_property, gst_file_sink_set_property):
9297 (gst_file_sink_set_location): More robust check that doesn't call
9300 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9302 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9303 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9305 2005-11-08 Wim Taymans <wim@fluendo.com>
9307 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9308 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9309 (gst_base_sink_chain), (gst_base_sink_change_state):
9310 * gst/base/gstbasesink.h:
9311 * gst/base/gstbasesrc.h:
9314 Avoid excessive typechecking in macros.
9316 * gst/gstminiobject.c: (gst_mini_object_get_type),
9317 (gst_mini_object_init), (gst_mini_object_new),
9318 (gst_mini_object_free):
9319 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9320 (gst_object_finalize):
9321 Remove cruft code, optimize alloc_trace.
9323 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9325 * docs/faq/gst-uninstalled:
9326 fix up PS1 for systems that try to reset it
9328 2005-11-07 Wim Taymans <wim@fluendo.com>
9330 * gst/base/gstbasesrc.c: (gst_base_src_init),
9331 (gst_base_src_get_range):
9332 Set the segment_end to -1 initially. Fixed typefind.
9334 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9336 * gst/base/gstadapter.c:
9337 Debug category should be 'adapter', not 'GstAdapter'.
9339 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9340 (gst_collectpads_class_init), (gst_collectpads_init),
9341 (gst_collectpads_peek), (gst_collectpads_pop),
9342 (gst_collectpads_event), (gst_collectpads_chain):
9343 Add debug category and some debugging output. Use boilerplate
9344 macros. Remove some extraneous words from docs.
9346 2005-11-05 Andy Wingo <wingo@pobox.com>
9348 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9351 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9353 * docs/gst/gstreamer-sections.txt:
9356 * gst/gstminiobject.h:
9361 2005-11-04 Wim Taymans <wim@fluendo.com>
9363 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9364 Small update to stop at the configured segment_end
9367 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9369 * gst/gstregistry.c:
9370 * gst/gstregistry.h:
9373 2005-11-04 Edward Hervey <edward@fluendo.com>
9375 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9376 Check if we are doing a segment seek and have arrived at the
9377 end of that segment.
9379 2005-11-04 Wim Taymans <wim@fluendo.com>
9381 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9382 Don't leak a mutex unlock in case of an error.
9387 2005-11-04 Wim Taymans <wim@fluendo.com>
9389 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9391 Get the context to wake up only once.
9393 2005-11-03 Wim Taymans <wim@fluendo.com>
9395 * check/states/sinks.c: (GST_START_TEST):
9396 Uncomment fixed check.
9398 * docs/design/part-TODO.txt:
9401 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9402 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9403 (gst_base_sink_get_position):
9404 If we are going to PLAYING, post the right pending state
9405 when we post the intermediate paused message.
9407 * gst/gstelement.c: (gst_element_continue_state),
9408 (gst_element_set_state_func), (gst_element_change_state):
9409 Don't post state changes that were between the same state
9412 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9414 * docs/gst/gstreamer-sections.txt:
9417 * gst/gstminiobject.h:
9420 more docs and doc style fixes
9422 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9424 * docs/gst/gstreamer-sections.txt:
9426 * gst/gstminiobject.c:
9429 2005-11-03 Andy Wingo <wingo@pobox.com>
9431 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9432 state-changed messages actually have the right order and the right
9435 2005-11-03 Wim Taymans <wim@fluendo.com>
9437 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9438 Added some more checks. Specifically the case where NO_PREROLL
9439 elements are in the pipeline.
9441 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9442 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9443 (gst_base_sink_get_position):
9444 Post READY->PAUSED state change messages too.
9445 Fix bug where VOID was posted as pending state...
9447 * gst/gstbin.c: (gst_bin_recalc_state):
9448 use _element_continue_state() to continue the state change.
9450 * gst/gstelement.c: (gst_element_continue_state),
9451 (gst_element_commit_state), (gst_element_set_state_func),
9452 (gst_element_change_state), (gst_element_change_state_func):
9453 Lots of state change cleanups, assign the STATE_RETURN in
9454 a new continue_state() function that also propagates the
9455 last return value from a state change to the app.
9456 Update some debug statements with proper category.
9458 2005-11-03 Wim Taymans <wim@fluendo.com>
9460 * docs/design/part-events.txt:
9461 * docs/design/part-gstpipeline.txt:
9462 * docs/design/part-messages.txt:
9463 * docs/design/part-overview.txt:
9464 * docs/design/part-seeking.txt:
9465 * docs/design/part-states.txt:
9466 * docs/design/part-trickmodes.txt:
9467 * docs/manual/advanced-position.xml:
9471 People think !! is ugly, this looks better.
9473 * gst/gstpad.c: (gst_pad_set_blocked_async):
9474 Remove !! since it's fixed elsewhere now.
9476 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9478 * gst/gstminiobject.h:
9480 Add !! to _FLAG_IS_SET macros to make the result boolean.
9482 2005-11-03 Edward Hervey <edward@fluendo.com>
9484 * gst/gstpad.c: (gst_pad_set_blocked_async):
9485 comparing a flag and a gboolean rarely returns coherent results...
9486 Added two characters (!!) to make that work correctly.
9488 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9490 * gst/gstbus.c: (gst_bus_class_init):
9493 * gst/gstqueue.c: (gst_queue_loop):
9494 Don't assume a miniobject that isn't a buffer is an
9495 event (it could be that there is a refcounting
9496 problem somewhere and the pointer is stale and
9497 refers to an already destroyed miniobject).
9499 2005-11-03 Julien MOUTTE <julien@moutte.net>
9501 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9503 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9505 * docs/manual/advanced-position.xml:
9506 Update seek example and explanations to current 0.9 API.
9508 * gst/elements/gsttypefindelement.c:
9509 (gst_type_find_element_activate):
9510 Remove FIXME comment now that the found caps
9513 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9515 * gst/gstregistryxml.c: (load_feature):
9516 Add another GST_STR_NULL instance
9518 2005-11-02 Edward Hervey <edward@fluendo.com>
9520 * gst/gstpad.c: (handle_pad_block):
9521 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9523 2005-11-02 Wim Taymans <wim@fluendo.com>
9528 * gst/gstelement.c: (gst_element_commit_state):
9529 Remove unused value.
9531 * gst/gstiterator.c:
9532 Mention that the returned element is reffed in the docs.
9534 2005-11-02 Wim Taymans <wim@fluendo.com>
9536 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9537 (gst_pad_push), (gst_pad_push_event):
9538 Unlock blocked pads when they are flushed.
9540 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9543 * docs/gst/gstreamer-sections.txt:
9546 * gst/gstregistry.c: (gst_registry_scan_path_level):
9547 fix for a nasty little missed situation where an installed plug-in
9548 which was in the cache did not get overridden by an uninstalled one
9549 which was earlier in the plugin path because the newly created plugin
9550 for the uninstalled one (not in the registry) didn't get its
9551 ->registered set to TRUE
9553 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9555 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9556 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9557 (gst_collectpads_is_active), (gst_collectpads_collect),
9558 (gst_collectpads_collect_range), (gst_collectpads_start),
9559 (gst_collectpads_stop), (gst_collectpads_peek),
9560 (gst_collectpads_pop), (gst_collectpads_available),
9561 (gst_collectpads_read), (gst_collectpads_flush):
9562 Guard public API with assertions.
9565 Fix docs for gst_pad_set_link_function().
9567 2005-11-02 Johan Dahlin <johan@gnome.org>
9569 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9570 Unref found_caps after we used it.
9572 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9574 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9575 Don't try to ref NULL.
9577 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9579 * win32/common/config.h.in:
9580 provide a GST_FUNCTION that just gives a string for now
9582 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9584 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9585 (gst_object_flags_get_type), (register_gst_bin_flags),
9586 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9587 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9588 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9589 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9590 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9591 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9592 (gst_clock_flags_get_type), (register_gst_state),
9593 (gst_state_get_type), (register_gst_state_change_return),
9594 (gst_state_change_return_get_type), (register_gst_state_change),
9595 (gst_state_change_get_type), (register_gst_element_flags),
9596 (gst_element_flags_get_type), (register_gst_core_error),
9597 (gst_core_error_get_type), (register_gst_library_error),
9598 (gst_library_error_get_type), (register_gst_resource_error),
9599 (gst_resource_error_get_type), (register_gst_stream_error),
9600 (gst_stream_error_get_type), (register_gst_event_type),
9601 (gst_event_type_get_type), (register_gst_seek_type),
9602 (gst_seek_type_get_type), (register_gst_seek_flags),
9603 (gst_seek_flags_get_type), (register_gst_format),
9604 (gst_format_get_type), (register_gst_index_certainty),
9605 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9606 (gst_index_entry_type_get_type),
9607 (register_gst_index_lookup_method),
9608 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9609 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9610 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9611 (gst_index_flags_get_type), (register_gst_debug_level),
9612 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9613 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9614 (gst_iterator_result_get_type), (register_gst_iterator_item),
9615 (gst_iterator_item_get_type), (register_gst_message_type),
9616 (gst_message_type_get_type), (register_gst_mini_object_flags),
9617 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9618 (gst_pad_link_return_get_type), (register_gst_flow_return),
9619 (gst_flow_return_get_type), (register_gst_activate_mode),
9620 (gst_activate_mode_get_type), (register_gst_pad_direction),
9621 (gst_pad_direction_get_type), (register_gst_pad_flags),
9622 (gst_pad_flags_get_type), (register_gst_pad_presence),
9623 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9624 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9625 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9626 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9627 (gst_plugin_flags_get_type), (register_gst_rank),
9628 (gst_rank_get_type), (register_gst_query_type),
9629 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9630 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9631 (gst_tag_flag_get_type), (register_gst_task_state),
9632 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9633 (gst_alloc_trace_flags_get_type),
9634 (register_gst_type_find_probability),
9635 (gst_type_find_probability_get_type), (register_gst_uri_type),
9636 (gst_uri_type_get_type), (register_gst_parse_error),
9637 (gst_parse_error_get_type):
9638 * win32/common/gstversion.h:
9641 2005-11-01 Luca Ognibene <luogni@tin.it>
9644 fix docs. popt is dead, long live GOption.
9646 2005-10-31 Wim Taymans <wim@fluendo.com>
9651 2005-10-31 Andy Wingo <wingo@pobox.com>
9655 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9657 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9658 need to serialize property notifications on GLib 2.8. GLib 2.6 has
9659 the possibility of deadlocks here if code calling notify() or
9660 set() has a lock that can be taken in another notify handler (ABBA
9661 with class lock and e.g. python GIL state lock).
9663 2005-10-28 Julien MOUTTE <julien@moutte.net>
9665 * gst/gstbus.c: Doc updates.
9667 2005-10-28 Wim Taymans <wim@fluendo.com>
9669 * docs/design/part-TODO.txt:
9670 * gst/gstiterator.c:
9671 * gst/gstsystemclock.c:
9672 * gst/gstsystemclock.h:
9675 2005-10-28 Edward Hervey <edward@fluendo.com>
9677 * docs/gst/gstreamer-docs.sgml:
9678 * docs/gst/gstreamer-sections.txt:
9679 the GstURIType documentation page is private, it only defines GstURIType
9680 which should be defined in the GstURIHandler page
9682 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
9684 * gst/gstbin.c: (gst_bin_class_init):
9687 Documentation updates.
9689 2005-10-28 Wim Taymans <wim@fluendo.com>
9691 * docs/gst/gstreamer-sections.txt:
9694 Documented the clocks.
9696 2005-10-28 Stefan Kost <ensonic@users.sf.net>
9698 * docs/gst/gstreamer-sections.txt:
9699 move some macros to private sections
9700 * gst/gstminiobject.c:
9701 * gst/gstminiobject.h:
9702 add descriptions provided by ds and some more
9704 mark macro as to be removed
9706 2005-10-28 Wim Taymans <wim@fluendo.com>
9708 * docs/design/part-TODO.txt:
9709 Add an item to TODO.
9711 * gst/gstiterator.c: (gst_iterator_fold),
9712 (gst_iterator_find_custom):
9713 * gst/gstiterator.h:
9716 2005-10-28 Wim Taymans <wim@fluendo.com>
9718 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9719 (gst_base_transform_init):
9722 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9723 An EOS event marks the queue as completely filled.
9725 2005-10-27 Wim Taymans <wim@fluendo.com>
9727 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9728 (gst_base_sink_do_sync), (gst_base_sink_get_position):
9729 Some more debugging.
9731 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9732 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9733 (gst_base_transform_event), (gst_base_transform_getrange),
9734 (gst_base_transform_chain):
9735 * gst/base/gstbasetransform.h:
9737 Protect transform and concurrent buffer alloc with a new lock.
9738 Try not to break ABI/API.
9740 2005-10-27 Wim Taymans <wim@fluendo.com>
9742 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9743 (gst_base_src_init), (gst_base_src_query),
9744 (gst_base_src_default_newsegment),
9745 (gst_base_src_configure_segment), (gst_base_src_do_seek),
9746 (gst_base_src_send_event), (gst_base_src_event_handler),
9747 (gst_base_src_pad_get_range), (gst_base_src_loop),
9748 (gst_base_src_unlock), (gst_base_src_default_negotiate),
9749 (gst_base_src_start), (gst_base_src_deactivate),
9750 (gst_base_src_activate_push), (gst_base_src_change_state):
9751 Move some stuff around and cleanup things.
9753 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
9755 * gst/base/gstbasesrc.c: (gst_base_src_query):
9756 Add missing break statements.
9758 2005-10-27 Wim Taymans <wim@fluendo.com>
9760 * check/gst/gstbin.c: (GST_START_TEST):
9761 An extra refcount is taken in basesrc.
9763 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9764 (gst_base_src_get_range), (gst_base_src_pad_get_range),
9765 (gst_base_src_loop):
9766 Small cleanups, check for flushing after being unlocked from the
9767 LIVE_LOCK. take refcounts correctly (not yet everywhere).
9768 Don't send out EOS when going to READY.
9770 2005-10-27 Wim Taymans <wim@fluendo.com>
9772 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9773 (gst_base_sink_get_position):
9776 * gst/gstbin.c: (message_check), (bin_replace_message),
9777 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9778 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9779 (bin_query_duration_init), (bin_query_duration_fold),
9780 (bin_query_duration_done), (bin_query_generic_fold),
9782 * tools/gst-launch.c: (main):
9785 2005-10-26 Stefan Kost <ensonic@users.sf.net>
9787 * examples/controller/audio-example.c: (main):
9788 * examples/queue/queue.c: (event_loop):
9789 * gst/base/gstbasetransform.h:
9790 * gst/gstelement.c: (gst_element_send_event):
9792 * gst/gstpad.c: (gst_pad_send_event):
9795 changing log priority in error situations
9797 2005-10-25 Wim Taymans <wim@fluendo.com>
9799 * gst/gstbin.c: (message_check), (bin_replace_message),
9800 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9801 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9802 (bin_query_duration_init), (bin_query_duration_fold),
9803 (bin_query_duration_done), (bin_query_generic_fold),
9805 Some doc and debug updates.
9806 Cache previously requested query DURATION for speed. invalidate
9807 cached duration if element posts a DURATION message.
9809 2005-10-25 Wim Taymans <wim@fluendo.com>
9811 * docs/design/part-TODO.txt:
9814 * gst/gstbin.c: (message_check), (bin_replace_message),
9815 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9816 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9817 (bin_query_duration_init), (bin_query_duration_fold),
9818 (bin_query_duration_done), (bin_query_generic_fold),
9820 Handle SEGMENT_START/DONE messages correctly.
9821 More evolved query algorithm that handles duration queries
9824 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9825 (gst_element_get_state_func), (gst_element_abort_state),
9826 (gst_element_commit_state), (gst_element_lost_state):
9827 Some more debugging.
9832 2005-10-25 Wim Taymans <wim@fluendo.com>
9834 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9835 Don't use invalid stream_time.
9837 * gst/gstevent.c: (gst_event_new_newsegment):
9838 stream_time in newsegment cannot be undefined.
9840 2005-10-24 Wim Taymans <wim@fluendo.com>
9845 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9847 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9849 2005-10-24 Stefan Kost <ensonic@users.sf.net>
9851 * docs/libs/tmpl/gstdparam.sgml:
9852 * docs/libs/tmpl/gstdplinint.sgml:
9853 * docs/libs/tmpl/gstdpman.sgml:
9854 * docs/libs/tmpl/gstdpsmooth.sgml:
9855 * docs/libs/tmpl/gstunitconvert.sgml:
9858 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
9863 === release 0.9.4 ===
9865 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9868 releasing 0.9.4, "Tyrannosaurus Rex"
9870 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
9872 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9873 (gst_file_sink_get_current_offset):
9874 Use fseeko() and ftello() if available. When falling back on
9875 lseek() to get the current offset, fflush() first to make sure
9876 everything is up-to-date and we get the right offset.
9878 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9880 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9881 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9882 * gst/gsterror.c: (_gst_stream_errors_init):
9884 * gst/gstqueue.c: (gst_queue_loop):
9886 remove prematurely added error category and clean up the instances
9888 2005-10-21 Wim Taymans <wim@fluendo.com>
9890 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9891 (gst_base_sink_get_position), (gst_base_sink_query),
9892 (gst_base_sink_change_state):
9893 Simply set the right flag when going to playing, that's all
9894 we need to do instead of calling a function inside the object
9895 lock (that could take the lock as well and deadlock)
9897 2005-10-21 Wim Taymans <wim@fluendo.com>
9899 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9900 (gst_base_src_loop):
9901 Don't warn, the peer element knows what to do best when
9902 the seek failed, it might try something else.
9904 2005-10-21 Wim Taymans <wim@fluendo.com>
9906 * gst/base/gstbasesrc.c: (gst_base_src_init),
9907 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9910 2005-10-21 Wim Taymans <wim@fluendo.com>
9912 * docs/design/part-segments.txt:
9915 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9916 Correctly set caps, even on the subbufer.
9918 2005-10-21 Wim Taymans <wim@fluendo.com>
9920 * docs/gst/gstreamer-docs.sgml:
9921 * docs/gst/gstreamer-sections.txt:
9928 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
9932 And 2% more doc coverage.
9934 2005-10-21 Andy Wingo <wingo@pobox.com>
9936 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
9939 2005-10-20 Wim Taymans <wim@fluendo.com>
9941 * gst/gsterror.c: (gst_error_get_message):
9944 * gst/gststructure.c:
9949 2005-10-20 Wim Taymans <wim@fluendo.com>
9954 Another 1% more coverage.
9956 2005-10-20 Wim Taymans <wim@fluendo.com>
9958 * docs/gst/gstreamer-sections.txt:
9959 * gst/gstelement.c: (gst_element_get_state_func),
9960 (gst_element_abort_state), (gst_element_commit_state),
9961 (gst_element_lost_state):
9963 * gst/gstquery.c: (gst_query_set_position),
9964 (gst_query_parse_position), (gst_query_set_duration),
9965 (gst_query_parse_duration), (gst_query_new_convert):
9967 Yay! 1% more docs coverage.
9969 2005-10-20 Wim Taymans <wim@fluendo.com>
9972 * gst/gstquery.c: (gst_query_set_position),
9973 (gst_query_parse_position), (gst_query_set_duration),
9974 (gst_query_parse_duration), (gst_query_new_convert):
9976 * gst/gstutils.c: (gst_element_query_convert):
9978 Docs and consistency fixes.
9980 2005-10-20 Wim Taymans <wim@fluendo.com>
9986 2005-10-20 Wim Taymans <wim@fluendo.com>
9988 * gst/gstbin.c: (message_check), (bin_replace_message),
9989 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9990 (update_degree), (gst_bin_sort_iterator_next),
9991 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9992 Reworked the message handling a bit, cache the messages instead of
9993 only the senders. alows us to do more in the future.
9995 2005-10-20 Wim Taymans <wim@fluendo.com>
9997 * docs/design/part-TODO.txt:
10000 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10001 (gst_base_sink_query):
10002 Don't use clock time to report position when in EOS.
10004 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10006 * tools/gst-inspect.c: (print_interfaces),
10007 (print_element_properties_info), (print_element_info):
10008 Fix interface output with gst-inspect -a; don't print
10009 newlines after double/float properties.
10011 2005-10-20 Wim Taymans <wim@fluendo.com>
10013 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10014 (gst_base_sink_query):
10015 Speed up current position calculation.
10017 * gst/base/gstbasesrc.c: (gst_base_src_query),
10018 (gst_base_src_default_newsegment):
10019 Correctly set stream position in newsegment.
10021 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10022 (update_degree), (gst_bin_sort_iterator_next),
10023 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10024 * gst/gstmessage.c: (gst_message_new_custom):
10025 Clean up debugging info
10027 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10028 (gst_queue_loop), (gst_queue_handle_src_query):
10031 2005-10-19 Wim Taymans <wim@fluendo.com>
10033 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10034 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10035 Fix query handling again.
10037 2005-10-19 Wim Taymans <wim@fluendo.com>
10039 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10040 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10041 * gst/base/gstbasesrc.c: (gst_base_src_query):
10042 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10043 * gst/elements/gsttypefindelement.c:
10044 (gst_type_find_handle_src_query), (find_element_get_length),
10045 (gst_type_find_element_activate):
10048 * gst/gstquery.c: (gst_query_new_position),
10049 (gst_query_set_position), (gst_query_parse_position),
10050 (gst_query_new_duration), (gst_query_set_duration),
10051 (gst_query_parse_duration), (gst_query_set_segment),
10052 (gst_query_parse_segment):
10054 Bundling query position/duration is not a good idea since duration
10055 does not change much and we don't want to recalculate it for every
10056 position query, so they are separated again..
10057 Base value in segment query is not needed.
10059 * gst/gstqueue.c: (gst_queue_handle_src_query):
10060 * gst/gstutils.c: (gst_element_query_position),
10061 (gst_element_query_duration), (gst_pad_query_position),
10062 (gst_pad_query_duration):
10064 Updates for query API change.
10065 Added some docs here and there.
10067 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10069 * check/gst/gstbin.c: (GST_START_TEST):
10070 * check/gst/gstghostpad.c: (GST_START_TEST):
10071 * check/pipelines/cleanup.c: (GST_START_TEST):
10072 wait on thread to die so we can check refcount correctly
10074 2005-10-18 Wim Taymans <wim@fluendo.com>
10076 * check/pipelines/stress.c: (GST_START_TEST):
10077 Make check a little more time consuming.
10079 2005-10-18 Wim Taymans <wim@fluendo.com>
10081 * check/Makefile.am:
10082 * check/pipelines/stress.c: (GST_START_TEST),
10083 (simple_launch_lines_suite), (main):
10084 Small state change torture test.
10086 * docs/design/part-states.txt:
10087 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10088 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10089 (gst_base_sink_change_state):
10090 Never take state lock from streaming thread, clean up ugly
10091 hacks. Unfortunatly core does not yet support nice ways to
10092 async commit state.
10094 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10096 Start state recalc if a STATE_DIRTY message is posted, but only
10097 on the toplevel bin.
10099 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10100 (gst_element_get_state_func), (gst_element_abort_state),
10101 (gst_element_commit_state), (gst_element_lost_state),
10102 (gst_element_set_state_func), (gst_element_change_state):
10103 * gst/gstelement.h:
10104 State variables are now protected with the LOCK, the state
10105 lock is only used to serialize _set_state().
10107 2005-10-18 Wim Taymans <wim@fluendo.com>
10109 * check/gst/gstbin.c: (GST_START_TEST):
10110 * check/gst/gstmessage.c: (GST_START_TEST):
10111 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10112 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10114 * gst/gstelement.c: (gst_element_abort_state),
10115 (gst_element_commit_state), (gst_element_lost_state):
10116 * gst/gstmessage.c: (gst_message_new_state_changed),
10117 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10118 (gst_message_new_segment_done), (gst_message_new_duration),
10119 (gst_message_parse_state_changed),
10120 (gst_message_parse_segment_start),
10121 (gst_message_parse_segment_done), (gst_message_parse_duration):
10122 * gst/gstmessage.h:
10123 * tools/gst-launch.c: (event_loop):
10124 Seriously, this is better than a previous commit as we only need
10125 to notify the fact that an element changed state in a streaming
10126 thread, marking the state of the parents dirty, hence the
10127 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10130 2005-10-18 Wim Taymans <wim@fluendo.com>
10132 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10133 (gst_bin_recalc_func):
10134 * gst/gstelement.c: (gst_element_set_clock),
10135 (gst_element_abort_state), (gst_element_lost_state):
10136 Cleanups, prepare for state change fixes.
10138 2005-10-18 Wim Taymans <wim@fluendo.com>
10141 * gst/gstelement.c: (gst_element_class_init),
10142 (gst_element_set_state), (gst_element_set_state_func):
10143 * gst/gstelement.h:
10144 Pending ABI changes.
10145 GThreadPool in GstBinClass to monitor async state changes.
10146 state_cookie in GstElement to detect concurrent gst/set state.
10147 set_state is now virtual too in case a very complicated element
10148 has to be constructed.
10150 2005-10-18 Wim Taymans <wim@fluendo.com>
10152 * check/gst/gstbin.c: (GST_START_TEST):
10153 * check/gst/gstmessage.c: (GST_START_TEST):
10154 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10155 * gst/gstbin.c: (bin_bus_handler):
10156 * gst/gstelement.c: (gst_element_commit_state),
10157 (gst_element_lost_state):
10158 * gst/gstmessage.c: (gst_message_new_state_changed),
10159 (gst_message_new_segment_start), (gst_message_new_segment_done),
10160 (gst_message_new_duration), (gst_message_parse_state_changed),
10161 (gst_message_parse_segment_start),
10162 (gst_message_parse_segment_done), (gst_message_parse_duration):
10163 * gst/gstmessage.h:
10164 * tools/gst-launch.c: (event_loop):
10165 Make messages future proof.
10166 state-change gets a flag if it was a message comming from the
10168 segment-start/stop can also be specified in other formats.
10169 A message to notify an app that a pipeline changed playback
10171 Also fix a GstMessage leak in -launch
10173 2005-10-18 Andy Wingo <wingo@pobox.com>
10175 * gst/gstelement.c (gst_element_dispose): More helpful message.
10177 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10179 reviewed by: <delete if not using a buddy>
10181 * common/gtk-doc.mak:
10183 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10185 * gst/gstregistry.c: (gst_registry_scan_path_level):
10186 unref a plug-in we get that was already initialized
10188 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10190 * docs/gst/gstreamer-sections.txt:
10191 * docs/libs/gstreamer-libs-sections.txt:
10192 * gst/gstelement.h:
10193 add new api entries
10194 hide internal macro
10196 2005-10-17 Andy Wingo <wingo@pobox.com>
10198 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10201 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10203 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10205 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10206 (gst_element_get_state_func): Better debug message.
10207 (gst_element_commit_state): s/INFO/DEBUG/.
10208 (gst_element_lost_state, gst_element_change_state):
10210 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10211 (gst_message_new_custom): s/INFO/LOG/.
10213 2005-10-17 Michael Smith <msmith@fluendo.com>
10215 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10216 Check if end time is valid using end time, not start time.
10218 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10220 * check/gst-libs/controller.c: (GST_START_TEST),
10221 (gst_controller_suite):
10222 * libs/gst/controller/gstcontroller.c:
10223 (gst_controlled_property_set_interpolation_mode):
10224 * libs/gst/controller/gstcontroller.h:
10225 * libs/gst/controller/gstinterpolation.c:
10226 * testsuite/controller/.cvsignore:
10227 * testsuite/controller/Makefile.am:
10228 * testsuite/controller/interpolator.c:
10229 merge controller testsuites
10231 remove mem-chunk from docs
10233 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10235 * gst/gstmemchunk.c:
10236 * gst/gstmemchunk.h:
10237 * gst/gsttrashstack.c:
10238 * gst/gsttrashstack.h:
10239 out. get out. you're fired. to the Attic !
10241 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10243 * gst/gstcaps.c: (gst_caps_intersect):
10244 fix signedness issues in a (hopefully) correct way
10245 * gst/gstelement.c: (gst_element_pads_activate):
10247 * gst/gstobject.c: (gst_object_set_parent):
10250 2005-10-17 Julien MOUTTE <julien@moutte.net>
10252 * gst/gstvalue.h: Fix prototypes.
10254 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10256 * docs/gst/gstreamer-sections.txt:
10257 * gst/gst.c: (gst_version_string):
10259 * gst/gstversion.h.in:
10260 * win32/common/libgstreamer.def:
10261 add gst_version_string ()
10263 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10267 * gst/gst.c: (init_post):
10268 * win32/common/config.h.in:
10270 * gst/gstcaps.c: (gst_caps_intersect):
10271 use gint64, the range could be bigger than a guint
10273 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10276 document potential problem in 2038
10278 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10280 * gst/gstcaps.c: (gst_caps_intersect):
10281 Fix guint j diving under 0
10283 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10286 * win32/common/config.h:
10287 * win32/common/config.h.in:
10288 check for process.h, declares getpid() on Windows
10290 include process.h if we have it
10291 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10292 * gst/gstmemchunk.h:
10293 fix signedness issues
10294 * win32/common/libgstreamer.def:
10297 2005-10-16 Julien MOUTTE <julien@moutte.net>
10299 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10300 fix. Because of unsigned ints, caps intersection was going nuts and
10301 trying to access structures with G_MAXUINT index. That fixes
10302 videotestsrc ! ffmpegcolorspace ! fakesink
10303 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10306 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10309 use the gettext macro
10310 * gst/elements/gstelements.c:
10312 * gst/indexers/gstindexers.c:
10313 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10314 * win32/common/config.h:
10316 * win32/common/config.h.in:
10317 add the template to generate config.h
10318 * win32/common/gstenumtypes.c:
10319 * win32/common/gstversion.h:
10322 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10324 * gst/gst.c: (gst_version):
10325 * gst/gstversion.h.in:
10328 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10331 Oops, add missing closing bracket.
10333 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10336 use common m4's for argument checking
10338 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10340 * docs/gst/gstreamer-sections.txt:
10342 Add GST_EVENT_TYPE_NAME() macro.
10344 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10347 * gst/gstpluginfeature.c:
10349 privatize more symbols
10351 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10354 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10355 everything that uses GStreamer API should have the includes
10357 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10359 * docs/gst/gstreamer-sections.txt:
10360 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10362 give each value a _get_type, removes the DATA exports
10364 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10368 remove _gst_registry_auto_load, not used anymore
10369 * gst/gstbin.c: (gst_bin_get_type):
10371 * gst/gstelement.c: (gst_element_get_type):
10372 * gst/gstelement.h:
10373 * gst/gstobject.c: (gst_object_get_type):
10375 * gst/gstpad.c: (gst_pad_get_type):
10377 make _get_type functions similar, fixes data export from library
10379 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10382 correctly make conditionals
10383 * gst/elements/Makefile.am:
10384 * gst/elements/gstelements.c:
10385 fix typo causing fdsrc not to build
10387 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10389 * testsuite/Makefile.am:
10390 * testsuite/bytestream/.cvsignore:
10391 * testsuite/bytestream/Makefile.am:
10392 * testsuite/bytestream/filepadsink.c:
10393 * testsuite/bytestream/gstbstest.c:
10394 * testsuite/bytestream/test1.c:
10395 * testsuite/bytestream/testfile1:
10396 * testsuite/caps/normalisation.c:
10397 * testsuite/caps/random.c: (main):
10398 * testsuite/cleanup/.cvsignore:
10399 * testsuite/cleanup/Makefile.am:
10400 * testsuite/cleanup/cleanup1.c:
10401 * testsuite/cleanup/cleanup2.c:
10402 * testsuite/cleanup/cleanup3.c:
10403 * testsuite/cleanup/cleanup4.c:
10404 * testsuite/cleanup/cleanup5.c:
10405 * testsuite/controller/interpolator.c:
10406 * testsuite/debug/printf_extension.c: (main):
10407 * testsuite/elements/tee.c:
10408 * testsuite/negotiation/.cvsignore:
10409 * testsuite/negotiation/Makefile.am:
10410 * testsuite/negotiation/pad_link.c:
10411 * testsuite/pad/Makefile.am:
10412 * testsuite/pad/chainnopull.c:
10413 * testsuite/pad/getnopush.c:
10414 * testsuite/pad/link.c:
10415 * testsuite/refcounting/sched.c: (create_pipeline):
10416 * testsuite/registry/Makefile.am:
10417 * testsuite/registry/gst-print-formats.c:
10418 * testsuite/schedulers/.cvsignore:
10419 * testsuite/schedulers/142183-2.c:
10420 * testsuite/schedulers/142183.c:
10421 * testsuite/schedulers/143777-2.c:
10422 * testsuite/schedulers/143777.c:
10423 * testsuite/schedulers/147713.c:
10424 * testsuite/schedulers/147819.c:
10425 * testsuite/schedulers/147894-2.c:
10426 * testsuite/schedulers/147894.c:
10427 * testsuite/schedulers/Makefile.am:
10428 * testsuite/schedulers/group_link.c:
10429 * testsuite/schedulers/queue_link.c:
10430 * testsuite/schedulers/relink.c:
10431 * testsuite/schedulers/unlink.c:
10432 * testsuite/schedulers/unref.c:
10433 * testsuite/schedulers/useless_iteration.c:
10434 * testsuite/states/bin.c:
10435 clean out/remove some stuff from the testsuite directories
10437 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10440 check for some headers
10441 * gst/elements/Makefile.am:
10442 * gst/elements/gstelements.c:
10443 don't compile fdsrc without sys/socket.h
10444 * gst/indexers/Makefile.am:
10445 * gst/indexers/gstindexers.c: (plugin_init):
10446 don't compile fileindex without mmap
10448 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10455 * check/Makefile.am:
10456 * docs/gst/Makefile.am:
10457 * examples/helloworld/Makefile.am:
10459 * gst/base/Makefile.am:
10460 * gst/check/Makefile.am:
10461 * gst/elements/Makefile.am:
10462 * gst/indexers/Makefile.am:
10463 * gst/parse/Makefile.am:
10464 * libs/gst/controller/Makefile.am:
10465 * libs/gst/dataprotocol/Makefile.am:
10466 * examples/helloworld/helloworld.c: (event_loop):
10467 compile fixes, though it's not being compiled currently
10469 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10471 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10472 Add some simple tests for the new taglist date API.
10474 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10476 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10477 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10478 Beautify 'last-message' output: print 'none' for buffer timestamps
10479 and durations if none is set; improve alignment with next messages.
10481 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10483 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10484 * gst/gstpluginfeature.h:
10485 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10486 * gst/gstregistry.h:
10487 * docs/gst/gstreamer-sections.txt:
10488 Add new API to check plugin feature version requirements.
10490 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10491 Some basic tests for the above.
10493 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10495 * gst/gststructure.c: (gst_structure_to_string):
10496 guard against NULL printf - happens when for example
10497 a message structure with GstClock gets serialized
10499 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10501 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10502 Fix presumable copy'n'pasto.
10504 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10506 * gst/elements/gstfakesrc.h:
10507 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10508 * gst/elements/gsttypefindelement.c:
10509 fix some signedness
10510 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10511 I wonder if this could actually write +2GB files before
10513 2005-10-13 Andy Wingo <wingo@pobox.com>
10515 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10516 Fix Timmeke Waymans bug.
10517 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10518 string of the proper length to gst_caps_from_string. There's a
10519 potential for, before this fix, that this could cause someone
10520 connecting over the network to cause a segfault if the payload is
10521 not NUL-terminated.
10523 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10525 * docs/design/draft-push-pull.txt:
10526 * docs/design/part-overview.txt:
10527 * docs/random/TODO-pre-0.9:
10528 * docs/random/old/ChangeLog.gstreamer:
10529 * gst/base/gstpushsrc.c:
10533 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10535 * gst/glib-compat.c: (gst_flags_get_first_value):
10536 * gst/glib-compat.h:
10537 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10538 (gst_value_compare_double), (gst_value_serialize_flags):
10539 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10542 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10545 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10547 * tools/gst-launch.c: (event_loop):
10548 print out clock nicely
10550 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10552 * docs/gst/gstreamer-sections.txt:
10553 * gst/gsttaglist.h:
10554 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10555 (gst_tag_list_get_date_index):
10556 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10557 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10559 2005-10-13 Julien MOUTTE <julien@moutte.net>
10561 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10562 (gst_collectpads_chain):
10563 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10566 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10568 * docs/gst/gstreamer-sections.txt:
10571 * tools/gst-inspect.c: (main):
10572 * tools/gst-launch.c: (main):
10573 * tools/gst-run.c: (main):
10574 * tools/gst-xmlinspect.c: (main):
10575 fix GOption context leaks
10578 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10582 * win32/common/config.h:
10584 * win32/vs6/grammar.dsp:
10585 * win32/vs6/libgstelements.dsp:
10586 * win32/vs6/libgstreamer.dsp:
10589 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10591 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10592 * gst/base/gstbasesrc.c: (gst_base_src_query):
10593 fix more guint64<->gdouble conversions
10595 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10598 add win32-update target
10599 * win32/common/gstconfig.h:
10600 * win32/common/gstenumtypes.c:
10601 * win32/common/gstenumtypes.h:
10602 * win32/common/gstversion.h:
10603 add files that visual studio can't generate
10605 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10608 add a win32-update target
10611 2005-10-12 Wim Taymans <wim@fluendo.com>
10613 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10614 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10615 * gst/gstelement.c: (gst_element_commit_state),
10616 (gst_element_set_state):
10617 Protect flags with proper lock.
10618 unref provided cached clock in dispose.
10620 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10623 * gst/gstminiobject.h:
10625 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10626 removed unused flags from miniobject
10629 2005-10-12 Wim Taymans <wim@fluendo.com>
10631 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10632 (gst_file_sink_event), (gst_file_sink_render):
10633 Flush before seeking.
10635 2005-10-12 Andy Wingo <wingo@pobox.com>
10637 * gst/gst.c (gst_init_check): Ignore unknown options, as has
10638 always been the case.
10640 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10642 * check/gst/gstbin.c: (GST_START_TEST):
10643 * docs/gst/gstreamer-sections.txt:
10644 * gst/base/gstbasesink.c: (gst_base_sink_init):
10645 * gst/base/gstbasesrc.c: (gst_base_src_init),
10646 (gst_base_src_get_range), (gst_base_src_check_get_range),
10647 (gst_base_src_start), (gst_base_src_stop):
10648 * gst/base/gstbasesrc.h:
10649 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10650 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10651 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10655 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10657 * gst/gstelement.c: (gst_element_is_locked_state),
10658 (gst_element_set_locked_state), (gst_element_commit_state),
10659 (gst_element_set_state):
10660 * gst/gstelement.h:
10661 * gst/gstindex.c: (gst_index_init):
10663 * gst/gstminiobject.h:
10664 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10665 (gst_object_set_parent):
10667 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10668 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10670 * gst/gstpadtemplate.h:
10671 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10672 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10673 * gst/gstpipeline.h:
10674 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10675 (gst_file_index_commit):
10676 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10677 * testsuite/pad/link.c: (gst_test_src_init),
10678 (gst_test_filter_init), (gst_test_sink_init):
10679 * testsuite/states/locked.c: (main):
10680 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10681 moved bitshift from macro to enum definition
10683 2005-10-12 Wim Taymans <wim@fluendo.com>
10685 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10686 * gst/elements/gstfilesink.c: (gst_file_sink_event),
10687 (gst_file_sink_render):
10688 Some more debugging info.
10690 2005-10-12 Wim Taymans <wim@fluendo.com>
10692 * docs/design/part-states.txt:
10693 * tools/gst-launch.c: (main):
10695 Revert non-intentional change.
10697 2005-10-12 Wim Taymans <wim@fluendo.com>
10699 * check/gst/gstbin.c: (GST_START_TEST):
10700 * check/gst/gstelement.c: (GST_START_TEST):
10701 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10702 * check/gst/gstghostpad.c: (GST_START_TEST):
10703 * check/gst/gstpipeline.c: (GST_START_TEST):
10704 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10705 * check/states/sinks.c: (GST_START_TEST):
10706 * gst/elements/gsttypefindelement.c: (stop_typefinding):
10707 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10708 (gst_bin_remove_func), (gst_bin_get_state_func),
10709 (gst_bin_recalc_state), (gst_bin_change_state_func),
10711 * gst/gstelement.c: (gst_element_get_state_func),
10712 (gst_element_get_state), (gst_element_abort_state),
10713 (gst_element_commit_state), (gst_element_set_state),
10714 (gst_element_change_state), (gst_element_change_state_func):
10715 * gst/gstelement.h:
10716 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10717 (gst_pipeline_provide_clock_func):
10718 * gst/gstutils.c: (gst_element_link_pads_filtered):
10719 * tools/gst-launch.c: (main):
10720 * tools/gst-typefind.c: (main):
10721 Use GstClockTime in _get_state() instead of GTimeVal.
10722 Remove old code in gstutils.c
10724 2005-10-12 Andy Wingo <wingo@pobox.com>
10726 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10729 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10730 there is no task. Shouldn't affect any code, as nothing in our
10731 plugins checks this return value.
10732 (gst_pad_stop_task): Also take the stream lock if the pad has no
10733 task. Docs updated.
10735 2005-10-12 Wim Taymans <wim@fluendo.com>
10737 * gst/gstpad.c: (pre_activate), (post_activate),
10738 (gst_pad_activate_pull), (gst_pad_activate_push):
10739 Cleanup activation code. Reset old state if
10742 2005-10-12 Wim Taymans <wim@fluendo.com>
10744 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10745 (gst_base_sink_change_state):
10746 No need to prerol after receiving EOS.
10748 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10749 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10750 * gst/elements/gstidentity.c: (gst_identity_event):
10751 Print events more verbosely.
10753 2005-10-12 Wim Taymans <wim@fluendo.com>
10755 * check/Makefile.am:
10756 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10757 * check/states/sinks2.c:
10758 Moved sinks2 testcode in sinks check.
10760 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10761 (gst_bin_remove_func), (gst_bin_recalc_state),
10762 (gst_bin_change_state_func), (bin_bus_handler):
10763 Fix potential race condition when _get_state() iterated over an
10764 ASYNC element right before it posted a state completion.
10767 Do proper cast here.
10769 * gst/gstevent.c: (gst_event_new_newsegment),
10770 (gst_event_parse_newsegment):
10771 A playback rate of 0.0 is not allowed.
10773 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10775 * win32/common/config.h:
10776 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10777 (_trewinddir), (_ttelldir), (_tseekdir):
10778 * win32/common/dirent.h:
10779 * win32/common/gtchar.h:
10780 * win32/common/libgstbase.def:
10781 * win32/common/libgstreamer.def:
10782 * win32/vs6/grammar.dsp:
10783 * win32/vs6/gst_inspect.dsp:
10784 * win32/vs6/gst_launch.dsp:
10785 * win32/vs6/gstreamer.dsw:
10786 * win32/vs6/libgstbase.dsp:
10787 * win32/vs6/libgstelements.dsp:
10788 * win32/vs6/libgstreamer.dsp:
10789 Visual Studio 6 project files, and a new common directory.
10792 2005-10-11 Wim Taymans <wim@fluendo.com>
10794 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10795 (gst_base_sink_do_sync), (gst_base_sink_query),
10796 (gst_base_sink_change_state):
10797 * gst/base/gstbasesink.h:
10798 Correctly parse newsegment info.
10800 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10802 * gst/gst.c: (init_post):
10803 split plugin paths correctly
10805 2005-10-11 Wim Taymans <wim@fluendo.com>
10807 * check/gst/gstevent.c: (GST_START_TEST):
10808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10809 (gst_base_sink_change_state):
10810 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10811 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10812 * gst/elements/gstfilesink.c: (gst_file_sink_event):
10813 * gst/gstevent.c: (gst_event_new_newsegment),
10814 (gst_event_parse_newsegment):
10816 Added extra flag to newsegment for future API freeze.
10817 Updated check and base elements.
10819 2005-10-11 Julien MOUTTE <julien@moutte.net>
10821 * gst/base/gstcollectpads.c: (gst_collectpads_init),
10822 (gst_collectpads_add_pad), (gst_collectpads_pop),
10823 (gst_collectpads_event), (gst_collectpads_chain):
10824 * gst/base/gstcollectpads.h: Handle EOS correctly.
10826 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10828 * tools/gst-launch.c: (main):
10829 more null protecting
10831 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10833 * gst/gst-i18n-lib.h:
10834 check for ENABLE_NLS, not GETTEXT_PACKAGE
10835 * gst/gstregistry.c: (gst_registry_add_plugin),
10836 (gst_registry_scan_path_level),
10837 (_gst_registry_remove_cache_plugins):
10838 protect possibly NULL strings
10839 * gst/parse/types.h:
10840 config.h already included before
10841 * tools/gst-inspect.c: (main):
10842 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10843 check for ENABLE_NLS, not GETTEXT_PACKAGE
10844 * tools/gst-launch.c: (main):
10845 check for ENABLE_NLS, not GETTEXT_PACKAGE
10847 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10850 if we don't have glib, fail before testing 2.8
10851 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10852 fix a leak, should fix plugins-base testsuite
10854 2005-10-11 Andy Wingo <wingo@pobox.com>
10856 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10857 take the mode we're going to as an arg. Go head and set the mode
10858 and flushing flags now, so that if the activate function starts a
10859 thread all the flags will be in the right state.
10860 (post_activate): Renamed also. Just handle making sure streaming
10861 finishes for the deactivation case, and setting the deactivated
10863 (gst_pad_set_active): Complain loudly if deactivation fails.
10864 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10865 (gst_pad_activate_push): Adapt to pre/post_activate changes,
10866 remove the terrible hack.
10868 2005-10-11 Wim Taymans <wim@fluendo.com>
10870 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10871 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10872 (gst_bin_recalc_state), (gst_bin_change_state_func),
10873 (gst_bin_dispose), (bin_bus_handler):
10875 Prepare to make current EOS message queue more generic.
10878 * gst/gstevent.c: (gst_event_new_newsegment),
10879 (gst_event_parse_newsegment):
10881 Rename base to stream_time.
10883 * gst/gstmessage.h:
10886 2005-10-11 Wim Taymans <wim@fluendo.com>
10888 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10889 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10890 (gst_bin_change_state_func), (bin_bus_handler):
10892 Work on proper clock selection.
10894 2005-10-11 Edward Hervey <edward@fluendo.com>
10896 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
10897 * libs/gst/controller/gstcontroller.h:
10898 Added GList* version of _remove_properties() in order to be able to wrap
10901 2005-10-11 Wim Taymans <wim@fluendo.com>
10903 * docs/design/part-states.txt:
10906 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
10907 (gst_bin_change_state_func), (bin_bus_handler):
10908 Doc updates. Don't distribute the same clock over and over again.
10914 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
10915 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
10916 (gst_pad_send_event):
10918 Make probe emission threadsafe again.
10919 Register quarks and move _get_name() from utils.
10922 * gst/gstpipeline.c: (gst_pipeline_class_init),
10923 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10924 Only redistribute the clock of it changed.
10926 * gst/gstsystemclock.h:
10931 Moved the _flow_get_name() to GstPad.
10933 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10935 * check/gst-libs/gdp.c: (GST_START_TEST):
10936 * check/gst/gstcaps.c: (GST_START_TEST):
10937 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
10938 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
10939 (gst_dp_packet_from_caps):
10940 fix more valgrind warnings before turning up the heat
10942 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10944 * gst/parse/grammar.y:
10945 some cleanup before the hacking
10947 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10949 * gst/base/gstbasesrc.c: (gst_base_src_query):
10951 * gst/gstutils.c: (gst_guint64_to_gdouble),
10952 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
10954 externalize, basesrc uses it
10955 obviously the implementation needs testing
10957 2005-10-10 Wim Taymans <wim@fluendo.com>
10959 * tests/sched/Makefile.am:
10960 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
10961 (make_pipeline3), (make_pipeline4), (print_elem), (main):
10963 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10965 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
10966 apparently converting from guint64 to double is not implemented
10969 2005-10-10 Wim Taymans <wim@fluendo.com>
10971 * check/Makefile.am:
10972 * check/generic/states.c: (GST_START_TEST):
10973 * check/gst/gstbin.c: (GST_START_TEST):
10974 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10975 * check/states/sinks.c: (GST_START_TEST):
10976 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10978 Check fixes, use API as stated in design docs, remove hacks.
10980 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10981 (gst_base_sink_change_state):
10982 Catch stopping our task while we're shutting down.
10984 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10985 (gst_bin_remove_func), (gst_bin_get_state_func),
10986 (gst_bin_recalc_state), (gst_bin_change_state_func),
10989 * gst/gstelement.c: (gst_element_init),
10990 (gst_element_get_state_func), (gst_element_abort_state),
10991 (gst_element_commit_state), (gst_element_lost_state),
10992 (gst_element_set_state), (gst_element_change_state),
10993 (gst_element_change_state_func):
10994 * gst/gstelement.h:
10995 New state change algorithm (see #318116)
10997 * gst/gstpipeline.c: (gst_pipeline_class_init),
10998 (gst_pipeline_init), (gst_pipeline_set_property),
10999 (gst_pipeline_get_property), (do_pipeline_seek),
11000 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11001 * gst/gstpipeline.h:
11002 Remove crude state change hacks.
11005 Remove crude hacks.
11007 * tools/gst-launch.c: (main):
11008 Fixes for state change. Needs some more work to fully use the
11011 2005-10-10 Andy Wingo <wingo@pobox.com>
11013 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11015 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11016 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11019 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11021 * gst/gstiterator.c: (gst_iterator_new):
11022 Fix my previous commit: GTypes passed to gst_iterator_new()
11023 can be fundamental types.
11025 2005-10-10 Wim Taymans <wim@fluendo.com>
11027 * gst/gstelement.c: (gst_element_iterate_pad_list),
11028 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11029 (gst_element_iterate_sink_pads):
11030 Use src/sink pads lists for the respective iterators instead
11033 2005-10-10 Andy Wingo <wingo@pobox.com>
11035 Merged in popt removal + GOption addition patch from Ronald, bug
11038 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11039 GstElement macros around, remove popt-related symbols, add goption
11042 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11044 * docs/gst/Makefile.am:
11045 * docs/libs/Makefile.am: No POPT_CFLAGS.
11047 * examples/manual/Makefile.am:
11048 * docs/manual/basics-init.xml: Doc updates with an example.
11050 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11051 (gst_init), (parse_one_option), (parse_goption_arg):
11052 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11053 bit of hand merging and debugging to get the GOption stuff working
11056 * tests/Makefile.am:
11057 * tools/Makefile.am:
11058 * tools/gst-inspect.c: (main):
11059 * tools/gst-launch.c: (main):
11060 * tools/gst-run.c: (main):
11061 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11063 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11065 * gst/gstiterator.c: (gst_iterator_new):
11066 Add assertions to make sure passed GType is likely to really
11067 be a GType (as the compiler won't catch it if the size and
11068 GType arguments get mixed up, see #318447).
11070 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11072 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11074 * gst/gstbin.c: (gst_bin_iterate_sorted):
11075 Pass GType and size arguments to gst_iterator_new() in the right
11076 order (maybe we should make _new() take the GType as first argument
11077 just like _new_list()?) (#318447).
11080 2005-10-10 Wim Taymans <wim@fluendo.com>
11082 * gst/gstelement.c: (gst_element_finalize):
11083 And free the GStaticRecMutex too
11085 2005-10-10 Andy Wingo <wingo@pobox.com>
11087 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11088 Allocate and free the mutex properly.
11090 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11092 (GstElement): The state_lock is now recursive. Rebuild your
11093 plugins, suckers. Old macros adapted.
11095 * docs/gst/gstreamer-sections.txt: Doc updates.
11098 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11099 (g_static_rec_cond_wait): Ported from state changes patch, while
11100 we wait on bug #317802 to be solved in a well-distributed GLib.
11102 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11103 gst_element_change_state, variable name changes.
11104 (gst_element_change_state): Split out of gst_element_set_state in
11105 preparation for the state change merge. Doesn't pay attention to
11106 the 'transition' argument.
11107 (gst_element_set_state): Updates, hopefully purely cosmetic.
11108 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11109 state change patch.
11110 (gst_element_get_state_func): Renamed from get_state, cosmetic
11113 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11115 * gst/elements/gstelements.c:
11116 * win32/GStreamer.vcproj:
11118 * win32/dirent.c: (_tseekdir):
11119 * win32/gst-inspect.vcproj:
11120 * win32/gst-launch.vcproj:
11121 * win32/gstconfig.h:
11122 * win32/gstelements.vcproj:
11123 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11124 * win32/gstreamer.def:
11125 * win32/msvc71.sln:
11126 updates for the win32 build (patch from Sebastien Moutte)
11128 2005-10-10 Andy Wingo <wingo@pobox.com>
11130 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11131 gst_bin_get_state, cleaned up (but no logic changes).
11132 (bin_element_is_sink): Comment updates.
11133 (sink_iterator_filter): Remove needless cast.
11134 (gst_bin_iterate_sinks): Doc update.
11135 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11136 cleaned up (but no logic changes).
11138 * check/states/sinks.c (test_src_sink): Cleanups from the state
11140 (test_livesrc_sink): Sync on the state.
11142 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11143 the state change patch.
11145 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11148 * check/gst/gstbin.c: Merge in some style fixes and additional
11149 checks from Wim's state change patch.
11151 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11153 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11154 (gst_type_find_helper):
11155 Check whether we have the requested data already in our list of
11156 cached buffers before pulling a new buffer; also make the buffer
11157 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11159 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11164 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11165 don't use long long, it's not portable. Replacing with
11166 gint64 seems to work; let's hope no skeletons fall out of the closet.
11168 2005-10-10 Andy Wingo <wingo@pobox.com>
11170 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11172 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11174 * docs/gst/gstreamer-sections.txt:
11179 * gst/gstmessage.c: (gst_message_parse_state_changed):
11182 more docs, fix compilation
11184 2005-10-09 Philippe Khalaf <burger@speedy.org>
11185 * gst/gstmessage.c:
11186 Fixed a few forgotten variables on previous commit
11188 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11190 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11191 Fix evil typefind crasher: getrange() might return a short
11192 buffer at the end of a file, but gst_type_find_peek() must
11193 either return the full data as requested or NULL, but
11194 never a short buffer.
11196 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11198 * gst/gstmessage.c: (gst_message_new_state_changed),
11199 (gst_message_parse_state_changed):
11200 * gst/gstmessage.h:
11201 don't use "new", it's a C++ keyword
11203 2005-10-08 Wim Taymans <wim@fluendo.com>
11205 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11206 * gst/gstelement.c: (gst_element_post_message):
11207 * gst/gstpipeline.c: (gst_pipeline_change_state):
11208 Small docs and debug updates.
11210 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11212 * docs/gst/gstreamer-sections.txt:
11213 * gst/gstelementfactory.c:
11215 * gst/gsttaglist.c:
11218 2005-10-08 Wim Taymans <wim@fluendo.com>
11220 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11221 (gst_bin_dispose), (bin_bus_handler):
11222 Fix typos, add comments.
11223 Clear EOS list when going to PAUSED from any direction and do it
11224 in a threadsafe way.
11225 Get base time in a threadsafe way too.
11226 Fix confusing debug in the change_state function.
11227 Various other small cleanups.
11229 * gst/gstelement.c: (gst_element_post_message):
11230 Fix very verbose bus posting code.
11232 * gst/gstpipeline.c: (gst_pipeline_class_init),
11233 (gst_pipeline_set_property), (gst_pipeline_get_property),
11234 (gst_pipeline_change_state):
11235 Small ARG_ -> PROP_ cleanup
11237 2005-10-08 Wim Taymans <wim@fluendo.com>
11239 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11240 Do a less CPU demanding EOS check because we can.
11242 2005-10-08 Wim Taymans <wim@fluendo.com>
11244 * libs/gst/dataprotocol/dataprotocol.c:
11245 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11246 (gst_dp_packet_from_event):
11247 * libs/gst/dataprotocol/dataprotocol.h:
11248 * libs/gst/dataprotocol/dp-private.h:
11249 It's about time we bump the version number.
11250 Since event types don't fit in the guint8 anymore describing
11251 the payload type, make payload type 16 bits wide.
11253 2005-10-08 Wim Taymans <wim@fluendo.com>
11255 * docs/design/part-TODO.txt:
11256 * docs/design/part-clocks.txt:
11257 * docs/design/part-events.txt:
11258 * docs/design/part-gstbin.txt:
11259 * docs/design/part-gstelement.txt:
11260 * docs/design/part-gstpipeline.txt:
11261 * docs/design/part-live-source.txt:
11262 * docs/design/part-messages.txt:
11263 * docs/design/part-overview.txt:
11264 * docs/design/part-states.txt:
11267 2005-10-08 Wim Taymans <wim@fluendo.com>
11271 Fix event quark registration.
11272 Add some space between events so we can insert them in the
11275 2005-10-08 Wim Taymans <wim@fluendo.com>
11277 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11278 (gst_base_sink_handle_buffer):
11279 Better log message.
11282 * gst/gstelement.h:
11285 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11286 (gst_queue_set_property), (gst_queue_get_property):
11288 Remove old unused properties.
11290 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11291 * docs/gst/gstreamer-sections.txt:
11292 * gst/gstmessage.c:
11293 * gst/gstmessage.h:
11294 * gst/gstminiobject.c:
11295 * gst/gstminiobject.h:
11299 lots of new docs and doc fixes
11301 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11303 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11305 * gst/gstregistry.c: (gst_registry_lookup_locked),
11306 (gst_registry_scan_path_level):
11307 * gst/gstregistryxml.c: (load_plugin):
11308 Only ever load one plugin for a given plugin basename.
11309 This ensures correct overriding of GST_PLUGIN_PATH over
11310 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11311 system installed plugins.
11313 2005-10-08 Wim Taymans <wim@fluendo.com>
11315 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11316 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11317 Prepare for doing QOS.
11319 2005-10-08 Wim Taymans <wim@fluendo.com>
11321 * check/gst/gstbin.c: (GST_START_TEST):
11322 * check/pipelines/cleanup.c: (GST_START_TEST):
11323 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11324 Allow new clock message too.
11326 2005-10-08 Wim Taymans <wim@fluendo.com>
11328 * gst/gstmessage.c: (gst_message_new_error),
11329 (gst_message_new_warning), (gst_message_new_tag),
11330 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11331 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11332 (gst_message_new_segment_start), (gst_message_new_segment_done),
11333 (gst_message_parse_state_changed),
11334 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11335 (gst_message_parse_new_clock):
11336 * gst/gstmessage.h:
11337 Also carry the clock in question.
11339 2005-10-08 Wim Taymans <wim@fluendo.com>
11341 * gst/gstmessage.c: (gst_message_new_custom),
11342 (gst_message_new_eos), (gst_message_new_error),
11343 (gst_message_new_warning), (gst_message_new_tag),
11344 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11345 (gst_message_new_new_clock), (gst_message_new_segment_start),
11346 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11347 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11348 * gst/gstmessage.h:
11350 Added clock related messages.
11352 * gst/gstpipeline.c: (gst_pipeline_change_state):
11353 Post message when the clock changed.
11355 * tools/gst-launch.c: (event_loop):
11358 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11360 * tools/gst-inspect.c: (print_element_properties_info):
11361 Can't pass NULL strings to g_print() on windows.
11363 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11365 * docs/Makefile.am:
11366 * docs/gst/Makefile.am:
11367 * docs/gst/gstreamer-docs.sgml:
11368 * docs/gst/running.xml:
11369 * docs/version.entities.in:
11370 add a chapter on running GStreamer.
11371 document GST_DEBUG and GST_PLUGIN* env vars
11373 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11378 remove PLUGINS_BUILDDIR stuff
11379 * gst/gst.c: (init_post):
11380 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11382 remove, it was condescending and not needed
11384 2005-10-08 Wim Taymans <wim@fluendo.com>
11386 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11387 (gst_base_sink_handle_object), (gst_base_sink_event),
11388 (gst_base_sink_wait), (gst_base_sink_handle_event),
11389 (gst_base_sink_change_state):
11390 * gst/base/gstbasesink.h:
11391 Repost EOS message while going to PLAYING if still EOS.
11392 Make sure that when receiving a FLUSH_START we don't attempt
11393 to sync on the clock anymore.
11395 2005-10-08 Wim Taymans <wim@fluendo.com>
11397 * tools/gst-launch.c: (event_loop):
11398 Better message printout.
11400 2005-10-08 Wim Taymans <wim@fluendo.com>
11402 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11403 (gst_bin_child_proxy_get_children_count):
11404 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11405 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11406 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11407 (gst_child_proxy_set_valist):
11408 * gst/parse/grammar.y:
11409 Make ChildProxy threadsafe and fix mem leaks.
11411 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11413 * gst/gst.c: (init_post):
11414 debug the GST_PLUGIN_ env vars
11416 2005-10-08 Wim Taymans <wim@fluendo.com>
11418 * check/gst/gstbin.c: (GST_START_TEST):
11419 * check/gst/gstmessage.c: (GST_START_TEST):
11420 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11421 * gst/gstelement.c: (gst_element_commit_state),
11422 (gst_element_lost_state):
11423 * gst/gstmessage.c: (gst_message_new_state_changed),
11424 (gst_message_parse_state_changed):
11425 * gst/gstmessage.h:
11426 * tools/gst-launch.c: (event_loop):
11427 Added extra field to STATE_CHANGE message with the pending
11428 state, which will be different from the new state soon.
11430 2005-10-08 Wim Taymans <wim@fluendo.com>
11432 * gst/gstbus.c: (gst_bus_pop):
11434 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11435 Small cleanups and doc updates.
11437 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11439 * gst/gst.c: (init_pre):
11440 * gst/gstbin.c: (gst_bin_add_func):
11441 log distributing clocks and base time
11442 * gst/gstregistry.c: (gst_registry_add_plugin),
11443 (gst_registry_scan_path_level), (gst_registry_scan_path):
11444 clean up the debugging output a little
11445 * gst/gstutils.c: (gst_element_state_get_name):
11446 warn about a memleak (I've actually seen this be used, though
11447 it was probably a bug)
11449 2005-10-07 Wim Taymans <wim@fluendo.com>
11451 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11452 (gst_base_src_init), (gst_base_src_default_newsegment),
11453 (gst_base_src_newsegment), (gst_base_src_do_seek),
11454 (gst_base_src_loop), (gst_base_src_start):
11455 * gst/base/gstbasesrc.h:
11456 Make the newsegment event customizable by subclasses.
11458 2005-10-07 Wim Taymans <wim@fluendo.com>
11460 * gst/gstevent.c: (gst_event_new_buffersize),
11461 (gst_event_parse_buffersize):
11463 New event for future idea.
11465 2005-10-07 Andy Wingo <wingo@pobox.com>
11467 * gst/gstelement.c (gst_element_post_message): Doc update.
11469 * docs/gst/gstreamer-sections.txt: Update.
11471 * gst/gstmessage.c (gst_message_new_application): Made into a
11472 function like honest API calls.
11473 (gst_message_new_element): New message type.
11475 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11477 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11478 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11481 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11482 NO_PREROLL from gst_element_change_state to fall through.
11484 2005-10-07 Wim Taymans <wim@fluendo.com>
11486 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11487 (gst_ghost_pad_do_activate_push):
11488 Activating a ghostpad with no internal pad in push mode
11491 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11494 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11495 Fixes compilation on Windows.
11497 2005-10-07 Michael Smith <msmith@fluendo.com>
11499 * tools/gst-inspect.c:
11500 Print out feature and plugin count at the end when printing out
11503 2005-10-04 Michael Smith <msmith@fluendo.com>
11505 * gst/gsterror.c: (_gst_stream_errors_init):
11506 Add another error string used in a few existing plugins.
11509 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11510 * tools/gst-inspect.c: (print_element_info):
11511 When a feature disappears from a plugin (and the feature exists in
11512 the cached registry file), things went horribly wrong. This isn't a
11513 complete fix, we should actually be removing the 'missing' features
11514 from the features list when we load the actual plugin. That's not
11517 2005-10-04 Johan Dahlin <johan@gnome.org>
11519 * check/gst/gstiterator.c: (GST_START_TEST):
11520 * gst/gstbin.c: (gst_bin_iterate_elements),
11521 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11522 * gst/gstelement.c: (gst_element_iterate_pads):
11523 * gst/gstformat.c: (gst_format_iterate_definitions):
11524 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11525 (gst_iterator_new_list), (gst_iterator_filter):
11526 * gst/gstiterator.h:
11527 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11528 Add a GType to GstIterator, update callsites and tests.
11530 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11532 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11533 give events a chance to be handled by event probes when the pad
11536 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11538 * gst/gstevent.c: (gst_event_type_get_name),
11539 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11541 add string representations for event types
11543 2005-10-06 Wim Taymans <wim@fluendo.com>
11545 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11546 Don't use NULL pointers.
11548 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11550 * gst/gst_private.h:
11552 * gst/gstelement.c:
11554 * gst/gstpluginfeature.c:
11555 widen the debug category in output to fit the biggest one we have
11556 add a bus category and use it
11557 play with the colors
11558 fix up some categories
11560 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11562 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11563 add push activation of sink ghost pads.
11564 Andye, please verify
11566 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11568 * gst/gstutils.c: (gst_element_link_pads):
11569 fix a bug in the case where neither element has a pad
11570 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11571 add a test for that case
11573 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11575 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11576 emit have-data before checking for peers. This allows
11577 for probe handlers to connect elements. This helps autopluggers.
11578 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11580 add six checks, linked/unlinked with no/true/false probe
11582 2005-10-04 Wim Taymans <wim@fluendo.com>
11584 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11585 (gst_fake_sink_event), (gst_fake_sink_preroll),
11586 (gst_fake_sink_render), (gst_fake_sink_change_state):
11587 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11588 (gst_fake_src_get_property), (gst_fake_src_create),
11589 (gst_fake_src_stop):
11590 * gst/elements/gstidentity.c: (gst_identity_stop):
11591 Protect last_message with lock.
11593 2005-10-04 Edward Hervey <edward@fluendo.com>
11596 Added precision in the comments for GST_FORMAT_DEFAULT
11598 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
11600 * tools/gst-launch.c: (main):
11601 Don't try to run erroneous pipelines.
11603 2005-10-04 Julien MOUTTE <julien@moutte.net>
11605 * gst/gstbus.c: We don't need this header.
11607 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11610 back to development
11612 === release 0.9.3 ===
11614 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11618 Releasing 0.9.3, "Unregistered"
11620 2005-10-03 Andy Wingo <wingo@pobox.com>
11622 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11623 whereby calling a pad's activatepush() function can start a thread
11624 that starts to push or pull before the pad gets the FLUSHING flag
11625 unset. Hack around it by holding the stream lock until the flag is
11626 set. Need to replace this with a proper solution. Together with
11627 the ghost pad fixes, this fixes mp3 playing/tagreading.
11629 * docs/design/part-gstghostpad.txt: Add a note about activation of
11630 proxy pads outside of ghost pads.
11632 * gst/gstghostpad.c: Implement the ghost pad activation design.
11634 2005-10-02 Andy Wingo <wingo@pobox.com>
11636 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11637 It is volatile, after all.
11639 * docs/design/part-gstghostpad.txt: Flesh out activation with
11642 * gst/base/gstbasesrc.c (gst_base_src_init): Use
11645 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
11648 Fix (unused) AM_CONDITIONAL tests.
11650 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
11652 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11654 * gst/gstutils.c: (gst_pad_query_convert):
11655 Add assertion that makes sure src_val is >=0, just like
11656 gst_query_new_convert() has. (#315895)
11658 2005-09-30 Edward Hervey <edward@fluendo.com>
11660 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11661 Let's not iterate pads we're not interested in, it avoids getting
11662 sky-high refcounts on sinkpad.
11664 2005-09-30 Wim Taymans <wim@fluendo.com>
11666 * gst/gstelement.c: (gst_element_set_state),
11667 (gst_element_change_state):
11668 Small tweak, element in ASYNC remains ASYNC.
11670 2005-09-30 Wim Taymans <wim@fluendo.com>
11672 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11673 Only error is an error.
11675 * gst/gstbin.c: (gst_bin_change_state):
11678 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11679 Also call pad_block in pad alloc.
11681 * gst/gstutils.c: (gst_flow_get_name):
11684 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11686 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11687 (gst_base_src_get_range):
11688 Fix documentation typos. Add some more debug info.
11690 2005-09-29 David Schleef <ds@schleef.org>
11692 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11693 more end-user friendly.
11694 * tools/gst-inspect.c: (main): Check if command-line argument is
11695 a file and attempt to load that file as a plugin.
11697 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11699 * check/gst/gstbin.c:
11700 * check/states/sinks.c:
11701 fix tests for the new warning
11702 * check/gst/gstpipeline.c:
11703 add a test for pipeline and bus interaction
11704 * gst/gstelement.c:
11705 elements should be NULL if they get disposed; add a warning if not
11707 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11710 for 2.6 refcounting, make debug log more correct by printing
11711 the actual refcounts at the time of swap (Wim)
11713 2005-09-29 Andy Wingo <wingo@pobox.com>
11715 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11716 removes signal watches previously added via
11717 gst_bus_add_signal_watch.
11718 (gst_bus_add_signal_watch): Don't return the source id, just store
11719 it on the bus if there wasn't an id already.
11721 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11722 add_signal_watch and remove_signal_watch.
11724 2005-09-29 Edward Hervey <edward@fluendo.com>
11726 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11727 Better if we actually iterate the list :)
11729 2005-09-29 Wim Taymans <wim@fluendo.com>
11731 * check/gst/gstbin.c: (GST_START_TEST):
11732 Change for new bus API.
11734 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11735 (send_messages), (GST_START_TEST), (gstbus_suite):
11736 Change for new bus signal API.
11738 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11739 (gst_bus_source_prepare), (gst_bus_source_check),
11740 (gst_bus_create_watch), (gst_bus_add_watch_full),
11741 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11742 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11744 Remove support for multiple GSources operating on different
11745 message types as it is too complex and unneeded when using
11747 Added support for receiving signals from the bus.
11749 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11751 * docs/libs/tmpl/gstdataprotocol.sgml:
11752 * docs/manual/advanced-dataaccess.xml:
11753 * gst/elements/gstcapsfilter.c:
11755 rename filter-caps to caps property
11757 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11759 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11760 More robust fraction string parsing.
11762 * docs/pwg/appendix-porting.xml:
11763 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11765 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11767 * gst/gstcaps.c: (gst_caps_do_simplify):
11768 Thou shalt not free a structure and then continue using it
11769 in the next loop iteration.
11771 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11773 Add test case for caps simplification.
11775 2005-09-29 Wim Taymans <wim@fluendo.com>
11777 * check/gst/gstbin.c: (GST_START_TEST):
11780 2005-09-29 Wim Taymans <wim@fluendo.com>
11782 * check/gst/gstbin.c: (GST_START_TEST):
11785 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11786 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11787 (find_element), (gst_bin_sort_iterator_next),
11788 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11789 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11790 (gst_bin_change_state), (gst_bin_dispose):
11791 A bin does not have a bus, it gets the bus from the parent.
11793 * gst/gstelement.c: (gst_element_requires_clock),
11794 (gst_element_provides_clock), (gst_element_is_indexable),
11795 (gst_element_is_locked_state), (gst_element_change_state),
11796 (gst_element_set_bus_func):
11799 * gst/gstpipeline.c: (gst_pipeline_class_init),
11800 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11801 The pipeline provides a bus.
11803 2005-09-28 Johan Dahlin <johan@gnome.org>
11805 * gst/gstmessage.c (gst_message_parse_state_changed): Use
11806 gst_structure_get_enum instead of gst_structure_get_int
11808 * gst/gststructure.c (gst_structure_get_enum): Impl.
11810 * gst/gststructure.h (gst_structure_get_enum): Add
11812 * docs/gst/gstreamer-sections.txt: Ditto
11814 * gst/gstmessage.c (gst_message_new_state_changed): Use
11815 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11816 which does introspection.
11817 Reviewed by Christian Schaller
11819 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11821 * gst/gstinfo.c: (gst_debug_log_default):
11822 don't do dummy g_strdup()s
11823 * libs/gst/controller/gstcontroller.c:
11824 (on_object_controlled_property_changed),
11825 (gst_controlled_property_new), (gst_controller_new_valist),
11826 (gst_controller_new_list),
11827 (gst_controller_remove_properties_valist), (gst_controller_set),
11828 (gst_controller_get), (gst_controller_sync_values),
11829 (gst_controller_get_value_array), (_gst_controller_class_init),
11830 (gst_controller_get_type):
11831 * libs/gst/controller/gstcontroller.h:
11832 * libs/gst/controller/gstinterpolation.c:
11833 (gst_controlled_property_find_timed_value_node):
11834 convert // to /**/ comments
11836 2005-09-28 Wim Taymans <wim@fluendo.com>
11838 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11839 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11840 (gst_bus_sync_signal_handler):
11842 Added async-message and sync-message signals to the bus.
11843 Added helper BusFunc to emit signals for all posted messages.
11845 * gst/gstmessage.c: (gst_message_type_get_name),
11846 (gst_message_type_to_quark), (gst_message_get_type):
11847 * gst/gstmessage.h:
11848 Register quarks for message names.
11850 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11852 * docs/libs/gstreamer-libs-sections.txt:
11853 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11854 (gst_controller_new_list):
11855 * libs/gst/controller/gstcontroller.h:
11856 added another constructor for language bindings
11858 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
11860 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11864 * gst/gstinfo.c: (_gst_debug_init):
11865 slightly more readable color for refcount debugging
11867 2005-09-28 Wim Taymans <wim@fluendo.com>
11869 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11870 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11871 (find_element), (gst_bin_sort_iterator_next),
11872 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11873 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11874 (gst_bin_change_state), (gst_bin_dispose):
11875 Small doc fixes. get_clock -> provide_clock.
11877 * gst/gstelement.c: (gst_element_class_init),
11878 (gst_element_provides_clock), (gst_element_provide_clock),
11879 (gst_element_get_clock), (gst_element_commit_state),
11880 (gst_element_lost_state):
11881 * gst/gstelement.h:
11882 Make get/set_clock() symetric. Add provide_clock vmethod since
11883 that is actually what this function does.
11885 * gst/gstpipeline.c: (gst_pipeline_class_init),
11886 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11887 (gst_pipeline_get_clock):
11888 get_clock -> provide_clock.
11890 2005-09-28 Andy Wingo <wingo@pobox.com>
11892 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11893 lieu of real docs...
11895 * gst/elements/gstfdsrc.c: Cleaned up a bit.
11897 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
11899 * gst/elements/gstcapsfilter.c:
11900 * gst/elements/gstfakesink.c:
11901 * gst/elements/gstfakesrc.c:
11902 * gst/elements/gstfdsink.c:
11903 * gst/elements/gstfdsrc.c:
11904 * gst/elements/gstfilesink.c:
11905 * gst/elements/gstfilesrc.c:
11906 * gst/elements/gstidentity.c:
11907 * gst/elements/gsttee.c:
11908 * gst/elements/gsttypefindelement.c:
11909 Make element details static.
11911 2005-09-28 Wim Taymans <wim@fluendo.com>
11913 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11914 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11915 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11916 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11917 (gst_bin_change_state), (gst_bin_dispose):
11918 Some documentation updates.
11919 Clean up dispose handlers.
11921 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
11922 * gst/gstpad.c: (gst_pad_dispose):
11923 Clean up dispose handler.
11925 * gst/gstpipeline.c: (gst_pipeline_change_state):
11926 Removed spurious UNLOCK.
11928 2005-09-27 Stefan Kost <ensonic@users.sf.net>
11930 * docs/gst/gstreamer-sections.txt:
11931 * gst/base/gstbasesrc.h:
11932 * gst/gstelement.h:
11936 * gst/gstpipeline.c:
11937 * gst/gstpipeline.h:
11940 added two new functions to the docs
11941 documents all undocumented GstXXXFlags
11942 completed some incomplete docs
11944 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
11946 * gst/gstbin.c: (gst_bin_dispose):
11947 * gst/gstelement.c: (gst_element_dispose):
11948 remove now useless and leaky resurrection code in dispose
11949 * gst/base/gstbasesrc.c: (gst_base_src_init):
11950 * gst/gstelementfactory.c: (gst_element_factory_create):
11951 * gst/gstobject.c: (gst_object_set_parent):
11954 2005-09-27 Wim Taymans <wim@fluendo.com>
11956 * docs/design/part-TODO.txt:
11959 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11960 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11961 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11962 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11963 (gst_bin_change_state):
11964 * gst/gstelement.h:
11965 Remove element variable, we keep element info in the iterator now.
11967 2005-09-27 Andy Wingo <wingo@pobox.com>
11969 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11972 2005-09-27 Wim Taymans <wim@fluendo.com>
11974 * check/gst/gstbin.c: (GST_START_TEST):
11975 Enable check that works now.
11977 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11978 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11979 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11980 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11981 (gst_bin_change_state):
11983 Redid the state change algorithm using a topological sort algo.
11984 Handles all cases correctly.
11985 Exposed iterator for state change order.
11987 * gst/gstelement.h:
11988 Temp storage for state changes. Need to get rid of this soon.
11990 2005-09-27 Wim Taymans <wim@fluendo.com>
11992 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11993 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11994 (link_fold_func), (gst_pad_proxy_setcaps):
11995 Leak fixes, the fold functions need to unref the passed object and
11996 _get_parent_*() returns ref to parent.
11998 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12000 * check/gst/gstbuffer.c: (test_make_writable):
12001 Plug leak in test case and fix 'make check-valgrind'
12003 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12005 * gst/gstbuffer.c: (gst_subbuffer_init):
12006 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12007 works correctly in all circumstances (we could have just copied
12008 the parent buffer's readonly flag, but conceptually it seems
12009 cleaner to mark all subbuffers as read-only). (based on patch
12010 by Alessandro Decina, #314710).
12012 * check/gst/gstbuffer.c: (create_read_only_buffer),
12013 (test_make_writable), (test_subbuffer_make_writable),
12015 Add some tests for gst_buffer_make_writable().
12017 2005-09-27 Wim Taymans <wim@fluendo.com>
12019 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12020 use gst_object_has_ancestor().
12022 * gst/gstobject.c: (gst_object_has_ancestor):
12024 gst_object_has_ancestor() copied from gstbin.c as it is a
12027 * tests/instantiate/create.c: (create_all_elements):
12028 * tests/lat.c: (handoff_src), (handoff_sink):
12029 * tests/sched/runxml.c: (main):
12030 * tests/seeking/seeking1.c: (main):
12031 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12033 Fix compilation of some tests.
12035 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12038 Remove comment. GST_TYPE_G_ERROR is here to stay,
12039 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12040 (#316961, #300610).
12042 2005-09-26 Wim Taymans <wim@fluendo.com>
12044 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12045 Added check that shows error in state change order.
12047 2005-09-26 Wim Taymans <wim@fluendo.com>
12049 * gst/gstbin.c: (gst_bin_change_state):
12050 Make state change function use 3 queues again, we were
12051 adding elements in the wrong order.
12053 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12056 * gst/gstpad.c: (gst_pad_dispose):
12057 Added some debug info first.
12059 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12061 * docs/design/draft-push-pull.txt:
12062 * docs/design/part-events.txt:
12063 * docs/design/part-overview.txt:
12064 * docs/design/part-scheduling.txt:
12065 Replace all _pull_region() with _pull_range()
12067 2005-09-26 Andy Wingo <wingo@pobox.com>
12069 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12071 * check/gst-libs/controller.c: Update for controller api change.
12074 * tests/Makefile.am:
12075 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12076 over by GLib bug 118439.
12078 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12079 routines to a function.
12081 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12083 * libs/gst/controller/gsthelper.c:
12084 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12085 (gst_object_sync_values): Renamed from sink_values. Ugh.
12087 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12089 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12090 Renamed from controller_key, as it is exported.
12092 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12094 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12099 * gst/gstpadtemplate.h:
12102 * gst/gstqueryutils.c:
12103 * gst/gstqueryutils.h:
12104 remove queryutils headers after moving the two used functions
12105 to gstquery. also fixes build problem for gstsiddec
12107 2005-09-26 Michael Smith <msmith@fluendo.com>
12109 * tools/gst-launch.1.in:
12110 Correct documentation in manpage of debug syntax
12112 2005-09-26 Wim Taymans <wim@fluendo.com>
12114 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12115 (gst_base_src_is_seekable), (gst_base_src_change_state):
12116 Some more debugging info.
12118 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12120 * docs/gst/gstreamer-sections.txt:
12121 * gst/base/gstbasetransform.h:
12125 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12127 * docs/gst/.cvsignore:
12128 * docs/gst/tmpl/.cvsignore:
12129 * docs/gst/tmpl/gstpipeline.sgml:
12130 * docs/gst/tmpl/gstplugin.sgml:
12131 * gst/gstpipeline.c:
12134 inlined the last two docs files
12135 removed the tmpl directory from cvs (no more conflicts here!)
12137 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12139 * docs/gst/gstreamer-sections.txt:
12140 * docs/gst/tmpl/.cvsignore:
12141 * docs/gst/tmpl/gstpad.sgml:
12142 * docs/gst/tmpl/gstpadtemplate.sgml:
12144 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12145 (gst_pad_finalize), (gst_pad_set_pad_template):
12147 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12148 (gst_pad_template_class_init), (gst_pad_template_init),
12149 (gst_pad_template_dispose), (name_is_valid),
12150 (gst_static_pad_template_get), (gst_pad_template_new),
12151 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12152 (gst_pad_template_pad_created):
12153 * gst/gstpadtemplate.h:
12154 inlined two more docs
12155 factored gstpadtemplate out of gstpad
12157 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12159 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12160 (test_children_state_change_order_semi_sink):
12161 Fix test case: we can't rely on a fixed state change order when
12162 going from READY => PAUSED because the sink might commit its
12163 new state first when the first buffer created by the source
12164 reaches the sink before the source has finished its change state.
12165 (Test case still fails at times, see #316856, comment 5 onwards)
12167 2005-09-24 Wim Taymans <wim@fluendo.com>
12169 * docs/design/part-events.txt:
12170 * docs/design/part-gstbus.txt:
12171 * docs/design/part-gstpipeline.txt:
12172 * docs/design/part-messages.txt:
12173 * docs/design/part-overview.txt:
12174 * docs/design/part-segments.txt:
12178 * gst/gstelement.c:
12181 * gst/gstiterator.c:
12182 Various documentation updates.
12184 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12187 Well, that's embarassing. Luckily we weren't using
12188 GST_CLOCK_DIFF anywhere.
12190 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12192 * common/gtk-doc.mak:
12193 don't fail on building XML, FC4 slave shows a bunch of doc
12194 missing bits that I don't get
12196 * gst/gstpipeline.c:
12197 * gst/gststructure.c:
12200 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12202 * docs/design/part-gstbin.txt:
12203 * docs/design/part-gstbus.txt:
12205 Add blurb about how the bus goes into flushing mode and
12206 drops all messages when its bin goes from READY into NULL
12209 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12211 * docs/gst/gstreamer-sections.txt:
12212 * gst/gststructure.c: (gst_structure_get_clock_time):
12213 * gst/gststructure.h:
12214 add a method to get a GstClockTime out of a structure
12216 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12218 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12219 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12220 Added test to check state change order in bins (can still be made
12221 to fail here under heavy disk load; bails out with 'Push on pad
12222 fakesink:sink0, but it was not activated in push mode').
12224 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12225 Fix state change order when there is only a semi sink (#316856)
12227 * gst/gstbus.c: (gst_bus_class_init):
12228 Use _class_peek_parent(), not _class_ref(); fix docs to say
12229 'default main context' instead of 'mainloop' where that is
12232 * gst/gstelement.c: (gst_element_commit_state),
12233 (gst_element_set_state):
12234 Fix typos in debug messages
12236 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12239 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12240 * gst/gstpluginfeature.c:
12242 various doc updates
12243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12244 change an assert into an error until it gets fixed properly
12246 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12248 * docs/gst/gstreamer-sections.txt:
12249 * docs/gst/tmpl/.cvsignore:
12250 * docs/gst/tmpl/gstelement.sgml:
12251 * docs/gst/tmpl/gstinfo.sgml:
12252 * docs/gst/tmpl/gstobject.sgml:
12253 * gst/gstelement.c:
12254 * gst/gstelement.h:
12257 * gst/gstobject.c: (gst_object_class_init):
12259 inlined 3 more biiiig doc files and added some missing docs on the fly
12261 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12263 * check/gst/.cvsignore:
12264 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12265 * gst/gstregistryxml.c: (load_plugin),
12266 (gst_registry_xml_save_plugin):
12267 put back source in registry. add checks for find_plugin.
12268 * testsuite/states/bin.c: (assert_state), (empty_bin),
12269 (test_adding_one_element), (main):
12270 * testsuite/states/locked.c: (main):
12271 some compile/run fixes
12273 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12275 * check/gst/gstvalue.c: (GST_START_TEST):
12276 fix leaks in the test itself
12278 2005-09-22 Wim Taymans <wim@fluendo.com>
12280 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12281 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12282 (gst_base_sink_query):
12283 Prepare for more accurate position reporting and query
12286 * gst/gstelement.c: (gst_element_send_event),
12287 (gst_element_set_state):
12290 2005-09-22 Wim Taymans <wim@fluendo.com>
12292 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12293 (gst_query_parse_segment):
12295 More documentation.
12296 Add segment query for future use.
12298 2005-09-22 Wim Taymans <wim@fluendo.com>
12300 * gst/gstbin.c: (gst_bin_add_func):
12301 Some more debug info.
12303 * gst/gstelement.c: (gst_element_send_event):
12304 Simplify send_event
12306 * gst/gstelement.h:
12307 Don't know how flags got broken.
12312 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12314 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12315 Add simplistic test suite for GST_TYPE_DATE serialisation and
12318 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12320 * docs/gst/gstreamer-sections.txt:
12321 * gst/gststructure.c: (gst_structure_set_valist),
12322 (gst_structure_get_date):
12323 * gst/gststructure.h:
12324 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12325 (gst_date_copy), (gst_value_compare_date),
12326 (gst_value_serialize_date), (gst_value_deserialize_date),
12327 (gst_value_transform_date_string),
12328 (gst_value_transform_string_date), (_gst_value_initialize):
12330 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12331 bunch of utility functions along with a hack that checks that
12332 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12333 is required. Part of the grand scheme in #170777.
12335 2005-09-22 Andy Wingo <wingo@pobox.com>
12337 * gst/gstconfig.h.in: Psych out gtk-doc.
12339 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12341 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12343 * tools/gst-inspect.c (print_element_list): Plug some
12344 inconsequential leaks.
12346 * gst/gstregistry.c (gst_registry_get_default): Doc.
12348 * check/gst/gstplugin.c:
12349 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12350 * gst/gstelementfactory.c (gst_element_factory_create):
12351 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12354 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12355 (gst_plugin_feature_load): Doc, don't eat refs.
12357 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12358 (gst_plugin_list_free): Doc.
12359 (gst_plugin_load_file): Doc updates.
12361 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12362 accessors returning refcounted objects, return a ref.
12364 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12365 accessor for caps. IDEMPOTENCE. Oh yes.
12367 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12369 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12371 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12372 (_gst_debug_register_funcptr):
12373 Add mutex to serialise access to the hash table with
12374 the function pointer => function name string mapping;
12375 make that hash table static scope (#316809).
12377 * gst/registries/.cvsignore:
12378 Remove left-over file.
12380 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12382 * docs/pwg/appendix-porting.xml:
12383 And something about newsegment events and caps-on-buffers to
12384 the porting guide (feel free to improve).
12386 2005-09-21 Andy Wingo <wingo@pobox.com>
12388 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12389 data and event probes on the same pad.
12390 (test_buffer_probe_once): Test that removing probes from within
12391 the probe functions works.
12393 2005-09-21 Andy Wingo <wingo@pobox.com>
12395 * check/gst/gstutils.c: New file.
12396 (test_buffer_probe_n_times): A simple buffer probe test. More to
12399 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12400 have-data::buffer, not have-data.
12401 (gst_pad_add_event_probe): Likewise for have-data::event.
12402 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12403 peer' isn't quite right yet though.
12404 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12405 (gst_pad_remove_data_probe): Change to take the guint handler_id
12406 as their arg, not the function+data, which is more glib-like.
12408 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12409 the signal emission to indicate if the data is a buffer or an
12411 (gst_pad_get_type): Initialize buffer and event quarks.
12412 (gst_pad_class_init): have-data is now a detailed signal, yes it
12415 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12417 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12418 * gst/gstutils.c: (gst_util_set_value_from_string),
12419 (gst_util_set_object_arg):
12420 Don't put functional code in g_return_if_fail() or
12421 g_return_val_if_fail() statements, otherwise things will
12422 break when G_DISABLE_CHECKS is defined during compilation.
12424 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12426 * docs/gst/tmpl/.cvsignore:
12427 * docs/gst/tmpl/gstvalue.sgml:
12430 inlied another one and added some obvious docs
12432 2005-09-21 Wim Taymans <wim@fluendo.com>
12434 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12435 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12436 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12437 (gst_fdsrc_get_property), (gst_fdsrc_create):
12438 * gst/elements/gstfdsrc.h:
12439 Properly implement fdsrc. Removed signal and timeout,
12440 better implemented somewhere else.
12442 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12444 * docs/gst/tmpl/.cvsignore:
12445 * docs/gst/tmpl/gstimplementsinterface.sgml:
12446 * gst/gstinterface.c:
12449 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12451 * docs/gst/gstreamer-sections.txt:
12452 * docs/gst/tmpl/.cvsignore:
12453 * docs/gst/tmpl/gstenumtypes.sgml:
12454 remove obsolete doc file
12456 2005-09-21 David Schleef <ds@schleef.org>
12458 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12459 little beer, fix a little leak.
12461 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12463 * docs/gst/gstreamer-docs.sgml:
12464 * docs/gst/gstreamer-sections.txt:
12465 * docs/gst/tmpl/.cvsignore:
12469 * gst/gstelement.h:
12470 * gst/gstindex.c: (gst_index_class_init):
12472 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12473 (gst_index_factory_class_init), (gst_index_factory_init),
12474 (gst_index_factory_finalize), (gst_index_factory_new),
12475 (gst_index_factory_destroy), (gst_index_factory_find),
12476 (gst_index_factory_create), (gst_index_factory_make):
12477 * gst/gstindexfactory.h:
12478 * gst/gstpluginfeature.c:
12479 * gst/gstpluginfeature.h:
12480 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12481 more docs inlined, splitted gstindex.{c,h}
12483 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12485 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12488 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12490 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12491 Set sync to FALSE by default.
12493 2005-09-20 Wim Taymans <wim@fluendo.com>
12495 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12496 (gst_base_sink_init):
12497 Make sync property settable from subclass.
12499 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12500 (gst_fake_sink_change_state):
12501 Set sync to FALSE by default.
12503 2005-09-20 Wim Taymans <wim@fluendo.com>
12505 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12506 * tools/gst-launch.c: (main):
12507 The timeout handler should have lower priority than the source
12508 so we don't timeout before popping a message with 0 timeout.
12509 Dump error messages after failed state change.
12511 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12513 * tools/gst-inspect.c: (print_element_properties_info):
12516 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12518 * check/gst/gstevent.c:
12519 * gst/elements/gstfakesink.c:
12520 * gst/elements/gstfakesink.h:
12521 remove the sync property from fakesink.
12522 has the side effect of setting sync TRUE
12523 for fakesink, which is a change. Anyone who knows how
12524 to fix this nicely in a GObject-y way, feel free.
12526 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12528 * docs/gst/gstreamer-docs.sgml:
12529 remove probe refsection
12531 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12533 * check/Makefile.am:
12534 disable valgrinding the controller test again
12535 * docs/gst/gstreamer-sections.txt:
12536 update for api-changes
12538 2005-09-20 Wim Taymans <wim@fluendo.com>
12540 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12541 (gst_base_sink_set_property), (gst_base_sink_get_property),
12542 (gst_base_sink_do_sync):
12543 * gst/base/gstbasesink.h:
12544 Added sync property to basesink to disable clock sync.
12546 2005-09-20 Andy Wingo <wingo@pobox.com>
12548 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12549 eating the caller's refcount.
12551 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12552 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12555 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12556 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12557 of GLib 2.8 public, so we can know which refcount to check in
12560 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12561 (gst_object_init): Only set the gst refcount if we're going ahead
12562 with the refcount hack.
12564 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12566 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12567 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12568 more leaks plumbed, added more debug-logging
12572 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12574 * gst/gstmessage.c:
12575 remove include of gstmemchunk.h
12577 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12579 * gst/gstclock.c: (_gst_clock_id_free):
12580 Commit from the Political Party For More Atomic CVS Commits,
12581 so that people don't waste too much of their day fishing
12582 out obvious leaks out of massive commits.
12583 Oh, and fix a pretty damn obvious leak in the memchunk
12586 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12588 * check/Makefile.am:
12589 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12590 plug mem-leak, re-add to valgrindable tests
12592 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12595 unbreak the build for those who have chronic arthritis
12596 and typing "make check" is just too taxing on the hands
12598 2005-09-20 Andy Wingo <wingo@pobox.com>
12600 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12601 really want it out, you should fix plugins at the same time.
12603 2005-09-19 Stefan Kost <ensonic@users.sf.net>
12606 * docs/gst/gstreamer-sections.txt:
12608 added missing symbols to api docs
12609 disable ref-count hack if we have glib >= 2.8
12611 2005-09-19 David Schleef <ds@schleef.org>
12613 * docs/gst/Makefile.am: Ignore a few more internal headers
12614 * docs/gst/gstreamer-docs.sgml: Remove old sections
12615 * docs/gst/gstreamer-sections.txt: Remove old sections
12616 * docs/gst/tmpl/gstobject.sgml: update
12617 * docs/gst/tmpl/gstplugin.sgml: update
12618 * docs/gst/tmpl/gstpluginfeature.sgml: update
12619 * docs/random/ds/0.9-suggested-changes: update.
12620 * gst/Makefile.am: remove memchunk and trashstack, since they're
12622 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12623 * gst/gst.h: don't include some headers
12624 * gst/gstchildproxy.c: add gstmarshal.h
12625 * gst/gstclock.c: Don't use memchunks
12626 * gst/gstminiobject.c: Add some docs
12627 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12628 * gst/gstobject.h: same
12629 * gst/gstplugin.c: include gstmacros.h
12630 * gst/gstplugin.h: don't include gstmacros.h, since it's private
12631 * gst/gstquery.c: don't use memchunks
12632 * gst/gstregistry.c: rename gst_registry_deinit()
12633 * gst/gstregistry.h: same
12635 2005-09-19 David Schleef <ds@schleef.org>
12637 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12638 * docs/libs/gstreamer-libs-sections.txt:
12639 * docs/libs/tmpl/gstgetbits.sgml:
12640 * docs/libs/tmpl/gstputbits.sgml:
12642 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
12644 * win32/gstenumtypes.c:
12645 * win32/gstenumtypes.h:
12648 2005-09-19 Wim Taymans <wim@fluendo.com>
12650 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12651 Automatically PAUSE and RESUME a pipeline when a flushing seek
12654 2005-09-19 Andy Wingo <wingo@pobox.com>
12656 * gst/gstregistry.h: Spacing fixen.
12658 2005-09-19 Wim Taymans <wim@fluendo.com>
12660 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12661 Handle state change failure more correctly.
12663 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12665 * check/Makefile.am:
12666 * check/pipelines/cleanup.c: (run_pipeline):
12667 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12669 enable cleanup again after fixing the leak
12671 some more info on docs
12673 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12675 * check/Makefile.am:
12676 re-enable tests now that leaks are plugged
12678 * check/gst/gstbin.c:
12679 * check/gst/gstpipeline.c:
12680 add some more tests while fixing leaks
12681 * common/check.mak:
12682 make sure binaries are uptodate when valgrinding/gdbing
12684 * gst/gstelementfactory.c:
12685 remove a ref too many, and add a FIXME for when we get
12686 round to disposing of classes
12688 fix the refcounting when loading a plugin from a file and
12689 the code pretends that the pointer is the same even though
12690 of course it can change
12691 * gst/gstpluginfeature.c:
12692 unref plugins marked cached (a bit confusing as a name)
12693 as the docs state should be done
12694 various doc additions to explain refcounting
12695 * gst/gstregistry.c:
12696 * gst/gstregistryxml.c:
12699 2005-09-19 Wim Taymans <wim@fluendo.com>
12701 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12702 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12703 (send_messages), (GST_START_TEST), (gstbus_suite):
12704 * check/gst/gstpipeline.c: (GST_START_TEST):
12705 * check/pipelines/cleanup.c: (run_pipeline):
12706 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12708 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12709 (gst_bus_source_check), (gst_bus_source_dispatch),
12710 (gst_bus_create_watch), (gst_bus_add_watch_full),
12711 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12713 * tools/gst-launch.c: (event_loop):
12714 * tools/gst-md5sum.c: (event_loop):
12715 GstBusHandler -> GstBusFunc, return value has the same meaning as
12716 any other GSource (FALSE == remove source).
12717 _add_watch() and _add_watch_full() now take a MessageType mask to
12718 only handle specific types of messages.
12719 _poll() returns the GstMessage instead of the message type to avoid
12721 _have_pending() takes a MessageType mask now too.
12722 Added testsuite for multiple bus watches.
12723 Fix testsuites and applications for new bus API.
12725 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12727 * check/Makefile.am:
12728 mark a bunch of the tests as to fix until we fix them
12730 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12732 * common/check.mak:
12733 use GST_PLUGIN settings for valgrind tests as well, so we're
12734 valgrinding the correct thing
12735 * gst/gst.c: (init_post):
12738 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12740 * gst/gst.c: (init_post), (gst_deinit):
12741 * gst/gstelementfactory.c: (gst_element_factory_class_init),
12742 (gst_element_factory_finalize), (gst_element_factory_cleanup):
12743 * gst/gstindex.c: (gst_index_factory_class_init),
12744 (gst_index_factory_finalize):
12745 * gst/gstobject.c: (gst_object_dispose):
12746 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12747 (gst_plugin_load_file), (gst_plugin_desc_free):
12748 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12749 (gst_plugin_feature_finalize):
12750 * gst/gstregistry.c: (gst_registry_class_init),
12751 (gst_registry_init), (gst_registry_finalize),
12752 (gst_registry_get_default), (gst_registry_deinit):
12753 * gst/gstregistry.h:
12754 * gst/gstregistryxml.c: (load_feature), (load_plugin):
12755 various cleanups and memleak plugging. make valgrind is happy now.
12757 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12759 * common/check.mak:
12760 add a check-valgrind target
12762 2005-09-18 David Schleef <ds@schleef.org>
12764 * tools/gst-inspect.c: Revert the GOption code.
12766 2005-09-17 David Schleef <ds@schleef.org>
12768 * check/Makefile.am: Fix environment variables.
12769 * check/gst/gstplugin.c: Fix for API changes.
12770 * tools/gst-inspect.c: Fix for API changes.
12771 * tools/gst-xmlinspect.c: Fix for API changes.
12772 * gst/gstelementfactory.c:
12775 * gst/gstpluginfeature.c:
12776 * gst/gstpluginfeature.h:
12777 * gst/gstregistry.c:
12778 * gst/gstregistry.h:
12779 * gst/gstregistryxml.c:
12780 * gst/gsttypefind.c:
12781 * gst/gsttypefindfactory.c:
12782 * gst/indexers/gstfileindex.c:
12783 * gst/indexers/gstmemindex.c:
12784 * gst/schedulers/Makefile.am:
12785 Change registry to keep track of both plugins and features,
12786 removing the feature tracking from plugins themselves.
12788 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12790 * check/Makefile.am:
12791 * tools/gst-register.1.in:
12792 remove gst-register
12794 2005-09-15 David Schleef <ds@schleef.org>
12796 * check/gst/gstplugin.c:
12797 * gst/gstelementfactory.c:
12799 * gst/gstpluginfeature.c:
12800 * gst/gstregistry.c:
12801 Getting tired of debugging. Disabled all the unreffing of
12802 plugins and features, which fixes the segfaults, but of
12803 course leaks like crazy. At least playbin works.
12805 2005-09-15 David Schleef <ds@schleef.org>
12807 * check/gst/gstplugin.c: (register_check_elements),
12808 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12810 * gst/elements/gsttypefindelement.c: Fix refcounting.
12811 * gst/gsttypefind.c:
12812 * gst/gsttypefindfactory.c:
12813 * gst/gsttypefindfactory.h:
12815 2005-09-15 David Schleef <ds@schleef.org>
12817 * gst/gstindex.c: get refcounting correct.
12818 * gst/gstregistry.c: Handle the case where a feature/plugin is
12821 2005-09-15 David Schleef <ds@schleef.org>
12823 * check/Makefile.am:
12824 * check/gst/gstplugin.c: Add test
12825 * gst/gstplugin.c: Fix problems noticed by testsuite
12827 * gst/gstregistry.c:
12828 * gst/gstregistry.h:
12830 2005-09-15 David Schleef <ds@schleef.org>
12832 * gst/gstplugin.c: Implement semi-decent recounting and locking
12833 in plugins and plugin features.
12835 * gst/gstpluginfeature.c:
12836 * gst/gstpluginfeature.h:
12837 * gst/gstregistry.c:
12839 2005-09-15 Michael Smith <msmith@fluendo.com>
12841 * gst/gstregistry.c: (gst_registry_get_feature_list):
12842 Implement this. Makes oggdemux work; decodebin still broken.
12844 2005-09-14 David Schleef <ds@schleef.org>
12846 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12848 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12849 * gst/check/Makefile.am:
12850 * libs/gst/controller/Makefile.am:
12851 * libs/gst/dataprotocol/Makefile.am:
12853 2005-09-14 David Schleef <ds@schleef.org>
12855 * configure.ac: Remove getbits library. Nothing uses it, and
12856 it should be in something like liboil if someone did want
12858 * libs/gst/Makefile.am:
12859 * libs/gst/getbits/Makefile.am:
12860 * libs/gst/getbits/gbtest.c:
12861 * libs/gst/getbits/getbits.c:
12862 * libs/gst/getbits/getbits.h:
12863 * libs/gst/getbits/gstgetbits_generic.c:
12864 * libs/gst/getbits/gstgetbits_i386.s:
12865 * libs/gst/getbits/gstgetbits_inl.h:
12867 2005-09-14 David Schleef <ds@schleef.org>
12869 * gst/Makefile.am: Dist glib-compat.h
12871 2005-09-14 David Schleef <ds@schleef.org>
12873 * configure.ac: Remove gst/registries, since it's no longer used.
12874 * gst/registries/Makefile.am:
12875 * gst/registries/gstlibxmlregistry.c:
12876 * gst/registries/gstlibxmlregistry.h:
12877 * gst/registries/gstxmlregistry.c:
12878 * gst/registries/gstxmlregistry.h:
12879 * gst/registries/registrytest.c:
12881 2005-09-14 David Schleef <ds@schleef.org>
12883 * gst/glib-compat.h:
12884 * gst/gstregistryxml.c:
12885 Convergence is near. Seriously.
12887 2005-09-14 David Schleef <ds@schleef.org>
12889 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12890 * gst/glib-compat.h:
12891 Attempt #4 to appease the buildbots.
12893 2005-09-14 David Schleef <ds@schleef.org>
12895 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12898 2005-09-14 David Schleef <ds@schleef.org>
12900 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12903 2005-09-14 David Schleef <ds@schleef.org>
12905 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
12908 2005-09-14 David Schleef <ds@schleef.org>
12910 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12911 * gst/glib-compat.h: Add some functions that are in newer versions
12912 of glib than we care to require.
12913 * gst/gstregistryxml.c: Use them.
12915 2005-09-14 David Schleef <ds@schleef.org>
12917 * po/POTFILES.in: remove gst-register.c
12919 2005-09-14 David Schleef <ds@schleef.org>
12921 * docs/gst/gstreamer-docs.sgml:
12922 * docs/gst/gstreamer-sections.txt:
12923 * docs/gst/gstreamer.types:
12924 * docs/gst/tmpl/gstelement.sgml:
12925 * docs/gst/tmpl/gstplugin.sgml:
12926 * docs/gst/tmpl/gstpluginfeature.sgml:
12927 Documentation updates for registry changes.
12929 2005-09-14 David Schleef <ds@schleef.org>
12931 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
12932 because we don't require glib-2.8.
12934 2005-09-14 David Schleef <ds@schleef.org>
12936 * gst/gstregistryxml.c: Added. Essentially moved out of the
12937 registries directory.
12939 2005-09-14 David Schleef <ds@schleef.org>
12941 * check/Makefile.am:
12942 * check/generic/states.c:
12946 * gst/gst_private.h:
12947 * gst/gstelementfactory.c:
12952 * gst/gstpluginfeature.c:
12953 * gst/gstpluginfeature.h:
12954 * gst/gstregistry.c:
12955 * gst/gstregistry.h:
12956 * gst/gstregistrypool.c: remove
12957 * gst/gstregistrypool.h: remove
12958 * gst/gsttypefind.c:
12959 * gst/gsttypefindfactory.c:
12961 * tools/Makefile.am:
12962 * tools/gst-compprep.c:
12963 * tools/gst-inspect.c:
12964 * tools/gst-register.c: remove
12965 * tools/gst-xmlinspect.c:
12966 Registry rewrite. Changes registry from being a file created
12967 by a tool into a simple cache file created automatically by
12968 libgstreamer. Removed gst-register (because it's no longer
12969 needed). Remove registry pools, because we only have one
12970 registry implementation (XML). Fix up other subsystems as
12973 2005-09-13 Michael Smith <msmith@fluendo.com>
12975 * gst/gstconfig.h.in:
12976 Don't Use windows linking attributes for MinGW. Fixes #316157
12978 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
12980 * gst/gstutils.c: (set_state_async_thread_func),
12981 (gst_element_set_state_async):
12982 Apparently people think it's better if this function doesn't
12983 try to set the state to whatever state was asked for on the first
12984 call to this function for any object. Seriously.
12986 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12988 * check/gst/gstpipeline.c: (GST_START_TEST):
12989 * docs/gst/gstreamer-sections.txt:
12990 * gst/gstutils.c: (set_state_async_thread_func),
12991 (gst_element_set_state_async):
12993 add a "gst_element_set_state_async" method that
12994 sets the state and starts a thread to make sure the state
12995 change completes as best as it can
12997 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12999 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13000 codify design+behaviour in testsuite after discussion
13002 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13004 * docs/gst/tmpl/gstelement.sgml:
13005 * docs/manual/appendix-quotes.xml:
13007 * gst/gstelement.c: (gst_element_set_state):
13010 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13012 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13013 (gst_base_transform_prepare_output_buf),
13014 (gst_base_transform_handle_buffer):
13015 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13016 (gst_capsfilter_prepare_buf):
13017 Remove the requirement for sub-classes to call the parent
13018 implementation of prepare_output_buffer with a wrapper function.
13020 * gst/gsttaglist.h:
13021 * gst/gsttagsetter.h:
13022 Fix #define wrapper
13024 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13026 * docs/gst/gstreamer-sections.txt:
13029 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13031 * docs/gst/gstreamer-sections.txt:
13032 * docs/gst/tmpl/gstelement.sgml:
13033 * docs/gst/tmpl/gstplugin.sgml:
13034 * gst/gstminiobject.c:
13036 docs now stop throwing warnings
13038 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13040 * docs/gst/gstreamer-sections.txt:
13041 * docs/gst/gstreamer.types:
13042 * docs/gst/tmpl/gstpad.sgml:
13043 * docs/gst/tmpl/gsttypes.sgml:
13044 * gst/base/gstadapter.h:
13045 * gst/base/gstbasesink.h:
13046 * gst/base/gstbasesrc.h:
13052 * gst/gstelement.h:
13054 * gst/gstmessage.h:
13056 * gst/gststructure.c:
13057 * gst/registries/gstlibxmlregistry.h:
13058 various documentation fixes
13060 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13062 * docs/gst/gstreamer-sections.txt:
13063 * docs/gst/tmpl/gstvalue.sgml:
13064 rearrange gstvalue section
13065 * gst/gstutils.c: (gst_element_state_get_name):
13067 * gst/gstvalue.c: (_gst_value_initialize):
13071 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13073 * check/gst-libs/controller.c:
13074 Header include fix.
13075 * gst/base/gstbasetransform.c:
13076 (gst_base_transform_default_prepare_buf),
13077 (gst_base_transform_handle_buffer):
13078 * gst/base/gstbasetransform.h:
13079 Some more basetransform changes and fixes to enable sub-classes
13080 that modify buffer metadata only.
13081 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13082 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13083 (gst_capsfilter_prepare_buf):
13084 If the output pad has fixed allowed caps and input buffers
13085 don't have any, set the fixed caps on outgoing buffers.
13087 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13088 * check/elements/identity.c: (GST_START_TEST):
13089 Make the error a little clearer when the test fails because
13090 identity made a copy of the buffer.
13091 * docs/gst/gstreamer-sections.txt:
13092 New symbols in gstbasetransform.h
13093 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13094 (gst_base_transform_init), (gst_base_transform_transform_size),
13095 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13096 (gst_base_transform_default_prepare_buf),
13097 (gst_base_transform_get_unit_size),
13098 (gst_base_transform_buffer_alloc),
13099 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13100 (gst_base_transform_change_state),
13101 (gst_base_transform_set_passthrough),
13102 (gst_base_transform_set_in_place),
13103 (gst_base_transform_is_in_place):
13104 * gst/base/gstbasetransform.h:
13105 Change BaseTransform to separate in_place operate from same_caps
13106 output. in_place implies that the element can perform the transform
13107 on incoming buffers in-place, even if the caps on the output are
13109 Sub-class elements can now implement special buffer allocation
13110 methods for outgoing buffers if they wish to.
13111 Big documentation addition.
13112 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13113 * gst/elements/gstelements.c:
13114 Changes for basetransform modifications.
13115 * gst/elements/Makefile.am:
13116 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13117 Compile fix. Extra debug output.
13119 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13121 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13123 add tests for valid pad naming
13124 * gst/check/gstcheck.c: (gst_check_log_message_func),
13125 (gst_check_log_critical_func):
13127 remove printing of code, it is fragile when the code contains
13128 % and the line number is enough info
13129 * gst/check/gstcheck.h:
13130 * gst/gstpad.c: (gst_pad_template_new):
13133 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13136 say what CHECK flags we use
13137 * docs/libs/gstreamer-libs.types:
13138 * libs/gst/controller/Makefile.am:
13139 * libs/gst/controller/gst-controller.c:
13140 * libs/gst/controller/gst-controller.h:
13141 * libs/gst/controller/gst-helper.c:
13142 * libs/gst/controller/gst-interpolation.c:
13143 * libs/gst/controller/gstcontroller.c:
13144 * libs/gst/controller/gsthelper.c:
13145 * libs/gst/controller/gstinterpolation.c:
13146 * tools/gst-inspect.c: (print_plugin_info):
13147 we don't use dashes in header names
13149 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13151 * check/Makefile.am:
13152 * check/gst/.cvsignore:
13153 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13154 (gst_pipeline_suite), (main):
13155 adding a test for pipelines and state changes
13156 * gst/gstutils.c: (get_state_func):
13158 * gstreamer.spec.in:
13161 2005-09-08 Michael Smith <msmith@fluendo.com>
13163 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13164 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13165 (gst_file_src_is_seekable), (gst_file_src_get_size),
13166 (gst_file_src_start):
13167 * gst/elements/gstfilesrc.h:
13168 Various fixes for unseekable, unmmapable, and non-normal files, so
13169 that fallback to read() rather than mmap() works.
13170 * gst/gstevent.c: (gst_event_new_newsegment):
13171 Allow newsegment events with segment_start == segment_end, as will
13172 correctly happen if you use filesrc on a zero-size file, for
13175 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13177 * gst/gstplugin.c: (gst_plugin_load_file):
13178 Call g_module_close when we don't load the module
13180 * gst/registries/gstlibxmlregistry.c:
13181 (gst_xml_registry_get_property):
13182 Port leak fix from 0.8
13184 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13186 * docs/gst/gstreamer-docs.sgml:
13187 * docs/gst/tmpl/.cvsignore:
13188 * docs/gst/tmpl/gsttrace.sgml:
13189 * docs/gst/tmpl/gsttrashstack.sgml:
13192 * gst/gstelement.h:
13194 * gst/gstmessage.c:
13195 * gst/gstmessage.h:
13198 * gst/gsttaginterface.c:
13199 * gst/gsttaginterface.h:
13200 * gst/gsttaglist.c:
13201 * gst/gsttaglist.h:
13202 * gst/gsttagsetter.c:
13203 * gst/gsttagsetter.h:
13206 * gst/gsttrashstack.c:
13207 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13208 inlined docs for gsttrace, gsttrashstack
13210 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13213 * gst/elements/gstbufferstore.h:
13214 * gst/elements/gsttypefindelement.c:
13215 * gst/elements/gsttypefindelement.h:
13217 * gst/gsttypefind.c:
13218 * gst/gsttypefind.h:
13219 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13220 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13221 (gst_type_find_factory_dispose),
13222 (gst_type_find_factory_unload_thyself),
13223 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13224 (gst_type_find_factory_get_caps),
13225 (gst_type_find_factory_get_extensions),
13226 (gst_type_find_factory_call_function):
13227 * gst/gsttypefindfactory.h:
13228 * gst/registries/gstlibxmlregistry.c:
13229 * gst/registries/gstxmlregistry.c:
13230 splitted gsttypefind into gsttypefind, gsttypefindfactory
13232 2005-09-07 Andy Wingo <wingo@pobox.com>
13234 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13235 condition whereby the pad's task function is entered before the
13236 pad_mode variable was set.
13238 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13240 * gst/gstpad.c: (gst_pad_alloc_buffer):
13241 Catch misbehaving pad_alloc functions that don't
13242 set up caps and do it for them.
13244 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13246 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13247 test for pipe!=NULL
13248 * docs/gst/tmpl/.cvsignore:
13249 * docs/gst/tmpl/gstmemchunk.sgml:
13250 * docs/gst/tmpl/gstparse.sgml:
13251 * docs/gst/tmpl/gsttaglist.sgml:
13252 * docs/gst/tmpl/gsttagsetter.sgml:
13253 * docs/gst/tmpl/gsttypefind.sgml:
13254 * docs/gst/tmpl/gsttypefindfactory.sgml:
13255 * gst/gstmemchunk.c:
13258 * gst/gsttaginterface.c:
13259 * gst/gsttypefind.c:
13260 * gst/gsttypefind.h:
13263 === release 0.9.2 ===
13265 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13270 releasing 0.9.2, "South"
13272 2005-09-05 Andy Wingo <wingo@pobox.com>
13274 * gst/registries/gstxmlregistry.h:
13275 * gst/registries/gstxmlregistry.c: Um... resurrect...
13277 * gst/registries/gstxmlregistry.h:
13278 * gst/registries/gstxmlregistry.c: and update to newer API.
13279 Incidentally they should be a bit faster now that they don't have
13282 2005-09-05 Andy Wingo <wingo@pobox.com>
13284 * gst/registries/gstxmlregistry.h:
13285 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13286 replaced by the libxml registry a while back
13288 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13290 * docs/gst/tmpl/gstplugin.sgml:
13291 * gst/elements/gstelements.c:
13293 * gst/gstplugin.c: (gst_plugin_register_func),
13294 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13295 (gst_plugin_get_source):
13297 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13298 (gst_xml_registry_save_plugin):
13299 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13300 (gst_xml_registry_save_plugin):
13301 * tools/gst-inspect.c: (print_plugin_info):
13302 add a "source" plugin description field, to represent the source
13303 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13304 will set it to PACKAGE, which is automake's idea of the name of
13305 the source project.
13307 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13312 * docs/Makefile.am:
13313 * docs/faq/Makefile.am:
13314 * docs/gst/tmpl/gstelement.sgml:
13315 * docs/gst/tmpl/gsttypes.sgml:
13316 * docs/htmlinstall.mak:
13317 * docs/manual/Makefile.am:
13318 * docs/pwg/Makefile.am:
13319 reorganize doc build a little
13320 split out docbook and gtk-doc stuff
13321 have two separate --enable's and enable them through autogen
13322 but disable by default in configure (to be similar to other
13324 * gstreamer.spec.in:
13325 clean up docs install
13343 translation updates
13345 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13347 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13350 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13351 (gst_fake_sink_change_state):
13352 Make state change function thread-safe.
13354 * gst/gstpad.c: (gst_pad_alloc_buffer):
13355 Set offset on generic buffer allocated by fallback.
13357 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13359 * docs/gst/gstreamer-sections.txt:
13360 * docs/gst/tmpl/gstelement.sgml:
13362 * libs/gst/controller/gst-controller.c:
13363 (gst_controlled_property_set_interpolation_mode),
13364 (gst_controlled_property_new),
13365 (gst_controller_find_controlled_property):
13366 run the wingo-magic script against the docs
13368 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13370 * docs/gst/gstreamer-docs.sgml:
13371 * docs/gst/gstreamer-sections.txt:
13372 * docs/gst/tmpl/.cvsignore:
13373 * docs/gst/tmpl/gstelementdetails.sgml:
13374 * docs/gst/tmpl/gstelementfactory.sgml:
13377 * gst/gstelementfactory.c:
13378 * gst/gstelementfactory.h:
13379 merged elementdetails docs into elementfactory docs
13382 2005-09-02 Andy Wingo <wingo@pobox.com>
13384 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13385 consider this enum an enum and not a flags.
13387 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13389 * docs/gst/gstreamer-docs.sgml:
13390 * docs/gst/tmpl/.cvsignore:
13391 * docs/gst/tmpl/gstghostpad.sgml:
13392 * docs/gst/tmpl/gstiterator.sgml:
13393 * docs/gst/tmpl/gstmacros.sgml:
13394 * docs/gst/tmpl/gstrealpad.sgml:
13395 * docs/gst/tmpl/gstregistry.sgml:
13396 * docs/gst/tmpl/gstregistrypool.sgml:
13397 * docs/gst/tmpl/gststructure.sgml:
13398 * docs/gst/tmpl/gstsystemclock.sgml:
13399 * docs/gst/tmpl/gsttrace.sgml:
13400 * gst/gstghostpad.c:
13402 * gst/gstmemchunk.c:
13403 * gst/gstmemchunk.h:
13405 * gst/gstregistry.c:
13406 * gst/gstregistrypool.c:
13407 * gst/gststructure.c:
13408 * gst/gstsystemclock.c:
13411 2005-09-02 Andy Wingo <wingo@pobox.com>
13413 * gst/gstelement.h (GstState): Renamed from GstElementState,
13414 changed to be a normal enum instead of flags.
13415 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13416 munged to be GST_STATE_CHANGE_*.
13417 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13418 work with the new state representation.
13419 (GstStateChange): New enumeration of possible state transitions.
13420 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13421 (GstElementClass::change_state): Pass the GstStateChange along as
13422 an argument. Helps language bindings, so they don't have to use
13423 tricky lock-needing macros like GST_STATE_CHANGE ().
13425 * scripts/update-states (file): New script. Run it on a file to
13426 update it for state naming and API changes. Updates files in
13429 * All files updated for the new API.
13431 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13433 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13434 * gst/gstutils.c: (gst_util_set_value_from_string),
13435 (gst_util_set_object_arg):
13436 fix a bunch of unchecked return values
13437 * tools/gst-complete.c: (main):
13438 * gstreamer.spec.in:
13441 2005-09-01 Wim Taymans <wim@fluendo.com>
13443 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13444 (gst_base_sink_event), (gst_base_sink_do_sync),
13445 (gst_base_sink_handle_event):
13446 * gst/base/gstbasesink.h:
13447 Handle newsegments more correctly.
13452 * gst/gstevent.c: (gst_event_new_newsegment):
13453 A newsegment cannot have a start_time of -1
13455 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13457 * win32/gstenumtypes.c:
13458 * win32/gstenumtypes.h:
13461 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13463 * libs/gst/controller/gst-controller.c:
13464 (gst_controlled_property_set_interpolation_mode),
13465 (gst_controlled_property_new):
13466 fixed boolean again
13468 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13470 * docs/faq/gst-uninstalled:
13475 * gst/gstutils.c: (gst_element_link_filtered):
13477 add gst_element_link_filtered
13479 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13481 * docs/gst/gstreamer-docs.sgml:
13482 * docs/gst/gstreamer-sections.txt:
13483 * docs/gst/tmpl/.cvsignore:
13484 * docs/gst/tmpl/gsterror.sgml:
13485 * docs/gst/tmpl/gstfilter.sgml:
13486 * docs/gst/tmpl/gsturihandler.sgml:
13487 * docs/gst/tmpl/gsturitype.sgml:
13488 * docs/gst/tmpl/gstutils.sgml:
13489 * docs/gst/tmpl/gstxml.sgml:
13494 * gst/gsturitype.c:
13497 inlined more docs, fixed double id-ref
13499 2005-08-31 Wim Taymans <wim@fluendo.com>
13501 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13502 (gst_base_transform_handle_buffer):
13503 Passthrough elements don't need the caps as they don't care.
13505 2005-08-31 Wim Taymans <wim@fluendo.com>
13507 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13508 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13509 Don't leak refcounts on buffers.
13511 2005-08-31 Wim Taymans <wim@fluendo.com>
13513 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13514 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13515 (gst_base_transform_chain), (gst_base_transform_change_state):
13516 * gst/base/gstbasetransform.h:
13517 Handle the case where we are not negotiated more gracefully.
13519 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13521 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13522 (gst_file_src_map_region):
13523 Set READONLY flag on mmap'ed buffers, otherwise
13524 gst_buffer_make_writable() won't work properly (#314708).
13526 2005-08-31 Wim Taymans <wim@fluendo.com>
13528 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13529 passthrough elements can even do inplace on non writable
13530 buffers (as they don't touch them).
13532 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13534 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13535 (gst_test_mono_source_set_property),
13536 (gst_test_mono_source_class_init), (GST_START_TEST),
13537 (gst_controller_suite):
13538 more tests (hehe I have the most)
13540 describe popping messages whenusing mulltiple sources
13541 * libs/gst/controller/gst-controller.c:
13542 (gst_controlled_property_set_interpolation_mode),
13543 (gst_controlled_property_new):
13544 * libs/gst/controller/gst-controller.h:
13545 * libs/gst/controller/gst-interpolation.c:
13546 implement boolean properties
13548 2005-08-31 Wim Taymans <wim@fluendo.com>
13550 * gst/gstminiobject.c: (gst_mini_object_ref):
13551 Cannot assert that the refcount has to be positive
13552 since a disposed object can be resurrected.
13554 2005-08-31 Wim Taymans <wim@fluendo.com>
13556 * gst/gstpad.c: (gst_pad_init):
13557 Revert change, need to first fix badly behaving
13560 2005-08-30 Wim Taymans <wim@fluendo.com>
13562 * check/elements/fakesrc.c: (setup_fakesrc):
13563 * check/elements/identity.c: (setup_identity):
13564 Activate pads before using them.
13566 2005-08-30 Wim Taymans <wim@fluendo.com>
13568 * gst/base/gstadapter.c: (gst_adapter_flush):
13569 Flushing out 0 bytes is ok for this function.
13571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13572 no newsegment gives a warning and sets the start/stop to
13575 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13576 (gst_base_transform_set_passthrough):
13579 * gst/gstminiobject.c: (gst_mini_object_ref):
13580 Check refcount here too.
13582 * gst/gstpad.c: (gst_pad_init):
13583 Pads are initially flushing and refusing data.
13585 * gst/gstutils.c: (gst_element_link_pads_filtered):
13586 When adding a capsfilter element make sure it has the
13587 same state as the parent bin.
13589 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13591 * docs/gst/tmpl/.cvsignore:
13592 * docs/gst/tmpl/gstformat.sgml:
13593 * docs/gst/tmpl/gstversion.sgml:
13597 * gst/gstversion.h.in:
13598 more docs and two more inlined
13600 2005-08-30 Wim Taymans <wim@fluendo.com>
13602 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13603 Don't sync to clock.
13605 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13607 * docs/gst/gstreamer-sections.txt:
13608 ultral33t func10ns deserve to appear in the docs actually
13609 * docs/gst/tmpl/.cvsignore:
13610 * docs/gst/tmpl/gstcompat.sgml:
13611 * docs/gst/tmpl/gstconfig.sgml:
13612 * gst/check/gstcheck.c:
13614 * gst/gstconfig.h.in:
13617 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13619 * docs/gst/tmpl/.cvsignore:
13620 * docs/gst/tmpl/gstquery.sgml:
13621 * docs/gst/tmpl/gstutils.sgml:
13624 inlined and extended docs
13626 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13628 * check/gst-libs/controller.c: (GST_START_TEST),
13629 (gst_controller_suite):
13631 * docs/gst/tmpl/gstutils.sgml:
13632 * docs/libs/gstreamer-libs-sections.txt:
13633 * docs/libs/tmpl/gstdataprotocol.sgml:
13635 * examples/controller/audio-example.c: (main):
13636 controller example works now
13639 * tools/gst-inspect.c: (print_element_properties_info):
13640 show param spec flags
13642 2005-08-29 Andy Wingo <wingo@pobox.com>
13644 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13646 2005-08-28 Andy Wingo <wingo@pobox.com>
13648 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13649 as having two arguments instead of just one. Allows superclasses
13650 to access information on subclasses -- see the terrible for() loop
13651 in gtype.c:g_type_create_instance for the reason why. All callers
13654 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13656 * docs/design/part-messages.txt:
13658 * docs/gst/tmpl/.cvsignore:
13659 * docs/gst/tmpl/gstcaps.sgml:
13660 * docs/gst/tmpl/gstclock.sgml:
13666 * gst/gstmessage.c:
13667 added descriptions for bus and message
13668 inline caps and clock docs
13670 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13672 * gst/gstmessage.c:
13673 * gst/gstmessage.h:
13676 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13678 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13681 2005-08-26 Andy Wingo <wingo@pobox.com>
13683 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13684 element_set_state's return val.
13685 (test_2_elements): Add test that's been disabled for months.
13687 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13688 can-activate-pull properties.
13690 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13691 can-activate-pull properties. Implement is_seekable so fakesrc can
13692 operate in pull mode.
13694 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13696 (gst_base_sink_activate, gst_base_sink_activate_pull)
13697 (gst_base_sink_activate_push): Make activation mode choosing work.
13699 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13700 is right. Make pull mode work. Post an eos before pausing in pull
13702 (gst_base_sink_change_state): Pay attention to the core's
13703 change_state() return val.
13705 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13706 has-getrange properties. Cleanups.
13708 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13709 has_getrange and replace with can_activate_pull and
13712 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13713 locking comments. Remove has_loop, has_chain and replace with
13714 can_activate_pull and can_activate_push.
13716 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
13719 * examples/Makefile.am:
13720 * examples/metadata/Makefile.am:
13721 * examples/metadata/read-metadata.c: (message_loop),
13722 (have_pad_handler), (make_pipeline), (print_tag), (main):
13723 Add metadata reading example that loops over a list of filenames,
13724 dumping any tags found.
13726 * gst/gstbus.c: (gst_bus_dispose):
13727 * gst/gstelement.c: (gst_element_dispose):
13728 Release a few potentially-held references in dispose.
13730 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13732 * docs/gst/tmpl/gstminiobject.sgml:
13733 do *not* add tmpl/*.sgml files to CVS!
13735 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13737 * libs/gst/bytestream/.cvsignore:
13738 * libs/gst/bytestream/Makefile.am:
13739 * libs/gst/bytestream/adapter.c:
13740 * libs/gst/bytestream/adapter.h:
13741 * libs/gst/bytestream/bytestream.c:
13742 * libs/gst/bytestream/bytestream.h:
13743 * libs/gst/bytestream/filepad.c:
13744 * libs/gst/bytestream/filepad.h:
13745 removing obsolete files
13747 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13749 * docs/gst/gstreamer-docs.sgml:
13750 * docs/libs/gstreamer-libs-docs.sgml:
13751 disabed additional index entries again, as this makes docs-gen just
13752 slow and they aren't useful yet
13753 * docs/libs/gstreamer-libs-sections.txt:
13754 little -section.txt cleanup for libs
13756 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
13758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13759 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13760 fix up some debugging
13761 (gst_base_transform_get_unit_size),
13762 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13763 (gst_base_transform_handle_buffer):
13764 * gst/base/gstbasetransform.h:
13765 handle and store timed NEWSEGMENT events so that subclasses that
13766 calculate time by counting samples have a segment_start time they
13767 need to add to their timestamps - see audioresample
13769 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13772 removed ';' from the end of macro defs
13773 * docs/gst/gstreamer-docs.sgml:
13774 * docs/gst/gstreamer-sections.txt:
13775 * docs/gst/tmpl/.cvsignore:
13777 * gst/gstelement.c: (gst_element_class_init),
13778 (gst_element_set_state), (activate_pads),
13779 (gst_element_save_thyself):
13780 * gst/gstevent.c: (gst_event_new_newsegment):
13782 * gst/gstiterator.c:
13783 * gst/gstiterator.h:
13786 * gst/gstutils.c: (gst_pad_query_convert):
13788 fixed parameter name mismatches between source, header and docs
13789 added some more docs, resolved the last batch of unused elements in
13790 docs (now someone needs to doc them)
13792 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13794 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13795 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13796 don't walk through the plugins backwards. Where is all this
13797 reversed logic coming from ?
13799 2005-08-25 Wim Taymans <wim@fluendo.com>
13801 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13802 (gst_base_transform_transform_size),
13803 (gst_base_transform_configure_caps),
13804 (gst_base_transform_get_unit_size),
13805 (gst_base_transform_buffer_alloc),
13806 (gst_base_transform_change_state):
13807 * gst/base/gstbasetransform.h:
13808 Cache caps unit_size.
13809 Make sure we cannot negotiate up and downstream at the
13812 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13814 * gst/gst.c: (init_pre), (init_post):
13815 register the installed plugin path after the env var
13816 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13817 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13818 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13819 directories, so the tests can prefer uninstalled over installed
13821 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13823 * gst/base/gstbasetransform.h:
13828 2005-08-25 Wim Taymans <wim@fluendo.com>
13830 * gst/gstbin.c: (bin_bus_handler):
13831 Be a bit more conservative about the posted message.
13833 * gst/gstbus.c: (gst_bus_post):
13834 Some cleanups, warn wrong return values.
13836 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
13838 * check/gst/gstbin.c: (GST_START_TEST):
13839 * gst/gstbin.c: (bin_bus_handler):
13840 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13841 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13842 (gst_message_new_warning), (gst_message_new_tag),
13843 (gst_message_new_state_changed), (gst_message_new_segment_start),
13844 (gst_message_new_segment_done), (gst_message_new_custom):
13845 * gst/gstmessage.h:
13846 * tools/gst-launch.c: (event_loop):
13847 * tools/gst-md5sum.c: (event_loop):
13848 Revert unpopular change for GST_MESSAGE_SRC to GObject.
13850 2005-08-25 Wim Taymans <wim@fluendo.com>
13852 * check/generic/states.c: (GST_START_TEST):
13853 Cleanup can be done at the end.
13855 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13856 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13857 (gst_task_get_state), (gst_task_start), (gst_task_pause):
13858 Oh boy.. Thanks for finding this, Thomas.
13860 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13862 * docs/gst/gstreamer.types:
13863 added missing types
13865 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13867 * docs/gst/gstreamer-docs.sgml:
13868 * docs/gst/gstreamer-sections.txt:
13869 * docs/gst/tmpl/.cvsignore:
13871 * gst/gstiterator.c:
13873 * gst/registries/gstxmlregistry.h:
13874 added missing classes and symbols (123 more to go)
13875 removed removed symbols from section file
13876 fixed many doc-comments
13878 2005-08-24 Wim Taymans <wim@fluendo.com>
13880 * check/generic/states.c: (GST_START_TEST):
13881 Make sure all tasks are stopped.
13883 * check/gst/gstbin.c: (GST_START_TEST):
13884 Unref after usage for proper valgrinding.
13886 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13887 Really wait for the task to stop before destroying the
13890 * gst/gstqueue.c: (gst_queue_sink_activate_push),
13891 (gst_queue_src_activate_push):
13892 Small cleanups. Don't stop the task when we did not start
13895 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13896 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13897 (gst_task_get_state), (gst_task_start), (gst_task_pause),
13900 Protect the stream lock with the object lock.
13901 Disallow setting the stream lock when running.
13902 Add cleanup_all to wait for the threadpool to finish.
13903 Remove code to autoallocate a mutex if none was provided.
13904 Add _join() to wait for a task to stop.
13905 Protect the thread pool with a global lock.
13907 2005-08-24 Wim Taymans <wim@fluendo.com>
13909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13910 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13911 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
13912 * gst/base/gstbasesink.h:
13913 Handle newsegment events correctly.
13914 Drop buffers out of the segment range.
13916 2005-08-22 Andy Wingo <wingo@pobox.com>
13918 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
13919 macro, implements an interface and gstimplementsinterface for a
13922 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
13924 * check/Makefile.am:
13925 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
13926 add a test that does a bunch of state changes on elements
13927 needs some fixing for valgrind
13928 * check/states/sinks.c: (gst_object_suite):
13931 add prototype for gst_caps_is_equal_fixed
13933 * gst/gstregistrypool.c:
13936 2005-08-24 Andy Wingo <wingo@pobox.com>
13938 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
13939 convert a negative value. Doesn't make much sense. Mostly this is
13940 here to force callers to ensure -1 maps to -1.
13942 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13944 * docs/pwg/advanced-types.xml:
13945 Well done to Michael for catching my deliberate introduction
13946 of this spelling mistake.
13947 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
13948 * gst/gstelement.h:
13949 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
13950 unlink pads before removing the element from the bin.
13952 2005-08-24 Andy Wingo <wingo@pobox.com>
13954 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
13955 the same thing as GST_DEBUG=*:4.
13956 (parse_debug_level, parse_debug_category): New helper parsers.
13958 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
13960 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13961 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
13962 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
13963 (gst_base_transform_buffer_alloc),
13964 (gst_base_transform_handle_buffer):
13965 use gboolean return values and pointers to size so we can use the
13966 full GST_BUFFER_SIZE range (guint) for buffer sizes
13967 use GstPadDirection for transform_caps
13968 * gst/base/gstbasetransform.h:
13969 rename get_size to get_unit_size since that's what it is
13970 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13971 use GstPadDirection for transform_caps
13972 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13974 cleanup and debugging
13976 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13978 * gst/gstelement.c: (gst_element_class_init),
13979 (gst_element_set_state), (activate_pads),
13980 (gst_element_save_thyself):
13981 * tools/gst-compprep.c: (main):
13982 * tools/gst-inspect.c: (print_element_properties_info):
13983 * tools/gst-xmlinspect.c: (print_element_properties):
13984 Fixed long standing mem-leak
13986 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13988 * check/gst/gstbin.c: (GST_START_TEST):
13989 * gst/gstbin.c: (bin_bus_handler):
13990 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13991 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13992 (gst_message_new_warning), (gst_message_new_tag),
13993 (gst_message_new_state_changed), (gst_message_new_segment_start),
13994 (gst_message_new_segment_done), (gst_message_new_custom):
13995 * gst/gstmessage.h:
13996 * tools/gst-launch.c: (event_loop):
13997 * tools/gst-md5sum.c: (event_loop):
13998 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13999 that applications can sensibly post custom messages with references
14000 to their own objects.
14002 2005-08-24 Andy Wingo <wingo@pobox.com>
14004 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14007 2005-08-24 Wim Taymans <wim@fluendo.com>
14009 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14010 (gst_base_transform_transform_caps),
14011 (gst_base_transform_transform_size),
14012 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14013 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14014 (gst_base_transform_handle_buffer):
14015 * gst/base/gstbasetransform.h:
14016 Many fixes and new features added by Thomas. Can now also do
14017 transforms with variable sizes and a custom fixate_caps function.
14019 2005-08-24 Wim Taymans <wim@fluendo.com>
14021 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14025 Cast to ClockTime before formatting to time.
14030 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14032 * check/gst-libs/controller.c: (GST_START_TEST),
14033 (gst_controller_suite):
14034 * docs/gst/tmpl/gstcaps.sgml:
14035 * docs/gst/tmpl/gstghostpad.sgml:
14036 * docs/gst/tmpl/gstquery.sgml:
14037 * docs/gst/tmpl/gstutils.sgml:
14038 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14039 (gst_object_sink_values), (gst_object_get_value_arrays),
14040 (gst_object_get_value_array):
14041 gracefully handle helper method calls to objects that are not beeing
14042 controlled, added test case for that
14044 2005-08-23 Wim Taymans <wim@fluendo.com>
14046 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14047 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14048 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14049 (gst_event_parse_qos), (gst_event_new_seek),
14050 (gst_event_parse_seek):
14052 Some more debugging output and doc cleanups.
14054 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14055 Fix possible deadlock.
14057 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14059 * docs/gst/gstreamer-docs.sgml:
14060 * docs/gst/gstreamer-sections.txt:
14061 * docs/gst/gstreamer.types:
14062 * docs/gst/tmpl/.cvsignore:
14065 * gst/gstelement.c:
14067 added 100 symbols from gstreamer-unused.txt to the right sections
14068 fixed more broken comments
14069 added GstBus to docs
14071 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14073 * docs/gst/gstreamer-sections.txt:
14074 * docs/gst/tmpl/.cvsignore:
14075 * docs/gst/tmpl/gstbin.sgml:
14076 * docs/gst/tmpl/gstbuffer.sgml:
14077 * gst/base/gstbasesrc.c:
14078 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14081 * tools/gst-launch.1.in:
14082 inlined more doc comments, added missing comments and fixed comments
14085 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14087 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14091 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14093 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14094 * gst/gststructure.h:
14095 add a fixate function for booleans; add a FIXME that these func
14096 names should probably be gst_structure_fixate_*
14098 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14100 * docs/gst/gstreamer-docs.sgml:
14101 * docs/gst/gstreamer-sections.txt:
14103 * gst/gstbin.c: (gst_bin_get_type),
14104 (gst_bin_child_proxy_get_child_by_index),
14105 (gst_bin_child_proxy_get_children_count),
14106 (gst_bin_child_proxy_init):
14107 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14108 (gst_child_proxy_get_child_by_index),
14109 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14110 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14111 (gst_child_proxy_get), (gst_child_proxy_set_property),
14112 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14113 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14114 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14115 * gst/gstchildproxy.h:
14116 * gst/parse/grammar.y:
14117 * tools/gst-inspect.c: (print_interfaces),
14118 (print_element_properties_info), (print_element_info):
14119 ported gstchildproxy over from 0.8
14120 ported gst-inspect fixes and enhancements over from 0.8
14122 2005-08-22 Wim Taymans <wim@fluendo.com>
14124 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14125 (gst_base_transform_handle_buffer):
14126 Also call the transform function if we have ANY caps.
14128 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14131 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14133 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14134 Don't pretend to handle seek events if the source is not seekable
14136 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14139 Remove extra parameter to debug output
14141 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14142 (gst_base_src_do_seek), (gst_base_src_activate_push):
14143 Fix seek event handling.
14145 * gst/gstpipeline.c: (gst_pipeline_change_state):
14146 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14147 (gst_queue_src_activate_push):
14148 Don't start the src pad task on FLUSH_STOP if the pad
14152 2005-08-22 Wim Taymans <wim@fluendo.com>
14154 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14155 Added check for gst_static_caps_get() refcounting.
14157 2005-08-22 Wim Taymans <wim@fluendo.com>
14159 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14160 Make _static_caps_get() refcounting sane.
14162 * gst/gstelement.c: (gst_element_set_state):
14163 Add g_return_val_if_fail() to protect against segfaults.
14165 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14167 * docs/gst/tmpl/gstevent.sgml:
14170 inlined remaining docs, added missing doc comments
14172 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14174 * check/gst/gstbin.c: (GST_START_TEST):
14175 since we don't know when preroll is done, use refcount range
14177 * gst/check/gstcheck.h:
14178 add macro for checking refcount range
14180 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14182 * check/Makefile.am:
14183 clean up environment for when registry gets built versus
14184 when actual tests are run; valgrind seems to not report
14185 leaks if GST_PLUGIN_PATH is set to some specific values
14186 * check/gst/gstbin.c: (GST_START_TEST):
14187 add more refcounting checks; maybe this exposes a
14189 * common/check.mak:
14190 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14191 * gst/check/gstcheck.h:
14192 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14193 (gst_bin_change_state):
14194 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14195 add/fix debugging/whitespace
14197 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14199 * check/gst/gstevent.c: (event_probe), (test_event),
14201 Er, don't call gst_bin_watch_for_state_change you idiot.
14203 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14205 * check/Makefile.am:
14206 Use CHECK_CFLAGS and CHECK_LIBS
14207 * check/gst/gstevent.c: (event_probe), (test_event),
14210 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14211 (gst_base_src_start), (gst_base_src_stop),
14212 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14213 (gst_base_src_change_state):
14214 Sprinkle gst_base_src_stop liberally around error paths to fix
14215 problems reusing a source after failed state changes.
14216 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14217 (helper_find_suggest), (gst_type_find_helper):
14218 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14220 * docs/gst/tmpl/gstevent.sgml:
14221 Migrate part of the docs from the SGML file. Wait for ensonic to
14222 tell me how I did it wrong ;)
14223 * tools/gst-typefind.c: (main):
14224 Extra robustness to state changes between files.
14226 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14228 * check/Makefile.am:
14229 don't valgrind the controller test - it's leaking - Stefan, HELP
14230 * gst/check/gstcheck.c: (gst_check_message_error),
14231 (gst_check_chain_func), (gst_check_setup_element),
14232 (gst_check_teardown_element), (gst_check_setup_src_pad),
14233 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14234 (gst_check_teardown_sink_pad):
14235 * gst/check/gstcheck.h:
14236 add a bunch of methods to set up elements, and src and sink pads
14237 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14238 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14241 * gst/gstmessage.c:
14243 whitespace/doc fixes
14245 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14247 * gst/gstelement.h:
14248 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14249 be handled by the application and not always printed as well
14251 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14253 * check/Makefile.am:
14255 * gst/check/gstcheck.c: (gst_check_message_error):
14256 * gst/check/gstcheck.h:
14257 add a fail_unless_equals_int
14258 add fail_unless for error messages
14260 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14262 * check/Makefile.am:
14264 * common/Makefile.am:
14265 * common/check.mak:
14267 factor out some of the common stuff so we can use it
14269 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14271 * check/Makefile.am:
14272 * check/gst/gstiterator.c: (GST_START_TEST):
14273 * check/gst/gstsystemclock.c: (GST_START_TEST),
14274 (gst_systemclock_suite):
14275 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14277 valgrind more tests
14279 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14281 * check/elements/.cvsignore:
14282 * check/elements/gstfakesrc.c:
14283 rename to name of element
14284 * check/elements/identity.c: (chain_func), (event_func),
14285 (setup_identity), (cleanup_identity), (GST_START_TEST),
14286 (identity_suite), (main):
14287 add a test for identity
14288 * check/Makefile.am:
14289 * pkgconfig/Makefile.am:
14290 * pkgconfig/gstreamer-check.pc.in:
14291 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14295 move the check stuff to a library that gets installed
14296 * check/gst-libs/controller.c: (GST_START_TEST):
14297 * check/gst-libs/gdp.c:
14298 * check/gst/gst.c: (GST_START_TEST):
14299 * check/gst/gstbin.c:
14300 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14301 * check/gst/gstbus.c:
14302 * check/gst/gstcaps.c: (GST_START_TEST):
14303 * check/gst/gstelement.c:
14304 * check/gst/gstghostpad.c:
14305 * check/gst/gstiterator.c:
14306 * check/gst/gstmessage.c:
14307 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14308 * check/gst/gstobject.c:
14309 * check/gst/gstpad.c: (GST_START_TEST):
14310 * check/gst/gststructure.c: (GST_START_TEST):
14311 * check/gst/gstsystemclock.c: (GST_START_TEST),
14312 (gst_systemclock_suite):
14313 * check/gst/gsttag.c: (gst_tag_suite):
14314 * check/gst/gstvalue.c:
14315 * check/pipelines/cleanup.c:
14316 * check/pipelines/simple_launch_lines.c:
14317 * check/states/sinks.c:
14318 change include statement
14320 * docs/gst/gstreamer-sections.txt:
14321 * docs/gst/tmpl/gstpad.sgml:
14322 document more pad stuff
14323 * gst/gstminiobject.c: (gst_mini_object_ref),
14324 (gst_mini_object_unref):
14327 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14329 * docs/gst/tmpl/gst.sgml:
14331 eliminate another tmpl file, fix spelling in the long-description
14333 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14335 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14336 (test_event), (timediff), (gstevents_suite):
14337 Should fix build on 64-bit arch's
14339 2005-08-18 Andy Wingo <wingo@pobox.com>
14341 Make sure that when a pipeline goes to PLAYING, that data has
14342 actually hit the sink.
14344 * check/states/sinks.c (test_sink): A sink that doesn't get any
14345 data shouldn't return SUCCESS for going to either PLAYING or
14346 PAUSED. Test also the return values on the way back down.
14348 * gst/gstelement.c (gst_element_set_state): When changing the
14349 state of an element currently changing state asynchronously, go to
14350 lost-state after commiting the pending state. Makes future calls
14351 to get_state continue to return ASYNC.
14353 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14354 ASYNC when going to PLAYING if we still don't have preroll, as can
14355 happen with live sources.
14357 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14359 * docs/pwg/advanced-types.xml:
14360 Hack long paragraph into 2 chunks as a workaround for buggy
14361 jadetex version in sid and breezy that loops infinitely and
14364 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14366 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14367 (test_event), (timediff), (gstevents_suite):
14368 Provide more error margin in clock measurements to allow for
14369 g_get_current_time inaccuracies.
14371 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14373 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14374 (test_event), (timediff), (gstevents_suite):
14375 Fix error message output so I might be able to tell why the
14376 test works here but fails on the build farm.
14378 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14380 * check/Makefile.am:
14381 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14382 (test_event), (timediff), (gstevents_suite), (main):
14385 * docs/design/part-seeking.txt:
14386 Spelling correction
14388 * docs/gst/tmpl/gstevent.sgml:
14389 * docs/gst/tmpl/gstfakesrc.sgml:
14392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14393 Treat a buffer-without-newsegment the same as a receiving
14394 a newsegment not in time format, and disable syncing to the clock
14397 * gst/gstbus.c: (gst_bus_set_sync_handler):
14398 Assert if anyone tries to replace the existing sync_handler for bus,
14399 as only the owner should be setting it.
14402 Have a fixed set of custom event enums with events identified by
14403 their structure name (as in 0.8), rather than a free-for-all
14404 allowing collisions between enum values from different plugins.
14406 * gst/gstpad.c: (gst_pad_class_init):
14409 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14410 Handle out-of-band downstream events from the sending thread.
14412 2005-08-17 Andy Wingo <wingo@pobox.com>
14414 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14415 play-timeout==0 to mean no timeout at all. In that case, don't
14416 bother with a get_state or a warning, just return directly, even
14419 * gst/base/gstbasetransform.c: Debug changes.
14422 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14423 ensure bins post state change messages. A bit of a hack but I can't
14424 think of a way to avoid it.
14426 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14428 2005-08-16 Andy Wingo <wingo@pobox.com>
14430 * gst/base/gstadapter.h:
14431 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14432 peek() but you own the data. Not terribly efficient atm.
14434 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14436 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14437 (gst_element_found_tags):
14439 Add two utility functions for tag handling.
14441 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14443 * docs/manual/advanced-dataaccess.xml:
14444 * docs/manual/basics-helloworld.xml:
14445 Fix docs to use _bin_add() before _link(), which fixes the examples
14446 with recent core versions (reported by Madhan Raj M
14447 <raj_madan@rediffmail.com>, #313199).
14449 2005-08-16 Wim Taymans <wim@fluendo.com>
14451 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14452 Added subtract checks.
14454 * docs/design/part-events.txt:
14455 Some more docs about newsegment
14457 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14460 * gst/gstcaps.c: (gst_caps_to_string):
14461 Add comments, cleanups.
14463 * gst/gstelement.c: (gst_element_save_thyself):
14466 * gst/gstvalue.c: (gst_value_collect_int_range),
14467 (gst_string_unwrap), (gst_value_union_int_int_range),
14468 (gst_value_union_int_range_int_range),
14469 (gst_value_intersect_int_int_range),
14470 (gst_value_intersect_int_range_int_range),
14471 (gst_value_intersect_double_double_range),
14472 (gst_value_intersect_double_range_double_range),
14473 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14474 (gst_value_subtract_int_range_int),
14475 (gst_value_subtract_double_range_double),
14476 (gst_value_subtract_double_range_double_range),
14477 (gst_value_subtract_from_list), (gst_value_subtract_list),
14478 (gst_value_can_compare), (gst_value_compare_fraction):
14479 Cleanups, add comments, remove unneeded asserts.
14481 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14483 * tools/gst-launch.c: (event_loop):
14484 don't convert NULL structures to strings
14486 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14488 * docs/gst/gstreamer-sections.txt:
14489 made some defines private
14490 * docs/gst/tmpl/gstconfig.sgml:
14491 * docs/gst/tmpl/gstqueue.sgml:
14492 * docs/gst/tmpl/gsttaglist.sgml:
14493 * docs/gst/tmpl/gsttypes.sgml:
14494 * docs/gst/tmpl/gstutils.sgml:
14495 * docs/pwg/appendix-porting.xml:
14496 * gst/base/gstbasesink.h:
14497 * gst/base/gstbasesrc.c:
14498 * gst/base/gstbasesrc.h:
14499 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14500 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14501 * gst/gstelement.c: (gst_element_class_init):
14502 * gst/gstpad.c: (gst_pad_class_init):
14503 * gst/gstqueue.c: (gst_queue_class_init):
14504 * gst/gstxml.c: (gst_xml_class_init):
14505 documented all undocumented signal inline
14506 * libs/gst/controller/gst-controller.h:
14509 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14511 * docs/pwg/appendix-porting.xml:
14512 Document _set_link_function -> _set_setcaps_function.
14514 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14516 * check/Makefile.am:
14517 add a .check target for running the check
14518 * check/gst-libs/controller.c: (GST_START_TEST):
14520 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14521 complete checks for gstbuffer; would be nice if I could get the
14522 gcov stuff to work so I can see if I actually completed gstbuffer.c
14523 * check/gstcheck.h:
14524 add ASSERT_BUFFER_REFCOUNT
14526 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14528 * docs/gst/gstreamer-sections.txt:
14529 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14531 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14532 spew out a warning if a tag that is already registered
14533 is re-registered, unless it is re-registered with a
14534 different type (#308438).
14536 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14538 * docs/pwg/appendix-porting.xml:
14539 * docs/pwg/building-state.xml:
14540 Add some paragraphs about state changes in 0.9 to the PWG
14541 and the porting guide, in particular about the new meaning
14542 of GST_STATE_PAUSED and how to write state change functions
14543 with concurrent access by multiple threads in mind.
14545 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14547 * docs/gst/gstreamer-docs.sgml:
14548 * docs/libs/gstreamer-libs-docs.sgml:
14549 added deprecation and since indexes
14550 * libs/gst/controller/gst-controller.c:
14551 * libs/gst/controller/gst-helper.c:
14555 2005-08-11 Wim Taymans <wim@fluendo.com>
14557 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14558 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14559 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14560 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14561 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14562 (gst_ghost_pad_set_target):
14563 Actually implement (re)setting the target on a ghostpad
14564 as described in the docs.
14566 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14568 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14569 Check whether GST_DEBUG_NO_COLOR environment variable is
14570 set and disable coloured debug output if that is the case.
14572 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14574 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14575 (gst_type_find_helper):
14576 The memory returned by gst_type_find_peek() needs to
14577 stay valid until the end of a typefind function, and
14578 typefind functions may keep results from different
14579 offsets around, so we can't just unref the buffer from
14580 the previous _peek(), but have to save all buffers
14581 returned by _peek() until typefinding is done and only
14584 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14586 * docs/gst/gstreamer-sections.txt:
14588 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14590 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14592 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14593 Fix a pretty good memleak.
14595 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14597 * gst/gstiterator.h:
14598 Fix wrong include and 'make distcheck'.
14600 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14602 * gst/gstbin.c: (bin_bus_handler):
14603 Use gst_element_post_message() instead.
14605 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14607 * gst/base/gstadapter.h:
14608 * gst/base/gstbasesink.h:
14609 * gst/base/gstbasesrc.h:
14610 * gst/base/gstbasetransform.h:
14611 * gst/base/gstcollectpads.h:
14612 * gst/base/gstpushsrc.h:
14613 * gst/gstiterator.h:
14614 Add padding to our base elements' class and instance structs and
14615 to GstIterator (you will need to rebuild all plugins and apps!)
14617 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14619 * gst/gstbin.c: (bin_bus_handler):
14620 Make default message forwarding from child->bus to bin->bus
14621 threadsafe and make it not emit warnings if the parent has no bus.
14623 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14625 * gst/gstelement.c: (activate_pads):
14626 On paused->ready, set pad->caps to NULL, as is the documented
14627 behaviour in this state change. Fixes playback of series of
14628 media files when visualization is enabled in Totem.
14630 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14632 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14633 Allow NULL as filter-caps (which means "any").
14635 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14637 * docs/libs/gstreamer-libs-sections.txt:
14638 * libs/gst/controller/gst-controller.c:
14639 * libs/gst/controller/gst-controller.h:
14640 * libs/gst/controller/gst-helper.c:
14641 adding more entries to the docs and fix small doc-bugs
14643 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14645 * docs/gst/gstreamer-docs.sgml:
14646 * docs/gst/gstreamer-sections.txt:
14647 * docs/gst/gstreamer.types:
14648 * docs/gst/tmpl/gstbasesink.sgml:
14649 * docs/gst/tmpl/gstbasesrc.sgml:
14650 * docs/gst/tmpl/gstbasetransform.sgml:
14651 * docs/gst/tmpl/gstfakesrc.sgml:
14652 * gst/base/gstcollectpads.c:
14653 * gst/base/gstcollectpads.h:
14654 * libs/gst/controller/gst-controller.c:
14655 * libs/gst/controller/gst-controller.h:
14656 * libs/gst/controller/gst-helper.c:
14657 * libs/gst/controller/gst-interpolation.c:
14658 * libs/gst/controller/lib.c:
14659 added long/short desc for controller docs
14660 added collectpads base class docs
14661 added correct includes to base-class docs
14663 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14665 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14666 (gst_test_mono_source_set_property),
14667 (gst_test_mono_source_class_init), (GST_START_TEST),
14668 (gst_controller_suite):
14669 * docs/gst/gstreamer-docs.sgml:
14670 * docs/gst/gstreamer-sections.txt:
14671 * docs/gst/gstreamer.types:
14672 * docs/libs/gstreamer-libs-docs.sgml:
14673 * docs/libs/gstreamer-libs-sections.txt:
14674 * gst/base/gstadapter.c:
14675 * libs/gst/controller/gst-controller.c:
14676 (gst_controlled_property_new), (gst_controlled_property_free),
14677 (gst_controller_new_valist),
14678 (gst_controller_remove_properties_valist),
14679 (gst_controller_sink_values), (_gst_controller_finalize):
14680 * libs/gst/controller/gst-controller.h:
14681 * libs/gst/controller/gst-helper.c:
14682 (gst_object_control_properties), (gst_object_uncontrol_properties),
14683 (gst_object_get_controller), (gst_object_set_controller),
14684 (gst_object_sink_values), (gst_object_get_value_arrays),
14685 (gst_object_get_value_array):
14686 more tests (and fixes) for the controller
14687 more docs for the controller
14688 integrated companies docs for the adapter
14690 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
14692 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14693 (GST_START_TEST), (fakesrc_suite):
14694 add tests for sizetype
14696 2005-08-04 Andy Wingo <wingo@pobox.com>
14698 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14699 fixes buffer_alloc proxying among other things.
14701 * gst/base/gstbasetransform.c:
14702 * gst/base/gstbasetransform.h:
14703 Revert patch to gstbasetransform from 7-28 removing
14706 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14707 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14708 Semantics changed, should return not the size of the output buffer
14709 but the byte size of a buffer with a given caps.
14711 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14713 (gst_base_transform_configure_caps): Don't set out_size here: (in,
14714 out) are not the pad caps until setcaps finishes.
14715 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14716 not-in-place case as well. Deal with changing from in-place to
14717 not-in-place within calling pad_alloc_buffer. Still a bit
14718 concerned about the overhead here...
14720 2005-08-03 Andy Wingo <wingo@pobox.com>
14722 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14723 fixating is an error.
14725 2005-08-04 Edward Hervey <edward@fluendo.com>
14727 * gst/base/gstadapter.h:
14728 Added gst_adapter_get_type() to the header
14730 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14732 * check/Makefile.am:
14733 * check/gst-libs/controller.c:
14734 * libs/gst/controller/gst-controller.c:
14735 (gst_controller_new_valist):
14736 added check test suite for the controller
14737 * gst/base/gstpushsrc.c:
14740 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14742 * docs/gst/Makefile.am:
14743 * docs/gst/gstreamer-docs.sgml:
14744 * docs/gst/gstreamer-sections.txt:
14745 * docs/gst/gstreamer.types:
14746 * docs/gst/tmpl/gstfakesrc.sgml:
14748 * gst/base/gstbasesink.c:
14749 * gst/base/gstbasesink.h:
14750 * gst/base/gstbasesrc.c:
14751 * gst/base/gstbasesrc.h:
14752 * gst/base/gstbasetransform.c:
14753 * gst/base/gstpushsrc.c:
14754 * gst/base/gstpushsrc.h:
14755 add short/long description docs to base classes
14756 add pushsrc to the docs
14757 remove consolidated doc fragments
14759 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14762 * docs/libs/Makefile.am:
14763 * docs/libs/gstreamer-libs-docs.sgml:
14764 * docs/libs/gstreamer-libs-sections.txt:
14765 * docs/libs/gstreamer-libs.types:
14766 * examples/Makefile.am:
14767 * examples/controller/.cvsignore:
14768 * examples/controller/Makefile.am:
14769 * examples/controller/audio-example.c: (main):
14770 * libs/gst/Makefile.am:
14771 * libs/gst/controller/.cvsignore:
14772 * libs/gst/controller/Makefile.am:
14773 * libs/gst/controller/gst-controller.c:
14774 (on_object_controlled_property_changed), (gst_timed_value_compare),
14775 (gst_timed_value_find),
14776 (gst_controlled_property_set_interpolation_mode),
14777 (gst_controlled_property_new), (gst_controlled_property_free),
14778 (gst_controller_find_controlled_property),
14779 (gst_controller_new_valist), (gst_controller_new),
14780 (gst_controller_remove_properties_valist),
14781 (gst_controller_remove_properties), (gst_controller_set),
14782 (gst_controller_set_from_list), (gst_controller_unset),
14783 (gst_controller_get), (gst_controller_get_all),
14784 (gst_controller_sink_values), (gst_controller_get_value_arrays),
14785 (gst_controller_get_value_array),
14786 (gst_controller_set_interpolation_mode),
14787 (_gst_controller_finalize), (_gst_controller_init),
14788 (_gst_controller_class_init), (gst_controller_get_type):
14789 * libs/gst/controller/gst-controller.h:
14790 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14791 (g_object_uncontrol_properties), (g_object_get_controller),
14792 (g_object_set_controller), (g_object_sink_values),
14793 (g_object_get_value_arrays), (g_object_get_value_array):
14794 * libs/gst/controller/gst-interpolation.c:
14795 (gst_controlled_property_find_timed_value_node),
14796 (interpolate_none_get), (interpolate_trigger_get),
14797 (interpolate_trigger_get_value_array):
14798 * libs/gst/controller/lib.c: (gst_controller_init):
14799 * pkgconfig/Makefile.am:
14800 * pkgconfig/gstreamer-control-uninstalled.pc.in:
14801 * pkgconfig/gstreamer-control.pc.in:
14802 * testsuite/Makefile.am:
14803 * testsuite/controller/.cvsignore:
14804 * testsuite/controller/Makefile.am:
14805 * testsuite/controller/interpolator.c: (main):
14806 added controller code
14807 removed dparam pc files
14809 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14810 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14811 (gst_collectpads_stop):
14812 Broadcast the condition when shutting down, to make sure we wake all
14813 threads up. Shut down pads on finalize, for safety.
14815 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14816 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14817 (gst_base_transform_handle_buffer),
14818 (gst_base_transform_change_state):
14819 Handle PAUSED->READY->PAUSED transition after negotiation
14821 * gst/gstmessage.c: (gst_message_init):
14822 Extra piece of debug for new messages.
14824 2005-08-01 Stefan Kost <ensonic@users.sf.net>
14827 * docs/gst/tmpl/gstbasesrc.sgml:
14828 * docs/gst/tmpl/gstelement.sgml:
14829 * docs/gst/tmpl/gstevent.sgml:
14830 * docs/gst/tmpl/gstfakesrc.sgml:
14831 * docs/gst/tmpl/gstformat.sgml:
14832 * docs/gst/tmpl/gstghostpad.sgml:
14833 * docs/gst/tmpl/gstpad.sgml:
14834 * docs/gst/tmpl/gstquery.sgml:
14835 * docs/gst/tmpl/gststructure.sgml:
14836 * docs/gst/tmpl/gsttaglist.sgml:
14837 * docs/gst/tmpl/gstvalue.sgml:
14838 * docs/libs/gstreamer-libs-docs.sgml:
14839 * docs/libs/gstreamer-libs-sections.txt:
14840 * docs/libs/gstreamer-libs.types:
14841 * libs/gst/Makefile.am:
14842 * libs/gst/control/.cvsignore:
14843 * libs/gst/control/Makefile.am:
14844 * libs/gst/control/control.c:
14845 * libs/gst/control/control.h:
14846 * libs/gst/control/dparam.c:
14847 * libs/gst/control/dparam.h:
14848 * libs/gst/control/dparam_smooth.c:
14849 * libs/gst/control/dparam_smooth.h:
14850 * libs/gst/control/dparamcommon.h:
14851 * libs/gst/control/dparammanager.c:
14852 * libs/gst/control/dparammanager.h:
14853 * libs/gst/control/dplinearinterp.c:
14854 * libs/gst/control/dplinearinterp.h:
14855 * libs/gst/control/unitconvert.c:
14856 * libs/gst/control/unitconvert.h:
14857 * testsuite/Makefile.am:
14858 * testsuite/dynparams/.cvsignore:
14859 * testsuite/dynparams/Makefile.am:
14860 * testsuite/dynparams/dparamstest.c:
14861 * tools/Makefile.am:
14862 * tools/gst-inspect.c: (print_element_info), (main):
14863 * tools/gst-xmlinspect.c: (print_element_info), (main):
14864 deactivate and remove dparams (libgstcontrol)
14866 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14868 * gst/elements/gsttypefindelement.c:
14869 (gst_type_find_element_have_type), (gst_type_find_element_init),
14870 (stop_typefinding), (gst_type_find_element_handle_event),
14871 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14872 * gst/elements/gsttypefindelement.h:
14873 Set caps on all outgoing buffers, not just the first one.
14875 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14877 * gst/elements/gsttypefindelement.c:
14878 (gst_type_find_element_have_type),
14879 (gst_type_find_element_check_set_buffer_caps),
14880 (gst_type_find_element_init), (stop_typefinding),
14881 (gst_type_find_element_handle_event),
14882 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14883 * gst/elements/gsttypefindelement.h:
14884 Set caps on first outgoing buffer when we've found the type.
14886 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14888 * docs/gst/gstreamer-docs.sgml:
14889 * docs/gst/gstreamer-sections.txt:
14890 * docs/gst/tmpl/gstscheduler.sgml:
14891 * docs/gst/tmpl/gstschedulerfactory.sgml:
14892 Remove some old cruft from docs.
14894 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
14897 Fix inline docs for GstPadLinkReturn.
14899 * gst/gststructure.c: (gst_structure_has_name):
14900 * gst/gststructure.h:
14901 * docs/gst/gstreamer-sections.txt:
14902 New API: gst_structure_has_name().
14904 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
14907 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
14908 and _LARGEFILE_SOURCE in config.h as required. Do not
14909 export those flags in our .pc files any longer (#142209).
14911 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
14913 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
14914 (gst_file_sink_do_seek), (gst_file_sink_event),
14915 (gst_file_sink_get_current_offset), (gst_file_sink_render):
14916 Redo seek/tell calls with large file support in mind; add some
14917 debugging messages; add log message that tells us when large
14918 file support is unavailable or not enabled for some reason.
14920 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
14921 Add log message that tells us when large file support
14922 is unavailable or not enabled for some reason.
14924 2005-07-29 Wim Taymans <wim@fluendo.com>
14926 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14927 Added test for removing an element with ghostpad from a bin.
14928 Fixed test as current implementation does the right thing.
14930 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
14931 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
14932 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
14933 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
14934 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
14935 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14936 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14937 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14938 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
14939 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
14940 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
14941 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
14942 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14943 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
14944 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
14945 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
14946 * gst/gstghostpad.h:
14947 Clean up ghostpads, remove properties for internal stuff.
14950 Prepare for switching targets, not all use cases work yet.
14952 2005-07-29 Wim Taymans <wim@fluendo.com>
14954 * docs/design/part-gstghostpad.txt:
14957 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14958 (gst_bin_remove_func):
14959 Unlinking pads while holding the bin LOCK is not a good
14962 * gst/gstpad.c: (gst_pad_class_init),
14963 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
14964 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
14965 No prob setting template after creating the pad.
14967 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
14969 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14970 (gst_bus_peek), (gst_bus_source_dispatch),
14971 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14972 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14973 gst_bus_poll may be called from other threads. Handle
14974 this nicely by not making poll_data disappear off the
14975 stack once gst_bus_poll returns.
14976 gst_bus_peek now increments the refcount on the returned
14979 2005-07-29 Wim Taymans <wim@fluendo.com>
14981 * docs/design/part-gstghostpad.txt:
14982 Overview of current GhostPad datastructures and use
14983 cases for changing the target.
14985 2005-07-28 Wim Taymans <wim@fluendo.com>
14987 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14988 Added checks for hierarchy consistency whan adding linked
14991 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14992 Added check to test element scheduling without bin/pipeline.
14994 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14995 First add elements to bin, then link.
14997 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14998 (gst_bin_remove_func):
14999 Unlink pads from elements added/removed from bin to maintain
15000 hierarchy consistency.
15002 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15004 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15005 (gst_base_transform_handle_buffer):
15006 * gst/base/gstbasetransform.h:
15007 Remove broken delay_configure (fixes renegotiation of software
15008 scaling pipelines); remove some leftover printf()s.
15010 2005-07-28 Wim Taymans <wim@fluendo.com>
15012 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15013 Added some more tests for wrong hierarchy
15015 * docs/design/part-overview.txt:
15018 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15021 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15022 (gst_element_dispose):
15023 Some more cleanups.
15025 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15026 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15027 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15028 (gst_pad_set_caps), (gst_pad_send_event):
15029 Check for correct hierarchy when linking pads. Moving to
15030 strict requirement for ghostpads when linking elements in
15034 Clean ups. Added WRONG_HIERARCHY return value.
15036 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15038 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15039 Better debug if no transform is possible.
15041 2005-07-27 Wim Taymans <wim@fluendo.com>
15043 * docs/random/wtay/network-transp:
15044 Some old doc I had.
15046 2005-07-27 Wim Taymans <wim@fluendo.com>
15048 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15049 (gst_dp_event_from_packet):
15050 Fix serialization of seek events.
15052 2005-07-27 Wim Taymans <wim@fluendo.com>
15054 * check/gst-libs/gdp.c: (GST_START_TEST):
15055 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15056 Fix compilation and fix event serialization.
15058 2005-07-27 Wim Taymans <wim@fluendo.com>
15061 * docs/design/part-TODO.txt:
15062 * docs/design/part-events.txt:
15065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15066 (gst_base_sink_event), (gst_base_sink_do_sync),
15067 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15068 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15069 (gst_base_src_do_seek), (gst_base_src_event_handler),
15070 (gst_base_src_loop):
15071 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15072 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15073 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15074 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15075 (gst_base_transform_set_passthrough),
15076 (gst_base_transform_is_passthrough):
15077 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15078 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15084 * gst/gstelement.c: (gst_element_seek):
15085 * gst/gstelement.h:
15086 Update gst_element_seek.
15088 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15089 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15090 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15091 (gst_event_new_eos), (gst_event_new_newsegment),
15092 (gst_event_parse_newsegment), (gst_event_new_tag),
15093 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15094 (gst_event_parse_qos), (gst_event_new_seek),
15095 (gst_event_parse_seek), (gst_event_new_navigation):
15097 Make GstEvent use GstStructure. Add parsing code, make sure the
15098 API is sufficiently generic.
15099 Mark possible directions of events and serialization.
15101 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15102 (_gst_message_copy), (gst_message_new_segment_start),
15103 (gst_message_new_segment_done), (gst_message_new_custom),
15104 (gst_message_parse_segment_start),
15105 (gst_message_parse_segment_done):
15108 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15109 (gst_pad_set_caps), (gst_pad_send_event):
15110 Update for new events.
15111 Catch events sent in wrong directions.
15113 * gst/gstqueue.c: (gst_queue_link_src),
15114 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15115 (gst_queue_handle_src_query):
15120 Remove event code from this file.
15122 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15123 (gst_dp_event_from_packet):
15126 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15128 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15129 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15130 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15131 Make debugging actually useful.
15133 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15135 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15136 (gst_pad_fixate_caps):
15137 Implement default fixation once again, so that gst_pad_fixate()
15138 actually does anything at all. This probably needs to be some
15139 sort of a last resort, and use profile-based fixation first, but
15140 since that doesn't exist yet, this is the best we have. Fixes
15141 visualization in Totem.
15143 2005-07-22 Wim Taymans <wim@fluendo.com>
15145 * docs/design/part-events.txt:
15148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15149 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15150 (gst_base_sink_activate_pull):
15151 Some more comments.
15153 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15154 (gst_fake_src_create):
15155 Fix handoff marshall.
15157 * gst/elements/gstidentity.c: (gst_identity_class_init),
15158 (gst_identity_transform_ip):
15159 We're a real inplace element.
15161 * gst/gstbus.c: (gst_bus_post):
15162 Added some comments.
15164 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15165 * tests/muxing/case1.c: (main):
15166 * tests/sched/dynamic-pipeline.c: (main):
15167 * tests/sched/interrupt1.c: (main):
15168 * tests/sched/interrupt2.c: (main):
15169 * tests/sched/interrupt3.c: (main):
15170 * tests/sched/runxml.c: (main):
15171 * tests/sched/sched-stress.c: (main):
15172 * tests/seeking/seeking1.c: (event_received), (main):
15173 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15175 * tests/threadstate/threadstate3.c: (main):
15176 * tests/threadstate/threadstate4.c: (main):
15177 * tests/threadstate/threadstate5.c: (main):
15180 2005-07-21 Wim Taymans <wim@fluendo.com>
15182 * docs/design/part-seeking.txt:
15183 Some small additions.
15185 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15186 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15187 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15188 * gst/base/gstbasesink.h:
15189 discont values are gint64, handle the math correctly.
15191 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15192 Make the basesrc report error if the source pad is not linked.
15194 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15195 (gst_queue_loop), (gst_queue_handle_src_query),
15196 (gst_queue_src_activate_push):
15197 Make queue collect data even if the srcpad is not linked.
15198 Start pushing out data as soon as it is linked.
15200 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15202 Added gst_flow_get_name() to ease error reporting.
15204 2005-07-20 Wim Taymans <wim@fluendo.com>
15206 * gst/gstmessage.c: (gst_message_new_segment_start),
15207 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15208 (gst_message_parse_segment_done):
15209 * gst/gstmessage.h:
15210 Added a bunch of messages for advanced seeking.
15212 * gst/parse/grammar.y:
15213 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15214 (gst_dpman_state_changed):
15215 Fix some new-pad -> pad-added signals
15217 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15219 * docs/manual/appendix-porting.xml:
15220 * docs/pwg/appendix-porting.xml:
15221 Document new-pad/state-change signal renames and the FixedList
15224 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15226 * docs/manual/advanced-autoplugging.xml:
15227 * docs/manual/basics-helloworld.xml:
15228 * docs/manual/basics-pads.xml:
15229 * docs/random/ds/0.9-suggested-changes:
15230 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15231 * gst/gstelement.h:
15235 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15236 (gst_structure_parse_array), (gst_structure_parse_value):
15237 * gst/gstvalue.c: (gst_type_is_fixed),
15238 (gst_value_list_prepend_value), (gst_value_list_append_value),
15239 (gst_value_list_get_size), (gst_value_list_get_value),
15240 (gst_value_transform_array_string), (gst_value_serialize_array),
15241 (gst_value_deserialize_array), (gst_value_intersect_array),
15242 (gst_value_is_fixed), (_gst_value_initialize):
15244 GstElement::new-pad -> pad-added, GstElement::state-change ->
15245 state-changed, GstValueFixedList -> GstValueArray, add format and
15246 flags as their own arguments in gst_element_seek() (should improve
15247 "bindeability"), remove function generators since they don't work
15248 under a whole bunch of compilers (they were deprecated already
15251 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15253 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15254 (_gst_debug_register_funcptr):
15256 Fix illegal cast on some platforms (#309253).
15258 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15260 * gst/gstmessage.c: (gst_message_new_custom):
15261 * gst/gstmessage.h:
15262 Add _new_custom, make _new_application a macro to _new_custom.
15264 2005-07-20 Wim Taymans <wim@fluendo.com>
15266 * gst/base/gstbasesrc.c: (gst_base_src_init),
15267 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15268 * gst/base/gstbasesrc.h:
15269 Add a gboolean to decide when to push out a discont.
15271 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15272 (gst_queue_loop), (gst_queue_handle_src_query),
15273 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15274 (gst_queue_set_property), (gst_queue_get_property):
15277 * tests/threadstate/threadstate1.c: (main):
15278 Make a thread test compile and run... very silly..
15281 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15283 * docs/manual/appendix-porting.xml:
15284 Mention removal of libgstgconf-0.9.la and existence of gconf
15287 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15289 * docs/pwg/advanced-clock.xml:
15290 * docs/pwg/appendix-porting.xml:
15291 * docs/pwg/intro-preface.xml:
15292 * docs/pwg/other-base.xml:
15293 * docs/pwg/other-manager.xml:
15294 * docs/pwg/other-nton.xml:
15295 * docs/pwg/other-ntoone.xml:
15296 * docs/pwg/other-oneton.xml:
15297 * docs/pwg/pwg.xml:
15298 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15299 demuxer), remove n-to-n (was never written), fix some code examples
15300 and links and update the porting section to include all this.
15302 2005-07-19 Wim Taymans <wim@fluendo.com>
15304 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15305 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15306 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15307 (gst_queue_src_activate_push), (gst_queue_change_state),
15308 (gst_queue_get_property):
15310 Propagate GstFlowReturn more intelligently upstream and output
15311 an ERROR/EOS when streaming stopped due to fatal error.
15313 2005-07-19 Wim Taymans <wim@fluendo.com>
15315 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15316 Don't block forever for the state change to complete, the
15317 pipeline already did with a sensible timeout.
15319 2005-07-19 Wim Taymans <wim@fluendo.com>
15321 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15322 Make sure we never call the create function is we
15325 2005-07-19 Andy Wingo <wingo@pobox.com>
15327 * gst/parse/parse.l: Attempt to solve bug #172815.
15329 2005-07-19 Wim Taymans <wim@fluendo.com>
15331 * docs/design/part-clocks.txt:
15332 * docs/design/part-events.txt:
15333 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15334 Small docs updates.
15335 Only update the seeking values when we are not
15338 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15340 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15341 Oops, ignore the result of gst_pad_push_event here.
15343 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15345 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15346 (gst_base_src_activate_push):
15347 Send discont event from the loop function, as pads
15348 aren't activated yet in the activate_push handler.
15350 * gst/gstbin.c: (bin_bus_handler):
15351 Don't leak element name.
15353 2005-07-18 Andy Wingo <wingo@pobox.com>
15355 * configure.ac: Use AS_LIBTOOL_TAGS.
15357 2005-07-18 Wim Taymans <wim@fluendo.com>
15359 * docs/gst/gstreamer.types:
15360 Remove deleted types.
15362 2005-07-18 Wim Taymans <wim@fluendo.com>
15364 * check/elements/gstfakesrc.c: (GST_START_TEST):
15367 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15368 (init_popt_callback):
15370 * gst/gst_private.h:
15371 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15372 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15375 * gst/gstconfig.h.in:
15376 * gst/gstelement.c: (gst_element_class_init),
15377 (gst_element_set_base_time), (gst_element_get_base_time),
15378 (iterator_fold_with_resync), (gst_element_change_state),
15379 (gst_element_dispose), (gst_element_get_bus):
15380 * gst/gstelement.h:
15381 * gst/gstelementfactory.h:
15382 * gst/gsterror.c: (_gst_core_errors_init):
15385 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15387 * gst/gstinfo.c: (_gst_debug_init):
15388 * gst/gstmessage.c: (_gst_message_copy):
15389 * gst/gstmessage.h:
15390 * gst/gstminiobject.h:
15393 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15394 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15397 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15398 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15399 (gst_pipeline_get_last_stream_time):
15400 * gst/gstpipeline.h:
15401 * gst/gstpluginfeature.h:
15403 * gst/gstscheduler.c:
15404 * gst/gstscheduler.h:
15405 * gst/gststructure.h:
15406 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15407 (gst_task_finalize), (gst_task_func), (gst_task_create),
15408 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15409 (gst_task_stop), (gst_task_pause):
15411 * gst/gsttypefind.h:
15413 * gst/registries/gstlibxmlregistry.c: (load_feature),
15414 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15415 * gst/registries/gstxmlregistry.c:
15416 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15417 * gst/schedulers/threadscheduler.c:
15418 * libs/gst/control/dparammanager.h:
15419 * tools/gst-inspect.c: (print_element_list),
15420 (print_plugin_features), (print_element_features):
15421 * tools/gst-xmlinspect.c: (print_element_list),
15422 (print_plugin_info), (main):
15423 Removed plugable schedulers.
15424 Removed Scheduler/Manager from elements.
15425 Removed gsttypes.h, rearranged includes.
15426 Removed dependency pad<->element, element<>pipeline, and
15427 various others, fix includes.
15428 implement gst_pad_get_parent() with gst_object_get_parent()
15429 Make GstTask sefcontained.
15430 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15432 Fix endless loop in iterator_fold_with_resync.
15435 2005-07-18 Wim Taymans <wim@fluendo.com>
15441 2005-07-18 Wim Taymans <wim@fluendo.com>
15444 No more cothreads.h
15446 2005-07-18 Wim Taymans <wim@fluendo.com>
15450 Let's remove these.
15452 2005-07-18 Wim Taymans <wim@fluendo.com>
15454 * docs/design/part-dynamic.txt:
15455 * docs/design/part-events.txt:
15456 * docs/design/part-seeking.txt:
15457 Some more docs in the works.
15459 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15460 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15461 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15462 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15463 (gst_base_transform_handle_buffer),
15464 (gst_base_transform_sink_activate_push),
15465 (gst_base_transform_src_activate_pull),
15466 (gst_base_transform_set_passthrough),
15467 (gst_base_transform_is_passthrough):
15470 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15473 * gst/gstevent.c: (gst_event_finalize):
15476 * gst/gstutils.c: (gst_element_unlink),
15477 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15478 (gst_pad_proxy_setcaps):
15480 Add _get_parent_element() to get a pads parent as an element.
15482 2005-07-18 Wim Taymans <wim@fluendo.com>
15484 * check/gst/gstbin.c: (GST_START_TEST):
15487 2005-07-18 Wim Taymans <wim@fluendo.com>
15489 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15490 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15491 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15492 (gst_base_sink_event), (gst_base_sink_do_sync),
15493 (gst_base_sink_chain), (gst_base_sink_loop),
15494 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15495 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15497 Fix logic for returning ASYNC when not prerolled.
15499 2005-07-18 Wim Taymans <wim@fluendo.com>
15501 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15502 Fix nasty refcount bug.
15504 2005-07-16 Philippe Khalaf <burger@speedy.org>
15506 * gst/elements/gstfdsrc.c:
15507 * gst/elements/gstfdsrc.h:
15508 * gst/elements/gstelements.c:
15509 * gst/elements/Makefile.am:
15510 Ported fdsrc to 0.9.
15512 2005-07-16 Wim Taymans <wim@fluendo.com>
15514 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15515 (gst_base_sink_do_sync):
15518 2005-07-16 Wim Taymans <wim@fluendo.com>
15520 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15521 (gst_base_sink_event), (gst_base_sink_get_times),
15522 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15523 * gst/base/gstbasesink.h:
15524 Store and use discont values when syncing buffers as described
15527 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15528 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15529 (gst_base_src_activate_push):
15530 Push discont event when starting.
15532 * gst/elements/gstidentity.c: (gst_identity_transform):
15535 * gst/gstbin.c: (gst_bin_change_state):
15536 Small cleanups in base_time distribution.
15538 * gst/gstelement.c: (gst_element_set_base_time),
15539 (gst_element_get_base_time), (gst_element_change_state):
15540 * gst/gstelement.h:
15541 Added methods for the base_time of the element.
15544 * gst/gstpipeline.c: (gst_pipeline_send_event),
15545 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15546 (gst_pipeline_get_last_stream_time):
15547 * gst/gstpipeline.h:
15549 Handle seeking as described in design doc, remove stream_time
15551 Cleanups clock and stream_time selection code. Added accessors
15552 for the stream_time.
15555 2005-07-16 Andy Wingo <wingo@pobox.com>
15557 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15560 2005-07-16 Wim Taymans <wim@fluendo.com>
15562 * check/gst/gstbin.c: (GST_START_TEST):
15563 Make elements silent as the deep_notify refs the
15564 parent, which might make the test fail.
15566 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15567 Don't hold the lock for too long.
15569 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15571 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15572 Don't unref the caps we passed to gst_caps_make_writable() after
15573 passing them. gst_caps_make_writable() will do that for us.
15575 2005-07-15 Andy Wingo <wingo@pobox.com>
15577 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15580 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15581 own marshalling function for the handoff signal. Properly type the
15582 buffer as a buffer. Fixes some warnings. Should do a more general
15584 (gst_identity_class_init): Plug into the right marshaller.
15586 2005-07-15 Wim Taymans <wim@fluendo.com>
15588 * docs/design/part-TODO.txt:
15589 * docs/design/part-clocks.txt:
15590 * docs/design/part-element-sink.txt:
15591 * docs/design/part-events.txt:
15592 * docs/design/part-gstpipeline.txt:
15593 Updated docs, mostly DISCONT related.
15595 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
15597 * docs/pwg/building-pads.xml:
15598 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15600 2005-07-15 Andy Wingo <wingo@pobox.com>
15602 * tools/gst-typefind.c: Update, add copyright block.
15604 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15605 Normalize and truncate caps before fixation.
15608 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15609 discards all but the first structure from its argument.
15611 2005-07-15 Wim Taymans <wim@fluendo.com>
15613 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15614 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15615 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15616 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15617 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15618 (gst_base_transform_chain), (gst_base_transform_change_state),
15619 (gst_base_transform_set_passthrough),
15620 (gst_base_transform_is_passthrough):
15621 * gst/base/gstbasetransform.h:
15622 Make passthrough work using the bufferpools.
15623 Changed API a bit, subclasses have to write into a buffer
15624 provided by the base class.
15625 More debug info in nego functions.
15627 * gst/elements/gstidentity.c: (gst_identity_init),
15628 (gst_identity_transform):
15629 Port to new base class.
15631 2005-07-15 Wim Taymans <wim@fluendo.com>
15633 * gst/gstmessage.c: (gst_message_new_state_changed):
15634 * tools/gst-launch.c: (event_loop), (main):
15635 Totally dump messages in -launch with the -m option.
15636 Fix message name for State messages,
15638 2005-07-14 Wim Taymans <wim@fluendo.com>
15640 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15641 Post error messages on errors.
15643 2005-07-14 Wim Taymans <wim@fluendo.com>
15645 * gst/gstcaps.c: (gst_caps_do_simplify):
15649 Define error for stream stopped.
15651 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15652 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15653 Do proper return values.
15655 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15656 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15657 (gst_pad_get_range):
15658 Better return values.
15661 Reorganise return values, add macro to check for fatal errors.
15663 * gst/gstqueue.c: (gst_queue_chain):
15664 Return proper GstFlowReturn values,
15666 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
15668 * docs/gst/gstreamer-sections.txt:
15669 * docs/gst/gstreamer.types:
15670 * docs/gst/tmpl/gst.sgml:
15671 * docs/gst/tmpl/gstbasesink.sgml:
15672 * docs/gst/tmpl/gstbasesrc.sgml:
15673 * docs/gst/tmpl/gstbasetransform.sgml:
15674 * docs/gst/tmpl/gstbin.sgml:
15675 * docs/gst/tmpl/gstbuffer.sgml:
15676 * docs/gst/tmpl/gstcaps.sgml:
15677 * docs/gst/tmpl/gstclock.sgml:
15678 * docs/gst/tmpl/gstcompat.sgml:
15679 * docs/gst/tmpl/gstconfig.sgml:
15680 * docs/gst/tmpl/gstelement.sgml:
15681 * docs/gst/tmpl/gstelementdetails.sgml:
15682 * docs/gst/tmpl/gstelementfactory.sgml:
15683 * docs/gst/tmpl/gstenumtypes.sgml:
15684 * docs/gst/tmpl/gsterror.sgml:
15685 * docs/gst/tmpl/gstevent.sgml:
15686 * docs/gst/tmpl/gstfakesink.sgml:
15687 * docs/gst/tmpl/gstfakesrc.sgml:
15688 * docs/gst/tmpl/gstfilesink.sgml:
15689 * docs/gst/tmpl/gstfilesrc.sgml:
15690 * docs/gst/tmpl/gstfilter.sgml:
15691 * docs/gst/tmpl/gstformat.sgml:
15692 * docs/gst/tmpl/gstghostpad.sgml:
15693 * docs/gst/tmpl/gstimplementsinterface.sgml:
15694 * docs/gst/tmpl/gstindex.sgml:
15695 * docs/gst/tmpl/gstindexfactory.sgml:
15696 * docs/gst/tmpl/gstinfo.sgml:
15697 * docs/gst/tmpl/gstiterator.sgml:
15698 * docs/gst/tmpl/gstmacros.sgml:
15699 * docs/gst/tmpl/gstmemchunk.sgml:
15700 * docs/gst/tmpl/gstminiobject.sgml:
15701 * docs/gst/tmpl/gstobject.sgml:
15702 * docs/gst/tmpl/gstpad.sgml:
15703 * docs/gst/tmpl/gstpadtemplate.sgml:
15704 * docs/gst/tmpl/gstparse.sgml:
15705 * docs/gst/tmpl/gstpipeline.sgml:
15706 * docs/gst/tmpl/gstplugin.sgml:
15707 * docs/gst/tmpl/gstpluginfeature.sgml:
15708 * docs/gst/tmpl/gstquery.sgml:
15709 * docs/gst/tmpl/gstqueue.sgml:
15710 * docs/gst/tmpl/gstregistry.sgml:
15711 * docs/gst/tmpl/gstregistrypool.sgml:
15712 * docs/gst/tmpl/gstscheduler.sgml:
15713 * docs/gst/tmpl/gstschedulerfactory.sgml:
15714 * docs/gst/tmpl/gststructure.sgml:
15715 * docs/gst/tmpl/gstsystemclock.sgml:
15716 * docs/gst/tmpl/gsttaglist.sgml:
15717 * docs/gst/tmpl/gsttagsetter.sgml:
15718 * docs/gst/tmpl/gsttrace.sgml:
15719 * docs/gst/tmpl/gsttrashstack.sgml:
15720 * docs/gst/tmpl/gsttypefind.sgml:
15721 * docs/gst/tmpl/gsttypefindfactory.sgml:
15722 * docs/gst/tmpl/gsttypes.sgml:
15723 * docs/gst/tmpl/gsturihandler.sgml:
15724 * docs/gst/tmpl/gsturitype.sgml:
15725 * docs/gst/tmpl/gstutils.sgml:
15726 * docs/gst/tmpl/gstvalue.sgml:
15727 * docs/gst/tmpl/gstversion.sgml:
15728 * docs/gst/tmpl/gstxml.sgml:
15729 * docs/libs/tmpl/gstcontrol.sgml:
15730 * docs/libs/tmpl/gstdataprotocol.sgml:
15731 * docs/libs/tmpl/gstdparam.sgml:
15732 * docs/libs/tmpl/gstdplinint.sgml:
15733 * docs/libs/tmpl/gstdpman.sgml:
15734 * docs/libs/tmpl/gstdpsmooth.sgml:
15735 * docs/libs/tmpl/gstgetbits.sgml:
15736 * docs/libs/tmpl/gstunitconvert.sgml:
15737 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15738 (gst_push_src_base_init), (gst_push_src_class_init),
15739 (gst_push_src_init), (gst_push_src_create):
15740 * gst/base/gstpushsrc.h:
15741 * gst/elements/gstelements.c:
15742 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15743 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15744 (gst_fake_sink_init), (gst_fake_sink_set_property),
15745 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15746 (gst_fake_sink_event), (gst_fake_sink_preroll),
15747 (gst_fake_sink_render), (gst_fake_sink_change_state):
15748 * gst/elements/gstfakesink.h:
15749 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15750 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15751 (gst_fake_src_base_init), (gst_fake_src_class_init),
15752 (gst_fake_src_init), (gst_fake_src_event_handler),
15753 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15754 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15755 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15756 (gst_fake_src_create_buffer), (gst_fake_src_create),
15757 (gst_fake_src_start), (gst_fake_src_stop):
15758 * gst/elements/gstfakesrc.h:
15759 * gst/elements/gstfilesink.c: (_do_init),
15760 (gst_file_sink_base_init), (gst_file_sink_class_init),
15761 (gst_file_sink_init), (gst_file_sink_dispose),
15762 (gst_file_sink_set_location), (gst_file_sink_set_property),
15763 (gst_file_sink_get_property), (gst_file_sink_open_file),
15764 (gst_file_sink_close_file), (gst_file_sink_query),
15765 (gst_file_sink_event), (gst_file_sink_render),
15766 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15767 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15768 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15769 * gst/elements/gstfilesink.h:
15770 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15771 (gst_file_src_class_init), (gst_file_src_init),
15772 (gst_file_src_finalize), (gst_file_src_set_location),
15773 (gst_file_src_set_property), (gst_file_src_get_property),
15774 (gst_file_src_map_region), (gst_file_src_map_small_region),
15775 (gst_file_src_create_mmap), (gst_file_src_create_read),
15776 (gst_file_src_create), (gst_file_src_is_seekable),
15777 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15778 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15779 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15780 (gst_file_src_uri_handler_init):
15781 * gst/elements/gstfilesrc.h:
15782 more autistic cleanliness in functions/names/defines
15784 2005-07-13 Andy Wingo <wingo@pobox.com>
15786 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15787 source couldn't negotiate.
15789 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15793 * gst/gstutils.c (gst_element_link_pads_filtered): New old
15794 function. I am channeling Hades. Put your boots on suckers!!!
15796 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
15798 * testsuite/caps/Makefile.am:
15799 * testsuite/caps/value_compare.c:
15800 * testsuite/caps/value_intersect.c:
15801 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15802 move two testsuite apps over to the check dir
15804 2005-07-12 Wim Taymans <wim@fluendo.com>
15806 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15807 Added more debug info in the negotiate process.
15809 * gst/gstmessage.h:
15810 Prepare for segment playback.
15812 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15818 * tools/gst-launch.c: (main):
15819 NULL pipeline on errors.
15821 2005-07-12 Andy Wingo <wingo@pobox.com>
15823 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15824 not it comes from a malloc region. Make sure our copy gets freed.
15826 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15828 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15829 * check/gst/gstmessage.c: (GST_START_TEST):
15830 * check/gst/gststructure.c: (GST_START_TEST),
15831 (gst_structure_suite), (main):
15833 * gst/gstelement.c: (gst_element_message_full):
15834 clean up GError and debug string now that they get copied
15835 * gst/gstmessage.c: (gst_message_new_error),
15836 (gst_message_new_warning), (gst_message_parse_error),
15837 (gst_message_parse_warning):
15838 use GST_TYPE_G_ERROR for structure_new, and take copies of
15839 arguments, so that we don't mess up refcounting
15841 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15843 * check/Makefile.am:
15844 add per-test valgrind targets
15845 * check/gst-libs/gdp.c: (GST_START_TEST),
15846 (gst_data_protocol_suite), (main):
15849 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15851 * check/Makefile.am:
15852 instate more valgrindable tests
15853 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15854 (GST_START_TEST), (fakesrc_suite):
15855 * check/gst/gstpad.c: (GST_START_TEST):
15856 * check/gst/gststructure.c: (GST_START_TEST):
15858 * docs/gst/tmpl/gstminiobject.sgml:
15859 * gst/gstpad.c: (gst_pad_finalize):
15860 fix the static mutex leak
15862 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15864 * check/Makefile.am:
15865 add two more tests for valgrinding
15866 * check/gst/gstvalue.c: (GST_START_TEST):
15867 test refcount of deserialized buffer, found a leak
15868 * docs/gst/gstreamer-docs.sgml:
15869 * docs/gst/gstreamer-sections.txt:
15870 * docs/gst/gstreamer.types:
15871 * docs/gst/tmpl/gstminiobject.sgml:
15872 add miniobject to docs
15873 * gst/gstminiobject.c:
15875 * gst/gstvalue.c: (gst_value_deserialize_buffer),
15876 (gst_string_unwrap):
15877 fix a hard-to-find invalid write for one of the tests
15878 fix a leak for deserialized buffers
15880 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15882 * docs/pwg/advanced-events.xml:
15883 * docs/pwg/advanced-request.xml:
15884 * docs/pwg/advanced-scheduling.xml:
15885 * docs/pwg/appendix-porting.xml:
15886 * docs/pwg/building-boiler.xml:
15887 * docs/pwg/intro-preface.xml:
15888 * docs/pwg/other-ntoone.xml:
15889 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15890 of example code and explanation for pad activation, loop() and
15891 getrange() functions and a bit more. Remove old comments pointing
15893 * examples/pwg/Makefile.am:
15894 Add loop/getrange examples.
15896 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15899 check for valgrind binary + some fixes
15901 valgrind suppressions for the tests
15902 * check/Makefile.am:
15903 add a valgrind: target that valgrinds the unit tests
15904 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
15905 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15906 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15907 * check/gst/gstghostpad.c:
15909 * check/gst/gstdata.c:
15911 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
15912 (thread_unref), (gst_mini_object_suite), (main):
15914 * gst/gst.c: (gst_deinit):
15916 add a method to clean up.
15917 * gst/gstsystemclock.c: (gst_system_clock_dispose),
15918 (gst_system_clock_obtain):
15919 allow for disposing the system clock.
15920 * tools/gst-launch.c: (main):
15923 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15925 * docs/gst/tmpl/gstbasesrc.sgml:
15926 * docs/gst/tmpl/gstfakesrc.sgml:
15927 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15928 (gst_base_src_init), (gst_base_src_set_property),
15929 (gst_base_src_get_property), (gst_base_src_get_range),
15930 (gst_base_src_start):
15931 * gst/base/gstbasesrc.h:
15932 add num-buffers property
15933 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15934 (gst_fakesrc_init), (gst_fakesrc_set_property),
15935 (gst_fakesrc_get_property), (gst_fakesrc_create),
15936 (gst_fakesrc_start):
15937 remove num-buffers property
15939 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15941 * docs/gst/gstreamer-sections.txt:
15942 * docs/gst/tmpl/gstbasesink.sgml:
15943 * docs/gst/tmpl/gstbasesrc.sgml:
15944 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15945 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15946 (gst_base_sink_finalize), (gst_base_sink_set_clock),
15947 (gst_base_sink_set_property), (gst_base_sink_get_property),
15948 (gst_base_sink_handle_object), (gst_base_sink_event),
15949 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15950 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
15951 (gst_base_sink_loop), (gst_base_sink_deactivate),
15952 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
15953 (gst_base_sink_change_state):
15954 * gst/base/gstbasesink.h:
15955 * gst/base/gstbasesrc.h:
15956 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
15957 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15958 (gst_filesink_init):
15959 more macro splitting
15961 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15963 * gst/gstelement.c: (gst_element_get_bus):
15965 * tools/gst-launch.c: (check_intr), (event_loop):
15968 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15970 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15973 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15975 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15976 (gst_base_src_finalize):
15977 add finalize method and clean up properly
15978 * gst/gstpipeline.c: (gst_pipeline_dispose):
15981 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15983 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15985 add more things to check
15986 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15987 * gst/gstelement.c:
15990 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15992 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15993 (GST_START_TEST), (fakesrc_suite):
15994 * check/gst-libs/gdp.c: (GST_START_TEST):
15995 * check/gst/gst.c: (GST_START_TEST):
15996 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15997 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15998 * check/gst/gstbus.c: (GST_START_TEST):
15999 * check/gst/gstcaps.c: (GST_START_TEST):
16000 * check/gst/gstdata.c: (GST_START_TEST):
16001 * check/gst/gstelement.c: (GST_START_TEST):
16002 * check/gst/gstghostpad.c: (GST_START_TEST):
16003 * check/gst/gstiterator.c: (GST_START_TEST):
16004 * check/gst/gstmessage.c: (GST_START_TEST):
16005 * check/gst/gstobject.c: (GST_START_TEST):
16006 * check/gst/gstpad.c: (GST_START_TEST):
16007 * check/gst/gststructure.c: (GST_START_TEST):
16008 * check/gst/gstsystemclock.c: (GST_START_TEST),
16009 (gst_systemclock_suite):
16010 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16011 * check/gst/gstvalue.c: (GST_START_TEST):
16012 * check/pipelines/cleanup.c: (GST_START_TEST):
16013 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16014 * check/states/sinks.c: (GST_START_TEST):
16015 * check/gstcheck.c: (gst_check_init):
16016 * check/gstcheck.h:
16017 add debugging category
16018 use GST_START_TEST now, so we add a debug line
16020 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16022 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16023 add test for state change message on a bin
16024 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16026 * gst/gstbin.c: (gst_bin_init):
16027 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16028 * gst/gstelement.c: (gst_element_post_message),
16029 (gst_element_set_state):
16030 * gst/gstelementfactory.c: (gst_element_factory_create):
16031 * gst/gstmessage.c: (gst_message_new):
16032 * gst/gstscheduler.c:
16033 various debugging additions and cleanups
16035 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16037 * check/Makefile.am:
16038 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16040 adding tests for elements
16041 * gst/gstelement.c: (gst_element_dispose):
16043 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16045 * gst/registries/gstlibxmlregistry.c: (load_feature):
16046 plug more leaks. A simple gst_init() now is leakfree, yay.
16048 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16050 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16051 (gst_xml_registry_load):
16052 plug another memleak
16054 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16057 use GST_SET_ERROR_CFLAGS
16058 * docs/faq/cvs.xml:
16059 change to ERROR_CFLAGS
16061 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16064 make GST_ERROR_CFLAGS overridable and re-enable Werror
16065 * docs/faq/cvs.xml:
16066 add a note about error CFLAGS
16067 * docs/gst/tmpl/gstfakesrc.sgml:
16068 * gst/elements/gstfakesrc.c:
16069 comment out some unused code
16070 * gst/gst.c: (split_and_iterate):
16071 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16075 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16077 * common/Makefile.am:
16078 * common/gtk-doc.mak:
16079 * docs/gst/Makefile.am:
16080 factor out gtk-doc.mak
16082 2005-07-07 Wim Taymans <wim@fluendo.com>
16084 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16085 (gst_thread_scheduler_dispose):
16086 Unlock the STREAM_LOCK completely.
16088 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16090 * check/Makefile.am:
16091 * check/elements/.cvsignore:
16092 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16093 (START_TEST), (fakesrc_suite), (main):
16094 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16095 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16096 (gst_fakesrc_create), (gst_fakesrc_start):
16097 * gst/elements/gstfakesrc.h:
16098 adding a first element test
16100 2005-07-07 Andy Wingo <wingo@pobox.com>
16102 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16105 2005-07-07 Wim Taymans <wim@fluendo.com>
16111 2005-07-07 Wim Taymans <wim@fluendo.com>
16113 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16114 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16115 Allow subclasses to implement their own negotiation.
16117 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16119 * docs/design/part-gstbin.txt:
16120 * docs/design/part-gstpipeline.txt:
16121 Update design notes to reflect the movement of
16122 responsibility for bus handling from GstPipeline to
16125 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16128 Remove unnecessary queue2/3/4 examples.
16130 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16132 * examples/Makefile.am:
16133 * examples/helloworld/helloworld.c: (event_loop), (main):
16134 * examples/queue/queue.c: (event_loop), (main):
16135 * examples/queue2/queue2.c: (main):
16136 Update a couple of the examples to work again.
16138 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16139 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16140 Spelling corrections and extra debug.
16142 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16143 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16144 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16146 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16147 (gst_pipeline_change_state):
16148 * gst/gstpipeline.h:
16149 Move the bus handler for children to the GstBin, and create a
16150 separate bus for receiving messages from children to the one the
16151 bus sends 'upwards' on.
16153 2005-07-06 Wim Taymans <wim@fluendo.com>
16156 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16157 (gst_base_sink_handle_object), (gst_base_sink_loop),
16158 (gst_base_sink_change_state):
16159 * gst/base/gstbasesink.h:
16160 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16161 (gst_base_src_init), (gst_base_src_setcaps),
16162 (gst_base_src_getcaps), (gst_base_src_loop),
16163 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16164 (gst_base_src_start), (gst_base_src_change_state):
16165 * gst/base/gstbasesrc.h:
16166 Make basesrc negotiate.
16167 Handle the case where preroll fails in basesink.
16170 2005-07-06 Wim Taymans <wim@fluendo.com>
16172 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16173 Implement the fixate function.
16174 Clean up acceptcaps.
16176 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16178 * docs/pwg/building-filterfactory.xml:
16179 * docs/pwg/pwg.xml:
16180 Remove never-written filter-factory chapter; I'll add the various
16181 base classes to part 4 ("other element types") later on.
16183 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16185 * docs/pwg/advanced-negotiation.xml:
16186 * docs/pwg/building-boiler.xml:
16187 * docs/pwg/building-pads.xml:
16188 * docs/pwg/pwg.xml:
16189 * examples/pwg/Makefile.am:
16190 Add a chapter on caps negotiation, simplify the original code
16191 samples a bit w.r.t. caps negotiation, add link to the advanced
16192 section. Add a bunch of examples showing different use cases of
16193 different types of caps negotiation. Upstream renegotiation isn't
16194 fully documented yet since nobody knows how that works.
16196 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16198 * check/gst/gstpad.c:
16199 * check/gstcheck.c:
16200 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16201 if pad has no parent, return NULL as list of internal links
16203 2005-07-05 Andy Wingo <wingo@pobox.com>
16205 * gst/elements/gstfilesrc.c:
16206 * gst/elements/gstfakesrc.c:
16207 * gst/base/gstpushsrc.c:
16208 * gst/base/gstbasesrc.h:
16209 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16211 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16214 better report generation target (lcov needs a patch)
16216 2005-07-05 Andy Wingo <wingo@pobox.com>
16218 * gst/elements, testsuite: Null if we got it...
16220 2005-07-05 Wim Taymans <wim@fluendo.com>
16223 * libs/gst/dataprotocol/Makefile.am:
16224 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16225 * libs/gst/dataprotocol/dataprotocol.h:
16226 * pkgconfig/Makefile.am:
16227 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16228 * pkgconfig/gstreamer-dataprotocol.pc.in:
16229 Ported dataprotol to 0.9.
16230 Added pkgconfig files.
16232 2005-07-05 Andy Wingo <wingo@pobox.com>
16234 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16235 Default to returning TRUE for the case when tranform_caps returns
16236 a fixed caps, like for identity or volume.
16238 * check/gst/gstbus.c (pound_bus_with_messages):
16239 * check/gst/gstmessage.c (START_TEST):
16240 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16241 message API change.
16243 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16244 logic weaks here: always run transform_caps, trying passthrough
16245 operation only if the original caps intersects with the transform.
16247 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16248 source and sink caps.
16250 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16251 Intersect the peer caps with the pad template before going into
16253 (gst_base_transform_transform_caps): More debugging.
16255 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16258 2005-07-04 Edward Hervey <edward@fluendo.com>
16262 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16265 2005-07-04 Andy Wingo <wingo@pobox.com>
16267 * check/gst/gstpad.c: Only set explicit caps on pads.
16269 2005-07-01 Andy Wingo <wingo@pobox.com>
16271 * tests/network-clock.scm: Commentary update.
16273 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16274 Didn't really make sense, not implementable with basetransform,
16276 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16277 attempt at implementing the sync property, needs an unlock method.
16279 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16280 New func, by default returns the same caps (the identity
16282 (gst_base_transform_getcaps): Uses transform_caps to return
16283 something sensible.
16284 (gst_base_transform_setcaps): Complicated logic to get caps on
16285 both pads, even if they are different, and to call set_caps once
16286 for every time both pads get their caps set.
16287 (gst_base_transform_handle_buffer): Give the ref to the transform
16288 function. Allows in-place modification of the buffer.
16290 * gst/base/gstbasetransform.h (transform_caps): New class method.
16291 Given caps on one side, what can I do on the other.
16292 (set_caps): Take two caps, one for each side of the element.
16295 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16296 caps in place. This is safe because we can check the mutability of
16297 the caps, and a good idea because fixate functions are just called
16298 as a matter of last resort. (Not actually implemented.)
16299 (gst_pad_set_caps): If the caps we're setting is actually the same
16300 as the existing pad caps, just update the pointer without calling
16301 setcaps. Assert that caps is either NULL or fixed, as per the
16304 * gst/gstghostpad.c: Update for fixate changes.
16306 2005-07-02 Andy Wingo <wingo@pobox.com>
16309 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16310 two refcounts makes it immutable, which is enough. Doc more.
16312 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16314 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16315 Put the mini_object into GValue as a mini_object,
16316 not a gpointer, since that's how we declared
16319 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16321 * examples/pwg/Makefile.am:
16322 Fix buildbot again.
16324 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16326 * docs/pwg/building-testapp.xml:
16328 * examples/pwg/Makefile.am:
16331 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16334 * examples/Makefile.am:
16335 * examples/pwg/Makefile.am:
16336 * examples/pwg/extract.pl:
16337 Enable building the PWG examples.
16338 * docs/pwg/advanced-interfaces.xml:
16339 Add URI interface stub.
16340 * docs/pwg/advanced-types.xml:
16341 * docs/pwg/other-autoplugger.xml:
16342 * docs/pwg/appendix-porting.xml:
16343 * docs/pwg/pwg.xml:
16344 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16345 * docs/pwg/building-boiler.xml:
16346 * docs/pwg/building-chainfn.xml:
16347 * docs/pwg/building-pads.xml:
16348 * docs/pwg/building-props.xml:
16349 * docs/pwg/building-state.xml:
16350 * docs/pwg/building-testapp.xml:
16351 Update the building-*.xml parts for 0.9 changes. All examples
16352 code blocks compile in examples/pwg/*.
16354 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16356 * docs/manual/advanced-autoplugging.xml:
16357 * docs/manual/appendix-checklist.xml:
16358 * docs/manual/appendix-integration.xml:
16359 * docs/manual/highlevel-components.xml:
16360 Fix playbin/decodebin examples, update docs a bit, mention bus
16361 instead of signals in various places, mention kmplayer and
16362 kaffeine since they have a working GStreamer backend in the KDE
16365 2005-06-30 Wim Taymans <wim@fluendo.com>
16368 * docs/design/draft-ghostpads.txt:
16369 * docs/design/draft-push-pull.txt:
16370 * docs/design/draft-query.txt:
16371 * docs/design/part-TODO.txt:
16372 * docs/design/part-query.txt:
16373 Added CHANGES-0.9 doc, updated status of other docs.
16378 2005-06-30 Wim Taymans <wim@fluendo.com>
16380 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16381 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16382 (gst_base_sink_change_state):
16383 * gst/base/gstbasesink.h:
16384 Some tweaks, only EOS and a buffer complete a preroll.
16386 2005-06-30 Andy Wingo <wingo@pobox.com>
16388 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16389 activate_push down to the internal pad as well.
16391 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16393 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16395 * gst/gsttaginterface.c:
16396 Some documentation fixes (#307394 and #307397).
16398 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16400 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16402 * gst/gstvalue.c: (gst_value_intersect_list):
16403 Fix memleak (#309125).
16405 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16407 * docs/manual/advanced-dataaccess.xml:
16408 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16409 * docs/manual/basics-pads.xml:
16410 Add reference for filtered caps to above chapter.
16412 2005-06-30 Wim Taymans <wim@fluendo.com>
16414 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16415 (gst_bin_change_state):
16417 Lame attempt at making the state change function a bit
16420 2005-06-30 Wim Taymans <wim@fluendo.com>
16422 * docs/design/part-clocks.txt:
16423 * docs/design/part-element-sink.txt:
16424 * docs/design/part-events.txt:
16425 * docs/design/part-preroll.txt:
16426 * docs/design/part-states.txt:
16427 Some more tweeks and additions to the docs.
16429 2005-06-30 Wim Taymans <wim@fluendo.com>
16431 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16432 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16433 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16434 (gst_pad_check_pull_range), (gst_pad_get_range),
16435 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16437 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16438 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16439 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16440 (gst_pad_remove_buffer_probe):
16441 Removed atomic operations, use existing LOCK.
16442 Move exception handling out of main code path.
16444 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16446 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16447 (silly_return_true_function), (gst_pad_class_init),
16448 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16449 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16450 (gst_pad_send_event):
16451 Fix accumulator, add default value by using _emitv() instead
16452 of _emit() for signal emission.
16454 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16456 * docs/manual/advanced-dataaccess.xml:
16457 * examples/manual/Makefile.am:
16459 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16462 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16464 * gst/elements/gstfilesink.c: (gst_filesink_render):
16465 Simplify code so that we don't have to handle short
16466 writes and return GST_FLOW_ERROR if an error occured.
16468 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16470 * docs/gst/gstreamer-docs.sgml:
16471 Remove probes more.
16473 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16475 * docs/gst/gstreamer-sections.txt:
16476 * docs/gst/tmpl/gstpad.sgml:
16477 * docs/gst/tmpl/gstprobe.sgml:
16479 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16480 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16481 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16482 (gst_pad_push_event), (gst_pad_send_event):
16484 * gst/gstutils.c: (gst_pad_add_data_probe),
16485 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16486 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16487 (gst_pad_remove_buffer_probe):
16489 Remove old probes, add new g-signal-based probes and some utility
16492 2005-06-29 Edward Hervey <edward@fluendo.com>
16494 * gst/gstelementfactory.c:
16497 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16498 the definition to the header file.
16500 2005-06-29 Andy Wingo <wingo@pobox.com>
16502 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16503 plugins from the source directory.
16505 2005-06-29 Wim Taymans <wim@fluendo.com>
16507 * docs/gst/tmpl/gstbuffer.sgml:
16508 * docs/gst/tmpl/gstclock.sgml:
16509 Some fixings for blantently wrong text.
16511 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16513 * check/Makefile.am:
16514 * gst/gst.c: (add_path_func), (init_pre):
16515 * gst/gstregistry.c: (gst_registry_add_path):
16516 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16517 only scan the GST_PLUGIN_PATH locations, and not add
16520 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16522 * docs/gst/gstreamer-sections.txt:
16523 * docs/gst/tmpl/gstbasesrc.sgml:
16524 * gst/gstelement.c:
16525 * gst/gstelement.h:
16530 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16532 * docs/manual/advanced-autoplugging.xml:
16533 Fix autoplugging example.
16535 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16537 * docs/manual/advanced-autoplugging.xml:
16538 * docs/manual/mime-world.fig:
16539 Try to get autoplugging working, fix type detection. Fix text
16540 in hello-world image.
16542 2005-06-29 Wim Taymans <wim@fluendo.com>
16544 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16545 (gst_base_sink_change_state):
16549 map SIGNAL and BROADCAST to the right function.
16552 Remove redundant braces.
16554 * gst/gstpad.c: (gst_pad_set_caps):
16555 Don't call setcaps function when reseting caps to NULL.
16557 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16558 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16559 (gst_system_clock_id_unschedule):
16560 Use BROADCAST as this is what we do.
16562 2005-06-29 Wim Taymans <wim@fluendo.com>
16564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16565 We are actually prerolling before commiting the state
16568 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16570 * docs/manual/advanced-clocks.xml:
16571 * docs/manual/advanced-interfaces.xml:
16572 * docs/manual/advanced-metadata.xml:
16573 * docs/manual/advanced-position.xml:
16574 * docs/manual/advanced-schedulers.xml:
16575 * docs/manual/advanced-threads.xml:
16576 * docs/manual/appendix-porting.xml:
16577 * docs/manual/basics-bins.xml:
16578 * docs/manual/basics-bus.xml:
16579 * docs/manual/basics-elements.xml:
16580 * docs/manual/basics-helloworld.xml:
16581 * docs/manual/basics-pads.xml:
16582 * docs/manual/highlevel-components.xml:
16583 * docs/manual/manual.xml:
16584 * docs/manual/thread.fig:
16585 Update (until threads/scheduling) Application Development Manual;
16586 remove GstThread, add GstBus, add simple porting checklist, add
16587 documentation for tag writing, clocks, make all examples until this
16588 part compile and run.
16589 * examples/manual/Makefile.am:
16590 Update from changes to Application Development Manual; add bus
16591 example, remove thread example.
16593 2005-06-28 Wim Taymans <wim@fluendo.com>
16595 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16596 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16597 (gst_bus_source_dispatch):
16598 Add debugging messages.
16599 Make internal methods static.
16600 Handle the case where the bus is flushed in the handler.
16602 * gst/gstelement.c: (gst_element_get_bus):
16603 Fix refcount in _get_bus();
16605 * gst/gstpipeline.c: (gst_pipeline_change_state),
16606 (gst_pipeline_get_clock_func):
16607 Clock refcounting fixes.
16608 Handle the case where preroll timed out more gracefully.
16610 * gst/gstsystemclock.c: (gst_system_clock_dispose):
16611 Clean up the internal thread in dispose. This is needed
16612 for subclasses that actually get disposed.
16614 * gst/schedulers/threadscheduler.c:
16615 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16616 (gst_thread_scheduler_dispose):
16617 Free thread pool in dispose.
16619 2005-06-28 Andy Wingo <wingo@pobox.com>
16621 * tests/network-clock-utils.scm (debug, print-event): New utils.
16623 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16624 (*packet-loss*): Unified loss probability.
16625 (network-time): Report out-of-band events.
16627 * tests/plot-data: Add support for out-of-band events. Hack it
16628 into this script instead of passing it down the pipe; should fix
16631 2005-06-28 Wim Taymans <wim@fluendo.com>
16633 * docs/gst/gstreamer.types:
16634 * docs/gst/tmpl/gstbasesrc.sgml:
16635 * docs/gst/tmpl/gstpad.sgml:
16638 2005-06-28 Wim Taymans <wim@fluendo.com>
16640 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16641 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16642 (gst_proxy_pad_do_fixatecaps):
16643 Correctly proxy the check_pull_range function.
16645 2005-06-28 Andy Wingo <wingo@pobox.com>
16647 * tests/network-clock.scm: Removed need for slib.
16649 2005-06-28 Wim Taymans <wim@fluendo.com>
16651 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16652 (gst_basesink_preroll_queue_flush):
16653 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16654 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16655 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16656 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16657 (gst_proxy_pad_set_property):
16660 * gst/gstqueue.c: (gst_queue_init):
16661 The deprecated pad loop function is removed now.
16663 2005-06-28 Andy Wingo <wingo@pobox.com>
16665 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16666 New parameters, simulate network packet loss.
16668 * tests/network-clock-utils.scm: Initialize the RNG.
16670 2005-06-28 Wim Taymans <wim@fluendo.com>
16672 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16673 (gst_basesink_event), (gst_basesink_deactivate):
16674 Flushing the preroll queue always needs to unlock the waiters.
16676 2005-06-28 Edward Hervey <edward@fluendo.com>
16678 * gst/gstpipeline.c: (gst_pipeline_send_event):
16679 Wheen a seek was successful on a pipeline, set the stream_time to the
16680 seek offset in order to have a synchronized stream_time.
16682 2005-06-28 Wim Taymans <wim@fluendo.com>
16684 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16685 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16686 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16687 (gst_proxy_pad_do_fixatecaps):
16688 Call wrapper function instead of just calling the function
16689 pointers. This takes care of any locking and whatmore.
16691 2005-06-28 Wim Taymans <wim@fluendo.com>
16693 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16694 (gst_pad_pull_range):
16696 CONNECTED -> LINKED.
16698 2005-06-28 Andy Wingo <wingo@pobox.com>
16700 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16701 source-munging commit!!!
16703 * gst/gstobject.c (gst_object_unref, gst_object_ref)
16704 (gst_object_sink): Take gpointer arguments, not GstObject --
16705 avoids casts. Like GLib.
16707 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16710 2005-06-27 Andy Wingo <wingo@pobox.com>
16712 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16715 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16716 returns a sorted copy of the trace list.
16717 (gst_alloc_trace_print_live): New API, only prints traces with
16718 live objects. Sort the list.
16719 (gst_alloc_trace_print_all): Sort the list.
16720 (gst_alloc_trace_print): Align columns.
16722 * gst/elements/gstttypefindelement.c:
16723 * gst/elements/gsttee.c:
16724 * gst/base/gstbasesrc.c:
16725 * gst/base/gstbasesink.c:
16726 * gst/base/gstbasetransform.c:
16727 * gst/gstqueue.c: Adapt for pad activation changes.
16729 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16731 (gst_pipeline_dispose): Drop ref on sched.
16733 * gst/gstpad.c (gst_pad_init): Set the default activate func.
16734 (gst_pad_activate_default): Push mode by default.
16735 (pre_activate_switch, post_activate_switch): New stubs, things to
16736 do before and after switching activation modes on pads.
16737 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16738 the pad's activate function to choose which mode to activate.
16739 Shortcut on deactivation and call the right function directly.
16740 (gst_pad_activate_pull): New API, (de)activates a pad in pull
16742 (gst_pad_activate_push): New API, same for push mode.
16743 (gst_pad_set_activate_function)
16744 (gst_pad_set_activatepull_function)
16745 (gst_pad_set_activatepush_function): Setters for new API.
16747 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16748 Trace all miniobjects.
16749 (gst_mini_object_make_writable): Unref the arg if we copy, like
16750 gst_caps_make_writable.
16752 * gst/gstmessage.c (_gst_message_initialize): No trace init.
16754 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
16755 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16756 Adapt for new pad API.
16758 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16760 * gst/gstelement.h:
16761 * gst/gstelement.c (gst_element_iterate_src_pads)
16762 (gst_element_iterate_sink_pads): New API functions.
16764 * gst/gstelement.c (iterator_fold_with_resync): New utility,
16765 should fold into gstiterator.c in some form.
16766 (gst_element_pads_activate): Simplified via use of fold and
16767 delegation of decisions to gstpad->activate.
16769 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16772 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16773 class once in init, like gstmessage. Didn't run into this issue
16774 but it seems correct. Don't initialize a trace, gstminiobject does
16777 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16778 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16780 (assert_live_count): New util function, uses alloc traces to check
16783 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16784 To be modified when unlink drops the internal pad.
16786 2005-06-27 Wim Taymans <wim@fluendo.com>
16788 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16789 (gst_bin_change_state):
16790 Cleanup the get_state() function a little, make sure it
16791 iterates the same set of elements.
16792 Added stub iterate_state_order().
16794 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
16796 * docs/gst/gstreamer-docs.sgml:
16797 * docs/gst/gstreamer-sections.txt:
16798 * docs/gst/gstreamer.types:
16799 * docs/gst/tmpl/gstbasesink.sgml:
16800 * docs/gst/tmpl/gstbasesrc.sgml:
16801 * docs/gst/tmpl/gstbasetransform.sgml:
16802 * docs/gst/tmpl/gstelement.sgml:
16803 * docs/gst/tmpl/gstiterator.sgml:
16804 * gst/base/gstbasesrc.c:
16805 * gst/base/gstbasesrc.h:
16806 * gst/base/gstbasetransform.h:
16807 * gst/gstelement.c:
16808 * gst/gstiterator.h:
16809 adding basetransform and iterator docs
16811 2005-06-27 Andy Wingo <wingo@pobox.com>
16813 * docs/design/part-activation.txt: Notes on how activation should
16814 work -- not quite implemented yet.
16816 2005-06-25 Wim Taymans <wim@fluendo.com>
16818 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16819 At least get the chain function correct, needs more
16822 2005-06-25 Wim Taymans <wim@fluendo.com>
16824 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16825 (gst_basesink_handle_object), (gst_basesink_event),
16826 (gst_basesink_do_sync), (gst_basesink_handle_event),
16827 (gst_basesink_change_state):
16829 Right, two problems here: ghostpads don't take locks and
16830 glib _rec_mutex_lock_full() with depth==0 still locks.
16831 Catch illegal locking and g_warn them.
16833 2005-06-25 Wim Taymans <wim@fluendo.com>
16835 * check/states/sinks.c: (START_TEST), (gst_object_suite):
16836 Have to check for completion now...
16838 2005-06-25 Wim Taymans <wim@fluendo.com>
16840 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16841 (gst_basesink_handle_object), (gst_basesink_event),
16842 (gst_basesink_do_sync), (gst_basesink_handle_event),
16843 (gst_basesink_change_state):
16845 Unlock STREAM_LOCK whatever the recursion was.
16847 2005-06-25 Wim Taymans <wim@fluendo.com>
16849 * gst/base/gstbasesink.c: (gst_basesink_set_property),
16850 (gst_basesink_preroll_queue_empty),
16851 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16852 (gst_basesink_event), (gst_basesink_do_sync),
16853 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16854 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16855 (gst_basesink_change_state):
16856 Reworked the base sink, handle event and buffer serialisation
16857 correctly and removed possible deadlock.
16858 Handle EOS correctly.
16860 2005-06-25 Wim Taymans <wim@fluendo.com>
16862 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16863 (gst_pipeline_change_state):
16864 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16865 Allow elements to post EOS in the state change function.
16866 Fix up -launch, make it exit the poll loop when the
16867 pipeline actually changed state.
16868 Fix up warning parsing in -launch.
16870 2005-06-25 Wim Taymans <wim@fluendo.com>
16872 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16873 (gst_tee_sink_activate):
16874 Core takes STREAM_LOCK for us now.
16876 2005-06-25 Wim Taymans <wim@fluendo.com>
16878 * gst/gstelement.c: (gst_element_get_state_func),
16879 (gst_element_set_state):
16880 * gst/gstelement.h:
16881 * gst/gstmessage.c: (gst_message_parse_error),
16882 (gst_message_parse_warning):
16883 Keep track of current target state while performing a state
16884 change so that subclasses can do something interesting.
16885 Fix parsing of warning/error messages when GError is NULL.
16887 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
16889 * docs/gst/Makefile.am:
16890 * docs/gst/gstreamer-docs.sgml:
16891 * docs/gst/gstreamer-sections.txt:
16892 * docs/gst/gstreamer.types:
16893 * docs/gst/tmpl/gstbasesink.sgml:
16894 * docs/gst/tmpl/gstbasesrc.sgml:
16895 * docs/gst/tmpl/gstbin.sgml:
16896 * docs/gst/tmpl/gstcompat.sgml:
16897 * docs/gst/tmpl/gstfakesink.sgml:
16898 * docs/gst/tmpl/gstfakesrc.sgml:
16899 * docs/gst/tmpl/gstfilesink.sgml:
16900 * docs/gst/tmpl/gstfilesrc.sgml:
16901 * docs/gst/tmpl/gstindex.sgml:
16902 * docs/manual/appendix-quotes.xml:
16903 * gst/base/gstbasesrc.h:
16904 * gst/elements/gstfakesrc.h:
16905 * gst/gstmessage.h:
16906 start pulling in base classes and elements in our docs
16908 2005-06-24 Stefan Kost <ensonic@users.sf.net>
16910 * docs/gst/Makefile.am:
16911 * docs/libs/Makefile.am:
16912 fixed make distcheck with gtk-doc 1.3
16914 2005-06-23 Wim Taymans <wim@fluendo.com>
16916 * gst/gstelement.c: (gst_element_get_state_func),
16917 (gst_element_set_state), (gst_element_change_state):
16918 When the state did not change, also report NO_PREROLL
16921 2005-06-23 Wim Taymans <wim@fluendo.com>
16923 * gst/gstpad.c: (gst_pad_event_default):
16924 * gst/gstqueue.c: (gst_queue_loop):
16925 No unsafe task pausing please.
16927 2005-06-23 Wim Taymans <wim@fluendo.com>
16929 * gst/schedulers/threadscheduler.c:
16930 (gst_thread_scheduler_task_start),
16931 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
16932 Ref the task before pushing it on the threadpool. This
16933 makes sure that we have a ref when the threadfunction is
16936 2005-06-23 Andy Wingo <wingo@pobox.com>
16938 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
16939 offset is greater than the file's size.
16941 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
16942 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
16943 * gst/gstobject.c (gst_object_class_init): Make the class lock
16944 recursive. Wim won't let me drop deep_notify. Decodebin works
16945 again, whoopdy doo.
16947 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
16948 internal pad, and hacks accordingly. Doesn't do it on the target
16949 pad because we change its caps. Probably catches all cases of
16951 (gst_ghost_pad_set_property): Connect to notify::caps as
16954 * tests/network-clock.scm (plot-simulation): Pipe data to the
16955 elite python skript.
16957 * tests/network-clock-utils.scm (define-parameter): New macro,
16958 defines a parameter that can be set via the command line.
16959 (set-parameter!, parse-parameter-arguments): Command line args
16962 * tests/plot-data: Simple matplotlib-based plotter, takes input on
16965 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
16967 * gst/elements/gsttypefindelement.c:
16968 (gst_type_find_element_handle_event):
16969 Don't restart typefinding on a discont.
16970 * gst/gstelement.c: (gst_element_set_state):
16971 Debug spelling fix.
16972 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16973 Allow changing mode of an active pad.
16974 Debug output fixes.
16975 * gst/registries/gstlibxmlregistry.c: (load_feature):
16976 Don't cast a static pad template to a normal pad template.
16978 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
16980 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16981 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16982 remove gst_strtoll completely, since it didn't actually do
16983 anything more than what g_ascii_strtoull already does.
16984 check for range errors when deserializing
16985 do a cast for the unsigned cases; but further fixing needs
16986 a decision on what the interpretation of "(int)" and
16987 deserialization should be for values that fall outside the
16988 type's boundaries (ie, refuse, or interpret as casting)
16990 2005-06-23 Wim Taymans <wim@fluendo.com>
16992 * check/Makefile.am:
16993 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16994 * docs/design/part-live-source.txt:
16995 * docs/design/part-states.txt:
16996 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16997 (gst_basesrc_set_live), (gst_basesrc_is_live),
16998 (gst_basesrc_get_range), (gst_basesrc_activate),
16999 (gst_basesrc_change_state):
17000 * gst/base/gstbasesrc.h:
17001 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17002 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17003 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17004 * gst/gstelement.c: (gst_element_get_state_func),
17005 (gst_element_set_state):
17006 * gst/gstelement.h:
17008 * tools/gst-launch.c: (event_loop), (main):
17009 Added support for live sources and other elements that
17011 Updated design docs, added live-source design doc.
17012 Implemented live source functionality in basesrc
17013 Fix error condition in _bin_get_state()
17014 Implement live source handling in -launch.
17015 Added check for live sources.
17016 Fixed case in GstBin where elements were changed state
17020 2005-06-23 Andy Wingo <wingo@pobox.com>
17022 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17023 borken refcounting.
17025 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17026 gst_caps_replace takes care of this for us.
17028 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17029 gst_pad_set_caps on the target, not just its setcaps() function.
17031 * tests/network-clock.scm:
17032 * tests/network-clock-utils.scm: A network clock simulator.
17033 Something of an algorithmic testbed before doing something in C.
17035 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17037 * check/Makefile.am:
17038 * check/gst/capslist.h:
17039 copy over from 0.8, and add two with bitmasks specified with
17041 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17042 add test to parse everything from capslist.h
17043 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17045 add test for structure deserialization
17046 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17047 add tests for deserialization of strings to int types
17048 * gst/gststructure.c: (gst_structure_nth_field_name):
17049 * gst/gststructure.h:
17050 add a way to get the name of a field referenced by index
17051 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17052 instead of checking if the resulting long long lies between
17053 min and max, we check if the long long would fit into
17054 a number of bytes for the final type.
17055 This fixes cases where a string represents 2^32 - 1, which
17056 when cast to int would be the (valid) -1, but is bigger than
17059 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17061 * gst/parse/grammar.y:
17062 add a log line for type deserialization
17064 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17066 * check/gst/gstvalue.c: (START_TEST):
17067 * gst/gstvalue.c: (gst_value_deserialize):
17068 return long long, not int, so gint64 deserialization actually
17069 works. Is there any flag that makes the compiler check this ?
17072 2005-06-22 Wim Taymans <wim@fluendo.com>
17075 Added convenience macros for setting buffers in GValue.
17077 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17079 * check/gst/.cvsignore:
17080 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17081 add a test deserializing int64, and comment part out because
17084 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17086 * check/Makefile.am:
17087 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17088 * testsuite/Makefile.am:
17089 * testsuite/caps/Makefile.am:
17090 * testsuite/caps/value_serialize.c:
17091 * testsuite/test_gst_init.c:
17092 move a value_serialize test over
17094 2005-06-20 Wim Taymans <wim@fluendo.com>
17099 * gst/gstvalue.c: (gst_value_compare_buffer),
17100 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17101 (gst_value_compare_flags), (gst_value_serialize_flags),
17102 (gst_value_deserialize_flags), (_gst_value_initialize):
17103 Fix serialisation of buffers, they are not boxed types anymore
17105 2005-06-20 Wim Taymans <wim@fluendo.com>
17107 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17108 Testcase to show error in buffer-on-caps serialisation.
17110 2005-06-20 Andy Wingo <wingo@pobox.com>
17112 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17113 will be adding to later.
17115 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17116 if its socks fill with rocks.
17117 (gst_system_clock_obtain): Set the name on object construction.
17118 Avoid double-checked locking.
17120 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17122 * gst/gsturi.c: (gst_element_make_from_uri):
17123 Fix potential endless loop.
17125 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17127 * check/Makefile.am:
17129 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17131 move over from testsuite dir and clean up
17134 * testsuite/Makefile.am:
17135 * testsuite/tags/.cvsignore:
17136 * testsuite/tags/Makefile.am:
17137 * testsuite/tags/merge.c:
17138 remove testsuite/tags
17140 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17142 * docs/gst/gstreamer-sections.txt:
17143 * docs/gst/tmpl/gstenumtypes.sgml:
17144 * win32/gstenumtypes.c:
17145 clean up documentation build a little
17147 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17149 * check/gstcheck.h:
17150 add macros for checking refcounts on objects and caps
17151 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17152 add some more unit tests
17153 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17154 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17155 fix leaked refcounts (I hope :)) so unittest works
17159 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17161 * configure.ac: back to HEAD
17163 === release 0.9.1 ===
17165 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17171 2005-06-17 Andy Wingo <wingo@pobox.com>
17173 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17174 assert; it's always possible that the pad gets deactivated in
17175 between the checks in gstpad.c and the implementation. Rely on
17176 finish_preroll() to return a FLUSHING or similar instead of on the
17179 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17180 clock and post an EOS message if we come out of finish_preroll in
17183 2005-06-16 David Schleef <ds@schleef.org>
17185 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17186 (gst_capsfilter_set_property): Allow NULL as possible value
17187 for filter_caps property, indicating GST_CAPS_ANY.
17189 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17191 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17193 * gst/schedulers/Makefile.am:
17195 * gstreamer.spec.in:
17198 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17200 * gstreamer.spec.in:
17203 2005-06-08 Andy Wingo <wingo@pobox.com>
17205 * gst/gstutils.c: RPAD fixes all around.
17206 (gst_element_link_pads): Refcounting fixes.
17208 * tools/gst-inspect.c:
17209 * tools/gst-xmlinspect.c:
17211 * gst/base/gsttypefindhelper.c:
17212 * gst/base/gstbasesink.c:
17213 * gst/gstqueue.c: RPAD fixes.
17215 * gst/gstghostpad.h:
17216 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17217 pads. The tricky thing is they provide both source and sink
17218 interfaces, since they proxy the internal pad for the external
17219 pad, and vice versa. Implement with lower-level ProxyPad objects,
17220 with the interior proxy pad as a child of the exterior ghost pad.
17221 Should write a doc on this.
17223 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17224 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17227 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17228 pads are real pads. No ghost pads in this file. Not documenting
17229 the myriad s/RPAD/PAD/ and REALIZE fixes.
17230 (gst_pad_class_init): Add properties for "direction" and
17231 "template". Both are construct-only, so they can't change during
17232 the life of the pad. Fixes properly deriving from GstPad.
17233 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17234 derived objects, just set properties when creating the objects via
17236 (gst_pad_get_parent): Implement as a function, return NULL if the
17237 parent is not an element.
17238 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17239 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17241 * gst/gstobject.c (gst_object_class_init): Make name a construct
17242 property. Don't set it in the object init.
17244 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17245 with UNKNOWN direction.
17246 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17247 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17248 (gst_element_remove_pad): Remove ghost-pad special cases.
17249 (gst_element_pads_activate): Remove rpad cruft.
17251 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17252 catch the pad's-parent-not-an-element case.
17254 * gst/gst.h: Include gstghostpad.h.
17256 * gst/gst.c (init_post): No more real, ghost pads.
17258 * gst/Makefile.am: Add gstghostpad.[ch].
17260 * check/Makefile.am:
17261 * check/gst/gstbin.c:
17262 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17263 into a bin creates ghost pads, and that the refcounts are right.
17264 Partly moved from gstbin.c.
17266 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17268 * check/gst-libs/.cvsignore:
17269 * check/gst/.cvsignore:
17270 * check/pipelines/.cvsignore:
17272 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17273 (START_TEST), (cleanup_suite), (main):
17274 add some tests related to cleanup after running pipelines
17276 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17278 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17279 add a testsuite for GstBuffer
17281 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17283 * gst/gstminiobject.h:
17284 add defines for accessing the refcount
17286 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17288 * Makefile.am: added support for html unit test coverage reports
17290 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17292 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17293 Free existing caps if the capsfilter changes. Add a FIXME about
17294 setting those caps on the pads.
17296 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17297 Before adding a ghost pad to a parent bin, check that there isn't
17298 already one for the element on the bin. Prevents infinite recursion
17299 when using decodebin in parse pipelines. Andy says he'll rewrite the
17300 way this works anyway, so ignore the hack.
17302 2005-06-02 Andy Wingo <wingo@pobox.com>
17304 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17305 file size, pass it on to the type find helper.
17307 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17308 segment_start and segment_end properly according to the seek
17309 method. Segment_end is still a bit flaky because offset can be
17310 negative for CUR and END cases, but it takes -1 as an "unset"
17313 2005-06-02 Wim Taymans <wim@fluendo.com>
17315 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17316 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17317 (gst_basesink_activate):
17318 * gst/base/gstbasesink.h:
17319 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17320 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17321 (gst_pad_query), (gst_pad_start_task):
17323 * gst/gstqueue.c: (gst_queue_bufferalloc),
17324 (gst_queue_handle_sink_event), (gst_queue_chain):
17325 Bufferalloc: return GstFlowReturn to more accuratly report
17326 why allocation failed.
17328 2005-06-02 Wim Taymans <wim@fluendo.com>
17330 * gst/gstpipeline.c: (gst_pipeline_send_event):
17331 Take snapshot of state without blocking.
17333 2005-06-02 Wim Taymans <wim@fluendo.com>
17335 * docs/design/part-TODO.txt:
17336 * docs/design/part-caps.txt:
17337 * docs/design/part-clocks.txt:
17338 * docs/design/part-negotiation.txt:
17339 * docs/design/part-preroll.txt:
17342 2005-05-30 Wim Taymans <wim@fluendo.com>
17344 * gst/elements/gstidentity.c: (gst_identity_event),
17345 (gst_identity_transform), (gst_identity_get_property):
17346 Protect last_message property as it is accessed from
17349 2005-05-30 Wim Taymans <wim@fluendo.com>
17351 * gst/gstelement.c: (gst_element_init),
17352 (gst_element_pads_activate), (gst_element_change_state):
17353 Slicker pad activation code.
17355 2005-05-30 Wim Taymans <wim@fluendo.com>
17358 * gst/gstelement.h:
17359 * gst/gstelementfactory.h:
17361 Move elementfactory methods to separate .h file.
17363 2005-05-30 Wim Taymans <wim@fluendo.com>
17365 * docs/design/part-overview.txt:
17366 * gst/gstsystemclock.h:
17367 Small typo fixes, doc updates.
17369 2005-05-30 Wim Taymans <wim@fluendo.com>
17371 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17372 (init_popt_callback):
17373 Remove cpu-opt flag.
17375 2005-05-30 Wim Taymans <wim@fluendo.com>
17377 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17378 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17380 Avoid typechecking in places where not needed.
17381 Added accessor for malloc_data.
17383 2005-05-30 Wim Taymans <wim@fluendo.com>
17385 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17386 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17387 (gst_pad_configure_sink), (gst_pad_configure_src),
17388 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17389 (gst_pad_start_task):
17390 Propagate errors from _set_caps() in configure_src/sink
17391 functions instead of returning TRUE.
17392 FLUSH events can travel up and downstream
17395 2005-05-30 Wim Taymans <wim@fluendo.com>
17397 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17398 (gst_basesink_activate):
17399 Handle EOS in preroll.
17401 2005-05-30 Wim Taymans <wim@fluendo.com>
17403 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17404 (gst_queue_loop), (gst_queue_handle_src_event):
17405 Remove old pieces of code
17406 Flushing the queue in an upstream event is a very bad idea.
17408 2005-05-26 Andy Wingo <wingo@pobox.com>
17410 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17411 gst_value_set_mini_object so as to add a ref on the object (which
17412 will be removed when the value is unset).
17414 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17415 arg type in ::handoff.
17417 * gst/gstelement.c (gst_element_change_state): Also deactivate
17418 pads in READY->NULL, just in case the element didn't make it to
17419 PAUSED. Wingo tested, Wim approved.
17421 2005-05-26 Wim Taymans <wim@fluendo.com>
17423 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17424 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17425 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17426 A flushing pad cannot be used to alloc_buffer from.
17428 2005-05-26 Wim Taymans <wim@fluendo.com>
17430 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17431 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17432 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17433 (gst_bus_create_watch), (gst_bus_add_watch_full):
17435 Implement a real GSource and use g_main_context_wakeup() to
17436 signal new messages instead of the socketpair.
17438 2005-05-25 Wim Taymans <wim@fluendo.com>
17440 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17441 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17442 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17443 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17444 (gst_pad_send_event), (gst_pad_start_task):
17445 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17446 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17447 (gst_queue_sink_activate), (gst_queue_src_activate),
17448 (gst_queue_change_state):
17450 Fix state changes for non sinks. We now change sinks, then elements
17451 with unconnected srcpads, then the rest.
17452 More efficient queue unlocking in flush and state changes.
17453 Set the pad activate mode even if it does not have an activate
17456 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17458 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17459 Don't go in pull mode for non-seekable sources.
17460 * gst/elements/gsttypefindelement.h:
17461 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17462 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17463 (free_entry), (stop_typefinding),
17464 (gst_type_find_element_handle_event), (find_peek),
17465 (gst_type_find_element_chain), (do_pull_typefind),
17466 (gst_type_find_element_change_state):
17467 Allow typefinding (w/o seeking) in push-mode, simplified version
17468 of what was in 0.8.
17469 * gst/gstutils.c: (gst_buffer_join):
17471 gst_buffer_join() from 0.8.
17473 2005-05-25 Wim Taymans <wim@fluendo.com>
17475 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17476 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17477 (gst_pad_send_event), (gst_pad_start_task):
17478 Disable attempt at mode switching until it is figured out.
17480 2005-05-25 Wim Taymans <wim@fluendo.com>
17482 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17483 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17484 (gst_basesink_finish_preroll), (gst_basesink_chain),
17485 (gst_basesink_loop), (gst_basesink_activate),
17486 (gst_basesink_change_state):
17487 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17488 (gst_basesrc_get_range), (gst_basesrc_loop),
17489 (gst_basesrc_activate):
17490 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17491 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17492 (gst_real_pad_init), (gst_real_pad_set_property),
17493 (gst_real_pad_get_property), (gst_pad_set_active),
17494 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17495 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17496 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17497 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17498 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17499 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17500 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17501 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17502 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17503 (gst_pad_stop_task):
17505 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17506 (gst_queue_loop), (gst_queue_src_activate):
17507 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17508 (gst_task_get_state):
17510 * gst/schedulers/threadscheduler.c:
17511 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17512 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17514 Remove ACTIVE pad flag, use FLUSHING everywhere
17515 Added _pad_chain(), _pad_get_range() to call chain/getrange
17517 Add locks around IS_FLUSHING when reading.
17518 Take STREAM lock in chain(), get_range() functions so plugins
17519 don't need to take it anymore.
17523 2005-05-25 Wim Taymans <wim@fluendo.com>
17525 * tools/gst-launch.c: (event_loop):
17526 Unref message after using its contents instead of
17529 2005-05-24 Wim Taymans <wim@fluendo.com>
17531 * docs/design/draft-ghostpads.txt:
17532 * docs/design/draft-push-pull.txt:
17533 * docs/design/draft-query.txt:
17534 * docs/design/part-overview.txt:
17535 Docs updates, added general overview doc.
17537 2005-05-21 David Schleef <ds@schleef.org>
17539 * docs/gst/tmpl/old/GstBin.sgml:
17540 * docs/gst/tmpl/old/GstBuffer.sgml:
17541 * docs/gst/tmpl/old/GstCaps.sgml:
17542 * docs/gst/tmpl/old/GstClock.sgml:
17543 * docs/gst/tmpl/old/GstCompat.sgml:
17544 * docs/gst/tmpl/old/GstData.sgml:
17545 * docs/gst/tmpl/old/GstElement.sgml:
17546 * docs/gst/tmpl/old/GstEvent.sgml:
17547 * docs/gst/tmpl/old/GstIndex.sgml:
17548 * docs/gst/tmpl/old/GstStructure.sgml:
17549 * docs/gst/tmpl/old/GstTag.sgml:
17550 * docs/gst/tmpl/old/cothreads.sgml:
17551 * docs/gst/tmpl/old/cothreads_compat.sgml:
17552 * docs/gst/tmpl/old/gettext.sgml:
17553 * docs/gst/tmpl/old/gobject2gtk.sgml:
17554 * docs/gst/tmpl/old/grammar.tab.sgml:
17555 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17556 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17557 * docs/gst/tmpl/old/gst_private.sgml:
17558 * docs/gst/tmpl/old/gstaggregator.sgml:
17559 * docs/gst/tmpl/old/gstarch.sgml:
17560 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17561 * docs/gst/tmpl/old/gstbufferstore.sgml:
17562 * docs/gst/tmpl/old/gstdata_private.sgml:
17563 * docs/gst/tmpl/old/gstdisksink.sgml:
17564 * docs/gst/tmpl/old/gstdisksrc.sgml:
17565 * docs/gst/tmpl/old/gstelementfactory.sgml:
17566 * docs/gst/tmpl/old/gstextratypes.sgml:
17567 * docs/gst/tmpl/old/gstfakesink.sgml:
17568 * docs/gst/tmpl/old/gstfakesrc.sgml:
17569 * docs/gst/tmpl/old/gstfdsink.sgml:
17570 * docs/gst/tmpl/old/gstfdsrc.sgml:
17571 * docs/gst/tmpl/old/gstfilesink.sgml:
17572 * docs/gst/tmpl/old/gstfilesrc.sgml:
17573 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17574 * docs/gst/tmpl/old/gstidentity.sgml:
17575 * docs/gst/tmpl/old/gstindexfactory.sgml:
17576 * docs/gst/tmpl/old/gstmarshal.sgml:
17577 * docs/gst/tmpl/old/gstmd5sink.sgml:
17578 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17579 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17580 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17581 * docs/gst/tmpl/old/gstpipefilter.sgml:
17582 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17583 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17584 * docs/gst/tmpl/old/gstshaper.sgml:
17585 * docs/gst/tmpl/old/gstspider.sgml:
17586 * docs/gst/tmpl/old/gstspideridentity.sgml:
17587 * docs/gst/tmpl/old/gststatistics.sgml:
17588 * docs/gst/tmpl/old/gsttee.sgml:
17589 * docs/gst/tmpl/old/gsttimecache.sgml:
17590 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17591 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17592 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17593 * docs/gst/tmpl/old/types.sgml:
17594 I didn't intend to add these or check them in.
17596 2005-05-19 David Schleef <ds@schleef.org>
17598 * configure.ac: Use -no-common everywhere. In a sane world, it
17599 would be the default in libtool, because without it, you can't
17600 build DLLs on Windows.
17601 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17602 * docs/gst/gstreamer-sections.txt:
17603 * docs/gst/tmpl/gstcpu.sgml:
17604 * docs/gst/tmpl/gstdata.sgml:
17605 * docs/gst/tmpl/gstthread.sgml:
17607 2005-05-19 David Schleef <ds@schleef.org>
17609 * gst/gstminiobject.c: (gst_value_set_mini_object),
17610 (gst_value_take_mini_object), (gst_value_get_mini_object):
17611 * gst/gstminiobject.h: Add GValue set/get functions.
17613 2005-05-19 Wim Taymans <wim@fluendo.com>
17615 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17616 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17617 (gst_subbuffer_init), (gst_buffer_is_span_fast):
17619 * gst/gstbus.c: (gst_bus_post):
17620 * gst/gstelement.c: (gst_element_get_random_pad):
17621 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17622 Make subbufer unref the parent in finalize.
17623 some more debugging info.
17626 2005-05-19 Wim Taymans <wim@fluendo.com>
17628 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17629 (gst_basesink_init), (gst_basesink_finalize),
17630 (gst_basesink_activate), (gst_basesink_change_state):
17631 Don't free preroll queue too early.
17633 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17637 Hi, I'm outdated. Please shoot me.
17639 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17641 * gst/gstpipeline.c: (gst_pipeline_send_event):
17642 Do not access variables after they have been deleted.
17644 2005-05-19 Wim Taymans <wim@fluendo.com>
17646 * tools/gst-inspect.c: (print_plugin_features):
17647 A plugin feature does unfortunatly not use the
17650 2005-05-18 Wim Taymans <wim@fluendo.com>
17652 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17653 Port _span() functions to new subbuffers.
17655 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17657 * gst/gstbin.c: (gst_bin_add_func):
17658 Fix clock settery in bins when adding kids after the clock has
17661 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17663 * gst/elements/gstidentity.c: (gst_identity_class_init):
17664 Workaround until signals support GstMiniObject.
17666 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
17669 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17671 2005-05-18 Wim Taymans <wim@fluendo.com>
17673 * gst/base/Makefile.am:
17674 * gst/base/gstadapter.c: (gst_adapter_base_init),
17675 (gst_adapter_class_init), (gst_adapter_init),
17676 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17677 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17678 (gst_adapter_flush), (gst_adapter_available),
17679 (gst_adapter_available_fast):
17680 * gst/base/gstadapter.h:
17681 Ported and added adapter to the base classes.
17683 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17686 * gst/gstmessage.c:
17687 Make sure the class is reffed/unreffed once before threads can be
17688 used. Fixes #304551.
17690 2005-05-17 Wim Taymans <wim@fluendo.com>
17692 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17693 (gst_basesink_chain_unlocked), (gst_basesink_activate):
17694 * gst/gstminiobject.c: (gst_mini_object_get_type),
17695 (gst_mini_object_free):
17696 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17697 (gst_pad_push), (gst_pad_push_event):
17698 * gst/gstqueue.c: (gst_queue_change_state):
17699 Don't queue buffers in basesink when we are flushing.
17700 Unref buffer when flushing in basesink.
17701 Flush queue when going to READY
17702 Unref buffer when _push() returns an error.
17703 Don't free MiniObject instance when refcount is incremented
17704 in _finalize() so that we can recover objects.
17706 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
17708 * docs/manual/advanced-schedulers.xml:
17709 * docs/manual/appendix-checklist.xml:
17710 * docs/pwg/advanced-clock.xml:
17711 * docs/pwg/advanced-interfaces.xml:
17712 * docs/pwg/advanced-request.xml:
17713 * docs/pwg/advanced-types.xml:
17714 * docs/pwg/intro-preface.xml:
17715 * examples/plugins/example.c: (gst_example_get_type),
17716 (gst_example_class_init), (gst_example_chain),
17717 (gst_example_set_property), (gst_example_get_property),
17718 (gst_example_change_state), (plugin_init):
17719 * examples/plugins/example.h:
17722 2005-05-17 Wim Taymans <wim@fluendo.com>
17724 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17725 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17726 * gst/gstqueue.c: (gst_queue_change_state):
17727 Clear queue when going to READY.
17728 Remove IN_SETCAPS flag too.
17730 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
17732 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17733 Remove implicit cast from gboolean to GstElementStateReturn;
17734 make sure we still return failure in paused => ready case if
17735 the parent class fails to change state and our own stop
17738 2005-05-17 Wim Taymans <wim@fluendo.com>
17740 * tools/gst-launch.c: (event_loop):
17741 Message was unreffed too soon.
17743 2005-05-16 Andy Wingo <wingo@pobox.com>
17745 * gst/gstbin.c (sink_iterator_filter): Err... um...
17747 * check/gst/gstbin.c (test_ghost_pads): New test for the
17748 ghosting-if-elements-not-in-same-bin behavior.
17750 2005-05-16 David Schleef <ds@schleef.org>
17752 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17753 accessing refcount directly.
17755 2005-05-15 David Schleef <ds@schleef.org>
17757 * check/Makefile.am: remove GstData checks
17758 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17759 * gst/Makefile.am: add miniobject, remove data
17760 * gst/gst.h: add miniobject, remove data
17761 * gst/gstdata.c: remove
17762 * gst/gstdata.h: remove
17763 * gst/gstdata_private.h: remove
17764 * gst/gsttypes.h: remove GstEvent and GstMessage
17765 * gst/gstelement.c: (gst_element_post_message): fix for API changes
17766 * gst/gstmarshal.list: change BOXED -> OBJECT
17768 Implement GstMiniObject.
17769 * gst/gstminiobject.c:
17770 * gst/gstminiobject.h:
17772 Modify to be subclasses of GstMiniObject.
17773 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17774 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17775 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17776 (gst_subbuffer_get_type), (gst_subbuffer_init),
17777 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17780 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17781 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17782 (_gst_event_copy), (gst_event_new):
17784 * gst/gstmessage.c: (_gst_message_initialize),
17785 (gst_message_get_type), (gst_message_class_init),
17786 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17787 (gst_message_new), (gst_message_new_error),
17788 (gst_message_new_warning), (gst_message_new_tag),
17789 (gst_message_new_state_changed), (gst_message_new_application):
17790 * gst/gstmessage.h:
17791 * gst/gstprobe.c: (gst_probe_perform),
17792 (gst_probe_dispatcher_dispatch):
17794 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17795 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17796 (_gst_query_copy), (gst_query_new):
17798 Update elements for GstData -> GstMiniObject changes
17800 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17801 (gst_queue_chain), (gst_queue_loop):
17802 * gst/elements/gstbufferstore.c:
17803 (gst_buffer_store_add_buffer_func),
17804 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17805 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17806 (gst_fakesink_render):
17807 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17808 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17809 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17810 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17811 (gst_filesrc_create_read):
17812 * gst/elements/gstidentity.c: (gst_identity_class_init):
17813 * gst/elements/gsttypefindelement.c:
17814 (gst_type_find_element_src_event), (free_entry_buffers),
17815 (gst_type_find_element_handle_event):
17816 * libs/gst/dataprotocol/dataprotocol.c:
17817 (gst_dp_header_from_buffer):
17818 * libs/gst/dataprotocol/dataprotocol.h:
17819 * libs/gst/dataprotocol/dp-private.h:
17821 2005-05-15 David Schleef <ds@schleef.org>
17823 * gst/elements/gstelements.c: Don't include headers that were
17826 2005-05-15 David Schleef <ds@schleef.org>
17828 * gst/elements/Makefile.am: Remove some elements that don't
17829 need to be in the core (or even exist at all).
17830 * gst/elements/gstaggregator.c:
17831 * gst/elements/gstaggregator.h:
17832 * gst/elements/gstmd5sink.c:
17833 * gst/elements/gstmd5sink.h:
17834 * gst/elements/gstmultifilesrc.c:
17835 * gst/elements/gstmultifilesrc.h:
17836 * gst/elements/gstpipefilter.c:
17837 * gst/elements/gstpipefilter.h:
17838 * gst/elements/gstshaper.c:
17839 * gst/elements/gstshaper.h:
17840 * gst/elements/gststatistics.c:
17841 * gst/elements/gststatistics.h:
17842 * po/POTFILES.in: Remove above files.
17844 2005-05-14 Andy Wingo <wingo@pobox.com>
17846 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17847 so as to get the refs right.
17848 (sink_iterator_filter): New function, wraps bin_element_is_sink,
17849 unreffing objects that don't pass the filter.
17851 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17852 gst_element_set_bus.
17853 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17854 normal cases, this will destroy the bus.
17856 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17859 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17862 2005-05-13 Andy Wingo <wingo@pobox.com>
17864 * gst/gstutils.c (gst_element_link_pads): Instead of calling
17865 gst_pad_link, call pad_link_maybe_ghosting,
17866 (pad_link_maybe_ghosting): Links pads, making sure that the
17867 elements being linked are in the same bin.
17868 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17869 Helpers for pad_link_maybe_ghosting.
17871 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17874 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17876 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17878 * docs/design/part-element-source.txt:
17881 2005-05-12 Wim Taymans <wim@fluendo.com>
17883 * gst/base/gstbasesink.c: (gst_basesink_init),
17884 (gst_basesink_activate):
17885 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17886 (gst_basesrc_is_seekable):
17887 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17888 (bin_element_is_sink), (gst_bin_change_state):
17889 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17890 * gst/gstelement.h:
17891 Identify sinks by their flag to avoid overly complicated
17893 Do state changes even for elements not reachable from the
17895 BaseSink is a sink now :)
17896 Some more debugging info in the basesrc.
17899 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17901 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17902 Implement _query on a bin, similar to _send_event.
17904 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
17906 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
17907 Discont event offset format should be GST_FORMAT_BYTES,
17908 not GST_FORMAT_TIME.
17910 2005-05-12 Wim Taymans <wim@fluendo.com>
17912 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
17913 Same fix as Ronald's but without the signal.
17915 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17917 * gst/gstutils.c: (gst_element_query_position):
17918 No, an element is not a pad.
17920 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17922 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
17923 (gst_bin_get_state):
17924 If a child is removed from a bin while we remove the child from
17925 the bin and while we're retrieving its state, signal this to the
17926 get_state function so we abort the wait (instead of waiting for
17927 a timeout) and can immediately re-iterate over all other elements.
17929 2005-05-12 Wim Taymans <wim@fluendo.com>
17931 * gst/base/Makefile.am:
17932 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
17933 (gst_basesrc_start):
17934 * gst/base/gstbasesrc.h:
17935 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
17936 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
17937 (gst_pushsrc_init), (gst_pushsrc_create):
17938 * gst/base/gstpushsrc.h:
17939 Added is_seekable to BaseSrc
17940 Added simple PushSrc.
17942 2005-05-11 Wim Taymans <wim@fluendo.com>
17944 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17945 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17946 (gst_element_link_pads), (gst_element_query_position),
17947 (gst_element_query_convert), (intersect_caps_func),
17948 (gst_pad_query_position), (gst_pad_query_convert):
17949 Fix refcounting in utils function.
17950 No point in trying to activate a pad when it's added, it could
17951 be added from the state change function and then we deadlock, the
17952 element has to decide what to do.
17954 2005-05-10 Andy Wingo <wingo@pobox.com>
17956 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
17957 *all* the arguments.
17959 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
17960 stream lock if it's a FLUSH_DONE; normal flushes don't get the
17961 lock (according to the docs -- if this is wrong change the docs).
17963 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
17964 flush messages in the NULL state.
17966 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
17967 message immediately and return.
17968 (gst_bus_set_flushing): New function. If a bus is flushing, it
17969 flushes out any queued messages and immediately unrefs new
17970 messages. This is so when an element goes to NULL, all of the
17971 unhandled messages coming from it can be freed, and their
17972 references to the element dropped. In other words: message source
17973 ref considered harmful :P
17975 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17976 we're finished with it.
17978 * gst/gstmessage.c (gst_message_new_state_changed):
17980 2005-05-10 Wim Taymans <wim@fluendo.com>
17982 * gst/gstvalue.c: (gst_value_compare_flags),
17983 (gst_value_serialize_flags), (gst_value_deserialize_flags),
17984 (_gst_value_initialize):
17985 Added flags serialize/deserialize/compare code.
17987 2005-05-09 Andy Wingo <wingo@pobox.com>
17989 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17990 Intersect the peer's caps with our caps.
17992 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17994 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17995 * gst/elements/gsttypefindelement.c: (find_peek):
17996 Handle negative offsets better. Fixes decodebin.
17998 2005-05-09 Wim Taymans <wim@fluendo.com>
18000 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18001 (gst_base_transform_event):
18002 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18003 Implement accept_caps.
18004 Fix silly lock/unlock mismatch in base class.
18006 2005-05-09 Wim Taymans <wim@fluendo.com>
18008 * docs/design/draft-push-pull.txt:
18009 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18010 * gst/elements/gstfilesink.c: (gst_filesink_init),
18011 (gst_filesink_query):
18012 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18013 (gst_type_find_handle_src_query), (find_element_get_length):
18014 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18015 * gst/gstelement.h:
18016 * gst/gstmessage.c:
18017 * gst/gstmessage.h:
18018 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18019 (gst_real_pad_get_caps_unlocked),
18020 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18021 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18022 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18023 (gst_real_pad_dispose), (gst_real_pad_finalize),
18024 (gst_pad_load_and_link), (gst_pad_save_thyself),
18025 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18026 (gst_pad_check_pull_range), (gst_pad_pull_range),
18027 (gst_pad_template_get_type), (gst_pad_template_class_init),
18028 (gst_pad_template_init), (gst_pad_template_dispose),
18029 (name_is_valid), (gst_static_pad_template_get),
18030 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18031 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18032 (gst_pad_get_element_private), (gst_pad_start_task),
18033 (gst_pad_pause_task), (gst_pad_stop_task),
18034 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18035 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18036 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18037 (gst_ghost_pad_new):
18039 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18040 (gst_query_new_position), (gst_query_set_position),
18041 (gst_query_parse_position), (gst_query_new_convert),
18042 (gst_query_set_convert), (gst_query_parse_convert):
18044 * gst/gstqueryutils.c:
18045 * gst/gstqueryutils.h:
18046 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18047 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18048 (gst_queue_handle_src_query):
18049 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18050 (gst_element_query_position), (gst_element_query_convert),
18051 (intersect_caps_func), (gst_pad_query_position),
18052 (gst_pad_query_convert):
18054 * tools/gst-inspect.c: (print_pad_info):
18055 * tools/gst-xmlinspect.c: (print_element_info):
18056 Remove old query functions. Ported old code.
18057 Added position/convert helper functions to gstutils.
18058 Reordered gstpad.c code, grouping relevant things.
18059 Remove gst_message_new(), always need to speficy a specific
18063 2005-05-09 Andy Wingo <wingo@pobox.com>
18065 * gst/gstiterator.h: Add some includes.
18067 * gst/gstqueryutils.h: Include more headers.
18070 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18071 some uses of gst_pad_query.
18073 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18074 NULL out parameters.
18075 (gst_query_new_position): New proc, allocates a new position
18078 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18079 gstqueryutils.c to the build.
18081 * gst/gststructure.c (gst_structure_set_valist): Implement with
18082 the generic G_VALUE_COLLECT.
18084 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18086 * gst/Makefile.am: (gst_headers):
18087 Added gstqueryutils.h to the list of headers to install, that was
18088 a 'nachty' move wingo :)
18090 2005-05-06 Andy Wingo <wingo@pobox.com>
18093 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18094 GstData, init a memchunk.
18095 (standard_definitions): Add a few query types, deprecate a few.
18096 (gst_query_get_type): New proc.
18097 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18099 (gst_query_new_application, gst_query_get_structure): New public
18102 * docs/design/draft-query.txt: Removed LINKS from the query types,
18103 because all the rest can be dispatched to other pads -- seemed
18104 ugly to have a query that couldn't be dispatched. internal_links
18105 is fine as a pad method.
18107 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18108 in gstpad.c, but maintain binary compatibility for the moment.
18109 Will fix before 0.9 is out.
18111 * gst/gstqueryutils.c:
18112 * gst/gstqueryutils.h: New files, implement 3 methods for each
18113 query type: parse_query, parse_response, and set. Probably need an
18116 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18118 * gst/elements/gstfilesink.c (gst_filesink_query2):
18119 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18120 query_types, and formats methods.
18122 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18123 (gst_pad_set_query2_function): New functions.
18124 (gst_real_pad_init): Set query2_default as the default query2
18125 function. Basically just dispatches to internally linked pads.
18129 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18130 without using the atomic operations. Only one thread can possibly
18131 be accessing the data at this point. Changed so as to avoid
18132 gst_atomic operations.
18134 2005-05-06 Wim Taymans <wim@fluendo.com>
18136 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18137 Also set caps if we use the fallback buffer alloc.
18139 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18141 * docs/gst/Makefile.am:
18142 * docs/gst/gstreamer-docs.sgml:
18143 * docs/gst/gstreamer-sections.txt:
18144 * docs/gst/tmpl/gstatomic.sgml:
18145 * docs/gst/tmpl/gstmemchunk.sgml:
18146 * testsuite/elements/struct_i386.h:
18147 * win32/GStreamer.vcproj:
18149 Purge GstAtomic stuff from docs and win32 makefiles as well
18151 2005-05-06 Wim Taymans <wim@fluendo.com>
18153 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18154 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18155 * gst/gstpad.c: (gst_pad_peer_get_caps):
18156 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18157 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18158 (gst_queue_src_activate), (gst_queue_change_state):
18160 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18161 (intersect_caps_func):
18162 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18163 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18164 Some fixes for the peer_get_caps() change.
18166 2005-05-06 Wim Taymans <wim@fluendo.com>
18168 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18169 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18170 (gst_basesink_activate):
18171 Actually do something with error codes returned from the push
18174 2005-05-06 Wim Taymans <wim@fluendo.com>
18176 * docs/design/part-element-sink.txt:
18177 * docs/design/part-element-source.txt:
18178 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18179 (gst_basesink_event), (gst_basesink_activate):
18180 * gst/base/gstbasesink.h:
18181 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18182 (gst_basesrc_activate):
18183 * gst/base/gstbasesrc.h:
18184 * gst/gstelement.c: (gst_element_pads_activate):
18185 Some more documentation.
18186 Fixed scheduling decision in _pads_activate().
18188 2005-05-05 Andy Wingo <wingo@pobox.com>
18190 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18193 2005-05-05 Wim Taymans <wim@fluendo.com>
18195 * gst/base/Makefile.am:
18196 * gst/base/gstbasesink.h:
18197 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18198 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18199 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18200 (gst_collectpads_class_init), (gst_collectpads_init),
18201 (gst_collectpads_finalize), (gst_collectpads_new),
18202 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18203 (find_pad), (gst_collectpads_remove_pad),
18204 (gst_collectpads_is_active), (gst_collectpads_collect),
18205 (gst_collectpads_collect_range), (gst_collectpads_start),
18206 (gst_collectpads_stop), (gst_collectpads_peek),
18207 (gst_collectpads_pop), (gst_collectpads_available),
18208 (gst_collectpads_read), (gst_collectpads_flush),
18209 (gst_collectpads_chain):
18210 * gst/base/gstcollectpads.h:
18211 * gst/elements/Makefile.am:
18212 * gst/elements/gstelements.c:
18213 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18214 (gst_fakesink_get_times), (gst_fakesink_event),
18215 (gst_fakesink_preroll), (gst_fakesink_render):
18216 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18217 (gst_filesink_init), (gst_filesink_set_location),
18218 (gst_filesink_open_file), (gst_filesink_close_file),
18219 (gst_filesink_pad_query), (gst_filesink_event),
18220 (gst_filesink_render), (gst_filesink_change_state):
18221 * gst/elements/gstfilesink.h:
18222 Added object to help in making collect pad based elements.
18224 Make event function in sink baseclass return gboolean.
18226 2005-05-05 Wim Taymans <wim@fluendo.com>
18228 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18229 (gst_bin_get_by_name):
18231 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18232 (gst_clock_finalize):
18233 * gst/gstdata.c: (gst_data_replace):
18235 * gst/gstelement.c: (gst_element_request_pad),
18236 (gst_element_pads_activate):
18237 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18238 (gst_object_unref):
18239 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18240 (gst_pad_set_checkgetrange_function),
18241 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18242 (gst_pad_check_pull_range), (gst_pad_pull_range),
18243 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18244 (gst_pad_pause_task), (gst_pad_stop_task):
18245 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18246 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18247 Fix name lookup in GstBin.
18248 Added _data_replace() function and _buffer_replace()
18249 Use finalize method to clean up clock.
18250 Fix refcounting on request pads.
18251 Fix pad schedule mode error.
18252 Some more object refcounting debug info,
18255 2005-05-04 Andy Wingo <wingo@pobox.com>
18257 * check/Makefile.am:
18258 * docs/gst/tmpl/gstatomic.sgml:
18259 * docs/gst/tmpl/gstplugin.sgml:
18260 * gst/base/gstbasesink.c: (gst_basesink_activate):
18261 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18262 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18263 (gst_basesrc_query), (gst_basesrc_set_property),
18264 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18265 (gst_basesrc_activate):
18266 * gst/base/gstbasesrc.h:
18267 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18268 (gst_base_transform_src_activate):
18269 * gst/elements/gstelements.c:
18270 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18271 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18272 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18273 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18274 (gst_type_find_element_checkgetrange),
18275 (gst_type_find_element_activate):
18276 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18277 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18278 (gst_caps_load_thyself):
18279 * gst/gstelement.c: (gst_element_pads_activate),
18280 (gst_element_save_thyself), (gst_element_restore_thyself):
18281 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18282 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18284 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18285 (gst_xml_parse_file), (gst_xml_parse_memory),
18286 (gst_xml_get_element), (gst_xml_make_element):
18287 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18288 (_file_index_id_save_xml), (gst_file_index_commit):
18289 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18290 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18292 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18293 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18294 * tools/gst-complete.c: (main):
18295 * tools/gst-compprep.c: (main):
18296 * tools/gst-inspect.c: (print_element_properties_info):
18297 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18298 * tools/gst-xmlinspect.c: (print_element_properties):
18301 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18303 * gst/gstplugin.c: (gst_plugin_check_module),
18304 (gst_plugin_check_file), (gst_plugin_load_file):
18305 apply patch from #172526 to make register work on MacOSX
18307 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18309 * docs/gst/tmpl/gstconfig.sgml:
18310 * gst/gstconfig.h.in:
18311 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18312 * testsuite/debug/printf_extension.c: (main):
18313 Do not use GST_PTR_FORMAT on pointers to types with
18314 sizeof < sizeof(gpointer). Fixes test on 64-bit
18315 * testsuite/elements/property.h:
18316 use correct printf format
18318 2005-05-02 Wim Taymans <wim@fluendo.com>
18320 * docs/design/draft-push-pull.txt:
18321 * docs/design/draft-query.txt:
18322 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18323 (gst_basesrc_start):
18324 Added draft for new query API.
18325 Added draft for better selecting scheduling methods.
18326 Make basesrc ignore length if the subclass does not support
18329 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18332 possible fixes for automake-1.5 - _LIBADD is reserved
18334 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18336 * docs/faq/Makefile.am:
18337 * docs/manual/Makefile.am:
18338 * docs/manuals.mak:
18339 * docs/pwg/Makefile.am:
18341 possible fixes for automake-1.5
18343 2005-04-28 Wim Taymans <wim@fluendo.com>
18345 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18346 (gst_basesink_pad_getcaps), (gst_basesink_init),
18347 (gst_basesink_do_sync):
18348 * gst/gstclock.c: (gst_clock_entry_new):
18349 * gst/gstevent.c: (gst_event_discont_get_value):
18350 * gst/gstpipeline.c: (pipeline_bus_handler),
18351 (gst_pipeline_change_state):
18352 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18353 Better debugging of clocking info.
18354 Allow NULL values when getting discont values.
18356 2005-04-27 Wim Taymans <wim@fluendo.com>
18358 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18359 * check/gst/gstpad.c: (gst_pad_suite):
18360 Increase timeout for checks.
18362 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18364 * check/Makefile.am:
18365 fix the broken rule for cleanup. Apparently this rule is
18366 only needed on FC2, so maybe this warrants further autotool
18369 2005-04-26 Wim Taymans <wim@fluendo.com>
18371 * gst/gsttrashstack.h:
18372 Ooohh. a nasty one! After having a failed pop() from the stack,
18373 it's possible that the stack is empty. In that case, don't
18374 follow the NULL pointer.
18376 2005-04-25 Wim Taymans <wim@fluendo.com>
18378 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18379 (gst_pad_set_checkgetrange_function),
18380 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18381 (gst_pad_check_pull_range), (gst_pad_pull_range),
18382 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18383 (gst_pad_pause_task), (gst_pad_stop_task):
18384 * gst/gstplugin.c: (gst_plugin_load):
18386 Remove gst_library_load as it does more harm than good with
18387 the new g_module flags.
18388 Revert bogus caps template check in pad linking, pad caps
18389 are important when linking not the template, which is more
18390 general than the current caps.
18392 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18394 * gst/autoplug/.cvsignore:
18395 * gst/autoplug/Makefile.am:
18396 * gst/autoplug/gstsearchfuncs.c:
18397 * gst/autoplug/gstsearchfuncs.h:
18398 * gst/autoplug/gstspider.c:
18399 * gst/autoplug/gstspider.h:
18400 * gst/autoplug/gstspideridentity.c:
18401 * gst/autoplug/gstspideridentity.h:
18402 * gst/autoplug/spidertest.c:
18405 2005-04-25 Wim Taymans <wim@fluendo.com>
18407 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18408 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18409 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18410 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18412 Added stubs for unimplemented functions.
18414 2005-04-24 David Schleef <ds@schleef.org>
18416 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18419 2005-04-24 David Schleef <ds@schleef.org>
18421 Convert everything from GstAtomicInt to g_atomic_int_*, and
18426 * gst/gstatomic_impl.h:
18434 * gst/gstdata_private.h:
18438 * gst/gstmessage.c:
18441 * gst/gststructure.c:
18442 * gst/gststructure.h:
18443 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18446 2005-04-24 David Schleef <ds@schleef.org>
18448 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18449 make the regressions tests work. Remove some code that is no
18451 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18452 Disable warning for pads without templates.
18454 2005-04-24 David Schleef <ds@schleef.org>
18456 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18457 functions that handle filtered links.
18458 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18460 * gst/gstutils.c: Fix/remove utility functions that handle
18463 * gst/gstvalue.c: Add serialization/deserialization of caps
18464 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18465 requires fixing so that the filter caps notation creates
18466 a capsfilter element and sets the filter_caps property. I
18467 think everyone probably wants to keep the shorthand notation.
18468 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18469 * docs/gst/tmpl/gstpad.sgml:
18471 * gst/elements/gstelements.c: Register capsfilter element.
18472 * gst/Makefile.am: fix spacing
18473 * docs/random/ds/0.9-suggested-changes: random
18475 2005-04-23 David Schleef <ds@schleef.org>
18477 * gst/elements/Makefile.am:
18478 * gst/elements/gstcapsfilter.c: New element that acts like an
18479 identity, but filters caps. Will eventually replace filtered
18480 caps in pad linking.
18481 * gst/gstutils.c: (gst_element_create_all_pads): New function
18482 to create all the ALWAYS pads that are registered with an
18483 element class. This functionality should eventually be
18484 merged in with GstElement initialization.
18486 * testsuite/trigger/README: part of trigger test code that should
18487 have been checked in a long time ago.
18489 2005-04-23 David Schleef <ds@schleef.org>
18491 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18492 needed with new versions of libtool (nobody will confirm this),
18493 and hard to carry around.
18494 * gst/autoplug/Makefile.am:
18495 * gst/base/Makefile.am:
18496 * gst/elements/Makefile.am:
18497 * gst/indexers/Makefile.am:
18498 * gst/schedulers/Makefile.am:
18499 * libs/gst/bytestream/Makefile.am:
18500 * libs/gst/control/Makefile.am:
18501 * libs/gst/dataprotocol/Makefile.am:
18502 * libs/gst/getbits/Makefile.am:
18504 2005-04-21 Wim Taymans <wim@fluendo.com>
18506 * docs/design/draft-push-pull.txt:
18507 * docs/design/part-MT-refcounting.txt:
18508 * docs/design/part-TODO.txt:
18509 * docs/design/part-caps.txt:
18510 * docs/design/part-events.txt:
18511 * docs/design/part-gstbus.txt:
18512 * docs/design/part-gstpipeline.txt:
18513 * docs/design/part-messages.txt:
18514 * docs/design/part-push-pull.txt:
18515 * docs/design/part-query.txt:
18518 2005-04-21 Wim Taymans <wim@fluendo.com>
18520 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18521 (gst_message_new), (gst_message_new_error),
18522 (gst_message_new_warning), (gst_message_new_tag),
18523 (gst_message_new_state_changed), (gst_message_new_application),
18524 (gst_message_get_structure):
18525 * gst/gstmessage.h:
18526 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18527 (gst_structure_copy_conditional):
18528 Use parent refcount in GstMessage to ensure GstStructure
18530 Cleaned up headers a bit.
18533 2005-04-20 Wim Taymans <wim@fluendo.com>
18535 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18536 (gst_basesink_pad_getcaps), (gst_basesink_init),
18537 (gst_basesink_chain_unlocked):
18538 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18539 (gst_type_find_helper):
18540 * gst/elements/gsttypefindelement.c:
18541 (gst_type_find_element_have_type), (gst_type_find_element_init),
18542 (stop_typefinding), (gst_type_find_element_handle_event),
18543 (find_suggest), (gst_type_find_element_chain),
18544 (gst_type_find_element_checkgetrange),
18545 (gst_type_find_element_getrange), (do_typefind),
18546 (gst_type_find_element_activate):
18547 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18548 (gst_buffer_default_free), (gst_buffer_default_copy),
18549 (gst_buffer_set_caps):
18550 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18551 (gst_caps_replace):
18552 * gst/gstmessage.c: (gst_message_new),
18553 (gst_message_new_state_changed):
18554 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18555 (gst_pad_set_checkgetrange_function),
18556 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18557 (gst_pad_set_caps), (gst_pad_check_pull_range),
18558 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18560 * gst/gsttypefind.c: (gst_type_find_register):
18561 Make gst_caps_replace() work like other _replace() functions.
18562 Use _caps_replace() where possible.
18563 Make sure _message_new() initialises its field.
18564 Add gst_static_pad_template_get_caps()
18567 2005-04-18 Andy Wingo <wingo@pobox.com>
18569 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18570 on the peer, not the pad. I think that was a typo. Pass an extra
18571 arg to see if random access is possible. Activate the pads as
18572 PULL_RANGE if possible.
18574 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18576 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18577 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18580 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18582 * docs/faq/using.xml:
18583 Add note on gstreamer-properties (#154996).
18585 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18587 * docs/random/bbb/optional-properties:
18588 Some analysis on optional properties.
18590 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18592 * docs/gst/tmpl/gstelementfactory.sgml:
18593 * gst/gstelement.h:
18594 * gst/gstelementfactory.c: (gst_element_factory_init),
18595 (gst_element_factory_cleanup), (gst_element_register),
18596 (__gst_element_factory_add_static_pad_template),
18597 (gst_element_factory_get_static_pad_templates),
18598 (gst_element_factory_can_src_caps),
18599 (gst_element_factory_can_sink_caps):
18600 * gst/registries/Makefile.am:
18601 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18602 (gst_xml_registry_class_init), (gst_xml_registry_init),
18603 (gst_xml_registry_new), (gst_xml_registry_set_property),
18604 (gst_xml_registry_get_property), (get_time), (make_dir),
18605 (gst_xml_registry_get_perms_func),
18606 (plugin_times_older_than_recurse), (plugin_times_older_than),
18607 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18608 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18609 (add_to_char_array), (read_string), (read_uint), (read_enum),
18610 (load_pad_template), (load_feature), (load_plugin), (load_paths),
18611 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18612 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18613 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18614 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18615 (gst_xml_registry_rebuild):
18616 * gst/registries/gstlibxmlregistry.h:
18617 * tools/gst-compprep.c: (main):
18618 * tools/gst-inspect.c: (print_pad_templates_info):
18619 * tools/gst-xmlinspect.c: (print_element_info):
18620 Use libxml2 for registry parsing, use staticpadtemplates in
18621 elementfactories. Makes gst_init() +/- 10x faster.
18623 2005-04-12 Wim Taymans <wim@fluendo.com>
18625 * gst/base/Makefile.am:
18626 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18627 (gst_basesink_pad_getcaps), (gst_basesink_init),
18628 (gst_basesink_event), (gst_basesink_change_state):
18629 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18630 (gst_basesrc_init), (gst_basesrc_query),
18631 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18632 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18633 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18634 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18635 (gst_basesrc_stop), (gst_basesrc_activate),
18636 (gst_basesrc_change_state):
18637 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18638 (helper_find_suggest), (gst_type_find_helper):
18639 * gst/base/gsttypefindhelper.h:
18640 * gst/elements/Makefile.am:
18641 * gst/elements/gstelements.c:
18642 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18643 (gst_fakesink_get_times), (gst_fakesink_event),
18644 (gst_fakesink_preroll), (gst_fakesink_render):
18645 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18646 (gst_fakesrc_init), (gst_fakesrc_event_handler),
18647 (gst_fakesrc_get_property), (gst_fakesrc_create),
18648 (gst_fakesrc_start), (gst_fakesrc_stop):
18649 * gst/elements/gstfakesrc.h:
18650 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18651 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18652 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18653 (gst_filesrc_create_read), (gst_filesrc_create),
18654 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18655 (gst_filesrc_start):
18656 * gst/elements/gsttypefindelement.c:
18657 (gst_type_find_element_have_type), (gst_type_find_element_init),
18658 (start_typefinding), (stop_typefinding), (push_buffer_store),
18659 (gst_type_find_element_handle_event),
18660 (gst_type_find_element_chain),
18661 (gst_type_find_element_checkgetrange),
18662 (gst_type_find_element_getrange), (do_typefind),
18663 (gst_type_find_element_activate),
18664 (gst_type_find_element_change_state):
18665 * gst/elements/gsttypefindelement.h:
18666 * gst/gstpipeline.c: (pipeline_bus_handler):
18667 Added typefind helper.
18668 Small preroll fix in the base sink.
18669 Disable typefind code in basesrc.
18670 Crude port of typefindelement.
18674 2005-04-11 Wim Taymans <wim@fluendo.com>
18676 * check/gst/gstbus.c: (gstbus_suite):
18677 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18678 * check/gstcheck.h:
18679 Fix up the timeout so that the test does not fail.
18681 2005-04-06 Wim Taymans <wim@fluendo.com>
18684 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18685 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18686 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18687 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18688 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18689 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18690 (gst_basesrc_stop), (gst_basesrc_activate),
18691 (gst_basesrc_change_state), (basesrc_find_peek),
18692 (basesrc_find_suggest), (gst_basesrc_type_find):
18693 * gst/base/gstbasesrc.h:
18694 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18695 (gst_filesrc_class_init), (gst_filesrc_init),
18696 (gst_filesrc_finalize), (gst_filesrc_set_location),
18697 (gst_filesrc_set_property), (gst_filesrc_get_property),
18698 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18699 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18700 (gst_filesrc_create_read), (gst_filesrc_create),
18701 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18702 * gst/elements/gstfilesrc.h:
18703 * gst/gstelement.c: (gst_element_get_state_func),
18704 (gst_element_lost_state), (gst_element_pads_activate):
18705 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18706 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18707 (gst_pad_pull_range):
18709 More work on the generic source base class, implement seeking,
18711 Make filesrc extend the base source class.
18712 Added gst_pad_set_checkgetrange_function to GstPad.
18714 2005-04-06 Andy Wingo <wingo@pobox.com>
18716 * pkgconfig/gstreamer-base.pc.in:
18717 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18719 * pkgconfig/Makefile.am:
18720 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18722 2005-04-04 Wim Taymans <wim@fluendo.com>
18724 * gst/base/Makefile.am:
18726 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18727 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18728 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18729 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18730 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18731 (gst_basesrc_base_init), (gst_basesrc_class_init),
18732 (gst_basesrc_init), (gst_basesrc_get_formats),
18733 (gst_basesrc_get_query_types), (gst_basesrc_query),
18734 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18735 (gst_basesrc_set_property), (gst_basesrc_get_property),
18736 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18737 (gst_basesrc_loop), (gst_basesrc_activate),
18738 (gst_basesrc_change_state):
18739 * gst/base/gstbasesrc.h:
18740 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18741 (gst_fakesrc_class_init), (gst_fakesrc_init),
18742 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18743 (gst_fakesrc_get_property), (gst_fakesrc_create):
18744 * gst/elements/gstfakesrc.h:
18745 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18746 (gst_filesrc_open_file), (gst_filesrc_loop),
18747 (gst_filesrc_activate), (filesrc_find_peek),
18748 (gst_filesrc_type_find):
18749 Made base source class, make fakesrc extend it.
18750 Add comments to basesink class.
18751 Some filesrc cleanup.
18753 2005-03-31 David Schleef <ds@schleef.org>
18755 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18756 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18757 expected to link against libgstreamer.
18758 * gst/base/Makefile.am: link against libgstreamer
18759 * gst/elements/Makefile.am: same
18761 2005-03-31 Andy Wingo <wingo@pobox.com>
18763 * tests/instantiate/Makefile.am:
18764 * tests/instantiate/caps.c: Add test to test speed of caps copy
18767 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18768 GMemChunk to be fair.
18770 * gst/gsttrashstack.h: Remove warning about using the fallback
18771 trash stack implementation, it's still faster than malloc.
18773 2005-03-30 Andy Wingo <wingo@pobox.com>
18775 * tests/complexity.c: Add a copyright.
18777 2005-03-31 Wim Taymans <wim@fluendo.com>
18779 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18780 (gst_base_transform_class_init), (gst_base_transform_init),
18781 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18782 (gst_base_transform_get_property),
18783 (gst_base_transform_sink_activate),
18784 (gst_base_transform_src_activate),
18785 (gst_base_transform_change_state):
18786 * gst/base/gstbasetransform.h:
18787 * gst/elements/gstidentity.c: (gst_identity_class_init),
18788 (gst_identity_event), (gst_identity_check_perfect),
18789 (gst_identity_transform), (gst_identity_start),
18790 (gst_identity_stop):
18791 Added start/stop methods to transform base class so subclasses
18792 don't need to deal with state changes even.
18794 2005-03-31 Wim Taymans <wim@fluendo.com>
18796 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18797 (gst_event_new_discontinuous), (gst_event_discont_get_value):
18799 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18800 (gst_pad_pull_range):
18801 Added rate to the discont event to prepare for variable speed
18802 and reverse playback.
18804 2005-03-29 David Schleef <ds@schleef.org>
18807 * testsuite/trigger/Makefile.am:
18808 * testsuite/trigger/trigger.c: A little example program to show
18809 how trigger-based elements can work.
18811 2005-03-29 Wim Taymans <wim@fluendo.com>
18813 * gst/base/Makefile.am:
18815 * gst/base/gstbasesink.c: (gst_basesink_get_type),
18816 (gst_basesink_base_init), (gst_basesink_class_init),
18817 (gst_basesink_pad_getcaps), (gst_basesink_init),
18818 (gst_basesink_activate), (gst_basesink_change_state):
18819 * gst/base/gstbasesink.h:
18820 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18821 (gst_base_transform_base_init), (gst_base_transform_finalize),
18822 (gst_base_transform_class_init), (gst_base_transform_init),
18823 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18824 (gst_base_transform_event), (gst_base_transform_getrange),
18825 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18826 (gst_base_transform_set_property),
18827 (gst_base_transform_get_property),
18828 (gst_base_transform_sink_activate),
18829 (gst_base_transform_src_activate),
18830 (gst_base_transform_change_state):
18831 * gst/base/gstbasetransform.h:
18832 * gst/elements/gstidentity.c: (gst_identity_finalize),
18833 (gst_identity_class_init), (gst_identity_init),
18834 (gst_identity_event), (gst_identity_check_perfect),
18835 (gst_identity_transform), (gst_identity_set_property),
18836 (gst_identity_get_property), (gst_identity_change_state):
18837 * gst/elements/gstidentity.h:
18838 * gst/gstelement.c: (gst_element_get_state_func),
18839 (gst_element_lost_state), (gst_element_pads_activate):
18840 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18841 (gst_pad_check_pull_range), (gst_pad_pull_range):
18843 Simplify pad activation.
18844 Added function to check if pull_range can be performed.
18845 Error out when pulling inactive or flushing pads.
18846 Removed const from refcounted types as it does not make sense.
18847 Simplify pad templates in basesink
18848 Added base class for simple 1-to-1 transforms.
18849 Make identity subclass the base transform.
18851 2005-03-29 Andy Wingo <wingo@pobox.com>
18853 * docs/libs/gstreamer-libs-overrides.txt:
18854 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18855 really don't understand what's going on, but like whatever. I want
18858 * docs/gst/Makefile.am:
18859 * docs/libs/Makefile.am: Dist the overrides files.
18861 * check/Makefile.am (clean-local): Remove .libs directories.
18863 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18864 elements to EXTRA_DIST, so po/ files are happy.
18866 * po/POTFILES.in: Er, remove it here.
18868 * po/POTFILES: Remove gstspider.c.
18870 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18872 * docs/libs/gstreamer-libs-docs.sgml:
18873 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18876 * tests/complexity.c (main): Set the length of the preroll queue
18877 on the sinks to prevent a lockup.
18879 * libs/gst/dataprotocol/Makefile.am:
18880 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18881 the same as the one in check/gst-libs/gdp.c.
18883 * po/, docs/gst/: Commit automatic changes to docs and po files.
18885 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18886 the versioned libgstbase.
18888 * check/Makefile.am: Depend on an unversioned gst-register, seems
18889 to make autoconf happier.
18891 * gst/base/Makefile.am: Make libgstbase a versioned lib.
18893 2005-03-28 Wim Taymans <wim@fluendo.com>
18896 * docs/design/part-gstelement.txt:
18897 * docs/design/part-negotiation.txt:
18898 * docs/design/part-preroll.txt:
18899 * docs/design/part-scheduling.txt:
18900 * docs/design/part-states.txt:
18902 * gst/base/Makefile.am:
18904 * gst/base/gstbasesink.c: (gst_basesink_get_template),
18905 (gst_basesink_base_init), (gst_basesink_class_init),
18906 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18907 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18908 (gst_basesink_set_pad_functions),
18909 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
18910 (gst_basesink_set_property), (gst_basesink_get_property),
18911 (gst_base_sink_get_template), (gst_base_sink_get_caps),
18912 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
18913 (gst_basesink_preroll_queue_push),
18914 (gst_basesink_preroll_queue_empty),
18915 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
18916 (gst_basesink_event), (gst_basesink_get_times),
18917 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
18918 (gst_basesink_chain_unlocked), (gst_basesink_chain),
18919 (gst_basesink_loop), (gst_basesink_activate),
18920 (gst_basesink_change_state):
18921 * gst/base/gstbasesink.h:
18922 * gst/elements/Makefile.am:
18923 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
18924 (gst_fakesink_class_init), (gst_fakesink_init),
18925 (gst_fakesink_set_property), (gst_fakesink_get_property),
18926 (gst_fakesink_get_times), (gst_fakesink_event),
18927 (gst_fakesink_preroll), (gst_fakesink_render),
18928 (gst_fakesink_change_state):
18929 * gst/elements/gstfakesink.h:
18930 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18931 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
18932 * gst/gstelement.c: (gst_element_add_pad),
18933 (gst_element_get_state_func), (gst_element_abort_state),
18934 (gst_element_commit_state), (gst_element_lost_state),
18935 (gst_element_set_state), (gst_element_pads_activate):
18936 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
18937 * gst/gstpipeline.c: (gst_pipeline_send_event),
18938 (gst_pipeline_change_state):
18939 Added state change code.
18940 Added/updated docs.
18941 Added sink base class, make fakesink extend the base class.
18942 Small cleanups in GstPipeline.
18944 2005-03-26 David Schleef <ds@schleef.org>
18946 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
18947 is broken and should be implemented in a different library.
18948 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
18949 * gst/gst.h: remove gstcpu.h
18950 * gst/gstcpu.c: remove
18951 * gst/gstcpu.h: remove
18952 * gst/Makefile.am.future: Remove this file. It's ancient.
18954 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18956 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18957 (gst_bin_send_event):
18958 Add default event/set_manager handlers. The set_manager handler
18959 takes care that the manager is distributed over kids that were
18960 already in the bin before the manager was set. The event handler
18961 is a utility virtual function that sends the event over all sinks,
18962 so that gst_element_send_event (bin, event); has the expected
18964 * gst/gstpad.c: (gst_pad_event_default):
18965 Re-install default event handling for discontinuities, so that
18966 seeking works without requiring hacks in applications or extra
18968 * gst/gstpipeline.c: (gst_pipeline_class_init),
18969 (gst_pipeline_send_event):
18970 Half hack, half utility: set a pipeline to PAUSED for seek events,
18971 since that is the only way we can guarantee a/v sync. Means that
18972 you can do gst_element_seek (pipeline, method, pos); on a pipeline
18973 and it "just works".
18975 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18977 * gst/gstpipeline.c: (gst_pipeline_use_clock):
18978 Lock/unlock mismatch.
18980 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
18982 * docs/faq/gst-uninstalled:
18983 add gst-plugins-base
18984 * docs/gst/Makefile.am:
18985 don't error out until docs are fixed
18986 * docs/gst/gstreamer.types:
18989 2005-03-22 Wim Taymans <wim@fluendo.com>
18991 * check/Makefile.am:
18992 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18993 * gst/gststructure.c: (gst_structure_set_valist),
18994 (gst_structure_copy_conditional):
18995 Activated more tests.
18996 Added message test.
18997 Added G_TYPE_POINTER to GstStructure.
19000 2005-03-22 Wim Taymans <wim@fluendo.com>
19002 * docs/design/part-TODO.txt:
19003 * docs/design/part-events.txt:
19004 * docs/design/part-gstbin.txt:
19005 * docs/design/part-gstbus.txt:
19006 * docs/design/part-gstpipeline.txt:
19007 * docs/design/part-messages.txt:
19009 * gst/gstmessage.c:
19012 2005-03-21 Wim Taymans <wim@fluendo.com>
19014 * gst/gstbus.c: (gst_bus_post):
19015 Fix copy-and-paste error.
19017 2005-03-21 Wim Taymans <wim@fluendo.com>
19019 * check/Makefile.am:
19021 * gst/elements/Makefile.am:
19022 * gst/elements/gstelements.c:
19023 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19024 (gst_fakesink_event), (gst_fakesink_chain):
19025 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19026 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19027 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19028 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19029 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19030 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19031 (gst_fakesrc_loop), (gst_fakesrc_activate),
19032 (gst_fakesrc_change_state):
19033 * gst/elements/gstfakesrc.h:
19034 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19035 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19036 (gst_filesrc_open_file), (gst_filesrc_loop),
19037 (gst_filesrc_activate), (gst_filesrc_change_state),
19038 (filesrc_find_peek), (filesrc_find_suggest),
19039 (gst_filesrc_type_find):
19040 * gst/elements/gstidentity.c: (gst_identity_finalize),
19041 (gst_identity_class_init), (gst_identity_init),
19042 (gst_identity_proxy_getcaps), (identity_queue_push),
19043 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19044 (gst_identity_getrange), (gst_identity_chain),
19045 (gst_identity_sink_loop), (gst_identity_src_loop),
19046 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19047 (gst_identity_set_property), (gst_identity_get_property),
19048 (gst_identity_change_state):
19049 * gst/elements/gstidentity.h:
19050 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19051 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19052 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19053 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19054 (gst_tee_sink_activate):
19055 * gst/elements/gsttee.h:
19056 * gst/gst.c: (gst_register_core_elements), (init_post):
19058 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19059 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19060 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19061 (gst_bin_change_state):
19063 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19064 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19065 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19066 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19067 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19068 (bus_watch_callback), (bus_watch_destroy),
19069 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19070 (poll_timeout), (gst_bus_poll):
19074 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19075 (gst_element_post_message), (gst_element_message_full),
19076 (gst_element_get_state_func), (gst_element_get_state),
19077 (gst_element_abort_state), (gst_element_commit_state),
19078 (gst_element_lost_state), (gst_element_set_state),
19079 (gst_element_pads_activate), (gst_element_change_state),
19080 (gst_element_dispose), (gst_element_set_manager_func),
19081 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19082 (gst_element_set_manager), (gst_element_get_manager),
19083 (gst_element_set_bus), (gst_element_get_bus),
19084 (gst_element_set_scheduler), (gst_element_get_scheduler):
19085 * gst/gstelement.h:
19086 * gst/gstevent.c: (gst_event_new_segment_seek),
19087 (gst_event_new_flush):
19089 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19090 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19091 (gst_message_new_eos), (gst_message_new_error),
19092 (gst_message_new_warning), (gst_message_new_tag),
19093 (gst_message_new_state_changed), (gst_message_new_application),
19094 (gst_message_get_structure), (gst_message_parse_tag),
19095 (gst_message_parse_state_changed), (gst_message_parse_error),
19096 (gst_message_parse_warning):
19097 * gst/gstmessage.h:
19098 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19099 (gst_real_pad_set_property), (gst_pad_set_active),
19100 (gst_pad_is_active), (gst_pad_set_blocked_async),
19101 (gst_pad_set_blocked), (gst_pad_is_blocked),
19102 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19103 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19104 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19105 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19106 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19107 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19108 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19109 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19110 (gst_pad_set_caps), (gst_pad_configure_sink),
19111 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19112 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19113 (gst_real_pad_dispose), (gst_real_pad_finalize),
19114 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19115 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19116 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19118 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19119 (pipeline_bus_handler), (gst_pipeline_change_state),
19120 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19121 * gst/gstpipeline.h:
19123 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19124 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19125 (gst_queue_link_src), (gst_queue_bufferalloc),
19126 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19127 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19128 (gst_queue_loop), (gst_queue_handle_src_event),
19129 (gst_queue_handle_src_query), (gst_queue_src_activate),
19130 (gst_queue_change_state):
19132 * gst/gstscheduler.c: (gst_scheduler_init),
19133 (gst_scheduler_dispose), (gst_scheduler_create_task),
19134 (gst_scheduler_factory_create):
19135 * gst/gstscheduler.h:
19136 * gst/gststructure.c: (gst_structure_get_type),
19137 (gst_structure_copy_conditional):
19138 * gst/gststructure.h:
19139 * gst/gsttaginterface.h:
19140 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19141 (gst_task_init), (gst_task_dispose), (gst_task_create),
19142 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19148 * gst/schedulers/Makefile.am:
19149 * gst/schedulers/cothreads_compat.h:
19150 * gst/schedulers/entryscheduler.c:
19151 * gst/schedulers/faircothreads.c:
19152 * gst/schedulers/faircothreads.h:
19153 * gst/schedulers/fairscheduler.c:
19154 * gst/schedulers/gstbasicscheduler.c:
19155 * gst/schedulers/gstoptimalscheduler.c:
19156 * gst/schedulers/gthread-cothreads.h:
19157 * gst/schedulers/threadscheduler.c:
19158 (gst_thread_scheduler_task_get_type),
19159 (gst_thread_scheduler_task_class_init),
19160 (gst_thread_scheduler_task_init),
19161 (gst_thread_scheduler_task_start),
19162 (gst_thread_scheduler_task_stop),
19163 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19164 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19165 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19166 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19168 * libs/gst/Makefile.am:
19169 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19170 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19171 (gst_file_pad_parent_set):
19172 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19173 (gst_dp_event_from_packet):
19174 * tests/complexity.c: (main):
19175 * tests/mass_elements.c: (main):
19176 * testsuite/states/locked.c: (message_received), (main):
19177 * testsuite/states/parent.c: (main):
19178 * tools/gst-inspect.c: (print_element_flag_info),
19179 (print_implementation_info), (print_pad_info):
19180 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19182 * tools/gst-md5sum.c: (event_loop), (main):
19183 * tools/gst-typefind.c: (main):
19184 * tools/gst-xmlinspect.c: (print_element_info):
19186 Added GstBus for mainloop integration.
19187 Added GstMessage for sending notifications on the bus.
19188 Added GstTask as an abstraction for pipeline entry points.
19190 Removed Schedulers.
19191 Simplified GstQueue for multithreaded core.
19192 Made _link threadsafe, removed old capsnego.
19193 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19194 Added pad blocking functions.
19195 Reworked scheduling functions in GstPad to prepare for
19196 scheduling updates soon.
19197 Moved events out of data stream.
19198 Simplified GstEvent types.
19199 Added return values to push/pull.
19200 Removed clocking from GstElement.
19201 Added prototypes for state change function for next merge.
19202 Removed iterate from bins and state change management.
19203 Fixed some elements, disabled others for now.
19204 Fixed -inspect and -launch.
19205 Added check for GstBus.
19207 2005-03-10 Wim Taymans <wim@fluendo.com>
19209 * docs/design/part-MT-refcounting.txt:
19210 * docs/design/part-clocks.txt:
19211 * docs/design/part-gstelement.txt:
19212 * docs/design/part-gstobject.txt:
19213 * docs/design/part-standards.txt:
19214 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19215 (gst_bin_remove_func), (gst_bin_remove):
19219 * testsuite/clock/clock1.c: (main):
19220 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19222 * testsuite/dlopen/loadgst.c: (do_test):
19223 * testsuite/refcounting/bin.c: (add_remove_test1),
19224 (add_remove_test2), (main):
19225 * testsuite/refcounting/element.c: (main):
19226 * testsuite/refcounting/element_pad.c: (main):
19227 * testsuite/refcounting/pad.c: (main):
19228 * tools/gst-launch.c: (sigint_handler_sighandler):
19229 * tools/gst-typefind.c: (main):
19231 Added doc about clock.
19232 removed gst_bin_iterate_recurse_up(), marked methods
19234 Fix more testsuites.
19236 2005-03-09 Wim Taymans <wim@fluendo.com>
19238 * gst/gstpad.c: (gst_pad_get_direction),
19239 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19240 (gst_pad_collect_valist):
19241 * testsuite/bins/interface.c: (main):
19242 * testsuite/caps/audioscale.c: (test_caps):
19243 * testsuite/caps/caps.c: (test1), (test2), (test3):
19244 * testsuite/caps/deserialize.c: (main):
19245 * testsuite/caps/enumcaps.c: (main):
19246 * testsuite/caps/filtercaps.c: (main):
19247 * testsuite/caps/intersect2.c: (main):
19248 * testsuite/caps/random.c: (main):
19249 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19250 * testsuite/caps/sets.c: (check_caps):
19251 * testsuite/caps/simplify.c: (check_caps), (main):
19252 * testsuite/caps/subtract.c: (check_caps):
19253 Fix _pad_get_direction wrt ghostpads.
19254 Fix caps testsuite.
19256 2005-03-09 Wim Taymans <wim@fluendo.com>
19258 * check/Makefile.am:
19259 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19260 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19261 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19262 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19263 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19264 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19265 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19266 (bin_element_is_sink), (gst_bin_iterate_sinks),
19267 (gst_bin_iterate_all_by_interface):
19269 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19270 (gst_element_change_state), (gst_element_dispose),
19271 (gst_element_finalize), (gst_element_set_loop_function):
19272 * gst/gstelement.h:
19273 * gst/gstiterator.c: (find_custom_fold_func):
19274 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19275 (gst_pad_collectv), (gst_pad_collect_valist),
19276 (gst_pad_template_new):
19277 * gst/gstpipeline.c: (gst_pipeline_class_init),
19278 (gst_pipeline_dispose), (gst_pipeline_set_property),
19279 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19280 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19281 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19283 * gst/schedulers/entryscheduler.c:
19284 * gst/schedulers/gstbasicscheduler.c:
19285 (gst_basic_scheduler_cothreaded_chain),
19286 (gst_basic_scheduler_chain_add_element):
19287 * testsuite/bins/interface.c: (main):
19289 Added GstSystemClock test.
19290 Implemented clock distribution code in GstBin.
19291 Implemented iterate sinks method for future use.
19292 Rearranged gstelement.h
19293 Fix GstIterator comparison bug.
19294 Moved some code to GstPipeline, mostly clocking related.
19296 2005-03-09 Wim Taymans <wim@fluendo.com>
19299 * gst/gst_private.h:
19300 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19301 (gst_bin_remove_func), (gst_bin_remove),
19302 (gst_bin_get_by_name_recurse_up):
19303 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19304 (gst_clock_id_compare_func), (gst_clock_id_wait),
19305 (gst_clock_id_wait_async), (gst_clock_init),
19306 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19307 * gst/gstelement.h:
19308 * gst/gstinfo.c: (_gst_debug_init):
19310 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19311 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19313 Bump version number, we're now 0.9.0
19314 Add future debugging category.
19315 Fix NULL _unref() in _get_by_name_recurse_up
19316 Rearrange gstpad.h.
19319 2005-03-08 Wim Taymans <wim@fluendo.com>
19321 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19322 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19323 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19324 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19325 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19326 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19327 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19328 * gst/elements/gstidentity.c: (gst_identity_class_init):
19329 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19330 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19331 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19332 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19333 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19335 * gst/gstelement.c: (gst_element_class_init),
19336 (gst_element_base_class_init), (gst_element_init),
19337 (gst_element_get_random_pad), (gst_element_wait_state_change),
19338 (gst_element_change_state), (gst_element_dispose),
19339 (gst_element_finalize), (gst_element_set_loop_function):
19340 * gst/gstelement.h:
19341 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19342 * gst/gstthread.c: (gst_thread_class_init),
19343 (gst_thread_release_children_locks), (gst_thread_change_state):
19344 * gst/schedulers/gstbasicscheduler.c:
19345 (gst_basic_scheduler_loopfunc_wrapper),
19346 (gst_basic_scheduler_chain_wrapper),
19347 (gst_basic_scheduler_src_wrapper),
19348 (gst_basic_scheduler_remove_element):
19349 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19350 Remove threadsafe properties. Fix elements because GObject
19351 complains when installing a property before declaring a
19352 set/get_property handler.
19353 Rearrange gstelement.h file, use STATE macros for state locks.
19354 Free mutexes in the finalize method instead of dispose.
19356 2005-03-08 Wim Taymans <wim@fluendo.com>
19358 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19359 * gst/gstthread.c: (gst_thread_release_children_locks):
19360 Added parentage check.
19361 Fix build og GstThread again.
19363 2005-03-08 Wim Taymans <wim@fluendo.com>
19365 * docs/design/part-MT-refcounting.txt:
19366 * docs/design/part-conventions.txt:
19367 * docs/design/part-gstobject.txt:
19368 * docs/design/part-relations.txt:
19369 * docs/design/part-standards.txt:
19370 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19371 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19372 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19373 (gst_bin_iterate_all_by_interface):
19376 * gst/gstelement.c: (gst_element_class_init),
19377 (gst_element_change_state), (gst_element_set_loop_function):
19378 * gst/gstelement.h:
19379 * gst/gstiterator.c:
19380 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19381 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19382 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19383 (gst_object_set_parent), (gst_object_unparent),
19384 (gst_object_check_uniqueness):
19386 Docs updates, clean up some headers.
19388 2005-03-07 Wim Taymans <wim@fluendo.com>
19390 * check/.cvsignore:
19391 * check/Makefile.am:
19392 * check/gst-libs/.cvsignore:
19393 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19394 * check/gst/.cvsignore:
19395 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19396 (START_TEST), (gstbus_suite), (main):
19397 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19398 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19399 (gst_data_suite), (main):
19400 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19401 (add_fold_func), (gstiterator_suite), (main):
19402 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19403 (thread_name_object), (thread_name_object_default),
19404 (gst_object_name_compare), (gst_object_suite), (main):
19405 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19406 (gst_pad_suite), (main):
19407 * check/gstcheck.c: (gst_check_log_message_func),
19408 (gst_check_log_critical_func), (gst_check_init):
19409 * check/gstcheck.h:
19410 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19411 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19414 2005-03-07 Wim Taymans <wim@fluendo.com>
19416 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19417 (gst_list_iterator_next), (gst_list_iterator_resync),
19418 (gst_list_iterator_free), (gst_iterator_new_list),
19419 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19420 (gst_iterator_free), (gst_iterator_push), (filter_next),
19421 (filter_resync), (filter_uninit), (filter_free),
19422 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19423 (gst_iterator_foreach), (find_custom_fold_func),
19424 (gst_iterator_find_custom):
19425 * gst/gstiterator.h:
19426 Added missing files.
19428 2005-03-07 Wim Taymans <wim@fluendo.com>
19432 * docs/design/part-MT-refcounting.txt:
19433 * docs/design/part-conventions.txt:
19434 * docs/design/part-gstobject.txt:
19435 * docs/design/part-relations.txt:
19436 * examples/mixer/mixer.c: (main):
19437 * examples/thread/thread.c: (eos), (main):
19439 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19440 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19441 (gst_spider_plug_from_srcpad):
19442 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19443 (gst_spider_identity_change_state),
19444 (gst_spider_identity_sink_loop_type_finding):
19445 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19446 * gst/elements/gstidentity.c: (gst_identity_init):
19447 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19448 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19449 * gst/elements/gsttypefindelement.c: (free_entry):
19452 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19453 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19454 (gst_bin_set_index), (gst_bin_set_element_sched),
19455 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19456 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19457 (gst_bin_iterate_elements), (iterate_child_recurse),
19458 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19459 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19460 (compare_interface), (gst_bin_get_by_interface),
19461 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19463 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19464 (gst_buffer_default_free), (gst_buffer_default_copy),
19465 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19466 (gst_buffer_create_sub):
19468 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19469 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19470 (gst_caps_unref), (gst_static_caps_get),
19471 (gst_caps_remove_and_get_structure), (gst_caps_append),
19472 (gst_caps_append_structure), (gst_caps_remove_structure),
19473 (gst_caps_copy_nth), (gst_caps_set_simple),
19474 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19475 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19476 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19477 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19478 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19479 (gst_caps_structure_figure_out_union),
19480 (gst_caps_switch_structures), (gst_caps_do_simplify),
19481 (gst_caps_replace), (gst_caps_from_string),
19482 (gst_caps_copy_conditional):
19484 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19485 (_gst_clock_id_free), (gst_clock_id_unref),
19486 (gst_clock_id_compare_func), (gst_clock_id_wait),
19487 (gst_clock_id_wait_async), (gst_clock_class_init),
19488 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19489 (gst_clock_get_time), (gst_clock_set_time_adjust),
19490 (gst_clock_set_property), (gst_clock_get_property):
19493 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19494 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19496 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19497 (gst_element_requires_clock), (gst_element_provides_clock),
19498 (gst_element_set_clock), (gst_element_clock_wait),
19499 (gst_element_wait), (gst_element_set_time_delay),
19500 (gst_element_is_indexable), (gst_element_add_pad),
19501 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19502 (pad_compare_name), (gst_element_get_static_pad),
19503 (gst_element_request_pad), (gst_element_get_request_pad),
19504 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19505 (gst_element_class_get_pad_template_list),
19506 (gst_element_class_get_pad_template), (gst_element_error_func),
19507 (gst_element_get_random_pad), (gst_element_get_event_masks),
19508 (gst_element_send_event), (gst_element_seek),
19509 (gst_element_get_query_types), (gst_element_query),
19510 (gst_element_get_formats), (gst_element_convert),
19511 (gst_element_is_locked_state), (gst_element_set_locked_state),
19512 (gst_element_sync_state_with_parent), (gst_element_change_state),
19513 (gst_element_finalize), (gst_element_yield),
19514 (gst_element_interrupt), (gst_element_set_scheduler),
19515 (gst_element_get_scheduler), (gst_element_set_loop_function):
19516 * gst/gstelement.h:
19518 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19519 (gst_format_get_by_nick), (gst_format_get_details),
19520 (gst_format_iterate_definitions):
19522 * gst/gstindex.c: (gst_index_gtype_resolver):
19525 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19526 (gst_mem_chunk_free):
19527 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19528 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19529 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19530 (gst_object_dispatch_properties_changed),
19531 (gst_object_set_name_default), (gst_object_set_name),
19532 (gst_object_get_name), (gst_object_set_name_prefix),
19533 (gst_object_get_name_prefix), (gst_object_set_parent),
19534 (gst_object_get_parent), (gst_object_unparent),
19535 (gst_object_check_uniqueness), (gst_object_save_thyself),
19536 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19537 (gst_object_set_property), (gst_object_get_property),
19538 (gst_object_get_path_string):
19540 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19541 (gst_real_pad_init), (gst_real_pad_get_property),
19542 (gst_pad_custom_new), (gst_pad_get_direction),
19543 (gst_pad_set_active), (gst_pad_is_active),
19544 (gst_pad_set_event_function), (gst_pad_is_linked),
19545 (gst_pad_link_free), (gst_pad_link_intersect),
19546 (gst_pad_link_fixate), (gst_pad_set_caps),
19547 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19548 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19549 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19550 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19551 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19552 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19553 (gst_pad_realize), (gst_pad_get_allowed_caps),
19554 (gst_real_pad_dispose), (gst_real_pad_finalize),
19555 (gst_pad_collectv), (gst_pad_collect_valist),
19556 (gst_pad_template_dispose), (gst_pad_template_new),
19557 (gst_pad_get_internal_links):
19559 * gst/gstpipeline.c: (gst_pipeline_dispose),
19560 (gst_pipeline_change_state):
19561 * gst/gstpipeline.h:
19563 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19564 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19565 * gst/gstpluginfeature.h:
19566 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19567 * gst/gstquery.c: (_gst_query_type_initialize),
19568 (gst_query_type_register), (gst_query_type_get_by_nick),
19569 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19571 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19572 * gst/gstscheduler.c: (gst_scheduler_add_element),
19573 (gst_scheduler_factory_create):
19574 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19575 (gst_structure_free), (gst_structure_set_name),
19576 (gst_structure_id_set_value), (gst_structure_set_value),
19577 (gst_structure_set_valist), (gst_structure_remove_field),
19578 (gst_structure_remove_fields),
19579 (gst_structure_remove_fields_valist),
19580 (gst_structure_remove_all_fields), (gst_structure_foreach),
19581 (gst_structure_map_in_place),
19582 (gst_caps_structure_fixate_field_nearest_int),
19583 (gst_caps_structure_fixate_field_nearest_double):
19584 * gst/gststructure.h:
19585 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19586 (gst_system_clock_init), (gst_system_clock_dispose),
19587 (gst_system_clock_async_thread),
19588 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19589 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19590 * gst/gstsystemclock.h:
19591 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19592 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19593 * gst/gsttaginterface.c:
19594 * gst/gstthread.c: (gst_thread_dispose),
19595 (gst_thread_release_children_locks), (gst_thread_change_state),
19596 (gst_thread_main_loop):
19597 * gst/gsttrashstack.h:
19598 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19600 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19601 (gst_element_request_pad), (gst_element_get_pad_from_template),
19602 (gst_element_request_compatible_pad),
19603 (gst_element_get_compatible_pad_filtered),
19604 (gst_element_get_compatible_pad), (gst_element_state_get_name),
19605 (gst_element_link_pads_filtered), (gst_element_link_filtered),
19606 (gst_element_link_many), (gst_element_link),
19607 (gst_element_link_pads), (gst_element_unlink_pads),
19608 (gst_element_unlink_many), (gst_element_unlink),
19609 (gst_pad_can_link_filtered), (gst_pad_can_link),
19610 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19611 (gst_object_default_error), (gst_bin_add_many),
19612 (gst_bin_remove_many), (gst_element_populate_std_props),
19613 (gst_element_class_install_std_props), (gst_buffer_merge),
19614 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19615 (link_fold_func), (gst_pad_proxy_setcaps):
19617 * gst/gstvalue.c: (gst_value_deserialize_string):
19618 * gst/parse/grammar.y:
19619 * gst/schedulers/gstbasicscheduler.c:
19620 (gst_basic_scheduler_cothreaded_chain),
19621 (gst_basic_scheduler_chain_recursive_add),
19622 (gst_basic_scheduler_pad_link):
19623 * gst/schedulers/gstoptimalscheduler.c:
19624 (get_group_schedule_function),
19625 (gst_opt_scheduler_state_transition),
19626 (gst_opt_scheduler_add_element), (element_get_reachables_func):
19627 * libs/gst/bytestream/bytestream.c:
19628 * libs/gst/dataprotocol/dataprotocol.c:
19629 (gst_dp_header_from_buffer):
19632 * tests/threadstate/threadstate2.c: (eos):
19633 * tools/gst-compprep.c: (main):
19634 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19635 (print_pad_info), (print_children_info):
19636 * tools/gst-launch.c: (idle_func), (main):
19637 * tools/gst-md5sum.c: (idle_func), (main):
19638 * tools/gst-xmlinspect.c: (print_element_info):
19639 First THREADED backport attempt, focusing on adding locks and
19640 making sure the API is threadsafe. Needs more work. More docs
19643 2005-02-24 Andy Wingo <wingo@pobox.com>
19645 * tests/bench-complexity.scm:
19646 * tests/complexity.gnuplot: New files, good for running complexity
19649 * tests/Makefile.am:
19650 * tests/complexity.c: New test, sets up N elements, at each level
19651 teeing into M streams per element. Eeeenteresting.
19653 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19654 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19655 running bench-mass_elements.scm.
19657 * tests/bench-mass_elements.scm: New script, runs mass_elements
19658 for various numbers of identities, outputting the results to a
19659 file. Requires guile 1.6. Just for testing.
19661 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
19663 * gst/schedulers/fairscheduler.c:
19664 compile with debug disabled
19666 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
19669 hunting season on 0.9 is now OPEN