1 2006-09-15 Wim Taymans <wim@fluendo.com>
3 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5 Added some comments here and there.
6 Post an application message when an interrupt is caught instead of doing
7 an uncontrolled state change.
8 Clean up the event loop.
9 Handle buffering messages, pause/resume the pipeline.
10 Make shutdown because of an interrupt more reliable.
12 2006-09-15 Wim Taymans <wim@fluendo.com>
14 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
16 (gst_base_sink_preroll_object):
17 Make sure that our internal state is correct when we commit our state
18 asynchronously. This solves a race where a state change to PLAYING
19 could cause the sink to remain blocked in preroll in some situations.
21 2006-09-15 Wim Taymans <wim@fluendo.com>
23 * tools/gst-inspect.c: (print_element_properties_info),
25 List flags as hex so it's easier to deal with.
27 2006-09-15 Wim Taymans <wim@fluendo.com>
29 * docs/libs/gstreamer-libs-sections.txt:
30 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
31 (gst_base_sink_do_sync):
32 * libs/gst/base/gstbasesink.h:
33 Expose logic to wait for preroll so that subclasses such as audiosink
34 can also use this method.
35 API: gst_base_sink_wait_preroll()
37 2006-09-15 Wim Taymans <wim@fluendo.com>
39 * gst/gstobject.c: (gst_object_set_parent):
40 * gst/gstpipeline.c: (do_pipeline_seek):
41 Small cleanups in docs and code.
43 * gst/gstsegment.c: (gst_segment_clip):
44 * tests/check/gst/gstsegment.c: (GST_START_TEST):
45 if stop == start and start is in the segment, no clipping should be
46 done. Also add a test for this.
48 2006-09-15 Wim Taymans <wim@fluendo.com>
50 * docs/design/part-buffering.txt:
51 * docs/gst/gstreamer-sections.txt:
52 * gst/gstmessage.c: (gst_message_new_buffering),
53 (gst_message_parse_buffering):
55 Added methods to create and parse BUFFERING messages.
56 Added preliminary docs about buffering.
57 API: gst_message_new_buffering
58 API: gst_message_parse_buffering
60 2006-09-06 Wim Taymans <wim@fluendo.com>
65 * gst/gstelement.c: (gst_element_class_init),
66 (gst_element_release_request_pad), (gst_element_set_clock),
67 (gst_element_get_index), (gst_element_add_pad),
68 (gst_element_remove_pad), (gst_element_get_random_pad),
69 (gst_element_send_event), (gst_element_get_query_types),
70 (gst_element_query), (gst_element_post_message),
71 (gst_element_message_full), (gst_element_continue_state),
72 (gst_element_lost_state), (gst_element_save_thyself),
73 (gst_element_restore_thyself):
74 Documentation updates.
75 Rename last bit of the new-pad -> pad-added signal rename.
76 Fix the case where an element query would only work if the source
78 Avoid some useless type checking in message handling.
83 Documentation updates.
85 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
87 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
88 add an INFO line for when we actually update the fd
90 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
95 === release 0.10.10 ===
97 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
100 releasing 0.10.10, "Pais"
102 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
104 * docs/manual/advanced-position.xml:
105 Fix typo in sample code.
107 2006-09-05 Wim Taymans <wim@fluendo.com>
109 * libs/gst/net/gstnetclientclock.c: (inet_aton),
110 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
111 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
112 * libs/gst/net/gstnetclientclock.h:
113 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
114 * libs/gst/net/gstnettimepacket.h:
115 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
116 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
117 (gst_net_time_provider_thread), (gst_net_time_provider_new):
118 * libs/gst/net/gstnettimeprovider.h:
119 Make stuff compile on windows. Fixes #345295.
121 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
123 * gst/gst.c: (ensure_current_registry_forking):
124 Print better details when child was terminated by signal.
126 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
128 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
129 Print a warning rather than g_assert() if a plugin feature
130 is a URI handler but returns no protocols (#353976).
132 2006-09-02 Stefan Kost <ensonic@users.sf.net>
134 * docs/random/moving-plugins:
137 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
139 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
140 Fix locking order, handle NULL function values properly.
145 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
146 Initialise variable before using it and fix debug statement to
147 print the address of the function rather than the address of the
148 variable on the stack holding the address of the function.
150 2006-09-01 Wim Taymans <wim@fluendo.com>
152 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
153 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
154 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
155 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
156 (gst_ghost_pad_parent_unset),
157 (gst_ghost_pad_internal_do_activate_push),
158 (gst_ghost_pad_internal_do_activate_pull),
159 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
160 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
161 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
162 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
163 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
164 (gst_ghost_pad_new_no_target_from_template),
165 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
167 Avoid needless typechecking in macros.
168 Since the internal pad is always present and never changes, there is
169 no need to locking or ref when retrieving it.
170 Improve debugging a bit.
171 Handle link errors when setting the target. Fixes #341029.
173 2006-09-01 Wim Taymans <wim@fluendo.com>
175 * docs/libs/gstreamer-libs-sections.txt:
176 * docs/plugins/gstreamer-plugins-sections.txt:
179 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
180 (gst_collect_pads_event):
181 * libs/gst/base/gstcollectpads.h:
182 Documentation updates.
183 Free queued buffer when removing a pad.
185 2006-08-31 Michael Smith <msmith@fluendo.com>
187 * gst/gstutils.c: (gst_element_link_pads),
188 (gst_element_link_pads_filtered):
189 Ensure that we set a capsfilter to NULL if we failed to link it
190 when doing filtered linking, to avoid criticals.
192 No need to check for unreffing srcpad, which is explicly NULLed
193 above (a trivial code cleanup).
195 2006-08-31 Wim Taymans <wim@fluendo.com>
197 * docs/design/part-gstghostpad.txt:
198 Update ascii art in documentation.
200 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
201 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
202 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
203 (gst_ghost_pad_internal_do_activate_push),
204 (gst_ghost_pad_internal_do_activate_pull),
205 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
206 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
207 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
208 (gst_ghost_pad_set_target):
209 Small cleanups and leak fixes.
210 Remove some checks now that the internal pad is never NULL.
211 Fix the case where linking pads without a target would create nasty
212 criticals. Fixes #341029.
213 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
214 value of _set_target().
216 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
217 (gst_ghost_pad_suite):
218 Some more tests for creating and linking untargeted ghostpads.
220 2006-08-31 Edward Hervey <edward@fluendo.com>
222 * docs/gst/gstreamer-sections.txt:
223 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
224 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
225 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
226 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
227 (gst_ghost_pad_new_from_template),
228 (gst_ghost_pad_new_no_target_from_template):
230 Refactored *_new() functions.
231 Templates are now used as a g_object_new() parameter.
232 Use template in _do_getcaps() if we don't have a target.
233 Small documentation cleanups.
234 Added two new constructors:
235 gst_ghost_pad_new_from_template()
236 gst_ghost_pad_new_no_target_from_template()
237 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
238 (gst_ghost_pad_suite):
239 Added tests for new ghostpad instanciation functions.
241 API additions: gst_ghost_pad_new_from_template,
242 gst_ghost_pad_new_no_target_from_template
244 2006-08-30 Stefan Kost <ensonic@users.sf.net>
246 * docs/random/ensonic/profiling.txt:
247 Ideas about qos profiling.
249 2006-08-29 Wim Taymans <wim@fluendo.com>
251 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
255 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
258 Improve and detypofy docs.
260 * tests/check/Makefile.am:
261 * tests/check/gst/.cvsignore:
262 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
263 Add a basic test suite for GstXML.
265 2006-08-29 Wim Taymans <wim@fluendo.com>
267 * gst/gstelement.c: (activate_pads), (clear_caps),
268 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
269 Clear the pad caps when the element shut down all of the pads and
270 is not streaming data that could modify the caps.
273 2006-08-28 Michael Smith <msmith@fluendo.com>
275 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
276 Revert previous change; I misunderstood single-segment mode.
278 2006-08-28 Michael Smith <msmith@fluendo.com>
280 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
281 Unset DISCONT on buffers when using single-segment mode.
283 2006-08-28 Wim Taymans <wim@fluendo.com>
285 * gst/gstcaps.c: (gst_caps_merge_structure):
287 Fix docs and indentation again.
289 * tests/check/gst/gstquery.c: (GST_START_TEST):
290 Fix leak in tests and add some more tests.
292 2006-08-28 Edward Hervey <edward@fluendo.com>
294 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
295 Inform GstSegment of the last stop position in order for the current
296 segment to have a proper duration if it doesn't have a specific stop
297 position from which a duration could be calculated.
298 This bug was noticeable when a non-flushing, non-update new segment was
299 followed by another segment (all buffers from the new segment were being
302 2006-08-28 Wim Taymans <wim@fluendo.com>
304 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
305 Small comment update.
307 * plugins/elements/gstidentity.c: (gst_identity_class_init),
308 (gst_identity_transform_ip):
309 Drop-probability is broken, mention this in the code with a
310 FIXME and also in the property description.
311 Make silent also be silent about the drop messages.
313 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
315 * docs/manual/appendix-win32.xml:
316 Remove mention of popt, we don't depend on that any
317 longer (#353136). Add some comments pointing out that
318 this section is slightly outdated.
320 2006-08-28 Wim Taymans <wim@fluendo.com>
322 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
324 * gst/gstquery.c: (gst_query_new_segment):
325 * tests/check/gst/gstquery.c: (GST_START_TEST):
326 Initialize variables when creating a new segment query.
329 2006-08-28 Wim Taymans <wim@fluendo.com>
331 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
333 * gst/gstelement.c: (gst_element_get_bus):
334 * tests/check/gst/gstelement.c: (GST_START_TEST):
335 Check for NULL before _reffing the bus. Fixes #353122.
337 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
339 * docs/manual/basics-bus.xml:
340 Docs update: fix wrong callback return value explanation; add
341 some lines about the implicit relationship between main loop
342 and main context; remove duplicate main loop variable declaration.
344 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
346 * tests/check/gst/gstcaps.c: (GST_START_TEST):
347 Don't leak caps in unit test; add a few more simple
350 2006-08-24 Stefan Kost <ensonic@users.sf.net>
352 * docs/gst/gstreamer-sections.txt:
353 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
354 (gst_caps_structure_is_subset), (gst_caps_merge),
355 (gst_caps_merge_structure):
357 * libs/gst/base/gstbasetransform.c:
358 (gst_base_transform_transform_caps):
359 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
360 implement caps merging (fixes #352580)
362 2006-08-23 Stefan Kost <ensonic@users.sf.net>
365 * tools/gst-plot-timeline.py:
366 add debug-log plotting developer tool (#340674)
368 2006-08-23 Wim Taymans <wim@fluendo.com>
370 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
372 Improve debugging for task functions.
374 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
375 (gst_task_start), (gst_task_pause), (gst_task_join):
376 Make sure that the task function started and finished after a
378 Don't try to push the task function on the threadpool multiple
380 Improve the g_warning message with some useful suggestions
381 about how to fix the problem.
383 2006-08-23 Wim Taymans <wim@fluendo.com>
385 * gst/gstutils.c: (gst_pad_proxy_getcaps):
386 Handle RESYNC correctly in _proxy_getcaps.
388 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
390 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
391 (gst_xml_parse_memory), (gst_xml_get_element):
392 Chain up to parent class in dispose function and also
393 unref the elements in the toplevel_elements GList.
394 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
395 Always return a reference in gst_xml_get_element() rather
398 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
399 Don't leak GstXml object.
401 2006-08-21 Stefan Kost <ensonic@users.sf.net>
403 * docs/gst/gstreamer-sections.txt:
404 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
407 * libs/gst/base/gstbasetransform.c:
408 (gst_base_transform_transform_caps):
409 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
412 2006-08-21 Edward Hervey <edward@fluendo.com>
414 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
415 Implement GObject::dispose virtual method in GstXML so we can free the
418 2006-08-21 Wim Taymans <wim@fluendo.com>
420 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
421 (gst_buffer_create_sub):
422 Copy duration/offset_end/caps when creating a subbuffer of the
424 Make the subbuffer read-only when we make the metadata writable for
427 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
428 Added check for metadata copy when creating subbuffers.
430 2006-08-21 Edward Hervey <edward@fluendo.com>
432 * libs/gst/base/gstbasetransform.c:
433 (gst_base_transform_buffer_alloc):
434 Only call downstream buffer_alloc if transform element is passthrough
435 or always_in_place. Closes #350449.
437 2006-08-20 Stefan Kost <ensonic@users.sf.net>
440 ChangeLog surgery to add comments to previous changes
442 2006-08-20 Stefan Kost <ensonic@users.sf.net>
447 * gst/gstpad.c: (gst_pad_set_active):
448 Be more verbose in the log
450 * libs/gst/base/gstbasetransform.c:
451 (gst_base_transform_transform_caps):
452 Simplify caps to get rid of duplicates, fixes #345444
454 2006-08-20 Stefan Kost <ensonic@users.sf.net>
458 Use these optimizations only internally.
460 2006-08-20 Stefan Kost <ensonic@users.sf.net>
462 * gst/gstvalue.c: (gst_value_compare_list),
463 (gst_value_compare_fraction_range),
464 (gst_value_intersect_fraction_fraction_range),
465 (gst_value_intersect_fraction_range_fraction_range),
466 (gst_value_subtract_fraction_fraction_range),
467 (gst_value_subtract_fraction_range_fraction_range),
468 (gst_value_get_compare_func), (gst_value_compare),
469 (gst_value_compare_with_func):
471 Saves the expensive lookup of the compare function in many cases
474 2006-08-18 Edward Hervey <edward@fluendo.com>
476 * tests/check/gst/gstinfo.c: (gst_info_suite):
477 Disable test that require gstdebug if it wasn't built in core.
479 2006-08-18 Stefan Kost <ensonic@users.sf.net>
481 * docs/random/ensonic/logging.txt:
484 * gst/gstinfo.c: (gst_debug_log_default):
485 reorder fields, save some columns, add optional color codes for log
488 2006-08-18 Stefan Kost <ensonic@users.sf.net>
490 * docs/random/ensonic/logging.txt:
491 add ideas about making the logs a bit more useful
493 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
495 * docs/pwg/advanced-events.xml:
496 * docs/pwg/titlepage.xml:
497 Update for 0.10 API (#340627). Add myself
500 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
502 * docs/libs/gstreamer-libs-docs.sgml:
503 * docs/libs/gstreamer-libs-sections.txt:
504 * libs/gst/check/gstbufferstraw.c:
505 Make gstcheck stuff show up in docs (still needs to
506 be documented properly though).
508 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
510 * docs/gst/gstreamer-sections.txt:
512 * gst/gst.c: (init_post):
514 * gst/gstquark.c: (_priv_gst_quarks_initialize):
516 * gst/gstquery.c: (gst_query_new_position),
517 (gst_query_set_position), (gst_query_parse_position),
518 (gst_query_new_duration), (gst_query_set_duration),
519 (gst_query_parse_duration), (gst_query_new_convert),
520 (gst_query_set_convert), (gst_query_parse_convert),
521 (gst_query_new_segment), (gst_query_set_segment),
522 (gst_query_parse_segment), (gst_query_new_seeking),
523 (gst_query_set_seeking), (gst_query_parse_seeking):
524 Add internal helpers for pre-registering quarks from static strings
525 and using the quark values directly instead of looking them up when
526 creating and parsing queries. Can be used for event construction too.
529 2006-08-16 Wim Taymans <wim@fluendo.com>
534 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
536 * gst/gstutils.c: (gst_util_set_value_from_string):
537 Fix memleak (#351502).
539 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
540 Add unit test for most of gst_util_set_value_from_string()
541 (not that one would want to encourage use of this function).
543 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
545 * libs/gst/check/gstcheck.h:
546 Use const gchar * variables in fail_unless_equals_string
547 macro to avoid compiler warnings (and don't use tabs for
550 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
552 * tools/gst-launch.c: (print_tag):
553 More space on the left for the tag names, to cater
554 for the 'extended comment' tag (not touching the
555 string for the first line since it's translated).
557 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
559 * libs/gst/check/gstcheck.h:
560 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
561 print something when they fail.
563 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
565 * docs/gst/gstreamer-sections.txt:
566 * gst/gsttaglist.c: (_gst_tag_initialize):
568 API: add GST_TAG_EXTENDED_COMMENT (#350935).
569 Also change merge function for GST_TAG_COMMENT to
572 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
574 * gst/gstinfo.c: (gst_debug_print_object):
575 Make GST_PTR_FORMAT print messages as well.
577 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
578 (GST_START_TEST), (gst_info_suite):
581 2006-08-14 Edward Hervey <edward@fluendo.com>
583 * gst/gstelementfactory.c: (gst_element_register):
584 If the GstElementClass doesn't have a GstElementDetails with all fields
585 filled up correctly (longname, description AND author), then error out
586 nicely instead of crashing.
588 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
590 * gst/gststructure.c:
591 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
594 Expand on the difference between arrays and lists as we use them.
596 2006-08-14 Wim Taymans <wim@fluendo.com>
598 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
599 If the parent state change function failed, don't assume we can safely
600 stop the source, this will be done when the pads are deactivated.
602 2006-08-14 Wim Taymans <wim@fluendo.com>
605 * gst/gsttask.c: (gst_task_join):
608 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
610 When pad (de)activation failed for some reason, restore the old
611 activation mode and set the pad to flushing instead of assuming the
613 If the _task_join() failed, reinstall the task on the pad so that it can
614 be stopped later and return an error.
616 2006-08-11 Andy Wingo <wingo@pobox.com>
619 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
620 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
621 is only for users of API that don't want to see deprecated
622 functions in the headers; people that want to compile out
623 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
624 CFLAGS. Fixes the build of multifdsink, or will soon..
626 2006-08-11 Wim Taymans <wim@fluendo.com>
628 * docs/gst/gstreamer-sections.txt:
629 Add GstClockClass vmethod docs.
632 Mark #endif with comment for associated #if
634 * gst/gstclock.c: (gst_clock_id_wait):
636 Add vmethod wait_jitter to avoid an unneeded _get_time() for
637 most clock implementations.
639 Flesh out docs about resolution methods.
640 API: GstClockClass::wait_jitter
642 * gst/gstsystemclock.c: (gst_system_clock_class_init),
643 (gst_system_clock_async_thread),
644 (gst_system_clock_id_wait_jitter_unlocked),
645 (gst_system_clock_id_wait_jitter):
646 Use base class wait_jitter variant for improved performance
647 due to less clock polling.
649 2006-08-11 Edward Hervey <edward@fluendo.com>
651 * gst/gst.c: (gst_init_check), (init_post):
652 Set gst as being initialized before scanning/updating the registry,
653 since there might be my python plugin loader that calls gst_init() and
654 we don't want to loop back in.
657 2006-08-11 Wim Taymans <wim@fluendo.com>
659 * docs/design/part-qos.txt:
660 Bring docs in line with the code. Mostly the sign of the jitter was
661 wrong in the docs. Fixes #349943.
664 Fix the docs for the jitter.
666 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
667 (gst_event_parse_tag), (gst_event_new_buffer_size),
668 (gst_event_parse_buffer_size), (gst_event_parse_qos),
669 (gst_event_new_seek), (gst_event_parse_seek),
670 (gst_event_new_navigation):
671 Make sure the GstStructure has no parent when creating custom
673 Add some more argument checking so that we avoid 0.0 rates.
674 Flesh out the docs for the QoS event some more.
676 2006-08-11 Wim Taymans <wim@fluendo.com>
678 * docs/gst/gstreamer-sections.txt:
679 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
680 (ensure_current_registry_forking), (ensure_current_registry),
681 (parse_one_option), (parse_goption_arg), (gst_deinit),
682 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
685 Added API and command line option to disable registry forking in
686 addition to the environment variable.
687 Constify some static arrays.
688 Added some more debug.
690 API: gst_registry_fork_is_enabled()
691 API: gst_registry_fork_set_enabled()
692 API: --gst-disable-registry-fork command line option
695 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
697 * gst/gst.c: (gst_init):
698 Fix typo in error message.
700 2006-08-10 Stefan Kost <ensonic@users.sf.net>
702 * libs/gst/controller/gstcontroller.h:
703 fix ABI size-correction
705 * tests/check/libs/gdp.c: (gst_dp_suite):
706 make tests that use deprecated API conditional
708 2006-08-10 Stefan Kost <ensonic@users.sf.net>
710 * docs/libs/gstreamer-libs-sections.txt:
711 * libs/gst/controller/gstcontroller.c:
712 (_gst_controller_get_property), (_gst_controller_set_property),
713 (_gst_controller_init), (_gst_controller_class_init):
714 * libs/gst/controller/gstcontroller.h:
715 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
716 (gst_object_set_control_rate):
717 API: add gst_object_{s,g}et_control_rate(), add private data section,
720 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
721 * libs/gst/dataprotocol/dataprotocol.h:
722 add deprecation guards to make gtk-doc happy and allow disabling cruft
724 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
726 * tests/check/Makefile.am:
727 * tests/check/gst/.cvsignore:
728 Let's enable the new unit test as well.
730 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
733 * docs/gst/gstreamer-sections.txt:
734 * gst/gstconfig.h.in:
735 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
736 (_gst_info_printf_extension_ptr),
737 (_gst_info_printf_extension_segment):
738 API: add GST_SEGMENT_FORMAT, which is a printf extension we
739 register that lets us easily dump GstSegments into debug
742 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
743 (info_segment_format_printf_extension), (gst_info_suite):
744 Add simple unit test that logs a bunch of different segments (not
745 valgrinded at the moment because of leaks in
746 gst_debug_add_log_function).
748 2006-08-09 Edward Hervey <edward@fluendo.com>
750 * libs/gst/base/gstbasetransform.c:
751 (gst_base_transform_buffer_alloc):
752 Even if we can't figure out the proper format to request downstream,
753 call buffer_alloc() downstream with the input parameters without setting
754 the caps on the srcpad. This will force negotiation in the chain
758 2006-08-08 Edward Hervey <edward@fluendo.com>
760 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
761 Unlinking from a pad without a target is now a perfectly valid case
762 which should NOT raise an assertion.
763 This case would happen if a linked ghostpad its target set to NULL after
764 it was previously linked.
766 2006-08-08 Edward Hervey <edward@fluendo.com>
768 * tests/check/libs/gdp.c:
769 Also comment out the test (see below).
771 2006-08-08 Edward Hervey <edward@fluendo.com>
773 * tests/check/libs/gdp.c: (gst_dp_suite):
774 Use the architecture information from config.h and not gcc macros
775 in order to properly disable a test that fails on PPC64.
777 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
779 * gst/gstelement.c: (gst_element_remove_pad):
780 Don't crash printing the warning if the pad has no parent.
782 2006-08-02 Wim Taymans <wim@fluendo.com>
784 * libs/gst/dataprotocol/dataprotocol.c:
785 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
786 (gst_dp_crc), (gst_dp_header_payload_length),
787 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
788 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
789 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
790 (gst_dp_event_from_packet), (gst_dp_validate_header),
791 (gst_dp_validate_payload):
792 Make debug category static
793 Constify the crc table.
794 Do some more arg checking in public functions.
795 Fix some docs and do some small cleanups.
797 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
798 Add some more checks to see if GDP deals with bogus input.
800 2006-07-31 Wim Taymans <wim@fluendo.com>
802 * gst/gstvalue.c: (gst_value_compare_list):
803 Fix GstValueList comparison code. Fixes #347293.
805 * tests/check/gst/gstvalue.c: (GST_START_TEST):
806 Check to test GstValueList comparison.
808 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
810 * gst/gstelementfactory.c: (gst_element_factory_create):
811 Remove unnecessary ref/unref pair
813 * gst/parse/grammar.y:
814 Make sure to free the parse buffer on all code paths.
815 Move a g_free up to the error handler where it's easier to see.
817 * tests/check/gst/gstevent.c: (test_event):
818 Extending timeout for downstream travelling events to 10 seconds to
819 hopefully avoid intermittent failure on the buildbots.
821 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
822 Don't manually set the state of the src element - it will happen as a
823 natural consequence of the pipeline changing state, and that way it
824 will do it in the right order too.
826 2006-07-31 Wim Taymans <wim@fluendo.com>
828 * libs/gst/base/gstbasetransform.c:
829 (gst_base_transform_buffer_alloc):
830 Use OBJECT_LOCK and refcounting to get the pad caps in the
831 buffer_alloc function because the caps could change while we are
832 busy with them. Fixes #349105
834 2006-07-31 Wim Taymans <wim@fluendo.com>
836 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
837 Protect _PAD_CAPS with OBJECT_LOCK.
839 2006-07-31 Wim Taymans <wim@fluendo.com>
841 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
842 (gst_pad_get_property), (gst_pad_activate_pull),
843 (gst_pad_activate_push), (gst_pad_set_blocked_async),
844 (gst_pad_set_activate_function),
845 (gst_pad_set_activatepull_function),
846 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
847 (gst_pad_set_getrange_function),
848 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
849 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
850 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
851 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
852 (gst_pad_set_acceptcaps_function),
853 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
854 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
855 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
856 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
857 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
858 (gst_pad_configure_sink), (gst_pad_configure_src),
859 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
860 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
861 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
862 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
863 (gst_pad_send_event):
864 Use _DEBUG_OBJECT when it makes sense.
865 Protect GST_PAD_CAPS with the OBJECT_LOCK.
866 Small cleanups and code reflows.
867 Avoid caps refcounting in _accept_caps.
868 Refactor alloc_buffer so that the code performed on the peer is in a
869 separate function. Also if the pad does not implement a buffer alloc
870 function, we should still check if the pad is flushing before falling
871 back to the default allocator.
873 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
875 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
876 Make all uses of identity and fakesink have silent=true to avoid
877 serialising every passing data structure, which is breaking tests
878 on FC4 for some unknown reason.
880 2006-07-30 Stefan Kost <ensonic@users.sf.net>
882 * gst/parse/Makefile.am:
883 * gst/parse/grammar.y:
885 Reverted previous patch as it required to bump the flex dependency to
886 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
888 2006-07-30 Stefan Kost <ensonic@users.sf.net>
890 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
892 * gst/parse/Makefile.am:
893 * gst/parse/grammar.y:
895 push & pop the state of the lexer for reentrant use case
898 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
900 * libs/gst/base/gstbasesrc.h:
901 Note in the docs that the ::newsegment vfunc is not actually used by
904 2006-07-28 Wim Taymans <wim@fluendo.com>
906 * libs/gst/base/gstcollectpads.c:
907 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
908 (gst_collect_pads_clear), (gst_collect_pads_flush),
909 (gst_collect_pads_event), (gst_collect_pads_chain):
910 When flushing a pad, also clear the queued buffer so that we don't
911 accidentally use it when we shouldn't.
912 Fix leaks by inreffing incomming buffer.
913 Flush out queued buffers in case of errors.
916 2006-07-28 Wim Taymans <wim@fluendo.com>
918 * docs/random/phonon-gst:
919 Random notes about a Phonon backend.
921 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
923 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
925 * tests/check/libs/gdp.c: (gst_dp_suite):
926 Take a whack at fixing the ppc compile using a different define to
927 disable the broken test.
929 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
930 Remove excess g_print()
932 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
934 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
935 Oops, meant to uncomment this line too to dampen the noise a bit.
937 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
939 * gst/parse/grammar.y:
941 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
942 (GST_START_TEST), (parse_suite):
943 Fix some of the leaks exposed by extending the parse-launch testsuite,
944 and move the 3 I can't figure out into a separate test that won't run
945 the pipelines unless the appropriate line is uncommented.
947 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
949 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
950 Requesting 0 bytes before the end of the file should result in
951 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
954 2006-07-27 Wim Taymans <wim@fluendo.com>
956 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
957 Fix useless assert, a uint is always positive.
959 * gst/gststructure.c: (gst_structure_nth_field_name),
960 (gst_structure_foreach), (gst_structure_map_in_place):
961 Check input arguments for public functions to avoid obvious crashes.
963 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
964 * plugins/elements/gstfakesink.h:
965 Do less useless typechecking.
967 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
969 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
970 Do not use mmap() by default since there are a number of error
971 conditions that we would like to handle in a non-fatal way that
972 will result in a SIGBUS if we use mmap(). Examples: external
973 devices (USB harddrive, portable music player) being unplugged
974 while in use; file on mounted CD/DVD that can't be read because
975 the medium is partly damaged. Fixes #348455 and #348475.
977 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
980 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
983 2006-07-26 Stefan Kost <ensonic@users.sf.net>
986 Move big documentation comment into class section header, so that it
987 appears in the API docs.
989 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
991 * docs/gst/gstreamer-sections.txt:
992 Oops. Commit the docs additions too for new API.
993 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
995 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
997 * gst/gststructure.c: (gst_structure_id_set),
998 (gst_structure_id_set_valist):
999 * gst/gststructure.h:
1000 Add API for setting values into structures without performing
1001 a quark lookup, if the appropriate quark is already known.
1003 API: gst_structure_id_set
1004 API: gst_structure_id_set_valist
1006 * gst/parse/grammar.y:
1007 * gst/parse/parse.l:
1008 Remove some dead code shown by the coverage information.
1009 Don't throw a critical g_warning when encountering a syntax error,
1010 just warn and let the normal error path handle it.
1012 * plugins/elements/gstelements.c:
1013 Bump the rank of filesink up to PRIMARY so that it is preferred over
1014 gnomevfssink for file:// sink uri's
1016 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1017 (GST_START_TEST), (run_delayed_test),
1018 (gst_parse_test_element_base_init),
1019 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1020 (gst_parse_test_element_change_state),
1021 (gst_register_parse_element), (parse_suite):
1022 Beef up the tests for parse syntax to check that more error cases
1023 fail as they are supposed to. Increases the test coverage a bit.
1025 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1027 * docs/manual/basics-elements.xml:
1028 Fix gst_element_link() example.
1031 Mention in API docs that one should usually gst_bin_add()
1032 elements to a bin or pipeline before doing the linking.
1034 2006-07-26 Wim Taymans <wim@fluendo.com>
1036 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1037 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1038 Avoid function call for known types by keeping the buffer and
1039 subbuffer GType global.
1041 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1042 Random silly optimisations in read() path.
1044 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1046 * tools/gst-launch.c: (main):
1047 If the top-level of the parse is a normal bin, it doesn't do the
1048 right logic to run as a top-level element, so place it inside a
1051 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1053 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1054 Remove superfluous g_object_notify() calls, GObject does
1055 that for us automatically.
1057 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1060 on Win32, use dllspec to export the debug category symbols
1062 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1064 * gst/gsttaglist.c: (_gst_tag_initialize):
1065 Allow more than one GST_TAG_IMAGE per taglist.
1067 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1069 * gst/gstminiobject.c:
1071 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1072 (gst_fd_src_create):
1073 log recurring events at LOG level
1074 add more debug for when the fd gets set
1076 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1078 * gst/gstparse.c: (gst_parse_launch):
1079 Also remove reentrance checks if flex is MT safe (#348179)
1080 Fix my empty ChangeLog entry below
1082 2006-07-21 Andy Wingo <wingo@pobox.com>
1084 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1086 * libs/gst/check/Makefile.am
1087 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1088 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1089 * libs/gst/check/gstbufferstraw.h:
1090 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1091 functions, thus proving I am still a GStreamer haxor. OK I wrote
1092 them a long time ago, but anyways.
1094 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1097 * gst/gstparse.c: (gst_parse_launch):
1098 Check for flex version and omit mutex if we have a MT save flex
1101 2006-07-21 Wim Taymans <wim@fluendo.com>
1103 * gst/gstparse.c: (gst_parse_launch):
1104 Protect recursive calls to _parse with a recursive mutex
1107 2006-07-21 Wim Taymans <wim@fluendo.com>
1109 * tests/check/gst/gstpad.c: (GST_START_TEST):
1112 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1114 * gst/gstparse.c: (gst_parse_launch):
1115 Do not hang on recursive usage of gst_parse_launch()
1117 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1120 Add some more docs, comments and FIXME 0.11s here and there
1121 and also fix some typos.
1123 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1126 Convert tabs to spaces for better readability.
1128 2006-07-20 Edward Hervey <edward@fluendo.com>
1130 * tests/check/libs/gdp.c: (gst_dp_suite):
1131 the test_buffer test fails at line 140 on ppc64 at the following
1133 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1134 GST_BUFFER_FLAG_IN_CAPS),
1135 "GST_BUFFER_IN_CAPS flag should have been copied !");
1136 See bug #348114 for more details.
1138 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1140 * docs/pwg/advanced-scheduling.xml:
1142 Fix typos (#348000).
1144 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1146 * docs/pwg/intro-basics.xml:
1147 Fix wrong links (#347927).
1149 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1151 * gst/gstregistry.h:
1152 * gst/gstregistryxml.c: (load_feature),
1153 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1154 * win32/common/config.h:
1155 make --disable-index work (#342564)
1157 2006-07-18 Wim Taymans <wim@fluendo.com>
1159 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1163 The attached patch adds two missing defines to gsttrace.h when tracing
1164 is disabled. It also corrects one existing define.
1167 2006-07-17 Wim Taymans <wim@fluendo.com>
1169 * docs/gst/gstreamer-sections.txt:
1170 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1172 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1173 Add two functions to check and change the SIGSEGV behaviour
1174 when loading plugins.
1175 Don't mess with the SIGSEGV handler when we were told not to.
1177 API: gst_segtrap_is_enabled
1178 API: gst_segtrap_set_enabled
1180 2006-07-14 Wim Taymans <wim@fluendo.com>
1182 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1183 * tests/check/elements/filesrc.c: (GST_START_TEST):
1184 Revert fix for regression in #347408 after release.
1186 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1188 Patch by: Antoine Tremblay <hexa00 at gmail com>
1190 * gst/gstutils.c: (gst_element_unlink):
1191 Free iterator when done (#347311).
1193 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1194 And add a test case for this.
1196 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1199 Bump nano back to CVS
1201 === release 0.10.9 ===
1203 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1206 releasing 0.10.9, "On the road again"
1208 2006-07-13 Wim Taymans <wim@fluendo.com>
1210 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1211 * tests/check/elements/filesrc.c: (GST_START_TEST):
1212 Revert pull-0 fix for release. Disable check. Fixes #347408.
1214 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1216 * libs/gst/dataprotocol/dataprotocol.c:
1217 (gst_dp_event_from_packet_1_0):
1218 Fixes #347337: failure to deserialize event packets with
1219 empty payload (only event type)
1221 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1224 do not install a .c file in the header directory
1226 2006-07-13 Edward Hervey <edward@fluendo.com>
1228 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1229 GhostPad no longer implicitely use the padtemplates of the targets.
1232 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1234 * gst/gstvalue.c: (gst_value_compare_list),
1235 (gst_value_compare_array), (_gst_value_initialize):
1236 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1237 Make GstValueArray comparison be order dependent as designed.
1238 Add checks for value lists and value array comparisons.
1241 2006-07-11 Edward Hervey <edward@fluendo.com>
1243 * gst/gstbin.c: (activate_pads),
1244 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1245 (gst_bin_change_state_func):
1246 (de)activate src pads before calling state_change on the childs.
1247 This is to avoid the case where a src ghostpad is blocked (holding the
1248 stream lock), which would block the deactivation of the ghostpad's
1250 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1251 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1252 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1253 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1254 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1255 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1256 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1257 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1258 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1259 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1260 (gst_ghost_pad_class_init),
1261 (gst_ghost_pad_internal_do_activate_push),
1262 (gst_ghost_pad_internal_do_activate_pull),
1263 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1264 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1265 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1266 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1267 GhostPads now create their internal GstProxyPad at creation (and not
1268 when they're linked, as it was being done previously).
1269 The internal and target pads are linked straight away.
1270 The data will also travel through the other pad in order to make
1271 pad blocking and probes non-hackish (the probe/block now really happens
1272 on the GhostPad and not on the target).
1273 * gst/gstpad.c: (gst_pad_set_blocked_async),
1274 (gst_pad_link_prepare), (gst_pad_push_event):
1275 Remove previous ghostpad cruft.
1276 * gst/gstutils.c: (gst_pad_add_data_probe),
1277 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1278 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1279 (gst_pad_remove_buffer_probe):
1280 Remove previous ghost pad cruft.
1281 Added more detailed debug statements.
1282 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1283 Fix the testsuite for refcounting changes.
1284 The comments about who has references were correct, but the refcount
1285 being checked wasn't the same (!?!).
1289 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1291 * docs/gst/gstreamer-sections.txt:
1292 * gst/gstconfig.h.in:
1293 More docs for configuration options, add docs to gtk-doc.
1295 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1298 * gst/gstconfig.h.in:
1299 * win32/common/config.h:
1300 Fix build when disabling tracing (fixes #344016). Also start to document
1301 the defines that disable the sub-systems.
1303 2006-07-10 Edward Hervey <edward@fluendo.com>
1305 * gst/gst.c: (ensure_current_registry_forking):
1306 let's make valgrind happy...
1308 2006-07-09 Wim Taymans <wim@fluendo.com>
1310 * gst/gstelement.c: (activate_pads),
1311 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1312 Better pad activation code: Reset the collect value too on resync.
1315 2006-07-09 Wim Taymans <wim@fluendo.com>
1317 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1318 (gst_pad_activate_push):
1319 Use some more macros where it makes sense.
1320 Allow pad mode switching instead of asserting. When a pad
1321 is activated in one mode and we activate it in another,
1322 deactivate it first before activating it in a different mode.
1325 2006-07-08 Andy Wingo <wingo@pobox.com>
1327 * tools/gst-launch.c (main): Handle err == NULL.
1329 * gst/gst.c (init_post, ensure_current_registry)
1330 (ensure_current_registry_forking)
1331 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1332 factoring out the registry scanning into separate functions. Don't
1333 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1334 Better environment var name/interface suggestions accepted.
1336 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1338 * gst/gstobject.c: (gst_object_set_name_default),
1339 (gst_object_set_name):
1340 Random micro-optimisation: don't use a hash table
1341 with strings as keys and the usual strdup/strcmp
1342 involved, but rather just use the GQuark of the
1343 type name as key, since it needs to be looked up
1344 anyway to get the type name string.
1346 * tests/check/gst/gstobject.c: (GST_START_TEST):
1349 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1351 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1352 (gst_bin_iterate_all_by_interface):
1353 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1354 GTypes are gulongs and thus the top 4 bytes might be cut
1355 off on some platforms when doing GPOINTER_TO_INT, leading
1356 to invalid GTypes and bad things happening (see RH bug #179654).
1357 Also add a check to make sure the type passed in is really
1360 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1365 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1369 * gst-element-check.m4:
1370 * gst-element-check.m4.in:
1371 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1372 instead of the unversioned gst-inspect (#324176, #168659).
1374 2006-07-06 Wim Taymans <wim@fluendo.com>
1377 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1380 2006-07-06 Wim Taymans <wim@fluendo.com>
1382 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1383 (gst_base_src_wait), (gst_base_src_update_length),
1384 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1385 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1386 (gst_base_src_loop), (gst_base_src_start),
1387 (gst_base_src_activate_pull):
1389 blocksize == 0 now means the default blocksize when working in push
1391 Remove some pointless asserts in _wait function.
1392 Fix offset/length calculations and EOS handling. We can now pull 0
1393 bytes as well, which is allowed.
1394 use _check_get_range() to decide if we can operate in _pull based
1396 Fix refcounting leak when check_get_range function was not
1398 API GstBaseSrc::blocksize range can be 0 too now (default)
1400 * tests/check/elements/filesrc.c: (GST_START_TEST),
1402 Added check to test _get_range() behaviour.
1404 2006-07-06 Wim Taymans <wim@fluendo.com>
1406 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1407 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1408 (gst_pad_pull_range):
1410 Lots of comments and docs added to the pad functions.
1411 Flesh out the expected behaviour of the get_range() functions.
1413 2006-07-06 Wim Taymans <wim@fluendo.com>
1418 * gst/gstiterator.h:
1422 Remove comma at end of enumerator list.
1424 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1426 * win32/common/libgstbase.def:
1427 * win32/common/libgstdataprotocol.def:
1428 * win32/common/libsgtreamer.def:
1429 Add new exported functions.
1431 2006-07-05 Wim Taymans <wim@fluendo.com>
1433 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1434 Add some more docs here and there.
1436 2006-07-05 Wim Taymans <wim@fluendo.com>
1438 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1439 (gst_base_sink_loop), (gst_base_sink_get_position):
1440 When operating in pull mode update the offset so that we
1443 2006-07-05 Wim Taymans <wim@fluendo.com>
1445 * gst/gstregistryxml.c: (read_string):
1446 Avoid strdup. (will happen in libxml, but hey!)
1451 2006-07-05 Wim Taymans <wim@fluendo.com>
1453 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1454 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1456 No point in checking if the size of the subbuffer > 0, the
1457 code handles it correclty as demonstrated by unit test.
1458 Also add a unit test for the zero sized _new_and_alloc and
1459 _copy. Fixes #346663.
1461 2006-07-05 Wim Taymans <wim@fluendo.com>
1463 * libs/gst/base/gstbasetransform.c:
1464 (gst_base_transform_prepare_output_buffer),
1465 (gst_base_transform_buffer_alloc),
1466 (gst_base_transform_handle_buffer):
1467 Make sure the buffer we pass to transform_ip has a refcount of
1468 1 and thus is writable. Fixes #343196
1470 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1472 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1473 (gst_file_src_init), (gst_file_src_set_property),
1474 (gst_file_src_get_property), (gst_file_src_map_region):
1475 * plugins/elements/gstfilesrc.h:
1476 Add "sequential" property, off by default, to use madvise and hint
1477 to the kernel that sequential access is desired.
1478 Touch all retrieved pages by default to ensure they are pulled
1479 into memory. (Closes #345720)
1481 2006-07-03 Wim Taymans <wim@fluendo.com>
1483 * docs/design/part-block.txt:
1484 * docs/design/part-dynamic.txt:
1487 2006-07-03 Wim Taymans <wim@fluendo.com>
1489 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1490 (gst_caps_unref), (gst_static_caps_get),
1491 (gst_caps_append_structure):
1492 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1493 Use GSlice when the glib we build against is >= 2.10
1495 2006-07-03 Wim Taymans <wim@fluendo.com>
1497 * gst/gstelement.c: (gst_element_pads_activate):
1498 Small cleanup in pad activation code.
1500 2006-07-03 Wim Taymans <wim@fluendo.com>
1502 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1504 * gst/gst-i18n-app.h:
1505 * gst/gst-i18n-lib.h:
1506 * tools/gst-inspect.c: (print_signal_info):
1507 The attached patch will make the inclusion of gettext.h unconditional in
1508 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1509 libintl.h in tools/gst-inspect.c.
1510 This allows use of --disable-nls again and fixes #344642.
1512 2006-07-03 Edward Hervey <edward@fluendo.com>
1514 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1515 Implement pad blocking on events according to part-block.txt.
1516 More comments on behaviour.
1517 * tests/check/gst/gstevent.c: (test_event):
1518 Send event to peer pad of blocked pad (else it will block).
1520 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1522 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1523 (gst_check_run_suite):
1524 if we get the wrong message, give us the types as string
1525 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1527 * tests/check/elements/filesrc.c: (GST_START_TEST):
1528 add a test for trying to open a non-existing file
1530 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1532 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1533 add a test for adding self
1535 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1537 * libs/gst/check/gstcheck.h:
1538 add some assert_ as alias for fail_unless_*
1539 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1540 increase test coverage
1542 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1545 include lcov.mak for lcov coverage generation
1546 * tools/Makefile.am:
1549 2006-07-02 Edward Hervey <edward@fluendo.com>
1551 * tests/check/elements/.cvsignore:
1554 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1557 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1558 * tests/check/Makefile.am:
1561 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1563 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1564 remove gst_caps_simplify; it was not declared and not used
1565 and deprecated in 0.8
1567 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1569 * docs/faq/gst-uninstalled:
1570 don't put empty paths on PYTHONPATH
1571 * docs/gst/gstreamer-sections.txt:
1572 remove some symbols that are not there
1574 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1576 * gst/gstcaps.c: (gst_caps_compare_structures):
1578 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1579 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1582 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1584 * libs/gst/dataprotocol/Makefile.am:
1585 build dataprotocol test by linking to the lib, instead of
1586 compiling the source, so we get coverage
1587 * tests/check/Makefile.am:
1588 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1589 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1590 add a test for filesrc
1592 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1594 * tests/check/gst/gststructure.c: (GST_START_TEST),
1595 (gst_structure_suite):
1596 Push coverage from 59.04% to 70.00%
1598 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1600 * tests/check/Makefile.am:
1601 gst-inspect every element; this makes sure that we also get
1602 coverage on element's get/set functions
1604 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1607 set CFLAGS and friends to -O0 if gcov is being used
1610 * libs/gst/base/Makefile.am:
1611 * libs/gst/check/Makefile.am:
1612 * libs/gst/controller/Makefile.am:
1613 * libs/gst/dataprotocol/Makefile.am:
1614 * libs/gst/net/Makefile.am:
1615 * plugins/elements/Makefile.am:
1616 * plugins/indexers/Makefile.am:
1617 add makefile rules to generate gcov data and clean up
1618 * tests/check/Makefile.am:
1619 add a coverage target that generates an html overview
1622 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1624 * tests/check/elements/fakesink.c:
1625 * tests/check/elements/fakesrc.c:
1626 * tests/check/elements/fdsrc.c:
1627 * tests/check/elements/identity.c:
1628 * tests/check/generic/sinks.c: (gst_sinks_suite):
1629 * tests/check/generic/states.c:
1630 * tests/check/gst/gst.c:
1631 * tests/check/gst/gstabi.c:
1632 * tests/check/gst/gstbin.c:
1633 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1634 * tests/check/gst/gstbus.c: (gst_bus_suite):
1635 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1636 * tests/check/gst/gstelement.c:
1637 * tests/check/gst/gstevent.c: (gst_event_suite):
1638 * tests/check/gst/gstghostpad.c:
1639 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1640 * tests/check/gst/gstmessage.c: (gst_message_suite):
1641 * tests/check/gst/gstminiobject.c:
1642 * tests/check/gst/gstobject.c:
1643 * tests/check/gst/gstpad.c:
1644 * tests/check/gst/gstpipeline.c:
1645 * tests/check/gst/gstplugin.c:
1646 * tests/check/gst/gstquery.c: (gst_query_suite):
1647 * tests/check/gst/gstsegment.c: (gst_segment_suite):
1648 * tests/check/gst/gststructure.c:
1649 * tests/check/gst/gstsystemclock.c:
1650 * tests/check/gst/gsttag.c:
1651 * tests/check/gst/gsttask.c: (gst_task_suite):
1652 * tests/check/gst/gstutils.c:
1653 * tests/check/gst/gstvalue.c:
1654 * tests/check/libs/adapter.c:
1655 * tests/check/libs/basesrc.c:
1656 * tests/check/libs/collectpads.c:
1657 * tests/check/libs/controller.c:
1658 * tests/check/libs/gdp.c: (gst_dp_suite):
1659 * tests/check/libs/gstnetclientclock.c:
1660 * tests/check/libs/gstnettimeprovider.c:
1661 * tests/check/libs/libsabi.c: (libsabi_suite):
1662 * tests/check/libs/typefindhelper.c:
1663 * tests/check/pipelines/cleanup.c:
1664 * tests/check/pipelines/parse-launch.c:
1665 * tests/check/pipelines/simple-launch-lines.c:
1666 * tests/check/pipelines/stress.c: (stress_suite):
1669 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1671 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1672 * libs/gst/check/gstcheck.h:
1673 create a macro and function so that the simple unit test
1674 case can be just one macro to create main()
1676 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
1678 * gst/gstbin.c: (gst_bin_restore_thyself):
1679 * gst/gstxml.c: (gst_xml_make_element):
1680 Fix deserialisation from XML. Set parent manually
1681 instead of using gst_bin_add(), since gst_bin_add()
1682 will unlink all pads of the element being added.
1685 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
1687 Patch by: Peter Kjellerstedt <pkj at axis com>
1689 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1690 Fix missing g_strdup() and double free when using the
1691 --gst-plugin-load command line option (#346097).
1693 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1696 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1698 * libs/gst/net/gstnetclientclock.c:
1699 * libs/gst/net/gstnettimeprovider.c:
1700 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1702 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1704 * docs/manual/advanced-dataaccess.xml:
1705 Fix buffer probe example compilation in
1708 2006-06-22 Edward Hervey <edward@fluendo.com>
1710 * gst/gstelement.c: (gst_element_pads_activate):
1711 We need to deactivate src pads first and then sink pads.
1712 The reason is the src pads might be blocking while holding the streaming
1713 lock, so we need to deactivate them first so that deactivating the sink
1714 pads doesn't block (since it will require the streaming lock).
1716 2006-06-22 Wim Taymans <wim@fluendo.com>
1718 * libs/gst/base/gstbasetransform.c:
1719 (gst_base_transform_buffer_alloc):
1720 Forgot to remove two unneeded unrefs.
1721 Simplify a check _is_equal allready checks the obvious case.
1723 2006-06-22 Wim Taymans <wim@fluendo.com>
1725 * docs/design/part-block.txt:
1726 Some docs about what pad_block should do.
1728 2006-06-22 Wim Taymans <wim@fluendo.com>
1730 * gst/gstcaps.c: (gst_caps_replace):
1731 Fix crasher when passed NULL. Doc clarification.
1732 Optimize for the trivial case.
1734 * gst/gstpipeline.c: (gst_pipeline_change_state):
1737 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1738 Small documentation cleanup.
1740 * libs/gst/base/gstbasetransform.c:
1741 (gst_base_transform_buffer_alloc):
1742 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1743 is what we need and it avoids a whole lot of redundant
1744 refcount operations.
1746 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
1748 Patch by: Philip Jägenstedt <philip at lysator liu se>
1750 * docs/manual/advanced-dataaccess.xml:
1751 Fix 'Embedding static elements' section to use
1752 GST_PLUGIN_DEFINE_STATIC (#345607).
1754 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1756 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1757 Attempt to 'fix' spuriously failing test case: it seems like the
1758 timeout of half a second is simply too small when the system is under
1759 load otherwise, and the timeout doesn't really seem to serve any
1760 particular purpose here. Give the pipeline a few seconds to preroll
1761 first, and then give it another half a second to go from PAUSED to
1762 PLAYING and marshal the message into the main thread.
1764 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1766 * tools/gst-feedback-m.m:
1767 Don't only use unversioned tools, try versioned tools as well
1770 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1772 * gst/gstbus.c: (gst_bus_class_init):
1773 Fix some typos, make docs more explicit.
1775 2006-06-20 Wim Taymans <wim@fluendo.com>
1777 * tests/check/gst/gstghostpad.c: (block_callback),
1778 (GST_START_TEST), (gst_ghost_pad_suite):
1779 Added some more ghostpad tests, mainly blocking
1782 2006-06-16 Wim Taymans <wim@fluendo.com>
1784 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1785 (gst_file_sink_close_file), (gst_file_sink_do_seek),
1786 (gst_file_sink_event), (gst_file_sink_render):
1787 * plugins/elements/gstfilesink.h:
1788 Check if we can seek in the file instead of assuming
1789 we always can. Post an error when we are asked to seek in a
1790 non-seekable file (like a fifo). Fixes #343312.
1793 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1795 * tools/gst-launch.1.in:
1796 Un-garble (fourcc) bit in filtered caps section.
1798 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1800 * docs/manual/advanced-autoplugging.xml:
1801 * docs/manual/basics-helloworld.xml:
1802 * docs/manual/highlevel-components.xml:
1803 Don't leak bus reference in sample code.
1805 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
1808 Add default for new --enable-plugin-docs switch.
1811 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1815 Use new ENABLE_PLUGIN_DOCS conditional.
1817 2006-06-14 Wim Taymans <wim@fluendo.com>
1819 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1820 Make it clear with a FIXME and a real define what the #if 0
1821 previously disabled.
1823 2006-06-14 Wim Taymans <wim@fluendo.com>
1825 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1826 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1827 * libs/gst/base/gstbasetransform.c:
1828 (gst_base_transform_sink_eventfunc):
1829 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1830 Don't randomly and silently reset a segment when the format
1831 changes as this is a bug somewhere upstream. Fixes #330379.
1833 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
1835 Patch by: Wouter Paesen <wouter at kangaroot net>
1837 * libs/gst/controller/gstcontroller.c:
1838 (gst_controlled_property_new):
1839 Fix controlling of float properties (#344849).
1841 * tests/check/libs/controller.c:
1842 (gst_test_mono_source_get_property),
1843 (gst_test_mono_source_set_property),
1844 (gst_test_mono_source_class_init), (GST_START_TEST):
1845 While we're at it, add some float stuff to unit test.
1847 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1850 * docs/images/gdp-header.svg:
1852 * docs/libs/Makefile.am:
1853 * docs/libs/gdp-header.png:
1854 * libs/gst/dataprotocol/dataprotocol.c:
1855 add it to the API docs
1856 * docs/manual/intro-motivation.xml:
1859 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1861 * gst/gst.c: (scan_and_update_registry), (init_post):
1862 If the fork()'ed child process can't write the updated registry cache
1863 file to disk for some reason, make it exit with a failure exit code,
1864 so that the parent can then re-scan the plugins itself and update the
1865 registry structures in memory and work with that (rather than failing
1866 when creating elements because seemingly no plugins are available).
1867 Refactor registry scanning code into separate function for this and
1868 also separate fork() and non-fork() code paths. Fixes #344748.
1870 2006-06-13 Wim Taymans <wim@fluendo.com>
1872 * docs/manual/advanced-dataaccess.xml:
1873 Fix wrong PluginDesc. Fixes #344755.
1875 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1877 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1878 Fix silly bug that prevented us from creating
1879 ~/.gstreamer-0.10 and writing the registry in one
1880 go (the first call to g_mkstemp() would overwrite the
1881 placeholder in the template string, so the second call
1882 to g_mkstemp() after creating the missing directory
1883 would then error out with 'invalid argument').
1885 2006-06-13 Edward Hervey <edward@fluendo.com>
1887 * gst/gst.c: (init_post):
1890 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1892 * gst/glib-compat-private.h:
1893 * gst/glib-compat.c:
1894 * gst/glib-compat.h:
1895 * gst/gstvalue.c: (gst_value_serialize_flags):
1896 remove GLib 2.6 compatibility code
1898 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
1900 * gst/parse/Makefile.am:
1901 Fix build with 'make -j N' even more (#340016).
1903 2006-06-12 Wim Taymans <wim@fluendo.com>
1905 * docs/gst/gstreamer-sections.txt:
1908 2006-06-12 Wim Taymans <wim@fluendo.com>
1910 * gst/gstsegment.c: (gst_segment_set_duration),
1911 (gst_segment_set_last_stop), (gst_segment_set_seek),
1912 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1913 (gst_segment_to_running_time), (gst_segment_clip):
1914 Use G_UNLIKELY to help the compiler a bit.
1916 2006-06-12 Wim Taymans <wim@fluendo.com>
1918 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1920 * gst/gstevent.c: (gst_event_get_type):
1922 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1924 constify quark registration strings. Fixes #344115
1925 Avoid unneeded type checking is _pad_push() by internally
1926 calling gst_pad_chain_unchecked().
1928 2006-06-12 Wim Taymans <wim@fluendo.com>
1930 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1931 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1932 (gst_subbuffer_finalize), (gst_buffer_create_sub),
1933 (gst_buffer_is_span_fast), (gst_buffer_span):
1934 Init _type for consistency.
1935 Use _FLAGS macro to avoid type check.
1936 Avoid unneeded type checks in subbufer code.
1938 2006-06-12 Wim Taymans <wim@fluendo.com>
1940 * gst/gst.c: (gst_debug_help):
1941 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1942 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1943 (gst_plugin_feature_list_free):
1944 * gst/gstregistry.c: (gst_registry_add_plugin),
1945 (gst_registry_add_feature), (gst_registry_plugin_filter),
1946 (gst_registry_feature_filter), (gst_registry_find_plugin),
1947 (gst_registry_find_feature), (gst_registry_get_plugin_list),
1948 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1949 * gst/gstregistryxml.c: (load_feature),
1950 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1951 * gst/gstminiobject.c: (gst_mini_object_unref),
1952 (gst_mini_object_replace), (gst_value_mini_object_free),
1953 (gst_value_mini_object_copy):
1954 Use _CAST macros to avoid unneeded type checking.
1955 Added some more G_UNLIKELY.
1957 2006-06-12 Wim Taymans <wim@fluendo.com>
1960 Avoid unneeded type checking.
1961 API: GST_BUFFER_IS_DISCONT
1963 * gst/gstminiobject.h:
1964 Avoid type check in flag accessor.
1966 * gst/gstelementfactory.h:
1968 * gst/gstpluginfeature.h:
1970 API: GST_ELEMENT_FACTORY_CAST
1971 API: GST_PLUGIN_CAST
1972 API: GST_PLUGIN_FEATURE_CAST
1974 2006-06-12 Wim Taymans <wim@fluendo.com>
1976 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
1978 Add G_UNLIKELY in type registration.
1979 Avoid type check in _ref/_unref since that is also
1982 2006-06-12 Wim Taymans <wim@fluendo.com>
1984 * gst/gsterror.c: (gst_g_error_get_type):
1985 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1986 (gst_static_pad_template_get_type):
1987 * gst/gsttaglist.c: (gst_tag_list_get_type):
1988 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
1989 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
1990 * gst/gsturi.c: (gst_uri_handler_get_type):
1991 * gst/gstvalue.c: (gst_date_get_type):
1992 * gst/gstxml.c: (gst_xml_get_type):
1993 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1994 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1995 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
1996 Add G_UNLIKELY in type registration.
1998 2006-06-12 Wim Taymans <wim@fluendo.com>
2000 * tools/gst-inspect.c: (print_signal_info):
2001 Properly print enum values.
2003 2006-06-12 Wim Taymans <wim@fluendo.com>
2005 * gst/gstinfo.c: (gst_debug_set_active),
2006 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2008 Add some G_[UN]LIKELY.
2009 Maintain __gst_debug_min to avoid formatting the arguments of
2010 debug messages that will be dropped anyway to avoid a lot of
2011 overhead from the debugging system.
2013 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2017 add missing files containing translatable strings, tell intltool about
2020 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2022 * tests/check/libs/.cvsignore:
2023 add test-binary to ignore list
2025 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2027 * docs/libs/gstreamer-libs-docs.sgml:
2028 reorder (put dp into a chapter) and indent
2030 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2035 === release 0.10.8 ===
2037 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2040 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2042 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2044 * gst/gst.c: (init_post):
2045 move pid declaration to declaration block
2047 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2049 * gst/gst.c: (init_post):
2050 use _exit() instead of exit() in our forked child; this ensures
2051 that none of the registered exit handlers from whatever is using
2052 GStreamer get executed. This fixes gnome-mixer-applet failing
2053 to load, because ORBit would shut down.
2054 Spotted by: Edward Hervey <edward@fluendo.com>
2055 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2058 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2063 === release 0.10.7 ===
2065 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2068 releasing 0.10.7, "Soepeke, ik zie ou"
2070 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2093 * win32/common/config.h:
2096 2006-06-07 Wim Taymans <wim@fluendo.com>
2098 * gst/gstindex.c: (gst_index_gtype_resolver):
2099 * tools/gst-xmlinspect.c: (print_plugin_info):
2100 Fix leak spotted by coverity checker. Fixes #343827
2101 Fix another other leak found by paolo borelli.
2103 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2105 * libs/gst/dataprotocol/dataprotocol.c:
2106 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2107 (gst_dp_version_get_type), (gst_dp_init),
2108 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2109 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2110 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2111 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2112 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2113 (gst_dp_packetizer_free):
2114 * libs/gst/dataprotocol/dataprotocol.h:
2115 API: add a GstDPPacketizer object, and create/free functions
2116 API: add GstDPVersion enum
2117 Add 1.0 event function that uses the string serialization
2118 Serialize more useful buffer flags
2121 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2123 * tests/check/Makefile.am:
2124 * tests/check/gst/gstabi.c:
2125 * tests/check/gst/struct_ppc64.h:
2126 * tests/check/libs/libsabi.c:
2127 * tests/check/libs/struct_ppc64.h:
2128 add ppc64 structure sizes
2130 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2132 * tests/check/Makefile.am:
2133 * tests/check/gst/gstabi.c:
2134 * tests/check/gst/struct_x86_64.h:
2135 * tests/check/libs/libsabi.c:
2136 * tests/check/libs/struct_x86_64.h:
2137 generate and add structure size lists for x86_64
2139 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2141 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2142 * libs/gst/check/gstcheck.h:
2143 factor out the method from tests that checks size of structures,
2144 and add code to generate the header containing these sizes
2145 * tests/check/gst/gstabi.c: (GST_START_TEST):
2146 * tests/check/gst/struct_i386.h:
2147 * tests/check/libs/libsabi.c: (GST_START_TEST):
2148 * tests/check/libs/struct_i386.h:
2151 2006-06-06 Michael Smith <msmith@fluendo.com>
2154 Don't use c++-style comments, fixes #343929
2156 2006-06-05 Edward Hervey <edward@fluendo.com>
2159 plugin_paths is not used if we build without registry support.
2161 * gst/gstsegment.c: (gst_segment_copy):
2162 _copy() was always returning NULL...
2164 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2166 * libs/gst/dataprotocol/dataprotocol.c:
2167 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2168 (gst_dp_packet_from_event):
2171 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2173 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2174 make sure we unset caps
2176 2006-06-02 Michael Smith <msmith@fluendo.com>
2178 * libs/gst/check/gstcheck.c: (gst_check_init),
2179 (gst_check_chain_func):
2180 * libs/gst/check/gstcheck.h:
2181 Add a cond/mutex to the check support lib, signal this whenever we
2182 add to the buffers list. This will allow tests to not busy-wait on
2185 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2187 * libs/gst/dataprotocol/dataprotocol.c:
2188 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2189 (gst_dp_packet_from_event):
2190 factor out some common header init code
2192 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2194 * docs/libs/gstreamer-libs-sections.txt:
2195 * docs/libs/tmpl/gstdataprotocol.sgml:
2196 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2197 * libs/gst/dataprotocol/dataprotocol.h:
2198 API: make gst_dp_crc() public
2200 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2202 * plugins/indexers/gstindexers.c: (plugin_init):
2203 conditionally register fileindexer (fixes #343598)
2205 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2207 * gst/gsttagsetter.h:
2208 Can't cast ifaces to a class
2210 * libs/gst/net/gstnetclientclock.h:
2211 * libs/gst/net/gstnettimeprovider.h:
2212 * plugins/elements/gstfakesink.h:
2213 * plugins/elements/gstfakesrc.h:
2214 * plugins/elements/gstfdsink.h:
2215 * plugins/elements/gstfdsrc.h:
2216 * plugins/elements/gstfilesink.h:
2217 * plugins/elements/gstfilesrc.h:
2218 * plugins/elements/gstidentity.h:
2219 * plugins/elements/gstqueue.h:
2220 * plugins/elements/gsttee.h:
2221 * plugins/indexers/gstfileindex.c:
2222 * plugins/indexers/gstmemindex.c:
2223 * tests/old/examples/plugins/example.h:
2224 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2226 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2228 * libs/gst/dataprotocol/dataprotocol.c:
2229 (gst_dp_header_from_buffer):
2230 make sure we zero the whole ABI-compatible area
2232 2006-06-01 Wim Taymans <wim@fluendo.com>
2234 Patch by: Alessandro Decina <alessandro at nnva dot org>
2236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2237 Make sure the EOS flag is cleared from pads after a flush
2238 or stop. Fixes #343538.
2240 * tests/check/libs/collectpads.c: (GST_START_TEST),
2241 (gst_collect_pads_suite):
2242 Added test for collectpads reusage after EOS.
2244 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2247 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2248 * win32/common/libgstbase.def:
2249 export gst_collect_pads_set_flushing
2250 * win32/common/libgstreamer.def:
2251 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2252 gst_value_fraction_multiply
2253 * win32/vs6/gst_inspect.dsp:
2254 add a link to intl.lib
2256 2006-05-30 Wim Taymans <wim@fluendo.com>
2258 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2259 (gst_collect_pads_chain):
2260 Handle the case where a pad is removed from the collection
2261 that could cause the other pads to become collectable.
2263 2006-05-30 Wim Taymans <wim@fluendo.com>
2266 Clarify the use of _release_request_pad() and
2267 _get_request_pad() a bit better.
2269 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2270 (gst_adapter_take_buffer):
2271 Fix some doc and comment typos.
2273 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2275 * docs/gst/gstreamer-sections.txt:
2276 * docs/libs/gstreamer-libs-sections.txt:
2277 add declared symbols
2279 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2281 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2282 Add debug that can be enabled using a #define at the top of the file,
2283 for dumping stats about how late/early we were when waking up from
2284 waiting on the clock.
2286 2006-05-30 Wim Taymans <wim@fluendo.com>
2288 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2289 When rebuilding the pad list, don't leak the previous list.
2291 2006-05-30 Wim Taymans <wim@fluendo.com>
2293 Patch by: Lutz Mueller <lutz at topfrose dot de>
2295 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2296 (gst_base_src_get_query_types), (gst_base_src_update_length):
2297 Publish supported query types.
2298 Update last_stop field in get_range mode so the position
2299 query works. Fixes #342321.
2301 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2303 * docs/gst/gstreamer-sections.txt:
2304 * gst/gsttaglist.c: (_gst_tag_initialize):
2306 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2308 2006-05-30 Wim Taymans <wim@fluendo.com>
2310 Patch by: Alessandro Decina <alessandro at nnva dot org>
2312 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2313 Unlock mutex when removing an unknown pad.
2316 * tests/check/Makefile.am:
2317 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2318 (push_event), (setup), (teardown), (GST_START_TEST),
2319 (gst_collect_pads_suite), (main):
2320 Added collecpads check, disabled for now as check crashes for
2323 2006-05-29 Wim Taymans <wim@fluendo.com>
2325 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2326 Don't leak pads lists.
2328 2006-05-29 Wim Taymans <wim@fluendo.com>
2330 * docs/libs/gstreamer-libs-sections.txt:
2331 * libs/gst/base/gstcollectpads.c:
2332 (gst_collect_pads_set_flushing_unlocked),
2333 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2334 (gst_collect_pads_stop):
2335 * libs/gst/base/gstcollectpads.h:
2336 API: gst_collect_pads_set_flushing()
2337 Added api to set the pads to flushing, useful for seeking
2338 code in elements using collectpads.
2339 Clear segment when receiving a flush.
2341 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2343 * gst/gst.c: (add_path_func), (init_post):
2344 Don't scan registry paths passed via --gst-plugin-path immediately
2345 (will crash, because absolutely nothing is set up and no types are
2346 registered etc.); do this later in init_post(). Fixes #343057.
2348 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2350 * gst/gst.c: (init_post):
2351 if we have fork, fork while reading/rebuilding the registry
2352 so the parent doesn't take the hit of having all plugins loaded
2353 in memory. Fixes #342777.
2355 Check if we have fork()
2356 * win32/common/config.h.in:
2359 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2361 * plugins/elements/gstelements.c:
2362 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2363 (gst_file_src_init), (gst_file_src_set_property),
2364 (gst_file_src_get_property), (gst_file_src_start):
2365 * plugins/elements/gstfilesrc.h:
2366 API: GstFileSrc::use-mmap
2368 Add a use-mmap property to enable easier testing of all code paths.
2369 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2370 in the absence of gnomevfssrc. (Closes #340501)
2372 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2374 * tools/gst-inspect.c:
2375 Add missing include, removes warning of ngettext not being defined on
2378 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2380 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2381 Handle NULL input and output pointers silently as a failed conversion,
2382 rather than g_warnings.
2384 2006-05-25 Wim Taymans <wim@fluendo.com>
2386 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2387 Initialize variable before using. Fixes #342820.
2389 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2391 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2392 Fix off-by-one bug that would only allow peeks of N-1 bytes
2393 from the start even if the buffer to typefind on contains
2394 in fact N bytes of data (makes vorbis typefinding from a
2395 vorbis identification header buffer work).
2397 * tests/check/Makefile.am:
2398 * tests/check/libs/.cvsignore:
2399 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2400 (gst_typefindhelper_suite), (main), (foobar_typefind),
2402 Add very basic unit test for gst_type_find_helper_for_buffer()
2403 that checks for the problem fixed above.
2405 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2407 * tools/gst-inspect.c: (print_interfaces),
2408 (print_element_properties_info), (print_element_list), (main):
2409 add more translatable strings
2411 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2413 Patch by: Julien Moutte <julien at moutte net>
2415 * docs/gst/gstreamer-sections.txt:
2416 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2418 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2419 (gst_fake_sink_preroll):
2420 * plugins/elements/gstfakesink.h:
2421 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2423 2006-05-23 Wim Taymans <wim@fluendo.com>
2425 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2427 Added _CUSTOM error and success GstFlowReturn that can be
2428 used be elements internally.
2429 Added macro to check for SUCCESS flowreturns.
2430 API: GST_FLOW_CUSTOM_SUCCESS
2431 API: GST_FLOW_CUSTOM_ERROR
2432 API: GST_FLOW_IS_SUCCESS
2434 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2435 Added check for GstFlowReturn sanity.
2437 2006-05-23 Wim Taymans <wim@fluendo.com>
2439 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2441 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2442 (gst_collect_pads_event):
2443 clear/reset segment info in FLUSH_STOP.
2446 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2448 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2449 (gst_collect_pads_check_collected):
2450 Flush queued buffer on _stop(), fixes playing again (#342454)
2452 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2454 * tests/check/gst/gststructure.c: (GST_START_TEST),
2455 (gst_structure_suite):
2456 add a test for a complete structure
2458 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2460 * docs/faq/developing.xml:
2462 * docs/faq/troubleshooting.xml:
2463 * docs/faq/using.xml:
2464 Some minor FAQ updates that won't change the fact that
2465 our FAQ is badly structured, full of information hardly
2466 anyone new to GStreamer needs to know and lacking lots
2467 of information people constantly ask for.
2469 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2471 * gst/gstpad.c: (gst_pad_set_caps):
2472 Short-circuit gst_pad_set_caps if setting the existing
2473 caps pointer again, and avoid printing debug and
2474 reffing/unreffing the caps.
2476 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2477 There's actually no need to set the caps before pushing -
2478 the acceptcaps method will handle it anyway.
2480 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2482 * docs/gst/gstreamer-sections.txt:
2483 * win32/common/libgstreamer.def:
2484 * gst/gstutils.c: (gst_element_seek_simple):
2486 API: add gst_element_seek_simple() (#342238).
2488 2006-05-18 Edward Hervey <edward@fluendo.com>
2490 * gst/gsttypefind.c: (gst_type_find_get_type):
2491 * gst/gsttypefind.h:
2492 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2493 registered for GstTypeFind pointers. This allows wrapping the structure
2494 in bindings (i.e. gst-python).
2496 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2498 * gst/gsttagsetter.c:
2499 Docs additions and fixes (see #339918).
2501 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2503 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2504 The caps intersection algorithm can produce multiple copies of the
2505 caps. Until that is fixed, we need to simplify the result to be
2506 sure whether the allowed caps are fixed or not.
2508 * plugins/elements/gstqueue.c: (gst_queue_init),
2509 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2510 (gst_queue_push_one):
2511 Proxied buffer alloc should not set the caps on the source pad.
2512 When pushing buffers, we always accept the caps change that triggers.
2513 This prevents negotiation errors caused by caps changing mid-stream
2514 and then being refused on our source pad (because upstream is now
2515 refusing those caps).
2517 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2519 * tests/examples/helloworld/helloworld.c: (main):
2520 Must plug audioconvert and audioresample between decoder
2523 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2525 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2526 (load_feature), (load_plugin):
2527 Allow empty strings for some of the plugin fields so we don't
2528 drop valid plugin entries that were written out correctly
2531 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2533 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2534 Use g_remove and g_rename instead of remove and rename that don't
2535 handle utf8 characters. rename was failing for users who had specific
2536 characters in their name then the registry was built at each
2538 * win32/vs6/gst_inspect.dsp:
2539 * win32/vs6/gst_launch.dsp:
2540 * win32/vs6/libgstbase.dsp:
2541 * win32/vs6/libgstcoreelements.dsp:
2542 * win32/vs6/libgstreamer.dsp:
2543 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2544 build of libgstreamer and clean unused libraries in projects link
2547 2006-05-17 Edward Hervey <edward@fluendo.com>
2549 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2550 The queue is not responsible for pushing an EOS when receiving a fatal
2551 flow error. It's up to the real element driving the pipeline to do that.
2553 2006-05-16 Edward Hervey <edward@fluendo.com>
2555 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2556 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2557 buffer returned a fatal error. It should just send an EOS and stop
2559 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2560 when pushing buffers on the queue and will be able to handle the event.
2562 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
2564 * docs/manual/basics-bins.xml:
2565 * docs/manual/basics-init.xml:
2566 Fix typos and minor errors in sample code (#341856).
2568 2006-05-16 Wim Taymans <wim@fluendo.com>
2570 * docs/design/part-qos.txt:
2571 Fix indexes in formulas to make more sense.
2573 2006-05-15 Wim Taymans <wim@fluendo.com>
2575 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2576 Don't report POSITION based on clock time if sync is
2579 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
2582 Add cast to make compiler happy - refcount variable was a gint
2583 in GstObject but is a guint in GObject and g_atomic_int_get()
2586 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
2588 * gst/parse/Makefile.am:
2589 chain commands using &&, which also makes parallel make work
2591 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
2593 * docs/gst/gstreamer-sections.txt:
2599 === release 0.10.6 ===
2601 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
2604 releasing 0.10.6, "Take the cannoli"
2606 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
2608 * tools/gst-launch.c: (print_tag):
2609 Fix use of uninitialized variable in the hypothetical
2610 case that some broken plugin creates a GST_TAG_IMAGE
2611 tag containing a NULL buffer (#341667).
2613 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
2615 * tools/gst-launch.c: (print_tag):
2616 Print something more intelligible for image tags when
2617 using the -t switch (#341556).
2619 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
2624 define GST_MAJORMINOR so we have it available in win32/common/config.h
2625 Possibly remove it from our Makefile.am files later
2626 * win32/common/config.h:
2627 * win32/common/config.h.in:
2628 added GST_MAJORMINOR
2629 * win32/common/gstenumtypes.c: (register_gst_resource_error):
2630 * win32/common/gstversion.h:
2633 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
2636 Update win32 files listing.
2637 * win32/common/gstversion.h:
2638 Add GST_MAJORMINOR definition.
2639 * win32/common/libgstreamer.def:
2640 Add new exported functions.
2642 2006-05-12 Michael Smith <msmith@fluendo.com>
2644 * gst/gstplugin.c: (gst_plugin_load_file):
2645 If an so file has no plugin entry point, unload the module.
2647 2006-05-11 Wim Taymans <wim@fluendo.com>
2649 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2650 (gst_queue_set_property):
2651 Don't forget to signal the _chain or _loop function
2652 when the queue size or thresholds change since that might
2653 cause them to make progres again.
2655 2006-05-11 Stefan Kost <ensonic@users.sf.net>
2657 * gst/gstclock.c: (gst_clock_class_init):
2658 * gst/gstindex.c: (gst_index_class_init):
2659 * gst/gstobject.c: (gst_object_class_init):
2660 * gst/gstpad.c: (gst_pad_class_init):
2661 * gst/gstpipeline.c: (gst_pipeline_class_init):
2662 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2663 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2664 * libs/gst/base/gstbasetransform.c:
2665 (gst_base_transform_class_init):
2666 * libs/gst/net/gstnetclientclock.c:
2667 (gst_net_client_clock_class_init):
2668 * libs/gst/net/gstnettimeprovider.c:
2669 (gst_net_time_provider_class_init):
2670 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2671 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2672 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2673 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2674 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2675 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2676 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2677 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2678 * plugins/elements/gsttee.c: (gst_tee_class_init):
2679 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2680 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2681 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2683 2006-05-11 Wim Taymans <wim@fluendo.com>
2685 * gst/gstbuffer.c: (_gst_buffer_initialize):
2686 Register subbufer along with the buffer type so that
2687 it does not accidentally gets registered from N
2688 different streaming threads in a non threadsafe way.
2690 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2695 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2696 gst_event_ref() and gst_message_ref() functions again
2697 (ugly hack, please do fix if there's a better way besides
2698 overrides.txt, which doesn't seem to work).
2700 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2702 * libs/gst/check/gstcheck.h:
2703 add an assert for setting state to avoid lots of repetitive code
2706 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2708 * gst/gstvalue.c: (gst_value_serialize_flags):
2709 fix a leak if no flags are set
2710 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2713 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2715 * docs/manual/basics-pads.xml:
2716 Expand a bit on caps and filtered links and update
2717 examples that were still using the no longer existing
2718 gst_pad_link_filtered() (#338206).
2720 2006-05-10 Wim Taymans <wim@fluendo.com>
2722 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2723 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2724 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2725 (gst_collect_pads_stop):
2726 * libs/gst/base/gstcollectpads.h:
2727 No need to call _stop in _finalize.
2728 Iterate the main pad list in _finalize.
2729 Added some more debug.
2730 Free lists and data in the right order.
2731 Also free data whem doing _remove_pad when stopped for
2732 backward compatibility protect ::started with PAD_LOCK as
2735 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2737 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2738 (gst_structure_parse_value):
2740 rename a method so that it actually says what it does better
2742 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2744 * gst/gstevent.c: (_gst_event_initialize):
2745 * gst/gstformat.c: (_gst_format_initialize):
2746 make sure some essential types used by events are registered
2747 as part of gst_init()
2748 * gst/gstvalue.c: (gst_value_serialize_flags):
2749 if no flags are set, serialize them to a value that represents NONE
2750 so that deserializing them works
2751 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2752 add tests for serialization and deserialization of flags
2754 2006-05-10 Wim Taymans <wim@fluendo.com>
2756 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2757 (gst_collect_pads_collect_range), (gst_collect_pads_available),
2758 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2759 (gst_collect_pads_event), (gst_collect_pads_chain):
2762 Catch and return errors from the collect function
2763 Refuse data on eos pads.
2765 2006-05-10 Edward Hervey <edward@fluendo.com>
2767 * gst/gstinterface.h:
2768 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2769 GInterface type checking.
2770 They were previously using non-defined macros.
2772 2006-05-09 Wim Taymans <wim@fluendo.com>
2774 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2775 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2776 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2777 (gst_collect_pads_start), (gst_collect_pads_stop),
2778 (gst_collect_pads_peek), (gst_collect_pads_pop),
2779 (gst_collect_pads_available), (gst_collect_pads_read),
2780 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2781 (gst_collect_pads_is_collected), (gst_collect_pads_event),
2782 (gst_collect_pads_chain):
2783 * libs/gst/base/gstcollectpads.h:
2784 Clean up the mess that is collectpads, add comments and
2785 FIXMEs where needed.
2786 Maintain a separate pad list so we can add pads while
2787 collecting the other ones. For this we need a new separate
2789 Fix memory leak in finalize.
2790 Refactor some weird code to set/unset pad flushing flags, mark
2792 Don't crash in _available, _read, _flush when we're EOS.
2794 * tests/check/libs/.cvsignore:
2795 Ignore adapter check binary.
2797 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2799 * gst/gstindex.c: (gst_index_resolver_get_type):
2800 * plugins/elements/gstfakesink.c:
2801 (gst_fake_sink_state_error_get_type):
2802 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2803 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2804 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2805 Const-ify GEnumValue arrays.
2807 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2809 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2810 Add test case for flags + gst_buffer_make_metadata_writable().
2812 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2814 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2815 gst_buffer_make_metadata_writable() should maintain the
2816 buffer flags (those that make sense at least) (see #340859).
2818 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2820 * tools/gst-inspect.c:
2821 * tools/gst-launch.c:
2822 * tools/gst-typefind.c:
2823 * tools/gst-xmlinspect.c:
2825 Fix up includes: need to include stdlib.h in tools.h for exit().
2827 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2829 * gst/gsttaglist.c: (_gst_tag_initialize):
2831 API: add GST_TAG_IMAGE tag (#340721).
2833 2006-05-08 Wim Taymans <wim@fluendo.com>
2836 Added some docs for the segment query.
2838 2006-05-08 Wim Taymans <wim@fluendo.com>
2840 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2841 (gst_base_src_loop), (gst_base_src_change_state):
2842 Always push non-flushing serialized events in the streaming
2845 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
2847 * gst/gsterror.c: (_gst_stream_errors_init):
2848 Add a missing error string.
2850 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
2852 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2853 Add applied_rate to the debug
2855 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2856 Copy applied_rate into the outgoing NEWSEGMENT event
2858 2006-05-08 Wim Taymans <wim@fluendo.com>
2860 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2862 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2863 (gst_base_sink_change_state):
2864 call ::unlock before taking the PREROLL_LOCK so we can safely
2865 handle elements that lock in ::render.
2868 2006-05-08 Edward Hervey <edward@fluendo.com>
2870 * autogen.sh: (CONFIGURE_DEF_OPT):
2871 Darwin's libtoolize is in fact called glibtoolize.
2872 Adding glibtoolize to the list of accepted names for libtoolize.
2874 2006-05-08 Wim Taymans <wim@fluendo.com>
2876 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2877 Unify error handling, don't post an error message
2878 when a push() returns EOS but perform our normal EOS
2879 handling code. Fixes #340772.
2881 2006-05-08 Wim Taymans <wim@fluendo.com>
2883 * docs/design/part-overview.txt:
2884 Make upsteam/downstream concepts more clear.
2885 Give an example of serialized/non-serialized events.
2887 * docs/design/part-events.txt:
2888 * docs/design/part-streams.txt:
2889 Mention applied_rate.
2891 * docs/design/part-trickmodes.txt:
2892 Mention applied rate, flesh out some more use cases.
2894 * gst/gstevent.c: (gst_event_new_new_segment),
2895 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
2896 (gst_event_parse_new_segment_full), (gst_event_new_tag),
2897 (gst_event_parse_tag), (gst_event_new_buffer_size),
2898 (gst_event_parse_buffer_size), (gst_event_new_qos),
2899 (gst_event_parse_qos), (gst_event_parse_seek),
2900 (gst_event_new_navigation):
2902 Add applied_rate field to NEWSEGMENT event.
2903 API: gst_event_new_new_segment_full()
2904 API: gst_event_parse_new_segment_full()
2906 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
2907 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
2908 (gst_segment_to_stream_time), (gst_segment_to_running_time):
2910 Add applied_rate to GstSegment structure.
2911 Make calculation of stream_time and running_time more correct
2912 wrt rate/applied_rate.
2914 API: GstSegment::applied_rate field
2915 API: gst_segment_set_newsegment_full();
2917 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2918 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
2919 * libs/gst/base/gstbasetransform.c:
2920 (gst_base_transform_sink_eventfunc),
2921 (gst_base_transform_handle_buffer):
2922 Parse and use applied_rate in the GstSegment field.
2924 * tests/check/gst/gstevent.c: (GST_START_TEST):
2925 Add check for applied_rate field.
2927 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2928 (gstsegments_suite):
2929 Add more checks for various GstSegment operations.
2931 2006-05-08 Wim Taymans <wim@fluendo.com>
2933 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2934 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2935 (gst_base_sink_get_position), (gst_base_sink_change_state):
2936 Store the sync time of the buffer end position separatly in a
2937 new variable eos_rtime so we can properly sync the EOS event.
2939 Fix the docs for gst_base_sink_set_qos_enabled().
2940 Don't set segment start to invalid value when we receive a
2941 non TIME newsegment.
2942 get closer to handling position reporting for negative rates
2945 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2948 Docs about how to print caps for debug purposes.
2950 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2951 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2953 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2956 use full enum names and preprend a '%' in docs strings to make recent
2957 gtk-doc turn that into a link
2959 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2961 * docs/manual/basics-bins.xml:
2962 * docs/manual/basics-bus.xml:
2963 * docs/manual/basics-pads.xml:
2964 Some typo fixes, some additions, some clarifications.
2966 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2968 * tools/gst-inspect.c: (main):
2969 * tools/gst-launch.c: (main):
2970 * tools/gst-run.c: (main):
2971 * tools/gst-typefind.c: (main):
2972 * tools/gst-xmlinspect.c: (main):
2973 Use the string passed to g_option_context_new() for
2974 what it's intended for - the program name is already
2977 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2979 * tools/Makefile.am:
2980 * tools/gst-inspect.c: (main):
2981 * tools/gst-launch.c: (main):
2982 * tools/gst-xmlinspect.c: (main):
2984 Add back --version command line option (#340460).
2986 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
2987 Add --version option and use GOption for argument parsing; refactor a
2988 bit; accept directories as arguments and recurse into them; lastly,
2989 print a decent error message when things go wrong.
2991 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2993 * docs/manual/basics-bins.xml:
2994 Don't mention GstThread (#340611)
2995 * docs/manual/basics-elements.xml:
2996 Update link to GObject tutorial (#340607)
2998 2006-05-05 Wim Taymans <wim@fluendo.com>
3001 * gst/gstminiobject.c:
3002 Add note about refcounting and miniobject/buffer writeability
3003 to docs. Fixes #340604
3005 * gst/gstelementfactory.h:
3006 Added some explanation about @klass.
3008 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3010 * docs/manual/intro-motivation.xml:
3011 * docs/manual/manual.xml:
3012 Avoid CORBA & Bonobo references (#340598)
3014 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3016 * docs/manual/basics-bus.xml:
3017 * docs/manual/basics-pads.xml:
3018 Fix up some inaccuracies and omissions (#340609)
3020 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3022 * gst/gstghostpad.c:
3023 Small typo in docs (#340625)
3025 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3027 * gst/parse/Makefile.am:
3028 Make 'make -j' proof (see #340698).
3030 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3033 Require GLib-2.8 here as well.
3035 2006-05-05 Wim Taymans <wim@fluendo.com>
3037 * gst/glib-compat.c:
3038 * gst/gst.c: (init_pre):
3039 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3040 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3041 (gst_object_dispatch_properties_changed):
3043 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3044 * gst/gststructure.c: (gst_structure_set_valist):
3045 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3046 Remove pre glib2.8 compatibility, fixes #340508
3048 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3051 Mention type of tags in doc blurbs.
3053 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3055 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3056 (gst_pad_configure_src), (gst_pad_push):
3057 Restore acceptcaps checking behaviour now that good plugins have
3060 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3062 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3073 * gst/parse/Makefile.am:
3074 * libs/gst/base/gstadapter.c:
3075 * libs/gst/base/gstbasesrc.c:
3076 * libs/gst/base/gstpushsrc.c:
3077 * libs/gst/base/gsttypefindhelper.c:
3078 * plugins/elements/gstfakesrc.c:
3079 * plugins/elements/gstidentity.c:
3080 Make sure gstprivate.h and/or config.h are
3081 always included first, otherwise some of our
3082 defines (like _FILE_OFFSET_BITS) might be
3083 redefined in the system headers. Fixes build
3084 on opensolaris (#340016).
3086 2006-05-04 Wim Taymans <wim@fluendo.com>
3088 * docs/libs/gstreamer-libs-sections.txt:
3089 API: addition: gst_adapter_take_buffer()
3091 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3092 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3093 (gst_adapter_available_fast):
3094 * libs/gst/base/gstadapter.h:
3095 Prepare for optimizing the hell out of this hugely inefficient
3097 Added gst_adapter_take_buffer() so we can at least start thinking
3098 about subbuffering and merging.
3099 Added some comments.
3101 * tests/check/Makefile.am:
3102 * tests/check/libs/adapter.c: (GST_START_TEST),
3103 (gst_adapter_suite), (main):
3104 Added GstAdapter check.
3106 2006-05-04 Wim Taymans <wim@fluendo.com>
3108 * docs/design/part-overview.txt:
3109 Fix some typos, add blurb about buffer flags.
3111 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3113 * docs/libs/gstreamer-libs-sections.txt:
3114 make sure GstBaseTransformClass shows up in the docs
3115 * libs/gst/base/gstbasetransform.c:
3116 * libs/gst/base/gstbasetransform.h:
3117 move docs so gtk-doc picks it up now
3119 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3121 * docs/libs/gstreamer-libs-sections.txt:
3122 add missing symbols to docs
3124 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3126 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3127 back out the newsegment handling change, see #340060 for ongoing
3130 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3132 * tools/gst-run.c: (get_candidates), (main):
3133 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3134 work); fix typo in error message. Fixes #340079.
3136 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3138 * common/Makefile.am:
3140 * docs/faq/Makefile.am:
3141 * docs/gst/Makefile.am:
3142 * docs/libs/Makefile.am:
3143 * docs/manual/Makefile.am:
3144 * docs/plugins/Makefile.am:
3145 * docs/pwg/Makefile.am:
3146 * docs/slides/Makefile.am:
3148 * common/upload.mak:
3149 move upload.mak to common
3151 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3153 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3154 add more asserts on refcounts
3155 do more cleanup at end of tests
3156 fix test leaks showing in FC5
3158 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3160 * plugins/elements/gsttypefindelement.c:
3161 (gst_type_find_element_handle_event):
3162 reverted wrong change and reflowed code to avoid others falling into
3165 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3167 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3168 fix changelog entry about last collectpads change,
3169 add notes about proper fix
3171 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3174 * gst/gstregistry.c: (gst_registry_scan_path_level),
3175 (gst_registry_scan_path):
3176 * gst/gstregistry.h:
3177 only write out registry if it has changed, fixes #338339
3179 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3182 * gst/gstpipeline.c:
3183 * plugins/elements/gstcapsfilter.c:
3184 * plugins/elements/gstfakesink.c:
3185 * plugins/elements/gstfakesrc.c:
3186 * plugins/elements/gstfdsink.c:
3187 * plugins/elements/gstfdsrc.c:
3188 * plugins/elements/gstfilesink.c:
3189 * plugins/elements/gstfilesrc.c:
3190 * plugins/elements/gstidentity.c:
3191 * plugins/elements/gstqueue.c:
3192 * plugins/elements/gsttee.c:
3193 * plugins/elements/gsttypefindelement.c:
3194 (gst_type_find_element_handle_event):
3195 make GstElementDetails const
3197 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3199 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3200 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3201 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3202 more detailed debug and formatting cleanup,
3203 forward newsegments to src-pad (so that e.g. adder not eats them)
3205 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3207 * gst/gstutils.c: (gst_element_link_pads):
3210 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3212 * libs/gst/controller/gstcontroller.c:
3213 (gst_controller_sync_values):
3215 * tests/check/libs/controller.c: (GST_START_TEST),
3216 (gst_controller_suite):
3217 a new test for live value handling
3219 2006-04-28 Wim Taymans <wim@fluendo.com>
3221 * gst/gstutils.c: (push_and_ref):
3222 Added some more docs.
3223 Fix refcount issue whith gst_element_found_tags() helper
3224 function. Fixes #338335
3226 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3227 Added testsuite for gst_element_found_tags().
3229 2006-04-28 Michael Smith <msmith@fluendo.com>
3231 * gst/gstvalue.c: (gst_value_serialize_flags):
3232 Avoid NULL dereference when trying to serialize flags containing
3235 2006-04-28 Michael Smith <msmith@fluendo.com>
3237 * plugins/elements/gsttypefindelement.c:
3238 (gst_type_find_element_handle_event):
3239 If we get EOS before any data is accumulated, don't use
3240 uninitialised local variables.
3242 2006-04-28 Michael Smith <msmith@fluendo.com>
3244 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3245 (gst_dp_event_from_packet):
3246 Fixes in reading/writing events over GDP (not currently used?) -
3247 dereferencing NULL events for unknown/invalid event types, memory
3248 leak, and change g_warning to GST_WARNING.
3250 2006-04-28 Wim Taymans <wim@fluendo.com>
3252 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3253 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3254 (gst_base_sink_get_position), (gst_base_sink_change_state):
3255 When frame dropping is enabled, we should not ignore frames
3257 Update some documentation.
3259 2006-04-28 Wim Taymans <wim@fluendo.com>
3261 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3262 (gst_base_src_send_event), (gst_base_src_change_state):
3263 Documentation updates.
3265 2006-04-28 Wim Taymans <wim@fluendo.com>
3267 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3268 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3269 handle EAGAIN, EINTR and short writes correctly. Also clean
3270 up some error cases, avoid a deadlock on bad file descriptors and
3271 use GST_DEBUG_OBJECT.
3274 2006-04-28 Wim Taymans <wim@fluendo.com>
3276 * gst/gstvalue.c: (gst_value_serialize_buffer),
3277 (gst_value_deserialize_buffer):
3278 Don't try to serialize a GValue with a NULL buffer.
3281 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3282 Added check for serialisation of NULL buffers.
3284 2006-04-28 Wim Taymans <wim@fluendo.com>
3286 * gst/gstminiobject.c: (gst_value_take_mini_object):
3287 Taking a NULL miniobject is valid, fix the case where
3288 we try to unref the NULL miniobject.
3290 2006-04-28 Wim Taymans <wim@fluendo.com>
3292 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3294 * gst/gstbin.c: (gst_bin_handle_message_func):
3296 Don't leak bin refcount when a state recalc is
3297 in progress and we delay another one #339808.
3299 2006-04-28 Wim Taymans <wim@fluendo.com>
3301 * docs/design/part-TODO.txt:
3302 Mention QoS as an ongoing work item.
3304 * docs/design/part-buffering.txt:
3305 New doc about buffering that needs to be fleshed out
3308 * docs/design/part-qos.txt:
3309 More QoS policy for decoders/demuxers/transforms
3311 * docs/design/part-trickmodes.txt:
3314 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3319 === release 0.10.5 ===
3321 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3324 releasing 0.10.5, "Fogo"
3326 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3328 patch by: Wim Taymans
3330 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3331 (gst_pad_configure_src), (gst_pad_push):
3332 * gst/gstpipeline.c: (gst_pipeline_init):
3333 Fix internal data flow errors. Fixes #338711.
3335 2006-04-12 Wim Taymans <wim@fluendo.com>
3337 * tests/check/gst/gstelement.c: (GST_START_TEST):
3338 Don't leak the factory.
3340 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3343 * win32/common/config.h:
3346 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3348 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3349 (gst_controller_unset_all):
3350 Free allocated GstTimedValues when freeing list nodes.
3351 Should fix leaks 'make check-valgrind' complains about.
3353 * win32/common/libgstcontroller.def:
3354 Add gst_controller_unset_all.
3356 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3358 * docs/libs/gstreamer-libs-sections.txt:
3359 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3360 (gst_controller_unset_all):
3361 * libs/gst/controller/gstcontroller.h:
3362 API: Added new method gst_controller_unset_all()
3363 fixed gst_controller_unset()
3364 * tests/check/libs/controller.c: (GST_START_TEST),
3365 (gst_controller_suite):
3366 Added two testcases for new and fixed method
3368 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3370 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3371 MSG_DONTWAIT is not defined on Cygwin, so work
3372 around that (fixes #317048).
3374 2006-04-11 Wim Taymans <wim@fluendo.com>
3376 * gst/gstelementfactory.c: (gst_element_register),
3377 (gst_element_factory_create), (gst_element_factory_make):
3380 Updated docs (Fixes #131079)
3382 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3385 * tests/check/gst/gstelement.c: (GST_START_TEST),
3386 (gst_element_suite):
3387 Added testcase for elementfactory class field.
3389 2006-04-10 Wim Taymans <wim@fluendo.com>
3392 Added some more docs.
3394 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3395 (gst_base_sink_reset_qos):
3396 Calculate more accurate rate values.
3398 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3400 * gst/gst_private.h:
3401 add a new #ifdef to use __declspec(dllimport) only for
3402 other modules and not for gstreamer core
3403 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3404 use gst_guint64_to_gdouble for conversion
3405 * win32/common/libgstreamer.def:
3406 add new exported functions
3407 * win32/vs6/gst_inspect.dsp:
3408 * win32/vs6/gst_launch.dsp:
3409 * win32/vs6/libgstbase.dsp:
3410 * win32/vs6/libgstcontroller.dsp:
3411 * win32/vs6/libgstcoreelements.dsp:
3412 * win32/vs6/libgstdataprotocol.dsp:
3413 * win32/vs6/libgstnet.dsp:
3414 update project files
3416 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3418 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3419 * gst/gstclock.c: (gst_clock_class_init):
3420 * gst/gstelement.c: (gst_element_class_init):
3421 * gst/gstindex.c: (gst_index_class_init):
3422 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3423 * gst/gstobject.c: (gst_object_class_init),
3424 (gst_signal_object_class_init):
3425 * gst/gstpad.c: (gst_pad_class_init):
3426 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3427 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3428 * gst/gstregistry.c: (gst_registry_class_init):
3429 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3430 * gst/gsttask.c: (gst_task_class_init):
3431 * gst/gstxml.c: (gst_xml_class_init):
3432 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3433 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3434 (gst_base_src_loop):
3435 * libs/gst/controller/gstcontroller.c:/
3436 (_gst_controller_class_init):
3437 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3438 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3439 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3440 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3441 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3442 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3444 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3446 * gst/gstpad.c: (gst_pad_link):
3447 Must set peer pads before calling the link function, otherwise
3448 a task started from a link function might get a flow-not-linked
3449 result when trying to push because the other thread where the
3450 linking happens hasn't had a chance to set the peers yet. This
3451 might happen for example when a queue gets linked to a downstream
3452 element, as queue starts a streaming task when its source pad
3453 gets linked. Happens in real life when playing back flac/musepack
3454 files in playbin (#332390).
3456 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3460 * libs/gst/base/gstadapter.h:
3461 * libs/gst/base/gstbasesink.h:
3462 * libs/gst/base/gstbasesrc.h:
3463 * libs/gst/base/gstbasetransform.h:
3464 * libs/gst/base/gstcollectpads.h:
3465 * libs/gst/base/gstpushsrc.h:
3466 Fix broken GObject macros
3468 2006-04-07 Wim Taymans <wim@fluendo.com>
3470 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3471 Initialize start and stop times, thanks valgrind.
3473 2006-04-07 Wim Taymans <wim@fluendo.com>
3475 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3476 Be a bit nicer to badly behaving upstream elements that expect
3477 us to deal with non TIME segments and timestamps (such as fakesrc
3480 2006-04-07 Wim Taymans <wim@fluendo.com>
3483 Small documentation clarification about the signal watch.
3485 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3486 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3487 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3488 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3489 (gst_base_sink_get_position_last),
3490 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3491 Convert and store timestamps in stream time and running time, the
3492 raw timestamps are not usefull, also document this better.
3493 Use different window sizes for good and bad QoS observations so
3494 we react to badness a little quicker.
3495 Keep track of the amount of rendered and dropped buffers.
3496 Send QoS timestamps in running time.
3498 * libs/gst/base/gstbasetransform.c:
3499 (gst_base_transform_sink_eventfunc),
3500 (gst_base_transform_handle_buffer):
3501 Compare QoS timestamps against running time.
3503 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3508 2006-04-06 Michael Smith <msmith@fluendo.com>
3510 * gst/gstpad.c: (gst_pad_set_property):
3511 Use g_value_get_object() instead of g_value_dup_gst_object(),
3512 to avoid double-reffing the pad template (which we then sink,
3513 so this worked previously if (and only if) the pad template
3516 * gst/gstpadtemplate.c: (gst_pad_template_init),
3517 (gst_pad_template_pad_created):
3518 Never return floating references to pad templates, create
3519 them as initially-sunken.
3521 Document an extra function (and make this stop sinking our
3522 pad template, since that is now guaranteed to do nothing,
3523 since we created it sunken).
3525 * gst/gstghostpad.c:
3528 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3530 * gst/gstinfo.c: (__gst_in_valgrind):
3533 * plugins/elements/gsttypefindelement.c:
3534 (gst_type_find_element_chain):
3535 Don't leak buffer caps.
3537 2006-04-06 Michael Smith <msmith@fluendo.com>
3539 * gst/parse/grammar.y:
3540 Fix a leak in parse-launch for any source-or-sink named element
3543 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3544 Unref the pipeline if it exists after we've failed parsing.
3546 2006-04-05 Michael Smith <msmith@fluendo.com>
3548 * gst/gstpipeline.c: (gst_pipeline_init):
3549 When we create a pipeline bus, initially create it in flushing mode.
3550 Fixes leaks in at least one test, and makes a new pipeline work the
3551 same as one that has gone to READY and then back to NULL.
3556 2006-04-05 Michael Smith <msmith@fluendo.com>
3558 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3559 Unref a pad we reffed.
3560 * tests/check/gst/gstutils.c: (GST_START_TEST):
3563 2006-04-05 Michael Smith <msmith@fluendo.com>
3565 * gst/gstquery.c: (gst_query_set_formats),
3566 (gst_query_set_formatsv):
3567 Fix leaking GValues in queries, as shown by valgrind/testsuite.
3569 2006-04-05 Michael Smith <msmith@fluendo.com>
3571 * tests/check/generic/sinks.c: (GST_START_TEST):
3572 Fix a variety of memleaks in sinks check, which are only sometimes
3573 shown by running the tests under valgrind (weird?).
3575 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
3577 * docs/version.entities.in:
3578 Fix the substituted entity name after thomas' changes on the
3581 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3583 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3586 2006-04-05 Andy Wingo <wingo@pobox.com>
3588 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3590 * libs/gst/base/gstbasetransform.c
3591 (gst_base_transform_sink_eventfunc): When resetting our segment on
3592 FLUSH_STOP, also update the flag saying we haven't seen a
3595 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3597 Patch by: Paolo Borelli <pborelli at katamail dot com>
3599 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3600 (gst_plugin_check_license):
3601 minor clean-ups: G_DEFINE_TYPE already takes care of the
3602 parent_class stuff, no need to do it twice. Mark array of
3603 license strings as constant. (#337103)
3605 2006-04-04 Michael Smith <msmith@fluendo.com>
3607 * tools/gst-inspect.c: (print_element_list):
3608 Free the right plugin list; fixes a memory leak.
3610 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3612 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3614 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3615 Don't error out on empty buffers (#336945).
3617 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
3619 * docs/libs/gstreamer-libs-sections.txt:
3621 * libs/gst/base/gstbasesink.c:
3622 * libs/gst/base/gstbasesink.h:
3623 * libs/gst/base/gstbasesrc.c:
3624 * libs/gst/base/gstbasesrc.h:
3625 Documentation updates. Make BaseSink and BaseSrc docs contain the
3626 class structure so that people can actually see the prototypes for
3627 virtual functions they're supposed to be overriding.
3629 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3631 * plugins/elements/gsttypefindelement.c:
3632 (gst_type_find_element_chain):
3633 More debug info; when skipping typefinding, send cached
3634 events in all cases.
3636 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
3639 use new AS_VERSION and AS_NANO macros
3640 * gst/gst-i18n-lib.h:
3643 * gst/gstversion.h.in:
3644 * win32/common/config.h:
3645 * win32/common/config.h.in:
3648 2006-03-31 Michael Smith <msmith@fluendo.com>
3650 * plugins/elements/gsttypefindelement.c:
3651 (gst_type_find_element_chain):
3652 Do not typefind content if the buffers already have caps.
3653 Neccesary for icydemux (#333657), and the right thing to do anyway.
3655 2006-03-30 Wim Taymans <wim@fluendo.com>
3657 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3658 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3659 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3660 (gst_base_sink_record_qos_observation),
3661 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3662 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3663 (gst_base_sink_change_state):
3664 More QoS measurements as described in the design doc.
3665 Get rid of ringbuffer with observations, running average is
3666 more simple and equally good.
3667 Calculates valid proportion now.
3668 Added beginning of flood measurement.
3670 2006-03-29 Wim Taymans <wim@fluendo.com>
3672 * docs/design/part-qos.txt:
3674 Small documentation updates and additions.
3676 2006-03-29 Wim Taymans <wim@fluendo.com>
3678 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3679 (gst_base_src_send_event), (gst_base_src_loop),
3680 (gst_base_src_change_state):
3681 Perform the EOS logic when we reach the segment stop position.
3682 Fix compilation on gcc4.1
3684 2006-03-29 Wim Taymans <wim@fluendo.com>
3686 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3688 * plugins/elements/gstqueue.c: (gst_queue_init),
3689 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3690 (gst_queue_set_property):
3691 * plugins/elements/gstqueue.h:
3692 In queue, when EOS is received, if minimum threshold > max_size -
3693 current_level, there is chance that queue blocks forever in conditional
3694 item del wait. This is because the queue is not emptied completely due
3695 to minimum threshold. Here is another approach. Instead of setting
3696 cur_levels to max in EOS, just zero all minimum threshold levels. This
3697 should make sure that queue gives out all data. When going to READY
3698 (stop) state, just reset the original minimum threshold levels.
3701 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
3703 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3704 (gst_type_find_element_handle_event),
3705 (gst_type_find_element_send_cached_events),
3706 (gst_type_find_element_change_state):
3707 * plugins/elements/gsttypefindelement.h:
3708 When typefinding is done in push mode, we should cache
3709 events we receive during typefinding instead of just
3710 dropping them (e.g. newsegment, custom events from
3711 dvdreadsrc etc.) and then send them out once we've
3712 determined the type of the stream (and decodebin
3713 has had a chance to plug in a decoder/demuxer).
3715 2006-03-27 Wim Taymans <wim@fluendo.com>
3717 * docs/design/part-qos.txt:
3720 2006-03-27 Wim Taymans <wim@fluendo.com>
3722 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3724 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3725 (gst_base_src_send_event), (gst_base_src_change_state):
3726 Handle element seek correctly when we are streaming.
3729 2006-03-24 Michael Smith <msmith@fluendo.com>
3731 * docs/faq/gst-uninstalled:
3732 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3733 allow you to correctly run intalled applications built against old
3734 core, using plugins that require updated core (e.g. running
3735 installed totem against a full uninstalled gstreamer stack)
3737 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3739 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3742 2006-03-24 Wim Taymans <wim@fluendo.com>
3744 * docs/gst/gstreamer-sections.txt:
3745 Rearrange the order of the methods so that related methods
3746 are grouped together in sections.
3748 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3751 Little clarification in the docs
3753 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3757 * plugins/elements/gstidentity.c:
3758 * plugins/elements/gstqueue.c:
3759 * plugins/elements/gsttee.c:
3760 * plugins/elements/gsttypefindelement.c:
3761 GST_ELEMENT_DETAILS formatting
3763 2006-03-24 Wim Taymans <wim@fluendo.com>
3765 * libs/gst/base/gstbasesink.h:
3766 Only add fields, not insert or we break ABI.
3768 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3770 * win32/common/libgstbase.def:
3771 * win32/common/libgstreamer.def:
3772 Update, add recently added functions.
3774 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3776 * docs/gst/gstreamer-sections.txt:
3777 * gst/gstutils.c: (gst_pad_query_peer_position),
3778 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3780 API: add some new utility functions:
3781 - gst_pad_query_peer_position()
3782 - gst_pad_query_peer_duration()
3783 - gst_pad_query_peer_convert()
3785 2006-03-23 Wim Taymans <wim@fluendo.com>
3787 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3788 (gst_base_sink_init), (gst_base_sink_finalize),
3789 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3790 (gst_base_sink_set_property), (gst_base_sink_get_property),
3791 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3792 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3793 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3794 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3795 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3796 (gst_base_sink_preroll_object), (gst_base_sink_event),
3797 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3798 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3799 (gst_base_sink_query), (gst_base_sink_change_state):
3800 Decouple max-lateness and the fact that QoS messages are generated
3801 with a new property (qos).
3802 added API: GstBaseSink::async_play()
3803 Add vmethod so subclasses can be notified of ASYNC playing
3805 Collect timestamp start and stop to report better current
3806 position in EOS/PLAYING/PAUSED/READY/NULL.
3807 Refactor QoS/frame dropping and other measurements.
3808 API: GstBaseSrc::qos
3811 * libs/gst/base/gstbasesink.h:
3812 Added Private struct.
3813 API: gst_base_sink_set_qos_enabled()
3814 API: gst_base_sink_is_qos_enabled()
3816 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3818 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3819 If compiling against GLib-2.8 or newer, try to read the
3820 registry file using GMappedFile first before falling back
3821 to fopen() + fread() (#332151).
3823 2006-03-22 Wim Taymans <wim@fluendo.com>
3825 * gst/gstinfo.c: (gst_debug_set_active),
3826 (gst_debug_category_set_threshold):
3827 Disable debugging unless explicitly activated.
3830 2006-03-22 Wim Taymans <wim@fluendo.com>
3832 * gst/gstelement.c: (gst_element_set_locked_state),
3833 (gst_element_dispose):
3834 Cleanup the error case.
3836 * gst/gstobject.c: (gst_object_dispose):
3837 print a critical when some object was disposed with
3838 a parent, also revive the object since it might
3841 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
3843 * tools/gst-launch.1.in:
3846 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3849 * tests/check/Makefile.am:
3850 disable some tests when we don't have a registry
3851 * tests/check/gst/gstutils.c: (gst_utils_suite):
3852 don't build the part that needs parsing
3854 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3857 * tests/examples/Makefile.am:
3858 fix --disable-parse build
3860 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3862 * tools/gst-feedback.1.in:
3863 Fix typo: s/feeback/feedback/ (#133494).
3865 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3867 * tools/Makefile.am:
3868 * tools/gst-launch.1.in:
3869 Add FILES section and correct entry about GST_REGISTRY_PATH
3870 environment variable (#133495; #133494).
3872 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3874 * tools/Makefile.am:
3875 * tools/gst-md5sum.1.in:
3876 * tools/gst-md5sum.c:
3877 Remove gst-md5sum and man page (the md5sink element
3878 required was removed ages ago)
3880 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3882 * gst/gststructure.c: (gst_structure_id_set_value):
3883 Make sure that string fields in structures/taglists
3884 contain valid UTF-8 - we don't want to pass rubbish to
3885 applications because of a buggy plugin (cp. #334167).
3887 2006-03-21 Edward Hervey <edward@fluendo.com>
3889 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3890 (gst_bin_handle_message_func):
3891 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
3892 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
3893 (gst_element_set_bus_func):
3894 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
3895 * gst/gstminiobject.c: (gst_value_set_mini_object),
3896 (gst_value_take_mini_object):
3897 * gst/gstpad.c: (gst_pad_set_pad_template):
3898 * gst/gstpipeline.c: (gst_pipeline_dispose),
3899 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3900 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
3901 (gst_collect_pads_chain):
3902 * libs/gst/net/gstnettimeprovider.c:
3903 (gst_net_time_provider_set_property):
3904 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
3905 It's in fact all issues with gst_*object_replace().
3907 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3909 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
3911 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3912 * pkgconfig/gstreamer-check.pc.in:
3913 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
3915 2006-03-21 Edward Hervey <edward@fluendo.com>
3920 gst_[buffer|event|message]_ref() macros are replaced by a static
3921 inline functions because gcc-4.1 will about if the return value
3923 * tests/check/gst/gstevent.c: (event_probe):
3924 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
3926 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
3929 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
3930 the type' case. (Closes: #335195 for now). In the future, when we
3931 depend on GLib 2.10, we could also intern the type name using
3932 g_intern_static_string()
3934 2006-03-20 Wim Taymans <wim@fluendo.com>
3936 * gst/gstbin.c: (gst_bin_handle_message_func),
3937 (bin_query_max_init), (bin_query_position_fold),
3938 (bin_query_position_done), (gst_bin_query):
3939 Position query should also take max of all streams.
3941 2006-03-20 Wim Taymans <wim@fluendo.com>
3943 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3944 (gst_fake_src_finalize):
3945 Fix leaks in fakesrc.
3947 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3948 Fix leaks in the testcase.
3950 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
3952 * gst/gst_private.h:
3953 add win32 specific import decoration(__declspec(dllimport))
3954 for all extern GstDebugCategory * variables
3955 * win32/common/libgstbase.def:
3956 * win32/common/libgstcontroller.def:
3957 * win32/common/libgstreamer.def:
3958 Add some exports, remove empty lines
3959 * win32/common/libgstdataprotocol.def:
3960 * win32/common/libgstdataprotocol.dsp:
3961 * win32/common/libgstnet.def:
3962 * win32/common/libgstnet.dsp:
3963 new project files and exportation files added
3965 2006-03-19 Wim Taymans <wim@fluendo.com>
3967 * tests/check/libs/basesrc.c: (eos_event_counter):
3968 Use proper return value for probe.
3970 2006-03-17 Wim Taymans <wim@fluendo.com>
3972 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3974 Don't leak buffers, caps and pads on negotiation errors.
3976 2006-03-16 Stefan Kost <ensonic@users.sf.net>
3979 * docs/faq/dependencies.xml:
3980 * docs/faq/developing.xml:
3982 * docs/faq/general.xml:
3983 * docs/faq/getting.xml:
3984 * docs/faq/legal.xml:
3985 * docs/faq/troubleshooting.xml:
3986 * docs/faq/using.xml:
3987 Faq review and update.
3989 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
3991 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3993 Don't pound the cpu to pieces by checking get_caps when accept_caps
3994 is called with the same caps as the pad already has.
3995 Use GST_DEBUG_OBJECT when outputting caps change information.
3997 2006-03-15 Wim Taymans <wim@fluendo.com>
3999 * gst/gstclock.c: (gst_clock_class_init):
4002 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4007 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4008 (gst_pad_accept_caps), (gst_pad_configure_sink),
4009 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4010 Make the default acceptcaps behaviour be to check the requested
4011 caps against the gst_pad_get_caps output.
4013 Ensure that gst_pad_accept_caps is used to check caps when a pad
4014 doesn't have a setcaps function, so that pads automatically refuse
4015 caps that they don't allow in their pad template. (Fixes #332986)
4017 When a buffer with attached caps is pushed, ensure that the source
4018 pad receives those caps even if the element didn't call
4019 gst_pad_set_caps first.
4021 2006-03-15 Wim Taymans <wim@fluendo.com>
4023 * libs/gst/base/gstadapter.c:
4026 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4028 * win32/common/libgstbase.def:
4029 * win32/common/libgstcontroller.def:
4030 * win32/common/libgstreamer.def:
4031 Add a whole bunch of missing functions (#334434).
4033 2006-03-14 Wim Taymans <wim@fluendo.com>
4035 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4036 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4037 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4038 Better debug info when we receive a segment event.
4039 Reorganize a bit so we can pass the get_times() results around.
4040 Use the segment format when calculating the running time.
4041 Don't do QoS is sync is disabled or we have no clock or the
4042 element does not want us to sync to the clock.
4043 Don't drop buffers if QoS is disabled for now.
4045 2006-03-14 Wim Taymans <wim@fluendo.com>
4047 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4048 Marked the stats property as unimplemented so people don't get
4050 Add debug message when regression goes wrong.
4051 Added some more docs.
4053 2006-03-14 Wim Taymans <wim@fluendo.com>
4055 * gst/gstsegment.c: (gst_segment_to_stream_time):
4056 Return correct return type in case of errors.
4058 2006-03-14 Wim Taymans <wim@fluendo.com>
4060 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4061 Don't segfault on invalid formats.
4063 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4065 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4066 Can't use gst_segment_to_running_time() when the segment
4067 is not in GST_TIME_FORMAT (like with filesink, for example).
4068 Stops flac encoding pipelines from spewing critical warnings
4071 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4073 * gst/gstpipeline.c: (gst_pipeline_class_init):
4074 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4076 * plugins/elements/gsttypefindelement.c:
4077 (gst_type_find_element_handle_event):
4078 Don't try to typefind empty streams.
4080 2006-03-14 Wim Taymans <wim@fluendo.com>
4082 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4083 (gst_base_sink_do_qos):
4084 Separate QoS calculation.
4085 Only drop buffers when lateness is bigger than the
4086 duration of the buffer.
4088 2006-03-13 Wim Taymans <wim@fluendo.com>
4090 * gst/gstpipeline.c: (gst_pipeline_set_property),
4091 (gst_pipeline_get_property), (do_pipeline_seek),
4092 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4093 (gst_pipeline_get_delay):
4094 Don't deadlock when reading properties.
4096 2006-03-13 Wim Taymans <wim@fluendo.com>
4098 * libs/gst/base/gstbasetransform.c:
4099 (gst_base_transform_class_init), (gst_base_transform_init),
4100 (gst_base_transform_sink_event),
4101 (gst_base_transform_sink_eventfunc),
4102 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4103 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4104 (gst_base_transform_set_property),
4105 (gst_base_transform_get_property),
4106 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4107 (gst_base_transform_set_qos_enabled),
4108 (gst_base_transform_is_qos_enabled):
4109 * libs/gst/base/gstbasetransform.h:
4110 Make basetransform virtual method for src events too.
4111 Handle QOS in basetransform.
4112 API: gst_base_transform_update_qos()
4113 API: gst_base_transform_set_qos_enabled()
4114 API: gst_base_transform_is_qos_enabled()
4116 2006-03-13 Wim Taymans <wim@fluendo.com>
4118 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4119 (gst_base_sink_do_sync):
4121 Use QOS debug category.
4123 2006-03-13 Wim Taymans <wim@fluendo.com>
4125 * plugins/elements/gstqueue.c:
4126 Very small doc update.
4128 2006-03-13 Wim Taymans <wim@fluendo.com>
4130 * gst/gst_private.h:
4131 * gst/gstinfo.c: (_gst_debug_init):
4132 Added QOS debug category
4134 2006-03-13 Wim Taymans <wim@fluendo.com>
4136 * docs/gst/gstreamer-sections.txt:
4137 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4139 * gst/gstbus.c: (gst_bus_class_init):
4142 * gst/gstelement.c: (gst_element_set_locked_state):
4144 Documentation updates.
4146 * gst/gstpipeline.c: (gst_pipeline_get_type),
4147 (gst_pipeline_class_init), (gst_pipeline_init),
4148 (gst_pipeline_dispose), (gst_pipeline_set_property),
4149 (gst_pipeline_get_property), (do_pipeline_seek),
4150 (gst_pipeline_send_event), (gst_pipeline_change_state),
4151 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4152 (gst_pipeline_get_delay):
4153 * gst/gstpipeline.h:
4154 Added methods for setting the delay.
4155 API: gst_pipeline_set_delay()
4156 API: gst_pipeline_get_delay()
4157 Add pipeline debug category
4160 Don't reset stream time when seek failed.
4162 2006-03-13 Wim Taymans <wim@fluendo.com>
4164 * docs/design/draft-klass.txt:
4165 * docs/design/part-clocks.txt:
4166 * docs/design/part-events.txt:
4167 * docs/design/part-gstbin.txt:
4168 * docs/design/part-gstpipeline.txt:
4169 * docs/design/part-messages.txt:
4170 * docs/design/part-negotiation.txt:
4171 * docs/design/part-overview.txt:
4172 * docs/design/part-preroll.txt:
4173 * docs/design/part-seeking.txt:
4174 * docs/design/part-states.txt:
4175 * docs/design/part-streams.txt:
4176 Documentation updates.
4178 2006-03-12 Julien MOUTTE <julien@moutte.net>
4180 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4181 us to leak strings...
4183 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4185 * libs/gst/net/gstnettimeprovider.c:
4187 * win32/common/config.h:
4190 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4192 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4195 Don't check for libgnomeui (leftover from old examples
4196 that aren't built or disted any longer) (#334303).
4198 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4200 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4201 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4202 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4203 there's no space left on the device.
4205 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4208 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4209 to cast the input to GstClockTime before comparing with
4210 another GstClockTime value.
4212 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4217 === release 0.10.4 ===
4219 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4222 releasing 0.10.4, "Light"
4224 2006-03-10 Michael Smith <msmith@fluendo.com>
4226 * libs/gst/dataprotocol/dataprotocol.c:
4227 Fix docs for dataprocotol to not get the return types completely
4228 wrong for a few functions.
4230 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4232 * docs/gst/gstreamer-sections.txt:
4233 * gst/gstpipeline.c: (gst_pipeline_class_init),
4234 (gst_pipeline_init), (gst_pipeline_set_property),
4235 (gst_pipeline_get_property), (gst_pipeline_change_state),
4236 (gst_pipeline_set_auto_flush_bus),
4237 (gst_pipeline_get_auto_flush_bus):
4238 * gst/gstpipeline.h:
4239 Add new API: gst_pipeline_set_auto_flush_bus() and
4240 gst_pipeline_get_auto_flush_bus() to disable automatic
4241 flushing of the pipeline's GstBus when going from READY
4242 to NULL state (#332045).
4244 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4246 * docs/gst/gstreamer-sections.txt:
4247 * gst/gsturi.c: (gst_uri_has_protocol):
4249 Add new API: gst_uri_has_protocol() (#333779).
4251 2006-03-09 Wim Taymans <wim@fluendo.com>
4253 * gst/gstclock.c: (gst_clock_entry_new),
4254 (gst_clock_id_compare_func), (gst_clock_id_wait),
4255 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4256 (gst_clock_init), (gst_clock_get_internal_time),
4257 (gst_clock_set_master), (do_linear_regression),
4258 (gst_clock_add_observation), (gst_clock_set_property):
4262 Fix a possible segfault when the window-size is made smaller.
4263 Calculate jitter before performing the clock wait. Ideally
4264 the clock implementation should calculate jitter but we need
4265 API breakage for that.
4267 * gst/gstsystemclock.c: (gst_system_clock_init):
4270 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4271 Remove leftover else
4273 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4274 (gst_systemclock_suite):
4275 Added check to test GST_CLOCK_DIFF.
4277 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4279 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4280 (gst_type_find_helper_get_range):
4281 If we are provided with the size, we should implement
4282 GstTypeFind::get_length, so that typefind functions who
4283 want to can actually peek at the middle of a file.
4285 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4287 * docs/manual/advanced-dataaccess.xml:
4288 Add some very very basic error checking.
4290 * docs/pwg/appendix-checklist.xml:
4291 Some updates to the list of things to check when writing an element.
4293 2006-03-08 Wim Taymans <wim@fluendo.com>
4295 * docs/design/part-element-transform.txt:
4296 Added some docs about the design of tranform elements.
4298 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4299 (gst_base_src_loop), (gst_base_src_change_state):
4300 Mark buffers with the DISCONT flag.
4302 2006-03-08 Michael Smith <msmith@fluendo.com>
4304 * gst/gstregistry.h:
4305 * gst/gstregistryxml.c: (gst_registry_save),
4306 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4307 (gst_registry_xml_save_pad_template),
4308 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4309 (gst_registry_xml_write_cache):
4310 Rewrite registry-saving to avoid race conditions and check for
4313 2006-03-08 Wim Taymans <wim@fluendo.com>
4315 * libs/gst/base/gstbasetransform.c:
4316 (gst_base_transform_transform_caps),
4317 (gst_base_transform_transform_size),
4318 (gst_base_transform_prepare_output_buffer),
4319 (gst_base_transform_get_unit_size),
4320 (gst_base_transform_buffer_alloc),
4321 (gst_base_transform_handle_buffer),
4322 (gst_base_transform_change_state):
4323 Cleanups, separate normal flow from errors, add sensible
4325 Don't try to renegotiate when allocating an output buffer.
4326 Also copy DISCONT buffer flag when copying a buffer.
4327 Reset the transform after we finish streaming, not during.
4329 2006-03-08 Wim Taymans <wim@fluendo.com>
4331 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4332 Use last buffer timestamp in qos message.
4334 2006-03-07 Wim Taymans <wim@fluendo.com>
4336 Patch by: Christophe Fergeau
4338 * docs/pwg/advanced-tagging.xml:
4339 * docs/pwg/building-pads.xml:
4342 2006-03-07 Wim Taymans <wim@fluendo.com>
4344 * docs/libs/gstreamer-libs-sections.txt:
4345 Added basesink new methods.
4349 Docs updates. Flesh out the QoS docs.
4351 * libs/gst/base/gstadapter.c:
4352 Small doc clarification about ownership and flushing.
4354 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4355 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4356 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4357 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4358 * libs/gst/base/gstbasesink.h:
4360 Added new methods to allow subclass to control max-lateness
4362 Generate very basic QoS events based on last sync observation.
4363 Updated docs, fix typo, added some QoS blurb.
4365 * libs/gst/base/gstbasesrc.c:
4366 Remove obsolete _get_state() calls from docs.
4368 2006-03-07 Wim Taymans <wim@fluendo.com>
4370 * docs/libs/gstreamer-libs-sections.txt:
4371 * libs/gst/base/gstbasetransform.h:
4372 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4373 Fix docs for GstBaseSrc.
4375 2006-03-07 Wim Taymans <wim@fluendo.com>
4377 * docs/gst/gstreamer-sections.txt:
4380 * libs/gst/base/gstbasetransform.h:
4381 Small documentation fixes.
4383 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4386 Document thread-unsafety of gst_value_register_foo_func()
4387 when used at the same time as gst_value_foo() (#322628).
4389 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4391 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4392 (gst_push_src_check_get_range):
4393 Push sources don't support pull mode by default.
4395 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4397 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4398 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4399 (gst_base_src_default_check_get_range):
4400 * libs/gst/base/gstbasesrc.h:
4401 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4402 provide default implementation, and rename
4403 gst_base_src_check_get_range() to
4404 gst_base_src_pad_check_get_range() for clarity.
4406 2006-03-06 Wim Taymans <wim@fluendo.com>
4408 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4409 Make property overridable.
4411 2006-03-06 Wim Taymans <wim@fluendo.com>
4413 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4414 (gst_base_sink_init), (gst_base_sink_set_property),
4415 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4416 * libs/gst/base/gstbasesink.h:
4417 API addition: Make max-lateness a property.
4419 2006-03-06 Wim Taymans <wim@fluendo.com>
4421 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4422 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4423 Don't ever draw a frame that is >10ms late.
4425 2006-03-06 Michael Smith <msmith@fluendo.com>
4427 * gst/gstmessage.c: (_gst_message_copy):
4428 When copying a message, set the parent_refcount of the enclosed
4429 structure to point at the copy, not the original message.
4431 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4433 Patch by: Christophe Fergeau
4436 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4437 usable in c++ code (#333417)
4439 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4442 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4444 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4446 * libs/gst/base/gstbasetransform.c:
4447 (gst_base_transform_transform_caps):
4448 Make sure caps are writable before passing them to
4451 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4454 Fix some minor docs errors.
4456 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4458 Patch by: Ross Burton <ross at burtonini dot com>
4460 * gst/gsterror.c: (_gst_resource_errors_init):
4462 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4464 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4467 Add a check and output a g_warning when GStreamer is built
4468 against GLib 2.6 but running against 2.8 or higher, and vice
4469 versa. (Closes: #323542)
4471 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4473 * gst/parse/parse.l:
4474 Commit patch for parse_launch syntax from #331255. Removes
4475 support for quoted strings and mimetypes when writing filtered
4476 caps. See the bug report for more details - I'm pretty sure this
4477 obscure feature is not in use by _anyone_ anywhere.
4479 With this simple change, the size of the gstreamer.so here
4480 drops from 2193KB to 1565KB.
4482 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4484 * plugins/elements/gsttypefindelement.h:
4485 * plugins/elements/gsttypefindelement.c:
4486 (gst_type_find_element_src_event), (start_typefinding),
4487 (stop_typefinding), (gst_type_find_element_handle_event),
4488 (gst_type_find_element_chain),
4489 (gst_type_find_element_chain_do_typefinding):
4490 Use gst_type_find_helper_for_buffer() for chain-based
4493 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4495 * plugins/elements/gsttypefindelement.c:
4496 (gst_type_find_element_class_init),
4497 (gst_type_find_element_set_property),
4498 (gst_type_find_element_get_property):
4499 Deprecate "maximum" property (not only was it only taken into
4500 account for typefinding in push-mode anyway, it also was never
4501 actually possible to set it in the first place because the
4502 property was registered with the numeric property ID for the
4503 "minimum" property). Register "maximum" property correctly,
4504 for the sake of future copy'n'pasters. Remove some cruft
4505 from property get/set functions.
4507 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4509 * plugins/elements/gsttypefindelement.c:
4510 (gst_type_find_element_activate):
4511 Use gst_type_find_helper_get_range() here, so we
4512 can honour the "minimum" property and also emit
4513 the signal with the correct probability of the found caps.
4515 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4517 * docs/libs/gstreamer-libs-sections.txt:
4518 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4519 (helper_find_suggest), (gst_type_find_helper_get_range),
4520 (gst_type_find_helper):
4521 * libs/gst/base/gsttypefindhelper.h:
4522 New API: gst_type_find_helper_get_range() (#333042).
4524 2006-03-02 Michael Smith <msmith@fluendo.com>
4526 * gst/gstregistryxml.c: (load_feature):
4527 Asserting on a failure to read part of the registry is Not Cool.
4528 Just log a warning and return NULL (which is already handled)
4530 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4532 * win32/common/libgstbase.def:
4533 added export of gst_type_find_helper_for_buffer
4534 * win32/common/libgstbase.def:
4535 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4536 gst_ghost_pad_get_target
4538 2006-02-28 Wim Taymans <wim@fluendo.com>
4540 * docs/design/draft-klass.txt:
4542 Added Connector to mark elements that are only used to
4543 allow pipeline connections.
4544 Moved Debug to extra feature since most of them are
4545 functionally something else.
4547 2006-02-28 Wim Taymans <wim@fluendo.com>
4549 * docs/design/draft-klass.txt:
4550 Some updates and clarifications.
4552 2006-02-28 Wim Taymans <wim@fluendo.com>
4554 * docs/design/draft-klass.txt:
4555 Proposal for klass field values.
4557 * docs/design/part-streams.txt:
4558 Start of a doc describing stream anatomy.
4560 2006-02-28 Wim Taymans <wim@fluendo.com>
4562 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4563 Help the compiler a bit with type registration.
4564 Use existing forward cod path instead of duplicating it when
4567 * gst/gstbus.c: (gst_bus_get_type):
4568 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4569 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4570 * gst/gstclock.c: (gst_clock_get_type):
4571 * gst/gstelement.c: (gst_element_get_type),
4572 * gst/gstelementfactory.c: (gst_element_factory_get_type):
4573 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4574 * gst/gstminiobject.c: (gst_mini_object_get_type):
4575 * gst/gstpad.c: (gst_pad_get_type):
4576 * gst/gstsegment.c: (gst_segment_get_type):
4577 * gst/gststructure.c: (gst_structure_get_type):
4578 * gst/gstsystemclock.c: (gst_system_clock_get_type):
4579 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4581 Help compiler with type registration.
4583 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4586 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4588 * plugins/elements/gsttypefindelement.c:
4589 (gst_type_find_element_handle_event):
4590 When we get an EOS event and have not found a type yet
4591 (most likely because we had not yet accumulated
4592 TYPE_FIND_MIN_SIZE of data yet), try to determine the
4593 type given the data we have so far. Fixes typefinding
4594 for very short streams again, most notably quicktime
4595 redirections as used on Apple's trailer site (#331701).
4597 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4599 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4600 (gst_type_find_helper):
4601 Try typefinding factories with the highest rank first.
4603 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4605 * docs/libs/gstreamer-libs-docs.sgml:
4606 * docs/libs/gstreamer-libs-sections.txt:
4607 * libs/gst/base/gsttypefindhelper.c:
4608 Add section for typefind helper and add documentation
4609 for the old and the new function.
4611 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4613 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4614 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4615 (gst_type_find_helper_for_buffer):
4616 * libs/gst/base/gsttypefindhelper.h:
4617 New API: gst_type_find_helper_for_buffer() (#332723).
4619 2006-02-27 Michael Smith <msmith@fluendo.com>
4621 Patch by: Loïc Minier
4625 * docs/slides/Makefile.am:
4626 prevent CVS directories getting disted.
4628 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4630 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4631 Use the REFCOUNTING category for caps refcounting.
4633 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4635 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4636 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4638 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4640 * plugins/elements/gsttypefindelement.c:
4641 (gst_type_find_element_activate):
4642 Use gst_pad_check_pull_range() before _activate_pull()
4643 to avoid unnecessary open/close (see #331690).
4645 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4648 Docs enhancement: make it crystal clear what the
4649 gst_pad_add_*_probe() callbacks should look like.
4651 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4653 * libs/gst/base/gstbasesrc.c:
4654 Document how applications can stop recording from
4655 live sources (see #330996).
4657 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4659 * tests/check/Makefile.am:
4660 * tests/check/libs/basesrc.c: (eos_event_counter),
4661 (basesrc_eos_events_pull), (basesrc_eos_events_push),
4662 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4663 (gst_basesrc_suite), (main):
4664 ... and add some tests for the base source EOS stuff.
4666 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4668 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4669 Test case originally showed the problem fixed below,
4670 but was then amended. Add checks back at the place
4671 where they used to be.
4673 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4675 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4676 (gst_base_src_init), (gst_base_src_loop),
4677 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4678 (gst_base_src_change_state):
4679 * libs/gst/base/gstbasesrc.h:
4680 Don't unconditionally send EOS when going from PAUSED to
4681 READY state, esp. make sure we don't send two EOS events
4682 in some cases (e.g. one when reaching EOS and one when
4683 going from PAUSED to READY). Also, we don't want to send
4684 EOS events when operating in pull mode. However, we do
4685 want to send an EOS event when shutting down a live
4686 source explicitly, for example (fixes #330996).
4688 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4690 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4691 Update src->read_position after a seek when not using mmap.
4692 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4694 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
4700 Make things work with --disable-parse as they do with
4701 --disable-load-save - the symbols involved disappear, but the
4702 header is still installed and GST_DISABLE_PARSE is included via
4705 2006-02-20 Julien MOUTTE <julien@moutte.net>
4707 * libs/gst/base/gstbasetransform.c:
4708 (gst_base_transform_change_state): Fix a stupid bug. I was
4709 sure I compiled that.
4711 2006-02-20 Julien MOUTTE <julien@moutte.net>
4713 * gst/gstpad.c: (gst_pad_set_blocked_async):
4714 * gst/gstutils.c: (gst_pad_add_data_probe),
4715 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4716 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4717 (gst_pad_remove_buffer_probe): Make those function act on the
4718 ghostpad target when it's a ghostpad. (Closes #331727)
4720 2006-02-20 Julien MOUTTE <julien@moutte.net>
4722 * libs/gst/base/gstbasetransform.c:
4723 (gst_base_transform_change_state): Make basetransform reusable.
4726 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
4728 * docs/random/release:
4729 Move the current documentation of how to do a release to the top
4732 * gst/gstbin.c: (gst_bin_class_init),
4733 (gst_bin_handle_message_func):
4734 Allow multiple state-recalculation threads. (Closes #328873)
4736 2006-02-19 Julien MOUTTE <julien@moutte.net>
4738 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4739 * gst/gstpad.c: (gst_pad_set_event_function),
4740 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4741 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4742 2 strings. You can't use the STR_NULL macro on that.
4744 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
4746 * gst/gstpad.c: (gst_pad_set_event_function),
4747 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4748 (gst_pad_set_getcaps_function)
4749 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4750 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4751 So now, we can use --gst-debug-level=5 on Windows
4752 * win32/common/libgstcontroller.def:
4753 Added export of gst_controller_init
4754 * win32/vs6/libgstcontroller.dsp:
4755 Fixed Release post build configuration
4757 2006-02-17 Wim Taymans <wim@fluendo.com>
4759 * tests/check/gst/gstquery.c: (GST_START_TEST):
4760 Added another check.
4762 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
4764 * plugins/elements/gsttypefindelement.c: (find_peek):
4765 We can do peeks at non-zero offsets, as long as they
4766 fall within the buffer we have.
4768 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
4770 * tests/check/Makefile.am:
4771 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4772 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4773 (parse_suite), (main):
4774 Add testsuite for parse launch syntax
4776 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
4778 * plugins/elements/gsttypefindelement.c:
4779 (gst_type_find_element_chain):
4780 When typefinding is unsuccessful in the chain function, don't
4781 error out immediately. Only error out with NO_CAPS_FOUND if
4782 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4783 otherwise simply wait for more data so we can try typefinding
4784 again with more data later. Also, don't attempt to typefind
4785 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4786 this should improve typefinding from network sources where the
4787 size of the first buffer can be somewhat random.
4789 2006-02-14 Wim Taymans <wim@fluendo.com>
4791 * docs/gst/gstreamer-sections.txt:
4792 * gst/gstpadtemplate.c:
4793 * gst/gstpadtemplate.h:
4794 Fix padtemplate docs, fixes #328805.
4796 2006-02-14 Wim Taymans <wim@fluendo.com>
4798 * tools/gst-launch.c: (main):
4799 NO_PREROLL is not an ERROR so don't send confusing messages
4802 2006-02-14 Wim Taymans <wim@fluendo.com>
4804 Patch by: Torsten Schoenfeld
4806 * gst/gstregistry.c: (gst_registry_get_default),
4807 (_gst_registry_cleanup):
4808 Protect default registry with lock and ref/sink it.
4811 2006-02-14 Wim Taymans <wim@fluendo.com>
4814 * gst/gstquery.c: (gst_query_list_add_format),
4815 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4816 (gst_query_parse_formats_nth):
4817 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4820 2006-02-14 Wim Taymans <wim@fluendo.com>
4822 * docs/gst/gstreamer-sections.txt:
4823 Reworked query docs.
4825 * gst/gstquery.c: (gst_query_new_formats),
4826 (gst_query_list_add_format), (gst_query_set_formats),
4827 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4828 (gst_query_parse_formats_nth):
4830 Flesh out formats query, added some new methods.
4831 Fix part of #324398.
4833 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4834 Added query creation tests.
4836 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
4838 * gst/gstpad.c: (fixate_value):
4839 Add a default fixation for fraction lists.
4841 2006-02-13 Wim Taymans <wim@fluendo.com>
4843 * gst/gsttask.c: (gst_task_init), (gst_task_func),
4844 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4847 Detect and warn for obvious deadlocks. fixes #320340
4848 Fix error case where lock was not released.
4850 * tests/check/Makefile.am:
4851 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4852 (task_func), (gst_element_suite), (main):
4855 2006-02-13 Wim Taymans <wim@fluendo.com>
4857 * docs/gst/gstreamer-sections.txt:
4859 Add new functions to docs.
4861 2006-02-13 Wim Taymans <wim@fluendo.com>
4863 * docs/design/part-TODO.txt:
4864 Updated TODO list, basesrc supports seeking to non-bytes
4867 * docs/design/part-element-sink.txt:
4870 * gst/gstbin.c: (bin_replace_message),
4871 (gst_bin_handle_message_func):
4872 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
4873 * gst/gstevent.c: (gst_event_finalize):
4874 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4875 (gst_pad_send_event):
4876 Use shiny new _TYPE_NAME macros.
4878 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4879 Move debug statement up.
4881 * gst/gstelement.c: (gst_element_set_locked_state):
4884 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
4886 * docs/gst/gstreamer-sections.txt:
4889 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
4890 macros (#330906). Also, document the already existing
4891 GST_QUERY_TYPE macro.
4893 2006-02-13 Wim Taymans <wim@fluendo.com>
4895 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
4896 (event_probe), (GST_START_TEST):
4897 Only events up to the pipeline EOS are counted, there are
4898 some more when going to NULL currently which we don't care
4901 2006-02-13 Wim Taymans <wim@fluendo.com>
4903 * gst/gstpad.c: (gst_pad_send_event):
4904 Correctly check flushing and emit probes. fixes #330125
4906 2006-02-10 Andy Wingo <wingo@pobox.com>
4908 * gst/gstbus.c (gst_bus_class_init): Declare our private data
4910 (gst_bus_init): Cache the location of the private data in the
4912 (gst_bus_enable_sync_message_emission)
4913 (gst_bus_disable_sync_message_emission): Implement new public
4915 (gst_bus_post): Emit the sync-message signal if the user asked for
4918 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
4919 location of the bus-private structure.
4920 (gst_bus_enable_sync_message_emission)
4921 (gst_bus_disable_sync_message_emission): API addition
4923 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
4925 Patch by: Vincent Torri
4927 * docs/pwg/building-boiler.xml:
4928 PWG patch from #326800
4930 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
4934 * docs/design/Makefile.am:
4937 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4942 === release 0.10.3 ===
4944 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4947 releasing 0.10.3, "Like a virgin"
4949 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4952 2nd prerelease of 0.10.3
4953 Bump libtool versioning.
4955 2006-02-07 Andy Wingo <wingo@pobox.com>
4957 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4958 update last_stop if we're in TIME format and the timestamp is
4961 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
4962 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
4963 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
4964 If we get a new newsegment with a different format, adapt
4967 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
4968 of 0. Not a problem, really.
4970 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
4973 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
4978 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
4981 project files updated to the default vs7 configuration
4982 * win32/common/libgstbase.def:
4983 * win32/common/libgstreamer.def:
4985 removed empty lines,
4986 sorted all exported symbols alphabetically
4987 * win32/common/dirent.c:
4988 * win32/common/dirent.h:
4989 * win32/common/gchar.h:
4990 use windows line end.
4992 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
4994 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4995 Send EOS event when stopping.
4997 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5000 Tell folks what to do if the plugin-foobar.xml file
5001 hasn't been generated for a newly-added plugin.
5003 2006-02-05 Julien MOUTTE <julien@moutte.net>
5005 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5006 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5007 (gst_collect_pads_start), (gst_collect_pads_stop),
5008 (gst_collect_pads_event): Collectpads now holds a reference
5009 to the GstPad that was added. Indeed we don't want to look
5010 at pads that might just go away with no warning...
5012 2006-02-05 Julien MOUTTE <julien@moutte.net>
5014 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5015 (gst_collect_pads_start), (gst_collect_pads_stop),
5016 (gst_collect_pads_event), (gst_collect_pads_chain):
5017 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5018 Mark Nauwelaerts's patch on bug #328491.
5020 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5022 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5024 Add some simple tests for gst_parse_bin_from_description() and
5025 gst_bin_find_unconnected_pad() (#329069).
5027 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5029 * tools/gst-launch.c: (event_loop), (main):
5030 Catch errors during preroll (#320084).
5032 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5034 * plugins/elements/gsttypefindelement.c:
5035 (gst_type_find_element_activate):
5036 Post TYPE_NOT_FOUND error message when typefinding
5037 is unsuccessful in the activate function as well.
5039 2006-02-02 Wim Taymans <wim@fluendo.com>
5041 * docs/design/part-element-sink.txt:
5044 2006-02-02 Wim Taymans <wim@fluendo.com>
5046 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5047 (gst_base_sink_render_object),
5048 (gst_base_sink_queue_object_unlocked):
5049 Only keep track of prerollable items when we are
5051 Before rendering after preroll, always check if we
5053 Added some more debugging.
5055 2006-02-02 Wim Taymans <wim@fluendo.com>
5057 * gst/gstelement.c: (gst_element_continue_state),
5058 (gst_element_set_state_func), (gst_element_change_state):
5059 Fixed #326576, been running this for quite some time with
5060 no regressions at all.
5062 2006-02-02 Wim Taymans <wim@fluendo.com>
5065 Added more suppressions
5067 2006-02-02 Wim Taymans <wim@fluendo.com>
5069 * docs/design/part-element-sink.txt:
5072 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5073 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5074 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5075 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5076 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5077 (gst_base_sink_preroll_object),
5078 (gst_base_sink_queue_object_unlocked),
5079 (gst_base_sink_queue_object), (gst_base_sink_event),
5080 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5081 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5082 (gst_base_sink_get_position), (gst_base_sink_change_state):
5083 * libs/gst/base/gstbasesink.h:
5084 Totally refactored matching the design doc.
5085 Use two segments, one to clip incomming buffers and another to
5087 Handle queueing correctly, bypass the queue when playing.
5088 Make EOS cancelable.
5089 Handle errors correctly when operating in pull based mode.
5091 * tests/check/elements/fakesink.c: (GST_START_TEST),
5093 Added new check for sinks.
5095 2006-02-02 Wim Taymans <wim@fluendo.com>
5097 * gst/gstsegment.c: (gst_segment_clip):
5098 No reason to refuse to clip when start == -1
5100 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5103 * docs/manual/intro-basics.xml:
5104 * docs/manual/intro-preface.xml:
5105 * docs/manual/manual.xml:
5106 * docs/pwg/advanced-dparams.xml:
5107 * docs/pwg/intro-basics.xml:
5108 * docs/pwg/intro-preface.xml:
5110 describe dparams (controller) for plugins
5111 unify docs a little more
5113 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5115 * docs/gst/gstreamer-sections.txt:
5116 * gst/gstutils.c: (element_find_unconnected_pad),
5117 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5119 Add new API: gst_parse_bin_from_description() and
5120 gst_bin_find_unconnected_pad() (#329069).
5122 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5124 * docs/manual/README:
5125 uncover a nasty detail of the docs build
5127 2006-01-31 Wim Taymans <wim@fluendo.com>
5129 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5130 Don't cache duration messages if we're not going to use or
5133 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5135 * docs/manual/advanced-dparams.xml:
5136 * docs/pwg/advanced-dparams.xml:
5140 * libs/gst/controller/lib.c: (gst_controller_init):
5143 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5145 * gst/gstelement.c: (gst_element_message_full):
5146 also show file/line/func if no additional debug was given
5148 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5150 * win32/vs7/grammar.vcproj:
5151 activate copy of autogenerated files for Release mode
5153 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5155 * win32/common/libgstreamer.def:
5156 export gst_value_compare
5158 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5160 * plugins/elements/Makefile.am:
5161 * plugins/elements/gstelements.c:
5162 * plugins/elements/gstfdsink.c: (_do_init),
5163 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5164 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5165 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5166 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5167 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5168 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5169 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5170 * plugins/elements/gstfdsink.h:
5171 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5173 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5175 * docs/manual/advanced-dparams.xml:
5177 * docs/manual/advanced-position.xml:
5178 * docs/manual/basics-init.xml:
5179 * docs/manual/manual.xml:
5180 * docs/manual/titlepage.xml:
5182 * docs/pwg/titlepage.xml:
5183 cleanup xml (more to come)
5184 * libs/gst/controller/gstcontroller.c:
5187 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5189 * win32/vs6/grammar.dsp:
5190 add autogen of gstmarshal.c,h for Release mode
5192 2006-01-30 Wim Taymans <wim@fluendo.com>
5194 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5195 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5196 (gst_base_sink_handle_object), (gst_base_sink_event),
5197 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5198 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5199 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5200 (gst_base_sink_deactivate), (gst_base_sink_activate),
5201 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5202 (gst_base_sink_query), (gst_base_sink_change_state):
5203 Basesink cleanups, remove some old code.
5204 Handle the case where a subclass can preroll in the render
5205 method (mostly audiosinks).
5207 Remove some locks around variables that are now protected
5208 with the PREROLL_LOCK (clock_id, flushing, ..).
5209 Optimize position query some more, do correct locking.
5210 Remove old code to push queue in state change, this is not
5211 needed anymore since preroll blocks on all prerollable items
5213 Almost implemented as described in design doc.
5215 2006-01-30 Wim Taymans <wim@fluendo.com>
5217 * tests/check/gst/gstbin.c: (GST_START_TEST):
5218 Wait for refcount to settle down before checking.
5220 2006-01-30 Wim Taymans <wim@fluendo.com>
5222 * docs/design/part-element-sink.txt:
5223 Pseudo code overview of desired sink behaviour regarding
5226 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5227 * win32/vs6/grammar.dsp:
5228 fix some bugs in Release mode for autogenerated files
5230 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5231 * win32/common/libgstbase.def:
5232 * win32/common/libgstreamer.def:
5233 export some new symbols: gst_base_src_set_format,
5234 gst_iterator_next, gst_structure_set_valist
5236 2006-01-29 Julien MOUTTE <julien@moutte.net>
5238 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5239 Set pad functions unconditionally. Fixes #329105.
5241 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5243 add vs8 project files created by Sergey Scobich
5245 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5247 * gst/gstutils.c: (gst_element_unlink_pads):
5248 Don't leak pad references.
5250 * tests/check/elements/fakesink.c: (GST_START_TEST):
5251 * tests/check/generic/sinks.c: (GST_START_TEST):
5252 * tests/check/generic/states.c: (GST_START_TEST):
5253 * tests/check/gst/gstbin.c: (GST_START_TEST):
5254 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5255 * tests/check/gst/gstelement.c: (GST_START_TEST):
5256 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5257 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5258 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5259 Fix a bunch of leaks. Make generic/sinks.c
5260 use a bit less cpu by slowing the buffer rate
5261 between fakesrc and fakesink.
5263 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5265 * gst/gstelement.c: (gst_element_send_event):
5268 * gst/gstiterator.c:
5269 * gst/gstiterator.h:
5270 * gst/gstpad.c: (gst_pad_send_event):
5271 * gst/gststructure.c:
5275 * libs/gst/base/gstadapter.c:
5276 doc fixes, to link to function, just write gst_cool_function(), don't
5279 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5281 * plugins/elements/gsttee.c: (gst_tee_do_push),
5282 (gst_tee_handle_buffer):
5283 Always prefer an actual return value from a src
5284 pad in place of NOT_LINKED. This means we return
5285 WRONG_STATE when all src pads are WRONG_STATE
5286 instead of NOT_LINKED.
5288 Lock when replacing the last message to prevent
5289 racing with the get_property method.
5293 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5295 * tests/check/Makefile.am:
5296 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5298 Add a very simple check that should have caught the memleak I fixed
5299 last night (if not for the slice allocator hiding it)
5301 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5303 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5304 (gst_bin_remove_func), (gst_bin_handle_message_func),
5305 (bin_query_duration_fold), (bin_query_generic_fold):
5306 Clean up references to the clock provider when disposed or when
5307 handling a clock-lost message from it.
5309 Unref sinks when performing a query via gst_iterator_fold, as the
5310 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5312 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5313 (gst_clock_set_master):
5314 Drop our reference to the master clock, if any, when we are disposed.
5316 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5317 Chain up in dispose.
5319 2006-01-26 Wim Taymans <wim@fluendo.com>
5321 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5324 2006-01-26 Julien MOUTTE <julien@moutte.net>
5326 * plugins/elements/gsttee.c: (gst_tee_do_push),
5327 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5328 handles pad being NOT_LINKED or in WRONG_STATE.
5330 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5335 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5338 remove obsolete entry
5340 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5342 * docs/gst/gstreamer-sections.txt:
5343 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5344 (gst_bin_iterate_sources), (gst_bin_send_event):
5346 * gst/gstelement.c: (gst_element_send_event):
5348 * gst/gstpad.c: (gst_pad_send_event):
5349 added code for downstream events, reviewed docs in gstevent.c
5351 2006-01-25 Julien MOUTTE <julien@moutte.net>
5353 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5354 We only query position using the clock in the playing state.
5355 Query peer in the other cases.
5356 * win32/common/config.h: Updates.
5358 2006-01-24 Wim Taymans <wim@fluendo.com>
5360 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5361 A clock entry that is scheduled for the exact time of the
5362 clock is still in time.
5364 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5365 (gst_base_sink_do_sync):
5366 Add some more debug info.
5368 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5371 Add new vs7 project files and solution.
5373 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5376 all files removed as they were out-dated.
5378 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5380 * docs/random/release:
5382 * gst/gstbin.c: (gst_bin_init):
5383 * gst/gstbus.c: (gst_bus_new):
5385 * gst/gstpipeline.c: (gst_pipeline_init):
5386 use gst_bus_new(), improve logging, fix docs
5387 * win32/common/config.h:
5388 update for cvs build
5390 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5393 up required version of automake to 1.7
5395 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5397 * win32/common/libgstreamer.def:
5398 export gst_buffer_is_metadata_writable
5400 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5402 * docs/gst/gstreamer-sections.txt:
5404 Add gst_event_replace() (#327001)
5406 2006-01-20 Wim Taymans <wim@fluendo.com>
5408 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5409 Make it actually compile too..
5411 2006-01-20 Wim Taymans <wim@fluendo.com>
5414 Clarify behaviour of _is_equal() when passing NULL parameters.
5416 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5418 Cleanups. Don't unref NULL caps.
5419 When setting the same caps, protect caps of the pad with
5421 Use full functionality of _is_equal() when comparing caps.
5423 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5425 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5426 Don't loop infinitely if there are no buffers to present. Partially
5427 fixes #327197, but collectpads is just broken for reusing elements
5428 to do multiple encodes atm.
5430 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5432 * tools/gst-inspect.c: (print_element_features):
5433 * tools/gst-xmlinspect.c: (main):
5434 URL_HANDLER is not a plugin feature we can search for in
5437 2006-01-19 Edward Hervey <edward@fluendo.com>
5439 * gst/gstelement.c: (gst_element_pads_activate):
5440 When activating, do src pads first, then sink pads.
5441 When de-activating, do sink pads first, then src pads.
5443 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5445 * docs/gst/gstreamer-sections.txt:
5446 Add gst_index_add_associationv to the docs
5448 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5453 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5454 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5455 Do some refactoring. Doesn't actually change functionality,
5456 but makes landing the DRAIN event easier later.
5458 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5460 * docs/pwg/advanced-scheduling.xml:
5461 Update from 0.9.x to 0.10 API and make example a bit
5464 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5466 * docs/gst/gstreamer-sections.txt:
5467 Add gst_buffer_(is|make)_metadata_writable methods.
5469 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5471 * docs/design/part-sparsestreams.txt:
5472 Update sparse streams doc, hopefully for greater clarity
5474 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5476 * docs/design/part-events.txt:
5477 Remove mention of FILLER events.
5480 * docs/design/part-sparsestreams.txt:
5481 Write some things about using NEWSEGMENT to keep sparse streams
5484 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5486 * gst/gstbin.c: (gst_bin_dispose):
5487 Guard gst_object_unref call against a NULL object (dispose
5488 can theoretically be called multiple times).
5490 2006-01-18 Wim Taymans <wim@fluendo.com>
5492 * gst/gstbin.c: (gst_bin_element_set_state):
5493 * gst/gstclock.c: (gst_clock_id_wait):
5494 Added some more debug info.
5496 * libs/gst/base/gstadapter.c:
5499 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5500 (gst_base_sink_do_sync), (gst_base_sink_chain):
5501 Added some comments.
5503 2006-01-18 Wim Taymans <wim@fluendo.com>
5505 * tests/check/Makefile.am:
5506 * tests/check/elements/fakesink.c: (chain_async_buffer),
5507 (chain_async), (chain_async_return), (GST_START_TEST),
5508 (fakesink_suite), (main):
5509 Added fakesink test that checks prerolling and clipping
5512 * tests/check/gst/gstutils.c: (GST_START_TEST):
5513 Make check run faster so that buildbots don't timeout.
5515 2006-01-18 Wim Taymans <wim@fluendo.com>
5517 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5518 (gst_base_sink_do_sync):
5520 When the sink finishes blocking on the preroll buffer, it can
5521 immediatly render it instead of rendering when the next buffer
5524 2006-01-18 Wim Taymans <wim@fluendo.com>
5526 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5527 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5528 (gst_base_sink_chain):
5530 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5531 Don't store _last_stop if the buffer is dropped.
5533 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5535 * plugins/elements/gsttypefindelement.c:
5536 (gst_type_find_element_class_init):
5537 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5538 object method handler that sets the caps on the pad and we want
5539 that to happen before we emit the signal (fixes e.g. feeding a
5540 plain text file to decodebin).
5542 2006-01-18 Christian Schaller <Christian@fluendo.com>
5544 * gst/gstplugin.c: Add MPL and Proprietary as license options
5546 2006-01-18 Andy Wingo <wingo@pobox.com>
5548 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5549 symbol was exported before, it appears this was just an oversight.
5551 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5553 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5554 prototype to gint. OK since this prototype was not in the header.
5556 2006-01-17 Andy Wingo <wingo@pobox.com>
5558 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5559 registry while we remove plugins.
5561 * tools/gst-inspect.c (print_element_info): Don't unref the
5562 factory arg, that should be the responsibility of whatever code
5563 received the ref. Fixes a double-free when called from
5564 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5565 (main): Unref the factory if we have one.
5566 (print_element_list): No change -- relies on the
5567 plugin_feature_list_free to free the list of features.
5569 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
5571 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5572 (gst_buffer_make_metadata_writable):
5574 * libs/gst/base/gstbasetransform.c:
5575 (gst_base_transform_prepare_output_buf):
5576 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5577 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5578 Replace gst_buffer_(make|is)_metadata_writable patch now
5579 that the release is out.
5581 2006-01-17 Andy Wingo <wingo@pobox.com>
5583 * gst/gstregistry.c: Reflow design comment. Update so as to speak
5584 in the present tense without reference to versions.
5586 * gst/gstregistry.c (gst_registry_add_plugin)
5587 (gst_registry_remove_plugin, gst_registry_remove_feature)
5588 (gst_registry_find_feature, gst_registry_get_feature_list)
5589 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5590 (gst_registry_lookup, gst_registry_scan_path)
5591 (_gst_registry_remove_cache_plugins)
5592 (gst_registry_get_feature_list_by_plugin): Add argument
5595 === release 0.10.2 ===
5597 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
5600 releasing 0.10.2, "If man is five"
5602 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5606 * libs/gst/base/gstbasetransform.c:
5607 (gst_base_transform_prepare_output_buf):
5608 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5609 * tests/check/gst/gstbuffer.c: (gst_test_suite):
5610 Back out patch until after the release.
5612 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5614 * gst/gstminiobject.c:
5615 Spelling fix in docs.
5616 * ChangeLog - remove conflict indicator
5618 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5620 Reviewed By: Andy Wingo
5622 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5623 (gst_buffer_make_metadata_writable):
5625 Add gst_buffer_(is|make)_metadata_writable as analogues of
5626 gst_buffer_(is|make)_writable.
5628 * libs/gst/base/gstbasetransform.c:
5629 (gst_base_transform_prepare_output_buf):
5630 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5631 Use name gst_buffer_(is|make)_metadata_writable functions.
5633 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5634 Test gst_buffer_(is|make)_metadata_writable
5638 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
5640 * docs/manual/Makefile.am:
5641 don't do parallel make
5644 * win32/common/config.h.in:
5645 add generations for HOST_CPU and GST_MAJORMINOR
5646 * win32/common/config.h:
5647 commit generated result
5649 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
5651 * docs/manual/appendix-integration.xml:
5652 Update GNOME integration section to use gst_init_get_option_group()
5653 instead of the old popt stuff (#322911). Also, GNOME applications
5654 should now use gconf*sink and gconf*src instead of the old gconf
5657 2006-01-13 Stefan Kost <ensonic@users.sf.net>
5660 * docs/gst/gstreamer-docs.sgml:
5661 * docs/gst/gstreamer-sections.txt:
5662 * docs/libs/gstreamer-libs-sections.txt:
5663 add new API entries to the docs
5664 * libs/gst/controller/Makefile.am:
5665 * libs/gst/controller/gstcontroller.c:
5666 * libs/gst/controller/gstcontroller.h:
5667 * libs/gst/controller/gstcontrollerprivate.h:
5668 * libs/gst/controller/gsthelper.c:
5669 * libs/gst/controller/gstinterpolation.c:
5670 move private structs to private header
5672 gstreamer-0.7 -> gstreamer-0.10
5673 * tests/check/libs/struct_i386.h:
5674 remove private structs
5676 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5678 * plugins/indexers/Makefile.am:
5679 Fixes as part of #317048
5681 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5683 * plugins/indexers/Makefile.am:
5684 fix #316086 - compilation when mmap is missing
5686 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
5688 * libs/gst/base/gstbasesink.c:
5689 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
5690 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5691 * win32/common/config.h:
5692 added some defines GST_MAJORMINOR and HOST_CPU
5693 * win32/common/libgstbase.def:
5694 * win32/common/libgstreamer.def:
5695 added some exported functions.
5697 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5699 * libs/gst/controller/gstcontroller.c:
5700 (gst_controlled_property_set_interpolation_mode),
5701 (gst_controlled_property_new):
5702 * libs/gst/controller/gstcontroller.h:
5703 * libs/gst/controller/gstinterpolation.c:
5704 (interpolate_none_get_string_value_array):
5705 make G_TYPE_STRING controlable
5707 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5710 * tools/gst-feedback.1.in:
5711 * tools/gst-inspect.1.in:
5712 * tools/gst-launch.1.in:
5713 * tools/gst-md5sum.1.in:
5714 * tools/gst-typefind.1.in:
5715 * tools/gst-xmlinspect.1.in:
5716 * tools/gst-xmllaunch.1.in:
5717 cleanup man-pages, remove reference to gst-register, document env-vars
5719 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
5721 * gst/gstbuffer.c: (gst_buffer_span):
5722 gst_buffer_span should copy the timestamp of the first buffer
5723 if they were both originally overlapping subbuffers of the
5724 same parent, using the same logic as the 'slow copy' case.
5726 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
5728 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5729 Need to awaken ALL the pads when we pop a buffer, otherwise
5730 collectpads only works when there is 2 input streams.
5732 2006-01-11 Stefan Kost <ensonic@users.sf.net>
5734 * docs/random/ensonic/media-device-daemon.txt:
5737 fix doc example, add clarification
5738 * tools/gst-launch.1.in:
5739 add initial info about GST_PLUGIN_PATH, needs more work
5741 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
5743 * docs/manual/basics-bins.xml:
5744 * docs/manual/basics-elements.xml:
5745 * docs/manual/intro-basics.xml:
5746 Some more minor docs additions and updates.
5748 2006-01-11 Wim Taymans <wim@fluendo.com>
5750 * docs/manual/basics-bins.xml:
5751 * docs/manual/basics-elements.xml:
5752 Some small fixes as pointed out by Ser-ver on IRC.
5754 2006-01-10 Edward Hervey <edward@fluendo.com>
5756 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5757 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5758 the single-segment mode.
5760 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
5762 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5764 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5765 (gst_base_src_perform_seek), (gst_base_src_send_event),
5766 (gst_base_src_set_property), (gst_base_src_get_property),
5767 (gst_base_src_loop), (gst_base_src_start),
5768 (gst_base_src_activate_push):
5769 * libs/gst/base/gstbasesrc.h:
5770 Name (private) union; makes Sun's Forte compiler happy (#324900).
5772 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
5775 gst-register is gone.
5777 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
5779 * gst/gstvalue.c: (_gst_value_initialize):
5780 make the G_TYPE_DATE instantiation work if debug is disabled
5782 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
5784 * gst/gstmessage.c: (gst_message_parse_tag),
5785 (gst_message_parse_error), (gst_message_parse_warning):
5786 Don't crash when return location for error/warning debug
5787 string is NULL; add fact that return locations can be
5788 NULL to docs where appropriate.
5790 2006-01-05 Wim Taymans <wim@fluendo.com>
5792 * gst/gstplugin.c: (gst_plugin_load_file):
5793 Replace strdup by g_strdup.
5795 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5797 * docs/pwg/advanced-types.xml:
5800 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5802 submitted by: Abel Cheung
5806 Added Chinese (traditional) translation
5808 2006-01-04 Wim Taymans <wim@fluendo.com>
5810 * docs/manual/basics-pads.xml:
5811 * docs/plugins/Makefile.am:
5812 * docs/plugins/gstreamer-plugins-docs.sgml:
5813 * docs/plugins/gstreamer-plugins-sections.txt:
5814 * docs/pwg/advanced-clock.xml:
5815 * docs/pwg/advanced-scheduling.xml:
5816 * docs/pwg/advanced-types.xml:
5817 * plugins/elements/gstfdsink.c:
5818 * plugins/elements/gstfdsrc.c:
5819 * plugins/elements/gstfdsrc.h:
5820 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5821 * plugins/elements/gstidentity.h:
5822 * plugins/elements/gstqueue.h:
5823 * plugins/elements/gsttee.c:
5824 * plugins/elements/gsttee.h:
5825 * plugins/elements/gsttypefindelement.c:
5826 (gst_type_find_element_class_init):
5827 * plugins/elements/gsttypefindelement.h:
5828 Small updates to various docs.
5829 Added core plugins to docs.
5831 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5834 add a suppression for liboil's uninitialized variable
5836 2006-01-02 James Livingston <jrl at ids dot org dot au>
5838 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5841 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5842 macro, so that gcc doesn't complain if the -Wmissing-prototypes
5843 compiler switch is being used (#325429).
5845 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
5847 * gst/gstbin.c: (gst_bin_query):
5848 Disable duration query caching in bins until it gets
5849 fixed (see #324807).
5851 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5853 * tools/gst-inspect.c: (print_element_properties_info):
5854 Handle properties of POINTER and BOXED type.
5856 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5858 * gst/gst.c: (init_post):
5859 Init tags stuff and some other things before loading
5860 any static plugins (there may be other static plugins
5861 than just the GStreamer ones, and they may want to
5862 register their own tags or formats or whatever, and
5863 preferably without segfaulting).
5865 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5866 Print at least a warning in the debug logs if we drop a
5867 query just because we don't know how to adjust the value
5868 in the particular format.
5870 2005-12-24 David Schleef <ds@schleef.org>
5872 * tools/gstreamer-completion:
5873 Replacement for gst-complete written in sh and sed. Only
5874 completes names of features, but that's 90% of what I want
5875 it for. Properties are not available in registry.xml. (Maybe
5878 === release 0.10.1 ===
5880 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
5883 releasing 0.10.1, "Nollaig chridheil"
5885 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
5888 Add missing quote, should be make ERROR_CFLAGS="".
5890 2005-12-20 Wim Taymans <wim@fluendo.com>
5892 * docs/design/part-trickmodes.txt:
5893 More documentation on trickmodes.
5895 2005-12-20 Edward Hervey <edward@fluendo.com>
5897 * gst/gstcaps.c: (gst_static_caps_get_type):
5899 API addition: GST_TYPE_STATIC_CAPS
5900 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
5901 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
5902 * gst/gstpadtemplate.h:
5903 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
5904 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
5907 2005-12-18 Wim Taymans <wim@fluendo.com>
5909 * libs/gst/base/gstadapter.c:
5910 * libs/gst/base/gstadapter.h:
5911 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5912 (gst_base_sink_get_position):
5913 * libs/gst/base/gstbasesink.h:
5914 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5915 (gst_base_src_default_query), (gst_base_src_default_do_seek),
5916 (gst_base_src_do_seek), (gst_base_src_perform_seek),
5917 (gst_base_src_send_event), (gst_base_src_update_length),
5918 (gst_base_src_get_range), (gst_base_src_loop),
5919 (gst_base_src_start):
5920 * libs/gst/base/gstbasesrc.h:
5921 * libs/gst/base/gstbasetransform.h:
5922 * libs/gst/base/gstcollectpads.h:
5923 * libs/gst/base/gstpushsrc.c:
5924 * libs/gst/base/gstpushsrc.h:
5925 * libs/gst/dataprotocol/dataprotocol.c:
5926 * libs/gst/dataprotocol/dataprotocol.h:
5927 * libs/gst/net/gstnetclientclock.h:
5928 * libs/gst/net/gstnettimeprovider.h:
5929 Documentation updates.
5931 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
5933 * docs/manual/basics-helloworld.xml:
5934 Remove superfluous closing bracket in helloworld example.
5936 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
5938 * tools/gst-launch.1.in:
5939 Update gst-launch man page; add a section with useful
5940 environment variables. Fixes #323882.
5942 2005-12-16 Stefan Kost <ensonic@users.sf.net>
5945 * gst/gst_private.h:
5946 change some char* into char[]
5948 2005-12-16 Wim Taymans <wim@fluendo.com>
5950 * gst/gstregistryxml.c: (load_feature):
5952 Don't use g_object_unref on GstObjects so that we avoid
5953 leaks on unsafe glibs.
5955 2005-12-16 Wim Taymans <wim@fluendo.com>
5957 * gst/gstbin.c: (gst_bin_recalc_state):
5960 2005-12-16 Wim Taymans <wim@fluendo.com>
5963 Added make forever target for check.
5965 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
5967 * gst/gst.c: (init_post):
5968 make the registry cache file HOST_CPU-dependent
5970 2005-12-16 Andy Wingo <wingo@pobox.com>
5972 * plugins/elements/gstbufferstore.c
5973 (gst_buffer_store_cleared_func): Pay attention to g_list_append
5976 * tests/check/gst/gstobject.c
5977 (test_fake_object_name_threaded_unique): Pay attention to
5978 g_list_sort return value.
5980 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
5982 * tools/gst-feedback-m.m:
5983 Update for 0.9/0.10 (fixes #323870).
5985 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
5987 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
5988 Fix lcopy for mini objects, the mini object needs to be ref'ed.
5990 * tests/check/gst/gstminiobject.c: (my_foo_init),
5991 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
5992 (test_value_collection), (gst_mini_object_suite):
5993 Add test to ensure refcounts end up as expected when passing
5994 GstMiniObjects through g_object_get() and g_object_set().
5996 2005-12-14 Julien MOUTTE <julien@moutte.net>
5998 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5999 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6000 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6001 of collectpads. This version removes a lot of races without
6002 touching API/ABI. Yay !
6004 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6006 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6007 Don't allow activation of a srcpad in pull_range if it has no
6009 Change some debug statements to be a little clearer
6011 * plugins/elements/gsttypefindelement.c:
6012 (gst_type_find_handle_src_query):
6013 Check that we have a peer before executing queries thereupon.
6015 * tests/examples/metadata/read-metadata.c: (message_loop):
6016 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6017 immediately return us any available message with 0 timeout.
6019 2005-12-12 Michael Smith <msmith@fluendo.com>
6021 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6022 Don't unref factories after calling them.
6023 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6024 * plugins/elements/gsttypefindelement.c:
6025 (gst_type_find_element_chain):
6026 Free lists of factories after using them. Fixing typefinding memory
6029 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6031 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6032 (gst_plugin_feature_load):
6033 more meaningful debug output
6035 * tests/Makefile.am:
6036 * tests/old/examples/Makefile.am:
6037 make make distcheck happy again
6039 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6041 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6042 Catch the special case where we are operating chain-based,
6043 but the downstream peer pad has no chain function. Emit a
6044 custom error message in this case instead of letting the
6045 core generate one implying that this is some sort of core
6046 bug. It's not, it just means that whatever got plugged
6047 into the pipeline downstream when we announced the type
6048 can only operate pull-based, while our source can only
6049 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6050 Error string has not been marked for translation yet, as
6051 it probably needs some more work first.
6053 (gst_type_find_element_get_best_possibility):
6054 Add helper function to find the best of all available
6055 found possibilities that qualify given the min. threshold.
6057 (gst_type_find_element_handle_event):
6058 Fix the case where we get an EOS while still in TYPEFIND
6059 mode (we want to chose the best of all possible types,
6060 not just the first type that happens to be in our unsorted
6061 list of possible types).
6063 (gst_type_find_element_chain):
6064 Make sure we return GST_FLOW_ERROR when we errored out
6065 in stop_typefinding(); also, don't just find the best of
6066 all found type entries and then use the last examined
6067 type entry, but actually use the best entry.
6069 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6071 * tests/examples/typefind/typefind.c: (type_found):
6072 * tests/examples/xml/runxml.c: (xml_loaded):
6073 More gcc4 fixes and a mem leak fix.
6075 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6077 * tests/examples/xml/createxml.c: (object_saved):
6080 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6082 * tests/Makefile.am:
6083 enable the examples even more
6085 2005-12-12 Andy Wingo <wingo@pobox.com>
6087 * libs/gst/net/gstnettimeprovider.c
6088 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6089 (gst_net_time_provider_set_property)
6090 (gst_net_time_provider_get_property):
6091 API addition: Export "active" as a GObject property.
6092 (gst_net_time_provider_thread): Only respond to time queries if
6093 the time provider is active.
6095 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6096 NetTimeProvider, preserving binary compat.
6098 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6100 * tests/examples/controller/audio-example.c: (main):
6101 * tests/examples/launch/Makefile.am:
6102 convert comments again
6104 2005-12-12 Wim Taymans <wim@fluendo.com>
6106 * libs/gst/base/gstpushsrc.c:
6109 2005-12-12 Wim Taymans <wim@fluendo.com>
6111 * docs/libs/gstreamer-libs-sections.txt:
6112 Added new symbol to docs.
6114 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6115 (gst_base_src_init), (gst_base_src_set_format),
6116 (gst_base_src_default_query), (gst_base_src_query),
6117 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6118 (gst_base_src_perform_seek), (gst_base_src_send_event),
6119 (gst_base_src_default_event), (gst_base_src_event_handler),
6120 (gst_base_src_set_property), (gst_base_src_get_property),
6121 (gst_base_src_wait), (gst_base_src_do_sync),
6122 (gst_base_src_update_length), (gst_base_src_get_range),
6123 (gst_base_src_check_get_range), (gst_base_src_loop),
6124 (gst_base_src_default_negotiate), (gst_base_src_start),
6125 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6126 (gst_base_src_change_state):
6127 * libs/gst/base/gstbasesrc.h:
6128 Implement seeking to other formats than _BYTES.
6129 Implement more seeking methods correctly.
6131 Added query vmethod.
6132 Added do_seek vmethod to make life easier for subclasses
6134 API addition: gst_base_src_set_format()
6136 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6138 * tests/examples/Makefile.am:
6141 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6144 * docs/random/ensonic/media-device-daemon.txt:
6145 * tests/examples/controller/.cvsignore:
6146 * tests/examples/controller/Makefile.am:
6147 * tests/examples/controller/audio-example.c: (main):
6148 * tests/examples/helloworld/.cvsignore:
6149 * tests/examples/helloworld/Makefile.am:
6150 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6151 * tests/examples/launch/.cvsignore:
6152 * tests/examples/launch/Makefile.am:
6153 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6154 * tests/examples/metadata/.cvsignore:
6155 * tests/examples/metadata/Makefile.am:
6156 * tests/examples/metadata/read-metadata.c: (message_loop),
6157 (make_pipeline), (print_tag), (main):
6158 * tests/examples/queue/.cvsignore:
6159 * tests/examples/queue/Makefile.am:
6160 * tests/examples/queue/queue.c: (event_loop), (main):
6161 * tests/examples/typefind/.cvsignore:
6162 * tests/examples/typefind/Makefile.am:
6163 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6165 * tests/examples/xml/.cvsignore:
6166 * tests/examples/xml/Makefile.am:
6167 * tests/examples/xml/createxml.c: (object_saved), (main):
6168 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6169 * tests/old/examples/Makefile.am:
6170 * tests/old/examples/TODO:
6171 * tests/old/examples/controller/.cvsignore:
6172 * tests/old/examples/controller/Makefile.am:
6173 * tests/old/examples/controller/audio-example.c:
6174 * tests/old/examples/helloworld/.cvsignore:
6175 * tests/old/examples/helloworld/Makefile.am:
6176 * tests/old/examples/helloworld/helloworld.c:
6177 * tests/old/examples/launch/.cvsignore:
6178 * tests/old/examples/launch/Makefile.am:
6179 * tests/old/examples/launch/mp3parselaunch.c:
6180 * tests/old/examples/launch/mp3play:
6181 * tests/old/examples/manual/Makefile.am:
6182 * tests/old/examples/metadata/Makefile.am:
6183 * tests/old/examples/metadata/read-metadata.c:
6184 * tests/old/examples/queue/.cvsignore:
6185 * tests/old/examples/queue/Makefile.am:
6186 * tests/old/examples/queue/queue.c:
6187 * tests/old/examples/typefind/.cvsignore:
6188 * tests/old/examples/typefind/Makefile.am:
6189 * tests/old/examples/typefind/typefind.c:
6190 * tests/old/examples/xml/.cvsignore:
6191 * tests/old/examples/xml/Makefile.am:
6192 * tests/old/examples/xml/createxml.c:
6193 * tests/old/examples/xml/runxml.c:
6194 applied some simple fixing to some examples
6195 re-enabled the working examples
6197 2005-12-12 Wim Taymans <wim@fluendo.com>
6199 * gst/gstsegment.c: (gst_segment_init),
6200 (gst_segment_set_last_stop), (gst_segment_set_seek),
6201 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6202 (gst_segment_to_running_time):
6203 Added more documentation.
6204 Make sure the last_pos value is updated properly.
6205 Make sure to_stream_time and to_running_time don't
6206 operate on wrong values.
6208 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6211 2005-12-12 Michael Smith <msmith@fluendo.com>
6213 * plugins/elements/gsttypefindelement.c: (free_entry),
6214 (gst_type_find_element_chain):
6215 Now that we're not leaking factories, make sure we keep references
6216 to them while we need them.
6218 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6220 * tests/check/gst/struct_i386.h:
6221 ifdef out the XML structs
6223 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6225 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6226 floor is not needed, F is always positive; this obviates the
6227 need for adding -lm when building without libxml
6229 2005-12-12 Wim Taymans <wim@fluendo.com>
6231 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6232 Take current playback rate into account when reporting
6235 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6237 * docs/manual/mime-world.fig:
6238 Let's try this again, this time with a file that is
6239 actually in XFig format.
6241 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6243 * docs/manual/mime-world.fig:
6244 Add audioconvert element to diagram so that it
6245 matches the text and the code (fixes #319526).
6247 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6249 * docs/pwg/building-chainfn.xml:
6250 * docs/pwg/building-pads.xml:
6251 * docs/pwg/building-state.xml:
6252 * docs/pwg/other-source.xml:
6253 Update state change stuff for 0.10 (fixes #322969).
6255 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6257 * docs/manual/advanced-dataaccess.xml:
6258 * docs/manual/appendix-checklist.xml:
6259 * docs/manual/appendix-programs.xml:
6260 * docs/manual/basics-pads.xml:
6261 * docs/manual/highlevel-components.xml:
6262 * docs/manual/manual.xml:
6263 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6264 add converters in front of pipelines; remove curly
6265 brackets for threads stuff, they no longer exist; use
6266 GST_TYPE_FRACTION for framerates; update some pieces of
6267 code to 0.10, but there's plenty more to do.
6269 * docs/manual/appendix-porting.xml:
6270 Expand on asynchroneous state changes; s/0.9/0.10/;
6271 mention disappearance of gst_init_get_popt_table()
6274 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6276 * docs/faq/using.xml:
6277 Spider no longer exists, and neither does gst-launch-ext.
6278 Update examples to use decodebin and playbin and put
6279 converters in front of sinks (fixes #323726).
6281 2005-12-09 Michael Smith <msmith@fluendo.com>
6283 * plugins/elements/gsttypefindelement.c: (find_peek),
6284 (gst_type_find_element_chain):
6285 Fix leaking element factories in typefinding.
6286 Fix problem where we forgot about a probable type on non-seekable
6287 files, and thus later mis-typefound it.
6289 2005-12-09 Michael Smith <msmith@fluendo.com>
6291 * common/m4/gst-makecontext.m4:
6292 * common/m4/gst-mcsc.m4:
6294 * win32/common/config.h:
6295 * win32/common/config.h.in:
6296 Remove makecontext stuff; not used in 0.10 and causes problems on
6297 HPUX according to bug #322441
6299 2005-12-07 Wim Taymans <wim@fluendo.com>
6301 * tests/check/Makefile.am:
6302 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6304 * tests/check/libs/struct_i386.h:
6305 Added ABI check for libs
6307 2005-12-07 Wim Taymans <wim@fluendo.com>
6309 * tests/check/Makefile.am:
6310 And add the struct_i386.h to dist.
6312 2005-12-07 Wim Taymans <wim@fluendo.com>
6314 * tests/check/Makefile.am:
6315 * tests/check/gst/.cvsignore:
6316 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6318 * tests/check/gst/struct_i386.h:
6319 Added check for ABI compatibility.
6321 2005-12-07 Wim Taymans <wim@fluendo.com>
6323 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6324 (gst_fake_src_get_times), (gst_fake_src_create):
6325 Fix broken sync option, fixes #323259
6327 2005-12-07 Wim Taymans <wim@fluendo.com>
6332 * gst/gstcaps.c: (gst_caps_is_equal):
6333 Don't assert on NULL <--> X. Fixes #323260
6335 * gst/gstminiobject.c: (gst_mini_object_replace):
6336 If we're doing atomic operations, we might just as well use
6337 the proper way to get an atomic pointer.
6339 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6342 2005-12-07 Michael Smith <msmith@fluendo.com>
6344 * gst/parse/grammar.y:
6345 Remove handling of { } for threads.
6347 2005-12-06 David Schleef <ds@schleef.org>
6349 * libs/gst/base/gstbasetransform.c: speling fix.
6351 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6353 * docs/libs/tmpl/gstdataprotocol.sgml:
6354 * docs/random/omega/testing/gstobject.c:
6358 * gst/gstelementfactory.c:
6361 * gst/gstghostpad.c:
6363 * gst/gstpadtemplate.c:
6364 * gst/gstregistryxml.c:
6366 * gst/gsttagsetter.c:
6367 * gst/gsttypefind.c:
6369 * libs/gst/base/gstbasesrc.c:
6370 * libs/gst/net/gstnetclientclock.c:
6371 * libs/gst/net/gstnettimeprovider.c:
6372 * plugins/elements/gstfakesrc.c:
6373 * plugins/elements/gstfdsrc.c:
6374 * plugins/elements/gstfilesrc.c:
6375 * plugins/elements/gstidentity.c:
6376 * plugins/elements/gstqueue.c:
6377 * plugins/elements/gsttypefindelement.c:
6378 * plugins/indexers/gstfileindex.c:
6379 * plugins/indexers/gstmemindex.c:
6380 * tests/check/gst/gsttag.c:
6381 * tests/old/examples/cutter/cutter.c:
6382 * tests/old/examples/mixer/mixer.c:
6383 * tests/old/examples/xml/runxml.c: (main):
6384 * tests/old/testsuite/caps/normalisation.c:
6385 * tests/old/testsuite/debug/global.c:
6386 * tests/old/testsuite/parse/parse1.c:
6387 * tools/gst-xmlinspect.c:
6388 * win32/common/dirent.c:
6391 === release 0.10.0 ===
6393 2005-12-05 <thomas (at) apestaart (dot) org>
6396 releasing 0.10.0, "Maroilles"
6398 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6400 submitted by: Funda Wang <fundawang@linux.net.cn>
6404 added Chinese (Traditional) translation
6406 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6408 * docs/gst/gstreamer-sections.txt:
6409 * docs/libs/tmpl/gstdataprotocol.sgml:
6410 * docs/random/thomasvs/TODO:
6415 2005-12-05 Andy Wingo <wingo@pobox.com>
6417 patch by: Wim Taymans <wim@fluendo.com>
6419 * libs/gst/base/gstbasetransform.c
6420 (gst_base_transform_prepare_output_buf)
6421 (gst_base_transform_buffer_alloc):
6422 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6423 alloc_buffer_and_set_caps.
6425 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6426 set_caps on the source pad.
6427 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6428 alloc_buffer used to do. Fixes #322874.
6430 * docs/gst/gstreamer-sections.txt:
6431 * docs/design/part-negotiation.txt:
6432 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6435 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6437 patch by: Sebastien Moutte
6440 * win32/common/config.h.in:
6441 * win32/vs6/libgstcontroller.dsp:
6444 2005-12-05 Wim Taymans <wim@fluendo.com>
6446 * gst/gstcaps.c: (gst_caps_is_equal):
6447 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6448 (gst_fake_src_create):
6449 Back out previous code changes, leave doc updates, file bugs
6452 2005-12-05 Wim Taymans <wim@fluendo.com>
6454 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6455 (gst_fake_src_get_times), (gst_fake_src_create):
6456 * plugins/elements/gstfakesrc.h:
6457 Fix broken sync code.
6459 2005-12-05 Wim Taymans <wim@fluendo.com>
6461 * gst/gstcaps.c: (gst_caps_is_equal):
6462 Comparing NULL against !NULL yields different caps, not a
6465 2005-12-05 Wim Taymans <wim@fluendo.com>
6467 * gst/gstpipeline.c:
6468 Fix small typo in docs.
6470 2005-12-05 Andy Wingo <wingo@pobox.com>
6472 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6474 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6475 registries/plugins with a MAJORMINOR one.
6476 (plugin_desc): Rename library from gstcoreleements to
6477 staticelements. Fixes #323222.
6479 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6481 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6482 Change debug category to 'collectpads' from 'collect_pads'
6485 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6487 patch by: Sebastien Moutte
6489 * libs/gst/controller/gstinterpolation.c:
6490 use convert function for uint64/double
6491 * win32/vs6/libgstcontroller.dsp:
6494 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6496 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6497 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6499 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6500 add tests that seem to show that the guint64/gdouble conversions
6503 2005-12-02 Wim Taymans <wim@fluendo.com>
6505 * gst/gstregistry.c: (gst_registry_add_path):
6506 * gst/gstregistry.h:
6507 * gst/gstregistryxml.c:
6510 2005-12-02 Wim Taymans <wim@fluendo.com>
6512 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6513 (gst_util_uint64_scale_int):
6516 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6519 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6522 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6525 * win32/common/config.h:
6526 * win32/vs6/gstreamer.dsw:
6527 * win32/vs6/libgstcoreelements.dsp:
6528 * win32/vs6/libgstelements.dsp:
6529 renamed core elements plugin
6531 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6533 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6535 do piece-wise major/minor comparison so 0.9 < 0.10
6536 also allow .exe extensions for tools
6538 2005-12-02 Michael Smith <msmith@fluendo.com>
6541 Escape a % to make gtkdoc happier; bug 322958.
6543 === release 0.9.7 ===
6545 2005-12-01 <thomas (at) apestaart (dot) org>
6548 releasing 0.9.7, "My Dog Has No Nose"
6550 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6552 * common/gst-xmlinspect.py:
6554 * docs/libs/tmpl/gstdataprotocol.sgml:
6555 * docs/random/release:
6574 * win32/common/config.h:
6575 * win32/common/config.h.in:
6576 * win32/vs6/gst_inspect.dsp:
6577 * win32/vs6/gst_launch.dsp:
6578 * win32/vs6/libgstbase.dsp:
6579 * win32/vs6/libgstelements.dsp:
6580 * win32/vs6/libgstreamer.dsp:
6581 * win32/vs7/GStreamer.vcproj:
6582 * win32/vs7/gst-inspect.vcproj:
6583 * win32/vs7/gst-launch.vcproj:
6584 * win32/vs7/libgstbase.vcproj:
6585 bump GST_MAJORMINOR to 0.10
6586 reset libtool version
6588 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6592 Added Bulgarian translation by (Alexander Shopov)
6594 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6596 * tests/check/gst/gstplugin.c:
6599 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6601 * common/gst-xmlinspect.py:
6602 * common/gtk-doc-plugins.mak:
6605 * docs/gst/Makefile.am:
6606 * docs/gst/gstreamer-docs.sgml:
6607 * docs/gst/gstreamer-sections.txt:
6608 * docs/gst/gstreamer.types:
6609 * docs/gst/gstreamer.types.in:
6610 * docs/plugins/Makefile.am:
6611 * docs/plugins/gstreamer-plugins-docs.sgml:
6612 * docs/plugins/gstreamer-plugins-sections.txt:
6613 * docs/plugins/gstreamer-plugins.types:
6614 * docs/plugins/inspect.stamp:
6615 * docs/plugins/inspect/plugin-coreelements.xml:
6616 * docs/plugins/inspect/plugin-coreindexers.xml:
6617 * docs/plugins/scanobj-build.stamp:
6618 * gstreamer.spec.in:
6619 * plugins/elements/Makefile.am:
6620 * plugins/elements/gstelements.c:
6621 * plugins/elements/gstfakesink.c:
6622 * plugins/elements/gstfakesrc.c:
6623 * plugins/elements/gstfilesink.c:
6624 * plugins/elements/gstfilesrc.c:
6625 * plugins/elements/gstqueue.c:
6626 * plugins/indexers/Makefile.am:
6627 * plugins/indexers/gstindexers.c:
6628 document core plugins in a separate document just like all the
6630 rename these plugins to something starting with core
6632 2005-12-01 Andy Wingo <wingo@pobox.com>
6634 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6635 padding here before, but it missed the commit.
6637 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6639 * libs/gst/controller/gstinterpolation.c:
6640 whitespace prices have crashed, we should feel free to use some now
6641 use gst_guint64_to_gdouble
6643 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6645 * libs/gst/controller/gstcontroller.c:
6646 * libs/gst/controller/gsthelper.c:
6647 * libs/gst/controller/gstinterpolation.c:
6648 * libs/gst/controller/lib.c:
6649 wrap config.h include
6651 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6653 * docs/gst/gstreamer-sections.txt:
6656 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6658 * plugins/elements/gstelements.c:
6659 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6660 (gst_fd_sink__class_init), (gst_fd_sink__init),
6661 (gst_fd_sink__chain), (gst_fd_sink__set_property),
6662 (gst_fd_sink__get_property):
6663 * plugins/elements/gstfdsink.h:
6664 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6665 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6666 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6667 (gst_fd_src_unlock), (gst_fd_src_set_property),
6668 (gst_fd_src_get_property), (gst_fd_src_create),
6669 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6670 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6671 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6672 (gst_fd_src_uri_handler_init):
6673 * plugins/elements/gstfdsrc.h:
6674 * plugins/elements/gstqueue.c: (gst_queue_get_type):
6677 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6679 * docs/gst/Makefile.am:
6680 * docs/gst/gstreamer.types.in:
6684 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6690 * gst/gstregistry.h:
6691 * tests/benchmarks/complexity.c:
6692 * tests/benchmarks/mass-elements.c:
6693 * tests/check/Makefile.am:
6694 * tools/Makefile.am:
6695 * tools/gst-inspect.c:
6696 * tools/gst-xmlinspect.c:
6697 various fixes to make
6698 --disable-nls --disable-registry --disable-loadsave
6699 --disable-parse --disable-gst-debug
6700 work and get the core .so down to 360444 bytes after stripping
6702 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6707 * docs/random/thomasvs/TODO:
6708 * tests/Makefile.am:
6712 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6714 * win32/GStreamer.vcproj:
6717 * win32/Makefile.inspect:
6718 * win32/Makefile.launch:
6719 * win32/Makefile.register:
6721 * win32/gst-inspect.vcproj:
6722 * win32/gst-launch.vcproj:
6723 * win32/gst-register.vcproj:
6724 * win32/gstelements.vcproj:
6725 * win32/gstgetbits.def:
6726 * win32/gstgetbits.vcproj:
6727 * win32/gstreamer-dbg.def:
6728 * win32/gstreamer.def:
6729 * win32/libgstbase.def:
6730 * win32/libgstbase.vcproj:
6731 * win32/link_oldruntime.c:
6736 move even more stuff, win32/ is nice and clean now
6738 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6740 * libs/gst/control/.cvsignore:
6745 * win32/gstbytestream.def:
6746 * win32/gstbytestream.vcproj:
6747 * win32/gstconfig.h:
6748 * win32/gstenumtypes.c:
6749 * win32/gstenumtypes.h:
6750 * win32/gstoptimalscheduler.vcproj:
6751 * win32/gstversion.h:
6753 * win32/testsuite/bins.vcproj:
6754 * win32/testsuite/bytestream.vcproj:
6755 * win32/testsuite/caps.vcproj:
6756 * win32/testsuite/cleanup.vcproj:
6757 * win32/testsuite/clock.vcproj:
6758 * win32/testsuite/debug.vcproj:
6759 * win32/testsuite/dlopen.vcproj:
6760 * win32/testsuite/dynparams.vcproj:
6761 * win32/testsuite/elements.vcproj:
6762 * win32/testsuite/ghostpads.vcproj:
6763 * win32/testsuite/indexers.vcproj:
6764 * win32/testsuite/negotiation.vcproj:
6765 * win32/testsuite/parse.vcproj:
6766 * win32/testsuite/plugin.vcproj:
6767 * win32/testsuite/refcounting.vcproj:
6768 * win32/testsuite/schedulers.vcproj:
6769 * win32/testsuite/states.vcproj:
6770 * win32/testsuite/tags.vcproj:
6771 * win32/testsuite/threads.vcproj:
6772 remove old win32 stuff that isn't maintained and should be
6775 2005-11-30 Andy Wingo <wingo@pobox.com>
6777 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6778 loading the gst.interfaces python module bork.
6780 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6781 available since GLib 2.2. Fixes #318031.
6783 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6787 * check/Makefile.am:
6788 * check/elements/.cvsignore:
6789 * check/elements/fakesrc.c:
6790 * check/elements/fdsrc.c:
6791 * check/elements/identity.c:
6792 * check/generic/.cvsignore:
6793 * check/generic/states.c:
6794 * check/gst-libs/.cvsignore:
6795 * check/gst-libs/controller.c:
6796 * check/gst-libs/gdp.c:
6797 * check/gst/.cvsignore:
6798 * check/gst/capslist.h:
6800 * check/gst/gstbin.c:
6801 * check/gst/gstbuffer.c:
6802 * check/gst/gstbus.c:
6803 * check/gst/gstcaps.c:
6804 * check/gst/gstelement.c:
6805 * check/gst/gstevent.c:
6806 * check/gst/gstghostpad.c:
6807 * check/gst/gstiterator.c:
6808 * check/gst/gstmessage.c:
6809 * check/gst/gstminiobject.c:
6810 * check/gst/gstobject.c:
6811 * check/gst/gstpad.c:
6812 * check/gst/gstpipeline.c:
6813 * check/gst/gstplugin.c:
6814 * check/gst/gstsegment.c:
6815 * check/gst/gststructure.c:
6816 * check/gst/gstsystemclock.c:
6817 * check/gst/gsttag.c:
6818 * check/gst/gstutils.c:
6819 * check/gst/gstvalue.c:
6820 * check/net/.cvsignore:
6821 * check/net/gstnetclientclock.c:
6822 * check/net/gstnettimeprovider.c:
6823 * check/pipelines/.cvsignore:
6824 * check/pipelines/cleanup.c:
6825 * check/pipelines/simple_launch_lines.c:
6826 * check/pipelines/stress.c:
6827 * check/states/.cvsignore:
6828 * check/states/sinks.c:
6830 * examples/Makefile.am:
6831 * examples/appreader/.cvsignore:
6832 * examples/appreader/Makefile.am:
6833 * examples/appreader/appreader.c:
6834 * examples/controller/.cvsignore:
6835 * examples/controller/Makefile.am:
6836 * examples/controller/audio-example.c:
6837 * examples/cutter/.cvsignore:
6838 * examples/cutter/Makefile.am:
6839 * examples/cutter/cutter.c:
6840 * examples/cutter/cutter.h:
6841 * examples/events/Makefile.am:
6842 * examples/events/seek.c:
6843 * examples/helloworld/.cvsignore:
6844 * examples/helloworld/Makefile.am:
6845 * examples/helloworld/helloworld.c:
6846 * examples/helloworld2/.cvsignore:
6847 * examples/helloworld2/Makefile.am:
6848 * examples/helloworld2/helloworld2.c:
6849 * examples/launch/.cvsignore:
6850 * examples/launch/Makefile.am:
6851 * examples/launch/mp3parselaunch.c:
6852 * examples/launch/mp3play:
6853 * examples/manual/.cvsignore:
6854 * examples/manual/Makefile.am:
6855 * examples/manual/extract.pl:
6856 * examples/metadata/Makefile.am:
6857 * examples/metadata/read-metadata.c:
6858 * examples/mixer/.cvsignore:
6859 * examples/mixer/Makefile.am:
6860 * examples/mixer/mixer.c:
6861 * examples/mixer/mixer.h:
6862 * examples/pingpong/.cvsignore:
6863 * examples/pingpong/Makefile.am:
6864 * examples/pingpong/pingpong.c:
6865 * examples/plugins/.cvsignore:
6866 * examples/plugins/Makefile.am:
6867 * examples/plugins/example.c:
6868 * examples/plugins/example.h:
6869 * examples/pwg/.cvsignore:
6870 * examples/pwg/Makefile.am:
6871 * examples/pwg/extract.pl:
6872 * examples/queue/.cvsignore:
6873 * examples/queue/Makefile.am:
6874 * examples/queue/queue.c:
6875 * examples/queue2/.cvsignore:
6876 * examples/queue2/Makefile.am:
6877 * examples/queue2/queue2.c:
6878 * examples/queue3/.cvsignore:
6879 * examples/queue3/Makefile.am:
6880 * examples/queue3/queue3.c:
6881 * examples/queue4/.cvsignore:
6882 * examples/queue4/Makefile.am:
6883 * examples/queue4/queue4.c:
6884 * examples/retag/.cvsignore:
6885 * examples/retag/Makefile.am:
6886 * examples/retag/retag.c:
6887 * examples/retag/transcode.c:
6888 * examples/thread/.cvsignore:
6889 * examples/thread/Makefile.am:
6890 * examples/thread/thread.c:
6891 * examples/typefind/.cvsignore:
6892 * examples/typefind/Makefile.am:
6893 * examples/typefind/typefind.c:
6894 * examples/xml/.cvsignore:
6895 * examples/xml/Makefile.am:
6896 * examples/xml/createxml.c:
6897 * examples/xml/runxml.c:
6898 * tests/Makefile.am:
6899 * tests/check/Makefile.am:
6900 * testsuite/.cvsignore:
6901 * testsuite/Makefile.am:
6903 * testsuite/caps/.cvsignore:
6904 * testsuite/caps/Makefile.am:
6905 * testsuite/caps/app_fixate.c:
6906 * testsuite/caps/audioscale.c:
6907 * testsuite/caps/caps.c:
6908 * testsuite/caps/caps.h:
6909 * testsuite/caps/caps_strings:
6910 * testsuite/caps/compatibility.c:
6911 * testsuite/caps/deserialize.c:
6912 * testsuite/caps/enumcaps.c:
6913 * testsuite/caps/eratosthenes.c:
6914 * testsuite/caps/filtercaps.c:
6915 * testsuite/caps/fixed.c:
6916 * testsuite/caps/fraction-convert.c:
6917 * testsuite/caps/fraction-multiply-and-zero.c:
6918 * testsuite/caps/intersect2.c:
6919 * testsuite/caps/intersection.c:
6920 * testsuite/caps/normalisation.c:
6921 * testsuite/caps/random.c:
6922 * testsuite/caps/renegotiate.c:
6923 * testsuite/caps/sets.c:
6924 * testsuite/caps/simplify.c:
6925 * testsuite/caps/string-conversions.c:
6926 * testsuite/caps/structure.c:
6927 * testsuite/caps/subtract.c:
6928 * testsuite/caps/union.c:
6929 * testsuite/debug/.cvsignore:
6930 * testsuite/debug/Makefile.am:
6931 * testsuite/debug/category.c:
6932 * testsuite/debug/commandline.c:
6933 * testsuite/debug/global.c:
6934 * testsuite/debug/output.c:
6935 * testsuite/debug/printf_extension.c:
6936 * testsuite/dlopen/.cvsignore:
6937 * testsuite/dlopen/Makefile.am:
6938 * testsuite/dlopen/dlopen_gst.c:
6939 * testsuite/dlopen/loadgst.c:
6940 * testsuite/elements/.cvsignore:
6941 * testsuite/elements/Makefile.am:
6942 * testsuite/elements/gst-inspect-check.in:
6943 * testsuite/elements/struct_i386.h:
6944 * testsuite/elements/struct_size.c:
6945 * testsuite/indexers/.cvsignore:
6946 * testsuite/indexers/Makefile.am:
6947 * testsuite/indexers/cache1.c:
6948 * testsuite/indexers/indexdump.c:
6949 * testsuite/parse/.cvsignore:
6950 * testsuite/parse/Makefile.am:
6951 * testsuite/parse/parse1.c:
6952 * testsuite/parse/parse2.c:
6953 * testsuite/plugin/.cvsignore:
6954 * testsuite/plugin/Makefile.am:
6955 * testsuite/plugin/README:
6956 * testsuite/plugin/dynamic.c:
6957 * testsuite/plugin/linked.c:
6958 * testsuite/plugin/loading.c:
6959 * testsuite/plugin/registry.c:
6960 * testsuite/plugin/static.c:
6961 * testsuite/plugin/static2.c:
6962 * testsuite/plugin/testplugin.c:
6963 * testsuite/plugin/testplugin2.c:
6964 * testsuite/plugin/testplugin2_s.c:
6965 * testsuite/plugin/testplugin_s.c:
6966 * testsuite/refcounting/.cvsignore:
6967 * testsuite/refcounting/Makefile.am:
6968 * testsuite/refcounting/bin.c:
6969 * testsuite/refcounting/element.c:
6970 * testsuite/refcounting/element_pad.c:
6971 * testsuite/refcounting/mainloop.c:
6972 * testsuite/refcounting/mem.c:
6973 * testsuite/refcounting/mem.h:
6974 * testsuite/refcounting/object.c:
6975 * testsuite/refcounting/pad.c:
6976 * testsuite/refcounting/sched.c:
6977 * testsuite/refcounting/thread.c:
6978 * testsuite/states/.cvsignore:
6979 * testsuite/states/Makefile.am:
6980 * testsuite/states/bin.c:
6981 * testsuite/states/locked.c:
6982 * testsuite/states/parent.c:
6983 * testsuite/threads/.cvsignore:
6984 * testsuite/threads/159566.c:
6985 * testsuite/threads/159852.c:
6986 * testsuite/threads/Makefile.am:
6987 * testsuite/threads/queue.c:
6988 * testsuite/threads/signals.c:
6989 * testsuite/threads/staticrec.c:
6990 * testsuite/threads/thread.c:
6991 * testsuite/threads/threadb.c:
6992 * testsuite/threads/threadc.c:
6993 * testsuite/threads/threadd.c:
6994 * testsuite/threads/threade.c:
6995 * testsuite/threads/threadf.c:
6996 * testsuite/threads/threadg.c:
6997 * testsuite/threads/threadh.c:
6998 * testsuite/threads/threadi.c:
6999 move all of these under tests
7001 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7004 * tests/Makefile.am:
7007 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7009 * docs/gst/gstreamer-sections.txt:
7010 * tests/sched/.cvsignore:
7011 * tests/sched/Makefile.am:
7012 * tests/sched/cases/(fs-fs).xml:
7013 * tests/sched/cases/(fs-i-fs).xml:
7014 * tests/sched/cases/(fs-i-i-fs).xml:
7015 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7016 * tests/sched/dynamic-pipeline.c:
7017 * tests/sched/interrupt1.c:
7018 * tests/sched/interrupt2.c:
7019 * tests/sched/interrupt3.c:
7020 * tests/sched/runtestcases:
7021 * tests/sched/runxml.c:
7022 * tests/sched/sched-stress.c:
7023 * tests/sched/sort.c:
7024 * tests/sched/testcases:
7025 * tests/sched/testcases1.tc:
7026 * tests/seeking/.cvsignore:
7027 * tests/seeking/Makefile.am:
7028 * tests/seeking/seeking1.c:
7029 * tests/threadstate/.cvsignore:
7030 * tests/threadstate/Makefile.am:
7031 * tests/threadstate/test1.c:
7032 * tests/threadstate/test2.c:
7033 * tests/threadstate/threadstate1.c:
7034 * tests/threadstate/threadstate2.c:
7035 * tests/threadstate/threadstate3.c:
7036 * tests/threadstate/threadstate4.c:
7037 * tests/threadstate/threadstate5.c:
7038 remove obsolete tests
7040 * tests/bench-complexity.scm:
7041 * tests/bench-mass_elements.scm:
7042 * tests/complexity.c:
7043 * tests/complexity.gnuplot:
7044 * tests/instantiate/.cvsignore:
7045 * tests/instantiate/Makefile.am:
7046 * tests/instantiate/caps.c:
7047 * tests/mass_elements.c:
7048 * tests/network-clock-utils.scm:
7049 * tests/network-clock.scm:
7051 First pass at cleaning up tests/ dir before moving the rest
7052 Combined with CVS surgery
7054 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7057 queue has moved, update
7059 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7061 * docs/gst/gstreamer-sections.txt:
7062 remove double entries from the docs
7063 * gst/gst_private.h:
7064 * gst/gstinfo.c: (_gst_debug_init):
7065 remove the THREAD debug category
7069 * docs/gst/gstreamer.types:
7070 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7071 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7072 completely move queue and fix up debugging categories
7074 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7076 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7077 make initialization portable, using LL is not
7079 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7081 * win32/common/gstconfig.h:
7084 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7086 * win32/common/libgstreamer.def:
7087 rename symbols; sort base section
7089 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7091 * gst/gstclock.c: (do_linear_regression):
7092 remove crack non-portable handrolled DEBUG macro
7094 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7096 * docs/random/release:
7098 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7099 (gst_object_flags_get_type), (register_gst_bin_flags),
7100 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7101 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7102 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7103 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7104 (gst_caps_flags_get_type), (register_gst_clock_return),
7105 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7106 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7107 (gst_clock_flags_get_type), (register_gst_state),
7108 (gst_state_get_type), (register_gst_state_change_return),
7109 (gst_state_change_return_get_type), (register_gst_state_change),
7110 (gst_state_change_get_type), (register_gst_element_flags),
7111 (gst_element_flags_get_type), (register_gst_core_error),
7112 (gst_core_error_get_type), (register_gst_library_error),
7113 (gst_library_error_get_type), (register_gst_resource_error),
7114 (gst_resource_error_get_type), (register_gst_stream_error),
7115 (gst_stream_error_get_type), (register_gst_event_type_flags),
7116 (gst_event_type_flags_get_type), (register_gst_event_type),
7117 (gst_event_type_get_type), (register_gst_seek_type),
7118 (gst_seek_type_get_type), (register_gst_seek_flags),
7119 (gst_seek_flags_get_type), (register_gst_format),
7120 (gst_format_get_type), (register_gst_index_certainty),
7121 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7122 (gst_index_entry_type_get_type),
7123 (register_gst_index_lookup_method),
7124 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7125 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7126 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7127 (gst_index_flags_get_type), (register_gst_debug_level),
7128 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7129 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7130 (gst_iterator_result_get_type), (register_gst_iterator_item),
7131 (gst_iterator_item_get_type), (register_gst_message_type),
7132 (gst_message_type_get_type), (register_gst_mini_object_flags),
7133 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7134 (gst_pad_link_return_get_type), (register_gst_flow_return),
7135 (gst_flow_return_get_type), (register_gst_activate_mode),
7136 (gst_activate_mode_get_type), (register_gst_pad_direction),
7137 (gst_pad_direction_get_type), (register_gst_pad_flags),
7138 (gst_pad_flags_get_type), (register_gst_pad_presence),
7139 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7140 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7141 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7142 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7143 (gst_plugin_flags_get_type), (register_gst_rank),
7144 (gst_rank_get_type), (register_gst_query_type),
7145 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7146 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7147 (gst_tag_flag_get_type), (register_gst_task_state),
7148 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7149 (gst_alloc_trace_flags_get_type),
7150 (register_gst_type_find_probability),
7151 (gst_type_find_probability_get_type), (register_gst_uri_type),
7152 (gst_uri_type_get_type), (register_gst_parse_error),
7153 (gst_parse_error_get_type):
7154 * win32/common/gstenumtypes.h:
7155 * win32/common/gstversion.h:
7156 update visual studio generated files
7158 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7160 * win32/vs6/libgstbase.dsp:
7161 * win32/vs6/libgstelements.dsp:
7162 update project files for new locations
7164 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7169 reinstate and update
7174 * docs/random/LICENSE:
7177 2005-11-30 Edward Hervey <edward@fluendo.com>
7179 * gst/gsttypefind.c: (gst_type_find_register):
7180 * gst/gsttypefind.h:
7181 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7182 (gst_type_find_factory_dispose):
7183 * gst/gsttypefindfactory.h:
7184 Fix memory leak in GstTypeFindFactory.
7186 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7189 * plugins/elements/Makefile.am:
7190 * plugins/elements/gstelements.c:
7191 * plugins/elements/gstqueue.c:
7192 move queue from core to the elements plugin
7194 2005-11-29 Andy Wingo <wingo@pobox.com>
7196 * libs/gst/base/gstbasetransform.h:
7197 * libs/gst/base/gstbasesrc.h:
7198 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7200 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7201 of pointers by which to pad very extensible base classes (like the
7202 ones in libs/gst/base).
7204 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7206 * docs/gst/gstreamer-docs.sgml:
7207 * docs/gst/gstreamer-sections.txt:
7208 * docs/libs/gstreamer-libs-docs.sgml:
7209 * docs/libs/gstreamer-libs-sections.txt:
7210 moving documentation from core to lib
7212 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7214 * check/Makefile.am:
7216 * docs/gst/Makefile.am:
7218 * gst/base/.cvsignore:
7219 * gst/base/Makefile.am:
7221 * gst/base/gstadapter.c:
7222 * gst/base/gstadapter.h:
7223 * gst/base/gstbasesink.c:
7224 * gst/base/gstbasesink.h:
7225 * gst/base/gstbasesrc.c:
7226 * gst/base/gstbasesrc.h:
7227 * gst/base/gstbasetransform.c:
7228 * gst/base/gstbasetransform.h:
7229 * gst/base/gstcollectpads.c:
7230 * gst/base/gstcollectpads.h:
7231 * gst/base/gstpushsrc.c:
7232 * gst/base/gstpushsrc.h:
7233 * gst/base/gsttypefindhelper.c:
7234 * gst/base/gsttypefindhelper.h:
7235 * gst/check/Makefile.am:
7236 * gst/check/gstcheck.c:
7237 * gst/check/gstcheck.h:
7238 * gst/net/Makefile.am:
7240 * gst/net/gstnetclientclock.c:
7241 * gst/net/gstnetclientclock.h:
7242 * gst/net/gstnettimepacket.c:
7243 * gst/net/gstnettimepacket.h:
7244 * gst/net/gstnettimeprovider.c:
7245 * gst/net/gstnettimeprovider.h:
7246 * libs/gst/Makefile.am:
7247 * libs/gst/base/Makefile.am:
7248 * libs/gst/base/gstbasetransform.c:
7249 * libs/gst/check/Makefile.am:
7250 * plugins/elements/Makefile.am:
7252 CVS surgery + support to move base, check, and net out of gst
7255 2005-11-29 Andy Wingo <wingo@pobox.com>
7257 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7259 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7262 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7264 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7266 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7268 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7269 padding; reduces object size by about 30%. We don't expect
7270 anything else to go into gstobject.
7272 * gst/gstminiobject.h (struct _GstMiniObject)
7273 (struct _GstMiniObjectClass): Only one pointer of padding; the
7274 payload is only a pointer and two ints anyway. For the class there
7275 are only two methods as well.
7277 * gst/gstelement.h (struct _GstElementClass): Removed
7278 the state_changed signal callback, it is not used.
7280 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7282 * docs/gst/gstreamer.types:
7283 fix includes, though they are a little dinky
7285 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7287 * check/Makefile.am:
7288 look in the right place for elements, a lot more chance of
7291 remove indexers and elements subdirs
7292 * plugins/Makefile.am:
7293 make indexers conditional
7295 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7299 * plugins/elements/Makefile.am:
7300 * plugins/elements/gstcapsfilter.c:
7301 * plugins/elements/gstfilesink.c:
7302 * plugins/elements/gstfilesrc.c:
7303 * plugins/elements/gstidentity.c:
7304 * plugins/indexers/Makefile.am:
7305 do CVS surgery and related build fixery to move elements
7306 and indexers in a new gstreamer/plugins directory, out of the
7309 2005-11-29 Andy Wingo <wingo@pobox.com>
7311 * check/Makefile.am:
7312 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7313 * pkgconfig/gstreamer-net.pc.in:
7314 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7317 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7319 * tools/Makefile.am:
7320 * tools/gst-complete.1.in:
7321 * tools/gst-complete.c:
7322 * tools/gst-compprep.1.in:
7323 * tools/gst-compprep.c:
7324 removing -compprep and -complete
7326 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7328 * gst/gstevent.c: (gst_event_new_new_segment),
7329 (gst_event_parse_new_segment):
7331 fix #320529 - clean up new_segment API and structure.
7332 Let's hope everyone was using the methods, and not the structure.
7334 2005-11-29 Edward Hervey <edward@fluendo.com>
7336 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7337 (gst_base_sink_event), (gst_base_sink_do_sync),
7338 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7339 Properly handle non GST_FORMAT_TIME segment
7340 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7341 Properly handle non GST_FORMAT_TIME segment
7343 This function is valid if the accumulator is 0 and the format
7344 is different from the requested format.
7346 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7348 * docs/gst/gstreamer-sections.txt:
7349 Add gst_query_new_seeking and gst_query_parse_seeking to the
7352 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7354 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7355 Treat a pad alloc with new caps the same as if we were not
7356 negotiated, in order to allow a changing upstream output
7357 to produce a new format of data.
7359 2005-11-29 Edward Hervey <edward@fluendo.com>
7361 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7362 (gst_base_transform_event), (gst_base_transform_eventfunc):
7363 The event virtual method is now properly implemented, with a default
7365 Sub classes should call the parent_class event method. They should
7366 return FALSE if they had a problem handling the given event, or don't
7367 want GstBaseTransform to send that even downstream
7368 * gst/elements/gstidentity.c: (gst_identity_class_init),
7369 (gst_identity_init), (gst_identity_event),
7370 (gst_identity_transform_ip), (gst_identity_set_property),
7371 (gst_identity_get_property):
7372 * gst/elements/gstidentity.h:
7373 Added the single-segment boolean property.
7374 If set to TRUE, it will output a single segment of data, starting from
7375 0, will eat up all incoming newsegment, and modify the timestamp of the
7378 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7380 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7381 Don't ref NULL target pad (#322751). Improve docs.
7383 2005-11-29 Michael Smith <msmith@fluendo.com>
7385 * gst/gstregistryxml.c: (load_plugin):
7386 Don't crash if we failed to load a feature from a plugin.
7388 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7390 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7392 use more check API and less GLib API
7394 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7397 don't run checks if we don't have check
7399 remove the registry when running make torture
7400 * docs/gst/gstreamer-sections.txt:
7401 remove second multiply
7402 * gst/gstqueue.c: (gst_queue_loop):
7403 fix a compile warning when disabling debug
7405 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7408 Hey! Let's print the pad name if the pointer != NULL instead
7409 of when it == NULL :-)
7411 2005-11-28 Wim Taymans <wim@fluendo.com>
7413 * check/gst/gstutils.c: (GST_START_TEST):
7414 Updated check, add some scaling accuracy checking code.
7416 * gst/gstutils.c: (gst_util_div128_64),
7417 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7418 (gst_util_uint64_scale_int):
7419 Fix 6 times faster division code. Optimize for common
7420 1/1 and less common X/1 cases.
7422 2005-11-28 Wim Taymans <wim@fluendo.com>
7424 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7427 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7428 (do_linear_regression), (gst_clock_add_observation):
7430 Release lock when the clock cannot be slaved.
7431 Catch the case where the regression returned an invalid denominator.
7433 * gst/gstutils.c: (gst_util_div128_64_iterate),
7434 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7435 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7436 Add protentially more performant non-iterative 128/64 divide function
7437 that unfortunatly does not work yet.
7438 Shortcut the trivial 0/X = 0 case.
7439 Remove the warnings on overflow.
7441 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7443 * gst/gstplugin.c: (gst_plugin_register_func):
7444 everything causing a plugin not to load should be at least a WARNING
7446 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7448 * docs/random/ensonic/dparams.txt:
7449 some TODOs for the next dev cycle
7450 * libs/gst/controller/gstcontroller.c:
7451 (gst_controlled_property_set_interpolation_mode),
7452 (gst_controlled_property_new):
7453 * libs/gst/controller/gstcontroller.h:
7454 use base type to assign acccessor functions
7456 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7458 * check/Makefile.am:
7459 Oops, that should have been top_srcdir
7461 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7463 * check/Makefile.am:
7464 * check/elements/fdsrc.c: (GST_START_TEST):
7465 Use a cmdline define to specify the location of a file to use for
7466 testing, to avoid breaking distcheck.
7468 2005-11-28 Andy Wingo <wingo@pobox.com>
7470 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7472 2005-11-28 Edward Hervey <edward@fluendo.com>
7474 * tools/gst-launch.c: (main):
7475 Clarify the output strings, makes it easier to translate.
7478 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7481 don't try and build net if we don't even have <sys/socket.h>
7483 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7485 * check/Makefile.am:
7486 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7487 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7488 Add tests for fdsrc seekability
7490 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7491 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7492 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7493 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7494 * gst/elements/gstfdsrc.h:
7495 fdsrc should not be a 'live' source.
7496 Implement seeking on seekable fd's.
7498 * gst/gstquery.c: (gst_query_new_seeking),
7499 (gst_query_parse_seeking):
7501 Implement SEEKING query functions:
7502 *_new_seeking and *_parse_seeking
7504 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7506 * gst/gstelement.c: (gst_element_dispose):
7509 * gst/gstiterator.c:
7510 * gst/gststructure.c:
7513 * libs/gst/controller/gstcontroller.c:
7514 (gst_controlled_property_set_interpolation_mode):
7515 * libs/gst/controller/gstcontroller.h:
7516 * libs/gst/controller/gstinterpolation.c:
7517 (interpolate_none_get_enum_value_array):
7518 support controlling enums
7520 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7523 Improve documentation for gst_value_union().
7526 Change return value for union, intersect and subtract functions
7527 from gint to gboolean.
7529 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7531 * gst/gstvalue.c: (gst_value_serialize_any_list),
7532 (gst_value_transform_any_list_string),
7533 (gst_value_deserialize_list), (gst_value_deserialize_array),
7534 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7535 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7536 (gst_value_set_fraction_range_full),
7537 (gst_value_deserialize_fraction_range),
7538 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7539 (gst_value_deserialize_boolean),
7540 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7541 (gst_value_serialize_float), (gst_value_deserialize_float),
7542 (gst_string_wrap), (gst_value_deserialize_string),
7543 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7544 (gst_value_union_int_range_int_range),
7545 (gst_value_intersect_int_range_int_range),
7546 (gst_value_intersect_double_range_double_range),
7547 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7548 (gst_value_subtract_int_range_int_range),
7549 (gst_value_subtract_double_double_range),
7550 (gst_value_subtract_double_range_double_range),
7551 (gst_value_deserialize_fraction):
7553 Use gint, gdouble and gchar in our API instead of int, double and
7554 char (and make usage in gstvalue.c more consistent).
7556 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7558 * check/Makefile.am:
7559 * libs/gst/controller/Makefile.am:
7560 * libs/gst/dataprotocol/Makefile.am:
7561 fix up Makefile.am and remove GST_ENABLE_NEW
7563 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7567 * gst/base/Makefile.am:
7568 * gst/check/Makefile.am:
7569 * gst/elements/Makefile.am:
7570 * gst/net/Makefile.am:
7571 update LDFLAGS use some more
7573 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7575 * common/m4/gst-doc.m4:
7578 2005-11-26 Edward Hervey <edward@fluendo.com>
7580 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7581 This shouldn't issue a g_warning since it returns NULL if it
7582 couldn't find the plugin, and all functions using this behave
7583 properly on a NULL return. Switching to a GST_WARNING.
7585 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
7587 * gst/gstbin.c: (gst_bin_handle_message_func):
7588 Don't leak clock messages.
7590 2005-11-25 Wim Taymans <wim@fluendo.com>
7592 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7593 (gst_util_uint64_scale_int):
7594 Optimisations, remove unneeded vars.
7596 2005-11-25 Wim Taymans <wim@fluendo.com>
7598 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7599 Added more checks for the high precision uint64 cases.
7601 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7602 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7603 Implement high precision (guint64 * guint64) / guint64.
7605 2005-11-24 Wim Taymans <wim@fluendo.com>
7607 * gst/base/gstbasesrc.c: (gst_base_src_query):
7608 Fix wrong percentage query.
7610 * gst/gstutils.c: (gst_util_uint64_scale),
7611 (gst_util_uint64_scale_int):
7612 Add some more common cases that can be handled
7613 efficiently to _scale.
7615 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7617 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7618 (gst_mini_object_suite):
7619 don't use check calls from threads; check probably isn't
7620 threadsafe and using a lock to make it threadsafe would
7621 defeat the purpose of this check
7622 * gst/check/gstcheck.c:
7623 * gst/check/gstcheck.h:
7624 use GST_DEBUG some more
7626 2005-11-24 Wim Taymans <wim@fluendo.com>
7628 * gst/gstutils.c: (gst_util_uint64_scale),
7629 (gst_util_uint64_scale_int):
7630 Chain trivial case to _scale_int.
7632 2005-11-24 Wim Taymans <wim@fluendo.com>
7634 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7635 Added test for scaling.
7640 * gst/gstutils.c: (gst_util_uint64_scale_int):
7641 Implemented high precision scaling code.
7643 2005-11-24 Stefan Kost <ensonic@users.sf.net>
7646 do not crash on pad==NULL
7648 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7650 Patch by: Stefan Kost
7652 * common/gtk-doc.mak:
7653 * docs/gst/Makefile.am:
7654 * docs/libs/Makefile.am:
7655 Fix distcheck issues for the libraries docs build
7658 2005-11-24 Michael Smith <msmith@fluendo.com>
7660 * docs/manual/basics-helloworld.xml:
7661 Fix bug #315027: memory leak in example code in docs.
7663 2005-11-24 Michael Smith <msmith@fluendo.com>
7665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7666 Unlock the PREROLL_LOCK in a failure case.
7668 2005-11-24 Wim Taymans <wim@fluendo.com>
7670 * docs/gst/gstreamer-sections.txt:
7671 * gst/base/gstadapter.h:
7672 * gst/base/gstbasesink.h:
7673 * gst/base/gstbasesrc.h:
7674 * gst/base/gstbasetransform.h:
7675 * gst/base/gstpushsrc.h:
7676 * gst/elements/gstfakesink.h:
7677 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7678 * gst/elements/gstfakesrc.h:
7679 * gst/elements/gstfilesink.h:
7680 * gst/elements/gstfilesrc.h:
7683 * gst/gstbuffer.c: (_gst_buffer_copy):
7686 * gst/gstchildproxy.c:
7689 * gst/gstelementfactory.c:
7690 * gst/gstelementfactory.h:
7692 * gst/gstghostpad.h:
7694 * gst/gstinterface.h:
7695 * gst/gstminiobject.c:
7696 * gst/gstminiobject.h:
7699 * gst/gstpadtemplate.h:
7700 * gst/gstpipeline.h:
7701 * gst/gstpluginfeature.h:
7706 * gst/gsttagsetter.c:
7707 * gst/gsttagsetter.h:
7710 * gst/gsttypefind.h:
7713 * gst/net/gstnetclientclock.c:
7714 * gst/net/gstnetclientclock.h:
7715 * gst/net/gstnettimepacket.c:
7716 * gst/net/gstnettimeprovider.c:
7717 * gst/net/gstnettimeprovider.h:
7720 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7722 * configure.ac: back to HEAD
7724 === release 0.9.6 ===
7726 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7729 releasing 0.9.6, "Always On Time"
7731 2005-11-23 Wim Taymans <wim@fluendo.com>
7733 * docs/gst/gstreamer-sections.txt:
7734 * gst/glib-compat.c:
7735 * gst/gsttagsetter.c:
7737 * gst/net/gstnetclientclock.c:
7738 * gst/net/gstnettimepacket.h:
7741 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7743 * docs/faq/using.xml:
7744 * docs/libs/tmpl/gstcontrol.sgml:
7745 * docs/manual/advanced-dparams.xml:
7746 * docs/manual/appendix-checklist.xml:
7747 * docs/manual/basics-elements.xml:
7748 * docs/pwg/other-source.xml:
7749 * docs/random/moving-plugins:
7751 * tools/gst-launch.1.in:
7752 remove mentions of sinesrc
7754 2005-11-23 Michael Smith <msmith@fluendo.com>
7756 * docs/gst/gstreamer-sections.txt:
7757 Update for new API and API changes.
7759 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7761 Documentation typo fix.
7762 * gst/net/gstnettimepacket.c:
7763 Documentation fixes for arguments.
7765 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
7767 * gst/gststructure.c: (gst_structure_get_fraction),
7768 (gst_structure_parse_value),
7769 (gst_structure_fixate_field_nearest_fraction):
7770 * gst/gststructure.h:
7771 * gst/gstutils.c: (gst_util_uint64_scale_int):
7773 * scripts/update-funcnames:
7775 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7776 Make gst_structure_fixate_field_nearest_fraction take a numerator
7777 and denominator argument instead of a GValue
7778 add gst_structure_get_fraction helper function.
7780 2005-11-23 Wim Taymans <wim@fluendo.com>
7782 * docs/design/part-TODO.txt:
7785 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7786 * gst/net/gstnetclientclock.h:
7787 Use parent fields for timeout and window_size.
7789 2005-11-23 Andy Wingo <wingo@pobox.com>
7791 * check/net/gstnetclientclock.c (test_functioning): Adjust to
7792 rate_num/rate_denom change.
7794 * gst/net/gstnetclientclock.c
7795 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7796 OBJECT_LOCK. Don't call add_observation with the lock.
7798 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7800 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7802 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7803 deal with rate as a fraction whose numerator and denominator are
7804 GstClockTime values.
7805 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7806 master; the other fields are protected by the SLAVE_LOCK.
7807 (do_linear_regression): Note that this must be called with the
7809 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7810 OBJECT_LOCK. Call set_calibration instead of touching the
7812 (gst_clock_set_property, gst_clock_get_property): Protect
7813 master/slave parameters with the SLAVE_LOCK.
7815 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7816 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7817 note that all of the instance variables that add_observation and
7818 the set_master functions use are protected by that lock and not
7820 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7822 * gst/gstclock.c (gst_clock_add_observation): No longer requires
7823 the caller to take the object lock.
7825 2005-11-23 Wim Taymans <wim@fluendo.com>
7827 * gst/gsterror.c: (_gst_core_errors_init):
7829 Add error for clock stuff.
7831 * gst/gstpipeline.c: (gst_pipeline_change_state),
7832 (gst_pipeline_set_clock):
7833 Post clock error when clock cannot be used in a pipeline.
7835 2005-11-23 Stefan Kost <ensonic@users.sf.net>
7837 * docs/gst/gstreamer-sections.txt:
7838 make two symbols from gstinfo private for the docs
7839 * gst/base/gstcollectpads.h:
7841 fix doc typos, update docs
7843 2005-11-22 Wim Taymans <wim@fluendo.com>
7845 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7846 (gst_base_sink_wait), (gst_base_sink_do_sync),
7847 (gst_base_sink_handle_event):
7848 * gst/base/gstbasesink.h:
7849 No need to store the clock, the parent element class already
7852 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7853 Updates for clock_set returning a gboolean
7855 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7856 (gst_clock_id_wait_async), (gst_clock_class_init),
7857 (gst_clock_init), (gst_clock_finalize),
7858 (gst_clock_get_internal_time), (gst_clock_get_time),
7859 (gst_clock_slave_callback), (gst_clock_set_master),
7860 (gst_clock_get_master), (do_linear_regression),
7861 (gst_clock_add_observation), (gst_clock_set_property),
7862 (gst_clock_get_property):
7864 Implement master/slave. When setting a clock as a slave, a
7865 periodic timeout is scheduled to sample master and slave times.
7866 Then the slave clock is recalibrated to match offset and rate
7867 of the master clock.
7868 Update logging a bit.
7869 Add flag so that a clock can state that is cannot be slaved to
7872 * gst/gstelement.c: (gst_element_set_clock):
7874 The set clock returns a gboolean for when an element cannot
7875 deal with the selected clock in the pipeline.
7877 * gst/gstpipeline.c: (gst_pipeline_change_state),
7878 (gst_pipeline_set_clock):
7879 * gst/gstpipeline.h:
7880 Handle the case where the selected clock cannot be set on
7883 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
7884 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7885 (gst_net_client_clock_set_property),
7886 (gst_net_client_clock_get_property),
7887 (gst_net_client_clock_observe_times):
7888 * gst/net/gstnetclientclock.h:
7889 Use regression code in GstClock parent, remove duplicated
7892 2005-11-22 Michael Smith <msmith@fluendo.com>
7894 * gst/gstutils.c: (gst_util_clock_time_scale):
7896 * docs/gst/gstreamer-sections.txt:
7897 Rename method to have extra underscore.
7899 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
7901 * gst/elements/Makefile.am:
7902 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
7903 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7904 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7905 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
7906 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
7907 * gst/elements/gstfakesrc.h:
7908 * gst/gstqueue.c: (queue_leaky_get_type):
7909 correctly fix GEnumValues so that nick is the short lowercase
7911 * tools/gst-inspect.c: (print_element_properties_info):
7912 also show the nick, since it's useful to use from parse_launch
7916 2005-11-22 Michael Smith <msmith@fluendo.com>
7918 * gst/gstutils.c: (gst_util_clocktime_scale):
7920 * docs/gst/gstreamer-sections.txt:
7921 Add util method for scaling a clocktime by a fraction. Useful
7922 implementation is left as an exercise for the reader.
7924 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7926 * gst/gstvalue.c: (gst_value_collect_fraction_range):
7927 If needed, allocate storage in the destination value during
7930 2005-11-22 Edward Hervey <edward@fluendo.com>
7932 * docs/gst/gstreamer-sections.txt:
7937 * gst/gstutils.c: (gst_util_set_object_arg):
7938 * tools/gst-compprep.c: (main):
7939 * tools/gst-inspect.c: (print_element_properties_info):
7940 Removed GstURI, closes bug #321061
7942 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7944 * check/gst/gststructure.c: (GST_START_TEST):
7945 * gst/gststructure.c: (gst_structure_parse_value):
7946 Oops, broke automatic string type parsing.
7947 Add a test to catch it in future.
7949 2005-11-22 Andy Wingo <wingo@pobox.com>
7951 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
7952 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7953 Actually rename the function implementations. Grr.
7955 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7957 * check/gst/capslist.h:
7959 * check/gst/gststructure.c: (GST_START_TEST),
7960 (gst_structure_suite):
7961 Test automatic value type detection in gst_structure_from_string.
7962 * gst/gststructure.c: (gst_structure_parse_value):
7963 Add fraction as a type we try and guess automatically in
7964 caps/structure strings.
7966 2005-11-22 Andy Wingo <wingo@pobox.com>
7968 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
7970 * gst/gsttagsetter.h:
7971 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
7972 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
7973 (gst_tag_setter_add_tag_valist)
7974 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
7975 _add_values, _add_valist, and _add_valist_values. Since this is an
7976 interface the function suffixes should be more explicit so
7977 language binding don't end up with element.add_valist ->
7978 gst_tag_setter_add_valist, for example. Fixes #322069.
7980 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7982 * check/gst/gstcaps.c: (GST_START_TEST):
7983 Extend caps string tests to check that a caps to string
7984 conversion is reversible and produces the same caps.
7986 * gst/gststructure.c: (gst_structure_value_get_generic_type):
7987 Output "fraction" as the generic type fraction range, so caps
7988 serialisation and deserialisation works.
7989 * check/gst/capslist.h:
7990 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7991 Support 'MIN' and 'MAX' for deserialising fractions.
7993 2005-11-22 Andy Wingo <wingo@pobox.com>
7995 * gst/gstevent.h (gst_event_new_new_segment)
7996 (gst_event_parse_new_segment, gst_event_new_buffer_size)
7997 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
7998 Renamed from *_newsegment, *_buffersize, *_notarget.
8000 * scripts/update-funcnames: New script, performs the changes
8003 2005-11-22 Wim Taymans <wim@fluendo.com>
8005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8006 Make sure the GstFlowReturn is returned.
8008 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8009 (gst_bus_add_signal_watch):
8011 add gst_bus_add_signal_watch_full.
8013 * gst/gstplugin.c: (gst_plugin_load_file):
8014 Small style cleanup.
8016 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8018 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8019 Block the fakesrc srcpad when we send an event, to avoid
8020 contention on the stream_lock causing random test failures.
8022 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8024 * check/gst/gstvalue.c: (GST_START_TEST):
8025 * gst/gstvalue.c: (gst_value_fraction_subtract):
8028 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8031 include "gstchildproxy.h"
8032 * gst/gstchildproxy.h:
8033 * libs/gst/controller/gstcontroller.h:
8034 use G_GNUC_NULL_TERMINATED
8036 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8038 * check/gst/capslist.h:
8039 * check/gst/gstcaps.c: (GST_START_TEST):
8040 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8041 * gst/gststructure.c: (gst_structure_parse_range),
8042 (gst_structure_fixate_field_nearest_fraction):
8043 * gst/gststructure.h:
8044 * gst/gstvalue.c: (gst_value_init_fraction_range),
8045 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8046 (gst_value_collect_fraction_range),
8047 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8048 (gst_value_set_fraction_range_full),
8049 (gst_value_get_fraction_range_min),
8050 (gst_value_get_fraction_range_max),
8051 (gst_value_serialize_fraction_range),
8052 (gst_value_transform_fraction_range_string),
8053 (gst_value_compare_fraction_range),
8054 (gst_value_deserialize_fraction_range),
8055 (gst_value_intersect_fraction_fraction_range),
8056 (gst_value_intersect_fraction_range_fraction_range),
8057 (gst_value_subtract_fraction_fraction_range),
8058 (gst_value_subtract_fraction_range_fraction),
8059 (gst_value_subtract_fraction_range_fraction_range),
8060 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8061 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8062 (gst_value_transform_string_fraction), (_gst_value_initialize):
8064 Implement fraction ranges and extend GstFraction to support
8065 arithmetic subtraction, as well as deserialization from integer
8066 strings such as "100"
8067 Add a testsuite as for int and double range set operations
8069 2005-11-21 Andy Wingo <wingo@pobox.com>
8073 * gst/gststructure.h: Add glib-compat.h.
8075 2005-11-21 Wim Taymans <wim@fluendo.com>
8077 * gst/gstbin.c: (gst_bin_change_state_func):
8080 2005-11-21 Wim Taymans <wim@fluendo.com>
8083 And add a nice define too.
8085 2005-11-21 Wim Taymans <wim@fluendo.com>
8087 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8088 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8089 (gst_segment_set_duration), (gst_segment_set_last_stop),
8090 (gst_segment_set_seek), (gst_segment_set_newsegment),
8091 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8094 Make binding friendly.
8096 2005-11-21 Andy Wingo <wingo@pobox.com>
8098 * gst/gsttagsetter.h:
8100 * gst/gststructure.h:
8102 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8105 * gst/gsterror.c (_gst_core_errors_init):
8106 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8109 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8110 (noinst_HEADERS): noinst the -private.
8112 2005-11-21 Michael Smith <msmith@fluendo.com>
8115 * gst/gstregistry.h:
8116 Remove unimplemented declarations for which we can see no sensible
8119 2005-11-21 Andy Wingo <wingo@pobox.com>
8121 * gst/gst.h: Include glib-compat.h.
8123 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8125 * gst/glib-compat.c: Include the public and the private header.
8127 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8131 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8133 * check/gst/gstevent.c (create_custom_events): Check that
8134 FLUSH_STOP is serialized.
8136 * check/elements/identity.c (event_func):
8137 * check/elements/fakesrc.c (event_func): No stream lock, the core
8140 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8141 stream lock taking, yay.
8143 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8144 ensure that core takes the stream lock.
8146 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8149 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8150 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8151 it already. For the flush start we do take it though so we get the
8152 right preroll state change messages.
8154 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8155 the stream lock here, the core does it for us.
8157 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8158 GST_STREAM_GET_LOCK.
8159 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8160 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8161 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8162 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8163 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8164 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8166 * gst/gstpad.c: Update for stream lock name change.
8168 * gst/base/gstbasesink.c: Update for preroll lock name change.
8170 2005-11-21 Wim Taymans <wim@fluendo.com>
8172 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8173 (gst_clock_get_master):
8175 * gst/gstsystemclock.c: (gst_system_clock_init):
8176 Convert Clock flags to object flags.
8177 Added methods to manage master/slave clocks.
8179 2005-11-21 Wim Taymans <wim@fluendo.com>
8181 * check/gst/gstsegment.c: (GST_START_TEST):
8182 * docs/design/part-TODO.txt:
8183 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8184 (gst_base_sink_event), (gst_base_sink_do_sync),
8185 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8186 (gst_base_sink_query), (gst_base_sink_change_state):
8187 * gst/base/gstbasesink.h:
8188 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8189 (gst_base_src_default_newsegment),
8190 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8191 (gst_base_src_get_range), (gst_base_src_loop),
8192 (gst_base_src_change_state):
8193 * gst/base/gstbasesrc.h:
8194 * gst/base/gstbasetransform.c:
8195 (gst_base_transform_prepare_output_buf),
8196 (gst_base_transform_event), (gst_base_transform_change_state):
8197 * gst/base/gstbasetransform.h:
8198 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8199 (gst_collect_pads_event):
8200 * gst/base/gstcollectpads.h:
8201 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8202 (gst_fake_src_create):
8203 * gst/elements/gstfakesrc.h:
8204 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8205 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8206 (gst_segment_set_last_stop), (gst_segment_set_seek),
8207 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8208 (gst_segment_to_running_time), (gst_segment_clip):
8210 More segment updates, replace code in plugins with segment
8213 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8215 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8216 Don't ignore sscanf results
8218 2005-11-21 Andy Wingo <wingo@pobox.com>
8220 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8223 * *.c: Ran scripts/update-macros. Oh yes.
8225 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8226 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8229 * scripts/update-macros: New script. Run it on your files to
8230 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8233 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8235 * docs/gst/Makefile.am:
8236 * docs/gst/gstreamer-docs.sgml:
8237 * docs/gst/gstreamer-sections.txt:
8238 * docs/gst/gstreamer.types:
8240 more docs fixes, add new api to the docs
8242 2005-11-21 Andy Wingo <wingo@pobox.com>
8244 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8245 state_broadcast call.
8247 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8249 2005-11-21 Julien MOUTTE <julien@moutte.net>
8251 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8252 function calls for arrays.
8254 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8256 * docs/random/ensonic/media-device-daemon.txt:
8257 wild idea, can this be done?
8258 * docs/gst/gstreamer-sections.txt:
8263 * gst/gstpluginfeature.c:
8267 doc fixes and additions
8269 2005-11-21 Andy Wingo <wingo@pobox.com>
8271 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8272 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8273 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8274 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8275 private to the basesrc implementation.
8277 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8278 behalf of event function if necessary. It should no longer be
8279 necessary to take the stream lock in pad's event functions. Fixes
8282 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8283 * docs/gst/gstreamer-sections.txt:
8284 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8285 (gst_structure_fixate_field_nearest_double),
8286 (gst_structure_fixate_field_boolean):
8287 * gst/gststructure.h:
8288 * win32/common/libgstreamer.def:
8289 * win32/gstreamer.def:
8291 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8294 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8296 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8297 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8298 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8299 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8300 (gst_fdsrc_uri_handler_init):
8301 * gst/elements/gstfdsrc.h:
8302 Port fd:// URI handler from 0.8 to fdsrc
8304 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8306 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8307 (gst_value_serialize_fourcc):
8309 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8310 consistent with our other format defines (#320324).
8312 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8314 * gst/gstvalue.c: (gst_value_is_fixed):
8315 Revert previous commit. Value lists are by definition
8316 not fixed, as they are a list of possible values.
8318 2005-11-21 Andy Wingo <wingo@pobox.com>
8320 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8321 during the stable series if we need it. Fixes #319178.
8323 * gst/gstevent.c (gst_event_new_filler): Removed.
8325 * check/gst/gstevent.c: Update comment about filler events.
8327 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8329 * gst/gstvalue.c: (gst_value_is_fixed):
8330 Should handle both value arrays and value lists.
8332 2005-11-21 Andy Wingo <wingo@pobox.com>
8334 patch by: Alessandro Dessina <alessandro nnva org>
8336 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8337 functions to access arrays. Fixes #321962.
8339 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8341 * docs/gst/gstreamer.types:
8342 gst_collectpads_get_type => gst_collect_pads_get_type.
8344 * gst/base/gstbasetransform.c:
8345 Remove unused SIGNAL_HANDOFF enum.
8347 2005-11-21 Andy Wingo <wingo@pobox.com>
8349 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8350 the event type (upstream, downstream, serialized). Renamed
8351 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8352 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8353 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8355 * gst/gstevent.c: Update for new CUSTOM event names.
8357 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8360 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8363 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8365 * docs/gst/gstreamer-sections.txt:
8366 * win32/common/libgstbase.def:
8367 * win32/libgstbase.def:
8368 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8369 (gst_collect_pads_class_init), (gst_collect_pads_init),
8370 (gst_collect_pads_finalize), (gst_collect_pads_new),
8371 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8372 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8373 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8374 (gst_collect_pads_start), (gst_collect_pads_stop),
8375 (gst_collect_pads_peek), (gst_collect_pads_pop),
8376 (gst_collect_pads_available), (gst_collect_pads_read),
8377 (gst_collect_pads_flush), (gst_collect_pads_event),
8378 (gst_collect_pads_chain):
8379 * gst/base/gstcollectpads.h:
8380 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8381 unimplemented functions as unimplemented. Add padding to
8382 GstCollectData. (#320766, #320423)
8384 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8387 Improve docs for DURATION message (usage of duration parameter)
8390 2005-11-20 Wim Taymans <wim@fluendo.com>
8392 * check/Makefile.am:
8393 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8397 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8398 (gst_segment_set_seek), (gst_segment_set_newsegment),
8399 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8402 Added segment helper structure and methods. Not fully implemented
8404 Added segment check.
8406 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8408 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8409 Add a deserialisation test for fractions
8410 * examples/metadata/read-metadata.c: (message_loop),
8411 (make_pipeline), (main):
8412 Fix up metadata reading sample.
8413 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8415 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8416 Don't try and fixate empty caps
8417 * gst/gst_private.h:
8418 Wrap in G_BEGIN_DECLS/G_END_DECLS
8419 * gst/gstvalue.c: (gst_value_collect_fraction),
8420 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8421 (gst_value_transform_string_fraction),
8422 (gst_value_compare_fraction):
8423 Add some extra guards to ensure that we don't end up
8424 with an invalid denominator of 0 in a gstfraction and
8425 that fractions always get reduced.
8427 2005-11-20 Wim Taymans <wim@fluendo.com>
8429 * docs/gst/gstreamer-sections.txt:
8440 2005-11-20 Wim Taymans <wim@fluendo.com>
8442 * docs/design/part-TODO.txt:
8444 Make a proper enum of the flag.
8446 2005-11-19 Wim Taymans <wim@fluendo.com>
8448 * docs/design/part-TODO.txt:
8449 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8450 (gst_format_to_quark), (gst_format_register):
8452 * gst/gstquery.c: (_gst_query_initialize),
8453 (gst_query_type_get_name), (gst_query_type_to_quark),
8454 (gst_query_type_register):
8456 Add type to quark and type to string conversions.
8458 2005-11-19 Andy Wingo <wingo@pobox.com>
8460 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8463 2005-11-19 Wim Taymans <wim@fluendo.com>
8465 * docs/design/part-TODO.txt:
8466 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8467 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8468 (gst_bin_handle_message_func):
8470 Make message handling overridable.
8472 2005-11-19 Andy Wingo <wingo@pobox.com>
8474 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8477 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8479 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8480 is a GstClockTime. Fixes #321710.
8482 * gst/gstclock.h (GstClock): Remove offset property. Add
8483 internal_calibration and external_calibration. Fix padding. Pad
8484 also by GstClockTime so we don't run into problems.
8486 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8487 (gst_clock_get_rate_offset): Remove.
8488 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8491 * gst/gstutils.c (g_static_rec_cond_wait)
8492 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8494 * gst/gstbin.c: Remove terrible continue_state prototype.
8496 * gst/gstelement.h (gst_element_continue_state): Make public.
8499 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8500 by continue_state. Fixes #319389.
8502 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8503 Really fixes #168438. However I don't see anywhere where the
8504 filter function is called... stupid GStreamer...
8506 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8507 don't have a dispose function, so it won't get called when the
8508 object is unreffed, but oh well!
8510 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8511 allows a destroy function to be set so user_data can be freed.
8513 (gst_index_set_filter): Call gst_index_set_filter_full.
8515 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8517 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8518 string should produce an error, given the lack of a way to
8519 represent NULL strings. Fixes #165650.
8522 * gst/gstvalue.c (gst_value_array_append_value)
8523 (gst_value_array_prepend_value, gst_value_array_get_size)
8524 (gst_value_array_get_value): New API, copied from
8525 gst_value_list_*, only operates on arrays.
8526 (gst_value_list_append_value, gst_value_list_prepend_value)
8527 (gst_value_list_concat, gst_value_list_get_size)
8528 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8530 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8531 init_list, because it works on both.
8532 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8533 (gst_value_copy_list_or_array): Renamed from copy_list.
8534 (gst_value_free_list_or_array): Renamed from free_list.
8535 (gst_value_collect_list_or_array): Renamed from collect_list.
8536 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8537 (gst_value_list_or_array_peek_pointer): Renamed from
8539 (_gst_value_array_value_table, _gst_value_list_value_table):
8540 Update value table functions.
8541 (gst_value_compare_list_or_array): Renamed from compare_list.
8543 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8547 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8548 GstTagList*. Fixes #143472.
8550 * gst/gststructure.h: Clarify what the foreach/map functions can
8551 or can't do to their arguments.
8553 2005-11-18 Wim Taymans <wim@fluendo.com>
8555 * gst/gstclock.c: (gst_clock_set_calibration),
8556 (gst_clock_get_calibration):
8558 Calibration can be set with internal time equal to current
8561 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
8567 2005-11-18 Andy Wingo <wingo@pobox.com>
8570 * pkgconfig/gstreamer-net.pc.in:
8571 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8572 * pkgconfig/Makefile.am: Add net pkgconfig files.
8574 2005-11-18 Stefan Kost <ensonic@users.sf.net>
8577 * gst/gstghostpad.c:
8583 2005-11-18 Andy Wingo <wingo@pobox.com>
8585 * gst/net/gstnetclientclock.c: Turn off debugging.
8587 * check/net/gstnetclientclock.c (test_functioning): Assert that the
8588 times connverge somewhat. Can't make a real test.
8590 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8591 integer arithmetic. Return the minimum of the domain, which can be
8592 set as "internal" for gst_clock_set_calibration.
8593 (gst_net_client_clock_observe_times): Call _set_calibration.
8594 (gst_net_client_clock_new): Call _set_calibration instead of
8597 * check/net/gstnetclientclock.c (test_functioning): Use the right
8601 * gst/gstclock.c (gst_clock_get_calibration)
8602 (gst_clock_set_calibration): New functions, obsolete the ones I
8603 added yesterday. Doh. Precision issues mean we have to extrapolate
8604 from a point in the more recent past than 1970.
8605 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8607 (gst_clock_adjust_unlocked): Use the right calibration data.
8609 2005-11-18 Edward Hervey <edward@fluendo.com>
8611 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8612 Also reset the ->current_* values in READY->PAUSED
8614 2005-11-18 Andy Wingo <wingo@pobox.com>
8616 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8617 Whoops, check the right fd. Also add some debugging.
8618 (gst_net_client_clock_observe_times): Adjust for int64 offset.
8619 (do_linear_regression): Add a crapload of debugging. Subtract off
8620 the minimum values from the input series to discard unneeded bits.
8621 Use only int arithmetic. There is still double arithmetic when
8622 calculating the intercept that needs fixing. Return boolean to
8623 indicate success; FALSE would mean the domain or range is too
8624 great. Still needs fixes.
8626 2005-11-18 Wim Taymans <wim@fluendo.com>
8628 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8629 For the current position in stream time, we need to subtract
8632 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8633 Release lock before calling the callback function of async
8636 2005-11-18 Andy Wingo <wingo@pobox.com>
8638 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8639 Port goes all the way to MAXUINT16.
8641 * gst/net/gstnettimeprovider.c: Make the port range the same as
8642 for the kernel: 0 assigns, otherwise ports are less than
8645 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8648 * check/net/gstnetclientclock.c (test_functioning): Add the start
8651 2005-11-18 Wim Taymans <wim@fluendo.com>
8653 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8654 (gst_bin_remove_func), (bin_bus_handler):
8656 Removing a clock provider from a bin, triggers a clock lost message
8657 so that a new clock will be selected.
8658 Adding a clock to a bin triggers a clock provider message.
8659 Make sure we reselect a clock when we received a clock lost message.
8660 Keep a reference to the element that provided the clock.
8662 2005-11-18 Andy Wingo <wingo@pobox.com>
8664 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8665 the clock initially so it produces values around the base time.
8666 (gst_net_client_clock_class_init): Typo fix.
8667 (gst_net_client_clock_thread): Add note on when the socket gets
8670 2005-11-17 Wim Taymans <wim@fluendo.com>
8672 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8673 Free remote and local time arrays.
8675 2005-11-17 Wim Taymans <wim@fluendo.com>
8677 * gst/net/gstnetclientclock.c: (do_linear_regression),
8678 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8679 Fix compilation, uninitialized vars and a forgotten continue.
8681 2005-11-17 Andy Wingo <wingo@pobox.com>
8683 * check/Makefile.am (check_PROGRAMS):
8684 * check/net/gstnetclientclock.c: Add a most minimal test for the
8685 net client clock. More to come later.
8688 * gst/net/Makefile.am: Add netclientclock.
8690 * gst/net/gstnetclientclock.h:
8691 * gst/net/gstnetclientclock.c: New files, implement an untested
8692 GstClock that takes its time from a network time provider.
8693 Implements the algorithm in network-clock.scm.
8695 * tests/network-clock.scm (*window-size*): Rename from
8697 * tests/network-clock.scm (network-time):
8698 * tests/network-clock-utils.scm (q-push): Update callers.
8700 2005-11-17 Wim Taymans <wim@fluendo.com>
8702 * gst/gstbin.c: (gst_bin_provide_clock_func),
8703 (gst_bin_sort_iterator_new):
8704 And unref the child too..
8706 2005-11-17 Wim Taymans <wim@fluendo.com>
8708 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8709 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8710 Refactor the sort iterator so it can be used while holding the
8712 Make clock selection select a clock closest to the source.
8714 2005-11-17 Michael Smith <msmith@fluendo.com>
8716 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8717 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8719 Anonymous structs are a gcc (and some other compilers) extension, so
8720 don't use them. Since this is only for ABI-compatibility, and our
8721 API/ABI freeze is over in a few days, this whole thing will only
8722 last a few days, so don't bother trying to think up a meaningful
8723 name for the struct.
8725 2005-11-17 Andy Wingo <wingo@pobox.com>
8727 * gst/gstclock.h (GstClock): Add rate and offset properties,
8728 preserving ABI stability. Add rate/offset accessors. Will file bug
8729 for the freeze break.
8731 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8732 and offset, trying to keep precision and avoiding
8734 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8735 functions. Make gst_clock_set_time_adjust obsolete.
8736 (gst_clock_set_time_adjust): Note that this function is obsolete.
8739 * gst/base/gstbasetransform.h: Make the ABI-stability hack
8740 greppable by using GST_PADDING-1+1.
8742 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
8744 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8746 * gst/gstmessage.c: (gst_message_parse_clock_lost):
8747 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8749 * gst/gstpadtemplate.h:
8750 * gst/gstpluginfeature.h:
8751 Don't use c++ style comments in headers (#321638).
8753 2005-11-16 Andy Wingo <wingo@pobox.com>
8755 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8758 * check/net/gstnettimeprovider.c: Check to see that the time
8759 provider actually provides times. Works, yo!
8761 2005-11-16 Wim Taymans <wim@fluendo.com>
8763 * check/Makefile.am:
8766 * check/elements/fakesrc.c: (GST_START_TEST):
8767 Set element to NULL before disposing it.
8769 2005-11-16 Andy Wingo <wingo@pobox.com>
8771 * gst/net/Makefile.am:
8773 * gst/net/gstnettimeprovider.c:
8774 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8775 provider, include it from gstnet.h, and add it to the build.
8777 * gst/net/gstnettimepacket.h:
8778 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8779 sending and receiving.
8781 2005-11-16 Wim Taymans <wim@fluendo.com>
8783 * check/Makefile.am:
8784 Enable valgrind check.
8786 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8787 (gst_fake_src_alloc_buffer):
8790 2005-11-16 Wim Taymans <wim@fluendo.com>
8792 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8793 Call parent finalize too.
8795 2005-11-16 Wim Taymans <wim@fluendo.com>
8797 * check/Makefile.am:
8798 Enable valgrind check that should work fine now.
8800 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8801 * gst/gstqueue.c: (gst_queue_init):
8802 Fix memleaks in pad allocation.
8804 2005-11-16 Andy Wingo <wingo@pobox.com>
8806 * gst/net/Makefile.am:
8807 * gst/net/gstnet.h: New part of core to hold network elements and
8808 objects. Put in core because it exposes API that applications want
8809 to use. The library is named libgstnet-tempname right now because
8810 of the existing libgstnet in gst-plugins-base. Solution is
8811 probably to rename the one in plugins-base; will file a bug for
8814 * gst/net/gstnettimeprovider.c:
8815 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8816 get_time call over the network.
8819 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8821 * check/Makefile.am:
8822 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8823 get additions shortly.
8825 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8827 * gst/gstpad.c: (gst_pad_new_from_static_template):
8829 add gst_pad_new_from_static_template functions
8830 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8831 (gst_check_setup_sink_pad):
8832 * gst/elements/gsttee.c: (gst_tee_init):
8835 2005-11-16 Wim Taymans <wim@fluendo.com>
8837 * gst/gstpad.c: (gst_pad_pause_task):
8838 Removed warning, it's not really an error either.
8840 2005-11-16 Wim Taymans <wim@fluendo.com>
8842 * gst/base/gstbasetransform.c:
8843 (gst_base_transform_prepare_output_buf),
8844 (gst_base_transform_event):
8845 Check if the caps are NULL, this can happen if the element
8846 is shutting down and the pad caps are set to NULL.
8848 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8850 * gst/elements/gsttee.c: (gst_tee_init):
8851 fix pad template leak in tee
8853 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8855 * gst/glib-compat.c: (g_value_dup_gst_object):
8856 * gst/glib-compat.h:
8857 * gst/gstpad.c: (gst_pad_set_property):
8858 use gst_object_ref when setting the pad template; this will
8859 trigger the pad template leaks on GLib 2.6 and the slaves
8861 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8863 * gst/glib-compat.c: (gst_flags_get_first_value):
8864 * gst/glib-compat.h:
8865 * gst/gstregistryxml.c:
8866 remove functions copied from GLib 2.6
8868 2005-11-16 Michael Smith <msmith@fluendo.com>
8871 Don't link against VALGRIND_LIBS. That was always the wrong thing to
8872 do, but only breaks with newer valgrind versions. We're not a
8873 valgrind tool, we have no link-time dependencies on libcoregrind.
8875 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8877 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8882 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8884 * gst/base/gstbasesrc.c: (gst_base_src_init):
8885 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8886 * gst/gstqueue.c: (gst_queue_init):
8887 * gst/gstregistryxml.c: (load_feature):
8888 Revert all these unrefs, they don't even pass make check !
8890 2005-11-15 Johan Dahlin <johan@gnome.org>
8892 * gst/base/gstbasesrc.c: (gst_base_src_init):
8893 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8894 * gst/gstqueue.c: (gst_queue_init):
8895 Free pad templates, fixes a couple of leaks.
8897 2005-11-15 Daniel Fischer <dan at f3c dot com>
8899 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8901 * gst/gstpad.c: (gst_pad_get_property):
8902 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
8903 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
8906 2005-11-15 Wim Taymans <wim@fluendo.com>
8911 2005-11-15 Andy Wingo <wingo@pobox.com>
8913 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
8915 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
8916 using GST_CLOCK_TIME_NONE to disable base time management.
8917 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
8918 time if it was NONE before.
8919 (gst_pipeline_change_state): Only munge the base time if
8920 stream_time != GST_CLOCK_TIME_NONE.
8922 * check/gst/gstpipeline.c (test_base_time): Punt around the
8923 problem of the probe not being called, because that's not the
8924 issue I'm looking at. Add a check that setting stream_time to NONE
8925 disables base time management.
8927 2005-11-15 Wim Taymans <wim@fluendo.com>
8929 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8930 segment_stop == -1 at startup.
8932 * gst/base/gstbasetransform.c: (gst_base_transform_event),
8933 (gst_base_transform_change_state):
8934 Init segment values at start.
8936 2005-11-15 Wim Taymans <wim@fluendo.com>
8938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8939 0 segment values are 0 in any format.
8941 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8942 * gst/base/gstbasetransform.h:
8943 Parse newsegment correctly in basetransform
8945 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8946 Sync to clock using updated segment values.
8948 2005-11-15 Andy Wingo <wingo@pobox.com>
8950 * check/gst/gstpipeline.c (test_base_time): Add check that the
8951 base time and stream time are reset correctly.
8953 2005-11-15 Wim Taymans <wim@fluendo.com>
8955 * docs/design/part-TODO.txt:
8956 Some more TODO items.
8958 2005-11-15 Andy Wingo <wingo@pobox.com>
8960 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8961 error if the user selected "no clock" as the clocking method.
8963 * check/gst/gstpipeline.c (test_base_time): New test for buffer
8964 timestamps with live capture.
8966 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
8967 is 0 but we are a live source, timestamp the buffers using the
8970 2005-11-14 Stefan Kost <ensonic@users.sf.net>
8972 * docs/gst/gstreamer-sections.txt:
8974 * gst/gstghostpad.c:
8979 2005-11-14 Wim Taymans <wim@fluendo.com>
8982 add suppressions from Wim's Debian machine
8984 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
8987 add suppressions from Andy's AMD64 Ubuntu machine
8989 2005-11-14 Andy Wingo <wingo@pobox.com>
8991 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
8992 STATE_LOCK not necessary. Fixes #311489.
8994 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
8997 * gst/gstindex.c (gst_index_add_object): Note in the docs that
8998 this function is not implemented.
9000 2005-11-14 Julien MOUTTE <julien@moutte.net>
9002 * gst/base/gstbasetransform.c:
9003 (gst_base_transform_prepare_output_buf):
9004 Ref the source pad caps while we need them.
9007 2005-11-11 Wim Taymans <wim@fluendo.com>
9009 * docs/gst/gstreamer-sections.txt:
9010 Added some docs for GstCollectData.
9012 * gst/base/gstadapter.c:
9013 Some small code example fix.
9015 * gst/base/gstcollectpads.c:
9016 * gst/base/gstcollectpads.h:
9019 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9021 * configure.ac: back to HEAD
9023 === release 0.9.5 ===
9025 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9028 releasing 0.9.5, "Bike Lunch Day"
9030 2005-11-11 Wim Taymans <wim@fluendo.com>
9032 * gst/gstbuffer.c: (_gst_buffer_copy):
9035 * gst/gstcaps.c: (gst_caps_is_equal):
9037 Make _is_equal fast in the trivial cases.
9039 * gst/gstminiobject.c:
9040 * gst/gstminiobject.h:
9041 More docs. Spifify .h file.
9046 2005-11-11 Wim Taymans <wim@fluendo.com>
9048 * gst/base/gstbasetransform.c:
9049 (gst_base_transform_prepare_output_buf),
9050 (gst_base_transform_handle_buffer):
9052 If we're processing a buffer and need to allocate an output
9053 buffer, we cannot accept a format change. If we did get a
9054 format change, we have to alloc a buffer ourselves of the
9057 2005-11-11 Wim Taymans <wim@fluendo.com>
9059 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9060 While checking the flag for reentrancy in the gstcaps function
9061 is nice to detect recursive invocations, it also makes it
9062 impossible to call getcaps from multiple threads, which must be
9063 possible. So, checking for recursive calls has to go.
9065 2005-11-11 Michael Smith <msmith@fluendo.com>
9067 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9068 Don't sync on buffers that fall partially outside our current
9069 segment. Prevents an assertion failure/abort playing some files.
9071 2005-11-10 Andy Wingo <wingo@pobox.com>
9073 * check/gst/gstbin.c (test_message_state_changed_children): Style
9076 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9077 gst_bus_poll with the signal watch. Ensures that poll and a signal
9078 watch see the same messages.
9080 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9081 a poll and a watch at the same time get the same messages.
9083 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9085 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9086 * gst/gstcaps.c: (gst_caps_intersect):
9087 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9088 and it's not needed.
9090 2005-11-10 Wim Taymans <wim@fluendo.com>
9092 * docs/design/part-TODO.txt:
9095 2005-11-10 Wim Taymans <wim@fluendo.com>
9097 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9098 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9099 (gst_base_src_do_sync), (gst_base_src_get_range):
9100 Implement clock sync in base class.
9102 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9104 patch by: Tim-Philipp Müller <tim at centricular dot net>
9106 * gst/gststructure.c: (gst_structure_parse_field),
9107 (gst_structure_from_string):
9108 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9109 so that gst_parse_launch() can deal with spaces in filtered link
9110 caps (fixes #164479)
9111 * check/gst/capslist.h:
9112 * check/gst/gststructure.c: (GST_START_TEST):
9113 add unit tests for this change
9115 2005-11-10 Wim Taymans <wim@fluendo.com>
9117 * docs/gst/gstreamer-sections.txt:
9120 Fix docs, move some STATE macros to private.
9122 2005-11-10 Wim Taymans <wim@fluendo.com>
9124 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9125 Added check for bug #317341
9129 Some more spiffifying.
9131 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9132 Call peer linkfunction if we are a source pad. Totally fixes
9136 Update docs, source pads should call the peer linkfunction
9137 so they can atomically perform the pad link.
9139 2005-11-09 Wim Taymans <wim@fluendo.com>
9143 Uber-spiffy-spiffify some more.
9145 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9147 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9148 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9149 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9150 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9151 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9152 * gst/gstpad.c: (gst_pad_init):
9153 Use GST_DEBUG_FUNCPTR() more extensively.
9155 2005-11-09 Wim Taymans <wim@fluendo.com>
9157 * gst/gstobject.c: (gst_object_class_init):
9159 Documentation fixes.
9161 2005-11-09 Edward Hervey <edward@fluendo.com>
9163 * gst/gsttypefindfactory.c:
9166 2005-11-09 Edward Hervey <edward@fluendo.com>
9168 * gst/base/gsttypefindhelper.c:
9169 * gst/gsttypefind.c:
9170 * gst/gsttypefind.h:
9173 2005-11-09 Wim Taymans <wim@fluendo.com>
9175 * gst/gstiterator.c:
9182 2005-11-09 Wim Taymans <wim@fluendo.com>
9188 2005-11-09 Wim Taymans <wim@fluendo.com>
9190 * docs/gst/gstreamer-sections.txt:
9191 Moved the message async delivery private lock and cond
9192 to the private section.
9198 2005-11-09 Edward Hervey <edward@fluendo.com>
9200 * docs/gst/gstreamer-sections.txt:
9203 Document GstURIHandler
9205 2005-11-09 Wim Taymans <wim@fluendo.com>
9207 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9208 (gst_iterator_find_custom):
9209 * gst/gstiterator.h:
9212 2005-11-09 Wim Taymans <wim@fluendo.com>
9215 Document another field.
9217 * gst/gststructure.c:
9218 * gst/gststructure.h:
9221 2005-11-09 Wim Taymans <wim@fluendo.com>
9226 2005-11-09 Wim Taymans <wim@fluendo.com>
9228 * docs/gst/gstreamer-sections.txt:
9229 Added some new macros.
9236 2005-11-09 Wim Taymans <wim@fluendo.com>
9238 * docs/design/part-TODO.txt:
9239 Some more items for the TODO
9245 2005-11-09 Andy Wingo <wingo@pobox.com>
9247 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9248 to work on something else now tho...
9250 * gst/base/gstadapter.c: More adapter docs.
9252 * gst/elements/gstfilesink.c (gst_file_sink_start)
9253 (gst_file_sink_stop): New functions, replace the state change
9255 (gst_file_sink_class_init): Hook up the start and stop functions.
9256 (gst_file_sink_base_init): Don't set the state change handler any
9257 more. It was a bit ugly too, being set from here...
9258 (gst_file_sink_get_property, gst_file_sink_set_property):
9260 (gst_file_sink_set_location): More robust check that doesn't call
9263 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9265 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9266 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9268 2005-11-08 Wim Taymans <wim@fluendo.com>
9270 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9271 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9272 (gst_base_sink_chain), (gst_base_sink_change_state):
9273 * gst/base/gstbasesink.h:
9274 * gst/base/gstbasesrc.h:
9277 Avoid excessive typechecking in macros.
9279 * gst/gstminiobject.c: (gst_mini_object_get_type),
9280 (gst_mini_object_init), (gst_mini_object_new),
9281 (gst_mini_object_free):
9282 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9283 (gst_object_finalize):
9284 Remove cruft code, optimize alloc_trace.
9286 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9288 * docs/faq/gst-uninstalled:
9289 fix up PS1 for systems that try to reset it
9291 2005-11-07 Wim Taymans <wim@fluendo.com>
9293 * gst/base/gstbasesrc.c: (gst_base_src_init),
9294 (gst_base_src_get_range):
9295 Set the segment_end to -1 initially. Fixed typefind.
9297 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9299 * gst/base/gstadapter.c:
9300 Debug category should be 'adapter', not 'GstAdapter'.
9302 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9303 (gst_collectpads_class_init), (gst_collectpads_init),
9304 (gst_collectpads_peek), (gst_collectpads_pop),
9305 (gst_collectpads_event), (gst_collectpads_chain):
9306 Add debug category and some debugging output. Use boilerplate
9307 macros. Remove some extraneous words from docs.
9309 2005-11-05 Andy Wingo <wingo@pobox.com>
9311 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9314 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9316 * docs/gst/gstreamer-sections.txt:
9319 * gst/gstminiobject.h:
9324 2005-11-04 Wim Taymans <wim@fluendo.com>
9326 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9327 Small update to stop at the configured segment_end
9330 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9332 * gst/gstregistry.c:
9333 * gst/gstregistry.h:
9336 2005-11-04 Edward Hervey <edward@fluendo.com>
9338 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9339 Check if we are doing a segment seek and have arrived at the
9340 end of that segment.
9342 2005-11-04 Wim Taymans <wim@fluendo.com>
9344 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9345 Don't leak a mutex unlock in case of an error.
9350 2005-11-04 Wim Taymans <wim@fluendo.com>
9352 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9354 Get the context to wake up only once.
9356 2005-11-03 Wim Taymans <wim@fluendo.com>
9358 * check/states/sinks.c: (GST_START_TEST):
9359 Uncomment fixed check.
9361 * docs/design/part-TODO.txt:
9364 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9365 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9366 (gst_base_sink_get_position):
9367 If we are going to PLAYING, post the right pending state
9368 when we post the intermediate paused message.
9370 * gst/gstelement.c: (gst_element_continue_state),
9371 (gst_element_set_state_func), (gst_element_change_state):
9372 Don't post state changes that were between the same state
9375 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9377 * docs/gst/gstreamer-sections.txt:
9380 * gst/gstminiobject.h:
9383 more docs and doc style fixes
9385 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9387 * docs/gst/gstreamer-sections.txt:
9389 * gst/gstminiobject.c:
9392 2005-11-03 Andy Wingo <wingo@pobox.com>
9394 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9395 state-changed messages actually have the right order and the right
9398 2005-11-03 Wim Taymans <wim@fluendo.com>
9400 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9401 Added some more checks. Specifically the case where NO_PREROLL
9402 elements are in the pipeline.
9404 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9405 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9406 (gst_base_sink_get_position):
9407 Post READY->PAUSED state change messages too.
9408 Fix bug where VOID was posted as pending state...
9410 * gst/gstbin.c: (gst_bin_recalc_state):
9411 use _element_continue_state() to continue the state change.
9413 * gst/gstelement.c: (gst_element_continue_state),
9414 (gst_element_commit_state), (gst_element_set_state_func),
9415 (gst_element_change_state), (gst_element_change_state_func):
9416 Lots of state change cleanups, assign the STATE_RETURN in
9417 a new continue_state() function that also propagates the
9418 last return value from a state change to the app.
9419 Update some debug statements with proper category.
9421 2005-11-03 Wim Taymans <wim@fluendo.com>
9423 * docs/design/part-events.txt:
9424 * docs/design/part-gstpipeline.txt:
9425 * docs/design/part-messages.txt:
9426 * docs/design/part-overview.txt:
9427 * docs/design/part-seeking.txt:
9428 * docs/design/part-states.txt:
9429 * docs/design/part-trickmodes.txt:
9430 * docs/manual/advanced-position.xml:
9434 People think !! is ugly, this looks better.
9436 * gst/gstpad.c: (gst_pad_set_blocked_async):
9437 Remove !! since it's fixed elsewhere now.
9439 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9441 * gst/gstminiobject.h:
9443 Add !! to _FLAG_IS_SET macros to make the result boolean.
9445 2005-11-03 Edward Hervey <edward@fluendo.com>
9447 * gst/gstpad.c: (gst_pad_set_blocked_async):
9448 comparing a flag and a gboolean rarely returns coherent results...
9449 Added two characters (!!) to make that work correctly.
9451 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9453 * gst/gstbus.c: (gst_bus_class_init):
9456 * gst/gstqueue.c: (gst_queue_loop):
9457 Don't assume a miniobject that isn't a buffer is an
9458 event (it could be that there is a refcounting
9459 problem somewhere and the pointer is stale and
9460 refers to an already destroyed miniobject).
9462 2005-11-03 Julien MOUTTE <julien@moutte.net>
9464 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9466 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9468 * docs/manual/advanced-position.xml:
9469 Update seek example and explanations to current 0.9 API.
9471 * gst/elements/gsttypefindelement.c:
9472 (gst_type_find_element_activate):
9473 Remove FIXME comment now that the found caps
9476 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9478 * gst/gstregistryxml.c: (load_feature):
9479 Add another GST_STR_NULL instance
9481 2005-11-02 Edward Hervey <edward@fluendo.com>
9483 * gst/gstpad.c: (handle_pad_block):
9484 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9486 2005-11-02 Wim Taymans <wim@fluendo.com>
9491 * gst/gstelement.c: (gst_element_commit_state):
9492 Remove unused value.
9494 * gst/gstiterator.c:
9495 Mention that the returned element is reffed in the docs.
9497 2005-11-02 Wim Taymans <wim@fluendo.com>
9499 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9500 (gst_pad_push), (gst_pad_push_event):
9501 Unlock blocked pads when they are flushed.
9503 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9506 * docs/gst/gstreamer-sections.txt:
9509 * gst/gstregistry.c: (gst_registry_scan_path_level):
9510 fix for a nasty little missed situation where an installed plug-in
9511 which was in the cache did not get overridden by an uninstalled one
9512 which was earlier in the plugin path because the newly created plugin
9513 for the uninstalled one (not in the registry) didn't get its
9514 ->registered set to TRUE
9516 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9518 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9519 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9520 (gst_collectpads_is_active), (gst_collectpads_collect),
9521 (gst_collectpads_collect_range), (gst_collectpads_start),
9522 (gst_collectpads_stop), (gst_collectpads_peek),
9523 (gst_collectpads_pop), (gst_collectpads_available),
9524 (gst_collectpads_read), (gst_collectpads_flush):
9525 Guard public API with assertions.
9528 Fix docs for gst_pad_set_link_function().
9530 2005-11-02 Johan Dahlin <johan@gnome.org>
9532 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9533 Unref found_caps after we used it.
9535 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9537 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9538 Don't try to ref NULL.
9540 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9542 * win32/common/config.h.in:
9543 provide a GST_FUNCTION that just gives a string for now
9545 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9547 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9548 (gst_object_flags_get_type), (register_gst_bin_flags),
9549 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9550 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9551 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9552 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9553 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9554 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9555 (gst_clock_flags_get_type), (register_gst_state),
9556 (gst_state_get_type), (register_gst_state_change_return),
9557 (gst_state_change_return_get_type), (register_gst_state_change),
9558 (gst_state_change_get_type), (register_gst_element_flags),
9559 (gst_element_flags_get_type), (register_gst_core_error),
9560 (gst_core_error_get_type), (register_gst_library_error),
9561 (gst_library_error_get_type), (register_gst_resource_error),
9562 (gst_resource_error_get_type), (register_gst_stream_error),
9563 (gst_stream_error_get_type), (register_gst_event_type),
9564 (gst_event_type_get_type), (register_gst_seek_type),
9565 (gst_seek_type_get_type), (register_gst_seek_flags),
9566 (gst_seek_flags_get_type), (register_gst_format),
9567 (gst_format_get_type), (register_gst_index_certainty),
9568 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9569 (gst_index_entry_type_get_type),
9570 (register_gst_index_lookup_method),
9571 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9572 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9573 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9574 (gst_index_flags_get_type), (register_gst_debug_level),
9575 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9576 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9577 (gst_iterator_result_get_type), (register_gst_iterator_item),
9578 (gst_iterator_item_get_type), (register_gst_message_type),
9579 (gst_message_type_get_type), (register_gst_mini_object_flags),
9580 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9581 (gst_pad_link_return_get_type), (register_gst_flow_return),
9582 (gst_flow_return_get_type), (register_gst_activate_mode),
9583 (gst_activate_mode_get_type), (register_gst_pad_direction),
9584 (gst_pad_direction_get_type), (register_gst_pad_flags),
9585 (gst_pad_flags_get_type), (register_gst_pad_presence),
9586 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9587 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9588 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9589 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9590 (gst_plugin_flags_get_type), (register_gst_rank),
9591 (gst_rank_get_type), (register_gst_query_type),
9592 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9593 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9594 (gst_tag_flag_get_type), (register_gst_task_state),
9595 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9596 (gst_alloc_trace_flags_get_type),
9597 (register_gst_type_find_probability),
9598 (gst_type_find_probability_get_type), (register_gst_uri_type),
9599 (gst_uri_type_get_type), (register_gst_parse_error),
9600 (gst_parse_error_get_type):
9601 * win32/common/gstversion.h:
9604 2005-11-01 Luca Ognibene <luogni@tin.it>
9607 fix docs. popt is dead, long live GOption.
9609 2005-10-31 Wim Taymans <wim@fluendo.com>
9614 2005-10-31 Andy Wingo <wingo@pobox.com>
9618 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9620 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9621 need to serialize property notifications on GLib 2.8. GLib 2.6 has
9622 the possibility of deadlocks here if code calling notify() or
9623 set() has a lock that can be taken in another notify handler (ABBA
9624 with class lock and e.g. python GIL state lock).
9626 2005-10-28 Julien MOUTTE <julien@moutte.net>
9628 * gst/gstbus.c: Doc updates.
9630 2005-10-28 Wim Taymans <wim@fluendo.com>
9632 * docs/design/part-TODO.txt:
9633 * gst/gstiterator.c:
9634 * gst/gstsystemclock.c:
9635 * gst/gstsystemclock.h:
9638 2005-10-28 Edward Hervey <edward@fluendo.com>
9640 * docs/gst/gstreamer-docs.sgml:
9641 * docs/gst/gstreamer-sections.txt:
9642 the GstURIType documentation page is private, it only defines GstURIType
9643 which should be defined in the GstURIHandler page
9645 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
9647 * gst/gstbin.c: (gst_bin_class_init):
9650 Documentation updates.
9652 2005-10-28 Wim Taymans <wim@fluendo.com>
9654 * docs/gst/gstreamer-sections.txt:
9657 Documented the clocks.
9659 2005-10-28 Stefan Kost <ensonic@users.sf.net>
9661 * docs/gst/gstreamer-sections.txt:
9662 move some macros to private sections
9663 * gst/gstminiobject.c:
9664 * gst/gstminiobject.h:
9665 add descriptions provided by ds and some more
9667 mark macro as to be removed
9669 2005-10-28 Wim Taymans <wim@fluendo.com>
9671 * docs/design/part-TODO.txt:
9672 Add an item to TODO.
9674 * gst/gstiterator.c: (gst_iterator_fold),
9675 (gst_iterator_find_custom):
9676 * gst/gstiterator.h:
9679 2005-10-28 Wim Taymans <wim@fluendo.com>
9681 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9682 (gst_base_transform_init):
9685 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9686 An EOS event marks the queue as completely filled.
9688 2005-10-27 Wim Taymans <wim@fluendo.com>
9690 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9691 (gst_base_sink_do_sync), (gst_base_sink_get_position):
9692 Some more debugging.
9694 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9695 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9696 (gst_base_transform_event), (gst_base_transform_getrange),
9697 (gst_base_transform_chain):
9698 * gst/base/gstbasetransform.h:
9700 Protect transform and concurrent buffer alloc with a new lock.
9701 Try not to break ABI/API.
9703 2005-10-27 Wim Taymans <wim@fluendo.com>
9705 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9706 (gst_base_src_init), (gst_base_src_query),
9707 (gst_base_src_default_newsegment),
9708 (gst_base_src_configure_segment), (gst_base_src_do_seek),
9709 (gst_base_src_send_event), (gst_base_src_event_handler),
9710 (gst_base_src_pad_get_range), (gst_base_src_loop),
9711 (gst_base_src_unlock), (gst_base_src_default_negotiate),
9712 (gst_base_src_start), (gst_base_src_deactivate),
9713 (gst_base_src_activate_push), (gst_base_src_change_state):
9714 Move some stuff around and cleanup things.
9716 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
9718 * gst/base/gstbasesrc.c: (gst_base_src_query):
9719 Add missing break statements.
9721 2005-10-27 Wim Taymans <wim@fluendo.com>
9723 * check/gst/gstbin.c: (GST_START_TEST):
9724 An extra refcount is taken in basesrc.
9726 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9727 (gst_base_src_get_range), (gst_base_src_pad_get_range),
9728 (gst_base_src_loop):
9729 Small cleanups, check for flushing after being unlocked from the
9730 LIVE_LOCK. take refcounts correctly (not yet everywhere).
9731 Don't send out EOS when going to READY.
9733 2005-10-27 Wim Taymans <wim@fluendo.com>
9735 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9736 (gst_base_sink_get_position):
9739 * gst/gstbin.c: (message_check), (bin_replace_message),
9740 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9741 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9742 (bin_query_duration_init), (bin_query_duration_fold),
9743 (bin_query_duration_done), (bin_query_generic_fold),
9745 * tools/gst-launch.c: (main):
9748 2005-10-26 Stefan Kost <ensonic@users.sf.net>
9750 * examples/controller/audio-example.c: (main):
9751 * examples/queue/queue.c: (event_loop):
9752 * gst/base/gstbasetransform.h:
9753 * gst/gstelement.c: (gst_element_send_event):
9755 * gst/gstpad.c: (gst_pad_send_event):
9758 changing log priority in error situations
9760 2005-10-25 Wim Taymans <wim@fluendo.com>
9762 * gst/gstbin.c: (message_check), (bin_replace_message),
9763 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9764 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9765 (bin_query_duration_init), (bin_query_duration_fold),
9766 (bin_query_duration_done), (bin_query_generic_fold),
9768 Some doc and debug updates.
9769 Cache previously requested query DURATION for speed. invalidate
9770 cached duration if element posts a DURATION message.
9772 2005-10-25 Wim Taymans <wim@fluendo.com>
9774 * docs/design/part-TODO.txt:
9777 * gst/gstbin.c: (message_check), (bin_replace_message),
9778 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9779 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9780 (bin_query_duration_init), (bin_query_duration_fold),
9781 (bin_query_duration_done), (bin_query_generic_fold),
9783 Handle SEGMENT_START/DONE messages correctly.
9784 More evolved query algorithm that handles duration queries
9787 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9788 (gst_element_get_state_func), (gst_element_abort_state),
9789 (gst_element_commit_state), (gst_element_lost_state):
9790 Some more debugging.
9795 2005-10-25 Wim Taymans <wim@fluendo.com>
9797 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9798 Don't use invalid stream_time.
9800 * gst/gstevent.c: (gst_event_new_newsegment):
9801 stream_time in newsegment cannot be undefined.
9803 2005-10-24 Wim Taymans <wim@fluendo.com>
9808 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9810 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9812 2005-10-24 Stefan Kost <ensonic@users.sf.net>
9814 * docs/libs/tmpl/gstdparam.sgml:
9815 * docs/libs/tmpl/gstdplinint.sgml:
9816 * docs/libs/tmpl/gstdpman.sgml:
9817 * docs/libs/tmpl/gstdpsmooth.sgml:
9818 * docs/libs/tmpl/gstunitconvert.sgml:
9821 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
9826 === release 0.9.4 ===
9828 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9831 releasing 0.9.4, "Tyrannosaurus Rex"
9833 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
9835 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9836 (gst_file_sink_get_current_offset):
9837 Use fseeko() and ftello() if available. When falling back on
9838 lseek() to get the current offset, fflush() first to make sure
9839 everything is up-to-date and we get the right offset.
9841 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9844 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9845 * gst/gsterror.c: (_gst_stream_errors_init):
9847 * gst/gstqueue.c: (gst_queue_loop):
9849 remove prematurely added error category and clean up the instances
9851 2005-10-21 Wim Taymans <wim@fluendo.com>
9853 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9854 (gst_base_sink_get_position), (gst_base_sink_query),
9855 (gst_base_sink_change_state):
9856 Simply set the right flag when going to playing, that's all
9857 we need to do instead of calling a function inside the object
9858 lock (that could take the lock as well and deadlock)
9860 2005-10-21 Wim Taymans <wim@fluendo.com>
9862 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9863 (gst_base_src_loop):
9864 Don't warn, the peer element knows what to do best when
9865 the seek failed, it might try something else.
9867 2005-10-21 Wim Taymans <wim@fluendo.com>
9869 * gst/base/gstbasesrc.c: (gst_base_src_init),
9870 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9873 2005-10-21 Wim Taymans <wim@fluendo.com>
9875 * docs/design/part-segments.txt:
9878 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9879 Correctly set caps, even on the subbufer.
9881 2005-10-21 Wim Taymans <wim@fluendo.com>
9883 * docs/gst/gstreamer-docs.sgml:
9884 * docs/gst/gstreamer-sections.txt:
9891 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
9895 And 2% more doc coverage.
9897 2005-10-21 Andy Wingo <wingo@pobox.com>
9899 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
9902 2005-10-20 Wim Taymans <wim@fluendo.com>
9904 * gst/gsterror.c: (gst_error_get_message):
9907 * gst/gststructure.c:
9912 2005-10-20 Wim Taymans <wim@fluendo.com>
9917 Another 1% more coverage.
9919 2005-10-20 Wim Taymans <wim@fluendo.com>
9921 * docs/gst/gstreamer-sections.txt:
9922 * gst/gstelement.c: (gst_element_get_state_func),
9923 (gst_element_abort_state), (gst_element_commit_state),
9924 (gst_element_lost_state):
9926 * gst/gstquery.c: (gst_query_set_position),
9927 (gst_query_parse_position), (gst_query_set_duration),
9928 (gst_query_parse_duration), (gst_query_new_convert):
9930 Yay! 1% more docs coverage.
9932 2005-10-20 Wim Taymans <wim@fluendo.com>
9935 * gst/gstquery.c: (gst_query_set_position),
9936 (gst_query_parse_position), (gst_query_set_duration),
9937 (gst_query_parse_duration), (gst_query_new_convert):
9939 * gst/gstutils.c: (gst_element_query_convert):
9941 Docs and consistency fixes.
9943 2005-10-20 Wim Taymans <wim@fluendo.com>
9949 2005-10-20 Wim Taymans <wim@fluendo.com>
9951 * gst/gstbin.c: (message_check), (bin_replace_message),
9952 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9953 (update_degree), (gst_bin_sort_iterator_next),
9954 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9955 Reworked the message handling a bit, cache the messages instead of
9956 only the senders. alows us to do more in the future.
9958 2005-10-20 Wim Taymans <wim@fluendo.com>
9960 * docs/design/part-TODO.txt:
9963 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9964 (gst_base_sink_query):
9965 Don't use clock time to report position when in EOS.
9967 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
9969 * tools/gst-inspect.c: (print_interfaces),
9970 (print_element_properties_info), (print_element_info):
9971 Fix interface output with gst-inspect -a; don't print
9972 newlines after double/float properties.
9974 2005-10-20 Wim Taymans <wim@fluendo.com>
9976 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9977 (gst_base_sink_query):
9978 Speed up current position calculation.
9980 * gst/base/gstbasesrc.c: (gst_base_src_query),
9981 (gst_base_src_default_newsegment):
9982 Correctly set stream position in newsegment.
9984 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
9985 (update_degree), (gst_bin_sort_iterator_next),
9986 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
9987 * gst/gstmessage.c: (gst_message_new_custom):
9988 Clean up debugging info
9990 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9991 (gst_queue_loop), (gst_queue_handle_src_query):
9994 2005-10-19 Wim Taymans <wim@fluendo.com>
9996 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9997 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9998 Fix query handling again.
10000 2005-10-19 Wim Taymans <wim@fluendo.com>
10002 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10003 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10004 * gst/base/gstbasesrc.c: (gst_base_src_query):
10005 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10006 * gst/elements/gsttypefindelement.c:
10007 (gst_type_find_handle_src_query), (find_element_get_length),
10008 (gst_type_find_element_activate):
10011 * gst/gstquery.c: (gst_query_new_position),
10012 (gst_query_set_position), (gst_query_parse_position),
10013 (gst_query_new_duration), (gst_query_set_duration),
10014 (gst_query_parse_duration), (gst_query_set_segment),
10015 (gst_query_parse_segment):
10017 Bundling query position/duration is not a good idea since duration
10018 does not change much and we don't want to recalculate it for every
10019 position query, so they are separated again..
10020 Base value in segment query is not needed.
10022 * gst/gstqueue.c: (gst_queue_handle_src_query):
10023 * gst/gstutils.c: (gst_element_query_position),
10024 (gst_element_query_duration), (gst_pad_query_position),
10025 (gst_pad_query_duration):
10027 Updates for query API change.
10028 Added some docs here and there.
10030 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10032 * check/gst/gstbin.c: (GST_START_TEST):
10033 * check/gst/gstghostpad.c: (GST_START_TEST):
10034 * check/pipelines/cleanup.c: (GST_START_TEST):
10035 wait on thread to die so we can check refcount correctly
10037 2005-10-18 Wim Taymans <wim@fluendo.com>
10039 * check/pipelines/stress.c: (GST_START_TEST):
10040 Make check a little more time consuming.
10042 2005-10-18 Wim Taymans <wim@fluendo.com>
10044 * check/Makefile.am:
10045 * check/pipelines/stress.c: (GST_START_TEST),
10046 (simple_launch_lines_suite), (main):
10047 Small state change torture test.
10049 * docs/design/part-states.txt:
10050 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10051 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10052 (gst_base_sink_change_state):
10053 Never take state lock from streaming thread, clean up ugly
10054 hacks. Unfortunatly core does not yet support nice ways to
10055 async commit state.
10057 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10059 Start state recalc if a STATE_DIRTY message is posted, but only
10060 on the toplevel bin.
10062 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10063 (gst_element_get_state_func), (gst_element_abort_state),
10064 (gst_element_commit_state), (gst_element_lost_state),
10065 (gst_element_set_state_func), (gst_element_change_state):
10066 * gst/gstelement.h:
10067 State variables are now protected with the LOCK, the state
10068 lock is only used to serialize _set_state().
10070 2005-10-18 Wim Taymans <wim@fluendo.com>
10072 * check/gst/gstbin.c: (GST_START_TEST):
10073 * check/gst/gstmessage.c: (GST_START_TEST):
10074 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10075 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10077 * gst/gstelement.c: (gst_element_abort_state),
10078 (gst_element_commit_state), (gst_element_lost_state):
10079 * gst/gstmessage.c: (gst_message_new_state_changed),
10080 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10081 (gst_message_new_segment_done), (gst_message_new_duration),
10082 (gst_message_parse_state_changed),
10083 (gst_message_parse_segment_start),
10084 (gst_message_parse_segment_done), (gst_message_parse_duration):
10085 * gst/gstmessage.h:
10086 * tools/gst-launch.c: (event_loop):
10087 Seriously, this is better than a previous commit as we only need
10088 to notify the fact that an element changed state in a streaming
10089 thread, marking the state of the parents dirty, hence the
10090 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10093 2005-10-18 Wim Taymans <wim@fluendo.com>
10095 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10096 (gst_bin_recalc_func):
10097 * gst/gstelement.c: (gst_element_set_clock),
10098 (gst_element_abort_state), (gst_element_lost_state):
10099 Cleanups, prepare for state change fixes.
10101 2005-10-18 Wim Taymans <wim@fluendo.com>
10104 * gst/gstelement.c: (gst_element_class_init),
10105 (gst_element_set_state), (gst_element_set_state_func):
10106 * gst/gstelement.h:
10107 Pending ABI changes.
10108 GThreadPool in GstBinClass to monitor async state changes.
10109 state_cookie in GstElement to detect concurrent gst/set state.
10110 set_state is now virtual too in case a very complicated element
10111 has to be constructed.
10113 2005-10-18 Wim Taymans <wim@fluendo.com>
10115 * check/gst/gstbin.c: (GST_START_TEST):
10116 * check/gst/gstmessage.c: (GST_START_TEST):
10117 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10118 * gst/gstbin.c: (bin_bus_handler):
10119 * gst/gstelement.c: (gst_element_commit_state),
10120 (gst_element_lost_state):
10121 * gst/gstmessage.c: (gst_message_new_state_changed),
10122 (gst_message_new_segment_start), (gst_message_new_segment_done),
10123 (gst_message_new_duration), (gst_message_parse_state_changed),
10124 (gst_message_parse_segment_start),
10125 (gst_message_parse_segment_done), (gst_message_parse_duration):
10126 * gst/gstmessage.h:
10127 * tools/gst-launch.c: (event_loop):
10128 Make messages future proof.
10129 state-change gets a flag if it was a message comming from the
10131 segment-start/stop can also be specified in other formats.
10132 A message to notify an app that a pipeline changed playback
10134 Also fix a GstMessage leak in -launch
10136 2005-10-18 Andy Wingo <wingo@pobox.com>
10138 * gst/gstelement.c (gst_element_dispose): More helpful message.
10140 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10142 reviewed by: <delete if not using a buddy>
10144 * common/gtk-doc.mak:
10146 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10148 * gst/gstregistry.c: (gst_registry_scan_path_level):
10149 unref a plug-in we get that was already initialized
10151 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10153 * docs/gst/gstreamer-sections.txt:
10154 * docs/libs/gstreamer-libs-sections.txt:
10155 * gst/gstelement.h:
10156 add new api entries
10157 hide internal macro
10159 2005-10-17 Andy Wingo <wingo@pobox.com>
10161 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10164 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10166 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10168 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10169 (gst_element_get_state_func): Better debug message.
10170 (gst_element_commit_state): s/INFO/DEBUG/.
10171 (gst_element_lost_state, gst_element_change_state):
10173 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10174 (gst_message_new_custom): s/INFO/LOG/.
10176 2005-10-17 Michael Smith <msmith@fluendo.com>
10178 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10179 Check if end time is valid using end time, not start time.
10181 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10183 * check/gst-libs/controller.c: (GST_START_TEST),
10184 (gst_controller_suite):
10185 * libs/gst/controller/gstcontroller.c:
10186 (gst_controlled_property_set_interpolation_mode):
10187 * libs/gst/controller/gstcontroller.h:
10188 * libs/gst/controller/gstinterpolation.c:
10189 * testsuite/controller/.cvsignore:
10190 * testsuite/controller/Makefile.am:
10191 * testsuite/controller/interpolator.c:
10192 merge controller testsuites
10194 remove mem-chunk from docs
10196 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10198 * gst/gstmemchunk.c:
10199 * gst/gstmemchunk.h:
10200 * gst/gsttrashstack.c:
10201 * gst/gsttrashstack.h:
10202 out. get out. you're fired. to the Attic !
10204 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10206 * gst/gstcaps.c: (gst_caps_intersect):
10207 fix signedness issues in a (hopefully) correct way
10208 * gst/gstelement.c: (gst_element_pads_activate):
10210 * gst/gstobject.c: (gst_object_set_parent):
10213 2005-10-17 Julien MOUTTE <julien@moutte.net>
10215 * gst/gstvalue.h: Fix prototypes.
10217 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10219 * docs/gst/gstreamer-sections.txt:
10220 * gst/gst.c: (gst_version_string):
10222 * gst/gstversion.h.in:
10223 * win32/common/libgstreamer.def:
10224 add gst_version_string ()
10226 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10230 * gst/gst.c: (init_post):
10231 * win32/common/config.h.in:
10233 * gst/gstcaps.c: (gst_caps_intersect):
10234 use gint64, the range could be bigger than a guint
10236 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10239 document potential problem in 2038
10241 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10243 * gst/gstcaps.c: (gst_caps_intersect):
10244 Fix guint j diving under 0
10246 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10249 * win32/common/config.h:
10250 * win32/common/config.h.in:
10251 check for process.h, declares getpid() on Windows
10253 include process.h if we have it
10254 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10255 * gst/gstmemchunk.h:
10256 fix signedness issues
10257 * win32/common/libgstreamer.def:
10260 2005-10-16 Julien MOUTTE <julien@moutte.net>
10262 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10263 fix. Because of unsigned ints, caps intersection was going nuts and
10264 trying to access structures with G_MAXUINT index. That fixes
10265 videotestsrc ! ffmpegcolorspace ! fakesink
10266 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10269 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10272 use the gettext macro
10273 * gst/elements/gstelements.c:
10275 * gst/indexers/gstindexers.c:
10276 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10277 * win32/common/config.h:
10279 * win32/common/config.h.in:
10280 add the template to generate config.h
10281 * win32/common/gstenumtypes.c:
10282 * win32/common/gstversion.h:
10285 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10287 * gst/gst.c: (gst_version):
10288 * gst/gstversion.h.in:
10291 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10294 Oops, add missing closing bracket.
10296 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10299 use common m4's for argument checking
10301 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10303 * docs/gst/gstreamer-sections.txt:
10305 Add GST_EVENT_TYPE_NAME() macro.
10307 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10310 * gst/gstpluginfeature.c:
10312 privatize more symbols
10314 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10317 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10318 everything that uses GStreamer API should have the includes
10320 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10322 * docs/gst/gstreamer-sections.txt:
10323 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10325 give each value a _get_type, removes the DATA exports
10327 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10331 remove _gst_registry_auto_load, not used anymore
10332 * gst/gstbin.c: (gst_bin_get_type):
10334 * gst/gstelement.c: (gst_element_get_type):
10335 * gst/gstelement.h:
10336 * gst/gstobject.c: (gst_object_get_type):
10338 * gst/gstpad.c: (gst_pad_get_type):
10340 make _get_type functions similar, fixes data export from library
10342 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10345 correctly make conditionals
10346 * gst/elements/Makefile.am:
10347 * gst/elements/gstelements.c:
10348 fix typo causing fdsrc not to build
10350 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10352 * testsuite/Makefile.am:
10353 * testsuite/bytestream/.cvsignore:
10354 * testsuite/bytestream/Makefile.am:
10355 * testsuite/bytestream/filepadsink.c:
10356 * testsuite/bytestream/gstbstest.c:
10357 * testsuite/bytestream/test1.c:
10358 * testsuite/bytestream/testfile1:
10359 * testsuite/caps/normalisation.c:
10360 * testsuite/caps/random.c: (main):
10361 * testsuite/cleanup/.cvsignore:
10362 * testsuite/cleanup/Makefile.am:
10363 * testsuite/cleanup/cleanup1.c:
10364 * testsuite/cleanup/cleanup2.c:
10365 * testsuite/cleanup/cleanup3.c:
10366 * testsuite/cleanup/cleanup4.c:
10367 * testsuite/cleanup/cleanup5.c:
10368 * testsuite/controller/interpolator.c:
10369 * testsuite/debug/printf_extension.c: (main):
10370 * testsuite/elements/tee.c:
10371 * testsuite/negotiation/.cvsignore:
10372 * testsuite/negotiation/Makefile.am:
10373 * testsuite/negotiation/pad_link.c:
10374 * testsuite/pad/Makefile.am:
10375 * testsuite/pad/chainnopull.c:
10376 * testsuite/pad/getnopush.c:
10377 * testsuite/pad/link.c:
10378 * testsuite/refcounting/sched.c: (create_pipeline):
10379 * testsuite/registry/Makefile.am:
10380 * testsuite/registry/gst-print-formats.c:
10381 * testsuite/schedulers/.cvsignore:
10382 * testsuite/schedulers/142183-2.c:
10383 * testsuite/schedulers/142183.c:
10384 * testsuite/schedulers/143777-2.c:
10385 * testsuite/schedulers/143777.c:
10386 * testsuite/schedulers/147713.c:
10387 * testsuite/schedulers/147819.c:
10388 * testsuite/schedulers/147894-2.c:
10389 * testsuite/schedulers/147894.c:
10390 * testsuite/schedulers/Makefile.am:
10391 * testsuite/schedulers/group_link.c:
10392 * testsuite/schedulers/queue_link.c:
10393 * testsuite/schedulers/relink.c:
10394 * testsuite/schedulers/unlink.c:
10395 * testsuite/schedulers/unref.c:
10396 * testsuite/schedulers/useless_iteration.c:
10397 * testsuite/states/bin.c:
10398 clean out/remove some stuff from the testsuite directories
10400 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10403 check for some headers
10404 * gst/elements/Makefile.am:
10405 * gst/elements/gstelements.c:
10406 don't compile fdsrc without sys/socket.h
10407 * gst/indexers/Makefile.am:
10408 * gst/indexers/gstindexers.c: (plugin_init):
10409 don't compile fileindex without mmap
10411 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10418 * check/Makefile.am:
10419 * docs/gst/Makefile.am:
10420 * examples/helloworld/Makefile.am:
10422 * gst/base/Makefile.am:
10423 * gst/check/Makefile.am:
10424 * gst/elements/Makefile.am:
10425 * gst/indexers/Makefile.am:
10426 * gst/parse/Makefile.am:
10427 * libs/gst/controller/Makefile.am:
10428 * libs/gst/dataprotocol/Makefile.am:
10429 * examples/helloworld/helloworld.c: (event_loop):
10430 compile fixes, though it's not being compiled currently
10432 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10434 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10435 Add some simple tests for the new taglist date API.
10437 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10439 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10440 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10441 Beautify 'last-message' output: print 'none' for buffer timestamps
10442 and durations if none is set; improve alignment with next messages.
10444 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10446 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10447 * gst/gstpluginfeature.h:
10448 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10449 * gst/gstregistry.h:
10450 * docs/gst/gstreamer-sections.txt:
10451 Add new API to check plugin feature version requirements.
10453 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10454 Some basic tests for the above.
10456 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10458 * gst/gststructure.c: (gst_structure_to_string):
10459 guard against NULL printf - happens when for example
10460 a message structure with GstClock gets serialized
10462 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10464 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10465 Fix presumable copy'n'pasto.
10467 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10469 * gst/elements/gstfakesrc.h:
10470 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10471 * gst/elements/gsttypefindelement.c:
10472 fix some signedness
10473 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10474 I wonder if this could actually write +2GB files before
10476 2005-10-13 Andy Wingo <wingo@pobox.com>
10478 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10479 Fix Timmeke Waymans bug.
10480 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10481 string of the proper length to gst_caps_from_string. There's a
10482 potential for, before this fix, that this could cause someone
10483 connecting over the network to cause a segfault if the payload is
10484 not NUL-terminated.
10486 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10488 * docs/design/draft-push-pull.txt:
10489 * docs/design/part-overview.txt:
10490 * docs/random/TODO-pre-0.9:
10491 * docs/random/old/ChangeLog.gstreamer:
10492 * gst/base/gstpushsrc.c:
10496 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10498 * gst/glib-compat.c: (gst_flags_get_first_value):
10499 * gst/glib-compat.h:
10500 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10501 (gst_value_compare_double), (gst_value_serialize_flags):
10502 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10505 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10508 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10510 * tools/gst-launch.c: (event_loop):
10511 print out clock nicely
10513 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10515 * docs/gst/gstreamer-sections.txt:
10516 * gst/gsttaglist.h:
10517 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10518 (gst_tag_list_get_date_index):
10519 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10520 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10522 2005-10-13 Julien MOUTTE <julien@moutte.net>
10524 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10525 (gst_collectpads_chain):
10526 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10529 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10531 * docs/gst/gstreamer-sections.txt:
10534 * tools/gst-inspect.c: (main):
10535 * tools/gst-launch.c: (main):
10536 * tools/gst-run.c: (main):
10537 * tools/gst-xmlinspect.c: (main):
10538 fix GOption context leaks
10541 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10545 * win32/common/config.h:
10547 * win32/vs6/grammar.dsp:
10548 * win32/vs6/libgstelements.dsp:
10549 * win32/vs6/libgstreamer.dsp:
10552 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10554 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10555 * gst/base/gstbasesrc.c: (gst_base_src_query):
10556 fix more guint64<->gdouble conversions
10558 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10561 add win32-update target
10562 * win32/common/gstconfig.h:
10563 * win32/common/gstenumtypes.c:
10564 * win32/common/gstenumtypes.h:
10565 * win32/common/gstversion.h:
10566 add files that visual studio can't generate
10568 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10571 add a win32-update target
10574 2005-10-12 Wim Taymans <wim@fluendo.com>
10576 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10577 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10578 * gst/gstelement.c: (gst_element_commit_state),
10579 (gst_element_set_state):
10580 Protect flags with proper lock.
10581 unref provided cached clock in dispose.
10583 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10586 * gst/gstminiobject.h:
10588 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10589 removed unused flags from miniobject
10592 2005-10-12 Wim Taymans <wim@fluendo.com>
10594 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10595 (gst_file_sink_event), (gst_file_sink_render):
10596 Flush before seeking.
10598 2005-10-12 Andy Wingo <wingo@pobox.com>
10600 * gst/gst.c (gst_init_check): Ignore unknown options, as has
10601 always been the case.
10603 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10605 * check/gst/gstbin.c: (GST_START_TEST):
10606 * docs/gst/gstreamer-sections.txt:
10607 * gst/base/gstbasesink.c: (gst_base_sink_init):
10608 * gst/base/gstbasesrc.c: (gst_base_src_init),
10609 (gst_base_src_get_range), (gst_base_src_check_get_range),
10610 (gst_base_src_start), (gst_base_src_stop):
10611 * gst/base/gstbasesrc.h:
10612 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10613 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10614 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10618 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10620 * gst/gstelement.c: (gst_element_is_locked_state),
10621 (gst_element_set_locked_state), (gst_element_commit_state),
10622 (gst_element_set_state):
10623 * gst/gstelement.h:
10624 * gst/gstindex.c: (gst_index_init):
10626 * gst/gstminiobject.h:
10627 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10628 (gst_object_set_parent):
10630 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10631 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10633 * gst/gstpadtemplate.h:
10634 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10635 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10636 * gst/gstpipeline.h:
10637 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10638 (gst_file_index_commit):
10639 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10640 * testsuite/pad/link.c: (gst_test_src_init),
10641 (gst_test_filter_init), (gst_test_sink_init):
10642 * testsuite/states/locked.c: (main):
10643 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10644 moved bitshift from macro to enum definition
10646 2005-10-12 Wim Taymans <wim@fluendo.com>
10648 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10649 * gst/elements/gstfilesink.c: (gst_file_sink_event),
10650 (gst_file_sink_render):
10651 Some more debugging info.
10653 2005-10-12 Wim Taymans <wim@fluendo.com>
10655 * docs/design/part-states.txt:
10656 * tools/gst-launch.c: (main):
10658 Revert non-intentional change.
10660 2005-10-12 Wim Taymans <wim@fluendo.com>
10662 * check/gst/gstbin.c: (GST_START_TEST):
10663 * check/gst/gstelement.c: (GST_START_TEST):
10664 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10665 * check/gst/gstghostpad.c: (GST_START_TEST):
10666 * check/gst/gstpipeline.c: (GST_START_TEST):
10667 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10668 * check/states/sinks.c: (GST_START_TEST):
10669 * gst/elements/gsttypefindelement.c: (stop_typefinding):
10670 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10671 (gst_bin_remove_func), (gst_bin_get_state_func),
10672 (gst_bin_recalc_state), (gst_bin_change_state_func),
10674 * gst/gstelement.c: (gst_element_get_state_func),
10675 (gst_element_get_state), (gst_element_abort_state),
10676 (gst_element_commit_state), (gst_element_set_state),
10677 (gst_element_change_state), (gst_element_change_state_func):
10678 * gst/gstelement.h:
10679 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10680 (gst_pipeline_provide_clock_func):
10681 * gst/gstutils.c: (gst_element_link_pads_filtered):
10682 * tools/gst-launch.c: (main):
10683 * tools/gst-typefind.c: (main):
10684 Use GstClockTime in _get_state() instead of GTimeVal.
10685 Remove old code in gstutils.c
10687 2005-10-12 Andy Wingo <wingo@pobox.com>
10689 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10692 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10693 there is no task. Shouldn't affect any code, as nothing in our
10694 plugins checks this return value.
10695 (gst_pad_stop_task): Also take the stream lock if the pad has no
10696 task. Docs updated.
10698 2005-10-12 Wim Taymans <wim@fluendo.com>
10700 * gst/gstpad.c: (pre_activate), (post_activate),
10701 (gst_pad_activate_pull), (gst_pad_activate_push):
10702 Cleanup activation code. Reset old state if
10705 2005-10-12 Wim Taymans <wim@fluendo.com>
10707 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10708 (gst_base_sink_change_state):
10709 No need to prerol after receiving EOS.
10711 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10712 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10713 * gst/elements/gstidentity.c: (gst_identity_event):
10714 Print events more verbosely.
10716 2005-10-12 Wim Taymans <wim@fluendo.com>
10718 * check/Makefile.am:
10719 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10720 * check/states/sinks2.c:
10721 Moved sinks2 testcode in sinks check.
10723 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10724 (gst_bin_remove_func), (gst_bin_recalc_state),
10725 (gst_bin_change_state_func), (bin_bus_handler):
10726 Fix potential race condition when _get_state() iterated over an
10727 ASYNC element right before it posted a state completion.
10730 Do proper cast here.
10732 * gst/gstevent.c: (gst_event_new_newsegment),
10733 (gst_event_parse_newsegment):
10734 A playback rate of 0.0 is not allowed.
10736 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10738 * win32/common/config.h:
10739 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10740 (_trewinddir), (_ttelldir), (_tseekdir):
10741 * win32/common/dirent.h:
10742 * win32/common/gtchar.h:
10743 * win32/common/libgstbase.def:
10744 * win32/common/libgstreamer.def:
10745 * win32/vs6/grammar.dsp:
10746 * win32/vs6/gst_inspect.dsp:
10747 * win32/vs6/gst_launch.dsp:
10748 * win32/vs6/gstreamer.dsw:
10749 * win32/vs6/libgstbase.dsp:
10750 * win32/vs6/libgstelements.dsp:
10751 * win32/vs6/libgstreamer.dsp:
10752 Visual Studio 6 project files, and a new common directory.
10755 2005-10-11 Wim Taymans <wim@fluendo.com>
10757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10758 (gst_base_sink_do_sync), (gst_base_sink_query),
10759 (gst_base_sink_change_state):
10760 * gst/base/gstbasesink.h:
10761 Correctly parse newsegment info.
10763 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10765 * gst/gst.c: (init_post):
10766 split plugin paths correctly
10768 2005-10-11 Wim Taymans <wim@fluendo.com>
10770 * check/gst/gstevent.c: (GST_START_TEST):
10771 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10772 (gst_base_sink_change_state):
10773 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10774 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10775 * gst/elements/gstfilesink.c: (gst_file_sink_event):
10776 * gst/gstevent.c: (gst_event_new_newsegment),
10777 (gst_event_parse_newsegment):
10779 Added extra flag to newsegment for future API freeze.
10780 Updated check and base elements.
10782 2005-10-11 Julien MOUTTE <julien@moutte.net>
10784 * gst/base/gstcollectpads.c: (gst_collectpads_init),
10785 (gst_collectpads_add_pad), (gst_collectpads_pop),
10786 (gst_collectpads_event), (gst_collectpads_chain):
10787 * gst/base/gstcollectpads.h: Handle EOS correctly.
10789 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10791 * tools/gst-launch.c: (main):
10792 more null protecting
10794 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10796 * gst/gst-i18n-lib.h:
10797 check for ENABLE_NLS, not GETTEXT_PACKAGE
10798 * gst/gstregistry.c: (gst_registry_add_plugin),
10799 (gst_registry_scan_path_level),
10800 (_gst_registry_remove_cache_plugins):
10801 protect possibly NULL strings
10802 * gst/parse/types.h:
10803 config.h already included before
10804 * tools/gst-inspect.c: (main):
10805 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10806 check for ENABLE_NLS, not GETTEXT_PACKAGE
10807 * tools/gst-launch.c: (main):
10808 check for ENABLE_NLS, not GETTEXT_PACKAGE
10810 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10813 if we don't have glib, fail before testing 2.8
10814 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10815 fix a leak, should fix plugins-base testsuite
10817 2005-10-11 Andy Wingo <wingo@pobox.com>
10819 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10820 take the mode we're going to as an arg. Go head and set the mode
10821 and flushing flags now, so that if the activate function starts a
10822 thread all the flags will be in the right state.
10823 (post_activate): Renamed also. Just handle making sure streaming
10824 finishes for the deactivation case, and setting the deactivated
10826 (gst_pad_set_active): Complain loudly if deactivation fails.
10827 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10828 (gst_pad_activate_push): Adapt to pre/post_activate changes,
10829 remove the terrible hack.
10831 2005-10-11 Wim Taymans <wim@fluendo.com>
10833 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10834 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10835 (gst_bin_recalc_state), (gst_bin_change_state_func),
10836 (gst_bin_dispose), (bin_bus_handler):
10838 Prepare to make current EOS message queue more generic.
10841 * gst/gstevent.c: (gst_event_new_newsegment),
10842 (gst_event_parse_newsegment):
10844 Rename base to stream_time.
10846 * gst/gstmessage.h:
10849 2005-10-11 Wim Taymans <wim@fluendo.com>
10851 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10852 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10853 (gst_bin_change_state_func), (bin_bus_handler):
10855 Work on proper clock selection.
10857 2005-10-11 Edward Hervey <edward@fluendo.com>
10859 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
10860 * libs/gst/controller/gstcontroller.h:
10861 Added GList* version of _remove_properties() in order to be able to wrap
10864 2005-10-11 Wim Taymans <wim@fluendo.com>
10866 * docs/design/part-states.txt:
10869 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
10870 (gst_bin_change_state_func), (bin_bus_handler):
10871 Doc updates. Don't distribute the same clock over and over again.
10877 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
10878 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
10879 (gst_pad_send_event):
10881 Make probe emission threadsafe again.
10882 Register quarks and move _get_name() from utils.
10885 * gst/gstpipeline.c: (gst_pipeline_class_init),
10886 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10887 Only redistribute the clock of it changed.
10889 * gst/gstsystemclock.h:
10894 Moved the _flow_get_name() to GstPad.
10896 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10898 * check/gst-libs/gdp.c: (GST_START_TEST):
10899 * check/gst/gstcaps.c: (GST_START_TEST):
10900 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
10901 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
10902 (gst_dp_packet_from_caps):
10903 fix more valgrind warnings before turning up the heat
10905 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10907 * gst/parse/grammar.y:
10908 some cleanup before the hacking
10910 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10912 * gst/base/gstbasesrc.c: (gst_base_src_query):
10914 * gst/gstutils.c: (gst_guint64_to_gdouble),
10915 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
10917 externalize, basesrc uses it
10918 obviously the implementation needs testing
10920 2005-10-10 Wim Taymans <wim@fluendo.com>
10922 * tests/sched/Makefile.am:
10923 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
10924 (make_pipeline3), (make_pipeline4), (print_elem), (main):
10926 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10928 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
10929 apparently converting from guint64 to double is not implemented
10932 2005-10-10 Wim Taymans <wim@fluendo.com>
10934 * check/Makefile.am:
10935 * check/generic/states.c: (GST_START_TEST):
10936 * check/gst/gstbin.c: (GST_START_TEST):
10937 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10938 * check/states/sinks.c: (GST_START_TEST):
10939 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10941 Check fixes, use API as stated in design docs, remove hacks.
10943 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10944 (gst_base_sink_change_state):
10945 Catch stopping our task while we're shutting down.
10947 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10948 (gst_bin_remove_func), (gst_bin_get_state_func),
10949 (gst_bin_recalc_state), (gst_bin_change_state_func),
10952 * gst/gstelement.c: (gst_element_init),
10953 (gst_element_get_state_func), (gst_element_abort_state),
10954 (gst_element_commit_state), (gst_element_lost_state),
10955 (gst_element_set_state), (gst_element_change_state),
10956 (gst_element_change_state_func):
10957 * gst/gstelement.h:
10958 New state change algorithm (see #318116)
10960 * gst/gstpipeline.c: (gst_pipeline_class_init),
10961 (gst_pipeline_init), (gst_pipeline_set_property),
10962 (gst_pipeline_get_property), (do_pipeline_seek),
10963 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10964 * gst/gstpipeline.h:
10965 Remove crude state change hacks.
10968 Remove crude hacks.
10970 * tools/gst-launch.c: (main):
10971 Fixes for state change. Needs some more work to fully use the
10974 2005-10-10 Andy Wingo <wingo@pobox.com>
10976 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
10978 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
10979 this flag, but it's not even in GLib 2.6. Odd. Hack around the
10982 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10984 * gst/gstiterator.c: (gst_iterator_new):
10985 Fix my previous commit: GTypes passed to gst_iterator_new()
10986 can be fundamental types.
10988 2005-10-10 Wim Taymans <wim@fluendo.com>
10990 * gst/gstelement.c: (gst_element_iterate_pad_list),
10991 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
10992 (gst_element_iterate_sink_pads):
10993 Use src/sink pads lists for the respective iterators instead
10996 2005-10-10 Andy Wingo <wingo@pobox.com>
10998 Merged in popt removal + GOption addition patch from Ronald, bug
11001 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11002 GstElement macros around, remove popt-related symbols, add goption
11005 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11007 * docs/gst/Makefile.am:
11008 * docs/libs/Makefile.am: No POPT_CFLAGS.
11010 * examples/manual/Makefile.am:
11011 * docs/manual/basics-init.xml: Doc updates with an example.
11013 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11014 (gst_init), (parse_one_option), (parse_goption_arg):
11015 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11016 bit of hand merging and debugging to get the GOption stuff working
11019 * tests/Makefile.am:
11020 * tools/Makefile.am:
11021 * tools/gst-inspect.c: (main):
11022 * tools/gst-launch.c: (main):
11023 * tools/gst-run.c: (main):
11024 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11026 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11028 * gst/gstiterator.c: (gst_iterator_new):
11029 Add assertions to make sure passed GType is likely to really
11030 be a GType (as the compiler won't catch it if the size and
11031 GType arguments get mixed up, see #318447).
11033 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11035 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11037 * gst/gstbin.c: (gst_bin_iterate_sorted):
11038 Pass GType and size arguments to gst_iterator_new() in the right
11039 order (maybe we should make _new() take the GType as first argument
11040 just like _new_list()?) (#318447).
11043 2005-10-10 Wim Taymans <wim@fluendo.com>
11045 * gst/gstelement.c: (gst_element_finalize):
11046 And free the GStaticRecMutex too
11048 2005-10-10 Andy Wingo <wingo@pobox.com>
11050 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11051 Allocate and free the mutex properly.
11053 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11055 (GstElement): The state_lock is now recursive. Rebuild your
11056 plugins, suckers. Old macros adapted.
11058 * docs/gst/gstreamer-sections.txt: Doc updates.
11061 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11062 (g_static_rec_cond_wait): Ported from state changes patch, while
11063 we wait on bug #317802 to be solved in a well-distributed GLib.
11065 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11066 gst_element_change_state, variable name changes.
11067 (gst_element_change_state): Split out of gst_element_set_state in
11068 preparation for the state change merge. Doesn't pay attention to
11069 the 'transition' argument.
11070 (gst_element_set_state): Updates, hopefully purely cosmetic.
11071 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11072 state change patch.
11073 (gst_element_get_state_func): Renamed from get_state, cosmetic
11076 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11078 * gst/elements/gstelements.c:
11079 * win32/GStreamer.vcproj:
11081 * win32/dirent.c: (_tseekdir):
11082 * win32/gst-inspect.vcproj:
11083 * win32/gst-launch.vcproj:
11084 * win32/gstconfig.h:
11085 * win32/gstelements.vcproj:
11086 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11087 * win32/gstreamer.def:
11088 * win32/msvc71.sln:
11089 updates for the win32 build (patch from Sebastien Moutte)
11091 2005-10-10 Andy Wingo <wingo@pobox.com>
11093 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11094 gst_bin_get_state, cleaned up (but no logic changes).
11095 (bin_element_is_sink): Comment updates.
11096 (sink_iterator_filter): Remove needless cast.
11097 (gst_bin_iterate_sinks): Doc update.
11098 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11099 cleaned up (but no logic changes).
11101 * check/states/sinks.c (test_src_sink): Cleanups from the state
11103 (test_livesrc_sink): Sync on the state.
11105 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11106 the state change patch.
11108 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11111 * check/gst/gstbin.c: Merge in some style fixes and additional
11112 checks from Wim's state change patch.
11114 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11116 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11117 (gst_type_find_helper):
11118 Check whether we have the requested data already in our list of
11119 cached buffers before pulling a new buffer; also make the buffer
11120 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11122 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11127 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11128 don't use long long, it's not portable. Replacing with
11129 gint64 seems to work; let's hope no skeletons fall out of the closet.
11131 2005-10-10 Andy Wingo <wingo@pobox.com>
11133 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11135 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11137 * docs/gst/gstreamer-sections.txt:
11142 * gst/gstmessage.c: (gst_message_parse_state_changed):
11145 more docs, fix compilation
11147 2005-10-09 Philippe Khalaf <burger@speedy.org>
11148 * gst/gstmessage.c:
11149 Fixed a few forgotten variables on previous commit
11151 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11153 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11154 Fix evil typefind crasher: getrange() might return a short
11155 buffer at the end of a file, but gst_type_find_peek() must
11156 either return the full data as requested or NULL, but
11157 never a short buffer.
11159 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11161 * gst/gstmessage.c: (gst_message_new_state_changed),
11162 (gst_message_parse_state_changed):
11163 * gst/gstmessage.h:
11164 don't use "new", it's a C++ keyword
11166 2005-10-08 Wim Taymans <wim@fluendo.com>
11168 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11169 * gst/gstelement.c: (gst_element_post_message):
11170 * gst/gstpipeline.c: (gst_pipeline_change_state):
11171 Small docs and debug updates.
11173 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11175 * docs/gst/gstreamer-sections.txt:
11176 * gst/gstelementfactory.c:
11178 * gst/gsttaglist.c:
11181 2005-10-08 Wim Taymans <wim@fluendo.com>
11183 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11184 (gst_bin_dispose), (bin_bus_handler):
11185 Fix typos, add comments.
11186 Clear EOS list when going to PAUSED from any direction and do it
11187 in a threadsafe way.
11188 Get base time in a threadsafe way too.
11189 Fix confusing debug in the change_state function.
11190 Various other small cleanups.
11192 * gst/gstelement.c: (gst_element_post_message):
11193 Fix very verbose bus posting code.
11195 * gst/gstpipeline.c: (gst_pipeline_class_init),
11196 (gst_pipeline_set_property), (gst_pipeline_get_property),
11197 (gst_pipeline_change_state):
11198 Small ARG_ -> PROP_ cleanup
11200 2005-10-08 Wim Taymans <wim@fluendo.com>
11202 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11203 Do a less CPU demanding EOS check because we can.
11205 2005-10-08 Wim Taymans <wim@fluendo.com>
11207 * libs/gst/dataprotocol/dataprotocol.c:
11208 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11209 (gst_dp_packet_from_event):
11210 * libs/gst/dataprotocol/dataprotocol.h:
11211 * libs/gst/dataprotocol/dp-private.h:
11212 It's about time we bump the version number.
11213 Since event types don't fit in the guint8 anymore describing
11214 the payload type, make payload type 16 bits wide.
11216 2005-10-08 Wim Taymans <wim@fluendo.com>
11218 * docs/design/part-TODO.txt:
11219 * docs/design/part-clocks.txt:
11220 * docs/design/part-events.txt:
11221 * docs/design/part-gstbin.txt:
11222 * docs/design/part-gstelement.txt:
11223 * docs/design/part-gstpipeline.txt:
11224 * docs/design/part-live-source.txt:
11225 * docs/design/part-messages.txt:
11226 * docs/design/part-overview.txt:
11227 * docs/design/part-states.txt:
11230 2005-10-08 Wim Taymans <wim@fluendo.com>
11234 Fix event quark registration.
11235 Add some space between events so we can insert them in the
11238 2005-10-08 Wim Taymans <wim@fluendo.com>
11240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11241 (gst_base_sink_handle_buffer):
11242 Better log message.
11245 * gst/gstelement.h:
11248 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11249 (gst_queue_set_property), (gst_queue_get_property):
11251 Remove old unused properties.
11253 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11254 * docs/gst/gstreamer-sections.txt:
11255 * gst/gstmessage.c:
11256 * gst/gstmessage.h:
11257 * gst/gstminiobject.c:
11258 * gst/gstminiobject.h:
11262 lots of new docs and doc fixes
11264 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11266 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11268 * gst/gstregistry.c: (gst_registry_lookup_locked),
11269 (gst_registry_scan_path_level):
11270 * gst/gstregistryxml.c: (load_plugin):
11271 Only ever load one plugin for a given plugin basename.
11272 This ensures correct overriding of GST_PLUGIN_PATH over
11273 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11274 system installed plugins.
11276 2005-10-08 Wim Taymans <wim@fluendo.com>
11278 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11279 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11280 Prepare for doing QOS.
11282 2005-10-08 Wim Taymans <wim@fluendo.com>
11284 * check/gst/gstbin.c: (GST_START_TEST):
11285 * check/pipelines/cleanup.c: (GST_START_TEST):
11286 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11287 Allow new clock message too.
11289 2005-10-08 Wim Taymans <wim@fluendo.com>
11291 * gst/gstmessage.c: (gst_message_new_error),
11292 (gst_message_new_warning), (gst_message_new_tag),
11293 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11294 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11295 (gst_message_new_segment_start), (gst_message_new_segment_done),
11296 (gst_message_parse_state_changed),
11297 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11298 (gst_message_parse_new_clock):
11299 * gst/gstmessage.h:
11300 Also carry the clock in question.
11302 2005-10-08 Wim Taymans <wim@fluendo.com>
11304 * gst/gstmessage.c: (gst_message_new_custom),
11305 (gst_message_new_eos), (gst_message_new_error),
11306 (gst_message_new_warning), (gst_message_new_tag),
11307 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11308 (gst_message_new_new_clock), (gst_message_new_segment_start),
11309 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11310 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11311 * gst/gstmessage.h:
11313 Added clock related messages.
11315 * gst/gstpipeline.c: (gst_pipeline_change_state):
11316 Post message when the clock changed.
11318 * tools/gst-launch.c: (event_loop):
11321 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11323 * tools/gst-inspect.c: (print_element_properties_info):
11324 Can't pass NULL strings to g_print() on windows.
11326 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11328 * docs/Makefile.am:
11329 * docs/gst/Makefile.am:
11330 * docs/gst/gstreamer-docs.sgml:
11331 * docs/gst/running.xml:
11332 * docs/version.entities.in:
11333 add a chapter on running GStreamer.
11334 document GST_DEBUG and GST_PLUGIN* env vars
11336 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11341 remove PLUGINS_BUILDDIR stuff
11342 * gst/gst.c: (init_post):
11343 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11345 remove, it was condescending and not needed
11347 2005-10-08 Wim Taymans <wim@fluendo.com>
11349 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11350 (gst_base_sink_handle_object), (gst_base_sink_event),
11351 (gst_base_sink_wait), (gst_base_sink_handle_event),
11352 (gst_base_sink_change_state):
11353 * gst/base/gstbasesink.h:
11354 Repost EOS message while going to PLAYING if still EOS.
11355 Make sure that when receiving a FLUSH_START we don't attempt
11356 to sync on the clock anymore.
11358 2005-10-08 Wim Taymans <wim@fluendo.com>
11360 * tools/gst-launch.c: (event_loop):
11361 Better message printout.
11363 2005-10-08 Wim Taymans <wim@fluendo.com>
11365 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11366 (gst_bin_child_proxy_get_children_count):
11367 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11368 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11369 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11370 (gst_child_proxy_set_valist):
11371 * gst/parse/grammar.y:
11372 Make ChildProxy threadsafe and fix mem leaks.
11374 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11376 * gst/gst.c: (init_post):
11377 debug the GST_PLUGIN_ env vars
11379 2005-10-08 Wim Taymans <wim@fluendo.com>
11381 * check/gst/gstbin.c: (GST_START_TEST):
11382 * check/gst/gstmessage.c: (GST_START_TEST):
11383 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11384 * gst/gstelement.c: (gst_element_commit_state),
11385 (gst_element_lost_state):
11386 * gst/gstmessage.c: (gst_message_new_state_changed),
11387 (gst_message_parse_state_changed):
11388 * gst/gstmessage.h:
11389 * tools/gst-launch.c: (event_loop):
11390 Added extra field to STATE_CHANGE message with the pending
11391 state, which will be different from the new state soon.
11393 2005-10-08 Wim Taymans <wim@fluendo.com>
11395 * gst/gstbus.c: (gst_bus_pop):
11397 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11398 Small cleanups and doc updates.
11400 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11402 * gst/gst.c: (init_pre):
11403 * gst/gstbin.c: (gst_bin_add_func):
11404 log distributing clocks and base time
11405 * gst/gstregistry.c: (gst_registry_add_plugin),
11406 (gst_registry_scan_path_level), (gst_registry_scan_path):
11407 clean up the debugging output a little
11408 * gst/gstutils.c: (gst_element_state_get_name):
11409 warn about a memleak (I've actually seen this be used, though
11410 it was probably a bug)
11412 2005-10-07 Wim Taymans <wim@fluendo.com>
11414 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11415 (gst_base_src_init), (gst_base_src_default_newsegment),
11416 (gst_base_src_newsegment), (gst_base_src_do_seek),
11417 (gst_base_src_loop), (gst_base_src_start):
11418 * gst/base/gstbasesrc.h:
11419 Make the newsegment event customizable by subclasses.
11421 2005-10-07 Wim Taymans <wim@fluendo.com>
11423 * gst/gstevent.c: (gst_event_new_buffersize),
11424 (gst_event_parse_buffersize):
11426 New event for future idea.
11428 2005-10-07 Andy Wingo <wingo@pobox.com>
11430 * gst/gstelement.c (gst_element_post_message): Doc update.
11432 * docs/gst/gstreamer-sections.txt: Update.
11434 * gst/gstmessage.c (gst_message_new_application): Made into a
11435 function like honest API calls.
11436 (gst_message_new_element): New message type.
11438 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11440 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11441 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11444 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11445 NO_PREROLL from gst_element_change_state to fall through.
11447 2005-10-07 Wim Taymans <wim@fluendo.com>
11449 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11450 (gst_ghost_pad_do_activate_push):
11451 Activating a ghostpad with no internal pad in push mode
11454 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11457 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11458 Fixes compilation on Windows.
11460 2005-10-07 Michael Smith <msmith@fluendo.com>
11462 * tools/gst-inspect.c:
11463 Print out feature and plugin count at the end when printing out
11466 2005-10-04 Michael Smith <msmith@fluendo.com>
11468 * gst/gsterror.c: (_gst_stream_errors_init):
11469 Add another error string used in a few existing plugins.
11472 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11473 * tools/gst-inspect.c: (print_element_info):
11474 When a feature disappears from a plugin (and the feature exists in
11475 the cached registry file), things went horribly wrong. This isn't a
11476 complete fix, we should actually be removing the 'missing' features
11477 from the features list when we load the actual plugin. That's not
11480 2005-10-04 Johan Dahlin <johan@gnome.org>
11482 * check/gst/gstiterator.c: (GST_START_TEST):
11483 * gst/gstbin.c: (gst_bin_iterate_elements),
11484 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11485 * gst/gstelement.c: (gst_element_iterate_pads):
11486 * gst/gstformat.c: (gst_format_iterate_definitions):
11487 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11488 (gst_iterator_new_list), (gst_iterator_filter):
11489 * gst/gstiterator.h:
11490 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11491 Add a GType to GstIterator, update callsites and tests.
11493 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11495 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11496 give events a chance to be handled by event probes when the pad
11499 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11501 * gst/gstevent.c: (gst_event_type_get_name),
11502 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11504 add string representations for event types
11506 2005-10-06 Wim Taymans <wim@fluendo.com>
11508 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11509 Don't use NULL pointers.
11511 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11513 * gst/gst_private.h:
11515 * gst/gstelement.c:
11517 * gst/gstpluginfeature.c:
11518 widen the debug category in output to fit the biggest one we have
11519 add a bus category and use it
11520 play with the colors
11521 fix up some categories
11523 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11525 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11526 add push activation of sink ghost pads.
11527 Andye, please verify
11529 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11531 * gst/gstutils.c: (gst_element_link_pads):
11532 fix a bug in the case where neither element has a pad
11533 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11534 add a test for that case
11536 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11538 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11539 emit have-data before checking for peers. This allows
11540 for probe handlers to connect elements. This helps autopluggers.
11541 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11543 add six checks, linked/unlinked with no/true/false probe
11545 2005-10-04 Wim Taymans <wim@fluendo.com>
11547 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11548 (gst_fake_sink_event), (gst_fake_sink_preroll),
11549 (gst_fake_sink_render), (gst_fake_sink_change_state):
11550 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11551 (gst_fake_src_get_property), (gst_fake_src_create),
11552 (gst_fake_src_stop):
11553 * gst/elements/gstidentity.c: (gst_identity_stop):
11554 Protect last_message with lock.
11556 2005-10-04 Edward Hervey <edward@fluendo.com>
11559 Added precision in the comments for GST_FORMAT_DEFAULT
11561 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
11563 * tools/gst-launch.c: (main):
11564 Don't try to run erroneous pipelines.
11566 2005-10-04 Julien MOUTTE <julien@moutte.net>
11568 * gst/gstbus.c: We don't need this header.
11570 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11573 back to development
11575 === release 0.9.3 ===
11577 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11581 Releasing 0.9.3, "Unregistered"
11583 2005-10-03 Andy Wingo <wingo@pobox.com>
11585 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11586 whereby calling a pad's activatepush() function can start a thread
11587 that starts to push or pull before the pad gets the FLUSHING flag
11588 unset. Hack around it by holding the stream lock until the flag is
11589 set. Need to replace this with a proper solution. Together with
11590 the ghost pad fixes, this fixes mp3 playing/tagreading.
11592 * docs/design/part-gstghostpad.txt: Add a note about activation of
11593 proxy pads outside of ghost pads.
11595 * gst/gstghostpad.c: Implement the ghost pad activation design.
11597 2005-10-02 Andy Wingo <wingo@pobox.com>
11599 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11600 It is volatile, after all.
11602 * docs/design/part-gstghostpad.txt: Flesh out activation with
11605 * gst/base/gstbasesrc.c (gst_base_src_init): Use
11608 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
11611 Fix (unused) AM_CONDITIONAL tests.
11613 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
11615 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11617 * gst/gstutils.c: (gst_pad_query_convert):
11618 Add assertion that makes sure src_val is >=0, just like
11619 gst_query_new_convert() has. (#315895)
11621 2005-09-30 Edward Hervey <edward@fluendo.com>
11623 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11624 Let's not iterate pads we're not interested in, it avoids getting
11625 sky-high refcounts on sinkpad.
11627 2005-09-30 Wim Taymans <wim@fluendo.com>
11629 * gst/gstelement.c: (gst_element_set_state),
11630 (gst_element_change_state):
11631 Small tweak, element in ASYNC remains ASYNC.
11633 2005-09-30 Wim Taymans <wim@fluendo.com>
11635 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11636 Only error is an error.
11638 * gst/gstbin.c: (gst_bin_change_state):
11641 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11642 Also call pad_block in pad alloc.
11644 * gst/gstutils.c: (gst_flow_get_name):
11647 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11649 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11650 (gst_base_src_get_range):
11651 Fix documentation typos. Add some more debug info.
11653 2005-09-29 David Schleef <ds@schleef.org>
11655 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11656 more end-user friendly.
11657 * tools/gst-inspect.c: (main): Check if command-line argument is
11658 a file and attempt to load that file as a plugin.
11660 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11662 * check/gst/gstbin.c:
11663 * check/states/sinks.c:
11664 fix tests for the new warning
11665 * check/gst/gstpipeline.c:
11666 add a test for pipeline and bus interaction
11667 * gst/gstelement.c:
11668 elements should be NULL if they get disposed; add a warning if not
11670 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11673 for 2.6 refcounting, make debug log more correct by printing
11674 the actual refcounts at the time of swap (Wim)
11676 2005-09-29 Andy Wingo <wingo@pobox.com>
11678 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11679 removes signal watches previously added via
11680 gst_bus_add_signal_watch.
11681 (gst_bus_add_signal_watch): Don't return the source id, just store
11682 it on the bus if there wasn't an id already.
11684 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11685 add_signal_watch and remove_signal_watch.
11687 2005-09-29 Edward Hervey <edward@fluendo.com>
11689 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11690 Better if we actually iterate the list :)
11692 2005-09-29 Wim Taymans <wim@fluendo.com>
11694 * check/gst/gstbin.c: (GST_START_TEST):
11695 Change for new bus API.
11697 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11698 (send_messages), (GST_START_TEST), (gstbus_suite):
11699 Change for new bus signal API.
11701 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11702 (gst_bus_source_prepare), (gst_bus_source_check),
11703 (gst_bus_create_watch), (gst_bus_add_watch_full),
11704 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11705 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11707 Remove support for multiple GSources operating on different
11708 message types as it is too complex and unneeded when using
11710 Added support for receiving signals from the bus.
11712 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11714 * docs/libs/tmpl/gstdataprotocol.sgml:
11715 * docs/manual/advanced-dataaccess.xml:
11716 * gst/elements/gstcapsfilter.c:
11718 rename filter-caps to caps property
11720 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11722 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11723 More robust fraction string parsing.
11725 * docs/pwg/appendix-porting.xml:
11726 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11728 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11730 * gst/gstcaps.c: (gst_caps_do_simplify):
11731 Thou shalt not free a structure and then continue using it
11732 in the next loop iteration.
11734 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11736 Add test case for caps simplification.
11738 2005-09-29 Wim Taymans <wim@fluendo.com>
11740 * check/gst/gstbin.c: (GST_START_TEST):
11743 2005-09-29 Wim Taymans <wim@fluendo.com>
11745 * check/gst/gstbin.c: (GST_START_TEST):
11748 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11749 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11750 (find_element), (gst_bin_sort_iterator_next),
11751 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11752 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11753 (gst_bin_change_state), (gst_bin_dispose):
11754 A bin does not have a bus, it gets the bus from the parent.
11756 * gst/gstelement.c: (gst_element_requires_clock),
11757 (gst_element_provides_clock), (gst_element_is_indexable),
11758 (gst_element_is_locked_state), (gst_element_change_state),
11759 (gst_element_set_bus_func):
11762 * gst/gstpipeline.c: (gst_pipeline_class_init),
11763 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11764 The pipeline provides a bus.
11766 2005-09-28 Johan Dahlin <johan@gnome.org>
11768 * gst/gstmessage.c (gst_message_parse_state_changed): Use
11769 gst_structure_get_enum instead of gst_structure_get_int
11771 * gst/gststructure.c (gst_structure_get_enum): Impl.
11773 * gst/gststructure.h (gst_structure_get_enum): Add
11775 * docs/gst/gstreamer-sections.txt: Ditto
11777 * gst/gstmessage.c (gst_message_new_state_changed): Use
11778 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11779 which does introspection.
11780 Reviewed by Christian Schaller
11782 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11784 * gst/gstinfo.c: (gst_debug_log_default):
11785 don't do dummy g_strdup()s
11786 * libs/gst/controller/gstcontroller.c:
11787 (on_object_controlled_property_changed),
11788 (gst_controlled_property_new), (gst_controller_new_valist),
11789 (gst_controller_new_list),
11790 (gst_controller_remove_properties_valist), (gst_controller_set),
11791 (gst_controller_get), (gst_controller_sync_values),
11792 (gst_controller_get_value_array), (_gst_controller_class_init),
11793 (gst_controller_get_type):
11794 * libs/gst/controller/gstcontroller.h:
11795 * libs/gst/controller/gstinterpolation.c:
11796 (gst_controlled_property_find_timed_value_node):
11797 convert // to /**/ comments
11799 2005-09-28 Wim Taymans <wim@fluendo.com>
11801 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11802 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11803 (gst_bus_sync_signal_handler):
11805 Added async-message and sync-message signals to the bus.
11806 Added helper BusFunc to emit signals for all posted messages.
11808 * gst/gstmessage.c: (gst_message_type_get_name),
11809 (gst_message_type_to_quark), (gst_message_get_type):
11810 * gst/gstmessage.h:
11811 Register quarks for message names.
11813 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11815 * docs/libs/gstreamer-libs-sections.txt:
11816 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11817 (gst_controller_new_list):
11818 * libs/gst/controller/gstcontroller.h:
11819 added another constructor for language bindings
11821 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
11823 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11827 * gst/gstinfo.c: (_gst_debug_init):
11828 slightly more readable color for refcount debugging
11830 2005-09-28 Wim Taymans <wim@fluendo.com>
11832 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11833 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11834 (find_element), (gst_bin_sort_iterator_next),
11835 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11836 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11837 (gst_bin_change_state), (gst_bin_dispose):
11838 Small doc fixes. get_clock -> provide_clock.
11840 * gst/gstelement.c: (gst_element_class_init),
11841 (gst_element_provides_clock), (gst_element_provide_clock),
11842 (gst_element_get_clock), (gst_element_commit_state),
11843 (gst_element_lost_state):
11844 * gst/gstelement.h:
11845 Make get/set_clock() symetric. Add provide_clock vmethod since
11846 that is actually what this function does.
11848 * gst/gstpipeline.c: (gst_pipeline_class_init),
11849 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11850 (gst_pipeline_get_clock):
11851 get_clock -> provide_clock.
11853 2005-09-28 Andy Wingo <wingo@pobox.com>
11855 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11856 lieu of real docs...
11858 * gst/elements/gstfdsrc.c: Cleaned up a bit.
11860 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
11862 * gst/elements/gstcapsfilter.c:
11863 * gst/elements/gstfakesink.c:
11864 * gst/elements/gstfakesrc.c:
11865 * gst/elements/gstfdsink.c:
11866 * gst/elements/gstfdsrc.c:
11867 * gst/elements/gstfilesink.c:
11868 * gst/elements/gstfilesrc.c:
11869 * gst/elements/gstidentity.c:
11870 * gst/elements/gsttee.c:
11871 * gst/elements/gsttypefindelement.c:
11872 Make element details static.
11874 2005-09-28 Wim Taymans <wim@fluendo.com>
11876 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11877 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11878 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11879 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11880 (gst_bin_change_state), (gst_bin_dispose):
11881 Some documentation updates.
11882 Clean up dispose handlers.
11884 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
11885 * gst/gstpad.c: (gst_pad_dispose):
11886 Clean up dispose handler.
11888 * gst/gstpipeline.c: (gst_pipeline_change_state):
11889 Removed spurious UNLOCK.
11891 2005-09-27 Stefan Kost <ensonic@users.sf.net>
11893 * docs/gst/gstreamer-sections.txt:
11894 * gst/base/gstbasesrc.h:
11895 * gst/gstelement.h:
11899 * gst/gstpipeline.c:
11900 * gst/gstpipeline.h:
11903 added two new functions to the docs
11904 documents all undocumented GstXXXFlags
11905 completed some incomplete docs
11907 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
11909 * gst/gstbin.c: (gst_bin_dispose):
11910 * gst/gstelement.c: (gst_element_dispose):
11911 remove now useless and leaky resurrection code in dispose
11912 * gst/base/gstbasesrc.c: (gst_base_src_init):
11913 * gst/gstelementfactory.c: (gst_element_factory_create):
11914 * gst/gstobject.c: (gst_object_set_parent):
11917 2005-09-27 Wim Taymans <wim@fluendo.com>
11919 * docs/design/part-TODO.txt:
11922 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11923 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11924 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11925 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11926 (gst_bin_change_state):
11927 * gst/gstelement.h:
11928 Remove element variable, we keep element info in the iterator now.
11930 2005-09-27 Andy Wingo <wingo@pobox.com>
11932 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11935 2005-09-27 Wim Taymans <wim@fluendo.com>
11937 * check/gst/gstbin.c: (GST_START_TEST):
11938 Enable check that works now.
11940 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11941 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11942 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11943 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11944 (gst_bin_change_state):
11946 Redid the state change algorithm using a topological sort algo.
11947 Handles all cases correctly.
11948 Exposed iterator for state change order.
11950 * gst/gstelement.h:
11951 Temp storage for state changes. Need to get rid of this soon.
11953 2005-09-27 Wim Taymans <wim@fluendo.com>
11955 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11956 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11957 (link_fold_func), (gst_pad_proxy_setcaps):
11958 Leak fixes, the fold functions need to unref the passed object and
11959 _get_parent_*() returns ref to parent.
11961 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11963 * check/gst/gstbuffer.c: (test_make_writable):
11964 Plug leak in test case and fix 'make check-valgrind'
11966 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11968 * gst/gstbuffer.c: (gst_subbuffer_init):
11969 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
11970 works correctly in all circumstances (we could have just copied
11971 the parent buffer's readonly flag, but conceptually it seems
11972 cleaner to mark all subbuffers as read-only). (based on patch
11973 by Alessandro Decina, #314710).
11975 * check/gst/gstbuffer.c: (create_read_only_buffer),
11976 (test_make_writable), (test_subbuffer_make_writable),
11978 Add some tests for gst_buffer_make_writable().
11980 2005-09-27 Wim Taymans <wim@fluendo.com>
11982 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
11983 use gst_object_has_ancestor().
11985 * gst/gstobject.c: (gst_object_has_ancestor):
11987 gst_object_has_ancestor() copied from gstbin.c as it is a
11990 * tests/instantiate/create.c: (create_all_elements):
11991 * tests/lat.c: (handoff_src), (handoff_sink):
11992 * tests/sched/runxml.c: (main):
11993 * tests/seeking/seeking1.c: (main):
11994 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
11996 Fix compilation of some tests.
11998 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12001 Remove comment. GST_TYPE_G_ERROR is here to stay,
12002 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12003 (#316961, #300610).
12005 2005-09-26 Wim Taymans <wim@fluendo.com>
12007 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12008 Added check that shows error in state change order.
12010 2005-09-26 Wim Taymans <wim@fluendo.com>
12012 * gst/gstbin.c: (gst_bin_change_state):
12013 Make state change function use 3 queues again, we were
12014 adding elements in the wrong order.
12016 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12019 * gst/gstpad.c: (gst_pad_dispose):
12020 Added some debug info first.
12022 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12024 * docs/design/draft-push-pull.txt:
12025 * docs/design/part-events.txt:
12026 * docs/design/part-overview.txt:
12027 * docs/design/part-scheduling.txt:
12028 Replace all _pull_region() with _pull_range()
12030 2005-09-26 Andy Wingo <wingo@pobox.com>
12032 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12034 * check/gst-libs/controller.c: Update for controller api change.
12037 * tests/Makefile.am:
12038 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12039 over by GLib bug 118439.
12041 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12042 routines to a function.
12044 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12046 * libs/gst/controller/gsthelper.c:
12047 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12048 (gst_object_sync_values): Renamed from sink_values. Ugh.
12050 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12052 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12053 Renamed from controller_key, as it is exported.
12055 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12057 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12062 * gst/gstpadtemplate.h:
12065 * gst/gstqueryutils.c:
12066 * gst/gstqueryutils.h:
12067 remove queryutils headers after moving the two used functions
12068 to gstquery. also fixes build problem for gstsiddec
12070 2005-09-26 Michael Smith <msmith@fluendo.com>
12072 * tools/gst-launch.1.in:
12073 Correct documentation in manpage of debug syntax
12075 2005-09-26 Wim Taymans <wim@fluendo.com>
12077 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12078 (gst_base_src_is_seekable), (gst_base_src_change_state):
12079 Some more debugging info.
12081 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12083 * docs/gst/gstreamer-sections.txt:
12084 * gst/base/gstbasetransform.h:
12088 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12090 * docs/gst/.cvsignore:
12091 * docs/gst/tmpl/.cvsignore:
12092 * docs/gst/tmpl/gstpipeline.sgml:
12093 * docs/gst/tmpl/gstplugin.sgml:
12094 * gst/gstpipeline.c:
12097 inlined the last two docs files
12098 removed the tmpl directory from cvs (no more conflicts here!)
12100 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12102 * docs/gst/gstreamer-sections.txt:
12103 * docs/gst/tmpl/.cvsignore:
12104 * docs/gst/tmpl/gstpad.sgml:
12105 * docs/gst/tmpl/gstpadtemplate.sgml:
12107 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12108 (gst_pad_finalize), (gst_pad_set_pad_template):
12110 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12111 (gst_pad_template_class_init), (gst_pad_template_init),
12112 (gst_pad_template_dispose), (name_is_valid),
12113 (gst_static_pad_template_get), (gst_pad_template_new),
12114 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12115 (gst_pad_template_pad_created):
12116 * gst/gstpadtemplate.h:
12117 inlined two more docs
12118 factored gstpadtemplate out of gstpad
12120 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12122 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12123 (test_children_state_change_order_semi_sink):
12124 Fix test case: we can't rely on a fixed state change order when
12125 going from READY => PAUSED because the sink might commit its
12126 new state first when the first buffer created by the source
12127 reaches the sink before the source has finished its change state.
12128 (Test case still fails at times, see #316856, comment 5 onwards)
12130 2005-09-24 Wim Taymans <wim@fluendo.com>
12132 * docs/design/part-events.txt:
12133 * docs/design/part-gstbus.txt:
12134 * docs/design/part-gstpipeline.txt:
12135 * docs/design/part-messages.txt:
12136 * docs/design/part-overview.txt:
12137 * docs/design/part-segments.txt:
12141 * gst/gstelement.c:
12144 * gst/gstiterator.c:
12145 Various documentation updates.
12147 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12150 Well, that's embarassing. Luckily we weren't using
12151 GST_CLOCK_DIFF anywhere.
12153 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12155 * common/gtk-doc.mak:
12156 don't fail on building XML, FC4 slave shows a bunch of doc
12157 missing bits that I don't get
12159 * gst/gstpipeline.c:
12160 * gst/gststructure.c:
12163 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12165 * docs/design/part-gstbin.txt:
12166 * docs/design/part-gstbus.txt:
12168 Add blurb about how the bus goes into flushing mode and
12169 drops all messages when its bin goes from READY into NULL
12172 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12174 * docs/gst/gstreamer-sections.txt:
12175 * gst/gststructure.c: (gst_structure_get_clock_time):
12176 * gst/gststructure.h:
12177 add a method to get a GstClockTime out of a structure
12179 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12181 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12182 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12183 Added test to check state change order in bins (can still be made
12184 to fail here under heavy disk load; bails out with 'Push on pad
12185 fakesink:sink0, but it was not activated in push mode').
12187 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12188 Fix state change order when there is only a semi sink (#316856)
12190 * gst/gstbus.c: (gst_bus_class_init):
12191 Use _class_peek_parent(), not _class_ref(); fix docs to say
12192 'default main context' instead of 'mainloop' where that is
12195 * gst/gstelement.c: (gst_element_commit_state),
12196 (gst_element_set_state):
12197 Fix typos in debug messages
12199 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12202 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12203 * gst/gstpluginfeature.c:
12205 various doc updates
12206 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12207 change an assert into an error until it gets fixed properly
12209 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12211 * docs/gst/gstreamer-sections.txt:
12212 * docs/gst/tmpl/.cvsignore:
12213 * docs/gst/tmpl/gstelement.sgml:
12214 * docs/gst/tmpl/gstinfo.sgml:
12215 * docs/gst/tmpl/gstobject.sgml:
12216 * gst/gstelement.c:
12217 * gst/gstelement.h:
12220 * gst/gstobject.c: (gst_object_class_init):
12222 inlined 3 more biiiig doc files and added some missing docs on the fly
12224 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12226 * check/gst/.cvsignore:
12227 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12228 * gst/gstregistryxml.c: (load_plugin),
12229 (gst_registry_xml_save_plugin):
12230 put back source in registry. add checks for find_plugin.
12231 * testsuite/states/bin.c: (assert_state), (empty_bin),
12232 (test_adding_one_element), (main):
12233 * testsuite/states/locked.c: (main):
12234 some compile/run fixes
12236 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12238 * check/gst/gstvalue.c: (GST_START_TEST):
12239 fix leaks in the test itself
12241 2005-09-22 Wim Taymans <wim@fluendo.com>
12243 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12244 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12245 (gst_base_sink_query):
12246 Prepare for more accurate position reporting and query
12249 * gst/gstelement.c: (gst_element_send_event),
12250 (gst_element_set_state):
12253 2005-09-22 Wim Taymans <wim@fluendo.com>
12255 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12256 (gst_query_parse_segment):
12258 More documentation.
12259 Add segment query for future use.
12261 2005-09-22 Wim Taymans <wim@fluendo.com>
12263 * gst/gstbin.c: (gst_bin_add_func):
12264 Some more debug info.
12266 * gst/gstelement.c: (gst_element_send_event):
12267 Simplify send_event
12269 * gst/gstelement.h:
12270 Don't know how flags got broken.
12275 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12277 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12278 Add simplistic test suite for GST_TYPE_DATE serialisation and
12281 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12283 * docs/gst/gstreamer-sections.txt:
12284 * gst/gststructure.c: (gst_structure_set_valist),
12285 (gst_structure_get_date):
12286 * gst/gststructure.h:
12287 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12288 (gst_date_copy), (gst_value_compare_date),
12289 (gst_value_serialize_date), (gst_value_deserialize_date),
12290 (gst_value_transform_date_string),
12291 (gst_value_transform_string_date), (_gst_value_initialize):
12293 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12294 bunch of utility functions along with a hack that checks that
12295 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12296 is required. Part of the grand scheme in #170777.
12298 2005-09-22 Andy Wingo <wingo@pobox.com>
12300 * gst/gstconfig.h.in: Psych out gtk-doc.
12302 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12304 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12306 * tools/gst-inspect.c (print_element_list): Plug some
12307 inconsequential leaks.
12309 * gst/gstregistry.c (gst_registry_get_default): Doc.
12311 * check/gst/gstplugin.c:
12312 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12313 * gst/gstelementfactory.c (gst_element_factory_create):
12314 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12317 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12318 (gst_plugin_feature_load): Doc, don't eat refs.
12320 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12321 (gst_plugin_list_free): Doc.
12322 (gst_plugin_load_file): Doc updates.
12324 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12325 accessors returning refcounted objects, return a ref.
12327 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12328 accessor for caps. IDEMPOTENCE. Oh yes.
12330 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12332 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12334 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12335 (_gst_debug_register_funcptr):
12336 Add mutex to serialise access to the hash table with
12337 the function pointer => function name string mapping;
12338 make that hash table static scope (#316809).
12340 * gst/registries/.cvsignore:
12341 Remove left-over file.
12343 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12345 * docs/pwg/appendix-porting.xml:
12346 And something about newsegment events and caps-on-buffers to
12347 the porting guide (feel free to improve).
12349 2005-09-21 Andy Wingo <wingo@pobox.com>
12351 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12352 data and event probes on the same pad.
12353 (test_buffer_probe_once): Test that removing probes from within
12354 the probe functions works.
12356 2005-09-21 Andy Wingo <wingo@pobox.com>
12358 * check/gst/gstutils.c: New file.
12359 (test_buffer_probe_n_times): A simple buffer probe test. More to
12362 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12363 have-data::buffer, not have-data.
12364 (gst_pad_add_event_probe): Likewise for have-data::event.
12365 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12366 peer' isn't quite right yet though.
12367 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12368 (gst_pad_remove_data_probe): Change to take the guint handler_id
12369 as their arg, not the function+data, which is more glib-like.
12371 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12372 the signal emission to indicate if the data is a buffer or an
12374 (gst_pad_get_type): Initialize buffer and event quarks.
12375 (gst_pad_class_init): have-data is now a detailed signal, yes it
12378 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12380 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12381 * gst/gstutils.c: (gst_util_set_value_from_string),
12382 (gst_util_set_object_arg):
12383 Don't put functional code in g_return_if_fail() or
12384 g_return_val_if_fail() statements, otherwise things will
12385 break when G_DISABLE_CHECKS is defined during compilation.
12387 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12389 * docs/gst/tmpl/.cvsignore:
12390 * docs/gst/tmpl/gstvalue.sgml:
12393 inlied another one and added some obvious docs
12395 2005-09-21 Wim Taymans <wim@fluendo.com>
12397 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12398 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12399 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12400 (gst_fdsrc_get_property), (gst_fdsrc_create):
12401 * gst/elements/gstfdsrc.h:
12402 Properly implement fdsrc. Removed signal and timeout,
12403 better implemented somewhere else.
12405 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12407 * docs/gst/tmpl/.cvsignore:
12408 * docs/gst/tmpl/gstimplementsinterface.sgml:
12409 * gst/gstinterface.c:
12412 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12414 * docs/gst/gstreamer-sections.txt:
12415 * docs/gst/tmpl/.cvsignore:
12416 * docs/gst/tmpl/gstenumtypes.sgml:
12417 remove obsolete doc file
12419 2005-09-21 David Schleef <ds@schleef.org>
12421 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12422 little beer, fix a little leak.
12424 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12426 * docs/gst/gstreamer-docs.sgml:
12427 * docs/gst/gstreamer-sections.txt:
12428 * docs/gst/tmpl/.cvsignore:
12432 * gst/gstelement.h:
12433 * gst/gstindex.c: (gst_index_class_init):
12435 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12436 (gst_index_factory_class_init), (gst_index_factory_init),
12437 (gst_index_factory_finalize), (gst_index_factory_new),
12438 (gst_index_factory_destroy), (gst_index_factory_find),
12439 (gst_index_factory_create), (gst_index_factory_make):
12440 * gst/gstindexfactory.h:
12441 * gst/gstpluginfeature.c:
12442 * gst/gstpluginfeature.h:
12443 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12444 more docs inlined, splitted gstindex.{c,h}
12446 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12448 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12451 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12453 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12454 Set sync to FALSE by default.
12456 2005-09-20 Wim Taymans <wim@fluendo.com>
12458 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12459 (gst_base_sink_init):
12460 Make sync property settable from subclass.
12462 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12463 (gst_fake_sink_change_state):
12464 Set sync to FALSE by default.
12466 2005-09-20 Wim Taymans <wim@fluendo.com>
12468 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12469 * tools/gst-launch.c: (main):
12470 The timeout handler should have lower priority than the source
12471 so we don't timeout before popping a message with 0 timeout.
12472 Dump error messages after failed state change.
12474 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12476 * tools/gst-inspect.c: (print_element_properties_info):
12479 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12481 * check/gst/gstevent.c:
12482 * gst/elements/gstfakesink.c:
12483 * gst/elements/gstfakesink.h:
12484 remove the sync property from fakesink.
12485 has the side effect of setting sync TRUE
12486 for fakesink, which is a change. Anyone who knows how
12487 to fix this nicely in a GObject-y way, feel free.
12489 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12491 * docs/gst/gstreamer-docs.sgml:
12492 remove probe refsection
12494 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12496 * check/Makefile.am:
12497 disable valgrinding the controller test again
12498 * docs/gst/gstreamer-sections.txt:
12499 update for api-changes
12501 2005-09-20 Wim Taymans <wim@fluendo.com>
12503 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12504 (gst_base_sink_set_property), (gst_base_sink_get_property),
12505 (gst_base_sink_do_sync):
12506 * gst/base/gstbasesink.h:
12507 Added sync property to basesink to disable clock sync.
12509 2005-09-20 Andy Wingo <wingo@pobox.com>
12511 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12512 eating the caller's refcount.
12514 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12515 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12518 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12519 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12520 of GLib 2.8 public, so we can know which refcount to check in
12523 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12524 (gst_object_init): Only set the gst refcount if we're going ahead
12525 with the refcount hack.
12527 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12529 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12530 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12531 more leaks plumbed, added more debug-logging
12535 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12537 * gst/gstmessage.c:
12538 remove include of gstmemchunk.h
12540 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12542 * gst/gstclock.c: (_gst_clock_id_free):
12543 Commit from the Political Party For More Atomic CVS Commits,
12544 so that people don't waste too much of their day fishing
12545 out obvious leaks out of massive commits.
12546 Oh, and fix a pretty damn obvious leak in the memchunk
12549 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12551 * check/Makefile.am:
12552 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12553 plug mem-leak, re-add to valgrindable tests
12555 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12558 unbreak the build for those who have chronic arthritis
12559 and typing "make check" is just too taxing on the hands
12561 2005-09-20 Andy Wingo <wingo@pobox.com>
12563 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12564 really want it out, you should fix plugins at the same time.
12566 2005-09-19 Stefan Kost <ensonic@users.sf.net>
12569 * docs/gst/gstreamer-sections.txt:
12571 added missing symbols to api docs
12572 disable ref-count hack if we have glib >= 2.8
12574 2005-09-19 David Schleef <ds@schleef.org>
12576 * docs/gst/Makefile.am: Ignore a few more internal headers
12577 * docs/gst/gstreamer-docs.sgml: Remove old sections
12578 * docs/gst/gstreamer-sections.txt: Remove old sections
12579 * docs/gst/tmpl/gstobject.sgml: update
12580 * docs/gst/tmpl/gstplugin.sgml: update
12581 * docs/gst/tmpl/gstpluginfeature.sgml: update
12582 * docs/random/ds/0.9-suggested-changes: update.
12583 * gst/Makefile.am: remove memchunk and trashstack, since they're
12585 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12586 * gst/gst.h: don't include some headers
12587 * gst/gstchildproxy.c: add gstmarshal.h
12588 * gst/gstclock.c: Don't use memchunks
12589 * gst/gstminiobject.c: Add some docs
12590 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12591 * gst/gstobject.h: same
12592 * gst/gstplugin.c: include gstmacros.h
12593 * gst/gstplugin.h: don't include gstmacros.h, since it's private
12594 * gst/gstquery.c: don't use memchunks
12595 * gst/gstregistry.c: rename gst_registry_deinit()
12596 * gst/gstregistry.h: same
12598 2005-09-19 David Schleef <ds@schleef.org>
12600 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12601 * docs/libs/gstreamer-libs-sections.txt:
12602 * docs/libs/tmpl/gstgetbits.sgml:
12603 * docs/libs/tmpl/gstputbits.sgml:
12605 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
12607 * win32/gstenumtypes.c:
12608 * win32/gstenumtypes.h:
12611 2005-09-19 Wim Taymans <wim@fluendo.com>
12613 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12614 Automatically PAUSE and RESUME a pipeline when a flushing seek
12617 2005-09-19 Andy Wingo <wingo@pobox.com>
12619 * gst/gstregistry.h: Spacing fixen.
12621 2005-09-19 Wim Taymans <wim@fluendo.com>
12623 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12624 Handle state change failure more correctly.
12626 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12628 * check/Makefile.am:
12629 * check/pipelines/cleanup.c: (run_pipeline):
12630 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12632 enable cleanup again after fixing the leak
12634 some more info on docs
12636 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12638 * check/Makefile.am:
12639 re-enable tests now that leaks are plugged
12641 * check/gst/gstbin.c:
12642 * check/gst/gstpipeline.c:
12643 add some more tests while fixing leaks
12644 * common/check.mak:
12645 make sure binaries are uptodate when valgrinding/gdbing
12647 * gst/gstelementfactory.c:
12648 remove a ref too many, and add a FIXME for when we get
12649 round to disposing of classes
12651 fix the refcounting when loading a plugin from a file and
12652 the code pretends that the pointer is the same even though
12653 of course it can change
12654 * gst/gstpluginfeature.c:
12655 unref plugins marked cached (a bit confusing as a name)
12656 as the docs state should be done
12657 various doc additions to explain refcounting
12658 * gst/gstregistry.c:
12659 * gst/gstregistryxml.c:
12662 2005-09-19 Wim Taymans <wim@fluendo.com>
12664 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12665 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12666 (send_messages), (GST_START_TEST), (gstbus_suite):
12667 * check/gst/gstpipeline.c: (GST_START_TEST):
12668 * check/pipelines/cleanup.c: (run_pipeline):
12669 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12671 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12672 (gst_bus_source_check), (gst_bus_source_dispatch),
12673 (gst_bus_create_watch), (gst_bus_add_watch_full),
12674 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12676 * tools/gst-launch.c: (event_loop):
12677 * tools/gst-md5sum.c: (event_loop):
12678 GstBusHandler -> GstBusFunc, return value has the same meaning as
12679 any other GSource (FALSE == remove source).
12680 _add_watch() and _add_watch_full() now take a MessageType mask to
12681 only handle specific types of messages.
12682 _poll() returns the GstMessage instead of the message type to avoid
12684 _have_pending() takes a MessageType mask now too.
12685 Added testsuite for multiple bus watches.
12686 Fix testsuites and applications for new bus API.
12688 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12690 * check/Makefile.am:
12691 mark a bunch of the tests as to fix until we fix them
12693 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12695 * common/check.mak:
12696 use GST_PLUGIN settings for valgrind tests as well, so we're
12697 valgrinding the correct thing
12698 * gst/gst.c: (init_post):
12701 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12703 * gst/gst.c: (init_post), (gst_deinit):
12704 * gst/gstelementfactory.c: (gst_element_factory_class_init),
12705 (gst_element_factory_finalize), (gst_element_factory_cleanup):
12706 * gst/gstindex.c: (gst_index_factory_class_init),
12707 (gst_index_factory_finalize):
12708 * gst/gstobject.c: (gst_object_dispose):
12709 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12710 (gst_plugin_load_file), (gst_plugin_desc_free):
12711 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12712 (gst_plugin_feature_finalize):
12713 * gst/gstregistry.c: (gst_registry_class_init),
12714 (gst_registry_init), (gst_registry_finalize),
12715 (gst_registry_get_default), (gst_registry_deinit):
12716 * gst/gstregistry.h:
12717 * gst/gstregistryxml.c: (load_feature), (load_plugin):
12718 various cleanups and memleak plugging. make valgrind is happy now.
12720 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12722 * common/check.mak:
12723 add a check-valgrind target
12725 2005-09-18 David Schleef <ds@schleef.org>
12727 * tools/gst-inspect.c: Revert the GOption code.
12729 2005-09-17 David Schleef <ds@schleef.org>
12731 * check/Makefile.am: Fix environment variables.
12732 * check/gst/gstplugin.c: Fix for API changes.
12733 * tools/gst-inspect.c: Fix for API changes.
12734 * tools/gst-xmlinspect.c: Fix for API changes.
12735 * gst/gstelementfactory.c:
12738 * gst/gstpluginfeature.c:
12739 * gst/gstpluginfeature.h:
12740 * gst/gstregistry.c:
12741 * gst/gstregistry.h:
12742 * gst/gstregistryxml.c:
12743 * gst/gsttypefind.c:
12744 * gst/gsttypefindfactory.c:
12745 * gst/indexers/gstfileindex.c:
12746 * gst/indexers/gstmemindex.c:
12747 * gst/schedulers/Makefile.am:
12748 Change registry to keep track of both plugins and features,
12749 removing the feature tracking from plugins themselves.
12751 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12753 * check/Makefile.am:
12754 * tools/gst-register.1.in:
12755 remove gst-register
12757 2005-09-15 David Schleef <ds@schleef.org>
12759 * check/gst/gstplugin.c:
12760 * gst/gstelementfactory.c:
12762 * gst/gstpluginfeature.c:
12763 * gst/gstregistry.c:
12764 Getting tired of debugging. Disabled all the unreffing of
12765 plugins and features, which fixes the segfaults, but of
12766 course leaks like crazy. At least playbin works.
12768 2005-09-15 David Schleef <ds@schleef.org>
12770 * check/gst/gstplugin.c: (register_check_elements),
12771 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12773 * gst/elements/gsttypefindelement.c: Fix refcounting.
12774 * gst/gsttypefind.c:
12775 * gst/gsttypefindfactory.c:
12776 * gst/gsttypefindfactory.h:
12778 2005-09-15 David Schleef <ds@schleef.org>
12780 * gst/gstindex.c: get refcounting correct.
12781 * gst/gstregistry.c: Handle the case where a feature/plugin is
12784 2005-09-15 David Schleef <ds@schleef.org>
12786 * check/Makefile.am:
12787 * check/gst/gstplugin.c: Add test
12788 * gst/gstplugin.c: Fix problems noticed by testsuite
12790 * gst/gstregistry.c:
12791 * gst/gstregistry.h:
12793 2005-09-15 David Schleef <ds@schleef.org>
12795 * gst/gstplugin.c: Implement semi-decent recounting and locking
12796 in plugins and plugin features.
12798 * gst/gstpluginfeature.c:
12799 * gst/gstpluginfeature.h:
12800 * gst/gstregistry.c:
12802 2005-09-15 Michael Smith <msmith@fluendo.com>
12804 * gst/gstregistry.c: (gst_registry_get_feature_list):
12805 Implement this. Makes oggdemux work; decodebin still broken.
12807 2005-09-14 David Schleef <ds@schleef.org>
12809 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12811 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12812 * gst/check/Makefile.am:
12813 * libs/gst/controller/Makefile.am:
12814 * libs/gst/dataprotocol/Makefile.am:
12816 2005-09-14 David Schleef <ds@schleef.org>
12818 * configure.ac: Remove getbits library. Nothing uses it, and
12819 it should be in something like liboil if someone did want
12821 * libs/gst/Makefile.am:
12822 * libs/gst/getbits/Makefile.am:
12823 * libs/gst/getbits/gbtest.c:
12824 * libs/gst/getbits/getbits.c:
12825 * libs/gst/getbits/getbits.h:
12826 * libs/gst/getbits/gstgetbits_generic.c:
12827 * libs/gst/getbits/gstgetbits_i386.s:
12828 * libs/gst/getbits/gstgetbits_inl.h:
12830 2005-09-14 David Schleef <ds@schleef.org>
12832 * gst/Makefile.am: Dist glib-compat.h
12834 2005-09-14 David Schleef <ds@schleef.org>
12836 * configure.ac: Remove gst/registries, since it's no longer used.
12837 * gst/registries/Makefile.am:
12838 * gst/registries/gstlibxmlregistry.c:
12839 * gst/registries/gstlibxmlregistry.h:
12840 * gst/registries/gstxmlregistry.c:
12841 * gst/registries/gstxmlregistry.h:
12842 * gst/registries/registrytest.c:
12844 2005-09-14 David Schleef <ds@schleef.org>
12846 * gst/glib-compat.h:
12847 * gst/gstregistryxml.c:
12848 Convergence is near. Seriously.
12850 2005-09-14 David Schleef <ds@schleef.org>
12852 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12853 * gst/glib-compat.h:
12854 Attempt #4 to appease the buildbots.
12856 2005-09-14 David Schleef <ds@schleef.org>
12858 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12861 2005-09-14 David Schleef <ds@schleef.org>
12863 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12866 2005-09-14 David Schleef <ds@schleef.org>
12868 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
12871 2005-09-14 David Schleef <ds@schleef.org>
12873 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12874 * gst/glib-compat.h: Add some functions that are in newer versions
12875 of glib than we care to require.
12876 * gst/gstregistryxml.c: Use them.
12878 2005-09-14 David Schleef <ds@schleef.org>
12880 * po/POTFILES.in: remove gst-register.c
12882 2005-09-14 David Schleef <ds@schleef.org>
12884 * docs/gst/gstreamer-docs.sgml:
12885 * docs/gst/gstreamer-sections.txt:
12886 * docs/gst/gstreamer.types:
12887 * docs/gst/tmpl/gstelement.sgml:
12888 * docs/gst/tmpl/gstplugin.sgml:
12889 * docs/gst/tmpl/gstpluginfeature.sgml:
12890 Documentation updates for registry changes.
12892 2005-09-14 David Schleef <ds@schleef.org>
12894 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
12895 because we don't require glib-2.8.
12897 2005-09-14 David Schleef <ds@schleef.org>
12899 * gst/gstregistryxml.c: Added. Essentially moved out of the
12900 registries directory.
12902 2005-09-14 David Schleef <ds@schleef.org>
12904 * check/Makefile.am:
12905 * check/generic/states.c:
12909 * gst/gst_private.h:
12910 * gst/gstelementfactory.c:
12915 * gst/gstpluginfeature.c:
12916 * gst/gstpluginfeature.h:
12917 * gst/gstregistry.c:
12918 * gst/gstregistry.h:
12919 * gst/gstregistrypool.c: remove
12920 * gst/gstregistrypool.h: remove
12921 * gst/gsttypefind.c:
12922 * gst/gsttypefindfactory.c:
12924 * tools/Makefile.am:
12925 * tools/gst-compprep.c:
12926 * tools/gst-inspect.c:
12927 * tools/gst-register.c: remove
12928 * tools/gst-xmlinspect.c:
12929 Registry rewrite. Changes registry from being a file created
12930 by a tool into a simple cache file created automatically by
12931 libgstreamer. Removed gst-register (because it's no longer
12932 needed). Remove registry pools, because we only have one
12933 registry implementation (XML). Fix up other subsystems as
12936 2005-09-13 Michael Smith <msmith@fluendo.com>
12938 * gst/gstconfig.h.in:
12939 Don't Use windows linking attributes for MinGW. Fixes #316157
12941 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
12943 * gst/gstutils.c: (set_state_async_thread_func),
12944 (gst_element_set_state_async):
12945 Apparently people think it's better if this function doesn't
12946 try to set the state to whatever state was asked for on the first
12947 call to this function for any object. Seriously.
12949 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12951 * check/gst/gstpipeline.c: (GST_START_TEST):
12952 * docs/gst/gstreamer-sections.txt:
12953 * gst/gstutils.c: (set_state_async_thread_func),
12954 (gst_element_set_state_async):
12956 add a "gst_element_set_state_async" method that
12957 sets the state and starts a thread to make sure the state
12958 change completes as best as it can
12960 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12962 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12963 codify design+behaviour in testsuite after discussion
12965 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12967 * docs/gst/tmpl/gstelement.sgml:
12968 * docs/manual/appendix-quotes.xml:
12970 * gst/gstelement.c: (gst_element_set_state):
12973 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
12975 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12976 (gst_base_transform_prepare_output_buf),
12977 (gst_base_transform_handle_buffer):
12978 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
12979 (gst_capsfilter_prepare_buf):
12980 Remove the requirement for sub-classes to call the parent
12981 implementation of prepare_output_buffer with a wrapper function.
12983 * gst/gsttaglist.h:
12984 * gst/gsttagsetter.h:
12985 Fix #define wrapper
12987 2005-09-11 Stefan Kost <ensonic@users.sf.net>
12989 * docs/gst/gstreamer-sections.txt:
12992 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12994 * docs/gst/gstreamer-sections.txt:
12995 * docs/gst/tmpl/gstelement.sgml:
12996 * docs/gst/tmpl/gstplugin.sgml:
12997 * gst/gstminiobject.c:
12999 docs now stop throwing warnings
13001 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13003 * docs/gst/gstreamer-sections.txt:
13004 * docs/gst/gstreamer.types:
13005 * docs/gst/tmpl/gstpad.sgml:
13006 * docs/gst/tmpl/gsttypes.sgml:
13007 * gst/base/gstadapter.h:
13008 * gst/base/gstbasesink.h:
13009 * gst/base/gstbasesrc.h:
13015 * gst/gstelement.h:
13017 * gst/gstmessage.h:
13019 * gst/gststructure.c:
13020 * gst/registries/gstlibxmlregistry.h:
13021 various documentation fixes
13023 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13025 * docs/gst/gstreamer-sections.txt:
13026 * docs/gst/tmpl/gstvalue.sgml:
13027 rearrange gstvalue section
13028 * gst/gstutils.c: (gst_element_state_get_name):
13030 * gst/gstvalue.c: (_gst_value_initialize):
13034 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13036 * check/gst-libs/controller.c:
13037 Header include fix.
13038 * gst/base/gstbasetransform.c:
13039 (gst_base_transform_default_prepare_buf),
13040 (gst_base_transform_handle_buffer):
13041 * gst/base/gstbasetransform.h:
13042 Some more basetransform changes and fixes to enable sub-classes
13043 that modify buffer metadata only.
13044 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13045 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13046 (gst_capsfilter_prepare_buf):
13047 If the output pad has fixed allowed caps and input buffers
13048 don't have any, set the fixed caps on outgoing buffers.
13050 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13051 * check/elements/identity.c: (GST_START_TEST):
13052 Make the error a little clearer when the test fails because
13053 identity made a copy of the buffer.
13054 * docs/gst/gstreamer-sections.txt:
13055 New symbols in gstbasetransform.h
13056 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13057 (gst_base_transform_init), (gst_base_transform_transform_size),
13058 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13059 (gst_base_transform_default_prepare_buf),
13060 (gst_base_transform_get_unit_size),
13061 (gst_base_transform_buffer_alloc),
13062 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13063 (gst_base_transform_change_state),
13064 (gst_base_transform_set_passthrough),
13065 (gst_base_transform_set_in_place),
13066 (gst_base_transform_is_in_place):
13067 * gst/base/gstbasetransform.h:
13068 Change BaseTransform to separate in_place operate from same_caps
13069 output. in_place implies that the element can perform the transform
13070 on incoming buffers in-place, even if the caps on the output are
13072 Sub-class elements can now implement special buffer allocation
13073 methods for outgoing buffers if they wish to.
13074 Big documentation addition.
13075 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13076 * gst/elements/gstelements.c:
13077 Changes for basetransform modifications.
13078 * gst/elements/Makefile.am:
13079 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13080 Compile fix. Extra debug output.
13082 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13084 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13086 add tests for valid pad naming
13087 * gst/check/gstcheck.c: (gst_check_log_message_func),
13088 (gst_check_log_critical_func):
13090 remove printing of code, it is fragile when the code contains
13091 % and the line number is enough info
13092 * gst/check/gstcheck.h:
13093 * gst/gstpad.c: (gst_pad_template_new):
13096 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13099 say what CHECK flags we use
13100 * docs/libs/gstreamer-libs.types:
13101 * libs/gst/controller/Makefile.am:
13102 * libs/gst/controller/gst-controller.c:
13103 * libs/gst/controller/gst-controller.h:
13104 * libs/gst/controller/gst-helper.c:
13105 * libs/gst/controller/gst-interpolation.c:
13106 * libs/gst/controller/gstcontroller.c:
13107 * libs/gst/controller/gsthelper.c:
13108 * libs/gst/controller/gstinterpolation.c:
13109 * tools/gst-inspect.c: (print_plugin_info):
13110 we don't use dashes in header names
13112 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13114 * check/Makefile.am:
13115 * check/gst/.cvsignore:
13116 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13117 (gst_pipeline_suite), (main):
13118 adding a test for pipelines and state changes
13119 * gst/gstutils.c: (get_state_func):
13121 * gstreamer.spec.in:
13124 2005-09-08 Michael Smith <msmith@fluendo.com>
13126 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13127 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13128 (gst_file_src_is_seekable), (gst_file_src_get_size),
13129 (gst_file_src_start):
13130 * gst/elements/gstfilesrc.h:
13131 Various fixes for unseekable, unmmapable, and non-normal files, so
13132 that fallback to read() rather than mmap() works.
13133 * gst/gstevent.c: (gst_event_new_newsegment):
13134 Allow newsegment events with segment_start == segment_end, as will
13135 correctly happen if you use filesrc on a zero-size file, for
13138 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13140 * gst/gstplugin.c: (gst_plugin_load_file):
13141 Call g_module_close when we don't load the module
13143 * gst/registries/gstlibxmlregistry.c:
13144 (gst_xml_registry_get_property):
13145 Port leak fix from 0.8
13147 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13149 * docs/gst/gstreamer-docs.sgml:
13150 * docs/gst/tmpl/.cvsignore:
13151 * docs/gst/tmpl/gsttrace.sgml:
13152 * docs/gst/tmpl/gsttrashstack.sgml:
13155 * gst/gstelement.h:
13157 * gst/gstmessage.c:
13158 * gst/gstmessage.h:
13161 * gst/gsttaginterface.c:
13162 * gst/gsttaginterface.h:
13163 * gst/gsttaglist.c:
13164 * gst/gsttaglist.h:
13165 * gst/gsttagsetter.c:
13166 * gst/gsttagsetter.h:
13169 * gst/gsttrashstack.c:
13170 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13171 inlined docs for gsttrace, gsttrashstack
13173 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13176 * gst/elements/gstbufferstore.h:
13177 * gst/elements/gsttypefindelement.c:
13178 * gst/elements/gsttypefindelement.h:
13180 * gst/gsttypefind.c:
13181 * gst/gsttypefind.h:
13182 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13183 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13184 (gst_type_find_factory_dispose),
13185 (gst_type_find_factory_unload_thyself),
13186 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13187 (gst_type_find_factory_get_caps),
13188 (gst_type_find_factory_get_extensions),
13189 (gst_type_find_factory_call_function):
13190 * gst/gsttypefindfactory.h:
13191 * gst/registries/gstlibxmlregistry.c:
13192 * gst/registries/gstxmlregistry.c:
13193 splitted gsttypefind into gsttypefind, gsttypefindfactory
13195 2005-09-07 Andy Wingo <wingo@pobox.com>
13197 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13198 condition whereby the pad's task function is entered before the
13199 pad_mode variable was set.
13201 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13203 * gst/gstpad.c: (gst_pad_alloc_buffer):
13204 Catch misbehaving pad_alloc functions that don't
13205 set up caps and do it for them.
13207 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13209 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13210 test for pipe!=NULL
13211 * docs/gst/tmpl/.cvsignore:
13212 * docs/gst/tmpl/gstmemchunk.sgml:
13213 * docs/gst/tmpl/gstparse.sgml:
13214 * docs/gst/tmpl/gsttaglist.sgml:
13215 * docs/gst/tmpl/gsttagsetter.sgml:
13216 * docs/gst/tmpl/gsttypefind.sgml:
13217 * docs/gst/tmpl/gsttypefindfactory.sgml:
13218 * gst/gstmemchunk.c:
13221 * gst/gsttaginterface.c:
13222 * gst/gsttypefind.c:
13223 * gst/gsttypefind.h:
13226 === release 0.9.2 ===
13228 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13233 releasing 0.9.2, "South"
13235 2005-09-05 Andy Wingo <wingo@pobox.com>
13237 * gst/registries/gstxmlregistry.h:
13238 * gst/registries/gstxmlregistry.c: Um... resurrect...
13240 * gst/registries/gstxmlregistry.h:
13241 * gst/registries/gstxmlregistry.c: and update to newer API.
13242 Incidentally they should be a bit faster now that they don't have
13245 2005-09-05 Andy Wingo <wingo@pobox.com>
13247 * gst/registries/gstxmlregistry.h:
13248 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13249 replaced by the libxml registry a while back
13251 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13253 * docs/gst/tmpl/gstplugin.sgml:
13254 * gst/elements/gstelements.c:
13256 * gst/gstplugin.c: (gst_plugin_register_func),
13257 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13258 (gst_plugin_get_source):
13260 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13261 (gst_xml_registry_save_plugin):
13262 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13263 (gst_xml_registry_save_plugin):
13264 * tools/gst-inspect.c: (print_plugin_info):
13265 add a "source" plugin description field, to represent the source
13266 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13267 will set it to PACKAGE, which is automake's idea of the name of
13268 the source project.
13270 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13275 * docs/Makefile.am:
13276 * docs/faq/Makefile.am:
13277 * docs/gst/tmpl/gstelement.sgml:
13278 * docs/gst/tmpl/gsttypes.sgml:
13279 * docs/htmlinstall.mak:
13280 * docs/manual/Makefile.am:
13281 * docs/pwg/Makefile.am:
13282 reorganize doc build a little
13283 split out docbook and gtk-doc stuff
13284 have two separate --enable's and enable them through autogen
13285 but disable by default in configure (to be similar to other
13287 * gstreamer.spec.in:
13288 clean up docs install
13306 translation updates
13308 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13310 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13313 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13314 (gst_fake_sink_change_state):
13315 Make state change function thread-safe.
13317 * gst/gstpad.c: (gst_pad_alloc_buffer):
13318 Set offset on generic buffer allocated by fallback.
13320 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13322 * docs/gst/gstreamer-sections.txt:
13323 * docs/gst/tmpl/gstelement.sgml:
13325 * libs/gst/controller/gst-controller.c:
13326 (gst_controlled_property_set_interpolation_mode),
13327 (gst_controlled_property_new),
13328 (gst_controller_find_controlled_property):
13329 run the wingo-magic script against the docs
13331 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13333 * docs/gst/gstreamer-docs.sgml:
13334 * docs/gst/gstreamer-sections.txt:
13335 * docs/gst/tmpl/.cvsignore:
13336 * docs/gst/tmpl/gstelementdetails.sgml:
13337 * docs/gst/tmpl/gstelementfactory.sgml:
13340 * gst/gstelementfactory.c:
13341 * gst/gstelementfactory.h:
13342 merged elementdetails docs into elementfactory docs
13345 2005-09-02 Andy Wingo <wingo@pobox.com>
13347 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13348 consider this enum an enum and not a flags.
13350 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13352 * docs/gst/gstreamer-docs.sgml:
13353 * docs/gst/tmpl/.cvsignore:
13354 * docs/gst/tmpl/gstghostpad.sgml:
13355 * docs/gst/tmpl/gstiterator.sgml:
13356 * docs/gst/tmpl/gstmacros.sgml:
13357 * docs/gst/tmpl/gstrealpad.sgml:
13358 * docs/gst/tmpl/gstregistry.sgml:
13359 * docs/gst/tmpl/gstregistrypool.sgml:
13360 * docs/gst/tmpl/gststructure.sgml:
13361 * docs/gst/tmpl/gstsystemclock.sgml:
13362 * docs/gst/tmpl/gsttrace.sgml:
13363 * gst/gstghostpad.c:
13365 * gst/gstmemchunk.c:
13366 * gst/gstmemchunk.h:
13368 * gst/gstregistry.c:
13369 * gst/gstregistrypool.c:
13370 * gst/gststructure.c:
13371 * gst/gstsystemclock.c:
13374 2005-09-02 Andy Wingo <wingo@pobox.com>
13376 * gst/gstelement.h (GstState): Renamed from GstElementState,
13377 changed to be a normal enum instead of flags.
13378 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13379 munged to be GST_STATE_CHANGE_*.
13380 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13381 work with the new state representation.
13382 (GstStateChange): New enumeration of possible state transitions.
13383 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13384 (GstElementClass::change_state): Pass the GstStateChange along as
13385 an argument. Helps language bindings, so they don't have to use
13386 tricky lock-needing macros like GST_STATE_CHANGE ().
13388 * scripts/update-states (file): New script. Run it on a file to
13389 update it for state naming and API changes. Updates files in
13392 * All files updated for the new API.
13394 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13396 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13397 * gst/gstutils.c: (gst_util_set_value_from_string),
13398 (gst_util_set_object_arg):
13399 fix a bunch of unchecked return values
13400 * tools/gst-complete.c: (main):
13401 * gstreamer.spec.in:
13404 2005-09-01 Wim Taymans <wim@fluendo.com>
13406 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13407 (gst_base_sink_event), (gst_base_sink_do_sync),
13408 (gst_base_sink_handle_event):
13409 * gst/base/gstbasesink.h:
13410 Handle newsegments more correctly.
13415 * gst/gstevent.c: (gst_event_new_newsegment):
13416 A newsegment cannot have a start_time of -1
13418 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13420 * win32/gstenumtypes.c:
13421 * win32/gstenumtypes.h:
13424 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13426 * libs/gst/controller/gst-controller.c:
13427 (gst_controlled_property_set_interpolation_mode),
13428 (gst_controlled_property_new):
13429 fixed boolean again
13431 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13433 * docs/faq/gst-uninstalled:
13438 * gst/gstutils.c: (gst_element_link_filtered):
13440 add gst_element_link_filtered
13442 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13444 * docs/gst/gstreamer-docs.sgml:
13445 * docs/gst/gstreamer-sections.txt:
13446 * docs/gst/tmpl/.cvsignore:
13447 * docs/gst/tmpl/gsterror.sgml:
13448 * docs/gst/tmpl/gstfilter.sgml:
13449 * docs/gst/tmpl/gsturihandler.sgml:
13450 * docs/gst/tmpl/gsturitype.sgml:
13451 * docs/gst/tmpl/gstutils.sgml:
13452 * docs/gst/tmpl/gstxml.sgml:
13457 * gst/gsturitype.c:
13460 inlined more docs, fixed double id-ref
13462 2005-08-31 Wim Taymans <wim@fluendo.com>
13464 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13465 (gst_base_transform_handle_buffer):
13466 Passthrough elements don't need the caps as they don't care.
13468 2005-08-31 Wim Taymans <wim@fluendo.com>
13470 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13471 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13472 Don't leak refcounts on buffers.
13474 2005-08-31 Wim Taymans <wim@fluendo.com>
13476 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13477 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13478 (gst_base_transform_chain), (gst_base_transform_change_state):
13479 * gst/base/gstbasetransform.h:
13480 Handle the case where we are not negotiated more gracefully.
13482 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13484 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13485 (gst_file_src_map_region):
13486 Set READONLY flag on mmap'ed buffers, otherwise
13487 gst_buffer_make_writable() won't work properly (#314708).
13489 2005-08-31 Wim Taymans <wim@fluendo.com>
13491 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13492 passthrough elements can even do inplace on non writable
13493 buffers (as they don't touch them).
13495 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13497 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13498 (gst_test_mono_source_set_property),
13499 (gst_test_mono_source_class_init), (GST_START_TEST),
13500 (gst_controller_suite):
13501 more tests (hehe I have the most)
13503 describe popping messages whenusing mulltiple sources
13504 * libs/gst/controller/gst-controller.c:
13505 (gst_controlled_property_set_interpolation_mode),
13506 (gst_controlled_property_new):
13507 * libs/gst/controller/gst-controller.h:
13508 * libs/gst/controller/gst-interpolation.c:
13509 implement boolean properties
13511 2005-08-31 Wim Taymans <wim@fluendo.com>
13513 * gst/gstminiobject.c: (gst_mini_object_ref):
13514 Cannot assert that the refcount has to be positive
13515 since a disposed object can be resurrected.
13517 2005-08-31 Wim Taymans <wim@fluendo.com>
13519 * gst/gstpad.c: (gst_pad_init):
13520 Revert change, need to first fix badly behaving
13523 2005-08-30 Wim Taymans <wim@fluendo.com>
13525 * check/elements/fakesrc.c: (setup_fakesrc):
13526 * check/elements/identity.c: (setup_identity):
13527 Activate pads before using them.
13529 2005-08-30 Wim Taymans <wim@fluendo.com>
13531 * gst/base/gstadapter.c: (gst_adapter_flush):
13532 Flushing out 0 bytes is ok for this function.
13534 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13535 no newsegment gives a warning and sets the start/stop to
13538 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13539 (gst_base_transform_set_passthrough):
13542 * gst/gstminiobject.c: (gst_mini_object_ref):
13543 Check refcount here too.
13545 * gst/gstpad.c: (gst_pad_init):
13546 Pads are initially flushing and refusing data.
13548 * gst/gstutils.c: (gst_element_link_pads_filtered):
13549 When adding a capsfilter element make sure it has the
13550 same state as the parent bin.
13552 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13554 * docs/gst/tmpl/.cvsignore:
13555 * docs/gst/tmpl/gstformat.sgml:
13556 * docs/gst/tmpl/gstversion.sgml:
13560 * gst/gstversion.h.in:
13561 more docs and two more inlined
13563 2005-08-30 Wim Taymans <wim@fluendo.com>
13565 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13566 Don't sync to clock.
13568 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13570 * docs/gst/gstreamer-sections.txt:
13571 ultral33t func10ns deserve to appear in the docs actually
13572 * docs/gst/tmpl/.cvsignore:
13573 * docs/gst/tmpl/gstcompat.sgml:
13574 * docs/gst/tmpl/gstconfig.sgml:
13575 * gst/check/gstcheck.c:
13577 * gst/gstconfig.h.in:
13580 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13582 * docs/gst/tmpl/.cvsignore:
13583 * docs/gst/tmpl/gstquery.sgml:
13584 * docs/gst/tmpl/gstutils.sgml:
13587 inlined and extended docs
13589 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13591 * check/gst-libs/controller.c: (GST_START_TEST),
13592 (gst_controller_suite):
13594 * docs/gst/tmpl/gstutils.sgml:
13595 * docs/libs/gstreamer-libs-sections.txt:
13596 * docs/libs/tmpl/gstdataprotocol.sgml:
13598 * examples/controller/audio-example.c: (main):
13599 controller example works now
13602 * tools/gst-inspect.c: (print_element_properties_info):
13603 show param spec flags
13605 2005-08-29 Andy Wingo <wingo@pobox.com>
13607 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13609 2005-08-28 Andy Wingo <wingo@pobox.com>
13611 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13612 as having two arguments instead of just one. Allows superclasses
13613 to access information on subclasses -- see the terrible for() loop
13614 in gtype.c:g_type_create_instance for the reason why. All callers
13617 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13619 * docs/design/part-messages.txt:
13621 * docs/gst/tmpl/.cvsignore:
13622 * docs/gst/tmpl/gstcaps.sgml:
13623 * docs/gst/tmpl/gstclock.sgml:
13629 * gst/gstmessage.c:
13630 added descriptions for bus and message
13631 inline caps and clock docs
13633 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13635 * gst/gstmessage.c:
13636 * gst/gstmessage.h:
13639 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13641 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13644 2005-08-26 Andy Wingo <wingo@pobox.com>
13646 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13647 element_set_state's return val.
13648 (test_2_elements): Add test that's been disabled for months.
13650 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13651 can-activate-pull properties.
13653 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13654 can-activate-pull properties. Implement is_seekable so fakesrc can
13655 operate in pull mode.
13657 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13659 (gst_base_sink_activate, gst_base_sink_activate_pull)
13660 (gst_base_sink_activate_push): Make activation mode choosing work.
13662 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13663 is right. Make pull mode work. Post an eos before pausing in pull
13665 (gst_base_sink_change_state): Pay attention to the core's
13666 change_state() return val.
13668 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13669 has-getrange properties. Cleanups.
13671 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13672 has_getrange and replace with can_activate_pull and
13675 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13676 locking comments. Remove has_loop, has_chain and replace with
13677 can_activate_pull and can_activate_push.
13679 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
13682 * examples/Makefile.am:
13683 * examples/metadata/Makefile.am:
13684 * examples/metadata/read-metadata.c: (message_loop),
13685 (have_pad_handler), (make_pipeline), (print_tag), (main):
13686 Add metadata reading example that loops over a list of filenames,
13687 dumping any tags found.
13689 * gst/gstbus.c: (gst_bus_dispose):
13690 * gst/gstelement.c: (gst_element_dispose):
13691 Release a few potentially-held references in dispose.
13693 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13695 * docs/gst/tmpl/gstminiobject.sgml:
13696 do *not* add tmpl/*.sgml files to CVS!
13698 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13700 * libs/gst/bytestream/.cvsignore:
13701 * libs/gst/bytestream/Makefile.am:
13702 * libs/gst/bytestream/adapter.c:
13703 * libs/gst/bytestream/adapter.h:
13704 * libs/gst/bytestream/bytestream.c:
13705 * libs/gst/bytestream/bytestream.h:
13706 * libs/gst/bytestream/filepad.c:
13707 * libs/gst/bytestream/filepad.h:
13708 removing obsolete files
13710 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13712 * docs/gst/gstreamer-docs.sgml:
13713 * docs/libs/gstreamer-libs-docs.sgml:
13714 disabed additional index entries again, as this makes docs-gen just
13715 slow and they aren't useful yet
13716 * docs/libs/gstreamer-libs-sections.txt:
13717 little -section.txt cleanup for libs
13719 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
13721 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13722 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13723 fix up some debugging
13724 (gst_base_transform_get_unit_size),
13725 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13726 (gst_base_transform_handle_buffer):
13727 * gst/base/gstbasetransform.h:
13728 handle and store timed NEWSEGMENT events so that subclasses that
13729 calculate time by counting samples have a segment_start time they
13730 need to add to their timestamps - see audioresample
13732 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13735 removed ';' from the end of macro defs
13736 * docs/gst/gstreamer-docs.sgml:
13737 * docs/gst/gstreamer-sections.txt:
13738 * docs/gst/tmpl/.cvsignore:
13740 * gst/gstelement.c: (gst_element_class_init),
13741 (gst_element_set_state), (activate_pads),
13742 (gst_element_save_thyself):
13743 * gst/gstevent.c: (gst_event_new_newsegment):
13745 * gst/gstiterator.c:
13746 * gst/gstiterator.h:
13749 * gst/gstutils.c: (gst_pad_query_convert):
13751 fixed parameter name mismatches between source, header and docs
13752 added some more docs, resolved the last batch of unused elements in
13753 docs (now someone needs to doc them)
13755 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13757 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13758 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13759 don't walk through the plugins backwards. Where is all this
13760 reversed logic coming from ?
13762 2005-08-25 Wim Taymans <wim@fluendo.com>
13764 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13765 (gst_base_transform_transform_size),
13766 (gst_base_transform_configure_caps),
13767 (gst_base_transform_get_unit_size),
13768 (gst_base_transform_buffer_alloc),
13769 (gst_base_transform_change_state):
13770 * gst/base/gstbasetransform.h:
13771 Cache caps unit_size.
13772 Make sure we cannot negotiate up and downstream at the
13775 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13777 * gst/gst.c: (init_pre), (init_post):
13778 register the installed plugin path after the env var
13779 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13780 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13781 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13782 directories, so the tests can prefer uninstalled over installed
13784 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13786 * gst/base/gstbasetransform.h:
13791 2005-08-25 Wim Taymans <wim@fluendo.com>
13793 * gst/gstbin.c: (bin_bus_handler):
13794 Be a bit more conservative about the posted message.
13796 * gst/gstbus.c: (gst_bus_post):
13797 Some cleanups, warn wrong return values.
13799 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
13801 * check/gst/gstbin.c: (GST_START_TEST):
13802 * gst/gstbin.c: (bin_bus_handler):
13803 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13804 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13805 (gst_message_new_warning), (gst_message_new_tag),
13806 (gst_message_new_state_changed), (gst_message_new_segment_start),
13807 (gst_message_new_segment_done), (gst_message_new_custom):
13808 * gst/gstmessage.h:
13809 * tools/gst-launch.c: (event_loop):
13810 * tools/gst-md5sum.c: (event_loop):
13811 Revert unpopular change for GST_MESSAGE_SRC to GObject.
13813 2005-08-25 Wim Taymans <wim@fluendo.com>
13815 * check/generic/states.c: (GST_START_TEST):
13816 Cleanup can be done at the end.
13818 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13819 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13820 (gst_task_get_state), (gst_task_start), (gst_task_pause):
13821 Oh boy.. Thanks for finding this, Thomas.
13823 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13825 * docs/gst/gstreamer.types:
13826 added missing types
13828 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13830 * docs/gst/gstreamer-docs.sgml:
13831 * docs/gst/gstreamer-sections.txt:
13832 * docs/gst/tmpl/.cvsignore:
13834 * gst/gstiterator.c:
13836 * gst/registries/gstxmlregistry.h:
13837 added missing classes and symbols (123 more to go)
13838 removed removed symbols from section file
13839 fixed many doc-comments
13841 2005-08-24 Wim Taymans <wim@fluendo.com>
13843 * check/generic/states.c: (GST_START_TEST):
13844 Make sure all tasks are stopped.
13846 * check/gst/gstbin.c: (GST_START_TEST):
13847 Unref after usage for proper valgrinding.
13849 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13850 Really wait for the task to stop before destroying the
13853 * gst/gstqueue.c: (gst_queue_sink_activate_push),
13854 (gst_queue_src_activate_push):
13855 Small cleanups. Don't stop the task when we did not start
13858 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13859 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13860 (gst_task_get_state), (gst_task_start), (gst_task_pause),
13863 Protect the stream lock with the object lock.
13864 Disallow setting the stream lock when running.
13865 Add cleanup_all to wait for the threadpool to finish.
13866 Remove code to autoallocate a mutex if none was provided.
13867 Add _join() to wait for a task to stop.
13868 Protect the thread pool with a global lock.
13870 2005-08-24 Wim Taymans <wim@fluendo.com>
13872 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13873 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13874 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
13875 * gst/base/gstbasesink.h:
13876 Handle newsegment events correctly.
13877 Drop buffers out of the segment range.
13879 2005-08-22 Andy Wingo <wingo@pobox.com>
13881 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
13882 macro, implements an interface and gstimplementsinterface for a
13885 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
13887 * check/Makefile.am:
13888 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
13889 add a test that does a bunch of state changes on elements
13890 needs some fixing for valgrind
13891 * check/states/sinks.c: (gst_object_suite):
13894 add prototype for gst_caps_is_equal_fixed
13896 * gst/gstregistrypool.c:
13899 2005-08-24 Andy Wingo <wingo@pobox.com>
13901 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
13902 convert a negative value. Doesn't make much sense. Mostly this is
13903 here to force callers to ensure -1 maps to -1.
13905 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13907 * docs/pwg/advanced-types.xml:
13908 Well done to Michael for catching my deliberate introduction
13909 of this spelling mistake.
13910 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
13911 * gst/gstelement.h:
13912 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
13913 unlink pads before removing the element from the bin.
13915 2005-08-24 Andy Wingo <wingo@pobox.com>
13917 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
13918 the same thing as GST_DEBUG=*:4.
13919 (parse_debug_level, parse_debug_category): New helper parsers.
13921 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
13923 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13924 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
13925 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
13926 (gst_base_transform_buffer_alloc),
13927 (gst_base_transform_handle_buffer):
13928 use gboolean return values and pointers to size so we can use the
13929 full GST_BUFFER_SIZE range (guint) for buffer sizes
13930 use GstPadDirection for transform_caps
13931 * gst/base/gstbasetransform.h:
13932 rename get_size to get_unit_size since that's what it is
13933 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13934 use GstPadDirection for transform_caps
13935 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13937 cleanup and debugging
13939 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13941 * gst/gstelement.c: (gst_element_class_init),
13942 (gst_element_set_state), (activate_pads),
13943 (gst_element_save_thyself):
13944 * tools/gst-compprep.c: (main):
13945 * tools/gst-inspect.c: (print_element_properties_info):
13946 * tools/gst-xmlinspect.c: (print_element_properties):
13947 Fixed long standing mem-leak
13949 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13951 * check/gst/gstbin.c: (GST_START_TEST):
13952 * gst/gstbin.c: (bin_bus_handler):
13953 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13954 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13955 (gst_message_new_warning), (gst_message_new_tag),
13956 (gst_message_new_state_changed), (gst_message_new_segment_start),
13957 (gst_message_new_segment_done), (gst_message_new_custom):
13958 * gst/gstmessage.h:
13959 * tools/gst-launch.c: (event_loop):
13960 * tools/gst-md5sum.c: (event_loop):
13961 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13962 that applications can sensibly post custom messages with references
13963 to their own objects.
13965 2005-08-24 Andy Wingo <wingo@pobox.com>
13967 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
13970 2005-08-24 Wim Taymans <wim@fluendo.com>
13972 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13973 (gst_base_transform_transform_caps),
13974 (gst_base_transform_transform_size),
13975 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13976 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13977 (gst_base_transform_handle_buffer):
13978 * gst/base/gstbasetransform.h:
13979 Many fixes and new features added by Thomas. Can now also do
13980 transforms with variable sizes and a custom fixate_caps function.
13982 2005-08-24 Wim Taymans <wim@fluendo.com>
13984 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13988 Cast to ClockTime before formatting to time.
13993 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13995 * check/gst-libs/controller.c: (GST_START_TEST),
13996 (gst_controller_suite):
13997 * docs/gst/tmpl/gstcaps.sgml:
13998 * docs/gst/tmpl/gstghostpad.sgml:
13999 * docs/gst/tmpl/gstquery.sgml:
14000 * docs/gst/tmpl/gstutils.sgml:
14001 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14002 (gst_object_sink_values), (gst_object_get_value_arrays),
14003 (gst_object_get_value_array):
14004 gracefully handle helper method calls to objects that are not beeing
14005 controlled, added test case for that
14007 2005-08-23 Wim Taymans <wim@fluendo.com>
14009 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14010 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14011 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14012 (gst_event_parse_qos), (gst_event_new_seek),
14013 (gst_event_parse_seek):
14015 Some more debugging output and doc cleanups.
14017 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14018 Fix possible deadlock.
14020 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14022 * docs/gst/gstreamer-docs.sgml:
14023 * docs/gst/gstreamer-sections.txt:
14024 * docs/gst/gstreamer.types:
14025 * docs/gst/tmpl/.cvsignore:
14028 * gst/gstelement.c:
14030 added 100 symbols from gstreamer-unused.txt to the right sections
14031 fixed more broken comments
14032 added GstBus to docs
14034 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14036 * docs/gst/gstreamer-sections.txt:
14037 * docs/gst/tmpl/.cvsignore:
14038 * docs/gst/tmpl/gstbin.sgml:
14039 * docs/gst/tmpl/gstbuffer.sgml:
14040 * gst/base/gstbasesrc.c:
14041 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14044 * tools/gst-launch.1.in:
14045 inlined more doc comments, added missing comments and fixed comments
14048 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14050 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14054 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14056 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14057 * gst/gststructure.h:
14058 add a fixate function for booleans; add a FIXME that these func
14059 names should probably be gst_structure_fixate_*
14061 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14063 * docs/gst/gstreamer-docs.sgml:
14064 * docs/gst/gstreamer-sections.txt:
14066 * gst/gstbin.c: (gst_bin_get_type),
14067 (gst_bin_child_proxy_get_child_by_index),
14068 (gst_bin_child_proxy_get_children_count),
14069 (gst_bin_child_proxy_init):
14070 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14071 (gst_child_proxy_get_child_by_index),
14072 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14073 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14074 (gst_child_proxy_get), (gst_child_proxy_set_property),
14075 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14076 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14077 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14078 * gst/gstchildproxy.h:
14079 * gst/parse/grammar.y:
14080 * tools/gst-inspect.c: (print_interfaces),
14081 (print_element_properties_info), (print_element_info):
14082 ported gstchildproxy over from 0.8
14083 ported gst-inspect fixes and enhancements over from 0.8
14085 2005-08-22 Wim Taymans <wim@fluendo.com>
14087 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14088 (gst_base_transform_handle_buffer):
14089 Also call the transform function if we have ANY caps.
14091 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14094 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14096 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14097 Don't pretend to handle seek events if the source is not seekable
14099 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14102 Remove extra parameter to debug output
14104 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14105 (gst_base_src_do_seek), (gst_base_src_activate_push):
14106 Fix seek event handling.
14108 * gst/gstpipeline.c: (gst_pipeline_change_state):
14109 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14110 (gst_queue_src_activate_push):
14111 Don't start the src pad task on FLUSH_STOP if the pad
14115 2005-08-22 Wim Taymans <wim@fluendo.com>
14117 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14118 Added check for gst_static_caps_get() refcounting.
14120 2005-08-22 Wim Taymans <wim@fluendo.com>
14122 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14123 Make _static_caps_get() refcounting sane.
14125 * gst/gstelement.c: (gst_element_set_state):
14126 Add g_return_val_if_fail() to protect against segfaults.
14128 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14130 * docs/gst/tmpl/gstevent.sgml:
14133 inlined remaining docs, added missing doc comments
14135 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14137 * check/gst/gstbin.c: (GST_START_TEST):
14138 since we don't know when preroll is done, use refcount range
14140 * gst/check/gstcheck.h:
14141 add macro for checking refcount range
14143 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14145 * check/Makefile.am:
14146 clean up environment for when registry gets built versus
14147 when actual tests are run; valgrind seems to not report
14148 leaks if GST_PLUGIN_PATH is set to some specific values
14149 * check/gst/gstbin.c: (GST_START_TEST):
14150 add more refcounting checks; maybe this exposes a
14152 * common/check.mak:
14153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14154 * gst/check/gstcheck.h:
14155 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14156 (gst_bin_change_state):
14157 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14158 add/fix debugging/whitespace
14160 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14162 * check/gst/gstevent.c: (event_probe), (test_event),
14164 Er, don't call gst_bin_watch_for_state_change you idiot.
14166 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14168 * check/Makefile.am:
14169 Use CHECK_CFLAGS and CHECK_LIBS
14170 * check/gst/gstevent.c: (event_probe), (test_event),
14173 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14174 (gst_base_src_start), (gst_base_src_stop),
14175 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14176 (gst_base_src_change_state):
14177 Sprinkle gst_base_src_stop liberally around error paths to fix
14178 problems reusing a source after failed state changes.
14179 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14180 (helper_find_suggest), (gst_type_find_helper):
14181 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14183 * docs/gst/tmpl/gstevent.sgml:
14184 Migrate part of the docs from the SGML file. Wait for ensonic to
14185 tell me how I did it wrong ;)
14186 * tools/gst-typefind.c: (main):
14187 Extra robustness to state changes between files.
14189 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14191 * check/Makefile.am:
14192 don't valgrind the controller test - it's leaking - Stefan, HELP
14193 * gst/check/gstcheck.c: (gst_check_message_error),
14194 (gst_check_chain_func), (gst_check_setup_element),
14195 (gst_check_teardown_element), (gst_check_setup_src_pad),
14196 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14197 (gst_check_teardown_sink_pad):
14198 * gst/check/gstcheck.h:
14199 add a bunch of methods to set up elements, and src and sink pads
14200 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14201 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14204 * gst/gstmessage.c:
14206 whitespace/doc fixes
14208 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14210 * gst/gstelement.h:
14211 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14212 be handled by the application and not always printed as well
14214 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14216 * check/Makefile.am:
14218 * gst/check/gstcheck.c: (gst_check_message_error):
14219 * gst/check/gstcheck.h:
14220 add a fail_unless_equals_int
14221 add fail_unless for error messages
14223 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14225 * check/Makefile.am:
14227 * common/Makefile.am:
14228 * common/check.mak:
14230 factor out some of the common stuff so we can use it
14232 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14234 * check/Makefile.am:
14235 * check/gst/gstiterator.c: (GST_START_TEST):
14236 * check/gst/gstsystemclock.c: (GST_START_TEST),
14237 (gst_systemclock_suite):
14238 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14240 valgrind more tests
14242 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14244 * check/elements/.cvsignore:
14245 * check/elements/gstfakesrc.c:
14246 rename to name of element
14247 * check/elements/identity.c: (chain_func), (event_func),
14248 (setup_identity), (cleanup_identity), (GST_START_TEST),
14249 (identity_suite), (main):
14250 add a test for identity
14251 * check/Makefile.am:
14252 * pkgconfig/Makefile.am:
14253 * pkgconfig/gstreamer-check.pc.in:
14254 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14258 move the check stuff to a library that gets installed
14259 * check/gst-libs/controller.c: (GST_START_TEST):
14260 * check/gst-libs/gdp.c:
14261 * check/gst/gst.c: (GST_START_TEST):
14262 * check/gst/gstbin.c:
14263 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14264 * check/gst/gstbus.c:
14265 * check/gst/gstcaps.c: (GST_START_TEST):
14266 * check/gst/gstelement.c:
14267 * check/gst/gstghostpad.c:
14268 * check/gst/gstiterator.c:
14269 * check/gst/gstmessage.c:
14270 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14271 * check/gst/gstobject.c:
14272 * check/gst/gstpad.c: (GST_START_TEST):
14273 * check/gst/gststructure.c: (GST_START_TEST):
14274 * check/gst/gstsystemclock.c: (GST_START_TEST),
14275 (gst_systemclock_suite):
14276 * check/gst/gsttag.c: (gst_tag_suite):
14277 * check/gst/gstvalue.c:
14278 * check/pipelines/cleanup.c:
14279 * check/pipelines/simple_launch_lines.c:
14280 * check/states/sinks.c:
14281 change include statement
14283 * docs/gst/gstreamer-sections.txt:
14284 * docs/gst/tmpl/gstpad.sgml:
14285 document more pad stuff
14286 * gst/gstminiobject.c: (gst_mini_object_ref),
14287 (gst_mini_object_unref):
14290 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14292 * docs/gst/tmpl/gst.sgml:
14294 eliminate another tmpl file, fix spelling in the long-description
14296 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14298 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14299 (test_event), (timediff), (gstevents_suite):
14300 Should fix build on 64-bit arch's
14302 2005-08-18 Andy Wingo <wingo@pobox.com>
14304 Make sure that when a pipeline goes to PLAYING, that data has
14305 actually hit the sink.
14307 * check/states/sinks.c (test_sink): A sink that doesn't get any
14308 data shouldn't return SUCCESS for going to either PLAYING or
14309 PAUSED. Test also the return values on the way back down.
14311 * gst/gstelement.c (gst_element_set_state): When changing the
14312 state of an element currently changing state asynchronously, go to
14313 lost-state after commiting the pending state. Makes future calls
14314 to get_state continue to return ASYNC.
14316 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14317 ASYNC when going to PLAYING if we still don't have preroll, as can
14318 happen with live sources.
14320 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14322 * docs/pwg/advanced-types.xml:
14323 Hack long paragraph into 2 chunks as a workaround for buggy
14324 jadetex version in sid and breezy that loops infinitely and
14327 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14329 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14330 (test_event), (timediff), (gstevents_suite):
14331 Provide more error margin in clock measurements to allow for
14332 g_get_current_time inaccuracies.
14334 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14336 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14337 (test_event), (timediff), (gstevents_suite):
14338 Fix error message output so I might be able to tell why the
14339 test works here but fails on the build farm.
14341 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14343 * check/Makefile.am:
14344 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14345 (test_event), (timediff), (gstevents_suite), (main):
14348 * docs/design/part-seeking.txt:
14349 Spelling correction
14351 * docs/gst/tmpl/gstevent.sgml:
14352 * docs/gst/tmpl/gstfakesrc.sgml:
14355 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14356 Treat a buffer-without-newsegment the same as a receiving
14357 a newsegment not in time format, and disable syncing to the clock
14360 * gst/gstbus.c: (gst_bus_set_sync_handler):
14361 Assert if anyone tries to replace the existing sync_handler for bus,
14362 as only the owner should be setting it.
14365 Have a fixed set of custom event enums with events identified by
14366 their structure name (as in 0.8), rather than a free-for-all
14367 allowing collisions between enum values from different plugins.
14369 * gst/gstpad.c: (gst_pad_class_init):
14372 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14373 Handle out-of-band downstream events from the sending thread.
14375 2005-08-17 Andy Wingo <wingo@pobox.com>
14377 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14378 play-timeout==0 to mean no timeout at all. In that case, don't
14379 bother with a get_state or a warning, just return directly, even
14382 * gst/base/gstbasetransform.c: Debug changes.
14385 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14386 ensure bins post state change messages. A bit of a hack but I can't
14387 think of a way to avoid it.
14389 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14391 2005-08-16 Andy Wingo <wingo@pobox.com>
14393 * gst/base/gstadapter.h:
14394 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14395 peek() but you own the data. Not terribly efficient atm.
14397 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14399 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14400 (gst_element_found_tags):
14402 Add two utility functions for tag handling.
14404 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14406 * docs/manual/advanced-dataaccess.xml:
14407 * docs/manual/basics-helloworld.xml:
14408 Fix docs to use _bin_add() before _link(), which fixes the examples
14409 with recent core versions (reported by Madhan Raj M
14410 <raj_madan@rediffmail.com>, #313199).
14412 2005-08-16 Wim Taymans <wim@fluendo.com>
14414 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14415 Added subtract checks.
14417 * docs/design/part-events.txt:
14418 Some more docs about newsegment
14420 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14423 * gst/gstcaps.c: (gst_caps_to_string):
14424 Add comments, cleanups.
14426 * gst/gstelement.c: (gst_element_save_thyself):
14429 * gst/gstvalue.c: (gst_value_collect_int_range),
14430 (gst_string_unwrap), (gst_value_union_int_int_range),
14431 (gst_value_union_int_range_int_range),
14432 (gst_value_intersect_int_int_range),
14433 (gst_value_intersect_int_range_int_range),
14434 (gst_value_intersect_double_double_range),
14435 (gst_value_intersect_double_range_double_range),
14436 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14437 (gst_value_subtract_int_range_int),
14438 (gst_value_subtract_double_range_double),
14439 (gst_value_subtract_double_range_double_range),
14440 (gst_value_subtract_from_list), (gst_value_subtract_list),
14441 (gst_value_can_compare), (gst_value_compare_fraction):
14442 Cleanups, add comments, remove unneeded asserts.
14444 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14446 * tools/gst-launch.c: (event_loop):
14447 don't convert NULL structures to strings
14449 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14451 * docs/gst/gstreamer-sections.txt:
14452 made some defines private
14453 * docs/gst/tmpl/gstconfig.sgml:
14454 * docs/gst/tmpl/gstqueue.sgml:
14455 * docs/gst/tmpl/gsttaglist.sgml:
14456 * docs/gst/tmpl/gsttypes.sgml:
14457 * docs/gst/tmpl/gstutils.sgml:
14458 * docs/pwg/appendix-porting.xml:
14459 * gst/base/gstbasesink.h:
14460 * gst/base/gstbasesrc.c:
14461 * gst/base/gstbasesrc.h:
14462 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14463 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14464 * gst/gstelement.c: (gst_element_class_init):
14465 * gst/gstpad.c: (gst_pad_class_init):
14466 * gst/gstqueue.c: (gst_queue_class_init):
14467 * gst/gstxml.c: (gst_xml_class_init):
14468 documented all undocumented signal inline
14469 * libs/gst/controller/gst-controller.h:
14472 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14474 * docs/pwg/appendix-porting.xml:
14475 Document _set_link_function -> _set_setcaps_function.
14477 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14479 * check/Makefile.am:
14480 add a .check target for running the check
14481 * check/gst-libs/controller.c: (GST_START_TEST):
14483 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14484 complete checks for gstbuffer; would be nice if I could get the
14485 gcov stuff to work so I can see if I actually completed gstbuffer.c
14486 * check/gstcheck.h:
14487 add ASSERT_BUFFER_REFCOUNT
14489 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14491 * docs/gst/gstreamer-sections.txt:
14492 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14494 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14495 spew out a warning if a tag that is already registered
14496 is re-registered, unless it is re-registered with a
14497 different type (#308438).
14499 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14501 * docs/pwg/appendix-porting.xml:
14502 * docs/pwg/building-state.xml:
14503 Add some paragraphs about state changes in 0.9 to the PWG
14504 and the porting guide, in particular about the new meaning
14505 of GST_STATE_PAUSED and how to write state change functions
14506 with concurrent access by multiple threads in mind.
14508 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14510 * docs/gst/gstreamer-docs.sgml:
14511 * docs/libs/gstreamer-libs-docs.sgml:
14512 added deprecation and since indexes
14513 * libs/gst/controller/gst-controller.c:
14514 * libs/gst/controller/gst-helper.c:
14518 2005-08-11 Wim Taymans <wim@fluendo.com>
14520 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14521 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14522 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14523 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14524 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14525 (gst_ghost_pad_set_target):
14526 Actually implement (re)setting the target on a ghostpad
14527 as described in the docs.
14529 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14531 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14532 Check whether GST_DEBUG_NO_COLOR environment variable is
14533 set and disable coloured debug output if that is the case.
14535 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14537 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14538 (gst_type_find_helper):
14539 The memory returned by gst_type_find_peek() needs to
14540 stay valid until the end of a typefind function, and
14541 typefind functions may keep results from different
14542 offsets around, so we can't just unref the buffer from
14543 the previous _peek(), but have to save all buffers
14544 returned by _peek() until typefinding is done and only
14547 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14549 * docs/gst/gstreamer-sections.txt:
14551 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14553 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14555 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14556 Fix a pretty good memleak.
14558 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14560 * gst/gstiterator.h:
14561 Fix wrong include and 'make distcheck'.
14563 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14565 * gst/gstbin.c: (bin_bus_handler):
14566 Use gst_element_post_message() instead.
14568 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14570 * gst/base/gstadapter.h:
14571 * gst/base/gstbasesink.h:
14572 * gst/base/gstbasesrc.h:
14573 * gst/base/gstbasetransform.h:
14574 * gst/base/gstcollectpads.h:
14575 * gst/base/gstpushsrc.h:
14576 * gst/gstiterator.h:
14577 Add padding to our base elements' class and instance structs and
14578 to GstIterator (you will need to rebuild all plugins and apps!)
14580 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14582 * gst/gstbin.c: (bin_bus_handler):
14583 Make default message forwarding from child->bus to bin->bus
14584 threadsafe and make it not emit warnings if the parent has no bus.
14586 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14588 * gst/gstelement.c: (activate_pads):
14589 On paused->ready, set pad->caps to NULL, as is the documented
14590 behaviour in this state change. Fixes playback of series of
14591 media files when visualization is enabled in Totem.
14593 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14595 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14596 Allow NULL as filter-caps (which means "any").
14598 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14600 * docs/libs/gstreamer-libs-sections.txt:
14601 * libs/gst/controller/gst-controller.c:
14602 * libs/gst/controller/gst-controller.h:
14603 * libs/gst/controller/gst-helper.c:
14604 adding more entries to the docs and fix small doc-bugs
14606 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14608 * docs/gst/gstreamer-docs.sgml:
14609 * docs/gst/gstreamer-sections.txt:
14610 * docs/gst/gstreamer.types:
14611 * docs/gst/tmpl/gstbasesink.sgml:
14612 * docs/gst/tmpl/gstbasesrc.sgml:
14613 * docs/gst/tmpl/gstbasetransform.sgml:
14614 * docs/gst/tmpl/gstfakesrc.sgml:
14615 * gst/base/gstcollectpads.c:
14616 * gst/base/gstcollectpads.h:
14617 * libs/gst/controller/gst-controller.c:
14618 * libs/gst/controller/gst-controller.h:
14619 * libs/gst/controller/gst-helper.c:
14620 * libs/gst/controller/gst-interpolation.c:
14621 * libs/gst/controller/lib.c:
14622 added long/short desc for controller docs
14623 added collectpads base class docs
14624 added correct includes to base-class docs
14626 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14628 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14629 (gst_test_mono_source_set_property),
14630 (gst_test_mono_source_class_init), (GST_START_TEST),
14631 (gst_controller_suite):
14632 * docs/gst/gstreamer-docs.sgml:
14633 * docs/gst/gstreamer-sections.txt:
14634 * docs/gst/gstreamer.types:
14635 * docs/libs/gstreamer-libs-docs.sgml:
14636 * docs/libs/gstreamer-libs-sections.txt:
14637 * gst/base/gstadapter.c:
14638 * libs/gst/controller/gst-controller.c:
14639 (gst_controlled_property_new), (gst_controlled_property_free),
14640 (gst_controller_new_valist),
14641 (gst_controller_remove_properties_valist),
14642 (gst_controller_sink_values), (_gst_controller_finalize):
14643 * libs/gst/controller/gst-controller.h:
14644 * libs/gst/controller/gst-helper.c:
14645 (gst_object_control_properties), (gst_object_uncontrol_properties),
14646 (gst_object_get_controller), (gst_object_set_controller),
14647 (gst_object_sink_values), (gst_object_get_value_arrays),
14648 (gst_object_get_value_array):
14649 more tests (and fixes) for the controller
14650 more docs for the controller
14651 integrated companies docs for the adapter
14653 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
14655 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14656 (GST_START_TEST), (fakesrc_suite):
14657 add tests for sizetype
14659 2005-08-04 Andy Wingo <wingo@pobox.com>
14661 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14662 fixes buffer_alloc proxying among other things.
14664 * gst/base/gstbasetransform.c:
14665 * gst/base/gstbasetransform.h:
14666 Revert patch to gstbasetransform from 7-28 removing
14669 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14670 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14671 Semantics changed, should return not the size of the output buffer
14672 but the byte size of a buffer with a given caps.
14674 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14676 (gst_base_transform_configure_caps): Don't set out_size here: (in,
14677 out) are not the pad caps until setcaps finishes.
14678 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14679 not-in-place case as well. Deal with changing from in-place to
14680 not-in-place within calling pad_alloc_buffer. Still a bit
14681 concerned about the overhead here...
14683 2005-08-03 Andy Wingo <wingo@pobox.com>
14685 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14686 fixating is an error.
14688 2005-08-04 Edward Hervey <edward@fluendo.com>
14690 * gst/base/gstadapter.h:
14691 Added gst_adapter_get_type() to the header
14693 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14695 * check/Makefile.am:
14696 * check/gst-libs/controller.c:
14697 * libs/gst/controller/gst-controller.c:
14698 (gst_controller_new_valist):
14699 added check test suite for the controller
14700 * gst/base/gstpushsrc.c:
14703 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14705 * docs/gst/Makefile.am:
14706 * docs/gst/gstreamer-docs.sgml:
14707 * docs/gst/gstreamer-sections.txt:
14708 * docs/gst/gstreamer.types:
14709 * docs/gst/tmpl/gstfakesrc.sgml:
14711 * gst/base/gstbasesink.c:
14712 * gst/base/gstbasesink.h:
14713 * gst/base/gstbasesrc.c:
14714 * gst/base/gstbasesrc.h:
14715 * gst/base/gstbasetransform.c:
14716 * gst/base/gstpushsrc.c:
14717 * gst/base/gstpushsrc.h:
14718 add short/long description docs to base classes
14719 add pushsrc to the docs
14720 remove consolidated doc fragments
14722 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14725 * docs/libs/Makefile.am:
14726 * docs/libs/gstreamer-libs-docs.sgml:
14727 * docs/libs/gstreamer-libs-sections.txt:
14728 * docs/libs/gstreamer-libs.types:
14729 * examples/Makefile.am:
14730 * examples/controller/.cvsignore:
14731 * examples/controller/Makefile.am:
14732 * examples/controller/audio-example.c: (main):
14733 * libs/gst/Makefile.am:
14734 * libs/gst/controller/.cvsignore:
14735 * libs/gst/controller/Makefile.am:
14736 * libs/gst/controller/gst-controller.c:
14737 (on_object_controlled_property_changed), (gst_timed_value_compare),
14738 (gst_timed_value_find),
14739 (gst_controlled_property_set_interpolation_mode),
14740 (gst_controlled_property_new), (gst_controlled_property_free),
14741 (gst_controller_find_controlled_property),
14742 (gst_controller_new_valist), (gst_controller_new),
14743 (gst_controller_remove_properties_valist),
14744 (gst_controller_remove_properties), (gst_controller_set),
14745 (gst_controller_set_from_list), (gst_controller_unset),
14746 (gst_controller_get), (gst_controller_get_all),
14747 (gst_controller_sink_values), (gst_controller_get_value_arrays),
14748 (gst_controller_get_value_array),
14749 (gst_controller_set_interpolation_mode),
14750 (_gst_controller_finalize), (_gst_controller_init),
14751 (_gst_controller_class_init), (gst_controller_get_type):
14752 * libs/gst/controller/gst-controller.h:
14753 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14754 (g_object_uncontrol_properties), (g_object_get_controller),
14755 (g_object_set_controller), (g_object_sink_values),
14756 (g_object_get_value_arrays), (g_object_get_value_array):
14757 * libs/gst/controller/gst-interpolation.c:
14758 (gst_controlled_property_find_timed_value_node),
14759 (interpolate_none_get), (interpolate_trigger_get),
14760 (interpolate_trigger_get_value_array):
14761 * libs/gst/controller/lib.c: (gst_controller_init):
14762 * pkgconfig/Makefile.am:
14763 * pkgconfig/gstreamer-control-uninstalled.pc.in:
14764 * pkgconfig/gstreamer-control.pc.in:
14765 * testsuite/Makefile.am:
14766 * testsuite/controller/.cvsignore:
14767 * testsuite/controller/Makefile.am:
14768 * testsuite/controller/interpolator.c: (main):
14769 added controller code
14770 removed dparam pc files
14772 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14773 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14774 (gst_collectpads_stop):
14775 Broadcast the condition when shutting down, to make sure we wake all
14776 threads up. Shut down pads on finalize, for safety.
14778 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14779 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14780 (gst_base_transform_handle_buffer),
14781 (gst_base_transform_change_state):
14782 Handle PAUSED->READY->PAUSED transition after negotiation
14784 * gst/gstmessage.c: (gst_message_init):
14785 Extra piece of debug for new messages.
14787 2005-08-01 Stefan Kost <ensonic@users.sf.net>
14790 * docs/gst/tmpl/gstbasesrc.sgml:
14791 * docs/gst/tmpl/gstelement.sgml:
14792 * docs/gst/tmpl/gstevent.sgml:
14793 * docs/gst/tmpl/gstfakesrc.sgml:
14794 * docs/gst/tmpl/gstformat.sgml:
14795 * docs/gst/tmpl/gstghostpad.sgml:
14796 * docs/gst/tmpl/gstpad.sgml:
14797 * docs/gst/tmpl/gstquery.sgml:
14798 * docs/gst/tmpl/gststructure.sgml:
14799 * docs/gst/tmpl/gsttaglist.sgml:
14800 * docs/gst/tmpl/gstvalue.sgml:
14801 * docs/libs/gstreamer-libs-docs.sgml:
14802 * docs/libs/gstreamer-libs-sections.txt:
14803 * docs/libs/gstreamer-libs.types:
14804 * libs/gst/Makefile.am:
14805 * libs/gst/control/.cvsignore:
14806 * libs/gst/control/Makefile.am:
14807 * libs/gst/control/control.c:
14808 * libs/gst/control/control.h:
14809 * libs/gst/control/dparam.c:
14810 * libs/gst/control/dparam.h:
14811 * libs/gst/control/dparam_smooth.c:
14812 * libs/gst/control/dparam_smooth.h:
14813 * libs/gst/control/dparamcommon.h:
14814 * libs/gst/control/dparammanager.c:
14815 * libs/gst/control/dparammanager.h:
14816 * libs/gst/control/dplinearinterp.c:
14817 * libs/gst/control/dplinearinterp.h:
14818 * libs/gst/control/unitconvert.c:
14819 * libs/gst/control/unitconvert.h:
14820 * testsuite/Makefile.am:
14821 * testsuite/dynparams/.cvsignore:
14822 * testsuite/dynparams/Makefile.am:
14823 * testsuite/dynparams/dparamstest.c:
14824 * tools/Makefile.am:
14825 * tools/gst-inspect.c: (print_element_info), (main):
14826 * tools/gst-xmlinspect.c: (print_element_info), (main):
14827 deactivate and remove dparams (libgstcontrol)
14829 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14831 * gst/elements/gsttypefindelement.c:
14832 (gst_type_find_element_have_type), (gst_type_find_element_init),
14833 (stop_typefinding), (gst_type_find_element_handle_event),
14834 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14835 * gst/elements/gsttypefindelement.h:
14836 Set caps on all outgoing buffers, not just the first one.
14838 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14840 * gst/elements/gsttypefindelement.c:
14841 (gst_type_find_element_have_type),
14842 (gst_type_find_element_check_set_buffer_caps),
14843 (gst_type_find_element_init), (stop_typefinding),
14844 (gst_type_find_element_handle_event),
14845 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14846 * gst/elements/gsttypefindelement.h:
14847 Set caps on first outgoing buffer when we've found the type.
14849 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14851 * docs/gst/gstreamer-docs.sgml:
14852 * docs/gst/gstreamer-sections.txt:
14853 * docs/gst/tmpl/gstscheduler.sgml:
14854 * docs/gst/tmpl/gstschedulerfactory.sgml:
14855 Remove some old cruft from docs.
14857 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
14860 Fix inline docs for GstPadLinkReturn.
14862 * gst/gststructure.c: (gst_structure_has_name):
14863 * gst/gststructure.h:
14864 * docs/gst/gstreamer-sections.txt:
14865 New API: gst_structure_has_name().
14867 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
14870 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
14871 and _LARGEFILE_SOURCE in config.h as required. Do not
14872 export those flags in our .pc files any longer (#142209).
14874 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
14876 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
14877 (gst_file_sink_do_seek), (gst_file_sink_event),
14878 (gst_file_sink_get_current_offset), (gst_file_sink_render):
14879 Redo seek/tell calls with large file support in mind; add some
14880 debugging messages; add log message that tells us when large
14881 file support is unavailable or not enabled for some reason.
14883 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
14884 Add log message that tells us when large file support
14885 is unavailable or not enabled for some reason.
14887 2005-07-29 Wim Taymans <wim@fluendo.com>
14889 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14890 Added test for removing an element with ghostpad from a bin.
14891 Fixed test as current implementation does the right thing.
14893 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
14894 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
14895 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
14896 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
14897 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
14898 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14899 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14900 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14901 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
14902 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
14903 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
14904 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
14905 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14906 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
14907 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
14908 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
14909 * gst/gstghostpad.h:
14910 Clean up ghostpads, remove properties for internal stuff.
14913 Prepare for switching targets, not all use cases work yet.
14915 2005-07-29 Wim Taymans <wim@fluendo.com>
14917 * docs/design/part-gstghostpad.txt:
14920 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14921 (gst_bin_remove_func):
14922 Unlinking pads while holding the bin LOCK is not a good
14925 * gst/gstpad.c: (gst_pad_class_init),
14926 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
14927 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
14928 No prob setting template after creating the pad.
14930 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
14932 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14933 (gst_bus_peek), (gst_bus_source_dispatch),
14934 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14935 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14936 gst_bus_poll may be called from other threads. Handle
14937 this nicely by not making poll_data disappear off the
14938 stack once gst_bus_poll returns.
14939 gst_bus_peek now increments the refcount on the returned
14942 2005-07-29 Wim Taymans <wim@fluendo.com>
14944 * docs/design/part-gstghostpad.txt:
14945 Overview of current GhostPad datastructures and use
14946 cases for changing the target.
14948 2005-07-28 Wim Taymans <wim@fluendo.com>
14950 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14951 Added checks for hierarchy consistency whan adding linked
14954 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14955 Added check to test element scheduling without bin/pipeline.
14957 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14958 First add elements to bin, then link.
14960 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14961 (gst_bin_remove_func):
14962 Unlink pads from elements added/removed from bin to maintain
14963 hierarchy consistency.
14965 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14967 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14968 (gst_base_transform_handle_buffer):
14969 * gst/base/gstbasetransform.h:
14970 Remove broken delay_configure (fixes renegotiation of software
14971 scaling pipelines); remove some leftover printf()s.
14973 2005-07-28 Wim Taymans <wim@fluendo.com>
14975 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14976 Added some more tests for wrong hierarchy
14978 * docs/design/part-overview.txt:
14981 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
14984 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
14985 (gst_element_dispose):
14986 Some more cleanups.
14988 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14989 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
14990 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14991 (gst_pad_set_caps), (gst_pad_send_event):
14992 Check for correct hierarchy when linking pads. Moving to
14993 strict requirement for ghostpads when linking elements in
14997 Clean ups. Added WRONG_HIERARCHY return value.
14999 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15001 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15002 Better debug if no transform is possible.
15004 2005-07-27 Wim Taymans <wim@fluendo.com>
15006 * docs/random/wtay/network-transp:
15007 Some old doc I had.
15009 2005-07-27 Wim Taymans <wim@fluendo.com>
15011 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15012 (gst_dp_event_from_packet):
15013 Fix serialization of seek events.
15015 2005-07-27 Wim Taymans <wim@fluendo.com>
15017 * check/gst-libs/gdp.c: (GST_START_TEST):
15018 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15019 Fix compilation and fix event serialization.
15021 2005-07-27 Wim Taymans <wim@fluendo.com>
15024 * docs/design/part-TODO.txt:
15025 * docs/design/part-events.txt:
15028 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15029 (gst_base_sink_event), (gst_base_sink_do_sync),
15030 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15031 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15032 (gst_base_src_do_seek), (gst_base_src_event_handler),
15033 (gst_base_src_loop):
15034 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15035 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15036 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15037 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15038 (gst_base_transform_set_passthrough),
15039 (gst_base_transform_is_passthrough):
15040 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15041 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15047 * gst/gstelement.c: (gst_element_seek):
15048 * gst/gstelement.h:
15049 Update gst_element_seek.
15051 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15052 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15053 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15054 (gst_event_new_eos), (gst_event_new_newsegment),
15055 (gst_event_parse_newsegment), (gst_event_new_tag),
15056 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15057 (gst_event_parse_qos), (gst_event_new_seek),
15058 (gst_event_parse_seek), (gst_event_new_navigation):
15060 Make GstEvent use GstStructure. Add parsing code, make sure the
15061 API is sufficiently generic.
15062 Mark possible directions of events and serialization.
15064 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15065 (_gst_message_copy), (gst_message_new_segment_start),
15066 (gst_message_new_segment_done), (gst_message_new_custom),
15067 (gst_message_parse_segment_start),
15068 (gst_message_parse_segment_done):
15071 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15072 (gst_pad_set_caps), (gst_pad_send_event):
15073 Update for new events.
15074 Catch events sent in wrong directions.
15076 * gst/gstqueue.c: (gst_queue_link_src),
15077 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15078 (gst_queue_handle_src_query):
15083 Remove event code from this file.
15085 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15086 (gst_dp_event_from_packet):
15089 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15091 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15092 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15093 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15094 Make debugging actually useful.
15096 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15098 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15099 (gst_pad_fixate_caps):
15100 Implement default fixation once again, so that gst_pad_fixate()
15101 actually does anything at all. This probably needs to be some
15102 sort of a last resort, and use profile-based fixation first, but
15103 since that doesn't exist yet, this is the best we have. Fixes
15104 visualization in Totem.
15106 2005-07-22 Wim Taymans <wim@fluendo.com>
15108 * docs/design/part-events.txt:
15111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15112 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15113 (gst_base_sink_activate_pull):
15114 Some more comments.
15116 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15117 (gst_fake_src_create):
15118 Fix handoff marshall.
15120 * gst/elements/gstidentity.c: (gst_identity_class_init),
15121 (gst_identity_transform_ip):
15122 We're a real inplace element.
15124 * gst/gstbus.c: (gst_bus_post):
15125 Added some comments.
15127 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15128 * tests/muxing/case1.c: (main):
15129 * tests/sched/dynamic-pipeline.c: (main):
15130 * tests/sched/interrupt1.c: (main):
15131 * tests/sched/interrupt2.c: (main):
15132 * tests/sched/interrupt3.c: (main):
15133 * tests/sched/runxml.c: (main):
15134 * tests/sched/sched-stress.c: (main):
15135 * tests/seeking/seeking1.c: (event_received), (main):
15136 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15138 * tests/threadstate/threadstate3.c: (main):
15139 * tests/threadstate/threadstate4.c: (main):
15140 * tests/threadstate/threadstate5.c: (main):
15143 2005-07-21 Wim Taymans <wim@fluendo.com>
15145 * docs/design/part-seeking.txt:
15146 Some small additions.
15148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15149 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15150 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15151 * gst/base/gstbasesink.h:
15152 discont values are gint64, handle the math correctly.
15154 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15155 Make the basesrc report error if the source pad is not linked.
15157 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15158 (gst_queue_loop), (gst_queue_handle_src_query),
15159 (gst_queue_src_activate_push):
15160 Make queue collect data even if the srcpad is not linked.
15161 Start pushing out data as soon as it is linked.
15163 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15165 Added gst_flow_get_name() to ease error reporting.
15167 2005-07-20 Wim Taymans <wim@fluendo.com>
15169 * gst/gstmessage.c: (gst_message_new_segment_start),
15170 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15171 (gst_message_parse_segment_done):
15172 * gst/gstmessage.h:
15173 Added a bunch of messages for advanced seeking.
15175 * gst/parse/grammar.y:
15176 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15177 (gst_dpman_state_changed):
15178 Fix some new-pad -> pad-added signals
15180 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15182 * docs/manual/appendix-porting.xml:
15183 * docs/pwg/appendix-porting.xml:
15184 Document new-pad/state-change signal renames and the FixedList
15187 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15189 * docs/manual/advanced-autoplugging.xml:
15190 * docs/manual/basics-helloworld.xml:
15191 * docs/manual/basics-pads.xml:
15192 * docs/random/ds/0.9-suggested-changes:
15193 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15194 * gst/gstelement.h:
15198 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15199 (gst_structure_parse_array), (gst_structure_parse_value):
15200 * gst/gstvalue.c: (gst_type_is_fixed),
15201 (gst_value_list_prepend_value), (gst_value_list_append_value),
15202 (gst_value_list_get_size), (gst_value_list_get_value),
15203 (gst_value_transform_array_string), (gst_value_serialize_array),
15204 (gst_value_deserialize_array), (gst_value_intersect_array),
15205 (gst_value_is_fixed), (_gst_value_initialize):
15207 GstElement::new-pad -> pad-added, GstElement::state-change ->
15208 state-changed, GstValueFixedList -> GstValueArray, add format and
15209 flags as their own arguments in gst_element_seek() (should improve
15210 "bindeability"), remove function generators since they don't work
15211 under a whole bunch of compilers (they were deprecated already
15214 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15216 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15217 (_gst_debug_register_funcptr):
15219 Fix illegal cast on some platforms (#309253).
15221 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15223 * gst/gstmessage.c: (gst_message_new_custom):
15224 * gst/gstmessage.h:
15225 Add _new_custom, make _new_application a macro to _new_custom.
15227 2005-07-20 Wim Taymans <wim@fluendo.com>
15229 * gst/base/gstbasesrc.c: (gst_base_src_init),
15230 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15231 * gst/base/gstbasesrc.h:
15232 Add a gboolean to decide when to push out a discont.
15234 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15235 (gst_queue_loop), (gst_queue_handle_src_query),
15236 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15237 (gst_queue_set_property), (gst_queue_get_property):
15240 * tests/threadstate/threadstate1.c: (main):
15241 Make a thread test compile and run... very silly..
15244 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15246 * docs/manual/appendix-porting.xml:
15247 Mention removal of libgstgconf-0.9.la and existence of gconf
15250 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15252 * docs/pwg/advanced-clock.xml:
15253 * docs/pwg/appendix-porting.xml:
15254 * docs/pwg/intro-preface.xml:
15255 * docs/pwg/other-base.xml:
15256 * docs/pwg/other-manager.xml:
15257 * docs/pwg/other-nton.xml:
15258 * docs/pwg/other-ntoone.xml:
15259 * docs/pwg/other-oneton.xml:
15260 * docs/pwg/pwg.xml:
15261 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15262 demuxer), remove n-to-n (was never written), fix some code examples
15263 and links and update the porting section to include all this.
15265 2005-07-19 Wim Taymans <wim@fluendo.com>
15267 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15268 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15269 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15270 (gst_queue_src_activate_push), (gst_queue_change_state),
15271 (gst_queue_get_property):
15273 Propagate GstFlowReturn more intelligently upstream and output
15274 an ERROR/EOS when streaming stopped due to fatal error.
15276 2005-07-19 Wim Taymans <wim@fluendo.com>
15278 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15279 Don't block forever for the state change to complete, the
15280 pipeline already did with a sensible timeout.
15282 2005-07-19 Wim Taymans <wim@fluendo.com>
15284 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15285 Make sure we never call the create function is we
15288 2005-07-19 Andy Wingo <wingo@pobox.com>
15290 * gst/parse/parse.l: Attempt to solve bug #172815.
15292 2005-07-19 Wim Taymans <wim@fluendo.com>
15294 * docs/design/part-clocks.txt:
15295 * docs/design/part-events.txt:
15296 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15297 Small docs updates.
15298 Only update the seeking values when we are not
15301 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15303 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15304 Oops, ignore the result of gst_pad_push_event here.
15306 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15308 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15309 (gst_base_src_activate_push):
15310 Send discont event from the loop function, as pads
15311 aren't activated yet in the activate_push handler.
15313 * gst/gstbin.c: (bin_bus_handler):
15314 Don't leak element name.
15316 2005-07-18 Andy Wingo <wingo@pobox.com>
15318 * configure.ac: Use AS_LIBTOOL_TAGS.
15320 2005-07-18 Wim Taymans <wim@fluendo.com>
15322 * docs/gst/gstreamer.types:
15323 Remove deleted types.
15325 2005-07-18 Wim Taymans <wim@fluendo.com>
15327 * check/elements/gstfakesrc.c: (GST_START_TEST):
15330 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15331 (init_popt_callback):
15333 * gst/gst_private.h:
15334 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15335 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15338 * gst/gstconfig.h.in:
15339 * gst/gstelement.c: (gst_element_class_init),
15340 (gst_element_set_base_time), (gst_element_get_base_time),
15341 (iterator_fold_with_resync), (gst_element_change_state),
15342 (gst_element_dispose), (gst_element_get_bus):
15343 * gst/gstelement.h:
15344 * gst/gstelementfactory.h:
15345 * gst/gsterror.c: (_gst_core_errors_init):
15348 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15350 * gst/gstinfo.c: (_gst_debug_init):
15351 * gst/gstmessage.c: (_gst_message_copy):
15352 * gst/gstmessage.h:
15353 * gst/gstminiobject.h:
15356 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15357 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15360 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15361 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15362 (gst_pipeline_get_last_stream_time):
15363 * gst/gstpipeline.h:
15364 * gst/gstpluginfeature.h:
15366 * gst/gstscheduler.c:
15367 * gst/gstscheduler.h:
15368 * gst/gststructure.h:
15369 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15370 (gst_task_finalize), (gst_task_func), (gst_task_create),
15371 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15372 (gst_task_stop), (gst_task_pause):
15374 * gst/gsttypefind.h:
15376 * gst/registries/gstlibxmlregistry.c: (load_feature),
15377 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15378 * gst/registries/gstxmlregistry.c:
15379 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15380 * gst/schedulers/threadscheduler.c:
15381 * libs/gst/control/dparammanager.h:
15382 * tools/gst-inspect.c: (print_element_list),
15383 (print_plugin_features), (print_element_features):
15384 * tools/gst-xmlinspect.c: (print_element_list),
15385 (print_plugin_info), (main):
15386 Removed plugable schedulers.
15387 Removed Scheduler/Manager from elements.
15388 Removed gsttypes.h, rearranged includes.
15389 Removed dependency pad<->element, element<>pipeline, and
15390 various others, fix includes.
15391 implement gst_pad_get_parent() with gst_object_get_parent()
15392 Make GstTask sefcontained.
15393 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15395 Fix endless loop in iterator_fold_with_resync.
15398 2005-07-18 Wim Taymans <wim@fluendo.com>
15404 2005-07-18 Wim Taymans <wim@fluendo.com>
15407 No more cothreads.h
15409 2005-07-18 Wim Taymans <wim@fluendo.com>
15413 Let's remove these.
15415 2005-07-18 Wim Taymans <wim@fluendo.com>
15417 * docs/design/part-dynamic.txt:
15418 * docs/design/part-events.txt:
15419 * docs/design/part-seeking.txt:
15420 Some more docs in the works.
15422 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15423 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15424 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15425 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15426 (gst_base_transform_handle_buffer),
15427 (gst_base_transform_sink_activate_push),
15428 (gst_base_transform_src_activate_pull),
15429 (gst_base_transform_set_passthrough),
15430 (gst_base_transform_is_passthrough):
15433 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15436 * gst/gstevent.c: (gst_event_finalize):
15439 * gst/gstutils.c: (gst_element_unlink),
15440 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15441 (gst_pad_proxy_setcaps):
15443 Add _get_parent_element() to get a pads parent as an element.
15445 2005-07-18 Wim Taymans <wim@fluendo.com>
15447 * check/gst/gstbin.c: (GST_START_TEST):
15450 2005-07-18 Wim Taymans <wim@fluendo.com>
15452 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15453 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15454 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15455 (gst_base_sink_event), (gst_base_sink_do_sync),
15456 (gst_base_sink_chain), (gst_base_sink_loop),
15457 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15458 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15460 Fix logic for returning ASYNC when not prerolled.
15462 2005-07-18 Wim Taymans <wim@fluendo.com>
15464 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15465 Fix nasty refcount bug.
15467 2005-07-16 Philippe Khalaf <burger@speedy.org>
15469 * gst/elements/gstfdsrc.c:
15470 * gst/elements/gstfdsrc.h:
15471 * gst/elements/gstelements.c:
15472 * gst/elements/Makefile.am:
15473 Ported fdsrc to 0.9.
15475 2005-07-16 Wim Taymans <wim@fluendo.com>
15477 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15478 (gst_base_sink_do_sync):
15481 2005-07-16 Wim Taymans <wim@fluendo.com>
15483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15484 (gst_base_sink_event), (gst_base_sink_get_times),
15485 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15486 * gst/base/gstbasesink.h:
15487 Store and use discont values when syncing buffers as described
15490 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15491 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15492 (gst_base_src_activate_push):
15493 Push discont event when starting.
15495 * gst/elements/gstidentity.c: (gst_identity_transform):
15498 * gst/gstbin.c: (gst_bin_change_state):
15499 Small cleanups in base_time distribution.
15501 * gst/gstelement.c: (gst_element_set_base_time),
15502 (gst_element_get_base_time), (gst_element_change_state):
15503 * gst/gstelement.h:
15504 Added methods for the base_time of the element.
15507 * gst/gstpipeline.c: (gst_pipeline_send_event),
15508 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15509 (gst_pipeline_get_last_stream_time):
15510 * gst/gstpipeline.h:
15512 Handle seeking as described in design doc, remove stream_time
15514 Cleanups clock and stream_time selection code. Added accessors
15515 for the stream_time.
15518 2005-07-16 Andy Wingo <wingo@pobox.com>
15520 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15523 2005-07-16 Wim Taymans <wim@fluendo.com>
15525 * check/gst/gstbin.c: (GST_START_TEST):
15526 Make elements silent as the deep_notify refs the
15527 parent, which might make the test fail.
15529 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15530 Don't hold the lock for too long.
15532 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15534 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15535 Don't unref the caps we passed to gst_caps_make_writable() after
15536 passing them. gst_caps_make_writable() will do that for us.
15538 2005-07-15 Andy Wingo <wingo@pobox.com>
15540 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15543 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15544 own marshalling function for the handoff signal. Properly type the
15545 buffer as a buffer. Fixes some warnings. Should do a more general
15547 (gst_identity_class_init): Plug into the right marshaller.
15549 2005-07-15 Wim Taymans <wim@fluendo.com>
15551 * docs/design/part-TODO.txt:
15552 * docs/design/part-clocks.txt:
15553 * docs/design/part-element-sink.txt:
15554 * docs/design/part-events.txt:
15555 * docs/design/part-gstpipeline.txt:
15556 Updated docs, mostly DISCONT related.
15558 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
15560 * docs/pwg/building-pads.xml:
15561 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15563 2005-07-15 Andy Wingo <wingo@pobox.com>
15565 * tools/gst-typefind.c: Update, add copyright block.
15567 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15568 Normalize and truncate caps before fixation.
15571 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15572 discards all but the first structure from its argument.
15574 2005-07-15 Wim Taymans <wim@fluendo.com>
15576 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15577 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15578 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15579 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15580 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15581 (gst_base_transform_chain), (gst_base_transform_change_state),
15582 (gst_base_transform_set_passthrough),
15583 (gst_base_transform_is_passthrough):
15584 * gst/base/gstbasetransform.h:
15585 Make passthrough work using the bufferpools.
15586 Changed API a bit, subclasses have to write into a buffer
15587 provided by the base class.
15588 More debug info in nego functions.
15590 * gst/elements/gstidentity.c: (gst_identity_init),
15591 (gst_identity_transform):
15592 Port to new base class.
15594 2005-07-15 Wim Taymans <wim@fluendo.com>
15596 * gst/gstmessage.c: (gst_message_new_state_changed):
15597 * tools/gst-launch.c: (event_loop), (main):
15598 Totally dump messages in -launch with the -m option.
15599 Fix message name for State messages,
15601 2005-07-14 Wim Taymans <wim@fluendo.com>
15603 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15604 Post error messages on errors.
15606 2005-07-14 Wim Taymans <wim@fluendo.com>
15608 * gst/gstcaps.c: (gst_caps_do_simplify):
15612 Define error for stream stopped.
15614 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15615 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15616 Do proper return values.
15618 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15619 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15620 (gst_pad_get_range):
15621 Better return values.
15624 Reorganise return values, add macro to check for fatal errors.
15626 * gst/gstqueue.c: (gst_queue_chain):
15627 Return proper GstFlowReturn values,
15629 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
15631 * docs/gst/gstreamer-sections.txt:
15632 * docs/gst/gstreamer.types:
15633 * docs/gst/tmpl/gst.sgml:
15634 * docs/gst/tmpl/gstbasesink.sgml:
15635 * docs/gst/tmpl/gstbasesrc.sgml:
15636 * docs/gst/tmpl/gstbasetransform.sgml:
15637 * docs/gst/tmpl/gstbin.sgml:
15638 * docs/gst/tmpl/gstbuffer.sgml:
15639 * docs/gst/tmpl/gstcaps.sgml:
15640 * docs/gst/tmpl/gstclock.sgml:
15641 * docs/gst/tmpl/gstcompat.sgml:
15642 * docs/gst/tmpl/gstconfig.sgml:
15643 * docs/gst/tmpl/gstelement.sgml:
15644 * docs/gst/tmpl/gstelementdetails.sgml:
15645 * docs/gst/tmpl/gstelementfactory.sgml:
15646 * docs/gst/tmpl/gstenumtypes.sgml:
15647 * docs/gst/tmpl/gsterror.sgml:
15648 * docs/gst/tmpl/gstevent.sgml:
15649 * docs/gst/tmpl/gstfakesink.sgml:
15650 * docs/gst/tmpl/gstfakesrc.sgml:
15651 * docs/gst/tmpl/gstfilesink.sgml:
15652 * docs/gst/tmpl/gstfilesrc.sgml:
15653 * docs/gst/tmpl/gstfilter.sgml:
15654 * docs/gst/tmpl/gstformat.sgml:
15655 * docs/gst/tmpl/gstghostpad.sgml:
15656 * docs/gst/tmpl/gstimplementsinterface.sgml:
15657 * docs/gst/tmpl/gstindex.sgml:
15658 * docs/gst/tmpl/gstindexfactory.sgml:
15659 * docs/gst/tmpl/gstinfo.sgml:
15660 * docs/gst/tmpl/gstiterator.sgml:
15661 * docs/gst/tmpl/gstmacros.sgml:
15662 * docs/gst/tmpl/gstmemchunk.sgml:
15663 * docs/gst/tmpl/gstminiobject.sgml:
15664 * docs/gst/tmpl/gstobject.sgml:
15665 * docs/gst/tmpl/gstpad.sgml:
15666 * docs/gst/tmpl/gstpadtemplate.sgml:
15667 * docs/gst/tmpl/gstparse.sgml:
15668 * docs/gst/tmpl/gstpipeline.sgml:
15669 * docs/gst/tmpl/gstplugin.sgml:
15670 * docs/gst/tmpl/gstpluginfeature.sgml:
15671 * docs/gst/tmpl/gstquery.sgml:
15672 * docs/gst/tmpl/gstqueue.sgml:
15673 * docs/gst/tmpl/gstregistry.sgml:
15674 * docs/gst/tmpl/gstregistrypool.sgml:
15675 * docs/gst/tmpl/gstscheduler.sgml:
15676 * docs/gst/tmpl/gstschedulerfactory.sgml:
15677 * docs/gst/tmpl/gststructure.sgml:
15678 * docs/gst/tmpl/gstsystemclock.sgml:
15679 * docs/gst/tmpl/gsttaglist.sgml:
15680 * docs/gst/tmpl/gsttagsetter.sgml:
15681 * docs/gst/tmpl/gsttrace.sgml:
15682 * docs/gst/tmpl/gsttrashstack.sgml:
15683 * docs/gst/tmpl/gsttypefind.sgml:
15684 * docs/gst/tmpl/gsttypefindfactory.sgml:
15685 * docs/gst/tmpl/gsttypes.sgml:
15686 * docs/gst/tmpl/gsturihandler.sgml:
15687 * docs/gst/tmpl/gsturitype.sgml:
15688 * docs/gst/tmpl/gstutils.sgml:
15689 * docs/gst/tmpl/gstvalue.sgml:
15690 * docs/gst/tmpl/gstversion.sgml:
15691 * docs/gst/tmpl/gstxml.sgml:
15692 * docs/libs/tmpl/gstcontrol.sgml:
15693 * docs/libs/tmpl/gstdataprotocol.sgml:
15694 * docs/libs/tmpl/gstdparam.sgml:
15695 * docs/libs/tmpl/gstdplinint.sgml:
15696 * docs/libs/tmpl/gstdpman.sgml:
15697 * docs/libs/tmpl/gstdpsmooth.sgml:
15698 * docs/libs/tmpl/gstgetbits.sgml:
15699 * docs/libs/tmpl/gstunitconvert.sgml:
15700 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15701 (gst_push_src_base_init), (gst_push_src_class_init),
15702 (gst_push_src_init), (gst_push_src_create):
15703 * gst/base/gstpushsrc.h:
15704 * gst/elements/gstelements.c:
15705 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15706 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15707 (gst_fake_sink_init), (gst_fake_sink_set_property),
15708 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15709 (gst_fake_sink_event), (gst_fake_sink_preroll),
15710 (gst_fake_sink_render), (gst_fake_sink_change_state):
15711 * gst/elements/gstfakesink.h:
15712 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15713 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15714 (gst_fake_src_base_init), (gst_fake_src_class_init),
15715 (gst_fake_src_init), (gst_fake_src_event_handler),
15716 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15717 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15718 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15719 (gst_fake_src_create_buffer), (gst_fake_src_create),
15720 (gst_fake_src_start), (gst_fake_src_stop):
15721 * gst/elements/gstfakesrc.h:
15722 * gst/elements/gstfilesink.c: (_do_init),
15723 (gst_file_sink_base_init), (gst_file_sink_class_init),
15724 (gst_file_sink_init), (gst_file_sink_dispose),
15725 (gst_file_sink_set_location), (gst_file_sink_set_property),
15726 (gst_file_sink_get_property), (gst_file_sink_open_file),
15727 (gst_file_sink_close_file), (gst_file_sink_query),
15728 (gst_file_sink_event), (gst_file_sink_render),
15729 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15730 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15731 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15732 * gst/elements/gstfilesink.h:
15733 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15734 (gst_file_src_class_init), (gst_file_src_init),
15735 (gst_file_src_finalize), (gst_file_src_set_location),
15736 (gst_file_src_set_property), (gst_file_src_get_property),
15737 (gst_file_src_map_region), (gst_file_src_map_small_region),
15738 (gst_file_src_create_mmap), (gst_file_src_create_read),
15739 (gst_file_src_create), (gst_file_src_is_seekable),
15740 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15741 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15742 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15743 (gst_file_src_uri_handler_init):
15744 * gst/elements/gstfilesrc.h:
15745 more autistic cleanliness in functions/names/defines
15747 2005-07-13 Andy Wingo <wingo@pobox.com>
15749 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15750 source couldn't negotiate.
15752 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15756 * gst/gstutils.c (gst_element_link_pads_filtered): New old
15757 function. I am channeling Hades. Put your boots on suckers!!!
15759 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
15761 * testsuite/caps/Makefile.am:
15762 * testsuite/caps/value_compare.c:
15763 * testsuite/caps/value_intersect.c:
15764 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15765 move two testsuite apps over to the check dir
15767 2005-07-12 Wim Taymans <wim@fluendo.com>
15769 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15770 Added more debug info in the negotiate process.
15772 * gst/gstmessage.h:
15773 Prepare for segment playback.
15775 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15781 * tools/gst-launch.c: (main):
15782 NULL pipeline on errors.
15784 2005-07-12 Andy Wingo <wingo@pobox.com>
15786 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15787 not it comes from a malloc region. Make sure our copy gets freed.
15789 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15791 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15792 * check/gst/gstmessage.c: (GST_START_TEST):
15793 * check/gst/gststructure.c: (GST_START_TEST),
15794 (gst_structure_suite), (main):
15796 * gst/gstelement.c: (gst_element_message_full):
15797 clean up GError and debug string now that they get copied
15798 * gst/gstmessage.c: (gst_message_new_error),
15799 (gst_message_new_warning), (gst_message_parse_error),
15800 (gst_message_parse_warning):
15801 use GST_TYPE_G_ERROR for structure_new, and take copies of
15802 arguments, so that we don't mess up refcounting
15804 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15806 * check/Makefile.am:
15807 add per-test valgrind targets
15808 * check/gst-libs/gdp.c: (GST_START_TEST),
15809 (gst_data_protocol_suite), (main):
15812 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15814 * check/Makefile.am:
15815 instate more valgrindable tests
15816 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15817 (GST_START_TEST), (fakesrc_suite):
15818 * check/gst/gstpad.c: (GST_START_TEST):
15819 * check/gst/gststructure.c: (GST_START_TEST):
15821 * docs/gst/tmpl/gstminiobject.sgml:
15822 * gst/gstpad.c: (gst_pad_finalize):
15823 fix the static mutex leak
15825 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15827 * check/Makefile.am:
15828 add two more tests for valgrinding
15829 * check/gst/gstvalue.c: (GST_START_TEST):
15830 test refcount of deserialized buffer, found a leak
15831 * docs/gst/gstreamer-docs.sgml:
15832 * docs/gst/gstreamer-sections.txt:
15833 * docs/gst/gstreamer.types:
15834 * docs/gst/tmpl/gstminiobject.sgml:
15835 add miniobject to docs
15836 * gst/gstminiobject.c:
15838 * gst/gstvalue.c: (gst_value_deserialize_buffer),
15839 (gst_string_unwrap):
15840 fix a hard-to-find invalid write for one of the tests
15841 fix a leak for deserialized buffers
15843 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15845 * docs/pwg/advanced-events.xml:
15846 * docs/pwg/advanced-request.xml:
15847 * docs/pwg/advanced-scheduling.xml:
15848 * docs/pwg/appendix-porting.xml:
15849 * docs/pwg/building-boiler.xml:
15850 * docs/pwg/intro-preface.xml:
15851 * docs/pwg/other-ntoone.xml:
15852 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15853 of example code and explanation for pad activation, loop() and
15854 getrange() functions and a bit more. Remove old comments pointing
15856 * examples/pwg/Makefile.am:
15857 Add loop/getrange examples.
15859 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15862 check for valgrind binary + some fixes
15864 valgrind suppressions for the tests
15865 * check/Makefile.am:
15866 add a valgrind: target that valgrinds the unit tests
15867 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
15868 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15869 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15870 * check/gst/gstghostpad.c:
15872 * check/gst/gstdata.c:
15874 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
15875 (thread_unref), (gst_mini_object_suite), (main):
15877 * gst/gst.c: (gst_deinit):
15879 add a method to clean up.
15880 * gst/gstsystemclock.c: (gst_system_clock_dispose),
15881 (gst_system_clock_obtain):
15882 allow for disposing the system clock.
15883 * tools/gst-launch.c: (main):
15886 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15888 * docs/gst/tmpl/gstbasesrc.sgml:
15889 * docs/gst/tmpl/gstfakesrc.sgml:
15890 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15891 (gst_base_src_init), (gst_base_src_set_property),
15892 (gst_base_src_get_property), (gst_base_src_get_range),
15893 (gst_base_src_start):
15894 * gst/base/gstbasesrc.h:
15895 add num-buffers property
15896 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15897 (gst_fakesrc_init), (gst_fakesrc_set_property),
15898 (gst_fakesrc_get_property), (gst_fakesrc_create),
15899 (gst_fakesrc_start):
15900 remove num-buffers property
15902 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15904 * docs/gst/gstreamer-sections.txt:
15905 * docs/gst/tmpl/gstbasesink.sgml:
15906 * docs/gst/tmpl/gstbasesrc.sgml:
15907 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15908 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15909 (gst_base_sink_finalize), (gst_base_sink_set_clock),
15910 (gst_base_sink_set_property), (gst_base_sink_get_property),
15911 (gst_base_sink_handle_object), (gst_base_sink_event),
15912 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15913 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
15914 (gst_base_sink_loop), (gst_base_sink_deactivate),
15915 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
15916 (gst_base_sink_change_state):
15917 * gst/base/gstbasesink.h:
15918 * gst/base/gstbasesrc.h:
15919 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
15920 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15921 (gst_filesink_init):
15922 more macro splitting
15924 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15926 * gst/gstelement.c: (gst_element_get_bus):
15928 * tools/gst-launch.c: (check_intr), (event_loop):
15931 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15933 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15936 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15938 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15939 (gst_base_src_finalize):
15940 add finalize method and clean up properly
15941 * gst/gstpipeline.c: (gst_pipeline_dispose):
15944 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15946 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15948 add more things to check
15949 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15950 * gst/gstelement.c:
15953 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15955 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15956 (GST_START_TEST), (fakesrc_suite):
15957 * check/gst-libs/gdp.c: (GST_START_TEST):
15958 * check/gst/gst.c: (GST_START_TEST):
15959 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15960 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15961 * check/gst/gstbus.c: (GST_START_TEST):
15962 * check/gst/gstcaps.c: (GST_START_TEST):
15963 * check/gst/gstdata.c: (GST_START_TEST):
15964 * check/gst/gstelement.c: (GST_START_TEST):
15965 * check/gst/gstghostpad.c: (GST_START_TEST):
15966 * check/gst/gstiterator.c: (GST_START_TEST):
15967 * check/gst/gstmessage.c: (GST_START_TEST):
15968 * check/gst/gstobject.c: (GST_START_TEST):
15969 * check/gst/gstpad.c: (GST_START_TEST):
15970 * check/gst/gststructure.c: (GST_START_TEST):
15971 * check/gst/gstsystemclock.c: (GST_START_TEST),
15972 (gst_systemclock_suite):
15973 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15974 * check/gst/gstvalue.c: (GST_START_TEST):
15975 * check/pipelines/cleanup.c: (GST_START_TEST):
15976 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15977 * check/states/sinks.c: (GST_START_TEST):
15978 * check/gstcheck.c: (gst_check_init):
15979 * check/gstcheck.h:
15980 add debugging category
15981 use GST_START_TEST now, so we add a debug line
15983 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15985 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
15986 add test for state change message on a bin
15987 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
15989 * gst/gstbin.c: (gst_bin_init):
15990 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
15991 * gst/gstelement.c: (gst_element_post_message),
15992 (gst_element_set_state):
15993 * gst/gstelementfactory.c: (gst_element_factory_create):
15994 * gst/gstmessage.c: (gst_message_new):
15995 * gst/gstscheduler.c:
15996 various debugging additions and cleanups
15998 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16000 * check/Makefile.am:
16001 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16003 adding tests for elements
16004 * gst/gstelement.c: (gst_element_dispose):
16006 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16008 * gst/registries/gstlibxmlregistry.c: (load_feature):
16009 plug more leaks. A simple gst_init() now is leakfree, yay.
16011 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16013 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16014 (gst_xml_registry_load):
16015 plug another memleak
16017 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16020 use GST_SET_ERROR_CFLAGS
16021 * docs/faq/cvs.xml:
16022 change to ERROR_CFLAGS
16024 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16027 make GST_ERROR_CFLAGS overridable and re-enable Werror
16028 * docs/faq/cvs.xml:
16029 add a note about error CFLAGS
16030 * docs/gst/tmpl/gstfakesrc.sgml:
16031 * gst/elements/gstfakesrc.c:
16032 comment out some unused code
16033 * gst/gst.c: (split_and_iterate):
16034 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16038 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16040 * common/Makefile.am:
16041 * common/gtk-doc.mak:
16042 * docs/gst/Makefile.am:
16043 factor out gtk-doc.mak
16045 2005-07-07 Wim Taymans <wim@fluendo.com>
16047 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16048 (gst_thread_scheduler_dispose):
16049 Unlock the STREAM_LOCK completely.
16051 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16053 * check/Makefile.am:
16054 * check/elements/.cvsignore:
16055 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16056 (START_TEST), (fakesrc_suite), (main):
16057 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16058 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16059 (gst_fakesrc_create), (gst_fakesrc_start):
16060 * gst/elements/gstfakesrc.h:
16061 adding a first element test
16063 2005-07-07 Andy Wingo <wingo@pobox.com>
16065 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16068 2005-07-07 Wim Taymans <wim@fluendo.com>
16074 2005-07-07 Wim Taymans <wim@fluendo.com>
16076 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16077 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16078 Allow subclasses to implement their own negotiation.
16080 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16082 * docs/design/part-gstbin.txt:
16083 * docs/design/part-gstpipeline.txt:
16084 Update design notes to reflect the movement of
16085 responsibility for bus handling from GstPipeline to
16088 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16091 Remove unnecessary queue2/3/4 examples.
16093 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16095 * examples/Makefile.am:
16096 * examples/helloworld/helloworld.c: (event_loop), (main):
16097 * examples/queue/queue.c: (event_loop), (main):
16098 * examples/queue2/queue2.c: (main):
16099 Update a couple of the examples to work again.
16101 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16102 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16103 Spelling corrections and extra debug.
16105 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16106 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16107 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16109 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16110 (gst_pipeline_change_state):
16111 * gst/gstpipeline.h:
16112 Move the bus handler for children to the GstBin, and create a
16113 separate bus for receiving messages from children to the one the
16114 bus sends 'upwards' on.
16116 2005-07-06 Wim Taymans <wim@fluendo.com>
16119 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16120 (gst_base_sink_handle_object), (gst_base_sink_loop),
16121 (gst_base_sink_change_state):
16122 * gst/base/gstbasesink.h:
16123 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16124 (gst_base_src_init), (gst_base_src_setcaps),
16125 (gst_base_src_getcaps), (gst_base_src_loop),
16126 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16127 (gst_base_src_start), (gst_base_src_change_state):
16128 * gst/base/gstbasesrc.h:
16129 Make basesrc negotiate.
16130 Handle the case where preroll fails in basesink.
16133 2005-07-06 Wim Taymans <wim@fluendo.com>
16135 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16136 Implement the fixate function.
16137 Clean up acceptcaps.
16139 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16141 * docs/pwg/building-filterfactory.xml:
16142 * docs/pwg/pwg.xml:
16143 Remove never-written filter-factory chapter; I'll add the various
16144 base classes to part 4 ("other element types") later on.
16146 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16148 * docs/pwg/advanced-negotiation.xml:
16149 * docs/pwg/building-boiler.xml:
16150 * docs/pwg/building-pads.xml:
16151 * docs/pwg/pwg.xml:
16152 * examples/pwg/Makefile.am:
16153 Add a chapter on caps negotiation, simplify the original code
16154 samples a bit w.r.t. caps negotiation, add link to the advanced
16155 section. Add a bunch of examples showing different use cases of
16156 different types of caps negotiation. Upstream renegotiation isn't
16157 fully documented yet since nobody knows how that works.
16159 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16161 * check/gst/gstpad.c:
16162 * check/gstcheck.c:
16163 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16164 if pad has no parent, return NULL as list of internal links
16166 2005-07-05 Andy Wingo <wingo@pobox.com>
16168 * gst/elements/gstfilesrc.c:
16169 * gst/elements/gstfakesrc.c:
16170 * gst/base/gstpushsrc.c:
16171 * gst/base/gstbasesrc.h:
16172 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16174 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16177 better report generation target (lcov needs a patch)
16179 2005-07-05 Andy Wingo <wingo@pobox.com>
16181 * gst/elements, testsuite: Null if we got it...
16183 2005-07-05 Wim Taymans <wim@fluendo.com>
16186 * libs/gst/dataprotocol/Makefile.am:
16187 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16188 * libs/gst/dataprotocol/dataprotocol.h:
16189 * pkgconfig/Makefile.am:
16190 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16191 * pkgconfig/gstreamer-dataprotocol.pc.in:
16192 Ported dataprotol to 0.9.
16193 Added pkgconfig files.
16195 2005-07-05 Andy Wingo <wingo@pobox.com>
16197 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16198 Default to returning TRUE for the case when tranform_caps returns
16199 a fixed caps, like for identity or volume.
16201 * check/gst/gstbus.c (pound_bus_with_messages):
16202 * check/gst/gstmessage.c (START_TEST):
16203 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16204 message API change.
16206 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16207 logic weaks here: always run transform_caps, trying passthrough
16208 operation only if the original caps intersects with the transform.
16210 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16211 source and sink caps.
16213 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16214 Intersect the peer caps with the pad template before going into
16216 (gst_base_transform_transform_caps): More debugging.
16218 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16221 2005-07-04 Edward Hervey <edward@fluendo.com>
16225 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16228 2005-07-04 Andy Wingo <wingo@pobox.com>
16230 * check/gst/gstpad.c: Only set explicit caps on pads.
16232 2005-07-01 Andy Wingo <wingo@pobox.com>
16234 * tests/network-clock.scm: Commentary update.
16236 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16237 Didn't really make sense, not implementable with basetransform,
16239 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16240 attempt at implementing the sync property, needs an unlock method.
16242 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16243 New func, by default returns the same caps (the identity
16245 (gst_base_transform_getcaps): Uses transform_caps to return
16246 something sensible.
16247 (gst_base_transform_setcaps): Complicated logic to get caps on
16248 both pads, even if they are different, and to call set_caps once
16249 for every time both pads get their caps set.
16250 (gst_base_transform_handle_buffer): Give the ref to the transform
16251 function. Allows in-place modification of the buffer.
16253 * gst/base/gstbasetransform.h (transform_caps): New class method.
16254 Given caps on one side, what can I do on the other.
16255 (set_caps): Take two caps, one for each side of the element.
16258 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16259 caps in place. This is safe because we can check the mutability of
16260 the caps, and a good idea because fixate functions are just called
16261 as a matter of last resort. (Not actually implemented.)
16262 (gst_pad_set_caps): If the caps we're setting is actually the same
16263 as the existing pad caps, just update the pointer without calling
16264 setcaps. Assert that caps is either NULL or fixed, as per the
16267 * gst/gstghostpad.c: Update for fixate changes.
16269 2005-07-02 Andy Wingo <wingo@pobox.com>
16272 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16273 two refcounts makes it immutable, which is enough. Doc more.
16275 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16277 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16278 Put the mini_object into GValue as a mini_object,
16279 not a gpointer, since that's how we declared
16282 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16284 * examples/pwg/Makefile.am:
16285 Fix buildbot again.
16287 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16289 * docs/pwg/building-testapp.xml:
16291 * examples/pwg/Makefile.am:
16294 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16297 * examples/Makefile.am:
16298 * examples/pwg/Makefile.am:
16299 * examples/pwg/extract.pl:
16300 Enable building the PWG examples.
16301 * docs/pwg/advanced-interfaces.xml:
16302 Add URI interface stub.
16303 * docs/pwg/advanced-types.xml:
16304 * docs/pwg/other-autoplugger.xml:
16305 * docs/pwg/appendix-porting.xml:
16306 * docs/pwg/pwg.xml:
16307 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16308 * docs/pwg/building-boiler.xml:
16309 * docs/pwg/building-chainfn.xml:
16310 * docs/pwg/building-pads.xml:
16311 * docs/pwg/building-props.xml:
16312 * docs/pwg/building-state.xml:
16313 * docs/pwg/building-testapp.xml:
16314 Update the building-*.xml parts for 0.9 changes. All examples
16315 code blocks compile in examples/pwg/*.
16317 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16319 * docs/manual/advanced-autoplugging.xml:
16320 * docs/manual/appendix-checklist.xml:
16321 * docs/manual/appendix-integration.xml:
16322 * docs/manual/highlevel-components.xml:
16323 Fix playbin/decodebin examples, update docs a bit, mention bus
16324 instead of signals in various places, mention kmplayer and
16325 kaffeine since they have a working GStreamer backend in the KDE
16328 2005-06-30 Wim Taymans <wim@fluendo.com>
16331 * docs/design/draft-ghostpads.txt:
16332 * docs/design/draft-push-pull.txt:
16333 * docs/design/draft-query.txt:
16334 * docs/design/part-TODO.txt:
16335 * docs/design/part-query.txt:
16336 Added CHANGES-0.9 doc, updated status of other docs.
16341 2005-06-30 Wim Taymans <wim@fluendo.com>
16343 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16344 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16345 (gst_base_sink_change_state):
16346 * gst/base/gstbasesink.h:
16347 Some tweaks, only EOS and a buffer complete a preroll.
16349 2005-06-30 Andy Wingo <wingo@pobox.com>
16351 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16352 activate_push down to the internal pad as well.
16354 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16356 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16358 * gst/gsttaginterface.c:
16359 Some documentation fixes (#307394 and #307397).
16361 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16363 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16365 * gst/gstvalue.c: (gst_value_intersect_list):
16366 Fix memleak (#309125).
16368 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16370 * docs/manual/advanced-dataaccess.xml:
16371 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16372 * docs/manual/basics-pads.xml:
16373 Add reference for filtered caps to above chapter.
16375 2005-06-30 Wim Taymans <wim@fluendo.com>
16377 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16378 (gst_bin_change_state):
16380 Lame attempt at making the state change function a bit
16383 2005-06-30 Wim Taymans <wim@fluendo.com>
16385 * docs/design/part-clocks.txt:
16386 * docs/design/part-element-sink.txt:
16387 * docs/design/part-events.txt:
16388 * docs/design/part-preroll.txt:
16389 * docs/design/part-states.txt:
16390 Some more tweeks and additions to the docs.
16392 2005-06-30 Wim Taymans <wim@fluendo.com>
16394 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16395 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16396 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16397 (gst_pad_check_pull_range), (gst_pad_get_range),
16398 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16400 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16401 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16402 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16403 (gst_pad_remove_buffer_probe):
16404 Removed atomic operations, use existing LOCK.
16405 Move exception handling out of main code path.
16407 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16409 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16410 (silly_return_true_function), (gst_pad_class_init),
16411 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16412 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16413 (gst_pad_send_event):
16414 Fix accumulator, add default value by using _emitv() instead
16415 of _emit() for signal emission.
16417 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16419 * docs/manual/advanced-dataaccess.xml:
16420 * examples/manual/Makefile.am:
16422 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16425 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16427 * gst/elements/gstfilesink.c: (gst_filesink_render):
16428 Simplify code so that we don't have to handle short
16429 writes and return GST_FLOW_ERROR if an error occured.
16431 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16433 * docs/gst/gstreamer-docs.sgml:
16434 Remove probes more.
16436 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16438 * docs/gst/gstreamer-sections.txt:
16439 * docs/gst/tmpl/gstpad.sgml:
16440 * docs/gst/tmpl/gstprobe.sgml:
16442 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16443 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16444 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16445 (gst_pad_push_event), (gst_pad_send_event):
16447 * gst/gstutils.c: (gst_pad_add_data_probe),
16448 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16449 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16450 (gst_pad_remove_buffer_probe):
16452 Remove old probes, add new g-signal-based probes and some utility
16455 2005-06-29 Edward Hervey <edward@fluendo.com>
16457 * gst/gstelementfactory.c:
16460 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16461 the definition to the header file.
16463 2005-06-29 Andy Wingo <wingo@pobox.com>
16465 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16466 plugins from the source directory.
16468 2005-06-29 Wim Taymans <wim@fluendo.com>
16470 * docs/gst/tmpl/gstbuffer.sgml:
16471 * docs/gst/tmpl/gstclock.sgml:
16472 Some fixings for blantently wrong text.
16474 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16476 * check/Makefile.am:
16477 * gst/gst.c: (add_path_func), (init_pre):
16478 * gst/gstregistry.c: (gst_registry_add_path):
16479 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16480 only scan the GST_PLUGIN_PATH locations, and not add
16483 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16485 * docs/gst/gstreamer-sections.txt:
16486 * docs/gst/tmpl/gstbasesrc.sgml:
16487 * gst/gstelement.c:
16488 * gst/gstelement.h:
16493 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16495 * docs/manual/advanced-autoplugging.xml:
16496 Fix autoplugging example.
16498 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16500 * docs/manual/advanced-autoplugging.xml:
16501 * docs/manual/mime-world.fig:
16502 Try to get autoplugging working, fix type detection. Fix text
16503 in hello-world image.
16505 2005-06-29 Wim Taymans <wim@fluendo.com>
16507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16508 (gst_base_sink_change_state):
16512 map SIGNAL and BROADCAST to the right function.
16515 Remove redundant braces.
16517 * gst/gstpad.c: (gst_pad_set_caps):
16518 Don't call setcaps function when reseting caps to NULL.
16520 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16521 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16522 (gst_system_clock_id_unschedule):
16523 Use BROADCAST as this is what we do.
16525 2005-06-29 Wim Taymans <wim@fluendo.com>
16527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16528 We are actually prerolling before commiting the state
16531 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16533 * docs/manual/advanced-clocks.xml:
16534 * docs/manual/advanced-interfaces.xml:
16535 * docs/manual/advanced-metadata.xml:
16536 * docs/manual/advanced-position.xml:
16537 * docs/manual/advanced-schedulers.xml:
16538 * docs/manual/advanced-threads.xml:
16539 * docs/manual/appendix-porting.xml:
16540 * docs/manual/basics-bins.xml:
16541 * docs/manual/basics-bus.xml:
16542 * docs/manual/basics-elements.xml:
16543 * docs/manual/basics-helloworld.xml:
16544 * docs/manual/basics-pads.xml:
16545 * docs/manual/highlevel-components.xml:
16546 * docs/manual/manual.xml:
16547 * docs/manual/thread.fig:
16548 Update (until threads/scheduling) Application Development Manual;
16549 remove GstThread, add GstBus, add simple porting checklist, add
16550 documentation for tag writing, clocks, make all examples until this
16551 part compile and run.
16552 * examples/manual/Makefile.am:
16553 Update from changes to Application Development Manual; add bus
16554 example, remove thread example.
16556 2005-06-28 Wim Taymans <wim@fluendo.com>
16558 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16559 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16560 (gst_bus_source_dispatch):
16561 Add debugging messages.
16562 Make internal methods static.
16563 Handle the case where the bus is flushed in the handler.
16565 * gst/gstelement.c: (gst_element_get_bus):
16566 Fix refcount in _get_bus();
16568 * gst/gstpipeline.c: (gst_pipeline_change_state),
16569 (gst_pipeline_get_clock_func):
16570 Clock refcounting fixes.
16571 Handle the case where preroll timed out more gracefully.
16573 * gst/gstsystemclock.c: (gst_system_clock_dispose):
16574 Clean up the internal thread in dispose. This is needed
16575 for subclasses that actually get disposed.
16577 * gst/schedulers/threadscheduler.c:
16578 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16579 (gst_thread_scheduler_dispose):
16580 Free thread pool in dispose.
16582 2005-06-28 Andy Wingo <wingo@pobox.com>
16584 * tests/network-clock-utils.scm (debug, print-event): New utils.
16586 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16587 (*packet-loss*): Unified loss probability.
16588 (network-time): Report out-of-band events.
16590 * tests/plot-data: Add support for out-of-band events. Hack it
16591 into this script instead of passing it down the pipe; should fix
16594 2005-06-28 Wim Taymans <wim@fluendo.com>
16596 * docs/gst/gstreamer.types:
16597 * docs/gst/tmpl/gstbasesrc.sgml:
16598 * docs/gst/tmpl/gstpad.sgml:
16601 2005-06-28 Wim Taymans <wim@fluendo.com>
16603 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16604 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16605 (gst_proxy_pad_do_fixatecaps):
16606 Correctly proxy the check_pull_range function.
16608 2005-06-28 Andy Wingo <wingo@pobox.com>
16610 * tests/network-clock.scm: Removed need for slib.
16612 2005-06-28 Wim Taymans <wim@fluendo.com>
16614 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16615 (gst_basesink_preroll_queue_flush):
16616 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16617 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16618 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16619 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16620 (gst_proxy_pad_set_property):
16623 * gst/gstqueue.c: (gst_queue_init):
16624 The deprecated pad loop function is removed now.
16626 2005-06-28 Andy Wingo <wingo@pobox.com>
16628 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16629 New parameters, simulate network packet loss.
16631 * tests/network-clock-utils.scm: Initialize the RNG.
16633 2005-06-28 Wim Taymans <wim@fluendo.com>
16635 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16636 (gst_basesink_event), (gst_basesink_deactivate):
16637 Flushing the preroll queue always needs to unlock the waiters.
16639 2005-06-28 Edward Hervey <edward@fluendo.com>
16641 * gst/gstpipeline.c: (gst_pipeline_send_event):
16642 Wheen a seek was successful on a pipeline, set the stream_time to the
16643 seek offset in order to have a synchronized stream_time.
16645 2005-06-28 Wim Taymans <wim@fluendo.com>
16647 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16648 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16649 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16650 (gst_proxy_pad_do_fixatecaps):
16651 Call wrapper function instead of just calling the function
16652 pointers. This takes care of any locking and whatmore.
16654 2005-06-28 Wim Taymans <wim@fluendo.com>
16656 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16657 (gst_pad_pull_range):
16659 CONNECTED -> LINKED.
16661 2005-06-28 Andy Wingo <wingo@pobox.com>
16663 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16664 source-munging commit!!!
16666 * gst/gstobject.c (gst_object_unref, gst_object_ref)
16667 (gst_object_sink): Take gpointer arguments, not GstObject --
16668 avoids casts. Like GLib.
16670 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16673 2005-06-27 Andy Wingo <wingo@pobox.com>
16675 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16678 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16679 returns a sorted copy of the trace list.
16680 (gst_alloc_trace_print_live): New API, only prints traces with
16681 live objects. Sort the list.
16682 (gst_alloc_trace_print_all): Sort the list.
16683 (gst_alloc_trace_print): Align columns.
16685 * gst/elements/gstttypefindelement.c:
16686 * gst/elements/gsttee.c:
16687 * gst/base/gstbasesrc.c:
16688 * gst/base/gstbasesink.c:
16689 * gst/base/gstbasetransform.c:
16690 * gst/gstqueue.c: Adapt for pad activation changes.
16692 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16694 (gst_pipeline_dispose): Drop ref on sched.
16696 * gst/gstpad.c (gst_pad_init): Set the default activate func.
16697 (gst_pad_activate_default): Push mode by default.
16698 (pre_activate_switch, post_activate_switch): New stubs, things to
16699 do before and after switching activation modes on pads.
16700 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16701 the pad's activate function to choose which mode to activate.
16702 Shortcut on deactivation and call the right function directly.
16703 (gst_pad_activate_pull): New API, (de)activates a pad in pull
16705 (gst_pad_activate_push): New API, same for push mode.
16706 (gst_pad_set_activate_function)
16707 (gst_pad_set_activatepull_function)
16708 (gst_pad_set_activatepush_function): Setters for new API.
16710 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16711 Trace all miniobjects.
16712 (gst_mini_object_make_writable): Unref the arg if we copy, like
16713 gst_caps_make_writable.
16715 * gst/gstmessage.c (_gst_message_initialize): No trace init.
16717 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
16718 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16719 Adapt for new pad API.
16721 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16723 * gst/gstelement.h:
16724 * gst/gstelement.c (gst_element_iterate_src_pads)
16725 (gst_element_iterate_sink_pads): New API functions.
16727 * gst/gstelement.c (iterator_fold_with_resync): New utility,
16728 should fold into gstiterator.c in some form.
16729 (gst_element_pads_activate): Simplified via use of fold and
16730 delegation of decisions to gstpad->activate.
16732 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16735 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16736 class once in init, like gstmessage. Didn't run into this issue
16737 but it seems correct. Don't initialize a trace, gstminiobject does
16740 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16741 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16743 (assert_live_count): New util function, uses alloc traces to check
16746 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16747 To be modified when unlink drops the internal pad.
16749 2005-06-27 Wim Taymans <wim@fluendo.com>
16751 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16752 (gst_bin_change_state):
16753 Cleanup the get_state() function a little, make sure it
16754 iterates the same set of elements.
16755 Added stub iterate_state_order().
16757 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
16759 * docs/gst/gstreamer-docs.sgml:
16760 * docs/gst/gstreamer-sections.txt:
16761 * docs/gst/gstreamer.types:
16762 * docs/gst/tmpl/gstbasesink.sgml:
16763 * docs/gst/tmpl/gstbasesrc.sgml:
16764 * docs/gst/tmpl/gstbasetransform.sgml:
16765 * docs/gst/tmpl/gstelement.sgml:
16766 * docs/gst/tmpl/gstiterator.sgml:
16767 * gst/base/gstbasesrc.c:
16768 * gst/base/gstbasesrc.h:
16769 * gst/base/gstbasetransform.h:
16770 * gst/gstelement.c:
16771 * gst/gstiterator.h:
16772 adding basetransform and iterator docs
16774 2005-06-27 Andy Wingo <wingo@pobox.com>
16776 * docs/design/part-activation.txt: Notes on how activation should
16777 work -- not quite implemented yet.
16779 2005-06-25 Wim Taymans <wim@fluendo.com>
16781 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16782 At least get the chain function correct, needs more
16785 2005-06-25 Wim Taymans <wim@fluendo.com>
16787 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16788 (gst_basesink_handle_object), (gst_basesink_event),
16789 (gst_basesink_do_sync), (gst_basesink_handle_event),
16790 (gst_basesink_change_state):
16792 Right, two problems here: ghostpads don't take locks and
16793 glib _rec_mutex_lock_full() with depth==0 still locks.
16794 Catch illegal locking and g_warn them.
16796 2005-06-25 Wim Taymans <wim@fluendo.com>
16798 * check/states/sinks.c: (START_TEST), (gst_object_suite):
16799 Have to check for completion now...
16801 2005-06-25 Wim Taymans <wim@fluendo.com>
16803 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16804 (gst_basesink_handle_object), (gst_basesink_event),
16805 (gst_basesink_do_sync), (gst_basesink_handle_event),
16806 (gst_basesink_change_state):
16808 Unlock STREAM_LOCK whatever the recursion was.
16810 2005-06-25 Wim Taymans <wim@fluendo.com>
16812 * gst/base/gstbasesink.c: (gst_basesink_set_property),
16813 (gst_basesink_preroll_queue_empty),
16814 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16815 (gst_basesink_event), (gst_basesink_do_sync),
16816 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16817 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16818 (gst_basesink_change_state):
16819 Reworked the base sink, handle event and buffer serialisation
16820 correctly and removed possible deadlock.
16821 Handle EOS correctly.
16823 2005-06-25 Wim Taymans <wim@fluendo.com>
16825 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16826 (gst_pipeline_change_state):
16827 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16828 Allow elements to post EOS in the state change function.
16829 Fix up -launch, make it exit the poll loop when the
16830 pipeline actually changed state.
16831 Fix up warning parsing in -launch.
16833 2005-06-25 Wim Taymans <wim@fluendo.com>
16835 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16836 (gst_tee_sink_activate):
16837 Core takes STREAM_LOCK for us now.
16839 2005-06-25 Wim Taymans <wim@fluendo.com>
16841 * gst/gstelement.c: (gst_element_get_state_func),
16842 (gst_element_set_state):
16843 * gst/gstelement.h:
16844 * gst/gstmessage.c: (gst_message_parse_error),
16845 (gst_message_parse_warning):
16846 Keep track of current target state while performing a state
16847 change so that subclasses can do something interesting.
16848 Fix parsing of warning/error messages when GError is NULL.
16850 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
16852 * docs/gst/Makefile.am:
16853 * docs/gst/gstreamer-docs.sgml:
16854 * docs/gst/gstreamer-sections.txt:
16855 * docs/gst/gstreamer.types:
16856 * docs/gst/tmpl/gstbasesink.sgml:
16857 * docs/gst/tmpl/gstbasesrc.sgml:
16858 * docs/gst/tmpl/gstbin.sgml:
16859 * docs/gst/tmpl/gstcompat.sgml:
16860 * docs/gst/tmpl/gstfakesink.sgml:
16861 * docs/gst/tmpl/gstfakesrc.sgml:
16862 * docs/gst/tmpl/gstfilesink.sgml:
16863 * docs/gst/tmpl/gstfilesrc.sgml:
16864 * docs/gst/tmpl/gstindex.sgml:
16865 * docs/manual/appendix-quotes.xml:
16866 * gst/base/gstbasesrc.h:
16867 * gst/elements/gstfakesrc.h:
16868 * gst/gstmessage.h:
16869 start pulling in base classes and elements in our docs
16871 2005-06-24 Stefan Kost <ensonic@users.sf.net>
16873 * docs/gst/Makefile.am:
16874 * docs/libs/Makefile.am:
16875 fixed make distcheck with gtk-doc 1.3
16877 2005-06-23 Wim Taymans <wim@fluendo.com>
16879 * gst/gstelement.c: (gst_element_get_state_func),
16880 (gst_element_set_state), (gst_element_change_state):
16881 When the state did not change, also report NO_PREROLL
16884 2005-06-23 Wim Taymans <wim@fluendo.com>
16886 * gst/gstpad.c: (gst_pad_event_default):
16887 * gst/gstqueue.c: (gst_queue_loop):
16888 No unsafe task pausing please.
16890 2005-06-23 Wim Taymans <wim@fluendo.com>
16892 * gst/schedulers/threadscheduler.c:
16893 (gst_thread_scheduler_task_start),
16894 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
16895 Ref the task before pushing it on the threadpool. This
16896 makes sure that we have a ref when the threadfunction is
16899 2005-06-23 Andy Wingo <wingo@pobox.com>
16901 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
16902 offset is greater than the file's size.
16904 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
16905 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
16906 * gst/gstobject.c (gst_object_class_init): Make the class lock
16907 recursive. Wim won't let me drop deep_notify. Decodebin works
16908 again, whoopdy doo.
16910 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
16911 internal pad, and hacks accordingly. Doesn't do it on the target
16912 pad because we change its caps. Probably catches all cases of
16914 (gst_ghost_pad_set_property): Connect to notify::caps as
16917 * tests/network-clock.scm (plot-simulation): Pipe data to the
16918 elite python skript.
16920 * tests/network-clock-utils.scm (define-parameter): New macro,
16921 defines a parameter that can be set via the command line.
16922 (set-parameter!, parse-parameter-arguments): Command line args
16925 * tests/plot-data: Simple matplotlib-based plotter, takes input on
16928 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
16930 * gst/elements/gsttypefindelement.c:
16931 (gst_type_find_element_handle_event):
16932 Don't restart typefinding on a discont.
16933 * gst/gstelement.c: (gst_element_set_state):
16934 Debug spelling fix.
16935 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16936 Allow changing mode of an active pad.
16937 Debug output fixes.
16938 * gst/registries/gstlibxmlregistry.c: (load_feature):
16939 Don't cast a static pad template to a normal pad template.
16941 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
16943 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16944 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16945 remove gst_strtoll completely, since it didn't actually do
16946 anything more than what g_ascii_strtoull already does.
16947 check for range errors when deserializing
16948 do a cast for the unsigned cases; but further fixing needs
16949 a decision on what the interpretation of "(int)" and
16950 deserialization should be for values that fall outside the
16951 type's boundaries (ie, refuse, or interpret as casting)
16953 2005-06-23 Wim Taymans <wim@fluendo.com>
16955 * check/Makefile.am:
16956 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16957 * docs/design/part-live-source.txt:
16958 * docs/design/part-states.txt:
16959 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16960 (gst_basesrc_set_live), (gst_basesrc_is_live),
16961 (gst_basesrc_get_range), (gst_basesrc_activate),
16962 (gst_basesrc_change_state):
16963 * gst/base/gstbasesrc.h:
16964 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16965 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16966 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
16967 * gst/gstelement.c: (gst_element_get_state_func),
16968 (gst_element_set_state):
16969 * gst/gstelement.h:
16971 * tools/gst-launch.c: (event_loop), (main):
16972 Added support for live sources and other elements that
16974 Updated design docs, added live-source design doc.
16975 Implemented live source functionality in basesrc
16976 Fix error condition in _bin_get_state()
16977 Implement live source handling in -launch.
16978 Added check for live sources.
16979 Fixed case in GstBin where elements were changed state
16983 2005-06-23 Andy Wingo <wingo@pobox.com>
16985 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
16986 borken refcounting.
16988 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
16989 gst_caps_replace takes care of this for us.
16991 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
16992 gst_pad_set_caps on the target, not just its setcaps() function.
16994 * tests/network-clock.scm:
16995 * tests/network-clock-utils.scm: A network clock simulator.
16996 Something of an algorithmic testbed before doing something in C.
16998 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17000 * check/Makefile.am:
17001 * check/gst/capslist.h:
17002 copy over from 0.8, and add two with bitmasks specified with
17004 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17005 add test to parse everything from capslist.h
17006 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17008 add test for structure deserialization
17009 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17010 add tests for deserialization of strings to int types
17011 * gst/gststructure.c: (gst_structure_nth_field_name):
17012 * gst/gststructure.h:
17013 add a way to get the name of a field referenced by index
17014 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17015 instead of checking if the resulting long long lies between
17016 min and max, we check if the long long would fit into
17017 a number of bytes for the final type.
17018 This fixes cases where a string represents 2^32 - 1, which
17019 when cast to int would be the (valid) -1, but is bigger than
17022 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17024 * gst/parse/grammar.y:
17025 add a log line for type deserialization
17027 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17029 * check/gst/gstvalue.c: (START_TEST):
17030 * gst/gstvalue.c: (gst_value_deserialize):
17031 return long long, not int, so gint64 deserialization actually
17032 works. Is there any flag that makes the compiler check this ?
17035 2005-06-22 Wim Taymans <wim@fluendo.com>
17038 Added convenience macros for setting buffers in GValue.
17040 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17042 * check/gst/.cvsignore:
17043 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17044 add a test deserializing int64, and comment part out because
17047 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17049 * check/Makefile.am:
17050 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17051 * testsuite/Makefile.am:
17052 * testsuite/caps/Makefile.am:
17053 * testsuite/caps/value_serialize.c:
17054 * testsuite/test_gst_init.c:
17055 move a value_serialize test over
17057 2005-06-20 Wim Taymans <wim@fluendo.com>
17062 * gst/gstvalue.c: (gst_value_compare_buffer),
17063 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17064 (gst_value_compare_flags), (gst_value_serialize_flags),
17065 (gst_value_deserialize_flags), (_gst_value_initialize):
17066 Fix serialisation of buffers, they are not boxed types anymore
17068 2005-06-20 Wim Taymans <wim@fluendo.com>
17070 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17071 Testcase to show error in buffer-on-caps serialisation.
17073 2005-06-20 Andy Wingo <wingo@pobox.com>
17075 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17076 will be adding to later.
17078 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17079 if its socks fill with rocks.
17080 (gst_system_clock_obtain): Set the name on object construction.
17081 Avoid double-checked locking.
17083 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17085 * gst/gsturi.c: (gst_element_make_from_uri):
17086 Fix potential endless loop.
17088 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17090 * check/Makefile.am:
17092 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17094 move over from testsuite dir and clean up
17097 * testsuite/Makefile.am:
17098 * testsuite/tags/.cvsignore:
17099 * testsuite/tags/Makefile.am:
17100 * testsuite/tags/merge.c:
17101 remove testsuite/tags
17103 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17105 * docs/gst/gstreamer-sections.txt:
17106 * docs/gst/tmpl/gstenumtypes.sgml:
17107 * win32/gstenumtypes.c:
17108 clean up documentation build a little
17110 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17112 * check/gstcheck.h:
17113 add macros for checking refcounts on objects and caps
17114 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17115 add some more unit tests
17116 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17117 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17118 fix leaked refcounts (I hope :)) so unittest works
17122 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17124 * configure.ac: back to HEAD
17126 === release 0.9.1 ===
17128 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17134 2005-06-17 Andy Wingo <wingo@pobox.com>
17136 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17137 assert; it's always possible that the pad gets deactivated in
17138 between the checks in gstpad.c and the implementation. Rely on
17139 finish_preroll() to return a FLUSHING or similar instead of on the
17142 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17143 clock and post an EOS message if we come out of finish_preroll in
17146 2005-06-16 David Schleef <ds@schleef.org>
17148 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17149 (gst_capsfilter_set_property): Allow NULL as possible value
17150 for filter_caps property, indicating GST_CAPS_ANY.
17152 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17154 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17156 * gst/schedulers/Makefile.am:
17158 * gstreamer.spec.in:
17161 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17163 * gstreamer.spec.in:
17166 2005-06-08 Andy Wingo <wingo@pobox.com>
17168 * gst/gstutils.c: RPAD fixes all around.
17169 (gst_element_link_pads): Refcounting fixes.
17171 * tools/gst-inspect.c:
17172 * tools/gst-xmlinspect.c:
17174 * gst/base/gsttypefindhelper.c:
17175 * gst/base/gstbasesink.c:
17176 * gst/gstqueue.c: RPAD fixes.
17178 * gst/gstghostpad.h:
17179 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17180 pads. The tricky thing is they provide both source and sink
17181 interfaces, since they proxy the internal pad for the external
17182 pad, and vice versa. Implement with lower-level ProxyPad objects,
17183 with the interior proxy pad as a child of the exterior ghost pad.
17184 Should write a doc on this.
17186 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17187 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17190 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17191 pads are real pads. No ghost pads in this file. Not documenting
17192 the myriad s/RPAD/PAD/ and REALIZE fixes.
17193 (gst_pad_class_init): Add properties for "direction" and
17194 "template". Both are construct-only, so they can't change during
17195 the life of the pad. Fixes properly deriving from GstPad.
17196 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17197 derived objects, just set properties when creating the objects via
17199 (gst_pad_get_parent): Implement as a function, return NULL if the
17200 parent is not an element.
17201 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17202 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17204 * gst/gstobject.c (gst_object_class_init): Make name a construct
17205 property. Don't set it in the object init.
17207 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17208 with UNKNOWN direction.
17209 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17210 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17211 (gst_element_remove_pad): Remove ghost-pad special cases.
17212 (gst_element_pads_activate): Remove rpad cruft.
17214 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17215 catch the pad's-parent-not-an-element case.
17217 * gst/gst.h: Include gstghostpad.h.
17219 * gst/gst.c (init_post): No more real, ghost pads.
17221 * gst/Makefile.am: Add gstghostpad.[ch].
17223 * check/Makefile.am:
17224 * check/gst/gstbin.c:
17225 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17226 into a bin creates ghost pads, and that the refcounts are right.
17227 Partly moved from gstbin.c.
17229 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17231 * check/gst-libs/.cvsignore:
17232 * check/gst/.cvsignore:
17233 * check/pipelines/.cvsignore:
17235 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17236 (START_TEST), (cleanup_suite), (main):
17237 add some tests related to cleanup after running pipelines
17239 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17241 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17242 add a testsuite for GstBuffer
17244 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17246 * gst/gstminiobject.h:
17247 add defines for accessing the refcount
17249 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17251 * Makefile.am: added support for html unit test coverage reports
17253 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17255 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17256 Free existing caps if the capsfilter changes. Add a FIXME about
17257 setting those caps on the pads.
17259 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17260 Before adding a ghost pad to a parent bin, check that there isn't
17261 already one for the element on the bin. Prevents infinite recursion
17262 when using decodebin in parse pipelines. Andy says he'll rewrite the
17263 way this works anyway, so ignore the hack.
17265 2005-06-02 Andy Wingo <wingo@pobox.com>
17267 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17268 file size, pass it on to the type find helper.
17270 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17271 segment_start and segment_end properly according to the seek
17272 method. Segment_end is still a bit flaky because offset can be
17273 negative for CUR and END cases, but it takes -1 as an "unset"
17276 2005-06-02 Wim Taymans <wim@fluendo.com>
17278 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17279 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17280 (gst_basesink_activate):
17281 * gst/base/gstbasesink.h:
17282 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17283 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17284 (gst_pad_query), (gst_pad_start_task):
17286 * gst/gstqueue.c: (gst_queue_bufferalloc),
17287 (gst_queue_handle_sink_event), (gst_queue_chain):
17288 Bufferalloc: return GstFlowReturn to more accuratly report
17289 why allocation failed.
17291 2005-06-02 Wim Taymans <wim@fluendo.com>
17293 * gst/gstpipeline.c: (gst_pipeline_send_event):
17294 Take snapshot of state without blocking.
17296 2005-06-02 Wim Taymans <wim@fluendo.com>
17298 * docs/design/part-TODO.txt:
17299 * docs/design/part-caps.txt:
17300 * docs/design/part-clocks.txt:
17301 * docs/design/part-negotiation.txt:
17302 * docs/design/part-preroll.txt:
17305 2005-05-30 Wim Taymans <wim@fluendo.com>
17307 * gst/elements/gstidentity.c: (gst_identity_event),
17308 (gst_identity_transform), (gst_identity_get_property):
17309 Protect last_message property as it is accessed from
17312 2005-05-30 Wim Taymans <wim@fluendo.com>
17314 * gst/gstelement.c: (gst_element_init),
17315 (gst_element_pads_activate), (gst_element_change_state):
17316 Slicker pad activation code.
17318 2005-05-30 Wim Taymans <wim@fluendo.com>
17321 * gst/gstelement.h:
17322 * gst/gstelementfactory.h:
17324 Move elementfactory methods to separate .h file.
17326 2005-05-30 Wim Taymans <wim@fluendo.com>
17328 * docs/design/part-overview.txt:
17329 * gst/gstsystemclock.h:
17330 Small typo fixes, doc updates.
17332 2005-05-30 Wim Taymans <wim@fluendo.com>
17334 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17335 (init_popt_callback):
17336 Remove cpu-opt flag.
17338 2005-05-30 Wim Taymans <wim@fluendo.com>
17340 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17341 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17343 Avoid typechecking in places where not needed.
17344 Added accessor for malloc_data.
17346 2005-05-30 Wim Taymans <wim@fluendo.com>
17348 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17349 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17350 (gst_pad_configure_sink), (gst_pad_configure_src),
17351 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17352 (gst_pad_start_task):
17353 Propagate errors from _set_caps() in configure_src/sink
17354 functions instead of returning TRUE.
17355 FLUSH events can travel up and downstream
17358 2005-05-30 Wim Taymans <wim@fluendo.com>
17360 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17361 (gst_basesink_activate):
17362 Handle EOS in preroll.
17364 2005-05-30 Wim Taymans <wim@fluendo.com>
17366 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17367 (gst_queue_loop), (gst_queue_handle_src_event):
17368 Remove old pieces of code
17369 Flushing the queue in an upstream event is a very bad idea.
17371 2005-05-26 Andy Wingo <wingo@pobox.com>
17373 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17374 gst_value_set_mini_object so as to add a ref on the object (which
17375 will be removed when the value is unset).
17377 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17378 arg type in ::handoff.
17380 * gst/gstelement.c (gst_element_change_state): Also deactivate
17381 pads in READY->NULL, just in case the element didn't make it to
17382 PAUSED. Wingo tested, Wim approved.
17384 2005-05-26 Wim Taymans <wim@fluendo.com>
17386 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17387 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17388 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17389 A flushing pad cannot be used to alloc_buffer from.
17391 2005-05-26 Wim Taymans <wim@fluendo.com>
17393 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17394 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17395 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17396 (gst_bus_create_watch), (gst_bus_add_watch_full):
17398 Implement a real GSource and use g_main_context_wakeup() to
17399 signal new messages instead of the socketpair.
17401 2005-05-25 Wim Taymans <wim@fluendo.com>
17403 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17404 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17405 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17406 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17407 (gst_pad_send_event), (gst_pad_start_task):
17408 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17409 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17410 (gst_queue_sink_activate), (gst_queue_src_activate),
17411 (gst_queue_change_state):
17413 Fix state changes for non sinks. We now change sinks, then elements
17414 with unconnected srcpads, then the rest.
17415 More efficient queue unlocking in flush and state changes.
17416 Set the pad activate mode even if it does not have an activate
17419 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17421 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17422 Don't go in pull mode for non-seekable sources.
17423 * gst/elements/gsttypefindelement.h:
17424 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17425 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17426 (free_entry), (stop_typefinding),
17427 (gst_type_find_element_handle_event), (find_peek),
17428 (gst_type_find_element_chain), (do_pull_typefind),
17429 (gst_type_find_element_change_state):
17430 Allow typefinding (w/o seeking) in push-mode, simplified version
17431 of what was in 0.8.
17432 * gst/gstutils.c: (gst_buffer_join):
17434 gst_buffer_join() from 0.8.
17436 2005-05-25 Wim Taymans <wim@fluendo.com>
17438 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17439 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17440 (gst_pad_send_event), (gst_pad_start_task):
17441 Disable attempt at mode switching until it is figured out.
17443 2005-05-25 Wim Taymans <wim@fluendo.com>
17445 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17446 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17447 (gst_basesink_finish_preroll), (gst_basesink_chain),
17448 (gst_basesink_loop), (gst_basesink_activate),
17449 (gst_basesink_change_state):
17450 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17451 (gst_basesrc_get_range), (gst_basesrc_loop),
17452 (gst_basesrc_activate):
17453 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17454 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17455 (gst_real_pad_init), (gst_real_pad_set_property),
17456 (gst_real_pad_get_property), (gst_pad_set_active),
17457 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17458 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17459 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17460 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17461 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17462 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17463 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17464 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17465 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17466 (gst_pad_stop_task):
17468 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17469 (gst_queue_loop), (gst_queue_src_activate):
17470 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17471 (gst_task_get_state):
17473 * gst/schedulers/threadscheduler.c:
17474 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17475 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17477 Remove ACTIVE pad flag, use FLUSHING everywhere
17478 Added _pad_chain(), _pad_get_range() to call chain/getrange
17480 Add locks around IS_FLUSHING when reading.
17481 Take STREAM lock in chain(), get_range() functions so plugins
17482 don't need to take it anymore.
17486 2005-05-25 Wim Taymans <wim@fluendo.com>
17488 * tools/gst-launch.c: (event_loop):
17489 Unref message after using its contents instead of
17492 2005-05-24 Wim Taymans <wim@fluendo.com>
17494 * docs/design/draft-ghostpads.txt:
17495 * docs/design/draft-push-pull.txt:
17496 * docs/design/draft-query.txt:
17497 * docs/design/part-overview.txt:
17498 Docs updates, added general overview doc.
17500 2005-05-21 David Schleef <ds@schleef.org>
17502 * docs/gst/tmpl/old/GstBin.sgml:
17503 * docs/gst/tmpl/old/GstBuffer.sgml:
17504 * docs/gst/tmpl/old/GstCaps.sgml:
17505 * docs/gst/tmpl/old/GstClock.sgml:
17506 * docs/gst/tmpl/old/GstCompat.sgml:
17507 * docs/gst/tmpl/old/GstData.sgml:
17508 * docs/gst/tmpl/old/GstElement.sgml:
17509 * docs/gst/tmpl/old/GstEvent.sgml:
17510 * docs/gst/tmpl/old/GstIndex.sgml:
17511 * docs/gst/tmpl/old/GstStructure.sgml:
17512 * docs/gst/tmpl/old/GstTag.sgml:
17513 * docs/gst/tmpl/old/cothreads.sgml:
17514 * docs/gst/tmpl/old/cothreads_compat.sgml:
17515 * docs/gst/tmpl/old/gettext.sgml:
17516 * docs/gst/tmpl/old/gobject2gtk.sgml:
17517 * docs/gst/tmpl/old/grammar.tab.sgml:
17518 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17519 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17520 * docs/gst/tmpl/old/gst_private.sgml:
17521 * docs/gst/tmpl/old/gstaggregator.sgml:
17522 * docs/gst/tmpl/old/gstarch.sgml:
17523 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17524 * docs/gst/tmpl/old/gstbufferstore.sgml:
17525 * docs/gst/tmpl/old/gstdata_private.sgml:
17526 * docs/gst/tmpl/old/gstdisksink.sgml:
17527 * docs/gst/tmpl/old/gstdisksrc.sgml:
17528 * docs/gst/tmpl/old/gstelementfactory.sgml:
17529 * docs/gst/tmpl/old/gstextratypes.sgml:
17530 * docs/gst/tmpl/old/gstfakesink.sgml:
17531 * docs/gst/tmpl/old/gstfakesrc.sgml:
17532 * docs/gst/tmpl/old/gstfdsink.sgml:
17533 * docs/gst/tmpl/old/gstfdsrc.sgml:
17534 * docs/gst/tmpl/old/gstfilesink.sgml:
17535 * docs/gst/tmpl/old/gstfilesrc.sgml:
17536 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17537 * docs/gst/tmpl/old/gstidentity.sgml:
17538 * docs/gst/tmpl/old/gstindexfactory.sgml:
17539 * docs/gst/tmpl/old/gstmarshal.sgml:
17540 * docs/gst/tmpl/old/gstmd5sink.sgml:
17541 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17542 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17543 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17544 * docs/gst/tmpl/old/gstpipefilter.sgml:
17545 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17546 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17547 * docs/gst/tmpl/old/gstshaper.sgml:
17548 * docs/gst/tmpl/old/gstspider.sgml:
17549 * docs/gst/tmpl/old/gstspideridentity.sgml:
17550 * docs/gst/tmpl/old/gststatistics.sgml:
17551 * docs/gst/tmpl/old/gsttee.sgml:
17552 * docs/gst/tmpl/old/gsttimecache.sgml:
17553 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17554 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17555 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17556 * docs/gst/tmpl/old/types.sgml:
17557 I didn't intend to add these or check them in.
17559 2005-05-19 David Schleef <ds@schleef.org>
17561 * configure.ac: Use -no-common everywhere. In a sane world, it
17562 would be the default in libtool, because without it, you can't
17563 build DLLs on Windows.
17564 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17565 * docs/gst/gstreamer-sections.txt:
17566 * docs/gst/tmpl/gstcpu.sgml:
17567 * docs/gst/tmpl/gstdata.sgml:
17568 * docs/gst/tmpl/gstthread.sgml:
17570 2005-05-19 David Schleef <ds@schleef.org>
17572 * gst/gstminiobject.c: (gst_value_set_mini_object),
17573 (gst_value_take_mini_object), (gst_value_get_mini_object):
17574 * gst/gstminiobject.h: Add GValue set/get functions.
17576 2005-05-19 Wim Taymans <wim@fluendo.com>
17578 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17579 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17580 (gst_subbuffer_init), (gst_buffer_is_span_fast):
17582 * gst/gstbus.c: (gst_bus_post):
17583 * gst/gstelement.c: (gst_element_get_random_pad):
17584 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17585 Make subbufer unref the parent in finalize.
17586 some more debugging info.
17589 2005-05-19 Wim Taymans <wim@fluendo.com>
17591 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17592 (gst_basesink_init), (gst_basesink_finalize),
17593 (gst_basesink_activate), (gst_basesink_change_state):
17594 Don't free preroll queue too early.
17596 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17600 Hi, I'm outdated. Please shoot me.
17602 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17604 * gst/gstpipeline.c: (gst_pipeline_send_event):
17605 Do not access variables after they have been deleted.
17607 2005-05-19 Wim Taymans <wim@fluendo.com>
17609 * tools/gst-inspect.c: (print_plugin_features):
17610 A plugin feature does unfortunatly not use the
17613 2005-05-18 Wim Taymans <wim@fluendo.com>
17615 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17616 Port _span() functions to new subbuffers.
17618 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17620 * gst/gstbin.c: (gst_bin_add_func):
17621 Fix clock settery in bins when adding kids after the clock has
17624 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17626 * gst/elements/gstidentity.c: (gst_identity_class_init):
17627 Workaround until signals support GstMiniObject.
17629 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
17632 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17634 2005-05-18 Wim Taymans <wim@fluendo.com>
17636 * gst/base/Makefile.am:
17637 * gst/base/gstadapter.c: (gst_adapter_base_init),
17638 (gst_adapter_class_init), (gst_adapter_init),
17639 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17640 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17641 (gst_adapter_flush), (gst_adapter_available),
17642 (gst_adapter_available_fast):
17643 * gst/base/gstadapter.h:
17644 Ported and added adapter to the base classes.
17646 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17649 * gst/gstmessage.c:
17650 Make sure the class is reffed/unreffed once before threads can be
17651 used. Fixes #304551.
17653 2005-05-17 Wim Taymans <wim@fluendo.com>
17655 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17656 (gst_basesink_chain_unlocked), (gst_basesink_activate):
17657 * gst/gstminiobject.c: (gst_mini_object_get_type),
17658 (gst_mini_object_free):
17659 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17660 (gst_pad_push), (gst_pad_push_event):
17661 * gst/gstqueue.c: (gst_queue_change_state):
17662 Don't queue buffers in basesink when we are flushing.
17663 Unref buffer when flushing in basesink.
17664 Flush queue when going to READY
17665 Unref buffer when _push() returns an error.
17666 Don't free MiniObject instance when refcount is incremented
17667 in _finalize() so that we can recover objects.
17669 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
17671 * docs/manual/advanced-schedulers.xml:
17672 * docs/manual/appendix-checklist.xml:
17673 * docs/pwg/advanced-clock.xml:
17674 * docs/pwg/advanced-interfaces.xml:
17675 * docs/pwg/advanced-request.xml:
17676 * docs/pwg/advanced-types.xml:
17677 * docs/pwg/intro-preface.xml:
17678 * examples/plugins/example.c: (gst_example_get_type),
17679 (gst_example_class_init), (gst_example_chain),
17680 (gst_example_set_property), (gst_example_get_property),
17681 (gst_example_change_state), (plugin_init):
17682 * examples/plugins/example.h:
17685 2005-05-17 Wim Taymans <wim@fluendo.com>
17687 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17688 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17689 * gst/gstqueue.c: (gst_queue_change_state):
17690 Clear queue when going to READY.
17691 Remove IN_SETCAPS flag too.
17693 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
17695 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17696 Remove implicit cast from gboolean to GstElementStateReturn;
17697 make sure we still return failure in paused => ready case if
17698 the parent class fails to change state and our own stop
17701 2005-05-17 Wim Taymans <wim@fluendo.com>
17703 * tools/gst-launch.c: (event_loop):
17704 Message was unreffed too soon.
17706 2005-05-16 Andy Wingo <wingo@pobox.com>
17708 * gst/gstbin.c (sink_iterator_filter): Err... um...
17710 * check/gst/gstbin.c (test_ghost_pads): New test for the
17711 ghosting-if-elements-not-in-same-bin behavior.
17713 2005-05-16 David Schleef <ds@schleef.org>
17715 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17716 accessing refcount directly.
17718 2005-05-15 David Schleef <ds@schleef.org>
17720 * check/Makefile.am: remove GstData checks
17721 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17722 * gst/Makefile.am: add miniobject, remove data
17723 * gst/gst.h: add miniobject, remove data
17724 * gst/gstdata.c: remove
17725 * gst/gstdata.h: remove
17726 * gst/gstdata_private.h: remove
17727 * gst/gsttypes.h: remove GstEvent and GstMessage
17728 * gst/gstelement.c: (gst_element_post_message): fix for API changes
17729 * gst/gstmarshal.list: change BOXED -> OBJECT
17731 Implement GstMiniObject.
17732 * gst/gstminiobject.c:
17733 * gst/gstminiobject.h:
17735 Modify to be subclasses of GstMiniObject.
17736 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17737 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17738 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17739 (gst_subbuffer_get_type), (gst_subbuffer_init),
17740 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17743 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17744 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17745 (_gst_event_copy), (gst_event_new):
17747 * gst/gstmessage.c: (_gst_message_initialize),
17748 (gst_message_get_type), (gst_message_class_init),
17749 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17750 (gst_message_new), (gst_message_new_error),
17751 (gst_message_new_warning), (gst_message_new_tag),
17752 (gst_message_new_state_changed), (gst_message_new_application):
17753 * gst/gstmessage.h:
17754 * gst/gstprobe.c: (gst_probe_perform),
17755 (gst_probe_dispatcher_dispatch):
17757 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17758 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17759 (_gst_query_copy), (gst_query_new):
17761 Update elements for GstData -> GstMiniObject changes
17763 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17764 (gst_queue_chain), (gst_queue_loop):
17765 * gst/elements/gstbufferstore.c:
17766 (gst_buffer_store_add_buffer_func),
17767 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17768 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17769 (gst_fakesink_render):
17770 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17771 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17772 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17773 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17774 (gst_filesrc_create_read):
17775 * gst/elements/gstidentity.c: (gst_identity_class_init):
17776 * gst/elements/gsttypefindelement.c:
17777 (gst_type_find_element_src_event), (free_entry_buffers),
17778 (gst_type_find_element_handle_event):
17779 * libs/gst/dataprotocol/dataprotocol.c:
17780 (gst_dp_header_from_buffer):
17781 * libs/gst/dataprotocol/dataprotocol.h:
17782 * libs/gst/dataprotocol/dp-private.h:
17784 2005-05-15 David Schleef <ds@schleef.org>
17786 * gst/elements/gstelements.c: Don't include headers that were
17789 2005-05-15 David Schleef <ds@schleef.org>
17791 * gst/elements/Makefile.am: Remove some elements that don't
17792 need to be in the core (or even exist at all).
17793 * gst/elements/gstaggregator.c:
17794 * gst/elements/gstaggregator.h:
17795 * gst/elements/gstmd5sink.c:
17796 * gst/elements/gstmd5sink.h:
17797 * gst/elements/gstmultifilesrc.c:
17798 * gst/elements/gstmultifilesrc.h:
17799 * gst/elements/gstpipefilter.c:
17800 * gst/elements/gstpipefilter.h:
17801 * gst/elements/gstshaper.c:
17802 * gst/elements/gstshaper.h:
17803 * gst/elements/gststatistics.c:
17804 * gst/elements/gststatistics.h:
17805 * po/POTFILES.in: Remove above files.
17807 2005-05-14 Andy Wingo <wingo@pobox.com>
17809 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17810 so as to get the refs right.
17811 (sink_iterator_filter): New function, wraps bin_element_is_sink,
17812 unreffing objects that don't pass the filter.
17814 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17815 gst_element_set_bus.
17816 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17817 normal cases, this will destroy the bus.
17819 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17822 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17825 2005-05-13 Andy Wingo <wingo@pobox.com>
17827 * gst/gstutils.c (gst_element_link_pads): Instead of calling
17828 gst_pad_link, call pad_link_maybe_ghosting,
17829 (pad_link_maybe_ghosting): Links pads, making sure that the
17830 elements being linked are in the same bin.
17831 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17832 Helpers for pad_link_maybe_ghosting.
17834 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17837 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17839 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17841 * docs/design/part-element-source.txt:
17844 2005-05-12 Wim Taymans <wim@fluendo.com>
17846 * gst/base/gstbasesink.c: (gst_basesink_init),
17847 (gst_basesink_activate):
17848 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17849 (gst_basesrc_is_seekable):
17850 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17851 (bin_element_is_sink), (gst_bin_change_state):
17852 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17853 * gst/gstelement.h:
17854 Identify sinks by their flag to avoid overly complicated
17856 Do state changes even for elements not reachable from the
17858 BaseSink is a sink now :)
17859 Some more debugging info in the basesrc.
17862 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17864 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17865 Implement _query on a bin, similar to _send_event.
17867 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
17869 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
17870 Discont event offset format should be GST_FORMAT_BYTES,
17871 not GST_FORMAT_TIME.
17873 2005-05-12 Wim Taymans <wim@fluendo.com>
17875 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
17876 Same fix as Ronald's but without the signal.
17878 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17880 * gst/gstutils.c: (gst_element_query_position):
17881 No, an element is not a pad.
17883 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17885 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
17886 (gst_bin_get_state):
17887 If a child is removed from a bin while we remove the child from
17888 the bin and while we're retrieving its state, signal this to the
17889 get_state function so we abort the wait (instead of waiting for
17890 a timeout) and can immediately re-iterate over all other elements.
17892 2005-05-12 Wim Taymans <wim@fluendo.com>
17894 * gst/base/Makefile.am:
17895 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
17896 (gst_basesrc_start):
17897 * gst/base/gstbasesrc.h:
17898 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
17899 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
17900 (gst_pushsrc_init), (gst_pushsrc_create):
17901 * gst/base/gstpushsrc.h:
17902 Added is_seekable to BaseSrc
17903 Added simple PushSrc.
17905 2005-05-11 Wim Taymans <wim@fluendo.com>
17907 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17908 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17909 (gst_element_link_pads), (gst_element_query_position),
17910 (gst_element_query_convert), (intersect_caps_func),
17911 (gst_pad_query_position), (gst_pad_query_convert):
17912 Fix refcounting in utils function.
17913 No point in trying to activate a pad when it's added, it could
17914 be added from the state change function and then we deadlock, the
17915 element has to decide what to do.
17917 2005-05-10 Andy Wingo <wingo@pobox.com>
17919 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
17920 *all* the arguments.
17922 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
17923 stream lock if it's a FLUSH_DONE; normal flushes don't get the
17924 lock (according to the docs -- if this is wrong change the docs).
17926 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
17927 flush messages in the NULL state.
17929 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
17930 message immediately and return.
17931 (gst_bus_set_flushing): New function. If a bus is flushing, it
17932 flushes out any queued messages and immediately unrefs new
17933 messages. This is so when an element goes to NULL, all of the
17934 unhandled messages coming from it can be freed, and their
17935 references to the element dropped. In other words: message source
17936 ref considered harmful :P
17938 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17939 we're finished with it.
17941 * gst/gstmessage.c (gst_message_new_state_changed):
17943 2005-05-10 Wim Taymans <wim@fluendo.com>
17945 * gst/gstvalue.c: (gst_value_compare_flags),
17946 (gst_value_serialize_flags), (gst_value_deserialize_flags),
17947 (_gst_value_initialize):
17948 Added flags serialize/deserialize/compare code.
17950 2005-05-09 Andy Wingo <wingo@pobox.com>
17952 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17953 Intersect the peer's caps with our caps.
17955 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17957 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17958 * gst/elements/gsttypefindelement.c: (find_peek):
17959 Handle negative offsets better. Fixes decodebin.
17961 2005-05-09 Wim Taymans <wim@fluendo.com>
17963 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
17964 (gst_base_transform_event):
17965 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
17966 Implement accept_caps.
17967 Fix silly lock/unlock mismatch in base class.
17969 2005-05-09 Wim Taymans <wim@fluendo.com>
17971 * docs/design/draft-push-pull.txt:
17972 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
17973 * gst/elements/gstfilesink.c: (gst_filesink_init),
17974 (gst_filesink_query):
17975 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17976 (gst_type_find_handle_src_query), (find_element_get_length):
17977 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
17978 * gst/gstelement.h:
17979 * gst/gstmessage.c:
17980 * gst/gstmessage.h:
17981 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
17982 (gst_real_pad_get_caps_unlocked),
17983 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
17984 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17985 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
17986 (gst_real_pad_dispose), (gst_real_pad_finalize),
17987 (gst_pad_load_and_link), (gst_pad_save_thyself),
17988 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
17989 (gst_pad_check_pull_range), (gst_pad_pull_range),
17990 (gst_pad_template_get_type), (gst_pad_template_class_init),
17991 (gst_pad_template_init), (gst_pad_template_dispose),
17992 (name_is_valid), (gst_static_pad_template_get),
17993 (gst_pad_template_new), (gst_static_pad_template_get_caps),
17994 (gst_pad_template_get_caps), (gst_pad_set_element_private),
17995 (gst_pad_get_element_private), (gst_pad_start_task),
17996 (gst_pad_pause_task), (gst_pad_stop_task),
17997 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
17998 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
17999 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18000 (gst_ghost_pad_new):
18002 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18003 (gst_query_new_position), (gst_query_set_position),
18004 (gst_query_parse_position), (gst_query_new_convert),
18005 (gst_query_set_convert), (gst_query_parse_convert):
18007 * gst/gstqueryutils.c:
18008 * gst/gstqueryutils.h:
18009 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18010 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18011 (gst_queue_handle_src_query):
18012 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18013 (gst_element_query_position), (gst_element_query_convert),
18014 (intersect_caps_func), (gst_pad_query_position),
18015 (gst_pad_query_convert):
18017 * tools/gst-inspect.c: (print_pad_info):
18018 * tools/gst-xmlinspect.c: (print_element_info):
18019 Remove old query functions. Ported old code.
18020 Added position/convert helper functions to gstutils.
18021 Reordered gstpad.c code, grouping relevant things.
18022 Remove gst_message_new(), always need to speficy a specific
18026 2005-05-09 Andy Wingo <wingo@pobox.com>
18028 * gst/gstiterator.h: Add some includes.
18030 * gst/gstqueryutils.h: Include more headers.
18033 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18034 some uses of gst_pad_query.
18036 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18037 NULL out parameters.
18038 (gst_query_new_position): New proc, allocates a new position
18041 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18042 gstqueryutils.c to the build.
18044 * gst/gststructure.c (gst_structure_set_valist): Implement with
18045 the generic G_VALUE_COLLECT.
18047 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18049 * gst/Makefile.am: (gst_headers):
18050 Added gstqueryutils.h to the list of headers to install, that was
18051 a 'nachty' move wingo :)
18053 2005-05-06 Andy Wingo <wingo@pobox.com>
18056 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18057 GstData, init a memchunk.
18058 (standard_definitions): Add a few query types, deprecate a few.
18059 (gst_query_get_type): New proc.
18060 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18062 (gst_query_new_application, gst_query_get_structure): New public
18065 * docs/design/draft-query.txt: Removed LINKS from the query types,
18066 because all the rest can be dispatched to other pads -- seemed
18067 ugly to have a query that couldn't be dispatched. internal_links
18068 is fine as a pad method.
18070 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18071 in gstpad.c, but maintain binary compatibility for the moment.
18072 Will fix before 0.9 is out.
18074 * gst/gstqueryutils.c:
18075 * gst/gstqueryutils.h: New files, implement 3 methods for each
18076 query type: parse_query, parse_response, and set. Probably need an
18079 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18081 * gst/elements/gstfilesink.c (gst_filesink_query2):
18082 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18083 query_types, and formats methods.
18085 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18086 (gst_pad_set_query2_function): New functions.
18087 (gst_real_pad_init): Set query2_default as the default query2
18088 function. Basically just dispatches to internally linked pads.
18092 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18093 without using the atomic operations. Only one thread can possibly
18094 be accessing the data at this point. Changed so as to avoid
18095 gst_atomic operations.
18097 2005-05-06 Wim Taymans <wim@fluendo.com>
18099 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18100 Also set caps if we use the fallback buffer alloc.
18102 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18104 * docs/gst/Makefile.am:
18105 * docs/gst/gstreamer-docs.sgml:
18106 * docs/gst/gstreamer-sections.txt:
18107 * docs/gst/tmpl/gstatomic.sgml:
18108 * docs/gst/tmpl/gstmemchunk.sgml:
18109 * testsuite/elements/struct_i386.h:
18110 * win32/GStreamer.vcproj:
18112 Purge GstAtomic stuff from docs and win32 makefiles as well
18114 2005-05-06 Wim Taymans <wim@fluendo.com>
18116 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18117 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18118 * gst/gstpad.c: (gst_pad_peer_get_caps):
18119 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18120 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18121 (gst_queue_src_activate), (gst_queue_change_state):
18123 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18124 (intersect_caps_func):
18125 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18126 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18127 Some fixes for the peer_get_caps() change.
18129 2005-05-06 Wim Taymans <wim@fluendo.com>
18131 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18132 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18133 (gst_basesink_activate):
18134 Actually do something with error codes returned from the push
18137 2005-05-06 Wim Taymans <wim@fluendo.com>
18139 * docs/design/part-element-sink.txt:
18140 * docs/design/part-element-source.txt:
18141 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18142 (gst_basesink_event), (gst_basesink_activate):
18143 * gst/base/gstbasesink.h:
18144 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18145 (gst_basesrc_activate):
18146 * gst/base/gstbasesrc.h:
18147 * gst/gstelement.c: (gst_element_pads_activate):
18148 Some more documentation.
18149 Fixed scheduling decision in _pads_activate().
18151 2005-05-05 Andy Wingo <wingo@pobox.com>
18153 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18156 2005-05-05 Wim Taymans <wim@fluendo.com>
18158 * gst/base/Makefile.am:
18159 * gst/base/gstbasesink.h:
18160 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18161 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18162 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18163 (gst_collectpads_class_init), (gst_collectpads_init),
18164 (gst_collectpads_finalize), (gst_collectpads_new),
18165 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18166 (find_pad), (gst_collectpads_remove_pad),
18167 (gst_collectpads_is_active), (gst_collectpads_collect),
18168 (gst_collectpads_collect_range), (gst_collectpads_start),
18169 (gst_collectpads_stop), (gst_collectpads_peek),
18170 (gst_collectpads_pop), (gst_collectpads_available),
18171 (gst_collectpads_read), (gst_collectpads_flush),
18172 (gst_collectpads_chain):
18173 * gst/base/gstcollectpads.h:
18174 * gst/elements/Makefile.am:
18175 * gst/elements/gstelements.c:
18176 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18177 (gst_fakesink_get_times), (gst_fakesink_event),
18178 (gst_fakesink_preroll), (gst_fakesink_render):
18179 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18180 (gst_filesink_init), (gst_filesink_set_location),
18181 (gst_filesink_open_file), (gst_filesink_close_file),
18182 (gst_filesink_pad_query), (gst_filesink_event),
18183 (gst_filesink_render), (gst_filesink_change_state):
18184 * gst/elements/gstfilesink.h:
18185 Added object to help in making collect pad based elements.
18187 Make event function in sink baseclass return gboolean.
18189 2005-05-05 Wim Taymans <wim@fluendo.com>
18191 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18192 (gst_bin_get_by_name):
18194 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18195 (gst_clock_finalize):
18196 * gst/gstdata.c: (gst_data_replace):
18198 * gst/gstelement.c: (gst_element_request_pad),
18199 (gst_element_pads_activate):
18200 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18201 (gst_object_unref):
18202 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18203 (gst_pad_set_checkgetrange_function),
18204 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18205 (gst_pad_check_pull_range), (gst_pad_pull_range),
18206 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18207 (gst_pad_pause_task), (gst_pad_stop_task):
18208 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18209 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18210 Fix name lookup in GstBin.
18211 Added _data_replace() function and _buffer_replace()
18212 Use finalize method to clean up clock.
18213 Fix refcounting on request pads.
18214 Fix pad schedule mode error.
18215 Some more object refcounting debug info,
18218 2005-05-04 Andy Wingo <wingo@pobox.com>
18220 * check/Makefile.am:
18221 * docs/gst/tmpl/gstatomic.sgml:
18222 * docs/gst/tmpl/gstplugin.sgml:
18223 * gst/base/gstbasesink.c: (gst_basesink_activate):
18224 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18225 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18226 (gst_basesrc_query), (gst_basesrc_set_property),
18227 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18228 (gst_basesrc_activate):
18229 * gst/base/gstbasesrc.h:
18230 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18231 (gst_base_transform_src_activate):
18232 * gst/elements/gstelements.c:
18233 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18234 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18235 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18236 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18237 (gst_type_find_element_checkgetrange),
18238 (gst_type_find_element_activate):
18239 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18240 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18241 (gst_caps_load_thyself):
18242 * gst/gstelement.c: (gst_element_pads_activate),
18243 (gst_element_save_thyself), (gst_element_restore_thyself):
18244 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18245 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18247 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18248 (gst_xml_parse_file), (gst_xml_parse_memory),
18249 (gst_xml_get_element), (gst_xml_make_element):
18250 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18251 (_file_index_id_save_xml), (gst_file_index_commit):
18252 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18253 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18255 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18256 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18257 * tools/gst-complete.c: (main):
18258 * tools/gst-compprep.c: (main):
18259 * tools/gst-inspect.c: (print_element_properties_info):
18260 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18261 * tools/gst-xmlinspect.c: (print_element_properties):
18264 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18266 * gst/gstplugin.c: (gst_plugin_check_module),
18267 (gst_plugin_check_file), (gst_plugin_load_file):
18268 apply patch from #172526 to make register work on MacOSX
18270 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18272 * docs/gst/tmpl/gstconfig.sgml:
18273 * gst/gstconfig.h.in:
18274 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18275 * testsuite/debug/printf_extension.c: (main):
18276 Do not use GST_PTR_FORMAT on pointers to types with
18277 sizeof < sizeof(gpointer). Fixes test on 64-bit
18278 * testsuite/elements/property.h:
18279 use correct printf format
18281 2005-05-02 Wim Taymans <wim@fluendo.com>
18283 * docs/design/draft-push-pull.txt:
18284 * docs/design/draft-query.txt:
18285 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18286 (gst_basesrc_start):
18287 Added draft for new query API.
18288 Added draft for better selecting scheduling methods.
18289 Make basesrc ignore length if the subclass does not support
18292 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18295 possible fixes for automake-1.5 - _LIBADD is reserved
18297 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18299 * docs/faq/Makefile.am:
18300 * docs/manual/Makefile.am:
18301 * docs/manuals.mak:
18302 * docs/pwg/Makefile.am:
18304 possible fixes for automake-1.5
18306 2005-04-28 Wim Taymans <wim@fluendo.com>
18308 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18309 (gst_basesink_pad_getcaps), (gst_basesink_init),
18310 (gst_basesink_do_sync):
18311 * gst/gstclock.c: (gst_clock_entry_new):
18312 * gst/gstevent.c: (gst_event_discont_get_value):
18313 * gst/gstpipeline.c: (pipeline_bus_handler),
18314 (gst_pipeline_change_state):
18315 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18316 Better debugging of clocking info.
18317 Allow NULL values when getting discont values.
18319 2005-04-27 Wim Taymans <wim@fluendo.com>
18321 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18322 * check/gst/gstpad.c: (gst_pad_suite):
18323 Increase timeout for checks.
18325 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18327 * check/Makefile.am:
18328 fix the broken rule for cleanup. Apparently this rule is
18329 only needed on FC2, so maybe this warrants further autotool
18332 2005-04-26 Wim Taymans <wim@fluendo.com>
18334 * gst/gsttrashstack.h:
18335 Ooohh. a nasty one! After having a failed pop() from the stack,
18336 it's possible that the stack is empty. In that case, don't
18337 follow the NULL pointer.
18339 2005-04-25 Wim Taymans <wim@fluendo.com>
18341 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18342 (gst_pad_set_checkgetrange_function),
18343 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18344 (gst_pad_check_pull_range), (gst_pad_pull_range),
18345 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18346 (gst_pad_pause_task), (gst_pad_stop_task):
18347 * gst/gstplugin.c: (gst_plugin_load):
18349 Remove gst_library_load as it does more harm than good with
18350 the new g_module flags.
18351 Revert bogus caps template check in pad linking, pad caps
18352 are important when linking not the template, which is more
18353 general than the current caps.
18355 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18357 * gst/autoplug/.cvsignore:
18358 * gst/autoplug/Makefile.am:
18359 * gst/autoplug/gstsearchfuncs.c:
18360 * gst/autoplug/gstsearchfuncs.h:
18361 * gst/autoplug/gstspider.c:
18362 * gst/autoplug/gstspider.h:
18363 * gst/autoplug/gstspideridentity.c:
18364 * gst/autoplug/gstspideridentity.h:
18365 * gst/autoplug/spidertest.c:
18368 2005-04-25 Wim Taymans <wim@fluendo.com>
18370 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18371 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18372 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18373 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18375 Added stubs for unimplemented functions.
18377 2005-04-24 David Schleef <ds@schleef.org>
18379 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18382 2005-04-24 David Schleef <ds@schleef.org>
18384 Convert everything from GstAtomicInt to g_atomic_int_*, and
18389 * gst/gstatomic_impl.h:
18397 * gst/gstdata_private.h:
18401 * gst/gstmessage.c:
18404 * gst/gststructure.c:
18405 * gst/gststructure.h:
18406 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18409 2005-04-24 David Schleef <ds@schleef.org>
18411 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18412 make the regressions tests work. Remove some code that is no
18414 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18415 Disable warning for pads without templates.
18417 2005-04-24 David Schleef <ds@schleef.org>
18419 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18420 functions that handle filtered links.
18421 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18423 * gst/gstutils.c: Fix/remove utility functions that handle
18426 * gst/gstvalue.c: Add serialization/deserialization of caps
18427 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18428 requires fixing so that the filter caps notation creates
18429 a capsfilter element and sets the filter_caps property. I
18430 think everyone probably wants to keep the shorthand notation.
18431 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18432 * docs/gst/tmpl/gstpad.sgml:
18434 * gst/elements/gstelements.c: Register capsfilter element.
18435 * gst/Makefile.am: fix spacing
18436 * docs/random/ds/0.9-suggested-changes: random
18438 2005-04-23 David Schleef <ds@schleef.org>
18440 * gst/elements/Makefile.am:
18441 * gst/elements/gstcapsfilter.c: New element that acts like an
18442 identity, but filters caps. Will eventually replace filtered
18443 caps in pad linking.
18444 * gst/gstutils.c: (gst_element_create_all_pads): New function
18445 to create all the ALWAYS pads that are registered with an
18446 element class. This functionality should eventually be
18447 merged in with GstElement initialization.
18449 * testsuite/trigger/README: part of trigger test code that should
18450 have been checked in a long time ago.
18452 2005-04-23 David Schleef <ds@schleef.org>
18454 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18455 needed with new versions of libtool (nobody will confirm this),
18456 and hard to carry around.
18457 * gst/autoplug/Makefile.am:
18458 * gst/base/Makefile.am:
18459 * gst/elements/Makefile.am:
18460 * gst/indexers/Makefile.am:
18461 * gst/schedulers/Makefile.am:
18462 * libs/gst/bytestream/Makefile.am:
18463 * libs/gst/control/Makefile.am:
18464 * libs/gst/dataprotocol/Makefile.am:
18465 * libs/gst/getbits/Makefile.am:
18467 2005-04-21 Wim Taymans <wim@fluendo.com>
18469 * docs/design/draft-push-pull.txt:
18470 * docs/design/part-MT-refcounting.txt:
18471 * docs/design/part-TODO.txt:
18472 * docs/design/part-caps.txt:
18473 * docs/design/part-events.txt:
18474 * docs/design/part-gstbus.txt:
18475 * docs/design/part-gstpipeline.txt:
18476 * docs/design/part-messages.txt:
18477 * docs/design/part-push-pull.txt:
18478 * docs/design/part-query.txt:
18481 2005-04-21 Wim Taymans <wim@fluendo.com>
18483 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18484 (gst_message_new), (gst_message_new_error),
18485 (gst_message_new_warning), (gst_message_new_tag),
18486 (gst_message_new_state_changed), (gst_message_new_application),
18487 (gst_message_get_structure):
18488 * gst/gstmessage.h:
18489 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18490 (gst_structure_copy_conditional):
18491 Use parent refcount in GstMessage to ensure GstStructure
18493 Cleaned up headers a bit.
18496 2005-04-20 Wim Taymans <wim@fluendo.com>
18498 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18499 (gst_basesink_pad_getcaps), (gst_basesink_init),
18500 (gst_basesink_chain_unlocked):
18501 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18502 (gst_type_find_helper):
18503 * gst/elements/gsttypefindelement.c:
18504 (gst_type_find_element_have_type), (gst_type_find_element_init),
18505 (stop_typefinding), (gst_type_find_element_handle_event),
18506 (find_suggest), (gst_type_find_element_chain),
18507 (gst_type_find_element_checkgetrange),
18508 (gst_type_find_element_getrange), (do_typefind),
18509 (gst_type_find_element_activate):
18510 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18511 (gst_buffer_default_free), (gst_buffer_default_copy),
18512 (gst_buffer_set_caps):
18513 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18514 (gst_caps_replace):
18515 * gst/gstmessage.c: (gst_message_new),
18516 (gst_message_new_state_changed):
18517 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18518 (gst_pad_set_checkgetrange_function),
18519 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18520 (gst_pad_set_caps), (gst_pad_check_pull_range),
18521 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18523 * gst/gsttypefind.c: (gst_type_find_register):
18524 Make gst_caps_replace() work like other _replace() functions.
18525 Use _caps_replace() where possible.
18526 Make sure _message_new() initialises its field.
18527 Add gst_static_pad_template_get_caps()
18530 2005-04-18 Andy Wingo <wingo@pobox.com>
18532 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18533 on the peer, not the pad. I think that was a typo. Pass an extra
18534 arg to see if random access is possible. Activate the pads as
18535 PULL_RANGE if possible.
18537 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18539 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18540 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18543 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18545 * docs/faq/using.xml:
18546 Add note on gstreamer-properties (#154996).
18548 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18550 * docs/random/bbb/optional-properties:
18551 Some analysis on optional properties.
18553 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18555 * docs/gst/tmpl/gstelementfactory.sgml:
18556 * gst/gstelement.h:
18557 * gst/gstelementfactory.c: (gst_element_factory_init),
18558 (gst_element_factory_cleanup), (gst_element_register),
18559 (__gst_element_factory_add_static_pad_template),
18560 (gst_element_factory_get_static_pad_templates),
18561 (gst_element_factory_can_src_caps),
18562 (gst_element_factory_can_sink_caps):
18563 * gst/registries/Makefile.am:
18564 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18565 (gst_xml_registry_class_init), (gst_xml_registry_init),
18566 (gst_xml_registry_new), (gst_xml_registry_set_property),
18567 (gst_xml_registry_get_property), (get_time), (make_dir),
18568 (gst_xml_registry_get_perms_func),
18569 (plugin_times_older_than_recurse), (plugin_times_older_than),
18570 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18571 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18572 (add_to_char_array), (read_string), (read_uint), (read_enum),
18573 (load_pad_template), (load_feature), (load_plugin), (load_paths),
18574 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18575 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18576 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18577 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18578 (gst_xml_registry_rebuild):
18579 * gst/registries/gstlibxmlregistry.h:
18580 * tools/gst-compprep.c: (main):
18581 * tools/gst-inspect.c: (print_pad_templates_info):
18582 * tools/gst-xmlinspect.c: (print_element_info):
18583 Use libxml2 for registry parsing, use staticpadtemplates in
18584 elementfactories. Makes gst_init() +/- 10x faster.
18586 2005-04-12 Wim Taymans <wim@fluendo.com>
18588 * gst/base/Makefile.am:
18589 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18590 (gst_basesink_pad_getcaps), (gst_basesink_init),
18591 (gst_basesink_event), (gst_basesink_change_state):
18592 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18593 (gst_basesrc_init), (gst_basesrc_query),
18594 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18595 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18596 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18597 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18598 (gst_basesrc_stop), (gst_basesrc_activate),
18599 (gst_basesrc_change_state):
18600 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18601 (helper_find_suggest), (gst_type_find_helper):
18602 * gst/base/gsttypefindhelper.h:
18603 * gst/elements/Makefile.am:
18604 * gst/elements/gstelements.c:
18605 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18606 (gst_fakesink_get_times), (gst_fakesink_event),
18607 (gst_fakesink_preroll), (gst_fakesink_render):
18608 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18609 (gst_fakesrc_init), (gst_fakesrc_event_handler),
18610 (gst_fakesrc_get_property), (gst_fakesrc_create),
18611 (gst_fakesrc_start), (gst_fakesrc_stop):
18612 * gst/elements/gstfakesrc.h:
18613 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18614 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18615 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18616 (gst_filesrc_create_read), (gst_filesrc_create),
18617 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18618 (gst_filesrc_start):
18619 * gst/elements/gsttypefindelement.c:
18620 (gst_type_find_element_have_type), (gst_type_find_element_init),
18621 (start_typefinding), (stop_typefinding), (push_buffer_store),
18622 (gst_type_find_element_handle_event),
18623 (gst_type_find_element_chain),
18624 (gst_type_find_element_checkgetrange),
18625 (gst_type_find_element_getrange), (do_typefind),
18626 (gst_type_find_element_activate),
18627 (gst_type_find_element_change_state):
18628 * gst/elements/gsttypefindelement.h:
18629 * gst/gstpipeline.c: (pipeline_bus_handler):
18630 Added typefind helper.
18631 Small preroll fix in the base sink.
18632 Disable typefind code in basesrc.
18633 Crude port of typefindelement.
18637 2005-04-11 Wim Taymans <wim@fluendo.com>
18639 * check/gst/gstbus.c: (gstbus_suite):
18640 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18641 * check/gstcheck.h:
18642 Fix up the timeout so that the test does not fail.
18644 2005-04-06 Wim Taymans <wim@fluendo.com>
18647 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18648 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18649 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18650 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18651 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18652 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18653 (gst_basesrc_stop), (gst_basesrc_activate),
18654 (gst_basesrc_change_state), (basesrc_find_peek),
18655 (basesrc_find_suggest), (gst_basesrc_type_find):
18656 * gst/base/gstbasesrc.h:
18657 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18658 (gst_filesrc_class_init), (gst_filesrc_init),
18659 (gst_filesrc_finalize), (gst_filesrc_set_location),
18660 (gst_filesrc_set_property), (gst_filesrc_get_property),
18661 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18662 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18663 (gst_filesrc_create_read), (gst_filesrc_create),
18664 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18665 * gst/elements/gstfilesrc.h:
18666 * gst/gstelement.c: (gst_element_get_state_func),
18667 (gst_element_lost_state), (gst_element_pads_activate):
18668 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18669 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18670 (gst_pad_pull_range):
18672 More work on the generic source base class, implement seeking,
18674 Make filesrc extend the base source class.
18675 Added gst_pad_set_checkgetrange_function to GstPad.
18677 2005-04-06 Andy Wingo <wingo@pobox.com>
18679 * pkgconfig/gstreamer-base.pc.in:
18680 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18682 * pkgconfig/Makefile.am:
18683 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18685 2005-04-04 Wim Taymans <wim@fluendo.com>
18687 * gst/base/Makefile.am:
18689 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18690 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18691 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18692 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18693 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18694 (gst_basesrc_base_init), (gst_basesrc_class_init),
18695 (gst_basesrc_init), (gst_basesrc_get_formats),
18696 (gst_basesrc_get_query_types), (gst_basesrc_query),
18697 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18698 (gst_basesrc_set_property), (gst_basesrc_get_property),
18699 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18700 (gst_basesrc_loop), (gst_basesrc_activate),
18701 (gst_basesrc_change_state):
18702 * gst/base/gstbasesrc.h:
18703 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18704 (gst_fakesrc_class_init), (gst_fakesrc_init),
18705 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18706 (gst_fakesrc_get_property), (gst_fakesrc_create):
18707 * gst/elements/gstfakesrc.h:
18708 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18709 (gst_filesrc_open_file), (gst_filesrc_loop),
18710 (gst_filesrc_activate), (filesrc_find_peek),
18711 (gst_filesrc_type_find):
18712 Made base source class, make fakesrc extend it.
18713 Add comments to basesink class.
18714 Some filesrc cleanup.
18716 2005-03-31 David Schleef <ds@schleef.org>
18718 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18719 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18720 expected to link against libgstreamer.
18721 * gst/base/Makefile.am: link against libgstreamer
18722 * gst/elements/Makefile.am: same
18724 2005-03-31 Andy Wingo <wingo@pobox.com>
18726 * tests/instantiate/Makefile.am:
18727 * tests/instantiate/caps.c: Add test to test speed of caps copy
18730 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18731 GMemChunk to be fair.
18733 * gst/gsttrashstack.h: Remove warning about using the fallback
18734 trash stack implementation, it's still faster than malloc.
18736 2005-03-30 Andy Wingo <wingo@pobox.com>
18738 * tests/complexity.c: Add a copyright.
18740 2005-03-31 Wim Taymans <wim@fluendo.com>
18742 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18743 (gst_base_transform_class_init), (gst_base_transform_init),
18744 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18745 (gst_base_transform_get_property),
18746 (gst_base_transform_sink_activate),
18747 (gst_base_transform_src_activate),
18748 (gst_base_transform_change_state):
18749 * gst/base/gstbasetransform.h:
18750 * gst/elements/gstidentity.c: (gst_identity_class_init),
18751 (gst_identity_event), (gst_identity_check_perfect),
18752 (gst_identity_transform), (gst_identity_start),
18753 (gst_identity_stop):
18754 Added start/stop methods to transform base class so subclasses
18755 don't need to deal with state changes even.
18757 2005-03-31 Wim Taymans <wim@fluendo.com>
18759 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18760 (gst_event_new_discontinuous), (gst_event_discont_get_value):
18762 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18763 (gst_pad_pull_range):
18764 Added rate to the discont event to prepare for variable speed
18765 and reverse playback.
18767 2005-03-29 David Schleef <ds@schleef.org>
18770 * testsuite/trigger/Makefile.am:
18771 * testsuite/trigger/trigger.c: A little example program to show
18772 how trigger-based elements can work.
18774 2005-03-29 Wim Taymans <wim@fluendo.com>
18776 * gst/base/Makefile.am:
18778 * gst/base/gstbasesink.c: (gst_basesink_get_type),
18779 (gst_basesink_base_init), (gst_basesink_class_init),
18780 (gst_basesink_pad_getcaps), (gst_basesink_init),
18781 (gst_basesink_activate), (gst_basesink_change_state):
18782 * gst/base/gstbasesink.h:
18783 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18784 (gst_base_transform_base_init), (gst_base_transform_finalize),
18785 (gst_base_transform_class_init), (gst_base_transform_init),
18786 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18787 (gst_base_transform_event), (gst_base_transform_getrange),
18788 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18789 (gst_base_transform_set_property),
18790 (gst_base_transform_get_property),
18791 (gst_base_transform_sink_activate),
18792 (gst_base_transform_src_activate),
18793 (gst_base_transform_change_state):
18794 * gst/base/gstbasetransform.h:
18795 * gst/elements/gstidentity.c: (gst_identity_finalize),
18796 (gst_identity_class_init), (gst_identity_init),
18797 (gst_identity_event), (gst_identity_check_perfect),
18798 (gst_identity_transform), (gst_identity_set_property),
18799 (gst_identity_get_property), (gst_identity_change_state):
18800 * gst/elements/gstidentity.h:
18801 * gst/gstelement.c: (gst_element_get_state_func),
18802 (gst_element_lost_state), (gst_element_pads_activate):
18803 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18804 (gst_pad_check_pull_range), (gst_pad_pull_range):
18806 Simplify pad activation.
18807 Added function to check if pull_range can be performed.
18808 Error out when pulling inactive or flushing pads.
18809 Removed const from refcounted types as it does not make sense.
18810 Simplify pad templates in basesink
18811 Added base class for simple 1-to-1 transforms.
18812 Make identity subclass the base transform.
18814 2005-03-29 Andy Wingo <wingo@pobox.com>
18816 * docs/libs/gstreamer-libs-overrides.txt:
18817 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18818 really don't understand what's going on, but like whatever. I want
18821 * docs/gst/Makefile.am:
18822 * docs/libs/Makefile.am: Dist the overrides files.
18824 * check/Makefile.am (clean-local): Remove .libs directories.
18826 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18827 elements to EXTRA_DIST, so po/ files are happy.
18829 * po/POTFILES.in: Er, remove it here.
18831 * po/POTFILES: Remove gstspider.c.
18833 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18835 * docs/libs/gstreamer-libs-docs.sgml:
18836 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18839 * tests/complexity.c (main): Set the length of the preroll queue
18840 on the sinks to prevent a lockup.
18842 * libs/gst/dataprotocol/Makefile.am:
18843 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18844 the same as the one in check/gst-libs/gdp.c.
18846 * po/, docs/gst/: Commit automatic changes to docs and po files.
18848 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18849 the versioned libgstbase.
18851 * check/Makefile.am: Depend on an unversioned gst-register, seems
18852 to make autoconf happier.
18854 * gst/base/Makefile.am: Make libgstbase a versioned lib.
18856 2005-03-28 Wim Taymans <wim@fluendo.com>
18859 * docs/design/part-gstelement.txt:
18860 * docs/design/part-negotiation.txt:
18861 * docs/design/part-preroll.txt:
18862 * docs/design/part-scheduling.txt:
18863 * docs/design/part-states.txt:
18865 * gst/base/Makefile.am:
18867 * gst/base/gstbasesink.c: (gst_basesink_get_template),
18868 (gst_basesink_base_init), (gst_basesink_class_init),
18869 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18870 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18871 (gst_basesink_set_pad_functions),
18872 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
18873 (gst_basesink_set_property), (gst_basesink_get_property),
18874 (gst_base_sink_get_template), (gst_base_sink_get_caps),
18875 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
18876 (gst_basesink_preroll_queue_push),
18877 (gst_basesink_preroll_queue_empty),
18878 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
18879 (gst_basesink_event), (gst_basesink_get_times),
18880 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
18881 (gst_basesink_chain_unlocked), (gst_basesink_chain),
18882 (gst_basesink_loop), (gst_basesink_activate),
18883 (gst_basesink_change_state):
18884 * gst/base/gstbasesink.h:
18885 * gst/elements/Makefile.am:
18886 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
18887 (gst_fakesink_class_init), (gst_fakesink_init),
18888 (gst_fakesink_set_property), (gst_fakesink_get_property),
18889 (gst_fakesink_get_times), (gst_fakesink_event),
18890 (gst_fakesink_preroll), (gst_fakesink_render),
18891 (gst_fakesink_change_state):
18892 * gst/elements/gstfakesink.h:
18893 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18894 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
18895 * gst/gstelement.c: (gst_element_add_pad),
18896 (gst_element_get_state_func), (gst_element_abort_state),
18897 (gst_element_commit_state), (gst_element_lost_state),
18898 (gst_element_set_state), (gst_element_pads_activate):
18899 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
18900 * gst/gstpipeline.c: (gst_pipeline_send_event),
18901 (gst_pipeline_change_state):
18902 Added state change code.
18903 Added/updated docs.
18904 Added sink base class, make fakesink extend the base class.
18905 Small cleanups in GstPipeline.
18907 2005-03-26 David Schleef <ds@schleef.org>
18909 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
18910 is broken and should be implemented in a different library.
18911 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
18912 * gst/gst.h: remove gstcpu.h
18913 * gst/gstcpu.c: remove
18914 * gst/gstcpu.h: remove
18915 * gst/Makefile.am.future: Remove this file. It's ancient.
18917 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18919 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18920 (gst_bin_send_event):
18921 Add default event/set_manager handlers. The set_manager handler
18922 takes care that the manager is distributed over kids that were
18923 already in the bin before the manager was set. The event handler
18924 is a utility virtual function that sends the event over all sinks,
18925 so that gst_element_send_event (bin, event); has the expected
18927 * gst/gstpad.c: (gst_pad_event_default):
18928 Re-install default event handling for discontinuities, so that
18929 seeking works without requiring hacks in applications or extra
18931 * gst/gstpipeline.c: (gst_pipeline_class_init),
18932 (gst_pipeline_send_event):
18933 Half hack, half utility: set a pipeline to PAUSED for seek events,
18934 since that is the only way we can guarantee a/v sync. Means that
18935 you can do gst_element_seek (pipeline, method, pos); on a pipeline
18936 and it "just works".
18938 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18940 * gst/gstpipeline.c: (gst_pipeline_use_clock):
18941 Lock/unlock mismatch.
18943 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
18945 * docs/faq/gst-uninstalled:
18946 add gst-plugins-base
18947 * docs/gst/Makefile.am:
18948 don't error out until docs are fixed
18949 * docs/gst/gstreamer.types:
18952 2005-03-22 Wim Taymans <wim@fluendo.com>
18954 * check/Makefile.am:
18955 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18956 * gst/gststructure.c: (gst_structure_set_valist),
18957 (gst_structure_copy_conditional):
18958 Activated more tests.
18959 Added message test.
18960 Added G_TYPE_POINTER to GstStructure.
18963 2005-03-22 Wim Taymans <wim@fluendo.com>
18965 * docs/design/part-TODO.txt:
18966 * docs/design/part-events.txt:
18967 * docs/design/part-gstbin.txt:
18968 * docs/design/part-gstbus.txt:
18969 * docs/design/part-gstpipeline.txt:
18970 * docs/design/part-messages.txt:
18972 * gst/gstmessage.c:
18975 2005-03-21 Wim Taymans <wim@fluendo.com>
18977 * gst/gstbus.c: (gst_bus_post):
18978 Fix copy-and-paste error.
18980 2005-03-21 Wim Taymans <wim@fluendo.com>
18982 * check/Makefile.am:
18984 * gst/elements/Makefile.am:
18985 * gst/elements/gstelements.c:
18986 * gst/elements/gstfakesink.c: (gst_fakesink_init),
18987 (gst_fakesink_event), (gst_fakesink_chain):
18988 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18989 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
18990 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
18991 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
18992 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18993 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
18994 (gst_fakesrc_loop), (gst_fakesrc_activate),
18995 (gst_fakesrc_change_state):
18996 * gst/elements/gstfakesrc.h:
18997 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
18998 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
18999 (gst_filesrc_open_file), (gst_filesrc_loop),
19000 (gst_filesrc_activate), (gst_filesrc_change_state),
19001 (filesrc_find_peek), (filesrc_find_suggest),
19002 (gst_filesrc_type_find):
19003 * gst/elements/gstidentity.c: (gst_identity_finalize),
19004 (gst_identity_class_init), (gst_identity_init),
19005 (gst_identity_proxy_getcaps), (identity_queue_push),
19006 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19007 (gst_identity_getrange), (gst_identity_chain),
19008 (gst_identity_sink_loop), (gst_identity_src_loop),
19009 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19010 (gst_identity_set_property), (gst_identity_get_property),
19011 (gst_identity_change_state):
19012 * gst/elements/gstidentity.h:
19013 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19014 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19015 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19016 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19017 (gst_tee_sink_activate):
19018 * gst/elements/gsttee.h:
19019 * gst/gst.c: (gst_register_core_elements), (init_post):
19021 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19022 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19023 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19024 (gst_bin_change_state):
19026 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19027 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19028 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19029 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19030 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19031 (bus_watch_callback), (bus_watch_destroy),
19032 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19033 (poll_timeout), (gst_bus_poll):
19037 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19038 (gst_element_post_message), (gst_element_message_full),
19039 (gst_element_get_state_func), (gst_element_get_state),
19040 (gst_element_abort_state), (gst_element_commit_state),
19041 (gst_element_lost_state), (gst_element_set_state),
19042 (gst_element_pads_activate), (gst_element_change_state),
19043 (gst_element_dispose), (gst_element_set_manager_func),
19044 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19045 (gst_element_set_manager), (gst_element_get_manager),
19046 (gst_element_set_bus), (gst_element_get_bus),
19047 (gst_element_set_scheduler), (gst_element_get_scheduler):
19048 * gst/gstelement.h:
19049 * gst/gstevent.c: (gst_event_new_segment_seek),
19050 (gst_event_new_flush):
19052 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19053 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19054 (gst_message_new_eos), (gst_message_new_error),
19055 (gst_message_new_warning), (gst_message_new_tag),
19056 (gst_message_new_state_changed), (gst_message_new_application),
19057 (gst_message_get_structure), (gst_message_parse_tag),
19058 (gst_message_parse_state_changed), (gst_message_parse_error),
19059 (gst_message_parse_warning):
19060 * gst/gstmessage.h:
19061 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19062 (gst_real_pad_set_property), (gst_pad_set_active),
19063 (gst_pad_is_active), (gst_pad_set_blocked_async),
19064 (gst_pad_set_blocked), (gst_pad_is_blocked),
19065 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19066 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19067 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19068 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19069 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19070 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19071 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19072 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19073 (gst_pad_set_caps), (gst_pad_configure_sink),
19074 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19075 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19076 (gst_real_pad_dispose), (gst_real_pad_finalize),
19077 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19078 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19079 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19081 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19082 (pipeline_bus_handler), (gst_pipeline_change_state),
19083 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19084 * gst/gstpipeline.h:
19086 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19087 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19088 (gst_queue_link_src), (gst_queue_bufferalloc),
19089 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19090 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19091 (gst_queue_loop), (gst_queue_handle_src_event),
19092 (gst_queue_handle_src_query), (gst_queue_src_activate),
19093 (gst_queue_change_state):
19095 * gst/gstscheduler.c: (gst_scheduler_init),
19096 (gst_scheduler_dispose), (gst_scheduler_create_task),
19097 (gst_scheduler_factory_create):
19098 * gst/gstscheduler.h:
19099 * gst/gststructure.c: (gst_structure_get_type),
19100 (gst_structure_copy_conditional):
19101 * gst/gststructure.h:
19102 * gst/gsttaginterface.h:
19103 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19104 (gst_task_init), (gst_task_dispose), (gst_task_create),
19105 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19111 * gst/schedulers/Makefile.am:
19112 * gst/schedulers/cothreads_compat.h:
19113 * gst/schedulers/entryscheduler.c:
19114 * gst/schedulers/faircothreads.c:
19115 * gst/schedulers/faircothreads.h:
19116 * gst/schedulers/fairscheduler.c:
19117 * gst/schedulers/gstbasicscheduler.c:
19118 * gst/schedulers/gstoptimalscheduler.c:
19119 * gst/schedulers/gthread-cothreads.h:
19120 * gst/schedulers/threadscheduler.c:
19121 (gst_thread_scheduler_task_get_type),
19122 (gst_thread_scheduler_task_class_init),
19123 (gst_thread_scheduler_task_init),
19124 (gst_thread_scheduler_task_start),
19125 (gst_thread_scheduler_task_stop),
19126 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19127 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19128 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19129 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19131 * libs/gst/Makefile.am:
19132 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19133 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19134 (gst_file_pad_parent_set):
19135 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19136 (gst_dp_event_from_packet):
19137 * tests/complexity.c: (main):
19138 * tests/mass_elements.c: (main):
19139 * testsuite/states/locked.c: (message_received), (main):
19140 * testsuite/states/parent.c: (main):
19141 * tools/gst-inspect.c: (print_element_flag_info),
19142 (print_implementation_info), (print_pad_info):
19143 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19145 * tools/gst-md5sum.c: (event_loop), (main):
19146 * tools/gst-typefind.c: (main):
19147 * tools/gst-xmlinspect.c: (print_element_info):
19149 Added GstBus for mainloop integration.
19150 Added GstMessage for sending notifications on the bus.
19151 Added GstTask as an abstraction for pipeline entry points.
19153 Removed Schedulers.
19154 Simplified GstQueue for multithreaded core.
19155 Made _link threadsafe, removed old capsnego.
19156 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19157 Added pad blocking functions.
19158 Reworked scheduling functions in GstPad to prepare for
19159 scheduling updates soon.
19160 Moved events out of data stream.
19161 Simplified GstEvent types.
19162 Added return values to push/pull.
19163 Removed clocking from GstElement.
19164 Added prototypes for state change function for next merge.
19165 Removed iterate from bins and state change management.
19166 Fixed some elements, disabled others for now.
19167 Fixed -inspect and -launch.
19168 Added check for GstBus.
19170 2005-03-10 Wim Taymans <wim@fluendo.com>
19172 * docs/design/part-MT-refcounting.txt:
19173 * docs/design/part-clocks.txt:
19174 * docs/design/part-gstelement.txt:
19175 * docs/design/part-gstobject.txt:
19176 * docs/design/part-standards.txt:
19177 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19178 (gst_bin_remove_func), (gst_bin_remove):
19182 * testsuite/clock/clock1.c: (main):
19183 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19185 * testsuite/dlopen/loadgst.c: (do_test):
19186 * testsuite/refcounting/bin.c: (add_remove_test1),
19187 (add_remove_test2), (main):
19188 * testsuite/refcounting/element.c: (main):
19189 * testsuite/refcounting/element_pad.c: (main):
19190 * testsuite/refcounting/pad.c: (main):
19191 * tools/gst-launch.c: (sigint_handler_sighandler):
19192 * tools/gst-typefind.c: (main):
19194 Added doc about clock.
19195 removed gst_bin_iterate_recurse_up(), marked methods
19197 Fix more testsuites.
19199 2005-03-09 Wim Taymans <wim@fluendo.com>
19201 * gst/gstpad.c: (gst_pad_get_direction),
19202 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19203 (gst_pad_collect_valist):
19204 * testsuite/bins/interface.c: (main):
19205 * testsuite/caps/audioscale.c: (test_caps):
19206 * testsuite/caps/caps.c: (test1), (test2), (test3):
19207 * testsuite/caps/deserialize.c: (main):
19208 * testsuite/caps/enumcaps.c: (main):
19209 * testsuite/caps/filtercaps.c: (main):
19210 * testsuite/caps/intersect2.c: (main):
19211 * testsuite/caps/random.c: (main):
19212 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19213 * testsuite/caps/sets.c: (check_caps):
19214 * testsuite/caps/simplify.c: (check_caps), (main):
19215 * testsuite/caps/subtract.c: (check_caps):
19216 Fix _pad_get_direction wrt ghostpads.
19217 Fix caps testsuite.
19219 2005-03-09 Wim Taymans <wim@fluendo.com>
19221 * check/Makefile.am:
19222 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19223 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19224 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19225 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19226 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19227 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19228 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19229 (bin_element_is_sink), (gst_bin_iterate_sinks),
19230 (gst_bin_iterate_all_by_interface):
19232 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19233 (gst_element_change_state), (gst_element_dispose),
19234 (gst_element_finalize), (gst_element_set_loop_function):
19235 * gst/gstelement.h:
19236 * gst/gstiterator.c: (find_custom_fold_func):
19237 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19238 (gst_pad_collectv), (gst_pad_collect_valist),
19239 (gst_pad_template_new):
19240 * gst/gstpipeline.c: (gst_pipeline_class_init),
19241 (gst_pipeline_dispose), (gst_pipeline_set_property),
19242 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19243 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19244 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19246 * gst/schedulers/entryscheduler.c:
19247 * gst/schedulers/gstbasicscheduler.c:
19248 (gst_basic_scheduler_cothreaded_chain),
19249 (gst_basic_scheduler_chain_add_element):
19250 * testsuite/bins/interface.c: (main):
19252 Added GstSystemClock test.
19253 Implemented clock distribution code in GstBin.
19254 Implemented iterate sinks method for future use.
19255 Rearranged gstelement.h
19256 Fix GstIterator comparison bug.
19257 Moved some code to GstPipeline, mostly clocking related.
19259 2005-03-09 Wim Taymans <wim@fluendo.com>
19262 * gst/gst_private.h:
19263 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19264 (gst_bin_remove_func), (gst_bin_remove),
19265 (gst_bin_get_by_name_recurse_up):
19266 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19267 (gst_clock_id_compare_func), (gst_clock_id_wait),
19268 (gst_clock_id_wait_async), (gst_clock_init),
19269 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19270 * gst/gstelement.h:
19271 * gst/gstinfo.c: (_gst_debug_init):
19273 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19274 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19276 Bump version number, we're now 0.9.0
19277 Add future debugging category.
19278 Fix NULL _unref() in _get_by_name_recurse_up
19279 Rearrange gstpad.h.
19282 2005-03-08 Wim Taymans <wim@fluendo.com>
19284 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19285 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19286 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19287 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19288 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19289 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19290 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19291 * gst/elements/gstidentity.c: (gst_identity_class_init):
19292 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19293 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19294 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19295 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19296 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19298 * gst/gstelement.c: (gst_element_class_init),
19299 (gst_element_base_class_init), (gst_element_init),
19300 (gst_element_get_random_pad), (gst_element_wait_state_change),
19301 (gst_element_change_state), (gst_element_dispose),
19302 (gst_element_finalize), (gst_element_set_loop_function):
19303 * gst/gstelement.h:
19304 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19305 * gst/gstthread.c: (gst_thread_class_init),
19306 (gst_thread_release_children_locks), (gst_thread_change_state):
19307 * gst/schedulers/gstbasicscheduler.c:
19308 (gst_basic_scheduler_loopfunc_wrapper),
19309 (gst_basic_scheduler_chain_wrapper),
19310 (gst_basic_scheduler_src_wrapper),
19311 (gst_basic_scheduler_remove_element):
19312 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19313 Remove threadsafe properties. Fix elements because GObject
19314 complains when installing a property before declaring a
19315 set/get_property handler.
19316 Rearrange gstelement.h file, use STATE macros for state locks.
19317 Free mutexes in the finalize method instead of dispose.
19319 2005-03-08 Wim Taymans <wim@fluendo.com>
19321 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19322 * gst/gstthread.c: (gst_thread_release_children_locks):
19323 Added parentage check.
19324 Fix build og GstThread again.
19326 2005-03-08 Wim Taymans <wim@fluendo.com>
19328 * docs/design/part-MT-refcounting.txt:
19329 * docs/design/part-conventions.txt:
19330 * docs/design/part-gstobject.txt:
19331 * docs/design/part-relations.txt:
19332 * docs/design/part-standards.txt:
19333 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19334 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19335 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19336 (gst_bin_iterate_all_by_interface):
19339 * gst/gstelement.c: (gst_element_class_init),
19340 (gst_element_change_state), (gst_element_set_loop_function):
19341 * gst/gstelement.h:
19342 * gst/gstiterator.c:
19343 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19344 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19345 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19346 (gst_object_set_parent), (gst_object_unparent),
19347 (gst_object_check_uniqueness):
19349 Docs updates, clean up some headers.
19351 2005-03-07 Wim Taymans <wim@fluendo.com>
19353 * check/.cvsignore:
19354 * check/Makefile.am:
19355 * check/gst-libs/.cvsignore:
19356 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19357 * check/gst/.cvsignore:
19358 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19359 (START_TEST), (gstbus_suite), (main):
19360 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19361 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19362 (gst_data_suite), (main):
19363 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19364 (add_fold_func), (gstiterator_suite), (main):
19365 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19366 (thread_name_object), (thread_name_object_default),
19367 (gst_object_name_compare), (gst_object_suite), (main):
19368 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19369 (gst_pad_suite), (main):
19370 * check/gstcheck.c: (gst_check_log_message_func),
19371 (gst_check_log_critical_func), (gst_check_init):
19372 * check/gstcheck.h:
19373 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19374 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19377 2005-03-07 Wim Taymans <wim@fluendo.com>
19379 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19380 (gst_list_iterator_next), (gst_list_iterator_resync),
19381 (gst_list_iterator_free), (gst_iterator_new_list),
19382 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19383 (gst_iterator_free), (gst_iterator_push), (filter_next),
19384 (filter_resync), (filter_uninit), (filter_free),
19385 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19386 (gst_iterator_foreach), (find_custom_fold_func),
19387 (gst_iterator_find_custom):
19388 * gst/gstiterator.h:
19389 Added missing files.
19391 2005-03-07 Wim Taymans <wim@fluendo.com>
19395 * docs/design/part-MT-refcounting.txt:
19396 * docs/design/part-conventions.txt:
19397 * docs/design/part-gstobject.txt:
19398 * docs/design/part-relations.txt:
19399 * examples/mixer/mixer.c: (main):
19400 * examples/thread/thread.c: (eos), (main):
19402 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19403 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19404 (gst_spider_plug_from_srcpad):
19405 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19406 (gst_spider_identity_change_state),
19407 (gst_spider_identity_sink_loop_type_finding):
19408 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19409 * gst/elements/gstidentity.c: (gst_identity_init):
19410 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19411 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19412 * gst/elements/gsttypefindelement.c: (free_entry):
19415 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19416 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19417 (gst_bin_set_index), (gst_bin_set_element_sched),
19418 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19419 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19420 (gst_bin_iterate_elements), (iterate_child_recurse),
19421 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19422 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19423 (compare_interface), (gst_bin_get_by_interface),
19424 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19426 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19427 (gst_buffer_default_free), (gst_buffer_default_copy),
19428 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19429 (gst_buffer_create_sub):
19431 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19432 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19433 (gst_caps_unref), (gst_static_caps_get),
19434 (gst_caps_remove_and_get_structure), (gst_caps_append),
19435 (gst_caps_append_structure), (gst_caps_remove_structure),
19436 (gst_caps_copy_nth), (gst_caps_set_simple),
19437 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19438 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19439 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19440 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19441 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19442 (gst_caps_structure_figure_out_union),
19443 (gst_caps_switch_structures), (gst_caps_do_simplify),
19444 (gst_caps_replace), (gst_caps_from_string),
19445 (gst_caps_copy_conditional):
19447 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19448 (_gst_clock_id_free), (gst_clock_id_unref),
19449 (gst_clock_id_compare_func), (gst_clock_id_wait),
19450 (gst_clock_id_wait_async), (gst_clock_class_init),
19451 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19452 (gst_clock_get_time), (gst_clock_set_time_adjust),
19453 (gst_clock_set_property), (gst_clock_get_property):
19456 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19457 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19459 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19460 (gst_element_requires_clock), (gst_element_provides_clock),
19461 (gst_element_set_clock), (gst_element_clock_wait),
19462 (gst_element_wait), (gst_element_set_time_delay),
19463 (gst_element_is_indexable), (gst_element_add_pad),
19464 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19465 (pad_compare_name), (gst_element_get_static_pad),
19466 (gst_element_request_pad), (gst_element_get_request_pad),
19467 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19468 (gst_element_class_get_pad_template_list),
19469 (gst_element_class_get_pad_template), (gst_element_error_func),
19470 (gst_element_get_random_pad), (gst_element_get_event_masks),
19471 (gst_element_send_event), (gst_element_seek),
19472 (gst_element_get_query_types), (gst_element_query),
19473 (gst_element_get_formats), (gst_element_convert),
19474 (gst_element_is_locked_state), (gst_element_set_locked_state),
19475 (gst_element_sync_state_with_parent), (gst_element_change_state),
19476 (gst_element_finalize), (gst_element_yield),
19477 (gst_element_interrupt), (gst_element_set_scheduler),
19478 (gst_element_get_scheduler), (gst_element_set_loop_function):
19479 * gst/gstelement.h:
19481 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19482 (gst_format_get_by_nick), (gst_format_get_details),
19483 (gst_format_iterate_definitions):
19485 * gst/gstindex.c: (gst_index_gtype_resolver):
19488 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19489 (gst_mem_chunk_free):
19490 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19491 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19492 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19493 (gst_object_dispatch_properties_changed),
19494 (gst_object_set_name_default), (gst_object_set_name),
19495 (gst_object_get_name), (gst_object_set_name_prefix),
19496 (gst_object_get_name_prefix), (gst_object_set_parent),
19497 (gst_object_get_parent), (gst_object_unparent),
19498 (gst_object_check_uniqueness), (gst_object_save_thyself),
19499 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19500 (gst_object_set_property), (gst_object_get_property),
19501 (gst_object_get_path_string):
19503 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19504 (gst_real_pad_init), (gst_real_pad_get_property),
19505 (gst_pad_custom_new), (gst_pad_get_direction),
19506 (gst_pad_set_active), (gst_pad_is_active),
19507 (gst_pad_set_event_function), (gst_pad_is_linked),
19508 (gst_pad_link_free), (gst_pad_link_intersect),
19509 (gst_pad_link_fixate), (gst_pad_set_caps),
19510 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19511 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19512 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19513 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19514 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19515 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19516 (gst_pad_realize), (gst_pad_get_allowed_caps),
19517 (gst_real_pad_dispose), (gst_real_pad_finalize),
19518 (gst_pad_collectv), (gst_pad_collect_valist),
19519 (gst_pad_template_dispose), (gst_pad_template_new),
19520 (gst_pad_get_internal_links):
19522 * gst/gstpipeline.c: (gst_pipeline_dispose),
19523 (gst_pipeline_change_state):
19524 * gst/gstpipeline.h:
19526 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19527 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19528 * gst/gstpluginfeature.h:
19529 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19530 * gst/gstquery.c: (_gst_query_type_initialize),
19531 (gst_query_type_register), (gst_query_type_get_by_nick),
19532 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19534 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19535 * gst/gstscheduler.c: (gst_scheduler_add_element),
19536 (gst_scheduler_factory_create):
19537 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19538 (gst_structure_free), (gst_structure_set_name),
19539 (gst_structure_id_set_value), (gst_structure_set_value),
19540 (gst_structure_set_valist), (gst_structure_remove_field),
19541 (gst_structure_remove_fields),
19542 (gst_structure_remove_fields_valist),
19543 (gst_structure_remove_all_fields), (gst_structure_foreach),
19544 (gst_structure_map_in_place),
19545 (gst_caps_structure_fixate_field_nearest_int),
19546 (gst_caps_structure_fixate_field_nearest_double):
19547 * gst/gststructure.h:
19548 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19549 (gst_system_clock_init), (gst_system_clock_dispose),
19550 (gst_system_clock_async_thread),
19551 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19552 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19553 * gst/gstsystemclock.h:
19554 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19555 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19556 * gst/gsttaginterface.c:
19557 * gst/gstthread.c: (gst_thread_dispose),
19558 (gst_thread_release_children_locks), (gst_thread_change_state),
19559 (gst_thread_main_loop):
19560 * gst/gsttrashstack.h:
19561 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19563 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19564 (gst_element_request_pad), (gst_element_get_pad_from_template),
19565 (gst_element_request_compatible_pad),
19566 (gst_element_get_compatible_pad_filtered),
19567 (gst_element_get_compatible_pad), (gst_element_state_get_name),
19568 (gst_element_link_pads_filtered), (gst_element_link_filtered),
19569 (gst_element_link_many), (gst_element_link),
19570 (gst_element_link_pads), (gst_element_unlink_pads),
19571 (gst_element_unlink_many), (gst_element_unlink),
19572 (gst_pad_can_link_filtered), (gst_pad_can_link),
19573 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19574 (gst_object_default_error), (gst_bin_add_many),
19575 (gst_bin_remove_many), (gst_element_populate_std_props),
19576 (gst_element_class_install_std_props), (gst_buffer_merge),
19577 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19578 (link_fold_func), (gst_pad_proxy_setcaps):
19580 * gst/gstvalue.c: (gst_value_deserialize_string):
19581 * gst/parse/grammar.y:
19582 * gst/schedulers/gstbasicscheduler.c:
19583 (gst_basic_scheduler_cothreaded_chain),
19584 (gst_basic_scheduler_chain_recursive_add),
19585 (gst_basic_scheduler_pad_link):
19586 * gst/schedulers/gstoptimalscheduler.c:
19587 (get_group_schedule_function),
19588 (gst_opt_scheduler_state_transition),
19589 (gst_opt_scheduler_add_element), (element_get_reachables_func):
19590 * libs/gst/bytestream/bytestream.c:
19591 * libs/gst/dataprotocol/dataprotocol.c:
19592 (gst_dp_header_from_buffer):
19595 * tests/threadstate/threadstate2.c: (eos):
19596 * tools/gst-compprep.c: (main):
19597 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19598 (print_pad_info), (print_children_info):
19599 * tools/gst-launch.c: (idle_func), (main):
19600 * tools/gst-md5sum.c: (idle_func), (main):
19601 * tools/gst-xmlinspect.c: (print_element_info):
19602 First THREADED backport attempt, focusing on adding locks and
19603 making sure the API is threadsafe. Needs more work. More docs
19606 2005-02-24 Andy Wingo <wingo@pobox.com>
19608 * tests/bench-complexity.scm:
19609 * tests/complexity.gnuplot: New files, good for running complexity
19612 * tests/Makefile.am:
19613 * tests/complexity.c: New test, sets up N elements, at each level
19614 teeing into M streams per element. Eeeenteresting.
19616 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19617 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19618 running bench-mass_elements.scm.
19620 * tests/bench-mass_elements.scm: New script, runs mass_elements
19621 for various numbers of identities, outputting the results to a
19622 file. Requires guile 1.6. Just for testing.
19624 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
19626 * gst/schedulers/fairscheduler.c:
19627 compile with debug disabled
19629 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
19632 hunting season on 0.9 is now OPEN