1 2005-10-28 Edward Hervey <edward@fluendo.com>
3 * docs/gst/gstreamer-docs.sgml:
4 * docs/gst/gstreamer-sections.txt:
5 the GstURIType documentation page is private, it only defines GstURIType
6 which should be defined in the GstURIHandler page
8 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10 * gst/gstbin.c: (gst_bin_class_init):
13 Documentation updates.
15 2005-10-28 Wim Taymans <wim@fluendo.com>
17 * docs/gst/gstreamer-sections.txt:
20 Documented the clocks.
22 2005-10-28 Stefan Kost <ensonic@users.sf.net>
24 * docs/gst/gstreamer-sections.txt:
25 move some macros to private sections
26 * gst/gstminiobject.c:
27 * gst/gstminiobject.h:
28 add descriptions provided by ds and some more
30 mark macro as to be removed
32 2005-10-28 Wim Taymans <wim@fluendo.com>
34 * docs/design/part-TODO.txt:
37 * gst/gstiterator.c: (gst_iterator_fold),
38 (gst_iterator_find_custom):
42 2005-10-28 Wim Taymans <wim@fluendo.com>
44 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
45 (gst_base_transform_init):
48 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
49 An EOS event marks the queue as completely filled.
51 2005-10-27 Wim Taymans <wim@fluendo.com>
53 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
54 (gst_base_sink_do_sync), (gst_base_sink_get_position):
57 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
58 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
59 (gst_base_transform_event), (gst_base_transform_getrange),
60 (gst_base_transform_chain):
61 * gst/base/gstbasetransform.h:
63 Protect transform and concurrent buffer alloc with a new lock.
64 Try not to break ABI/API.
66 2005-10-27 Wim Taymans <wim@fluendo.com>
68 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
69 (gst_base_src_init), (gst_base_src_query),
70 (gst_base_src_default_newsegment),
71 (gst_base_src_configure_segment), (gst_base_src_do_seek),
72 (gst_base_src_send_event), (gst_base_src_event_handler),
73 (gst_base_src_pad_get_range), (gst_base_src_loop),
74 (gst_base_src_unlock), (gst_base_src_default_negotiate),
75 (gst_base_src_start), (gst_base_src_deactivate),
76 (gst_base_src_activate_push), (gst_base_src_change_state):
77 Move some stuff around and cleanup things.
79 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
81 * gst/base/gstbasesrc.c: (gst_base_src_query):
82 Add missing break statements.
84 2005-10-27 Wim Taymans <wim@fluendo.com>
86 * check/gst/gstbin.c: (GST_START_TEST):
87 An extra refcount is taken in basesrc.
89 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
90 (gst_base_src_get_range), (gst_base_src_pad_get_range),
92 Small cleanups, check for flushing after being unlocked from the
93 LIVE_LOCK. take refcounts correctly (not yet everywhere).
94 Don't send out EOS when going to READY.
96 2005-10-27 Wim Taymans <wim@fluendo.com>
98 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
99 (gst_base_sink_get_position):
102 * gst/gstbin.c: (message_check), (bin_replace_message),
103 (bin_remove_messages), (is_eos), (gst_bin_add_func),
104 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
105 (bin_query_duration_init), (bin_query_duration_fold),
106 (bin_query_duration_done), (bin_query_generic_fold),
108 * tools/gst-launch.c: (main):
111 2005-10-26 Stefan Kost <ensonic@users.sf.net>
113 * examples/controller/audio-example.c: (main):
114 * examples/queue/queue.c: (event_loop):
115 * gst/base/gstbasetransform.h:
116 * gst/gstelement.c: (gst_element_send_event):
118 * gst/gstpad.c: (gst_pad_send_event):
121 changing log priority in error situations
123 2005-10-25 Wim Taymans <wim@fluendo.com>
125 * gst/gstbin.c: (message_check), (bin_replace_message),
126 (bin_remove_messages), (is_eos), (gst_bin_add_func),
127 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
128 (bin_query_duration_init), (bin_query_duration_fold),
129 (bin_query_duration_done), (bin_query_generic_fold),
131 Some doc and debug updates.
132 Cache previously requested query DURATION for speed. invalidate
133 cached duration if element posts a DURATION message.
135 2005-10-25 Wim Taymans <wim@fluendo.com>
137 * docs/design/part-TODO.txt:
140 * gst/gstbin.c: (message_check), (bin_replace_message),
141 (bin_remove_messages), (is_eos), (gst_bin_add_func),
142 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
143 (bin_query_duration_init), (bin_query_duration_fold),
144 (bin_query_duration_done), (bin_query_generic_fold),
146 Handle SEGMENT_START/DONE messages correctly.
147 More evolved query algorithm that handles duration queries
150 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
151 (gst_element_get_state_func), (gst_element_abort_state),
152 (gst_element_commit_state), (gst_element_lost_state):
158 2005-10-25 Wim Taymans <wim@fluendo.com>
160 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
161 Don't use invalid stream_time.
163 * gst/gstevent.c: (gst_event_new_newsegment):
164 stream_time in newsegment cannot be undefined.
166 2005-10-24 Wim Taymans <wim@fluendo.com>
171 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
173 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
175 2005-10-24 Stefan Kost <ensonic@users.sf.net>
177 * docs/libs/tmpl/gstdparam.sgml:
178 * docs/libs/tmpl/gstdplinint.sgml:
179 * docs/libs/tmpl/gstdpman.sgml:
180 * docs/libs/tmpl/gstdpsmooth.sgml:
181 * docs/libs/tmpl/gstunitconvert.sgml:
184 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
189 === release 0.9.4 ===
191 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
194 releasing 0.9.4, "Tyrannosaurus Rex"
196 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
198 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
199 (gst_file_sink_get_current_offset):
200 Use fseeko() and ftello() if available. When falling back on
201 lseek() to get the current offset, fflush() first to make sure
202 everything is up-to-date and we get the right offset.
204 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
206 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
207 * gst/base/gstbasesrc.c: (gst_base_src_loop):
208 * gst/gsterror.c: (_gst_stream_errors_init):
210 * gst/gstqueue.c: (gst_queue_loop):
212 remove prematurely added error category and clean up the instances
214 2005-10-21 Wim Taymans <wim@fluendo.com>
216 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
217 (gst_base_sink_get_position), (gst_base_sink_query),
218 (gst_base_sink_change_state):
219 Simply set the right flag when going to playing, that's all
220 we need to do instead of calling a function inside the object
221 lock (that could take the lock as well and deadlock)
223 2005-10-21 Wim Taymans <wim@fluendo.com>
225 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
227 Don't warn, the peer element knows what to do best when
228 the seek failed, it might try something else.
230 2005-10-21 Wim Taymans <wim@fluendo.com>
232 * gst/base/gstbasesrc.c: (gst_base_src_init),
233 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
236 2005-10-21 Wim Taymans <wim@fluendo.com>
238 * docs/design/part-segments.txt:
241 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
242 Correctly set caps, even on the subbufer.
244 2005-10-21 Wim Taymans <wim@fluendo.com>
246 * docs/gst/gstreamer-docs.sgml:
247 * docs/gst/gstreamer-sections.txt:
254 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
258 And 2% more doc coverage.
260 2005-10-21 Andy Wingo <wingo@pobox.com>
262 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
265 2005-10-20 Wim Taymans <wim@fluendo.com>
267 * gst/gsterror.c: (gst_error_get_message):
270 * gst/gststructure.c:
275 2005-10-20 Wim Taymans <wim@fluendo.com>
280 Another 1% more coverage.
282 2005-10-20 Wim Taymans <wim@fluendo.com>
284 * docs/gst/gstreamer-sections.txt:
285 * gst/gstelement.c: (gst_element_get_state_func),
286 (gst_element_abort_state), (gst_element_commit_state),
287 (gst_element_lost_state):
289 * gst/gstquery.c: (gst_query_set_position),
290 (gst_query_parse_position), (gst_query_set_duration),
291 (gst_query_parse_duration), (gst_query_new_convert):
293 Yay! 1% more docs coverage.
295 2005-10-20 Wim Taymans <wim@fluendo.com>
298 * gst/gstquery.c: (gst_query_set_position),
299 (gst_query_parse_position), (gst_query_set_duration),
300 (gst_query_parse_duration), (gst_query_new_convert):
302 * gst/gstutils.c: (gst_element_query_convert):
304 Docs and consistency fixes.
306 2005-10-20 Wim Taymans <wim@fluendo.com>
312 2005-10-20 Wim Taymans <wim@fluendo.com>
314 * gst/gstbin.c: (message_check), (bin_replace_message),
315 (bin_remove_messages), (is_eos), (gst_bin_add_func),
316 (update_degree), (gst_bin_sort_iterator_next),
317 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
318 Reworked the message handling a bit, cache the messages instead of
319 only the senders. alows us to do more in the future.
321 2005-10-20 Wim Taymans <wim@fluendo.com>
323 * docs/design/part-TODO.txt:
326 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
327 (gst_base_sink_query):
328 Don't use clock time to report position when in EOS.
330 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
332 * tools/gst-inspect.c: (print_interfaces),
333 (print_element_properties_info), (print_element_info):
334 Fix interface output with gst-inspect -a; don't print
335 newlines after double/float properties.
337 2005-10-20 Wim Taymans <wim@fluendo.com>
339 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
340 (gst_base_sink_query):
341 Speed up current position calculation.
343 * gst/base/gstbasesrc.c: (gst_base_src_query),
344 (gst_base_src_default_newsegment):
345 Correctly set stream position in newsegment.
347 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
348 (update_degree), (gst_bin_sort_iterator_next),
349 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
350 * gst/gstmessage.c: (gst_message_new_custom):
351 Clean up debugging info
353 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
354 (gst_queue_loop), (gst_queue_handle_src_query):
357 2005-10-19 Wim Taymans <wim@fluendo.com>
359 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
360 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
361 Fix query handling again.
363 2005-10-19 Wim Taymans <wim@fluendo.com>
365 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
366 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
367 * gst/base/gstbasesrc.c: (gst_base_src_query):
368 * gst/elements/gstfilesink.c: (gst_file_sink_query):
369 * gst/elements/gsttypefindelement.c:
370 (gst_type_find_handle_src_query), (find_element_get_length),
371 (gst_type_find_element_activate):
374 * gst/gstquery.c: (gst_query_new_position),
375 (gst_query_set_position), (gst_query_parse_position),
376 (gst_query_new_duration), (gst_query_set_duration),
377 (gst_query_parse_duration), (gst_query_set_segment),
378 (gst_query_parse_segment):
380 Bundling query position/duration is not a good idea since duration
381 does not change much and we don't want to recalculate it for every
382 position query, so they are separated again..
383 Base value in segment query is not needed.
385 * gst/gstqueue.c: (gst_queue_handle_src_query):
386 * gst/gstutils.c: (gst_element_query_position),
387 (gst_element_query_duration), (gst_pad_query_position),
388 (gst_pad_query_duration):
390 Updates for query API change.
391 Added some docs here and there.
393 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
395 * check/gst/gstbin.c: (GST_START_TEST):
396 * check/gst/gstghostpad.c: (GST_START_TEST):
397 * check/pipelines/cleanup.c: (GST_START_TEST):
398 wait on thread to die so we can check refcount correctly
400 2005-10-18 Wim Taymans <wim@fluendo.com>
402 * check/pipelines/stress.c: (GST_START_TEST):
403 Make check a little more time consuming.
405 2005-10-18 Wim Taymans <wim@fluendo.com>
408 * check/pipelines/stress.c: (GST_START_TEST),
409 (simple_launch_lines_suite), (main):
410 Small state change torture test.
412 * docs/design/part-states.txt:
413 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
414 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
415 (gst_base_sink_change_state):
416 Never take state lock from streaming thread, clean up ugly
417 hacks. Unfortunatly core does not yet support nice ways to
420 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
422 Start state recalc if a STATE_DIRTY message is posted, but only
425 * gst/gstelement.c: (gst_element_sync_state_with_parent),
426 (gst_element_get_state_func), (gst_element_abort_state),
427 (gst_element_commit_state), (gst_element_lost_state),
428 (gst_element_set_state_func), (gst_element_change_state):
430 State variables are now protected with the LOCK, the state
431 lock is only used to serialize _set_state().
433 2005-10-18 Wim Taymans <wim@fluendo.com>
435 * check/gst/gstbin.c: (GST_START_TEST):
436 * check/gst/gstmessage.c: (GST_START_TEST):
437 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
438 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
440 * gst/gstelement.c: (gst_element_abort_state),
441 (gst_element_commit_state), (gst_element_lost_state):
442 * gst/gstmessage.c: (gst_message_new_state_changed),
443 (gst_message_new_state_dirty), (gst_message_new_segment_start),
444 (gst_message_new_segment_done), (gst_message_new_duration),
445 (gst_message_parse_state_changed),
446 (gst_message_parse_segment_start),
447 (gst_message_parse_segment_done), (gst_message_parse_duration):
449 * tools/gst-launch.c: (event_loop):
450 Seriously, this is better than a previous commit as we only need
451 to notify the fact that an element changed state in a streaming
452 thread, marking the state of the parents dirty, hence the
453 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
456 2005-10-18 Wim Taymans <wim@fluendo.com>
458 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
459 (gst_bin_recalc_func):
460 * gst/gstelement.c: (gst_element_set_clock),
461 (gst_element_abort_state), (gst_element_lost_state):
462 Cleanups, prepare for state change fixes.
464 2005-10-18 Wim Taymans <wim@fluendo.com>
467 * gst/gstelement.c: (gst_element_class_init),
468 (gst_element_set_state), (gst_element_set_state_func):
471 GThreadPool in GstBinClass to monitor async state changes.
472 state_cookie in GstElement to detect concurrent gst/set state.
473 set_state is now virtual too in case a very complicated element
474 has to be constructed.
476 2005-10-18 Wim Taymans <wim@fluendo.com>
478 * check/gst/gstbin.c: (GST_START_TEST):
479 * check/gst/gstmessage.c: (GST_START_TEST):
480 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
481 * gst/gstbin.c: (bin_bus_handler):
482 * gst/gstelement.c: (gst_element_commit_state),
483 (gst_element_lost_state):
484 * gst/gstmessage.c: (gst_message_new_state_changed),
485 (gst_message_new_segment_start), (gst_message_new_segment_done),
486 (gst_message_new_duration), (gst_message_parse_state_changed),
487 (gst_message_parse_segment_start),
488 (gst_message_parse_segment_done), (gst_message_parse_duration):
490 * tools/gst-launch.c: (event_loop):
491 Make messages future proof.
492 state-change gets a flag if it was a message comming from the
494 segment-start/stop can also be specified in other formats.
495 A message to notify an app that a pipeline changed playback
497 Also fix a GstMessage leak in -launch
499 2005-10-18 Andy Wingo <wingo@pobox.com>
501 * gst/gstelement.c (gst_element_dispose): More helpful message.
503 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
505 * gst/gstregistry.c: (gst_registry_scan_path_level):
506 unref a plug-in we get that was already initialized
508 2005-10-18 Stefan Kost <ensonic@users.sf.net>
510 * docs/gst/gstreamer-sections.txt:
511 * docs/libs/gstreamer-libs-sections.txt:
516 2005-10-17 Andy Wingo <wingo@pobox.com>
518 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
521 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
523 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
525 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
526 (gst_element_get_state_func): Better debug message.
527 (gst_element_commit_state): s/INFO/DEBUG/.
528 (gst_element_lost_state, gst_element_change_state):
530 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
531 (gst_message_new_custom): s/INFO/LOG/.
533 2005-10-17 Michael Smith <msmith@fluendo.com>
535 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
536 Check if end time is valid using end time, not start time.
538 2005-10-17 Stefan Kost <ensonic@users.sf.net>
540 * check/gst-libs/controller.c: (GST_START_TEST),
541 (gst_controller_suite):
542 * libs/gst/controller/gstcontroller.c:
543 (gst_controlled_property_set_interpolation_mode):
544 * libs/gst/controller/gstcontroller.h:
545 * libs/gst/controller/gstinterpolation.c:
546 * testsuite/controller/.cvsignore:
547 * testsuite/controller/Makefile.am:
548 * testsuite/controller/interpolator.c:
549 merge controller testsuites
551 remove mem-chunk from docs
553 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
557 * gst/gsttrashstack.c:
558 * gst/gsttrashstack.h:
559 out. get out. you're fired. to the Attic !
561 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
563 * gst/gstcaps.c: (gst_caps_intersect):
564 fix signedness issues in a (hopefully) correct way
565 * gst/gstelement.c: (gst_element_pads_activate):
567 * gst/gstobject.c: (gst_object_set_parent):
570 2005-10-17 Julien MOUTTE <julien@moutte.net>
572 * gst/gstvalue.h: Fix prototypes.
574 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
576 * docs/gst/gstreamer-sections.txt:
577 * gst/gst.c: (gst_version_string):
579 * gst/gstversion.h.in:
580 * win32/common/libgstreamer.def:
581 add gst_version_string ()
583 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
587 * gst/gst.c: (init_post):
588 * win32/common/config.h.in:
590 * gst/gstcaps.c: (gst_caps_intersect):
591 use gint64, the range could be bigger than a guint
593 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
596 document potential problem in 2038
598 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
600 * gst/gstcaps.c: (gst_caps_intersect):
601 Fix guint j diving under 0
603 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
606 * win32/common/config.h:
607 * win32/common/config.h.in:
608 check for process.h, declares getpid() on Windows
610 include process.h if we have it
611 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
613 fix signedness issues
614 * win32/common/libgstreamer.def:
617 2005-10-16 Julien MOUTTE <julien@moutte.net>
619 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
620 fix. Because of unsigned ints, caps intersection was going nuts and
621 trying to access structures with G_MAXUINT index. That fixes
622 videotestsrc ! ffmpegcolorspace ! fakesink
623 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
626 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
629 use the gettext macro
630 * gst/elements/gstelements.c:
632 * gst/indexers/gstindexers.c:
633 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
634 * win32/common/config.h:
636 * win32/common/config.h.in:
637 add the template to generate config.h
638 * win32/common/gstenumtypes.c:
639 * win32/common/gstversion.h:
642 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
644 * gst/gst.c: (gst_version):
645 * gst/gstversion.h.in:
648 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
651 Oops, add missing closing bracket.
653 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
656 use common m4's for argument checking
658 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
660 * docs/gst/gstreamer-sections.txt:
662 Add GST_EVENT_TYPE_NAME() macro.
664 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
667 * gst/gstpluginfeature.c:
669 privatize more symbols
671 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
674 add srcdir, builddir includes to GST_ALL_CFLAGS, since
675 everything that uses GStreamer API should have the includes
677 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
679 * docs/gst/gstreamer-sections.txt:
680 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
682 give each value a _get_type, removes the DATA exports
684 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
688 remove _gst_registry_auto_load, not used anymore
689 * gst/gstbin.c: (gst_bin_get_type):
691 * gst/gstelement.c: (gst_element_get_type):
693 * gst/gstobject.c: (gst_object_get_type):
695 * gst/gstpad.c: (gst_pad_get_type):
697 make _get_type functions similar, fixes data export from library
699 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
702 correctly make conditionals
703 * gst/elements/Makefile.am:
704 * gst/elements/gstelements.c:
705 fix typo causing fdsrc not to build
707 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
709 * testsuite/Makefile.am:
710 * testsuite/bytestream/.cvsignore:
711 * testsuite/bytestream/Makefile.am:
712 * testsuite/bytestream/filepadsink.c:
713 * testsuite/bytestream/gstbstest.c:
714 * testsuite/bytestream/test1.c:
715 * testsuite/bytestream/testfile1:
716 * testsuite/caps/normalisation.c:
717 * testsuite/caps/random.c: (main):
718 * testsuite/cleanup/.cvsignore:
719 * testsuite/cleanup/Makefile.am:
720 * testsuite/cleanup/cleanup1.c:
721 * testsuite/cleanup/cleanup2.c:
722 * testsuite/cleanup/cleanup3.c:
723 * testsuite/cleanup/cleanup4.c:
724 * testsuite/cleanup/cleanup5.c:
725 * testsuite/controller/interpolator.c:
726 * testsuite/debug/printf_extension.c: (main):
727 * testsuite/elements/tee.c:
728 * testsuite/negotiation/.cvsignore:
729 * testsuite/negotiation/Makefile.am:
730 * testsuite/negotiation/pad_link.c:
731 * testsuite/pad/Makefile.am:
732 * testsuite/pad/chainnopull.c:
733 * testsuite/pad/getnopush.c:
734 * testsuite/pad/link.c:
735 * testsuite/refcounting/sched.c: (create_pipeline):
736 * testsuite/registry/Makefile.am:
737 * testsuite/registry/gst-print-formats.c:
738 * testsuite/schedulers/.cvsignore:
739 * testsuite/schedulers/142183-2.c:
740 * testsuite/schedulers/142183.c:
741 * testsuite/schedulers/143777-2.c:
742 * testsuite/schedulers/143777.c:
743 * testsuite/schedulers/147713.c:
744 * testsuite/schedulers/147819.c:
745 * testsuite/schedulers/147894-2.c:
746 * testsuite/schedulers/147894.c:
747 * testsuite/schedulers/Makefile.am:
748 * testsuite/schedulers/group_link.c:
749 * testsuite/schedulers/queue_link.c:
750 * testsuite/schedulers/relink.c:
751 * testsuite/schedulers/unlink.c:
752 * testsuite/schedulers/unref.c:
753 * testsuite/schedulers/useless_iteration.c:
754 * testsuite/states/bin.c:
755 clean out/remove some stuff from the testsuite directories
757 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
760 check for some headers
761 * gst/elements/Makefile.am:
762 * gst/elements/gstelements.c:
763 don't compile fdsrc without sys/socket.h
764 * gst/indexers/Makefile.am:
765 * gst/indexers/gstindexers.c: (plugin_init):
766 don't compile fileindex without mmap
768 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
776 * docs/gst/Makefile.am:
777 * examples/helloworld/Makefile.am:
779 * gst/base/Makefile.am:
780 * gst/check/Makefile.am:
781 * gst/elements/Makefile.am:
782 * gst/indexers/Makefile.am:
783 * gst/parse/Makefile.am:
784 * libs/gst/controller/Makefile.am:
785 * libs/gst/dataprotocol/Makefile.am:
786 * examples/helloworld/helloworld.c: (event_loop):
787 compile fixes, though it's not being compiled currently
789 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
791 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
792 Add some simple tests for the new taglist date API.
794 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
796 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
797 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
798 Beautify 'last-message' output: print 'none' for buffer timestamps
799 and durations if none is set; improve alignment with next messages.
801 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
803 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
804 * gst/gstpluginfeature.h:
805 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
807 * docs/gst/gstreamer-sections.txt:
808 Add new API to check plugin feature version requirements.
810 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
811 Some basic tests for the above.
813 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
815 * gst/gststructure.c: (gst_structure_to_string):
816 guard against NULL printf - happens when for example
817 a message structure with GstClock gets serialized
819 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
821 * gst/base/gstcollectpads.c: (gst_collectpads_event):
822 Fix presumable copy'n'pasto.
824 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
826 * gst/elements/gstfakesrc.h:
827 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
828 * gst/elements/gsttypefindelement.c:
830 * gst/elements/gstfilesink.c: (gst_file_sink_render):
831 I wonder if this could actually write +2GB files before
833 2005-10-13 Andy Wingo <wingo@pobox.com>
835 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
836 Fix Timmeke Waymans bug.
837 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
838 string of the proper length to gst_caps_from_string. There's a
839 potential for, before this fix, that this could cause someone
840 connecting over the network to cause a segfault if the payload is
843 2005-10-13 Stefan Kost <ensonic@users.sf.net>
845 * docs/design/draft-push-pull.txt:
846 * docs/design/part-overview.txt:
847 * docs/random/TODO-pre-0.9:
848 * docs/random/old/ChangeLog.gstreamer:
849 * gst/base/gstpushsrc.c:
853 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
855 * gst/glib-compat.c: (gst_flags_get_first_value):
857 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
858 (gst_value_compare_double), (gst_value_serialize_flags):
859 GLib 2.6 g_flags_get_first_value has a bug that triggers an
862 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
864 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
865 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
867 * tools/gst-launch.c: (event_loop):
868 print out clock nicely
870 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
872 * docs/gst/gstreamer-sections.txt:
874 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
875 (gst_tag_list_get_date_index):
876 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
877 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
879 2005-10-13 Julien MOUTTE <julien@moutte.net>
881 * gst/base/gstcollectpads.c: (gst_collectpads_event),
882 (gst_collectpads_chain):
883 * gst/base/gstcollectpads.h: Handle newsegment and store informations
886 2005-10-13 Stefan Kost <ensonic@users.sf.net>
888 * docs/gst/gstreamer-sections.txt:
891 * tools/gst-inspect.c: (main):
892 * tools/gst-launch.c: (main):
893 * tools/gst-run.c: (main):
894 * tools/gst-xmlinspect.c: (main):
895 fix GOption context leaks
898 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
902 * win32/common/config.h:
904 * win32/vs6/grammar.dsp:
905 * win32/vs6/libgstelements.dsp:
906 * win32/vs6/libgstreamer.dsp:
909 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
911 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
912 * gst/base/gstbasesrc.c: (gst_base_src_query):
913 fix more guint64<->gdouble conversions
915 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
918 add win32-update target
919 * win32/common/gstconfig.h:
920 * win32/common/gstenumtypes.c:
921 * win32/common/gstenumtypes.h:
922 * win32/common/gstversion.h:
923 add files that visual studio can't generate
925 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
928 add a win32-update target
931 2005-10-12 Wim Taymans <wim@fluendo.com>
933 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
934 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
935 * gst/gstelement.c: (gst_element_commit_state),
936 (gst_element_set_state):
937 Protect flags with proper lock.
938 unref provided cached clock in dispose.
940 2005-10-12 Stefan Kost <ensonic@users.sf.net>
943 * gst/gstminiobject.h:
945 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
946 removed unused flags from miniobject
949 2005-10-12 Wim Taymans <wim@fluendo.com>
951 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
952 (gst_file_sink_event), (gst_file_sink_render):
953 Flush before seeking.
955 2005-10-12 Andy Wingo <wingo@pobox.com>
957 * gst/gst.c (gst_init_check): Ignore unknown options, as has
958 always been the case.
960 2005-10-12 Stefan Kost <ensonic@users.sf.net>
962 * check/gst/gstbin.c: (GST_START_TEST):
963 * docs/gst/gstreamer-sections.txt:
964 * gst/base/gstbasesink.c: (gst_base_sink_init):
965 * gst/base/gstbasesrc.c: (gst_base_src_init),
966 (gst_base_src_get_range), (gst_base_src_check_get_range),
967 (gst_base_src_start), (gst_base_src_stop):
968 * gst/base/gstbasesrc.h:
969 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
970 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
971 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
975 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
977 * gst/gstelement.c: (gst_element_is_locked_state),
978 (gst_element_set_locked_state), (gst_element_commit_state),
979 (gst_element_set_state):
981 * gst/gstindex.c: (gst_index_init):
983 * gst/gstminiobject.h:
984 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
985 (gst_object_set_parent):
987 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
988 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
990 * gst/gstpadtemplate.h:
991 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
992 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
994 * gst/indexers/gstfileindex.c: (gst_file_index_load),
995 (gst_file_index_commit):
996 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
997 * testsuite/pad/link.c: (gst_test_src_init),
998 (gst_test_filter_init), (gst_test_sink_init):
999 * testsuite/states/locked.c: (main):
1000 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1001 moved bitshift from macro to enum definition
1003 2005-10-12 Wim Taymans <wim@fluendo.com>
1005 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1006 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1007 (gst_file_sink_render):
1008 Some more debugging info.
1010 2005-10-12 Wim Taymans <wim@fluendo.com>
1012 * docs/design/part-states.txt:
1013 * tools/gst-launch.c: (main):
1015 Revert non-intentional change.
1017 2005-10-12 Wim Taymans <wim@fluendo.com>
1019 * check/gst/gstbin.c: (GST_START_TEST):
1020 * check/gst/gstelement.c: (GST_START_TEST):
1021 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1022 * check/gst/gstghostpad.c: (GST_START_TEST):
1023 * check/gst/gstpipeline.c: (GST_START_TEST):
1024 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1025 * check/states/sinks.c: (GST_START_TEST):
1026 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1027 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1028 (gst_bin_remove_func), (gst_bin_get_state_func),
1029 (gst_bin_recalc_state), (gst_bin_change_state_func),
1031 * gst/gstelement.c: (gst_element_get_state_func),
1032 (gst_element_get_state), (gst_element_abort_state),
1033 (gst_element_commit_state), (gst_element_set_state),
1034 (gst_element_change_state), (gst_element_change_state_func):
1036 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1037 (gst_pipeline_provide_clock_func):
1038 * gst/gstutils.c: (gst_element_link_pads_filtered):
1039 * tools/gst-launch.c: (main):
1040 * tools/gst-typefind.c: (main):
1041 Use GstClockTime in _get_state() instead of GTimeVal.
1042 Remove old code in gstutils.c
1044 2005-10-12 Andy Wingo <wingo@pobox.com>
1046 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1049 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1050 there is no task. Shouldn't affect any code, as nothing in our
1051 plugins checks this return value.
1052 (gst_pad_stop_task): Also take the stream lock if the pad has no
1055 2005-10-12 Wim Taymans <wim@fluendo.com>
1057 * gst/gstpad.c: (pre_activate), (post_activate),
1058 (gst_pad_activate_pull), (gst_pad_activate_push):
1059 Cleanup activation code. Reset old state if
1062 2005-10-12 Wim Taymans <wim@fluendo.com>
1064 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1065 (gst_base_sink_change_state):
1066 No need to prerol after receiving EOS.
1068 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1069 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1070 * gst/elements/gstidentity.c: (gst_identity_event):
1071 Print events more verbosely.
1073 2005-10-12 Wim Taymans <wim@fluendo.com>
1075 * check/Makefile.am:
1076 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1077 * check/states/sinks2.c:
1078 Moved sinks2 testcode in sinks check.
1080 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1081 (gst_bin_remove_func), (gst_bin_recalc_state),
1082 (gst_bin_change_state_func), (bin_bus_handler):
1083 Fix potential race condition when _get_state() iterated over an
1084 ASYNC element right before it posted a state completion.
1087 Do proper cast here.
1089 * gst/gstevent.c: (gst_event_new_newsegment),
1090 (gst_event_parse_newsegment):
1091 A playback rate of 0.0 is not allowed.
1093 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1095 * win32/common/config.h:
1096 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1097 (_trewinddir), (_ttelldir), (_tseekdir):
1098 * win32/common/dirent.h:
1099 * win32/common/gtchar.h:
1100 * win32/common/libgstbase.def:
1101 * win32/common/libgstreamer.def:
1102 * win32/vs6/grammar.dsp:
1103 * win32/vs6/gst_inspect.dsp:
1104 * win32/vs6/gst_launch.dsp:
1105 * win32/vs6/gstreamer.dsw:
1106 * win32/vs6/libgstbase.dsp:
1107 * win32/vs6/libgstelements.dsp:
1108 * win32/vs6/libgstreamer.dsp:
1109 Visual Studio 6 project files, and a new common directory.
1112 2005-10-11 Wim Taymans <wim@fluendo.com>
1114 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1115 (gst_base_sink_do_sync), (gst_base_sink_query),
1116 (gst_base_sink_change_state):
1117 * gst/base/gstbasesink.h:
1118 Correctly parse newsegment info.
1120 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1122 * gst/gst.c: (init_post):
1123 split plugin paths correctly
1125 2005-10-11 Wim Taymans <wim@fluendo.com>
1127 * check/gst/gstevent.c: (GST_START_TEST):
1128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1129 (gst_base_sink_change_state):
1130 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1131 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1132 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1133 * gst/gstevent.c: (gst_event_new_newsegment),
1134 (gst_event_parse_newsegment):
1136 Added extra flag to newsegment for future API freeze.
1137 Updated check and base elements.
1139 2005-10-11 Julien MOUTTE <julien@moutte.net>
1141 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1142 (gst_collectpads_add_pad), (gst_collectpads_pop),
1143 (gst_collectpads_event), (gst_collectpads_chain):
1144 * gst/base/gstcollectpads.h: Handle EOS correctly.
1146 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1148 * tools/gst-launch.c: (main):
1149 more null protecting
1151 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1153 * gst/gst-i18n-lib.h:
1154 check for ENABLE_NLS, not GETTEXT_PACKAGE
1155 * gst/gstregistry.c: (gst_registry_add_plugin),
1156 (gst_registry_scan_path_level),
1157 (_gst_registry_remove_cache_plugins):
1158 protect possibly NULL strings
1159 * gst/parse/types.h:
1160 config.h already included before
1161 * tools/gst-inspect.c: (main):
1162 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1163 check for ENABLE_NLS, not GETTEXT_PACKAGE
1164 * tools/gst-launch.c: (main):
1165 check for ENABLE_NLS, not GETTEXT_PACKAGE
1167 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1170 if we don't have glib, fail before testing 2.8
1171 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1172 fix a leak, should fix plugins-base testsuite
1174 2005-10-11 Andy Wingo <wingo@pobox.com>
1176 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1177 take the mode we're going to as an arg. Go head and set the mode
1178 and flushing flags now, so that if the activate function starts a
1179 thread all the flags will be in the right state.
1180 (post_activate): Renamed also. Just handle making sure streaming
1181 finishes for the deactivation case, and setting the deactivated
1183 (gst_pad_set_active): Complain loudly if deactivation fails.
1184 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1185 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1186 remove the terrible hack.
1188 2005-10-11 Wim Taymans <wim@fluendo.com>
1190 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1191 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1192 (gst_bin_recalc_state), (gst_bin_change_state_func),
1193 (gst_bin_dispose), (bin_bus_handler):
1195 Prepare to make current EOS message queue more generic.
1198 * gst/gstevent.c: (gst_event_new_newsegment),
1199 (gst_event_parse_newsegment):
1201 Rename base to stream_time.
1206 2005-10-11 Wim Taymans <wim@fluendo.com>
1208 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1209 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1210 (gst_bin_change_state_func), (bin_bus_handler):
1212 Work on proper clock selection.
1214 2005-10-11 Edward Hervey <edward@fluendo.com>
1216 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1217 * libs/gst/controller/gstcontroller.h:
1218 Added GList* version of _remove_properties() in order to be able to wrap
1221 2005-10-11 Wim Taymans <wim@fluendo.com>
1223 * docs/design/part-states.txt:
1226 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1227 (gst_bin_change_state_func), (bin_bus_handler):
1228 Doc updates. Don't distribute the same clock over and over again.
1234 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1235 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1236 (gst_pad_send_event):
1238 Make probe emission threadsafe again.
1239 Register quarks and move _get_name() from utils.
1242 * gst/gstpipeline.c: (gst_pipeline_class_init),
1243 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1244 Only redistribute the clock of it changed.
1246 * gst/gstsystemclock.h:
1251 Moved the _flow_get_name() to GstPad.
1253 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1255 * check/gst-libs/gdp.c: (GST_START_TEST):
1256 * check/gst/gstcaps.c: (GST_START_TEST):
1257 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1258 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1259 (gst_dp_packet_from_caps):
1260 fix more valgrind warnings before turning up the heat
1262 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1264 * gst/parse/grammar.y:
1265 some cleanup before the hacking
1267 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1269 * gst/base/gstbasesrc.c: (gst_base_src_query):
1271 * gst/gstutils.c: (gst_guint64_to_gdouble),
1272 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1274 externalize, basesrc uses it
1275 obviously the implementation needs testing
1277 2005-10-10 Wim Taymans <wim@fluendo.com>
1279 * tests/sched/Makefile.am:
1280 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1281 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1283 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1285 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1286 apparently converting from guint64 to double is not implemented
1289 2005-10-10 Wim Taymans <wim@fluendo.com>
1291 * check/Makefile.am:
1292 * check/generic/states.c: (GST_START_TEST):
1293 * check/gst/gstbin.c: (GST_START_TEST):
1294 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1295 * check/states/sinks.c: (GST_START_TEST):
1296 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1298 Check fixes, use API as stated in design docs, remove hacks.
1300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1301 (gst_base_sink_change_state):
1302 Catch stopping our task while we're shutting down.
1304 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1305 (gst_bin_remove_func), (gst_bin_get_state_func),
1306 (gst_bin_recalc_state), (gst_bin_change_state_func),
1309 * gst/gstelement.c: (gst_element_init),
1310 (gst_element_get_state_func), (gst_element_abort_state),
1311 (gst_element_commit_state), (gst_element_lost_state),
1312 (gst_element_set_state), (gst_element_change_state),
1313 (gst_element_change_state_func):
1315 New state change algorithm (see #318116)
1317 * gst/gstpipeline.c: (gst_pipeline_class_init),
1318 (gst_pipeline_init), (gst_pipeline_set_property),
1319 (gst_pipeline_get_property), (do_pipeline_seek),
1320 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1321 * gst/gstpipeline.h:
1322 Remove crude state change hacks.
1327 * tools/gst-launch.c: (main):
1328 Fixes for state change. Needs some more work to fully use the
1331 2005-10-10 Andy Wingo <wingo@pobox.com>
1333 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1335 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1336 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1339 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1341 * gst/gstiterator.c: (gst_iterator_new):
1342 Fix my previous commit: GTypes passed to gst_iterator_new()
1343 can be fundamental types.
1345 2005-10-10 Wim Taymans <wim@fluendo.com>
1347 * gst/gstelement.c: (gst_element_iterate_pad_list),
1348 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1349 (gst_element_iterate_sink_pads):
1350 Use src/sink pads lists for the respective iterators instead
1353 2005-10-10 Andy Wingo <wingo@pobox.com>
1355 Merged in popt removal + GOption addition patch from Ronald, bug
1358 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1359 GstElement macros around, remove popt-related symbols, add goption
1362 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1364 * docs/gst/Makefile.am:
1365 * docs/libs/Makefile.am: No POPT_CFLAGS.
1367 * examples/manual/Makefile.am:
1368 * docs/manual/basics-init.xml: Doc updates with an example.
1370 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1371 (gst_init), (parse_one_option), (parse_goption_arg):
1372 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1373 bit of hand merging and debugging to get the GOption stuff working
1376 * tests/Makefile.am:
1377 * tools/Makefile.am:
1378 * tools/gst-inspect.c: (main):
1379 * tools/gst-launch.c: (main):
1380 * tools/gst-run.c: (main):
1381 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1383 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1385 * gst/gstiterator.c: (gst_iterator_new):
1386 Add assertions to make sure passed GType is likely to really
1387 be a GType (as the compiler won't catch it if the size and
1388 GType arguments get mixed up, see #318447).
1390 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1392 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1394 * gst/gstbin.c: (gst_bin_iterate_sorted):
1395 Pass GType and size arguments to gst_iterator_new() in the right
1396 order (maybe we should make _new() take the GType as first argument
1397 just like _new_list()?) (#318447).
1400 2005-10-10 Wim Taymans <wim@fluendo.com>
1402 * gst/gstelement.c: (gst_element_finalize):
1403 And free the GStaticRecMutex too
1405 2005-10-10 Andy Wingo <wingo@pobox.com>
1407 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1408 Allocate and free the mutex properly.
1410 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1412 (GstElement): The state_lock is now recursive. Rebuild your
1413 plugins, suckers. Old macros adapted.
1415 * docs/gst/gstreamer-sections.txt: Doc updates.
1418 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1419 (g_static_rec_cond_wait): Ported from state changes patch, while
1420 we wait on bug #317802 to be solved in a well-distributed GLib.
1422 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1423 gst_element_change_state, variable name changes.
1424 (gst_element_change_state): Split out of gst_element_set_state in
1425 preparation for the state change merge. Doesn't pay attention to
1426 the 'transition' argument.
1427 (gst_element_set_state): Updates, hopefully purely cosmetic.
1428 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1430 (gst_element_get_state_func): Renamed from get_state, cosmetic
1433 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1435 * gst/elements/gstelements.c:
1436 * win32/GStreamer.vcproj:
1438 * win32/dirent.c: (_tseekdir):
1439 * win32/gst-inspect.vcproj:
1440 * win32/gst-launch.vcproj:
1441 * win32/gstconfig.h:
1442 * win32/gstelements.vcproj:
1443 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1444 * win32/gstreamer.def:
1446 updates for the win32 build (patch from Sebastien Moutte)
1448 2005-10-10 Andy Wingo <wingo@pobox.com>
1450 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1451 gst_bin_get_state, cleaned up (but no logic changes).
1452 (bin_element_is_sink): Comment updates.
1453 (sink_iterator_filter): Remove needless cast.
1454 (gst_bin_iterate_sinks): Doc update.
1455 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1456 cleaned up (but no logic changes).
1458 * check/states/sinks.c (test_src_sink): Cleanups from the state
1460 (test_livesrc_sink): Sync on the state.
1462 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1463 the state change patch.
1465 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1468 * check/gst/gstbin.c: Merge in some style fixes and additional
1469 checks from Wim's state change patch.
1471 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1473 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1474 (gst_type_find_helper):
1475 Check whether we have the requested data already in our list of
1476 cached buffers before pulling a new buffer; also make the buffer
1477 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1479 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1484 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1485 don't use long long, it's not portable. Replacing with
1486 gint64 seems to work; let's hope no skeletons fall out of the closet.
1488 2005-10-10 Andy Wingo <wingo@pobox.com>
1490 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1492 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1494 * docs/gst/gstreamer-sections.txt:
1499 * gst/gstmessage.c: (gst_message_parse_state_changed):
1502 more docs, fix compilation
1504 2005-10-09 Philippe Khalaf <burger@speedy.org>
1506 Fixed a few forgotten variables on previous commit
1508 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1510 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1511 Fix evil typefind crasher: getrange() might return a short
1512 buffer at the end of a file, but gst_type_find_peek() must
1513 either return the full data as requested or NULL, but
1514 never a short buffer.
1516 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1518 * gst/gstmessage.c: (gst_message_new_state_changed),
1519 (gst_message_parse_state_changed):
1521 don't use "new", it's a C++ keyword
1523 2005-10-08 Wim Taymans <wim@fluendo.com>
1525 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1526 * gst/gstelement.c: (gst_element_post_message):
1527 * gst/gstpipeline.c: (gst_pipeline_change_state):
1528 Small docs and debug updates.
1530 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1532 * docs/gst/gstreamer-sections.txt:
1533 * gst/gstelementfactory.c:
1538 2005-10-08 Wim Taymans <wim@fluendo.com>
1540 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1541 (gst_bin_dispose), (bin_bus_handler):
1542 Fix typos, add comments.
1543 Clear EOS list when going to PAUSED from any direction and do it
1544 in a threadsafe way.
1545 Get base time in a threadsafe way too.
1546 Fix confusing debug in the change_state function.
1547 Various other small cleanups.
1549 * gst/gstelement.c: (gst_element_post_message):
1550 Fix very verbose bus posting code.
1552 * gst/gstpipeline.c: (gst_pipeline_class_init),
1553 (gst_pipeline_set_property), (gst_pipeline_get_property),
1554 (gst_pipeline_change_state):
1555 Small ARG_ -> PROP_ cleanup
1557 2005-10-08 Wim Taymans <wim@fluendo.com>
1559 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1560 Do a less CPU demanding EOS check because we can.
1562 2005-10-08 Wim Taymans <wim@fluendo.com>
1564 * libs/gst/dataprotocol/dataprotocol.c:
1565 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1566 (gst_dp_packet_from_event):
1567 * libs/gst/dataprotocol/dataprotocol.h:
1568 * libs/gst/dataprotocol/dp-private.h:
1569 It's about time we bump the version number.
1570 Since event types don't fit in the guint8 anymore describing
1571 the payload type, make payload type 16 bits wide.
1573 2005-10-08 Wim Taymans <wim@fluendo.com>
1575 * docs/design/part-TODO.txt:
1576 * docs/design/part-clocks.txt:
1577 * docs/design/part-events.txt:
1578 * docs/design/part-gstbin.txt:
1579 * docs/design/part-gstelement.txt:
1580 * docs/design/part-gstpipeline.txt:
1581 * docs/design/part-live-source.txt:
1582 * docs/design/part-messages.txt:
1583 * docs/design/part-overview.txt:
1584 * docs/design/part-states.txt:
1587 2005-10-08 Wim Taymans <wim@fluendo.com>
1591 Fix event quark registration.
1592 Add some space between events so we can insert them in the
1595 2005-10-08 Wim Taymans <wim@fluendo.com>
1597 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1598 (gst_base_sink_handle_buffer):
1605 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1606 (gst_queue_set_property), (gst_queue_get_property):
1608 Remove old unused properties.
1610 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1611 * docs/gst/gstreamer-sections.txt:
1614 * gst/gstminiobject.c:
1615 * gst/gstminiobject.h:
1619 lots of new docs and doc fixes
1621 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1623 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1625 * gst/gstregistry.c: (gst_registry_lookup_locked),
1626 (gst_registry_scan_path_level):
1627 * gst/gstregistryxml.c: (load_plugin):
1628 Only ever load one plugin for a given plugin basename.
1629 This ensures correct overriding of GST_PLUGIN_PATH over
1630 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1631 system installed plugins.
1633 2005-10-08 Wim Taymans <wim@fluendo.com>
1635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1636 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1637 Prepare for doing QOS.
1639 2005-10-08 Wim Taymans <wim@fluendo.com>
1641 * check/gst/gstbin.c: (GST_START_TEST):
1642 * check/pipelines/cleanup.c: (GST_START_TEST):
1643 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1644 Allow new clock message too.
1646 2005-10-08 Wim Taymans <wim@fluendo.com>
1648 * gst/gstmessage.c: (gst_message_new_error),
1649 (gst_message_new_warning), (gst_message_new_tag),
1650 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1651 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1652 (gst_message_new_segment_start), (gst_message_new_segment_done),
1653 (gst_message_parse_state_changed),
1654 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1655 (gst_message_parse_new_clock):
1657 Also carry the clock in question.
1659 2005-10-08 Wim Taymans <wim@fluendo.com>
1661 * gst/gstmessage.c: (gst_message_new_custom),
1662 (gst_message_new_eos), (gst_message_new_error),
1663 (gst_message_new_warning), (gst_message_new_tag),
1664 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1665 (gst_message_new_new_clock), (gst_message_new_segment_start),
1666 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1667 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1670 Added clock related messages.
1672 * gst/gstpipeline.c: (gst_pipeline_change_state):
1673 Post message when the clock changed.
1675 * tools/gst-launch.c: (event_loop):
1678 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1680 * tools/gst-inspect.c: (print_element_properties_info):
1681 Can't pass NULL strings to g_print() on windows.
1683 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1686 * docs/gst/Makefile.am:
1687 * docs/gst/gstreamer-docs.sgml:
1688 * docs/gst/running.xml:
1689 * docs/version.entities.in:
1690 add a chapter on running GStreamer.
1691 document GST_DEBUG and GST_PLUGIN* env vars
1693 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1698 remove PLUGINS_BUILDDIR stuff
1699 * gst/gst.c: (init_post):
1700 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1702 remove, it was condescending and not needed
1704 2005-10-08 Wim Taymans <wim@fluendo.com>
1706 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1707 (gst_base_sink_handle_object), (gst_base_sink_event),
1708 (gst_base_sink_wait), (gst_base_sink_handle_event),
1709 (gst_base_sink_change_state):
1710 * gst/base/gstbasesink.h:
1711 Repost EOS message while going to PLAYING if still EOS.
1712 Make sure that when receiving a FLUSH_START we don't attempt
1713 to sync on the clock anymore.
1715 2005-10-08 Wim Taymans <wim@fluendo.com>
1717 * tools/gst-launch.c: (event_loop):
1718 Better message printout.
1720 2005-10-08 Wim Taymans <wim@fluendo.com>
1722 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1723 (gst_bin_child_proxy_get_children_count):
1724 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1725 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1726 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1727 (gst_child_proxy_set_valist):
1728 * gst/parse/grammar.y:
1729 Make ChildProxy threadsafe and fix mem leaks.
1731 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1733 * gst/gst.c: (init_post):
1734 debug the GST_PLUGIN_ env vars
1736 2005-10-08 Wim Taymans <wim@fluendo.com>
1738 * check/gst/gstbin.c: (GST_START_TEST):
1739 * check/gst/gstmessage.c: (GST_START_TEST):
1740 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1741 * gst/gstelement.c: (gst_element_commit_state),
1742 (gst_element_lost_state):
1743 * gst/gstmessage.c: (gst_message_new_state_changed),
1744 (gst_message_parse_state_changed):
1746 * tools/gst-launch.c: (event_loop):
1747 Added extra field to STATE_CHANGE message with the pending
1748 state, which will be different from the new state soon.
1750 2005-10-08 Wim Taymans <wim@fluendo.com>
1752 * gst/gstbus.c: (gst_bus_pop):
1754 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1755 Small cleanups and doc updates.
1757 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1759 * gst/gst.c: (init_pre):
1760 * gst/gstbin.c: (gst_bin_add_func):
1761 log distributing clocks and base time
1762 * gst/gstregistry.c: (gst_registry_add_plugin),
1763 (gst_registry_scan_path_level), (gst_registry_scan_path):
1764 clean up the debugging output a little
1765 * gst/gstutils.c: (gst_element_state_get_name):
1766 warn about a memleak (I've actually seen this be used, though
1767 it was probably a bug)
1769 2005-10-07 Wim Taymans <wim@fluendo.com>
1771 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1772 (gst_base_src_init), (gst_base_src_default_newsegment),
1773 (gst_base_src_newsegment), (gst_base_src_do_seek),
1774 (gst_base_src_loop), (gst_base_src_start):
1775 * gst/base/gstbasesrc.h:
1776 Make the newsegment event customizable by subclasses.
1778 2005-10-07 Wim Taymans <wim@fluendo.com>
1780 * gst/gstevent.c: (gst_event_new_buffersize),
1781 (gst_event_parse_buffersize):
1783 New event for future idea.
1785 2005-10-07 Andy Wingo <wingo@pobox.com>
1787 * gst/gstelement.c (gst_element_post_message): Doc update.
1789 * docs/gst/gstreamer-sections.txt: Update.
1791 * gst/gstmessage.c (gst_message_new_application): Made into a
1792 function like honest API calls.
1793 (gst_message_new_element): New message type.
1795 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1797 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1798 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1801 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1802 NO_PREROLL from gst_element_change_state to fall through.
1804 2005-10-07 Wim Taymans <wim@fluendo.com>
1806 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1807 (gst_ghost_pad_do_activate_push):
1808 Activating a ghostpad with no internal pad in push mode
1811 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1814 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1815 Fixes compilation on Windows.
1817 2005-10-07 Michael Smith <msmith@fluendo.com>
1819 * tools/gst-inspect.c:
1820 Print out feature and plugin count at the end when printing out
1823 2005-10-04 Michael Smith <msmith@fluendo.com>
1825 * gst/gsterror.c: (_gst_stream_errors_init):
1826 Add another error string used in a few existing plugins.
1829 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1830 * tools/gst-inspect.c: (print_element_info):
1831 When a feature disappears from a plugin (and the feature exists in
1832 the cached registry file), things went horribly wrong. This isn't a
1833 complete fix, we should actually be removing the 'missing' features
1834 from the features list when we load the actual plugin. That's not
1837 2005-10-04 Johan Dahlin <johan@gnome.org>
1839 * check/gst/gstiterator.c: (GST_START_TEST):
1840 * gst/gstbin.c: (gst_bin_iterate_elements),
1841 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1842 * gst/gstelement.c: (gst_element_iterate_pads):
1843 * gst/gstformat.c: (gst_format_iterate_definitions):
1844 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1845 (gst_iterator_new_list), (gst_iterator_filter):
1846 * gst/gstiterator.h:
1847 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1848 Add a GType to GstIterator, update callsites and tests.
1850 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1852 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1853 give events a chance to be handled by event probes when the pad
1856 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1858 * gst/gstevent.c: (gst_event_type_get_name),
1859 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1861 add string representations for event types
1863 2005-10-06 Wim Taymans <wim@fluendo.com>
1865 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1866 Don't use NULL pointers.
1868 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1870 * gst/gst_private.h:
1874 * gst/gstpluginfeature.c:
1875 widen the debug category in output to fit the biggest one we have
1876 add a bus category and use it
1877 play with the colors
1878 fix up some categories
1880 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1882 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
1883 add push activation of sink ghost pads.
1884 Andye, please verify
1886 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1888 * gst/gstutils.c: (gst_element_link_pads):
1889 fix a bug in the case where neither element has a pad
1890 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1891 add a test for that case
1893 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1895 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
1896 emit have-data before checking for peers. This allows
1897 for probe handlers to connect elements. This helps autopluggers.
1898 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
1900 add six checks, linked/unlinked with no/true/false probe
1902 2005-10-04 Wim Taymans <wim@fluendo.com>
1904 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
1905 (gst_fake_sink_event), (gst_fake_sink_preroll),
1906 (gst_fake_sink_render), (gst_fake_sink_change_state):
1907 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
1908 (gst_fake_src_get_property), (gst_fake_src_create),
1909 (gst_fake_src_stop):
1910 * gst/elements/gstidentity.c: (gst_identity_stop):
1911 Protect last_message with lock.
1913 2005-10-04 Edward Hervey <edward@fluendo.com>
1916 Added precision in the comments for GST_FORMAT_DEFAULT
1918 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
1920 * tools/gst-launch.c: (main):
1921 Don't try to run erroneous pipelines.
1923 2005-10-04 Julien MOUTTE <julien@moutte.net>
1925 * gst/gstbus.c: We don't need this header.
1927 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1932 === release 0.9.3 ===
1934 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1938 Releasing 0.9.3, "Unregistered"
1940 2005-10-03 Andy Wingo <wingo@pobox.com>
1942 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
1943 whereby calling a pad's activatepush() function can start a thread
1944 that starts to push or pull before the pad gets the FLUSHING flag
1945 unset. Hack around it by holding the stream lock until the flag is
1946 set. Need to replace this with a proper solution. Together with
1947 the ghost pad fixes, this fixes mp3 playing/tagreading.
1949 * docs/design/part-gstghostpad.txt: Add a note about activation of
1950 proxy pads outside of ghost pads.
1952 * gst/gstghostpad.c: Implement the ghost pad activation design.
1954 2005-10-02 Andy Wingo <wingo@pobox.com>
1956 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1957 It is volatile, after all.
1959 * docs/design/part-gstghostpad.txt: Flesh out activation with
1962 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1965 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1968 Fix (unused) AM_CONDITIONAL tests.
1970 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1972 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1974 * gst/gstutils.c: (gst_pad_query_convert):
1975 Add assertion that makes sure src_val is >=0, just like
1976 gst_query_new_convert() has. (#315895)
1978 2005-09-30 Edward Hervey <edward@fluendo.com>
1980 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1981 Let's not iterate pads we're not interested in, it avoids getting
1982 sky-high refcounts on sinkpad.
1984 2005-09-30 Wim Taymans <wim@fluendo.com>
1986 * gst/gstelement.c: (gst_element_set_state),
1987 (gst_element_change_state):
1988 Small tweak, element in ASYNC remains ASYNC.
1990 2005-09-30 Wim Taymans <wim@fluendo.com>
1992 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1993 Only error is an error.
1995 * gst/gstbin.c: (gst_bin_change_state):
1998 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1999 Also call pad_block in pad alloc.
2001 * gst/gstutils.c: (gst_flow_get_name):
2004 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2006 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2007 (gst_base_src_get_range):
2008 Fix documentation typos. Add some more debug info.
2010 2005-09-29 David Schleef <ds@schleef.org>
2012 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2013 more end-user friendly.
2014 * tools/gst-inspect.c: (main): Check if command-line argument is
2015 a file and attempt to load that file as a plugin.
2017 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2019 * check/gst/gstbin.c:
2020 * check/states/sinks.c:
2021 fix tests for the new warning
2022 * check/gst/gstpipeline.c:
2023 add a test for pipeline and bus interaction
2025 elements should be NULL if they get disposed; add a warning if not
2027 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2030 for 2.6 refcounting, make debug log more correct by printing
2031 the actual refcounts at the time of swap (Wim)
2033 2005-09-29 Andy Wingo <wingo@pobox.com>
2035 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2036 removes signal watches previously added via
2037 gst_bus_add_signal_watch.
2038 (gst_bus_add_signal_watch): Don't return the source id, just store
2039 it on the bus if there wasn't an id already.
2041 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2042 add_signal_watch and remove_signal_watch.
2044 2005-09-29 Edward Hervey <edward@fluendo.com>
2046 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2047 Better if we actually iterate the list :)
2049 2005-09-29 Wim Taymans <wim@fluendo.com>
2051 * check/gst/gstbin.c: (GST_START_TEST):
2052 Change for new bus API.
2054 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2055 (send_messages), (GST_START_TEST), (gstbus_suite):
2056 Change for new bus signal API.
2058 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2059 (gst_bus_source_prepare), (gst_bus_source_check),
2060 (gst_bus_create_watch), (gst_bus_add_watch_full),
2061 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2062 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2064 Remove support for multiple GSources operating on different
2065 message types as it is too complex and unneeded when using
2067 Added support for receiving signals from the bus.
2069 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2071 * docs/libs/tmpl/gstdataprotocol.sgml:
2072 * docs/manual/advanced-dataaccess.xml:
2073 * gst/elements/gstcapsfilter.c:
2075 rename filter-caps to caps property
2077 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2079 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2080 More robust fraction string parsing.
2082 * docs/pwg/appendix-porting.xml:
2083 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2085 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2087 * gst/gstcaps.c: (gst_caps_do_simplify):
2088 Thou shalt not free a structure and then continue using it
2089 in the next loop iteration.
2091 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2093 Add test case for caps simplification.
2095 2005-09-29 Wim Taymans <wim@fluendo.com>
2097 * check/gst/gstbin.c: (GST_START_TEST):
2100 2005-09-29 Wim Taymans <wim@fluendo.com>
2102 * check/gst/gstbin.c: (GST_START_TEST):
2105 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2106 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2107 (find_element), (gst_bin_sort_iterator_next),
2108 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2109 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2110 (gst_bin_change_state), (gst_bin_dispose):
2111 A bin does not have a bus, it gets the bus from the parent.
2113 * gst/gstelement.c: (gst_element_requires_clock),
2114 (gst_element_provides_clock), (gst_element_is_indexable),
2115 (gst_element_is_locked_state), (gst_element_change_state),
2116 (gst_element_set_bus_func):
2119 * gst/gstpipeline.c: (gst_pipeline_class_init),
2120 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2121 The pipeline provides a bus.
2123 2005-09-28 Johan Dahlin <johan@gnome.org>
2125 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2126 gst_structure_get_enum instead of gst_structure_get_int
2128 * gst/gststructure.c (gst_structure_get_enum): Impl.
2130 * gst/gststructure.h (gst_structure_get_enum): Add
2132 * docs/gst/gstreamer-sections.txt: Ditto
2134 * gst/gstmessage.c (gst_message_new_state_changed): Use
2135 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2136 which does introspection.
2137 Reviewed by Christian Schaller
2139 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2141 * gst/gstinfo.c: (gst_debug_log_default):
2142 don't do dummy g_strdup()s
2143 * libs/gst/controller/gstcontroller.c:
2144 (on_object_controlled_property_changed),
2145 (gst_controlled_property_new), (gst_controller_new_valist),
2146 (gst_controller_new_list),
2147 (gst_controller_remove_properties_valist), (gst_controller_set),
2148 (gst_controller_get), (gst_controller_sync_values),
2149 (gst_controller_get_value_array), (_gst_controller_class_init),
2150 (gst_controller_get_type):
2151 * libs/gst/controller/gstcontroller.h:
2152 * libs/gst/controller/gstinterpolation.c:
2153 (gst_controlled_property_find_timed_value_node):
2154 convert // to /**/ comments
2156 2005-09-28 Wim Taymans <wim@fluendo.com>
2158 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2159 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2160 (gst_bus_sync_signal_handler):
2162 Added async-message and sync-message signals to the bus.
2163 Added helper BusFunc to emit signals for all posted messages.
2165 * gst/gstmessage.c: (gst_message_type_get_name),
2166 (gst_message_type_to_quark), (gst_message_get_type):
2168 Register quarks for message names.
2170 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2172 * docs/libs/gstreamer-libs-sections.txt:
2173 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2174 (gst_controller_new_list):
2175 * libs/gst/controller/gstcontroller.h:
2176 added another constructor for language bindings
2178 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2180 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2184 * gst/gstinfo.c: (_gst_debug_init):
2185 slightly more readable color for refcount debugging
2187 2005-09-28 Wim Taymans <wim@fluendo.com>
2189 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2190 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2191 (find_element), (gst_bin_sort_iterator_next),
2192 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2193 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2194 (gst_bin_change_state), (gst_bin_dispose):
2195 Small doc fixes. get_clock -> provide_clock.
2197 * gst/gstelement.c: (gst_element_class_init),
2198 (gst_element_provides_clock), (gst_element_provide_clock),
2199 (gst_element_get_clock), (gst_element_commit_state),
2200 (gst_element_lost_state):
2202 Make get/set_clock() symetric. Add provide_clock vmethod since
2203 that is actually what this function does.
2205 * gst/gstpipeline.c: (gst_pipeline_class_init),
2206 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2207 (gst_pipeline_get_clock):
2208 get_clock -> provide_clock.
2210 2005-09-28 Andy Wingo <wingo@pobox.com>
2212 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2213 lieu of real docs...
2215 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2217 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2219 * gst/elements/gstcapsfilter.c:
2220 * gst/elements/gstfakesink.c:
2221 * gst/elements/gstfakesrc.c:
2222 * gst/elements/gstfdsink.c:
2223 * gst/elements/gstfdsrc.c:
2224 * gst/elements/gstfilesink.c:
2225 * gst/elements/gstfilesrc.c:
2226 * gst/elements/gstidentity.c:
2227 * gst/elements/gsttee.c:
2228 * gst/elements/gsttypefindelement.c:
2229 Make element details static.
2231 2005-09-28 Wim Taymans <wim@fluendo.com>
2233 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2234 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2235 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2236 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2237 (gst_bin_change_state), (gst_bin_dispose):
2238 Some documentation updates.
2239 Clean up dispose handlers.
2241 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2242 * gst/gstpad.c: (gst_pad_dispose):
2243 Clean up dispose handler.
2245 * gst/gstpipeline.c: (gst_pipeline_change_state):
2246 Removed spurious UNLOCK.
2248 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2250 * docs/gst/gstreamer-sections.txt:
2251 * gst/base/gstbasesrc.h:
2256 * gst/gstpipeline.c:
2257 * gst/gstpipeline.h:
2260 added two new functions to the docs
2261 documents all undocumented GstXXXFlags
2262 completed some incomplete docs
2264 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2266 * gst/gstbin.c: (gst_bin_dispose):
2267 * gst/gstelement.c: (gst_element_dispose):
2268 remove now useless and leaky resurrection code in dispose
2269 * gst/base/gstbasesrc.c: (gst_base_src_init):
2270 * gst/gstelementfactory.c: (gst_element_factory_create):
2271 * gst/gstobject.c: (gst_object_set_parent):
2274 2005-09-27 Wim Taymans <wim@fluendo.com>
2276 * docs/design/part-TODO.txt:
2279 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2280 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2281 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2282 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2283 (gst_bin_change_state):
2285 Remove element variable, we keep element info in the iterator now.
2287 2005-09-27 Andy Wingo <wingo@pobox.com>
2289 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2292 2005-09-27 Wim Taymans <wim@fluendo.com>
2294 * check/gst/gstbin.c: (GST_START_TEST):
2295 Enable check that works now.
2297 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2298 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2299 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2300 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2301 (gst_bin_change_state):
2303 Redid the state change algorithm using a topological sort algo.
2304 Handles all cases correctly.
2305 Exposed iterator for state change order.
2308 Temp storage for state changes. Need to get rid of this soon.
2310 2005-09-27 Wim Taymans <wim@fluendo.com>
2312 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2313 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2314 (link_fold_func), (gst_pad_proxy_setcaps):
2315 Leak fixes, the fold functions need to unref the passed object and
2316 _get_parent_*() returns ref to parent.
2318 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2320 * check/gst/gstbuffer.c: (test_make_writable):
2321 Plug leak in test case and fix 'make check-valgrind'
2323 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2325 * gst/gstbuffer.c: (gst_subbuffer_init):
2326 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2327 works correctly in all circumstances (we could have just copied
2328 the parent buffer's readonly flag, but conceptually it seems
2329 cleaner to mark all subbuffers as read-only). (based on patch
2330 by Alessandro Decina, #314710).
2332 * check/gst/gstbuffer.c: (create_read_only_buffer),
2333 (test_make_writable), (test_subbuffer_make_writable),
2335 Add some tests for gst_buffer_make_writable().
2337 2005-09-27 Wim Taymans <wim@fluendo.com>
2339 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2340 use gst_object_has_ancestor().
2342 * gst/gstobject.c: (gst_object_has_ancestor):
2344 gst_object_has_ancestor() copied from gstbin.c as it is a
2347 * tests/instantiate/create.c: (create_all_elements):
2348 * tests/lat.c: (handoff_src), (handoff_sink):
2349 * tests/sched/runxml.c: (main):
2350 * tests/seeking/seeking1.c: (main):
2351 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2353 Fix compilation of some tests.
2355 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2358 Remove comment. GST_TYPE_G_ERROR is here to stay,
2359 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2362 2005-09-26 Wim Taymans <wim@fluendo.com>
2364 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2365 Added check that shows error in state change order.
2367 2005-09-26 Wim Taymans <wim@fluendo.com>
2369 * gst/gstbin.c: (gst_bin_change_state):
2370 Make state change function use 3 queues again, we were
2371 adding elements in the wrong order.
2373 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2376 * gst/gstpad.c: (gst_pad_dispose):
2377 Added some debug info first.
2379 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2381 * docs/design/draft-push-pull.txt:
2382 * docs/design/part-events.txt:
2383 * docs/design/part-overview.txt:
2384 * docs/design/part-scheduling.txt:
2385 Replace all _pull_region() with _pull_range()
2387 2005-09-26 Andy Wingo <wingo@pobox.com>
2389 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2391 * check/gst-libs/controller.c: Update for controller api change.
2394 * tests/Makefile.am:
2395 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2396 over by GLib bug 118439.
2398 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2399 routines to a function.
2401 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2403 * libs/gst/controller/gsthelper.c:
2404 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2405 (gst_object_sync_values): Renamed from sink_values. Ugh.
2407 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2409 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2410 Renamed from controller_key, as it is exported.
2412 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2414 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2419 * gst/gstpadtemplate.h:
2422 * gst/gstqueryutils.c:
2423 * gst/gstqueryutils.h:
2424 remove queryutils headers after moving the two used functions
2425 to gstquery. also fixes build problem for gstsiddec
2427 2005-09-26 Michael Smith <msmith@fluendo.com>
2429 * tools/gst-launch.1.in:
2430 Correct documentation in manpage of debug syntax
2432 2005-09-26 Wim Taymans <wim@fluendo.com>
2434 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2435 (gst_base_src_is_seekable), (gst_base_src_change_state):
2436 Some more debugging info.
2438 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2440 * docs/gst/gstreamer-sections.txt:
2441 * gst/base/gstbasetransform.h:
2445 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2447 * docs/gst/.cvsignore:
2448 * docs/gst/tmpl/.cvsignore:
2449 * docs/gst/tmpl/gstpipeline.sgml:
2450 * docs/gst/tmpl/gstplugin.sgml:
2451 * gst/gstpipeline.c:
2454 inlined the last two docs files
2455 removed the tmpl directory from cvs (no more conflicts here!)
2457 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2459 * docs/gst/gstreamer-sections.txt:
2460 * docs/gst/tmpl/.cvsignore:
2461 * docs/gst/tmpl/gstpad.sgml:
2462 * docs/gst/tmpl/gstpadtemplate.sgml:
2464 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2465 (gst_pad_finalize), (gst_pad_set_pad_template):
2467 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2468 (gst_pad_template_class_init), (gst_pad_template_init),
2469 (gst_pad_template_dispose), (name_is_valid),
2470 (gst_static_pad_template_get), (gst_pad_template_new),
2471 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2472 (gst_pad_template_pad_created):
2473 * gst/gstpadtemplate.h:
2474 inlined two more docs
2475 factored gstpadtemplate out of gstpad
2477 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2479 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2480 (test_children_state_change_order_semi_sink):
2481 Fix test case: we can't rely on a fixed state change order when
2482 going from READY => PAUSED because the sink might commit its
2483 new state first when the first buffer created by the source
2484 reaches the sink before the source has finished its change state.
2485 (Test case still fails at times, see #316856, comment 5 onwards)
2487 2005-09-24 Wim Taymans <wim@fluendo.com>
2489 * docs/design/part-events.txt:
2490 * docs/design/part-gstbus.txt:
2491 * docs/design/part-gstpipeline.txt:
2492 * docs/design/part-messages.txt:
2493 * docs/design/part-overview.txt:
2494 * docs/design/part-segments.txt:
2501 * gst/gstiterator.c:
2502 Various documentation updates.
2504 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2507 Well, that's embarassing. Luckily we weren't using
2508 GST_CLOCK_DIFF anywhere.
2510 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2512 * common/gtk-doc.mak:
2513 don't fail on building XML, FC4 slave shows a bunch of doc
2514 missing bits that I don't get
2516 * gst/gstpipeline.c:
2517 * gst/gststructure.c:
2520 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2522 * docs/design/part-gstbin.txt:
2523 * docs/design/part-gstbus.txt:
2525 Add blurb about how the bus goes into flushing mode and
2526 drops all messages when its bin goes from READY into NULL
2529 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2531 * docs/gst/gstreamer-sections.txt:
2532 * gst/gststructure.c: (gst_structure_get_clock_time):
2533 * gst/gststructure.h:
2534 add a method to get a GstClockTime out of a structure
2536 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2538 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2539 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2540 Added test to check state change order in bins (can still be made
2541 to fail here under heavy disk load; bails out with 'Push on pad
2542 fakesink:sink0, but it was not activated in push mode').
2544 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2545 Fix state change order when there is only a semi sink (#316856)
2547 * gst/gstbus.c: (gst_bus_class_init):
2548 Use _class_peek_parent(), not _class_ref(); fix docs to say
2549 'default main context' instead of 'mainloop' where that is
2552 * gst/gstelement.c: (gst_element_commit_state),
2553 (gst_element_set_state):
2554 Fix typos in debug messages
2556 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2559 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2560 * gst/gstpluginfeature.c:
2563 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2564 change an assert into an error until it gets fixed properly
2566 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2568 * docs/gst/gstreamer-sections.txt:
2569 * docs/gst/tmpl/.cvsignore:
2570 * docs/gst/tmpl/gstelement.sgml:
2571 * docs/gst/tmpl/gstinfo.sgml:
2572 * docs/gst/tmpl/gstobject.sgml:
2577 * gst/gstobject.c: (gst_object_class_init):
2579 inlined 3 more biiiig doc files and added some missing docs on the fly
2581 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2583 * check/gst/.cvsignore:
2584 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2585 * gst/gstregistryxml.c: (load_plugin),
2586 (gst_registry_xml_save_plugin):
2587 put back source in registry. add checks for find_plugin.
2588 * testsuite/states/bin.c: (assert_state), (empty_bin),
2589 (test_adding_one_element), (main):
2590 * testsuite/states/locked.c: (main):
2591 some compile/run fixes
2593 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2595 * check/gst/gstvalue.c: (GST_START_TEST):
2596 fix leaks in the test itself
2598 2005-09-22 Wim Taymans <wim@fluendo.com>
2600 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2601 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2602 (gst_base_sink_query):
2603 Prepare for more accurate position reporting and query
2606 * gst/gstelement.c: (gst_element_send_event),
2607 (gst_element_set_state):
2610 2005-09-22 Wim Taymans <wim@fluendo.com>
2612 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2613 (gst_query_parse_segment):
2616 Add segment query for future use.
2618 2005-09-22 Wim Taymans <wim@fluendo.com>
2620 * gst/gstbin.c: (gst_bin_add_func):
2621 Some more debug info.
2623 * gst/gstelement.c: (gst_element_send_event):
2627 Don't know how flags got broken.
2632 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2634 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2635 Add simplistic test suite for GST_TYPE_DATE serialisation and
2638 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2640 * docs/gst/gstreamer-sections.txt:
2641 * gst/gststructure.c: (gst_structure_set_valist),
2642 (gst_structure_get_date):
2643 * gst/gststructure.h:
2644 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2645 (gst_date_copy), (gst_value_compare_date),
2646 (gst_value_serialize_date), (gst_value_deserialize_date),
2647 (gst_value_transform_date_string),
2648 (gst_value_transform_string_date), (_gst_value_initialize):
2650 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2651 bunch of utility functions along with a hack that checks that
2652 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2653 is required. Part of the grand scheme in #170777.
2655 2005-09-22 Andy Wingo <wingo@pobox.com>
2657 * gst/gstconfig.h.in: Psych out gtk-doc.
2659 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2661 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2663 * tools/gst-inspect.c (print_element_list): Plug some
2664 inconsequential leaks.
2666 * gst/gstregistry.c (gst_registry_get_default): Doc.
2668 * check/gst/gstplugin.c:
2669 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2670 * gst/gstelementfactory.c (gst_element_factory_create):
2671 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2674 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2675 (gst_plugin_feature_load): Doc, don't eat refs.
2677 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2678 (gst_plugin_list_free): Doc.
2679 (gst_plugin_load_file): Doc updates.
2681 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2682 accessors returning refcounted objects, return a ref.
2684 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2685 accessor for caps. IDEMPOTENCE. Oh yes.
2687 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2689 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2691 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2692 (_gst_debug_register_funcptr):
2693 Add mutex to serialise access to the hash table with
2694 the function pointer => function name string mapping;
2695 make that hash table static scope (#316809).
2697 * gst/registries/.cvsignore:
2698 Remove left-over file.
2700 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2702 * docs/pwg/appendix-porting.xml:
2703 And something about newsegment events and caps-on-buffers to
2704 the porting guide (feel free to improve).
2706 2005-09-21 Andy Wingo <wingo@pobox.com>
2708 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2709 data and event probes on the same pad.
2710 (test_buffer_probe_once): Test that removing probes from within
2711 the probe functions works.
2713 2005-09-21 Andy Wingo <wingo@pobox.com>
2715 * check/gst/gstutils.c: New file.
2716 (test_buffer_probe_n_times): A simple buffer probe test. More to
2719 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2720 have-data::buffer, not have-data.
2721 (gst_pad_add_event_probe): Likewise for have-data::event.
2722 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2723 peer' isn't quite right yet though.
2724 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2725 (gst_pad_remove_data_probe): Change to take the guint handler_id
2726 as their arg, not the function+data, which is more glib-like.
2728 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2729 the signal emission to indicate if the data is a buffer or an
2731 (gst_pad_get_type): Initialize buffer and event quarks.
2732 (gst_pad_class_init): have-data is now a detailed signal, yes it
2735 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2737 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2738 * gst/gstutils.c: (gst_util_set_value_from_string),
2739 (gst_util_set_object_arg):
2740 Don't put functional code in g_return_if_fail() or
2741 g_return_val_if_fail() statements, otherwise things will
2742 break when G_DISABLE_CHECKS is defined during compilation.
2744 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2746 * docs/gst/tmpl/.cvsignore:
2747 * docs/gst/tmpl/gstvalue.sgml:
2750 inlied another one and added some obvious docs
2752 2005-09-21 Wim Taymans <wim@fluendo.com>
2754 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2755 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2756 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2757 (gst_fdsrc_get_property), (gst_fdsrc_create):
2758 * gst/elements/gstfdsrc.h:
2759 Properly implement fdsrc. Removed signal and timeout,
2760 better implemented somewhere else.
2762 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2764 * docs/gst/tmpl/.cvsignore:
2765 * docs/gst/tmpl/gstimplementsinterface.sgml:
2766 * gst/gstinterface.c:
2769 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2771 * docs/gst/gstreamer-sections.txt:
2772 * docs/gst/tmpl/.cvsignore:
2773 * docs/gst/tmpl/gstenumtypes.sgml:
2774 remove obsolete doc file
2776 2005-09-21 David Schleef <ds@schleef.org>
2778 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2779 little beer, fix a little leak.
2781 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2783 * docs/gst/gstreamer-docs.sgml:
2784 * docs/gst/gstreamer-sections.txt:
2785 * docs/gst/tmpl/.cvsignore:
2790 * gst/gstindex.c: (gst_index_class_init):
2792 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2793 (gst_index_factory_class_init), (gst_index_factory_init),
2794 (gst_index_factory_finalize), (gst_index_factory_new),
2795 (gst_index_factory_destroy), (gst_index_factory_find),
2796 (gst_index_factory_create), (gst_index_factory_make):
2797 * gst/gstindexfactory.h:
2798 * gst/gstpluginfeature.c:
2799 * gst/gstpluginfeature.h:
2800 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2801 more docs inlined, splitted gstindex.{c,h}
2803 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2805 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2808 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2810 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2811 Set sync to FALSE by default.
2813 2005-09-20 Wim Taymans <wim@fluendo.com>
2815 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2816 (gst_base_sink_init):
2817 Make sync property settable from subclass.
2819 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2820 (gst_fake_sink_change_state):
2821 Set sync to FALSE by default.
2823 2005-09-20 Wim Taymans <wim@fluendo.com>
2825 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2826 * tools/gst-launch.c: (main):
2827 The timeout handler should have lower priority than the source
2828 so we don't timeout before popping a message with 0 timeout.
2829 Dump error messages after failed state change.
2831 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2833 * tools/gst-inspect.c: (print_element_properties_info):
2836 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2838 * check/gst/gstevent.c:
2839 * gst/elements/gstfakesink.c:
2840 * gst/elements/gstfakesink.h:
2841 remove the sync property from fakesink.
2842 has the side effect of setting sync TRUE
2843 for fakesink, which is a change. Anyone who knows how
2844 to fix this nicely in a GObject-y way, feel free.
2846 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2848 * docs/gst/gstreamer-docs.sgml:
2849 remove probe refsection
2851 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2853 * check/Makefile.am:
2854 disable valgrinding the controller test again
2855 * docs/gst/gstreamer-sections.txt:
2856 update for api-changes
2858 2005-09-20 Wim Taymans <wim@fluendo.com>
2860 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2861 (gst_base_sink_set_property), (gst_base_sink_get_property),
2862 (gst_base_sink_do_sync):
2863 * gst/base/gstbasesink.h:
2864 Added sync property to basesink to disable clock sync.
2866 2005-09-20 Andy Wingo <wingo@pobox.com>
2868 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2869 eating the caller's refcount.
2871 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2872 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2875 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2876 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2877 of GLib 2.8 public, so we can know which refcount to check in
2880 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
2881 (gst_object_init): Only set the gst refcount if we're going ahead
2882 with the refcount hack.
2884 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2886 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2887 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2888 more leaks plumbed, added more debug-logging
2892 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2895 remove include of gstmemchunk.h
2897 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2899 * gst/gstclock.c: (_gst_clock_id_free):
2900 Commit from the Political Party For More Atomic CVS Commits,
2901 so that people don't waste too much of their day fishing
2902 out obvious leaks out of massive commits.
2903 Oh, and fix a pretty damn obvious leak in the memchunk
2906 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2908 * check/Makefile.am:
2909 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2910 plug mem-leak, re-add to valgrindable tests
2912 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2915 unbreak the build for those who have chronic arthritis
2916 and typing "make check" is just too taxing on the hands
2918 2005-09-20 Andy Wingo <wingo@pobox.com>
2920 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
2921 really want it out, you should fix plugins at the same time.
2923 2005-09-19 Stefan Kost <ensonic@users.sf.net>
2926 * docs/gst/gstreamer-sections.txt:
2928 added missing symbols to api docs
2929 disable ref-count hack if we have glib >= 2.8
2931 2005-09-19 David Schleef <ds@schleef.org>
2933 * docs/gst/Makefile.am: Ignore a few more internal headers
2934 * docs/gst/gstreamer-docs.sgml: Remove old sections
2935 * docs/gst/gstreamer-sections.txt: Remove old sections
2936 * docs/gst/tmpl/gstobject.sgml: update
2937 * docs/gst/tmpl/gstplugin.sgml: update
2938 * docs/gst/tmpl/gstpluginfeature.sgml: update
2939 * docs/random/ds/0.9-suggested-changes: update.
2940 * gst/Makefile.am: remove memchunk and trashstack, since they're
2942 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
2943 * gst/gst.h: don't include some headers
2944 * gst/gstchildproxy.c: add gstmarshal.h
2945 * gst/gstclock.c: Don't use memchunks
2946 * gst/gstminiobject.c: Add some docs
2947 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2948 * gst/gstobject.h: same
2949 * gst/gstplugin.c: include gstmacros.h
2950 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2951 * gst/gstquery.c: don't use memchunks
2952 * gst/gstregistry.c: rename gst_registry_deinit()
2953 * gst/gstregistry.h: same
2955 2005-09-19 David Schleef <ds@schleef.org>
2957 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2958 * docs/libs/gstreamer-libs-sections.txt:
2959 * docs/libs/tmpl/gstgetbits.sgml:
2960 * docs/libs/tmpl/gstputbits.sgml:
2962 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2964 * win32/gstenumtypes.c:
2965 * win32/gstenumtypes.h:
2968 2005-09-19 Wim Taymans <wim@fluendo.com>
2970 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2971 Automatically PAUSE and RESUME a pipeline when a flushing seek
2974 2005-09-19 Andy Wingo <wingo@pobox.com>
2976 * gst/gstregistry.h: Spacing fixen.
2978 2005-09-19 Wim Taymans <wim@fluendo.com>
2980 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2981 Handle state change failure more correctly.
2983 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2985 * check/Makefile.am:
2986 * check/pipelines/cleanup.c: (run_pipeline):
2987 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2989 enable cleanup again after fixing the leak
2991 some more info on docs
2993 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2995 * check/Makefile.am:
2996 re-enable tests now that leaks are plugged
2998 * check/gst/gstbin.c:
2999 * check/gst/gstpipeline.c:
3000 add some more tests while fixing leaks
3002 make sure binaries are uptodate when valgrinding/gdbing
3004 * gst/gstelementfactory.c:
3005 remove a ref too many, and add a FIXME for when we get
3006 round to disposing of classes
3008 fix the refcounting when loading a plugin from a file and
3009 the code pretends that the pointer is the same even though
3010 of course it can change
3011 * gst/gstpluginfeature.c:
3012 unref plugins marked cached (a bit confusing as a name)
3013 as the docs state should be done
3014 various doc additions to explain refcounting
3015 * gst/gstregistry.c:
3016 * gst/gstregistryxml.c:
3019 2005-09-19 Wim Taymans <wim@fluendo.com>
3021 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3022 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3023 (send_messages), (GST_START_TEST), (gstbus_suite):
3024 * check/gst/gstpipeline.c: (GST_START_TEST):
3025 * check/pipelines/cleanup.c: (run_pipeline):
3026 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3028 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3029 (gst_bus_source_check), (gst_bus_source_dispatch),
3030 (gst_bus_create_watch), (gst_bus_add_watch_full),
3031 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3033 * tools/gst-launch.c: (event_loop):
3034 * tools/gst-md5sum.c: (event_loop):
3035 GstBusHandler -> GstBusFunc, return value has the same meaning as
3036 any other GSource (FALSE == remove source).
3037 _add_watch() and _add_watch_full() now take a MessageType mask to
3038 only handle specific types of messages.
3039 _poll() returns the GstMessage instead of the message type to avoid
3041 _have_pending() takes a MessageType mask now too.
3042 Added testsuite for multiple bus watches.
3043 Fix testsuites and applications for new bus API.
3045 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3047 * check/Makefile.am:
3048 mark a bunch of the tests as to fix until we fix them
3050 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3053 use GST_PLUGIN settings for valgrind tests as well, so we're
3054 valgrinding the correct thing
3055 * gst/gst.c: (init_post):
3058 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3060 * gst/gst.c: (init_post), (gst_deinit):
3061 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3062 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3063 * gst/gstindex.c: (gst_index_factory_class_init),
3064 (gst_index_factory_finalize):
3065 * gst/gstobject.c: (gst_object_dispose):
3066 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3067 (gst_plugin_load_file), (gst_plugin_desc_free):
3068 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3069 (gst_plugin_feature_finalize):
3070 * gst/gstregistry.c: (gst_registry_class_init),
3071 (gst_registry_init), (gst_registry_finalize),
3072 (gst_registry_get_default), (gst_registry_deinit):
3073 * gst/gstregistry.h:
3074 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3075 various cleanups and memleak plugging. make valgrind is happy now.
3077 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3080 add a check-valgrind target
3082 2005-09-18 David Schleef <ds@schleef.org>
3084 * tools/gst-inspect.c: Revert the GOption code.
3086 2005-09-17 David Schleef <ds@schleef.org>
3088 * check/Makefile.am: Fix environment variables.
3089 * check/gst/gstplugin.c: Fix for API changes.
3090 * tools/gst-inspect.c: Fix for API changes.
3091 * tools/gst-xmlinspect.c: Fix for API changes.
3092 * gst/gstelementfactory.c:
3095 * gst/gstpluginfeature.c:
3096 * gst/gstpluginfeature.h:
3097 * gst/gstregistry.c:
3098 * gst/gstregistry.h:
3099 * gst/gstregistryxml.c:
3100 * gst/gsttypefind.c:
3101 * gst/gsttypefindfactory.c:
3102 * gst/indexers/gstfileindex.c:
3103 * gst/indexers/gstmemindex.c:
3104 * gst/schedulers/Makefile.am:
3105 Change registry to keep track of both plugins and features,
3106 removing the feature tracking from plugins themselves.
3108 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3110 * check/Makefile.am:
3111 * tools/gst-register.1.in:
3114 2005-09-15 David Schleef <ds@schleef.org>
3116 * check/gst/gstplugin.c:
3117 * gst/gstelementfactory.c:
3119 * gst/gstpluginfeature.c:
3120 * gst/gstregistry.c:
3121 Getting tired of debugging. Disabled all the unreffing of
3122 plugins and features, which fixes the segfaults, but of
3123 course leaks like crazy. At least playbin works.
3125 2005-09-15 David Schleef <ds@schleef.org>
3127 * check/gst/gstplugin.c: (register_check_elements),
3128 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3130 * gst/elements/gsttypefindelement.c: Fix refcounting.
3131 * gst/gsttypefind.c:
3132 * gst/gsttypefindfactory.c:
3133 * gst/gsttypefindfactory.h:
3135 2005-09-15 David Schleef <ds@schleef.org>
3137 * gst/gstindex.c: get refcounting correct.
3138 * gst/gstregistry.c: Handle the case where a feature/plugin is
3141 2005-09-15 David Schleef <ds@schleef.org>
3143 * check/Makefile.am:
3144 * check/gst/gstplugin.c: Add test
3145 * gst/gstplugin.c: Fix problems noticed by testsuite
3147 * gst/gstregistry.c:
3148 * gst/gstregistry.h:
3150 2005-09-15 David Schleef <ds@schleef.org>
3152 * gst/gstplugin.c: Implement semi-decent recounting and locking
3153 in plugins and plugin features.
3155 * gst/gstpluginfeature.c:
3156 * gst/gstpluginfeature.h:
3157 * gst/gstregistry.c:
3159 2005-09-15 Michael Smith <msmith@fluendo.com>
3161 * gst/gstregistry.c: (gst_registry_get_feature_list):
3162 Implement this. Makes oggdemux work; decodebin still broken.
3164 2005-09-14 David Schleef <ds@schleef.org>
3166 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3168 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3169 * gst/check/Makefile.am:
3170 * libs/gst/controller/Makefile.am:
3171 * libs/gst/dataprotocol/Makefile.am:
3173 2005-09-14 David Schleef <ds@schleef.org>
3175 * configure.ac: Remove getbits library. Nothing uses it, and
3176 it should be in something like liboil if someone did want
3178 * libs/gst/Makefile.am:
3179 * libs/gst/getbits/Makefile.am:
3180 * libs/gst/getbits/gbtest.c:
3181 * libs/gst/getbits/getbits.c:
3182 * libs/gst/getbits/getbits.h:
3183 * libs/gst/getbits/gstgetbits_generic.c:
3184 * libs/gst/getbits/gstgetbits_i386.s:
3185 * libs/gst/getbits/gstgetbits_inl.h:
3187 2005-09-14 David Schleef <ds@schleef.org>
3189 * gst/Makefile.am: Dist glib-compat.h
3191 2005-09-14 David Schleef <ds@schleef.org>
3193 * configure.ac: Remove gst/registries, since it's no longer used.
3194 * gst/registries/Makefile.am:
3195 * gst/registries/gstlibxmlregistry.c:
3196 * gst/registries/gstlibxmlregistry.h:
3197 * gst/registries/gstxmlregistry.c:
3198 * gst/registries/gstxmlregistry.h:
3199 * gst/registries/registrytest.c:
3201 2005-09-14 David Schleef <ds@schleef.org>
3203 * gst/glib-compat.h:
3204 * gst/gstregistryxml.c:
3205 Convergence is near. Seriously.
3207 2005-09-14 David Schleef <ds@schleef.org>
3209 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3210 * gst/glib-compat.h:
3211 Attempt #4 to appease the buildbots.
3213 2005-09-14 David Schleef <ds@schleef.org>
3215 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3218 2005-09-14 David Schleef <ds@schleef.org>
3220 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3223 2005-09-14 David Schleef <ds@schleef.org>
3225 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3228 2005-09-14 David Schleef <ds@schleef.org>
3230 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3231 * gst/glib-compat.h: Add some functions that are in newer versions
3232 of glib than we care to require.
3233 * gst/gstregistryxml.c: Use them.
3235 2005-09-14 David Schleef <ds@schleef.org>
3237 * po/POTFILES.in: remove gst-register.c
3239 2005-09-14 David Schleef <ds@schleef.org>
3241 * docs/gst/gstreamer-docs.sgml:
3242 * docs/gst/gstreamer-sections.txt:
3243 * docs/gst/gstreamer.types:
3244 * docs/gst/tmpl/gstelement.sgml:
3245 * docs/gst/tmpl/gstplugin.sgml:
3246 * docs/gst/tmpl/gstpluginfeature.sgml:
3247 Documentation updates for registry changes.
3249 2005-09-14 David Schleef <ds@schleef.org>
3251 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3252 because we don't require glib-2.8.
3254 2005-09-14 David Schleef <ds@schleef.org>
3256 * gst/gstregistryxml.c: Added. Essentially moved out of the
3257 registries directory.
3259 2005-09-14 David Schleef <ds@schleef.org>
3261 * check/Makefile.am:
3262 * check/generic/states.c:
3266 * gst/gst_private.h:
3267 * gst/gstelementfactory.c:
3272 * gst/gstpluginfeature.c:
3273 * gst/gstpluginfeature.h:
3274 * gst/gstregistry.c:
3275 * gst/gstregistry.h:
3276 * gst/gstregistrypool.c: remove
3277 * gst/gstregistrypool.h: remove
3278 * gst/gsttypefind.c:
3279 * gst/gsttypefindfactory.c:
3281 * tools/Makefile.am:
3282 * tools/gst-compprep.c:
3283 * tools/gst-inspect.c:
3284 * tools/gst-register.c: remove
3285 * tools/gst-xmlinspect.c:
3286 Registry rewrite. Changes registry from being a file created
3287 by a tool into a simple cache file created automatically by
3288 libgstreamer. Removed gst-register (because it's no longer
3289 needed). Remove registry pools, because we only have one
3290 registry implementation (XML). Fix up other subsystems as
3293 2005-09-13 Michael Smith <msmith@fluendo.com>
3295 * gst/gstconfig.h.in:
3296 Don't Use windows linking attributes for MinGW. Fixes #316157
3298 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3300 * gst/gstutils.c: (set_state_async_thread_func),
3301 (gst_element_set_state_async):
3302 Apparently people think it's better if this function doesn't
3303 try to set the state to whatever state was asked for on the first
3304 call to this function for any object. Seriously.
3306 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3308 * check/gst/gstpipeline.c: (GST_START_TEST):
3309 * docs/gst/gstreamer-sections.txt:
3310 * gst/gstutils.c: (set_state_async_thread_func),
3311 (gst_element_set_state_async):
3313 add a "gst_element_set_state_async" method that
3314 sets the state and starts a thread to make sure the state
3315 change completes as best as it can
3317 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3319 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3320 codify design+behaviour in testsuite after discussion
3322 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3324 * docs/gst/tmpl/gstelement.sgml:
3325 * docs/manual/appendix-quotes.xml:
3327 * gst/gstelement.c: (gst_element_set_state):
3330 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3332 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3333 (gst_base_transform_prepare_output_buf),
3334 (gst_base_transform_handle_buffer):
3335 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3336 (gst_capsfilter_prepare_buf):
3337 Remove the requirement for sub-classes to call the parent
3338 implementation of prepare_output_buffer with a wrapper function.
3341 * gst/gsttagsetter.h:
3344 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3346 * docs/gst/gstreamer-sections.txt:
3349 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3351 * docs/gst/gstreamer-sections.txt:
3352 * docs/gst/tmpl/gstelement.sgml:
3353 * docs/gst/tmpl/gstplugin.sgml:
3354 * gst/gstminiobject.c:
3356 docs now stop throwing warnings
3358 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3360 * docs/gst/gstreamer-sections.txt:
3361 * docs/gst/gstreamer.types:
3362 * docs/gst/tmpl/gstpad.sgml:
3363 * docs/gst/tmpl/gsttypes.sgml:
3364 * gst/base/gstadapter.h:
3365 * gst/base/gstbasesink.h:
3366 * gst/base/gstbasesrc.h:
3376 * gst/gststructure.c:
3377 * gst/registries/gstlibxmlregistry.h:
3378 various documentation fixes
3380 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3382 * docs/gst/gstreamer-sections.txt:
3383 * docs/gst/tmpl/gstvalue.sgml:
3384 rearrange gstvalue section
3385 * gst/gstutils.c: (gst_element_state_get_name):
3387 * gst/gstvalue.c: (_gst_value_initialize):
3391 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3393 * check/gst-libs/controller.c:
3395 * gst/base/gstbasetransform.c:
3396 (gst_base_transform_default_prepare_buf),
3397 (gst_base_transform_handle_buffer):
3398 * gst/base/gstbasetransform.h:
3399 Some more basetransform changes and fixes to enable sub-classes
3400 that modify buffer metadata only.
3401 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3402 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3403 (gst_capsfilter_prepare_buf):
3404 If the output pad has fixed allowed caps and input buffers
3405 don't have any, set the fixed caps on outgoing buffers.
3407 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3408 * check/elements/identity.c: (GST_START_TEST):
3409 Make the error a little clearer when the test fails because
3410 identity made a copy of the buffer.
3411 * docs/gst/gstreamer-sections.txt:
3412 New symbols in gstbasetransform.h
3413 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3414 (gst_base_transform_init), (gst_base_transform_transform_size),
3415 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3416 (gst_base_transform_default_prepare_buf),
3417 (gst_base_transform_get_unit_size),
3418 (gst_base_transform_buffer_alloc),
3419 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3420 (gst_base_transform_change_state),
3421 (gst_base_transform_set_passthrough),
3422 (gst_base_transform_set_in_place),
3423 (gst_base_transform_is_in_place):
3424 * gst/base/gstbasetransform.h:
3425 Change BaseTransform to separate in_place operate from same_caps
3426 output. in_place implies that the element can perform the transform
3427 on incoming buffers in-place, even if the caps on the output are
3429 Sub-class elements can now implement special buffer allocation
3430 methods for outgoing buffers if they wish to.
3431 Big documentation addition.
3432 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3433 * gst/elements/gstelements.c:
3434 Changes for basetransform modifications.
3435 * gst/elements/Makefile.am:
3436 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3437 Compile fix. Extra debug output.
3439 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3441 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3443 add tests for valid pad naming
3444 * gst/check/gstcheck.c: (gst_check_log_message_func),
3445 (gst_check_log_critical_func):
3447 remove printing of code, it is fragile when the code contains
3448 % and the line number is enough info
3449 * gst/check/gstcheck.h:
3450 * gst/gstpad.c: (gst_pad_template_new):
3453 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3456 say what CHECK flags we use
3457 * docs/libs/gstreamer-libs.types:
3458 * libs/gst/controller/Makefile.am:
3459 * libs/gst/controller/gst-controller.c:
3460 * libs/gst/controller/gst-controller.h:
3461 * libs/gst/controller/gst-helper.c:
3462 * libs/gst/controller/gst-interpolation.c:
3463 * libs/gst/controller/gstcontroller.c:
3464 * libs/gst/controller/gsthelper.c:
3465 * libs/gst/controller/gstinterpolation.c:
3466 * tools/gst-inspect.c: (print_plugin_info):
3467 we don't use dashes in header names
3469 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3471 * check/Makefile.am:
3472 * check/gst/.cvsignore:
3473 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3474 (gst_pipeline_suite), (main):
3475 adding a test for pipelines and state changes
3476 * gst/gstutils.c: (get_state_func):
3478 * gstreamer.spec.in:
3481 2005-09-08 Michael Smith <msmith@fluendo.com>
3483 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3484 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3485 (gst_file_src_is_seekable), (gst_file_src_get_size),
3486 (gst_file_src_start):
3487 * gst/elements/gstfilesrc.h:
3488 Various fixes for unseekable, unmmapable, and non-normal files, so
3489 that fallback to read() rather than mmap() works.
3490 * gst/gstevent.c: (gst_event_new_newsegment):
3491 Allow newsegment events with segment_start == segment_end, as will
3492 correctly happen if you use filesrc on a zero-size file, for
3495 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3497 * gst/gstplugin.c: (gst_plugin_load_file):
3498 Call g_module_close when we don't load the module
3500 * gst/registries/gstlibxmlregistry.c:
3501 (gst_xml_registry_get_property):
3502 Port leak fix from 0.8
3504 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3506 * docs/gst/gstreamer-docs.sgml:
3507 * docs/gst/tmpl/.cvsignore:
3508 * docs/gst/tmpl/gsttrace.sgml:
3509 * docs/gst/tmpl/gsttrashstack.sgml:
3518 * gst/gsttaginterface.c:
3519 * gst/gsttaginterface.h:
3522 * gst/gsttagsetter.c:
3523 * gst/gsttagsetter.h:
3526 * gst/gsttrashstack.c:
3527 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3528 inlined docs for gsttrace, gsttrashstack
3530 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3533 * gst/elements/gstbufferstore.h:
3534 * gst/elements/gsttypefindelement.c:
3535 * gst/elements/gsttypefindelement.h:
3537 * gst/gsttypefind.c:
3538 * gst/gsttypefind.h:
3539 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3540 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3541 (gst_type_find_factory_dispose),
3542 (gst_type_find_factory_unload_thyself),
3543 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3544 (gst_type_find_factory_get_caps),
3545 (gst_type_find_factory_get_extensions),
3546 (gst_type_find_factory_call_function):
3547 * gst/gsttypefindfactory.h:
3548 * gst/registries/gstlibxmlregistry.c:
3549 * gst/registries/gstxmlregistry.c:
3550 splitted gsttypefind into gsttypefind, gsttypefindfactory
3552 2005-09-07 Andy Wingo <wingo@pobox.com>
3554 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3555 condition whereby the pad's task function is entered before the
3556 pad_mode variable was set.
3558 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3560 * gst/gstpad.c: (gst_pad_alloc_buffer):
3561 Catch misbehaving pad_alloc functions that don't
3562 set up caps and do it for them.
3564 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3566 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3568 * docs/gst/tmpl/.cvsignore:
3569 * docs/gst/tmpl/gstmemchunk.sgml:
3570 * docs/gst/tmpl/gstparse.sgml:
3571 * docs/gst/tmpl/gsttaglist.sgml:
3572 * docs/gst/tmpl/gsttagsetter.sgml:
3573 * docs/gst/tmpl/gsttypefind.sgml:
3574 * docs/gst/tmpl/gsttypefindfactory.sgml:
3575 * gst/gstmemchunk.c:
3578 * gst/gsttaginterface.c:
3579 * gst/gsttypefind.c:
3580 * gst/gsttypefind.h:
3583 === release 0.9.2 ===
3585 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3590 releasing 0.9.2, "South"
3592 2005-09-05 Andy Wingo <wingo@pobox.com>
3594 * gst/registries/gstxmlregistry.h:
3595 * gst/registries/gstxmlregistry.c: Um... resurrect...
3597 * gst/registries/gstxmlregistry.h:
3598 * gst/registries/gstxmlregistry.c: and update to newer API.
3599 Incidentally they should be a bit faster now that they don't have
3602 2005-09-05 Andy Wingo <wingo@pobox.com>
3604 * gst/registries/gstxmlregistry.h:
3605 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3606 replaced by the libxml registry a while back
3608 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3610 * docs/gst/tmpl/gstplugin.sgml:
3611 * gst/elements/gstelements.c:
3613 * gst/gstplugin.c: (gst_plugin_register_func),
3614 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3615 (gst_plugin_get_source):
3617 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3618 (gst_xml_registry_save_plugin):
3619 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3620 (gst_xml_registry_save_plugin):
3621 * tools/gst-inspect.c: (print_plugin_info):
3622 add a "source" plugin description field, to represent the source
3623 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3624 will set it to PACKAGE, which is automake's idea of the name of
3627 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3633 * docs/faq/Makefile.am:
3634 * docs/gst/tmpl/gstelement.sgml:
3635 * docs/gst/tmpl/gsttypes.sgml:
3636 * docs/htmlinstall.mak:
3637 * docs/manual/Makefile.am:
3638 * docs/pwg/Makefile.am:
3639 reorganize doc build a little
3640 split out docbook and gtk-doc stuff
3641 have two separate --enable's and enable them through autogen
3642 but disable by default in configure (to be similar to other
3644 * gstreamer.spec.in:
3645 clean up docs install
3665 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3667 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3670 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3671 (gst_fake_sink_change_state):
3672 Make state change function thread-safe.
3674 * gst/gstpad.c: (gst_pad_alloc_buffer):
3675 Set offset on generic buffer allocated by fallback.
3677 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3679 * docs/gst/gstreamer-sections.txt:
3680 * docs/gst/tmpl/gstelement.sgml:
3682 * libs/gst/controller/gst-controller.c:
3683 (gst_controlled_property_set_interpolation_mode),
3684 (gst_controlled_property_new),
3685 (gst_controller_find_controlled_property):
3686 run the wingo-magic script against the docs
3688 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3690 * docs/gst/gstreamer-docs.sgml:
3691 * docs/gst/gstreamer-sections.txt:
3692 * docs/gst/tmpl/.cvsignore:
3693 * docs/gst/tmpl/gstelementdetails.sgml:
3694 * docs/gst/tmpl/gstelementfactory.sgml:
3697 * gst/gstelementfactory.c:
3698 * gst/gstelementfactory.h:
3699 merged elementdetails docs into elementfactory docs
3702 2005-09-02 Andy Wingo <wingo@pobox.com>
3704 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3705 consider this enum an enum and not a flags.
3707 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3709 * docs/gst/gstreamer-docs.sgml:
3710 * docs/gst/tmpl/.cvsignore:
3711 * docs/gst/tmpl/gstghostpad.sgml:
3712 * docs/gst/tmpl/gstiterator.sgml:
3713 * docs/gst/tmpl/gstmacros.sgml:
3714 * docs/gst/tmpl/gstrealpad.sgml:
3715 * docs/gst/tmpl/gstregistry.sgml:
3716 * docs/gst/tmpl/gstregistrypool.sgml:
3717 * docs/gst/tmpl/gststructure.sgml:
3718 * docs/gst/tmpl/gstsystemclock.sgml:
3719 * docs/gst/tmpl/gsttrace.sgml:
3720 * gst/gstghostpad.c:
3722 * gst/gstmemchunk.c:
3723 * gst/gstmemchunk.h:
3725 * gst/gstregistry.c:
3726 * gst/gstregistrypool.c:
3727 * gst/gststructure.c:
3728 * gst/gstsystemclock.c:
3731 2005-09-02 Andy Wingo <wingo@pobox.com>
3733 * gst/gstelement.h (GstState): Renamed from GstElementState,
3734 changed to be a normal enum instead of flags.
3735 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3736 munged to be GST_STATE_CHANGE_*.
3737 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3738 work with the new state representation.
3739 (GstStateChange): New enumeration of possible state transitions.
3740 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3741 (GstElementClass::change_state): Pass the GstStateChange along as
3742 an argument. Helps language bindings, so they don't have to use
3743 tricky lock-needing macros like GST_STATE_CHANGE ().
3745 * scripts/update-states (file): New script. Run it on a file to
3746 update it for state naming and API changes. Updates files in
3749 * All files updated for the new API.
3751 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3753 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3754 * gst/gstutils.c: (gst_util_set_value_from_string),
3755 (gst_util_set_object_arg):
3756 fix a bunch of unchecked return values
3757 * tools/gst-complete.c: (main):
3758 * gstreamer.spec.in:
3761 2005-09-01 Wim Taymans <wim@fluendo.com>
3763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3764 (gst_base_sink_event), (gst_base_sink_do_sync),
3765 (gst_base_sink_handle_event):
3766 * gst/base/gstbasesink.h:
3767 Handle newsegments more correctly.
3772 * gst/gstevent.c: (gst_event_new_newsegment):
3773 A newsegment cannot have a start_time of -1
3775 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3777 * win32/gstenumtypes.c:
3778 * win32/gstenumtypes.h:
3781 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3783 * libs/gst/controller/gst-controller.c:
3784 (gst_controlled_property_set_interpolation_mode),
3785 (gst_controlled_property_new):
3788 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3790 * docs/faq/gst-uninstalled:
3795 * gst/gstutils.c: (gst_element_link_filtered):
3797 add gst_element_link_filtered
3799 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3801 * docs/gst/gstreamer-docs.sgml:
3802 * docs/gst/gstreamer-sections.txt:
3803 * docs/gst/tmpl/.cvsignore:
3804 * docs/gst/tmpl/gsterror.sgml:
3805 * docs/gst/tmpl/gstfilter.sgml:
3806 * docs/gst/tmpl/gsturihandler.sgml:
3807 * docs/gst/tmpl/gsturitype.sgml:
3808 * docs/gst/tmpl/gstutils.sgml:
3809 * docs/gst/tmpl/gstxml.sgml:
3817 inlined more docs, fixed double id-ref
3819 2005-08-31 Wim Taymans <wim@fluendo.com>
3821 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3822 (gst_base_transform_handle_buffer):
3823 Passthrough elements don't need the caps as they don't care.
3825 2005-08-31 Wim Taymans <wim@fluendo.com>
3827 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3828 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3829 Don't leak refcounts on buffers.
3831 2005-08-31 Wim Taymans <wim@fluendo.com>
3833 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3834 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3835 (gst_base_transform_chain), (gst_base_transform_change_state):
3836 * gst/base/gstbasetransform.h:
3837 Handle the case where we are not negotiated more gracefully.
3839 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3841 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3842 (gst_file_src_map_region):
3843 Set READONLY flag on mmap'ed buffers, otherwise
3844 gst_buffer_make_writable() won't work properly (#314708).
3846 2005-08-31 Wim Taymans <wim@fluendo.com>
3848 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3849 passthrough elements can even do inplace on non writable
3850 buffers (as they don't touch them).
3852 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3854 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3855 (gst_test_mono_source_set_property),
3856 (gst_test_mono_source_class_init), (GST_START_TEST),
3857 (gst_controller_suite):
3858 more tests (hehe I have the most)
3860 describe popping messages whenusing mulltiple sources
3861 * libs/gst/controller/gst-controller.c:
3862 (gst_controlled_property_set_interpolation_mode),
3863 (gst_controlled_property_new):
3864 * libs/gst/controller/gst-controller.h:
3865 * libs/gst/controller/gst-interpolation.c:
3866 implement boolean properties
3868 2005-08-31 Wim Taymans <wim@fluendo.com>
3870 * gst/gstminiobject.c: (gst_mini_object_ref):
3871 Cannot assert that the refcount has to be positive
3872 since a disposed object can be resurrected.
3874 2005-08-31 Wim Taymans <wim@fluendo.com>
3876 * gst/gstpad.c: (gst_pad_init):
3877 Revert change, need to first fix badly behaving
3880 2005-08-30 Wim Taymans <wim@fluendo.com>
3882 * check/elements/fakesrc.c: (setup_fakesrc):
3883 * check/elements/identity.c: (setup_identity):
3884 Activate pads before using them.
3886 2005-08-30 Wim Taymans <wim@fluendo.com>
3888 * gst/base/gstadapter.c: (gst_adapter_flush):
3889 Flushing out 0 bytes is ok for this function.
3891 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3892 no newsegment gives a warning and sets the start/stop to
3895 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
3896 (gst_base_transform_set_passthrough):
3899 * gst/gstminiobject.c: (gst_mini_object_ref):
3900 Check refcount here too.
3902 * gst/gstpad.c: (gst_pad_init):
3903 Pads are initially flushing and refusing data.
3905 * gst/gstutils.c: (gst_element_link_pads_filtered):
3906 When adding a capsfilter element make sure it has the
3907 same state as the parent bin.
3909 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3911 * docs/gst/tmpl/.cvsignore:
3912 * docs/gst/tmpl/gstformat.sgml:
3913 * docs/gst/tmpl/gstversion.sgml:
3917 * gst/gstversion.h.in:
3918 more docs and two more inlined
3920 2005-08-30 Wim Taymans <wim@fluendo.com>
3922 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
3923 Don't sync to clock.
3925 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3927 * docs/gst/gstreamer-sections.txt:
3928 ultral33t func10ns deserve to appear in the docs actually
3929 * docs/gst/tmpl/.cvsignore:
3930 * docs/gst/tmpl/gstcompat.sgml:
3931 * docs/gst/tmpl/gstconfig.sgml:
3932 * gst/check/gstcheck.c:
3934 * gst/gstconfig.h.in:
3937 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3939 * docs/gst/tmpl/.cvsignore:
3940 * docs/gst/tmpl/gstquery.sgml:
3941 * docs/gst/tmpl/gstutils.sgml:
3944 inlined and extended docs
3946 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3948 * check/gst-libs/controller.c: (GST_START_TEST),
3949 (gst_controller_suite):
3951 * docs/gst/tmpl/gstutils.sgml:
3952 * docs/libs/gstreamer-libs-sections.txt:
3953 * docs/libs/tmpl/gstdataprotocol.sgml:
3955 * examples/controller/audio-example.c: (main):
3956 controller example works now
3959 * tools/gst-inspect.c: (print_element_properties_info):
3960 show param spec flags
3962 2005-08-29 Andy Wingo <wingo@pobox.com>
3964 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3966 2005-08-28 Andy Wingo <wingo@pobox.com>
3968 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3969 as having two arguments instead of just one. Allows superclasses
3970 to access information on subclasses -- see the terrible for() loop
3971 in gtype.c:g_type_create_instance for the reason why. All callers
3974 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3976 * docs/design/part-messages.txt:
3978 * docs/gst/tmpl/.cvsignore:
3979 * docs/gst/tmpl/gstcaps.sgml:
3980 * docs/gst/tmpl/gstclock.sgml:
3987 added descriptions for bus and message
3988 inline caps and clock docs
3990 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3996 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3998 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4001 2005-08-26 Andy Wingo <wingo@pobox.com>
4003 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4004 element_set_state's return val.
4005 (test_2_elements): Add test that's been disabled for months.
4007 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4008 can-activate-pull properties.
4010 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4011 can-activate-pull properties. Implement is_seekable so fakesrc can
4012 operate in pull mode.
4014 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4016 (gst_base_sink_activate, gst_base_sink_activate_pull)
4017 (gst_base_sink_activate_push): Make activation mode choosing work.
4019 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4020 is right. Make pull mode work. Post an eos before pausing in pull
4022 (gst_base_sink_change_state): Pay attention to the core's
4023 change_state() return val.
4025 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4026 has-getrange properties. Cleanups.
4028 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4029 has_getrange and replace with can_activate_pull and
4032 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4033 locking comments. Remove has_loop, has_chain and replace with
4034 can_activate_pull and can_activate_push.
4036 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4039 * examples/Makefile.am:
4040 * examples/metadata/Makefile.am:
4041 * examples/metadata/read-metadata.c: (message_loop),
4042 (have_pad_handler), (make_pipeline), (print_tag), (main):
4043 Add metadata reading example that loops over a list of filenames,
4044 dumping any tags found.
4046 * gst/gstbus.c: (gst_bus_dispose):
4047 * gst/gstelement.c: (gst_element_dispose):
4048 Release a few potentially-held references in dispose.
4050 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4052 * docs/gst/tmpl/gstminiobject.sgml:
4053 do *not* add tmpl/*.sgml files to CVS!
4055 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4057 * libs/gst/bytestream/.cvsignore:
4058 * libs/gst/bytestream/Makefile.am:
4059 * libs/gst/bytestream/adapter.c:
4060 * libs/gst/bytestream/adapter.h:
4061 * libs/gst/bytestream/bytestream.c:
4062 * libs/gst/bytestream/bytestream.h:
4063 * libs/gst/bytestream/filepad.c:
4064 * libs/gst/bytestream/filepad.h:
4065 removing obsolete files
4067 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4069 * docs/gst/gstreamer-docs.sgml:
4070 * docs/libs/gstreamer-libs-docs.sgml:
4071 disabed additional index entries again, as this makes docs-gen just
4072 slow and they aren't useful yet
4073 * docs/libs/gstreamer-libs-sections.txt:
4074 little -section.txt cleanup for libs
4076 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4078 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4079 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4080 fix up some debugging
4081 (gst_base_transform_get_unit_size),
4082 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4083 (gst_base_transform_handle_buffer):
4084 * gst/base/gstbasetransform.h:
4085 handle and store timed NEWSEGMENT events so that subclasses that
4086 calculate time by counting samples have a segment_start time they
4087 need to add to their timestamps - see audioresample
4089 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4092 removed ';' from the end of macro defs
4093 * docs/gst/gstreamer-docs.sgml:
4094 * docs/gst/gstreamer-sections.txt:
4095 * docs/gst/tmpl/.cvsignore:
4097 * gst/gstelement.c: (gst_element_class_init),
4098 (gst_element_set_state), (activate_pads),
4099 (gst_element_save_thyself):
4100 * gst/gstevent.c: (gst_event_new_newsegment):
4102 * gst/gstiterator.c:
4103 * gst/gstiterator.h:
4106 * gst/gstutils.c: (gst_pad_query_convert):
4108 fixed parameter name mismatches between source, header and docs
4109 added some more docs, resolved the last batch of unused elements in
4110 docs (now someone needs to doc them)
4112 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4114 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4115 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4116 don't walk through the plugins backwards. Where is all this
4117 reversed logic coming from ?
4119 2005-08-25 Wim Taymans <wim@fluendo.com>
4121 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4122 (gst_base_transform_transform_size),
4123 (gst_base_transform_configure_caps),
4124 (gst_base_transform_get_unit_size),
4125 (gst_base_transform_buffer_alloc),
4126 (gst_base_transform_change_state):
4127 * gst/base/gstbasetransform.h:
4128 Cache caps unit_size.
4129 Make sure we cannot negotiate up and downstream at the
4132 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4134 * gst/gst.c: (init_pre), (init_post):
4135 register the installed plugin path after the env var
4136 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4137 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4138 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4139 directories, so the tests can prefer uninstalled over installed
4141 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4143 * gst/base/gstbasetransform.h:
4148 2005-08-25 Wim Taymans <wim@fluendo.com>
4150 * gst/gstbin.c: (bin_bus_handler):
4151 Be a bit more conservative about the posted message.
4153 * gst/gstbus.c: (gst_bus_post):
4154 Some cleanups, warn wrong return values.
4156 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4158 * check/gst/gstbin.c: (GST_START_TEST):
4159 * gst/gstbin.c: (bin_bus_handler):
4160 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4161 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4162 (gst_message_new_warning), (gst_message_new_tag),
4163 (gst_message_new_state_changed), (gst_message_new_segment_start),
4164 (gst_message_new_segment_done), (gst_message_new_custom):
4166 * tools/gst-launch.c: (event_loop):
4167 * tools/gst-md5sum.c: (event_loop):
4168 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4170 2005-08-25 Wim Taymans <wim@fluendo.com>
4172 * check/generic/states.c: (GST_START_TEST):
4173 Cleanup can be done at the end.
4175 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4176 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4177 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4178 Oh boy.. Thanks for finding this, Thomas.
4180 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4182 * docs/gst/gstreamer.types:
4185 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4187 * docs/gst/gstreamer-docs.sgml:
4188 * docs/gst/gstreamer-sections.txt:
4189 * docs/gst/tmpl/.cvsignore:
4191 * gst/gstiterator.c:
4193 * gst/registries/gstxmlregistry.h:
4194 added missing classes and symbols (123 more to go)
4195 removed removed symbols from section file
4196 fixed many doc-comments
4198 2005-08-24 Wim Taymans <wim@fluendo.com>
4200 * check/generic/states.c: (GST_START_TEST):
4201 Make sure all tasks are stopped.
4203 * check/gst/gstbin.c: (GST_START_TEST):
4204 Unref after usage for proper valgrinding.
4206 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4207 Really wait for the task to stop before destroying the
4210 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4211 (gst_queue_src_activate_push):
4212 Small cleanups. Don't stop the task when we did not start
4215 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4216 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4217 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4220 Protect the stream lock with the object lock.
4221 Disallow setting the stream lock when running.
4222 Add cleanup_all to wait for the threadpool to finish.
4223 Remove code to autoallocate a mutex if none was provided.
4224 Add _join() to wait for a task to stop.
4225 Protect the thread pool with a global lock.
4227 2005-08-24 Wim Taymans <wim@fluendo.com>
4229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4230 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4231 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4232 * gst/base/gstbasesink.h:
4233 Handle newsegment events correctly.
4234 Drop buffers out of the segment range.
4236 2005-08-22 Andy Wingo <wingo@pobox.com>
4238 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4239 macro, implements an interface and gstimplementsinterface for a
4242 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4244 * check/Makefile.am:
4245 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4246 add a test that does a bunch of state changes on elements
4247 needs some fixing for valgrind
4248 * check/states/sinks.c: (gst_object_suite):
4251 add prototype for gst_caps_is_equal_fixed
4253 * gst/gstregistrypool.c:
4256 2005-08-24 Andy Wingo <wingo@pobox.com>
4258 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4259 convert a negative value. Doesn't make much sense. Mostly this is
4260 here to force callers to ensure -1 maps to -1.
4262 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4264 * docs/pwg/advanced-types.xml:
4265 Well done to Michael for catching my deliberate introduction
4266 of this spelling mistake.
4267 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4269 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4270 unlink pads before removing the element from the bin.
4272 2005-08-24 Andy Wingo <wingo@pobox.com>
4274 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4275 the same thing as GST_DEBUG=*:4.
4276 (parse_debug_level, parse_debug_category): New helper parsers.
4278 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4280 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4281 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4282 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4283 (gst_base_transform_buffer_alloc),
4284 (gst_base_transform_handle_buffer):
4285 use gboolean return values and pointers to size so we can use the
4286 full GST_BUFFER_SIZE range (guint) for buffer sizes
4287 use GstPadDirection for transform_caps
4288 * gst/base/gstbasetransform.h:
4289 rename get_size to get_unit_size since that's what it is
4290 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4291 use GstPadDirection for transform_caps
4292 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4294 cleanup and debugging
4296 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4298 * gst/gstelement.c: (gst_element_class_init),
4299 (gst_element_set_state), (activate_pads),
4300 (gst_element_save_thyself):
4301 * tools/gst-compprep.c: (main):
4302 * tools/gst-inspect.c: (print_element_properties_info):
4303 * tools/gst-xmlinspect.c: (print_element_properties):
4304 Fixed long standing mem-leak
4306 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4308 * check/gst/gstbin.c: (GST_START_TEST):
4309 * gst/gstbin.c: (bin_bus_handler):
4310 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4311 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4312 (gst_message_new_warning), (gst_message_new_tag),
4313 (gst_message_new_state_changed), (gst_message_new_segment_start),
4314 (gst_message_new_segment_done), (gst_message_new_custom):
4316 * tools/gst-launch.c: (event_loop):
4317 * tools/gst-md5sum.c: (event_loop):
4318 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4319 that applications can sensibly post custom messages with references
4320 to their own objects.
4322 2005-08-24 Andy Wingo <wingo@pobox.com>
4324 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4327 2005-08-24 Wim Taymans <wim@fluendo.com>
4329 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4330 (gst_base_transform_transform_caps),
4331 (gst_base_transform_transform_size),
4332 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4333 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4334 (gst_base_transform_handle_buffer):
4335 * gst/base/gstbasetransform.h:
4336 Many fixes and new features added by Thomas. Can now also do
4337 transforms with variable sizes and a custom fixate_caps function.
4339 2005-08-24 Wim Taymans <wim@fluendo.com>
4341 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4345 Cast to ClockTime before formatting to time.
4350 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4352 * check/gst-libs/controller.c: (GST_START_TEST),
4353 (gst_controller_suite):
4354 * docs/gst/tmpl/gstcaps.sgml:
4355 * docs/gst/tmpl/gstghostpad.sgml:
4356 * docs/gst/tmpl/gstquery.sgml:
4357 * docs/gst/tmpl/gstutils.sgml:
4358 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4359 (gst_object_sink_values), (gst_object_get_value_arrays),
4360 (gst_object_get_value_array):
4361 gracefully handle helper method calls to objects that are not beeing
4362 controlled, added test case for that
4364 2005-08-23 Wim Taymans <wim@fluendo.com>
4366 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4367 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4368 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4369 (gst_event_parse_qos), (gst_event_new_seek),
4370 (gst_event_parse_seek):
4372 Some more debugging output and doc cleanups.
4374 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4375 Fix possible deadlock.
4377 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4379 * docs/gst/gstreamer-docs.sgml:
4380 * docs/gst/gstreamer-sections.txt:
4381 * docs/gst/gstreamer.types:
4382 * docs/gst/tmpl/.cvsignore:
4387 added 100 symbols from gstreamer-unused.txt to the right sections
4388 fixed more broken comments
4389 added GstBus to docs
4391 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4393 * docs/gst/gstreamer-sections.txt:
4394 * docs/gst/tmpl/.cvsignore:
4395 * docs/gst/tmpl/gstbin.sgml:
4396 * docs/gst/tmpl/gstbuffer.sgml:
4397 * gst/base/gstbasesrc.c:
4398 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4401 * tools/gst-launch.1.in:
4402 inlined more doc comments, added missing comments and fixed comments
4405 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4407 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4411 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4413 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4414 * gst/gststructure.h:
4415 add a fixate function for booleans; add a FIXME that these func
4416 names should probably be gst_structure_fixate_*
4418 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4420 * docs/gst/gstreamer-docs.sgml:
4421 * docs/gst/gstreamer-sections.txt:
4423 * gst/gstbin.c: (gst_bin_get_type),
4424 (gst_bin_child_proxy_get_child_by_index),
4425 (gst_bin_child_proxy_get_children_count),
4426 (gst_bin_child_proxy_init):
4427 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4428 (gst_child_proxy_get_child_by_index),
4429 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4430 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4431 (gst_child_proxy_get), (gst_child_proxy_set_property),
4432 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4433 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4434 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4435 * gst/gstchildproxy.h:
4436 * gst/parse/grammar.y:
4437 * tools/gst-inspect.c: (print_interfaces),
4438 (print_element_properties_info), (print_element_info):
4439 ported gstchildproxy over from 0.8
4440 ported gst-inspect fixes and enhancements over from 0.8
4442 2005-08-22 Wim Taymans <wim@fluendo.com>
4444 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4445 (gst_base_transform_handle_buffer):
4446 Also call the transform function if we have ANY caps.
4448 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4451 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4453 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4454 Don't pretend to handle seek events if the source is not seekable
4456 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4458 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4459 Remove extra parameter to debug output
4461 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4462 (gst_base_src_do_seek), (gst_base_src_activate_push):
4463 Fix seek event handling.
4465 * gst/gstpipeline.c: (gst_pipeline_change_state):
4466 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4467 (gst_queue_src_activate_push):
4468 Don't start the src pad task on FLUSH_STOP if the pad
4472 2005-08-22 Wim Taymans <wim@fluendo.com>
4474 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4475 Added check for gst_static_caps_get() refcounting.
4477 2005-08-22 Wim Taymans <wim@fluendo.com>
4479 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4480 Make _static_caps_get() refcounting sane.
4482 * gst/gstelement.c: (gst_element_set_state):
4483 Add g_return_val_if_fail() to protect against segfaults.
4485 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4487 * docs/gst/tmpl/gstevent.sgml:
4490 inlined remaining docs, added missing doc comments
4492 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4494 * check/gst/gstbin.c: (GST_START_TEST):
4495 since we don't know when preroll is done, use refcount range
4497 * gst/check/gstcheck.h:
4498 add macro for checking refcount range
4500 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4502 * check/Makefile.am:
4503 clean up environment for when registry gets built versus
4504 when actual tests are run; valgrind seems to not report
4505 leaks if GST_PLUGIN_PATH is set to some specific values
4506 * check/gst/gstbin.c: (GST_START_TEST):
4507 add more refcounting checks; maybe this exposes a
4510 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4511 * gst/check/gstcheck.h:
4512 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4513 (gst_bin_change_state):
4514 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4515 add/fix debugging/whitespace
4517 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4519 * check/gst/gstevent.c: (event_probe), (test_event),
4521 Er, don't call gst_bin_watch_for_state_change you idiot.
4523 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4525 * check/Makefile.am:
4526 Use CHECK_CFLAGS and CHECK_LIBS
4527 * check/gst/gstevent.c: (event_probe), (test_event),
4530 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4531 (gst_base_src_start), (gst_base_src_stop),
4532 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4533 (gst_base_src_change_state):
4534 Sprinkle gst_base_src_stop liberally around error paths to fix
4535 problems reusing a source after failed state changes.
4536 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4537 (helper_find_suggest), (gst_type_find_helper):
4538 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4540 * docs/gst/tmpl/gstevent.sgml:
4541 Migrate part of the docs from the SGML file. Wait for ensonic to
4542 tell me how I did it wrong ;)
4543 * tools/gst-typefind.c: (main):
4544 Extra robustness to state changes between files.
4546 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4548 * check/Makefile.am:
4549 don't valgrind the controller test - it's leaking - Stefan, HELP
4550 * gst/check/gstcheck.c: (gst_check_message_error),
4551 (gst_check_chain_func), (gst_check_setup_element),
4552 (gst_check_teardown_element), (gst_check_setup_src_pad),
4553 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4554 (gst_check_teardown_sink_pad):
4555 * gst/check/gstcheck.h:
4556 add a bunch of methods to set up elements, and src and sink pads
4557 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4558 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4563 whitespace/doc fixes
4565 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4568 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4569 be handled by the application and not always printed as well
4571 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4573 * check/Makefile.am:
4575 * gst/check/gstcheck.c: (gst_check_message_error):
4576 * gst/check/gstcheck.h:
4577 add a fail_unless_equals_int
4578 add fail_unless for error messages
4580 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4582 * check/Makefile.am:
4584 * common/Makefile.am:
4587 factor out some of the common stuff so we can use it
4589 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4591 * check/Makefile.am:
4592 * check/gst/gstiterator.c: (GST_START_TEST):
4593 * check/gst/gstsystemclock.c: (GST_START_TEST),
4594 (gst_systemclock_suite):
4595 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4599 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4601 * check/elements/.cvsignore:
4602 * check/elements/gstfakesrc.c:
4603 rename to name of element
4604 * check/elements/identity.c: (chain_func), (event_func),
4605 (setup_identity), (cleanup_identity), (GST_START_TEST),
4606 (identity_suite), (main):
4607 add a test for identity
4608 * check/Makefile.am:
4609 * pkgconfig/Makefile.am:
4610 * pkgconfig/gstreamer-check.pc.in:
4611 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4615 move the check stuff to a library that gets installed
4616 * check/gst-libs/controller.c: (GST_START_TEST):
4617 * check/gst-libs/gdp.c:
4618 * check/gst/gst.c: (GST_START_TEST):
4619 * check/gst/gstbin.c:
4620 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4621 * check/gst/gstbus.c:
4622 * check/gst/gstcaps.c: (GST_START_TEST):
4623 * check/gst/gstelement.c:
4624 * check/gst/gstghostpad.c:
4625 * check/gst/gstiterator.c:
4626 * check/gst/gstmessage.c:
4627 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4628 * check/gst/gstobject.c:
4629 * check/gst/gstpad.c: (GST_START_TEST):
4630 * check/gst/gststructure.c: (GST_START_TEST):
4631 * check/gst/gstsystemclock.c: (GST_START_TEST),
4632 (gst_systemclock_suite):
4633 * check/gst/gsttag.c: (gst_tag_suite):
4634 * check/gst/gstvalue.c:
4635 * check/pipelines/cleanup.c:
4636 * check/pipelines/simple_launch_lines.c:
4637 * check/states/sinks.c:
4638 change include statement
4640 * docs/gst/gstreamer-sections.txt:
4641 * docs/gst/tmpl/gstpad.sgml:
4642 document more pad stuff
4643 * gst/gstminiobject.c: (gst_mini_object_ref),
4644 (gst_mini_object_unref):
4647 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4649 * docs/gst/tmpl/gst.sgml:
4651 eliminate another tmpl file, fix spelling in the long-description
4653 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4655 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4656 (test_event), (timediff), (gstevents_suite):
4657 Should fix build on 64-bit arch's
4659 2005-08-18 Andy Wingo <wingo@pobox.com>
4661 Make sure that when a pipeline goes to PLAYING, that data has
4662 actually hit the sink.
4664 * check/states/sinks.c (test_sink): A sink that doesn't get any
4665 data shouldn't return SUCCESS for going to either PLAYING or
4666 PAUSED. Test also the return values on the way back down.
4668 * gst/gstelement.c (gst_element_set_state): When changing the
4669 state of an element currently changing state asynchronously, go to
4670 lost-state after commiting the pending state. Makes future calls
4671 to get_state continue to return ASYNC.
4673 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4674 ASYNC when going to PLAYING if we still don't have preroll, as can
4675 happen with live sources.
4677 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4679 * docs/pwg/advanced-types.xml:
4680 Hack long paragraph into 2 chunks as a workaround for buggy
4681 jadetex version in sid and breezy that loops infinitely and
4684 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4686 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4687 (test_event), (timediff), (gstevents_suite):
4688 Provide more error margin in clock measurements to allow for
4689 g_get_current_time inaccuracies.
4691 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4693 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4694 (test_event), (timediff), (gstevents_suite):
4695 Fix error message output so I might be able to tell why the
4696 test works here but fails on the build farm.
4698 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4700 * check/Makefile.am:
4701 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4702 (test_event), (timediff), (gstevents_suite), (main):
4705 * docs/design/part-seeking.txt:
4708 * docs/gst/tmpl/gstevent.sgml:
4709 * docs/gst/tmpl/gstfakesrc.sgml:
4712 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4713 Treat a buffer-without-newsegment the same as a receiving
4714 a newsegment not in time format, and disable syncing to the clock
4717 * gst/gstbus.c: (gst_bus_set_sync_handler):
4718 Assert if anyone tries to replace the existing sync_handler for bus,
4719 as only the owner should be setting it.
4722 Have a fixed set of custom event enums with events identified by
4723 their structure name (as in 0.8), rather than a free-for-all
4724 allowing collisions between enum values from different plugins.
4726 * gst/gstpad.c: (gst_pad_class_init):
4729 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4730 Handle out-of-band downstream events from the sending thread.
4732 2005-08-17 Andy Wingo <wingo@pobox.com>
4734 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4735 play-timeout==0 to mean no timeout at all. In that case, don't
4736 bother with a get_state or a warning, just return directly, even
4739 * gst/base/gstbasetransform.c: Debug changes.
4742 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4743 ensure bins post state change messages. A bit of a hack but I can't
4744 think of a way to avoid it.
4746 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4748 2005-08-16 Andy Wingo <wingo@pobox.com>
4750 * gst/base/gstadapter.h:
4751 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4752 peek() but you own the data. Not terribly efficient atm.
4754 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4756 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4757 (gst_element_found_tags):
4759 Add two utility functions for tag handling.
4761 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4763 * docs/manual/advanced-dataaccess.xml:
4764 * docs/manual/basics-helloworld.xml:
4765 Fix docs to use _bin_add() before _link(), which fixes the examples
4766 with recent core versions (reported by Madhan Raj M
4767 <raj_madan@rediffmail.com>, #313199).
4769 2005-08-16 Wim Taymans <wim@fluendo.com>
4771 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4772 Added subtract checks.
4774 * docs/design/part-events.txt:
4775 Some more docs about newsegment
4777 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4780 * gst/gstcaps.c: (gst_caps_to_string):
4781 Add comments, cleanups.
4783 * gst/gstelement.c: (gst_element_save_thyself):
4786 * gst/gstvalue.c: (gst_value_collect_int_range),
4787 (gst_string_unwrap), (gst_value_union_int_int_range),
4788 (gst_value_union_int_range_int_range),
4789 (gst_value_intersect_int_int_range),
4790 (gst_value_intersect_int_range_int_range),
4791 (gst_value_intersect_double_double_range),
4792 (gst_value_intersect_double_range_double_range),
4793 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4794 (gst_value_subtract_int_range_int),
4795 (gst_value_subtract_double_range_double),
4796 (gst_value_subtract_double_range_double_range),
4797 (gst_value_subtract_from_list), (gst_value_subtract_list),
4798 (gst_value_can_compare), (gst_value_compare_fraction):
4799 Cleanups, add comments, remove unneeded asserts.
4801 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4803 * tools/gst-launch.c: (event_loop):
4804 don't convert NULL structures to strings
4806 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4808 * docs/gst/gstreamer-sections.txt:
4809 made some defines private
4810 * docs/gst/tmpl/gstconfig.sgml:
4811 * docs/gst/tmpl/gstqueue.sgml:
4812 * docs/gst/tmpl/gsttaglist.sgml:
4813 * docs/gst/tmpl/gsttypes.sgml:
4814 * docs/gst/tmpl/gstutils.sgml:
4815 * docs/pwg/appendix-porting.xml:
4816 * gst/base/gstbasesink.h:
4817 * gst/base/gstbasesrc.c:
4818 * gst/base/gstbasesrc.h:
4819 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4820 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4821 * gst/gstelement.c: (gst_element_class_init):
4822 * gst/gstpad.c: (gst_pad_class_init):
4823 * gst/gstqueue.c: (gst_queue_class_init):
4824 * gst/gstxml.c: (gst_xml_class_init):
4825 documented all undocumented signal inline
4826 * libs/gst/controller/gst-controller.h:
4829 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4831 * docs/pwg/appendix-porting.xml:
4832 Document _set_link_function -> _set_setcaps_function.
4834 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4836 * check/Makefile.am:
4837 add a .check target for running the check
4838 * check/gst-libs/controller.c: (GST_START_TEST):
4840 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4841 complete checks for gstbuffer; would be nice if I could get the
4842 gcov stuff to work so I can see if I actually completed gstbuffer.c
4844 add ASSERT_BUFFER_REFCOUNT
4846 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4848 * docs/gst/gstreamer-sections.txt:
4849 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4851 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4852 spew out a warning if a tag that is already registered
4853 is re-registered, unless it is re-registered with a
4854 different type (#308438).
4856 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4858 * docs/pwg/appendix-porting.xml:
4859 * docs/pwg/building-state.xml:
4860 Add some paragraphs about state changes in 0.9 to the PWG
4861 and the porting guide, in particular about the new meaning
4862 of GST_STATE_PAUSED and how to write state change functions
4863 with concurrent access by multiple threads in mind.
4865 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4867 * docs/gst/gstreamer-docs.sgml:
4868 * docs/libs/gstreamer-libs-docs.sgml:
4869 added deprecation and since indexes
4870 * libs/gst/controller/gst-controller.c:
4871 * libs/gst/controller/gst-helper.c:
4875 2005-08-11 Wim Taymans <wim@fluendo.com>
4877 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
4878 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
4879 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
4880 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
4881 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
4882 (gst_ghost_pad_set_target):
4883 Actually implement (re)setting the target on a ghostpad
4884 as described in the docs.
4886 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4888 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
4889 Check whether GST_DEBUG_NO_COLOR environment variable is
4890 set and disable coloured debug output if that is the case.
4892 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4894 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4895 (gst_type_find_helper):
4896 The memory returned by gst_type_find_peek() needs to
4897 stay valid until the end of a typefind function, and
4898 typefind functions may keep results from different
4899 offsets around, so we can't just unref the buffer from
4900 the previous _peek(), but have to save all buffers
4901 returned by _peek() until typefinding is done and only
4904 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
4906 * docs/gst/gstreamer-sections.txt:
4908 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
4910 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4912 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4913 Fix a pretty good memleak.
4915 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4917 * gst/gstiterator.h:
4918 Fix wrong include and 'make distcheck'.
4920 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4922 * gst/gstbin.c: (bin_bus_handler):
4923 Use gst_element_post_message() instead.
4925 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4927 * gst/base/gstadapter.h:
4928 * gst/base/gstbasesink.h:
4929 * gst/base/gstbasesrc.h:
4930 * gst/base/gstbasetransform.h:
4931 * gst/base/gstcollectpads.h:
4932 * gst/base/gstpushsrc.h:
4933 * gst/gstiterator.h:
4934 Add padding to our base elements' class and instance structs and
4935 to GstIterator (you will need to rebuild all plugins and apps!)
4937 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4939 * gst/gstbin.c: (bin_bus_handler):
4940 Make default message forwarding from child->bus to bin->bus
4941 threadsafe and make it not emit warnings if the parent has no bus.
4943 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4945 * gst/gstelement.c: (activate_pads):
4946 On paused->ready, set pad->caps to NULL, as is the documented
4947 behaviour in this state change. Fixes playback of series of
4948 media files when visualization is enabled in Totem.
4950 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4952 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4953 Allow NULL as filter-caps (which means "any").
4955 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4957 * docs/libs/gstreamer-libs-sections.txt:
4958 * libs/gst/controller/gst-controller.c:
4959 * libs/gst/controller/gst-controller.h:
4960 * libs/gst/controller/gst-helper.c:
4961 adding more entries to the docs and fix small doc-bugs
4963 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4965 * docs/gst/gstreamer-docs.sgml:
4966 * docs/gst/gstreamer-sections.txt:
4967 * docs/gst/gstreamer.types:
4968 * docs/gst/tmpl/gstbasesink.sgml:
4969 * docs/gst/tmpl/gstbasesrc.sgml:
4970 * docs/gst/tmpl/gstbasetransform.sgml:
4971 * docs/gst/tmpl/gstfakesrc.sgml:
4972 * gst/base/gstcollectpads.c:
4973 * gst/base/gstcollectpads.h:
4974 * libs/gst/controller/gst-controller.c:
4975 * libs/gst/controller/gst-controller.h:
4976 * libs/gst/controller/gst-helper.c:
4977 * libs/gst/controller/gst-interpolation.c:
4978 * libs/gst/controller/lib.c:
4979 added long/short desc for controller docs
4980 added collectpads base class docs
4981 added correct includes to base-class docs
4983 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4985 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4986 (gst_test_mono_source_set_property),
4987 (gst_test_mono_source_class_init), (GST_START_TEST),
4988 (gst_controller_suite):
4989 * docs/gst/gstreamer-docs.sgml:
4990 * docs/gst/gstreamer-sections.txt:
4991 * docs/gst/gstreamer.types:
4992 * docs/libs/gstreamer-libs-docs.sgml:
4993 * docs/libs/gstreamer-libs-sections.txt:
4994 * gst/base/gstadapter.c:
4995 * libs/gst/controller/gst-controller.c:
4996 (gst_controlled_property_new), (gst_controlled_property_free),
4997 (gst_controller_new_valist),
4998 (gst_controller_remove_properties_valist),
4999 (gst_controller_sink_values), (_gst_controller_finalize):
5000 * libs/gst/controller/gst-controller.h:
5001 * libs/gst/controller/gst-helper.c:
5002 (gst_object_control_properties), (gst_object_uncontrol_properties),
5003 (gst_object_get_controller), (gst_object_set_controller),
5004 (gst_object_sink_values), (gst_object_get_value_arrays),
5005 (gst_object_get_value_array):
5006 more tests (and fixes) for the controller
5007 more docs for the controller
5008 integrated companies docs for the adapter
5010 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5012 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5013 (GST_START_TEST), (fakesrc_suite):
5014 add tests for sizetype
5016 2005-08-04 Andy Wingo <wingo@pobox.com>
5018 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5019 fixes buffer_alloc proxying among other things.
5021 * gst/base/gstbasetransform.c:
5022 * gst/base/gstbasetransform.h:
5023 Revert patch to gstbasetransform from 7-28 removing
5026 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5027 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5028 Semantics changed, should return not the size of the output buffer
5029 but the byte size of a buffer with a given caps.
5031 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5033 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5034 out) are not the pad caps until setcaps finishes.
5035 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5036 not-in-place case as well. Deal with changing from in-place to
5037 not-in-place within calling pad_alloc_buffer. Still a bit
5038 concerned about the overhead here...
5040 2005-08-03 Andy Wingo <wingo@pobox.com>
5042 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5043 fixating is an error.
5045 2005-08-04 Edward Hervey <edward@fluendo.com>
5047 * gst/base/gstadapter.h:
5048 Added gst_adapter_get_type() to the header
5050 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5052 * check/Makefile.am:
5053 * check/gst-libs/controller.c:
5054 * libs/gst/controller/gst-controller.c:
5055 (gst_controller_new_valist):
5056 added check test suite for the controller
5057 * gst/base/gstpushsrc.c:
5060 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5062 * docs/gst/Makefile.am:
5063 * docs/gst/gstreamer-docs.sgml:
5064 * docs/gst/gstreamer-sections.txt:
5065 * docs/gst/gstreamer.types:
5066 * docs/gst/tmpl/gstfakesrc.sgml:
5068 * gst/base/gstbasesink.c:
5069 * gst/base/gstbasesink.h:
5070 * gst/base/gstbasesrc.c:
5071 * gst/base/gstbasesrc.h:
5072 * gst/base/gstbasetransform.c:
5073 * gst/base/gstpushsrc.c:
5074 * gst/base/gstpushsrc.h:
5075 add short/long description docs to base classes
5076 add pushsrc to the docs
5077 remove consolidated doc fragments
5079 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5082 * docs/libs/Makefile.am:
5083 * docs/libs/gstreamer-libs-docs.sgml:
5084 * docs/libs/gstreamer-libs-sections.txt:
5085 * docs/libs/gstreamer-libs.types:
5086 * examples/Makefile.am:
5087 * examples/controller/.cvsignore:
5088 * examples/controller/Makefile.am:
5089 * examples/controller/audio-example.c: (main):
5090 * libs/gst/Makefile.am:
5091 * libs/gst/controller/.cvsignore:
5092 * libs/gst/controller/Makefile.am:
5093 * libs/gst/controller/gst-controller.c:
5094 (on_object_controlled_property_changed), (gst_timed_value_compare),
5095 (gst_timed_value_find),
5096 (gst_controlled_property_set_interpolation_mode),
5097 (gst_controlled_property_new), (gst_controlled_property_free),
5098 (gst_controller_find_controlled_property),
5099 (gst_controller_new_valist), (gst_controller_new),
5100 (gst_controller_remove_properties_valist),
5101 (gst_controller_remove_properties), (gst_controller_set),
5102 (gst_controller_set_from_list), (gst_controller_unset),
5103 (gst_controller_get), (gst_controller_get_all),
5104 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5105 (gst_controller_get_value_array),
5106 (gst_controller_set_interpolation_mode),
5107 (_gst_controller_finalize), (_gst_controller_init),
5108 (_gst_controller_class_init), (gst_controller_get_type):
5109 * libs/gst/controller/gst-controller.h:
5110 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5111 (g_object_uncontrol_properties), (g_object_get_controller),
5112 (g_object_set_controller), (g_object_sink_values),
5113 (g_object_get_value_arrays), (g_object_get_value_array):
5114 * libs/gst/controller/gst-interpolation.c:
5115 (gst_controlled_property_find_timed_value_node),
5116 (interpolate_none_get), (interpolate_trigger_get),
5117 (interpolate_trigger_get_value_array):
5118 * libs/gst/controller/lib.c: (gst_controller_init):
5119 * pkgconfig/Makefile.am:
5120 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5121 * pkgconfig/gstreamer-control.pc.in:
5122 * testsuite/Makefile.am:
5123 * testsuite/controller/.cvsignore:
5124 * testsuite/controller/Makefile.am:
5125 * testsuite/controller/interpolator.c: (main):
5126 added controller code
5127 removed dparam pc files
5129 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5130 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5131 (gst_collectpads_stop):
5132 Broadcast the condition when shutting down, to make sure we wake all
5133 threads up. Shut down pads on finalize, for safety.
5135 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5136 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5137 (gst_base_transform_handle_buffer),
5138 (gst_base_transform_change_state):
5139 Handle PAUSED->READY->PAUSED transition after negotiation
5141 * gst/gstmessage.c: (gst_message_init):
5142 Extra piece of debug for new messages.
5144 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5147 * docs/gst/tmpl/gstbasesrc.sgml:
5148 * docs/gst/tmpl/gstelement.sgml:
5149 * docs/gst/tmpl/gstevent.sgml:
5150 * docs/gst/tmpl/gstfakesrc.sgml:
5151 * docs/gst/tmpl/gstformat.sgml:
5152 * docs/gst/tmpl/gstghostpad.sgml:
5153 * docs/gst/tmpl/gstpad.sgml:
5154 * docs/gst/tmpl/gstquery.sgml:
5155 * docs/gst/tmpl/gststructure.sgml:
5156 * docs/gst/tmpl/gsttaglist.sgml:
5157 * docs/gst/tmpl/gstvalue.sgml:
5158 * docs/libs/gstreamer-libs-docs.sgml:
5159 * docs/libs/gstreamer-libs-sections.txt:
5160 * docs/libs/gstreamer-libs.types:
5161 * libs/gst/Makefile.am:
5162 * libs/gst/control/.cvsignore:
5163 * libs/gst/control/Makefile.am:
5164 * libs/gst/control/control.c:
5165 * libs/gst/control/control.h:
5166 * libs/gst/control/dparam.c:
5167 * libs/gst/control/dparam.h:
5168 * libs/gst/control/dparam_smooth.c:
5169 * libs/gst/control/dparam_smooth.h:
5170 * libs/gst/control/dparamcommon.h:
5171 * libs/gst/control/dparammanager.c:
5172 * libs/gst/control/dparammanager.h:
5173 * libs/gst/control/dplinearinterp.c:
5174 * libs/gst/control/dplinearinterp.h:
5175 * libs/gst/control/unitconvert.c:
5176 * libs/gst/control/unitconvert.h:
5177 * testsuite/Makefile.am:
5178 * testsuite/dynparams/.cvsignore:
5179 * testsuite/dynparams/Makefile.am:
5180 * testsuite/dynparams/dparamstest.c:
5181 * tools/Makefile.am:
5182 * tools/gst-inspect.c: (print_element_info), (main):
5183 * tools/gst-xmlinspect.c: (print_element_info), (main):
5184 deactivate and remove dparams (libgstcontrol)
5186 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5188 * gst/elements/gsttypefindelement.c:
5189 (gst_type_find_element_have_type), (gst_type_find_element_init),
5190 (stop_typefinding), (gst_type_find_element_handle_event),
5191 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5192 * gst/elements/gsttypefindelement.h:
5193 Set caps on all outgoing buffers, not just the first one.
5195 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5197 * gst/elements/gsttypefindelement.c:
5198 (gst_type_find_element_have_type),
5199 (gst_type_find_element_check_set_buffer_caps),
5200 (gst_type_find_element_init), (stop_typefinding),
5201 (gst_type_find_element_handle_event),
5202 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5203 * gst/elements/gsttypefindelement.h:
5204 Set caps on first outgoing buffer when we've found the type.
5206 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5208 * docs/gst/gstreamer-docs.sgml:
5209 * docs/gst/gstreamer-sections.txt:
5210 * docs/gst/tmpl/gstscheduler.sgml:
5211 * docs/gst/tmpl/gstschedulerfactory.sgml:
5212 Remove some old cruft from docs.
5214 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5217 Fix inline docs for GstPadLinkReturn.
5219 * gst/gststructure.c: (gst_structure_has_name):
5220 * gst/gststructure.h:
5221 * docs/gst/gstreamer-sections.txt:
5222 New API: gst_structure_has_name().
5224 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5227 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5228 and _LARGEFILE_SOURCE in config.h as required. Do not
5229 export those flags in our .pc files any longer (#142209).
5231 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5233 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5234 (gst_file_sink_do_seek), (gst_file_sink_event),
5235 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5236 Redo seek/tell calls with large file support in mind; add some
5237 debugging messages; add log message that tells us when large
5238 file support is unavailable or not enabled for some reason.
5240 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5241 Add log message that tells us when large file support
5242 is unavailable or not enabled for some reason.
5244 2005-07-29 Wim Taymans <wim@fluendo.com>
5246 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5247 Added test for removing an element with ghostpad from a bin.
5248 Fixed test as current implementation does the right thing.
5250 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5251 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5252 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5253 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5254 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5255 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5256 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5257 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5258 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5259 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5260 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5261 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5262 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5263 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5264 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5265 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5266 * gst/gstghostpad.h:
5267 Clean up ghostpads, remove properties for internal stuff.
5270 Prepare for switching targets, not all use cases work yet.
5272 2005-07-29 Wim Taymans <wim@fluendo.com>
5274 * docs/design/part-gstghostpad.txt:
5277 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5278 (gst_bin_remove_func):
5279 Unlinking pads while holding the bin LOCK is not a good
5282 * gst/gstpad.c: (gst_pad_class_init),
5283 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5284 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5285 No prob setting template after creating the pad.
5287 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5289 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5290 (gst_bus_peek), (gst_bus_source_dispatch),
5291 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5292 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5293 gst_bus_poll may be called from other threads. Handle
5294 this nicely by not making poll_data disappear off the
5295 stack once gst_bus_poll returns.
5296 gst_bus_peek now increments the refcount on the returned
5299 2005-07-29 Wim Taymans <wim@fluendo.com>
5301 * docs/design/part-gstghostpad.txt:
5302 Overview of current GhostPad datastructures and use
5303 cases for changing the target.
5305 2005-07-28 Wim Taymans <wim@fluendo.com>
5307 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5308 Added checks for hierarchy consistency whan adding linked
5311 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5312 Added check to test element scheduling without bin/pipeline.
5314 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5315 First add elements to bin, then link.
5317 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5318 (gst_bin_remove_func):
5319 Unlink pads from elements added/removed from bin to maintain
5320 hierarchy consistency.
5322 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5324 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5325 (gst_base_transform_handle_buffer):
5326 * gst/base/gstbasetransform.h:
5327 Remove broken delay_configure (fixes renegotiation of software
5328 scaling pipelines); remove some leftover printf()s.
5330 2005-07-28 Wim Taymans <wim@fluendo.com>
5332 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5333 Added some more tests for wrong hierarchy
5335 * docs/design/part-overview.txt:
5338 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5341 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5342 (gst_element_dispose):
5345 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5346 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5347 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5348 (gst_pad_set_caps), (gst_pad_send_event):
5349 Check for correct hierarchy when linking pads. Moving to
5350 strict requirement for ghostpads when linking elements in
5354 Clean ups. Added WRONG_HIERARCHY return value.
5356 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5358 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5359 Better debug if no transform is possible.
5361 2005-07-27 Wim Taymans <wim@fluendo.com>
5363 * docs/random/wtay/network-transp:
5366 2005-07-27 Wim Taymans <wim@fluendo.com>
5368 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5369 (gst_dp_event_from_packet):
5370 Fix serialization of seek events.
5372 2005-07-27 Wim Taymans <wim@fluendo.com>
5374 * check/gst-libs/gdp.c: (GST_START_TEST):
5375 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5376 Fix compilation and fix event serialization.
5378 2005-07-27 Wim Taymans <wim@fluendo.com>
5381 * docs/design/part-TODO.txt:
5382 * docs/design/part-events.txt:
5385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5386 (gst_base_sink_event), (gst_base_sink_do_sync),
5387 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5388 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5389 (gst_base_src_do_seek), (gst_base_src_event_handler),
5390 (gst_base_src_loop):
5391 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5392 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5393 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5394 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5395 (gst_base_transform_set_passthrough),
5396 (gst_base_transform_is_passthrough):
5397 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5398 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5404 * gst/gstelement.c: (gst_element_seek):
5406 Update gst_element_seek.
5408 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5409 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5410 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5411 (gst_event_new_eos), (gst_event_new_newsegment),
5412 (gst_event_parse_newsegment), (gst_event_new_tag),
5413 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5414 (gst_event_parse_qos), (gst_event_new_seek),
5415 (gst_event_parse_seek), (gst_event_new_navigation):
5417 Make GstEvent use GstStructure. Add parsing code, make sure the
5418 API is sufficiently generic.
5419 Mark possible directions of events and serialization.
5421 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5422 (_gst_message_copy), (gst_message_new_segment_start),
5423 (gst_message_new_segment_done), (gst_message_new_custom),
5424 (gst_message_parse_segment_start),
5425 (gst_message_parse_segment_done):
5428 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5429 (gst_pad_set_caps), (gst_pad_send_event):
5430 Update for new events.
5431 Catch events sent in wrong directions.
5433 * gst/gstqueue.c: (gst_queue_link_src),
5434 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5435 (gst_queue_handle_src_query):
5440 Remove event code from this file.
5442 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5443 (gst_dp_event_from_packet):
5446 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5448 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5449 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5450 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5451 Make debugging actually useful.
5453 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5455 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5456 (gst_pad_fixate_caps):
5457 Implement default fixation once again, so that gst_pad_fixate()
5458 actually does anything at all. This probably needs to be some
5459 sort of a last resort, and use profile-based fixation first, but
5460 since that doesn't exist yet, this is the best we have. Fixes
5461 visualization in Totem.
5463 2005-07-22 Wim Taymans <wim@fluendo.com>
5465 * docs/design/part-events.txt:
5468 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5469 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5470 (gst_base_sink_activate_pull):
5473 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5474 (gst_fake_src_create):
5475 Fix handoff marshall.
5477 * gst/elements/gstidentity.c: (gst_identity_class_init),
5478 (gst_identity_transform_ip):
5479 We're a real inplace element.
5481 * gst/gstbus.c: (gst_bus_post):
5482 Added some comments.
5484 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5485 * tests/muxing/case1.c: (main):
5486 * tests/sched/dynamic-pipeline.c: (main):
5487 * tests/sched/interrupt1.c: (main):
5488 * tests/sched/interrupt2.c: (main):
5489 * tests/sched/interrupt3.c: (main):
5490 * tests/sched/runxml.c: (main):
5491 * tests/sched/sched-stress.c: (main):
5492 * tests/seeking/seeking1.c: (event_received), (main):
5493 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5495 * tests/threadstate/threadstate3.c: (main):
5496 * tests/threadstate/threadstate4.c: (main):
5497 * tests/threadstate/threadstate5.c: (main):
5500 2005-07-21 Wim Taymans <wim@fluendo.com>
5502 * docs/design/part-seeking.txt:
5503 Some small additions.
5505 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5506 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5507 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5508 * gst/base/gstbasesink.h:
5509 discont values are gint64, handle the math correctly.
5511 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5512 Make the basesrc report error if the source pad is not linked.
5514 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5515 (gst_queue_loop), (gst_queue_handle_src_query),
5516 (gst_queue_src_activate_push):
5517 Make queue collect data even if the srcpad is not linked.
5518 Start pushing out data as soon as it is linked.
5520 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5522 Added gst_flow_get_name() to ease error reporting.
5524 2005-07-20 Wim Taymans <wim@fluendo.com>
5526 * gst/gstmessage.c: (gst_message_new_segment_start),
5527 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5528 (gst_message_parse_segment_done):
5530 Added a bunch of messages for advanced seeking.
5532 * gst/parse/grammar.y:
5533 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5534 (gst_dpman_state_changed):
5535 Fix some new-pad -> pad-added signals
5537 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5539 * docs/manual/appendix-porting.xml:
5540 * docs/pwg/appendix-porting.xml:
5541 Document new-pad/state-change signal renames and the FixedList
5544 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5546 * docs/manual/advanced-autoplugging.xml:
5547 * docs/manual/basics-helloworld.xml:
5548 * docs/manual/basics-pads.xml:
5549 * docs/random/ds/0.9-suggested-changes:
5550 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5555 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5556 (gst_structure_parse_array), (gst_structure_parse_value):
5557 * gst/gstvalue.c: (gst_type_is_fixed),
5558 (gst_value_list_prepend_value), (gst_value_list_append_value),
5559 (gst_value_list_get_size), (gst_value_list_get_value),
5560 (gst_value_transform_array_string), (gst_value_serialize_array),
5561 (gst_value_deserialize_array), (gst_value_intersect_array),
5562 (gst_value_is_fixed), (_gst_value_initialize):
5564 GstElement::new-pad -> pad-added, GstElement::state-change ->
5565 state-changed, GstValueFixedList -> GstValueArray, add format and
5566 flags as their own arguments in gst_element_seek() (should improve
5567 "bindeability"), remove function generators since they don't work
5568 under a whole bunch of compilers (they were deprecated already
5571 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5573 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5574 (_gst_debug_register_funcptr):
5576 Fix illegal cast on some platforms (#309253).
5578 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5580 * gst/gstmessage.c: (gst_message_new_custom):
5582 Add _new_custom, make _new_application a macro to _new_custom.
5584 2005-07-20 Wim Taymans <wim@fluendo.com>
5586 * gst/base/gstbasesrc.c: (gst_base_src_init),
5587 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5588 * gst/base/gstbasesrc.h:
5589 Add a gboolean to decide when to push out a discont.
5591 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5592 (gst_queue_loop), (gst_queue_handle_src_query),
5593 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5594 (gst_queue_set_property), (gst_queue_get_property):
5597 * tests/threadstate/threadstate1.c: (main):
5598 Make a thread test compile and run... very silly..
5601 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5603 * docs/manual/appendix-porting.xml:
5604 Mention removal of libgstgconf-0.9.la and existence of gconf
5607 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5609 * docs/pwg/advanced-clock.xml:
5610 * docs/pwg/appendix-porting.xml:
5611 * docs/pwg/intro-preface.xml:
5612 * docs/pwg/other-base.xml:
5613 * docs/pwg/other-manager.xml:
5614 * docs/pwg/other-nton.xml:
5615 * docs/pwg/other-ntoone.xml:
5616 * docs/pwg/other-oneton.xml:
5618 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5619 demuxer), remove n-to-n (was never written), fix some code examples
5620 and links and update the porting section to include all this.
5622 2005-07-19 Wim Taymans <wim@fluendo.com>
5624 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5625 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5626 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5627 (gst_queue_src_activate_push), (gst_queue_change_state),
5628 (gst_queue_get_property):
5630 Propagate GstFlowReturn more intelligently upstream and output
5631 an ERROR/EOS when streaming stopped due to fatal error.
5633 2005-07-19 Wim Taymans <wim@fluendo.com>
5635 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5636 Don't block forever for the state change to complete, the
5637 pipeline already did with a sensible timeout.
5639 2005-07-19 Wim Taymans <wim@fluendo.com>
5641 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5642 Make sure we never call the create function is we
5645 2005-07-19 Andy Wingo <wingo@pobox.com>
5647 * gst/parse/parse.l: Attempt to solve bug #172815.
5649 2005-07-19 Wim Taymans <wim@fluendo.com>
5651 * docs/design/part-clocks.txt:
5652 * docs/design/part-events.txt:
5653 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5655 Only update the seeking values when we are not
5658 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5660 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5661 Oops, ignore the result of gst_pad_push_event here.
5663 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5665 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5666 (gst_base_src_activate_push):
5667 Send discont event from the loop function, as pads
5668 aren't activated yet in the activate_push handler.
5670 * gst/gstbin.c: (bin_bus_handler):
5671 Don't leak element name.
5673 2005-07-18 Andy Wingo <wingo@pobox.com>
5675 * configure.ac: Use AS_LIBTOOL_TAGS.
5677 2005-07-18 Wim Taymans <wim@fluendo.com>
5679 * docs/gst/gstreamer.types:
5680 Remove deleted types.
5682 2005-07-18 Wim Taymans <wim@fluendo.com>
5684 * check/elements/gstfakesrc.c: (GST_START_TEST):
5687 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5688 (init_popt_callback):
5690 * gst/gst_private.h:
5691 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5692 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5695 * gst/gstconfig.h.in:
5696 * gst/gstelement.c: (gst_element_class_init),
5697 (gst_element_set_base_time), (gst_element_get_base_time),
5698 (iterator_fold_with_resync), (gst_element_change_state),
5699 (gst_element_dispose), (gst_element_get_bus):
5701 * gst/gstelementfactory.h:
5702 * gst/gsterror.c: (_gst_core_errors_init):
5705 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5707 * gst/gstinfo.c: (_gst_debug_init):
5708 * gst/gstmessage.c: (_gst_message_copy):
5710 * gst/gstminiobject.h:
5713 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5714 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5717 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5718 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5719 (gst_pipeline_get_last_stream_time):
5720 * gst/gstpipeline.h:
5721 * gst/gstpluginfeature.h:
5723 * gst/gstscheduler.c:
5724 * gst/gstscheduler.h:
5725 * gst/gststructure.h:
5726 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5727 (gst_task_finalize), (gst_task_func), (gst_task_create),
5728 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5729 (gst_task_stop), (gst_task_pause):
5731 * gst/gsttypefind.h:
5733 * gst/registries/gstlibxmlregistry.c: (load_feature),
5734 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5735 * gst/registries/gstxmlregistry.c:
5736 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5737 * gst/schedulers/threadscheduler.c:
5738 * libs/gst/control/dparammanager.h:
5739 * tools/gst-inspect.c: (print_element_list),
5740 (print_plugin_features), (print_element_features):
5741 * tools/gst-xmlinspect.c: (print_element_list),
5742 (print_plugin_info), (main):
5743 Removed plugable schedulers.
5744 Removed Scheduler/Manager from elements.
5745 Removed gsttypes.h, rearranged includes.
5746 Removed dependency pad<->element, element<>pipeline, and
5747 various others, fix includes.
5748 implement gst_pad_get_parent() with gst_object_get_parent()
5749 Make GstTask sefcontained.
5750 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5752 Fix endless loop in iterator_fold_with_resync.
5755 2005-07-18 Wim Taymans <wim@fluendo.com>
5761 2005-07-18 Wim Taymans <wim@fluendo.com>
5766 2005-07-18 Wim Taymans <wim@fluendo.com>
5772 2005-07-18 Wim Taymans <wim@fluendo.com>
5774 * docs/design/part-dynamic.txt:
5775 * docs/design/part-events.txt:
5776 * docs/design/part-seeking.txt:
5777 Some more docs in the works.
5779 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5780 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5781 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5782 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5783 (gst_base_transform_handle_buffer),
5784 (gst_base_transform_sink_activate_push),
5785 (gst_base_transform_src_activate_pull),
5786 (gst_base_transform_set_passthrough),
5787 (gst_base_transform_is_passthrough):
5790 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5793 * gst/gstevent.c: (gst_event_finalize):
5796 * gst/gstutils.c: (gst_element_unlink),
5797 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5798 (gst_pad_proxy_setcaps):
5800 Add _get_parent_element() to get a pads parent as an element.
5802 2005-07-18 Wim Taymans <wim@fluendo.com>
5804 * check/gst/gstbin.c: (GST_START_TEST):
5807 2005-07-18 Wim Taymans <wim@fluendo.com>
5809 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5810 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5811 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5812 (gst_base_sink_event), (gst_base_sink_do_sync),
5813 (gst_base_sink_chain), (gst_base_sink_loop),
5814 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5815 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5817 Fix logic for returning ASYNC when not prerolled.
5819 2005-07-18 Wim Taymans <wim@fluendo.com>
5821 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5822 Fix nasty refcount bug.
5824 2005-07-16 Philippe Khalaf <burger@speedy.org>
5826 * gst/elements/gstfdsrc.c:
5827 * gst/elements/gstfdsrc.h:
5828 * gst/elements/gstelements.c:
5829 * gst/elements/Makefile.am:
5830 Ported fdsrc to 0.9.
5832 2005-07-16 Wim Taymans <wim@fluendo.com>
5834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5835 (gst_base_sink_do_sync):
5838 2005-07-16 Wim Taymans <wim@fluendo.com>
5840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5841 (gst_base_sink_event), (gst_base_sink_get_times),
5842 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5843 * gst/base/gstbasesink.h:
5844 Store and use discont values when syncing buffers as described
5847 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5848 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5849 (gst_base_src_activate_push):
5850 Push discont event when starting.
5852 * gst/elements/gstidentity.c: (gst_identity_transform):
5855 * gst/gstbin.c: (gst_bin_change_state):
5856 Small cleanups in base_time distribution.
5858 * gst/gstelement.c: (gst_element_set_base_time),
5859 (gst_element_get_base_time), (gst_element_change_state):
5861 Added methods for the base_time of the element.
5864 * gst/gstpipeline.c: (gst_pipeline_send_event),
5865 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5866 (gst_pipeline_get_last_stream_time):
5867 * gst/gstpipeline.h:
5869 Handle seeking as described in design doc, remove stream_time
5871 Cleanups clock and stream_time selection code. Added accessors
5872 for the stream_time.
5875 2005-07-16 Andy Wingo <wingo@pobox.com>
5877 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
5880 2005-07-16 Wim Taymans <wim@fluendo.com>
5882 * check/gst/gstbin.c: (GST_START_TEST):
5883 Make elements silent as the deep_notify refs the
5884 parent, which might make the test fail.
5886 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5887 Don't hold the lock for too long.
5889 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
5891 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5892 Don't unref the caps we passed to gst_caps_make_writable() after
5893 passing them. gst_caps_make_writable() will do that for us.
5895 2005-07-15 Andy Wingo <wingo@pobox.com>
5897 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
5900 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
5901 own marshalling function for the handoff signal. Properly type the
5902 buffer as a buffer. Fixes some warnings. Should do a more general
5904 (gst_identity_class_init): Plug into the right marshaller.
5906 2005-07-15 Wim Taymans <wim@fluendo.com>
5908 * docs/design/part-TODO.txt:
5909 * docs/design/part-clocks.txt:
5910 * docs/design/part-element-sink.txt:
5911 * docs/design/part-events.txt:
5912 * docs/design/part-gstpipeline.txt:
5913 Updated docs, mostly DISCONT related.
5915 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
5917 * docs/pwg/building-pads.xml:
5918 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
5920 2005-07-15 Andy Wingo <wingo@pobox.com>
5922 * tools/gst-typefind.c: Update, add copyright block.
5924 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
5925 Normalize and truncate caps before fixation.
5928 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
5929 discards all but the first structure from its argument.
5931 2005-07-15 Wim Taymans <wim@fluendo.com>
5933 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5934 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
5935 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5936 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5937 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
5938 (gst_base_transform_chain), (gst_base_transform_change_state),
5939 (gst_base_transform_set_passthrough),
5940 (gst_base_transform_is_passthrough):
5941 * gst/base/gstbasetransform.h:
5942 Make passthrough work using the bufferpools.
5943 Changed API a bit, subclasses have to write into a buffer
5944 provided by the base class.
5945 More debug info in nego functions.
5947 * gst/elements/gstidentity.c: (gst_identity_init),
5948 (gst_identity_transform):
5949 Port to new base class.
5951 2005-07-15 Wim Taymans <wim@fluendo.com>
5953 * gst/gstmessage.c: (gst_message_new_state_changed):
5954 * tools/gst-launch.c: (event_loop), (main):
5955 Totally dump messages in -launch with the -m option.
5956 Fix message name for State messages,
5958 2005-07-14 Wim Taymans <wim@fluendo.com>
5960 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5961 Post error messages on errors.
5963 2005-07-14 Wim Taymans <wim@fluendo.com>
5965 * gst/gstcaps.c: (gst_caps_do_simplify):
5969 Define error for stream stopped.
5971 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5972 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5973 Do proper return values.
5975 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5976 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5977 (gst_pad_get_range):
5978 Better return values.
5981 Reorganise return values, add macro to check for fatal errors.
5983 * gst/gstqueue.c: (gst_queue_chain):
5984 Return proper GstFlowReturn values,
5986 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5988 * docs/gst/gstreamer-sections.txt:
5989 * docs/gst/gstreamer.types:
5990 * docs/gst/tmpl/gst.sgml:
5991 * docs/gst/tmpl/gstbasesink.sgml:
5992 * docs/gst/tmpl/gstbasesrc.sgml:
5993 * docs/gst/tmpl/gstbasetransform.sgml:
5994 * docs/gst/tmpl/gstbin.sgml:
5995 * docs/gst/tmpl/gstbuffer.sgml:
5996 * docs/gst/tmpl/gstcaps.sgml:
5997 * docs/gst/tmpl/gstclock.sgml:
5998 * docs/gst/tmpl/gstcompat.sgml:
5999 * docs/gst/tmpl/gstconfig.sgml:
6000 * docs/gst/tmpl/gstelement.sgml:
6001 * docs/gst/tmpl/gstelementdetails.sgml:
6002 * docs/gst/tmpl/gstelementfactory.sgml:
6003 * docs/gst/tmpl/gstenumtypes.sgml:
6004 * docs/gst/tmpl/gsterror.sgml:
6005 * docs/gst/tmpl/gstevent.sgml:
6006 * docs/gst/tmpl/gstfakesink.sgml:
6007 * docs/gst/tmpl/gstfakesrc.sgml:
6008 * docs/gst/tmpl/gstfilesink.sgml:
6009 * docs/gst/tmpl/gstfilesrc.sgml:
6010 * docs/gst/tmpl/gstfilter.sgml:
6011 * docs/gst/tmpl/gstformat.sgml:
6012 * docs/gst/tmpl/gstghostpad.sgml:
6013 * docs/gst/tmpl/gstimplementsinterface.sgml:
6014 * docs/gst/tmpl/gstindex.sgml:
6015 * docs/gst/tmpl/gstindexfactory.sgml:
6016 * docs/gst/tmpl/gstinfo.sgml:
6017 * docs/gst/tmpl/gstiterator.sgml:
6018 * docs/gst/tmpl/gstmacros.sgml:
6019 * docs/gst/tmpl/gstmemchunk.sgml:
6020 * docs/gst/tmpl/gstminiobject.sgml:
6021 * docs/gst/tmpl/gstobject.sgml:
6022 * docs/gst/tmpl/gstpad.sgml:
6023 * docs/gst/tmpl/gstpadtemplate.sgml:
6024 * docs/gst/tmpl/gstparse.sgml:
6025 * docs/gst/tmpl/gstpipeline.sgml:
6026 * docs/gst/tmpl/gstplugin.sgml:
6027 * docs/gst/tmpl/gstpluginfeature.sgml:
6028 * docs/gst/tmpl/gstquery.sgml:
6029 * docs/gst/tmpl/gstqueue.sgml:
6030 * docs/gst/tmpl/gstregistry.sgml:
6031 * docs/gst/tmpl/gstregistrypool.sgml:
6032 * docs/gst/tmpl/gstscheduler.sgml:
6033 * docs/gst/tmpl/gstschedulerfactory.sgml:
6034 * docs/gst/tmpl/gststructure.sgml:
6035 * docs/gst/tmpl/gstsystemclock.sgml:
6036 * docs/gst/tmpl/gsttaglist.sgml:
6037 * docs/gst/tmpl/gsttagsetter.sgml:
6038 * docs/gst/tmpl/gsttrace.sgml:
6039 * docs/gst/tmpl/gsttrashstack.sgml:
6040 * docs/gst/tmpl/gsttypefind.sgml:
6041 * docs/gst/tmpl/gsttypefindfactory.sgml:
6042 * docs/gst/tmpl/gsttypes.sgml:
6043 * docs/gst/tmpl/gsturihandler.sgml:
6044 * docs/gst/tmpl/gsturitype.sgml:
6045 * docs/gst/tmpl/gstutils.sgml:
6046 * docs/gst/tmpl/gstvalue.sgml:
6047 * docs/gst/tmpl/gstversion.sgml:
6048 * docs/gst/tmpl/gstxml.sgml:
6049 * docs/libs/tmpl/gstcontrol.sgml:
6050 * docs/libs/tmpl/gstdataprotocol.sgml:
6051 * docs/libs/tmpl/gstdparam.sgml:
6052 * docs/libs/tmpl/gstdplinint.sgml:
6053 * docs/libs/tmpl/gstdpman.sgml:
6054 * docs/libs/tmpl/gstdpsmooth.sgml:
6055 * docs/libs/tmpl/gstgetbits.sgml:
6056 * docs/libs/tmpl/gstunitconvert.sgml:
6057 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6058 (gst_push_src_base_init), (gst_push_src_class_init),
6059 (gst_push_src_init), (gst_push_src_create):
6060 * gst/base/gstpushsrc.h:
6061 * gst/elements/gstelements.c:
6062 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6063 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6064 (gst_fake_sink_init), (gst_fake_sink_set_property),
6065 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6066 (gst_fake_sink_event), (gst_fake_sink_preroll),
6067 (gst_fake_sink_render), (gst_fake_sink_change_state):
6068 * gst/elements/gstfakesink.h:
6069 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6070 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6071 (gst_fake_src_base_init), (gst_fake_src_class_init),
6072 (gst_fake_src_init), (gst_fake_src_event_handler),
6073 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6074 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6075 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6076 (gst_fake_src_create_buffer), (gst_fake_src_create),
6077 (gst_fake_src_start), (gst_fake_src_stop):
6078 * gst/elements/gstfakesrc.h:
6079 * gst/elements/gstfilesink.c: (_do_init),
6080 (gst_file_sink_base_init), (gst_file_sink_class_init),
6081 (gst_file_sink_init), (gst_file_sink_dispose),
6082 (gst_file_sink_set_location), (gst_file_sink_set_property),
6083 (gst_file_sink_get_property), (gst_file_sink_open_file),
6084 (gst_file_sink_close_file), (gst_file_sink_query),
6085 (gst_file_sink_event), (gst_file_sink_render),
6086 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6087 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6088 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6089 * gst/elements/gstfilesink.h:
6090 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6091 (gst_file_src_class_init), (gst_file_src_init),
6092 (gst_file_src_finalize), (gst_file_src_set_location),
6093 (gst_file_src_set_property), (gst_file_src_get_property),
6094 (gst_file_src_map_region), (gst_file_src_map_small_region),
6095 (gst_file_src_create_mmap), (gst_file_src_create_read),
6096 (gst_file_src_create), (gst_file_src_is_seekable),
6097 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6098 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6099 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6100 (gst_file_src_uri_handler_init):
6101 * gst/elements/gstfilesrc.h:
6102 more autistic cleanliness in functions/names/defines
6104 2005-07-13 Andy Wingo <wingo@pobox.com>
6106 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6107 source couldn't negotiate.
6109 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6113 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6114 function. I am channeling Hades. Put your boots on suckers!!!
6116 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6118 * testsuite/caps/Makefile.am:
6119 * testsuite/caps/value_compare.c:
6120 * testsuite/caps/value_intersect.c:
6121 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6122 move two testsuite apps over to the check dir
6124 2005-07-12 Wim Taymans <wim@fluendo.com>
6126 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6127 Added more debug info in the negotiate process.
6130 Prepare for segment playback.
6132 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6138 * tools/gst-launch.c: (main):
6139 NULL pipeline on errors.
6141 2005-07-12 Andy Wingo <wingo@pobox.com>
6143 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6144 not it comes from a malloc region. Make sure our copy gets freed.
6146 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6148 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6149 * check/gst/gstmessage.c: (GST_START_TEST):
6150 * check/gst/gststructure.c: (GST_START_TEST),
6151 (gst_structure_suite), (main):
6153 * gst/gstelement.c: (gst_element_message_full):
6154 clean up GError and debug string now that they get copied
6155 * gst/gstmessage.c: (gst_message_new_error),
6156 (gst_message_new_warning), (gst_message_parse_error),
6157 (gst_message_parse_warning):
6158 use GST_TYPE_G_ERROR for structure_new, and take copies of
6159 arguments, so that we don't mess up refcounting
6161 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6163 * check/Makefile.am:
6164 add per-test valgrind targets
6165 * check/gst-libs/gdp.c: (GST_START_TEST),
6166 (gst_data_protocol_suite), (main):
6169 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6171 * check/Makefile.am:
6172 instate more valgrindable tests
6173 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6174 (GST_START_TEST), (fakesrc_suite):
6175 * check/gst/gstpad.c: (GST_START_TEST):
6176 * check/gst/gststructure.c: (GST_START_TEST):
6178 * docs/gst/tmpl/gstminiobject.sgml:
6179 * gst/gstpad.c: (gst_pad_finalize):
6180 fix the static mutex leak
6182 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6184 * check/Makefile.am:
6185 add two more tests for valgrinding
6186 * check/gst/gstvalue.c: (GST_START_TEST):
6187 test refcount of deserialized buffer, found a leak
6188 * docs/gst/gstreamer-docs.sgml:
6189 * docs/gst/gstreamer-sections.txt:
6190 * docs/gst/gstreamer.types:
6191 * docs/gst/tmpl/gstminiobject.sgml:
6192 add miniobject to docs
6193 * gst/gstminiobject.c:
6195 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6196 (gst_string_unwrap):
6197 fix a hard-to-find invalid write for one of the tests
6198 fix a leak for deserialized buffers
6200 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6202 * docs/pwg/advanced-events.xml:
6203 * docs/pwg/advanced-request.xml:
6204 * docs/pwg/advanced-scheduling.xml:
6205 * docs/pwg/appendix-porting.xml:
6206 * docs/pwg/building-boiler.xml:
6207 * docs/pwg/intro-preface.xml:
6208 * docs/pwg/other-ntoone.xml:
6209 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6210 of example code and explanation for pad activation, loop() and
6211 getrange() functions and a bit more. Remove old comments pointing
6213 * examples/pwg/Makefile.am:
6214 Add loop/getrange examples.
6216 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6219 check for valgrind binary + some fixes
6221 valgrind suppressions for the tests
6222 * check/Makefile.am:
6223 add a valgrind: target that valgrinds the unit tests
6224 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6225 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6226 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6227 * check/gst/gstghostpad.c:
6229 * check/gst/gstdata.c:
6231 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6232 (thread_unref), (gst_mini_object_suite), (main):
6234 * gst/gst.c: (gst_deinit):
6236 add a method to clean up.
6237 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6238 (gst_system_clock_obtain):
6239 allow for disposing the system clock.
6240 * tools/gst-launch.c: (main):
6243 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6245 * docs/gst/tmpl/gstbasesrc.sgml:
6246 * docs/gst/tmpl/gstfakesrc.sgml:
6247 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6248 (gst_base_src_init), (gst_base_src_set_property),
6249 (gst_base_src_get_property), (gst_base_src_get_range),
6250 (gst_base_src_start):
6251 * gst/base/gstbasesrc.h:
6252 add num-buffers property
6253 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6254 (gst_fakesrc_init), (gst_fakesrc_set_property),
6255 (gst_fakesrc_get_property), (gst_fakesrc_create),
6256 (gst_fakesrc_start):
6257 remove num-buffers property
6259 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6261 * docs/gst/gstreamer-sections.txt:
6262 * docs/gst/tmpl/gstbasesink.sgml:
6263 * docs/gst/tmpl/gstbasesrc.sgml:
6264 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6265 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6266 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6267 (gst_base_sink_set_property), (gst_base_sink_get_property),
6268 (gst_base_sink_handle_object), (gst_base_sink_event),
6269 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6270 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6271 (gst_base_sink_loop), (gst_base_sink_deactivate),
6272 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6273 (gst_base_sink_change_state):
6274 * gst/base/gstbasesink.h:
6275 * gst/base/gstbasesrc.h:
6276 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6277 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6278 (gst_filesink_init):
6279 more macro splitting
6281 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6283 * gst/gstelement.c: (gst_element_get_bus):
6285 * tools/gst-launch.c: (check_intr), (event_loop):
6288 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6290 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6293 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6295 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6296 (gst_base_src_finalize):
6297 add finalize method and clean up properly
6298 * gst/gstpipeline.c: (gst_pipeline_dispose):
6301 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6303 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6305 add more things to check
6306 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6310 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6312 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6313 (GST_START_TEST), (fakesrc_suite):
6314 * check/gst-libs/gdp.c: (GST_START_TEST):
6315 * check/gst/gst.c: (GST_START_TEST):
6316 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6317 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6318 * check/gst/gstbus.c: (GST_START_TEST):
6319 * check/gst/gstcaps.c: (GST_START_TEST):
6320 * check/gst/gstdata.c: (GST_START_TEST):
6321 * check/gst/gstelement.c: (GST_START_TEST):
6322 * check/gst/gstghostpad.c: (GST_START_TEST):
6323 * check/gst/gstiterator.c: (GST_START_TEST):
6324 * check/gst/gstmessage.c: (GST_START_TEST):
6325 * check/gst/gstobject.c: (GST_START_TEST):
6326 * check/gst/gstpad.c: (GST_START_TEST):
6327 * check/gst/gststructure.c: (GST_START_TEST):
6328 * check/gst/gstsystemclock.c: (GST_START_TEST),
6329 (gst_systemclock_suite):
6330 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6331 * check/gst/gstvalue.c: (GST_START_TEST):
6332 * check/pipelines/cleanup.c: (GST_START_TEST):
6333 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6334 * check/states/sinks.c: (GST_START_TEST):
6335 * check/gstcheck.c: (gst_check_init):
6337 add debugging category
6338 use GST_START_TEST now, so we add a debug line
6340 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6342 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6343 add test for state change message on a bin
6344 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6346 * gst/gstbin.c: (gst_bin_init):
6347 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6348 * gst/gstelement.c: (gst_element_post_message),
6349 (gst_element_set_state):
6350 * gst/gstelementfactory.c: (gst_element_factory_create):
6351 * gst/gstmessage.c: (gst_message_new):
6352 * gst/gstscheduler.c:
6353 various debugging additions and cleanups
6355 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6357 * check/Makefile.am:
6358 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6360 adding tests for elements
6361 * gst/gstelement.c: (gst_element_dispose):
6363 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6365 * gst/registries/gstlibxmlregistry.c: (load_feature):
6366 plug more leaks. A simple gst_init() now is leakfree, yay.
6368 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6370 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6371 (gst_xml_registry_load):
6372 plug another memleak
6374 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6377 use GST_SET_ERROR_CFLAGS
6379 change to ERROR_CFLAGS
6381 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6384 make GST_ERROR_CFLAGS overridable and re-enable Werror
6386 add a note about error CFLAGS
6387 * docs/gst/tmpl/gstfakesrc.sgml:
6388 * gst/elements/gstfakesrc.c:
6389 comment out some unused code
6390 * gst/gst.c: (split_and_iterate):
6391 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6395 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6397 * common/Makefile.am:
6398 * common/gtk-doc.mak:
6399 * docs/gst/Makefile.am:
6400 factor out gtk-doc.mak
6402 2005-07-07 Wim Taymans <wim@fluendo.com>
6404 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6405 (gst_thread_scheduler_dispose):
6406 Unlock the STREAM_LOCK completely.
6408 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6410 * check/Makefile.am:
6411 * check/elements/.cvsignore:
6412 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6413 (START_TEST), (fakesrc_suite), (main):
6414 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6415 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6416 (gst_fakesrc_create), (gst_fakesrc_start):
6417 * gst/elements/gstfakesrc.h:
6418 adding a first element test
6420 2005-07-07 Andy Wingo <wingo@pobox.com>
6422 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6425 2005-07-07 Wim Taymans <wim@fluendo.com>
6431 2005-07-07 Wim Taymans <wim@fluendo.com>
6433 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6434 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6435 Allow subclasses to implement their own negotiation.
6437 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6439 * docs/design/part-gstbin.txt:
6440 * docs/design/part-gstpipeline.txt:
6441 Update design notes to reflect the movement of
6442 responsibility for bus handling from GstPipeline to
6445 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6448 Remove unnecessary queue2/3/4 examples.
6450 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6452 * examples/Makefile.am:
6453 * examples/helloworld/helloworld.c: (event_loop), (main):
6454 * examples/queue/queue.c: (event_loop), (main):
6455 * examples/queue2/queue2.c: (main):
6456 Update a couple of the examples to work again.
6458 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6459 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6460 Spelling corrections and extra debug.
6462 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6463 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6464 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6466 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6467 (gst_pipeline_change_state):
6468 * gst/gstpipeline.h:
6469 Move the bus handler for children to the GstBin, and create a
6470 separate bus for receiving messages from children to the one the
6471 bus sends 'upwards' on.
6473 2005-07-06 Wim Taymans <wim@fluendo.com>
6476 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6477 (gst_base_sink_handle_object), (gst_base_sink_loop),
6478 (gst_base_sink_change_state):
6479 * gst/base/gstbasesink.h:
6480 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6481 (gst_base_src_init), (gst_base_src_setcaps),
6482 (gst_base_src_getcaps), (gst_base_src_loop),
6483 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6484 (gst_base_src_start), (gst_base_src_change_state):
6485 * gst/base/gstbasesrc.h:
6486 Make basesrc negotiate.
6487 Handle the case where preroll fails in basesink.
6490 2005-07-06 Wim Taymans <wim@fluendo.com>
6492 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6493 Implement the fixate function.
6494 Clean up acceptcaps.
6496 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6498 * docs/pwg/building-filterfactory.xml:
6500 Remove never-written filter-factory chapter; I'll add the various
6501 base classes to part 4 ("other element types") later on.
6503 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6505 * docs/pwg/advanced-negotiation.xml:
6506 * docs/pwg/building-boiler.xml:
6507 * docs/pwg/building-pads.xml:
6509 * examples/pwg/Makefile.am:
6510 Add a chapter on caps negotiation, simplify the original code
6511 samples a bit w.r.t. caps negotiation, add link to the advanced
6512 section. Add a bunch of examples showing different use cases of
6513 different types of caps negotiation. Upstream renegotiation isn't
6514 fully documented yet since nobody knows how that works.
6516 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6518 * check/gst/gstpad.c:
6520 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6521 if pad has no parent, return NULL as list of internal links
6523 2005-07-05 Andy Wingo <wingo@pobox.com>
6525 * gst/elements/gstfilesrc.c:
6526 * gst/elements/gstfakesrc.c:
6527 * gst/base/gstpushsrc.c:
6528 * gst/base/gstbasesrc.h:
6529 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6531 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6534 better report generation target (lcov needs a patch)
6536 2005-07-05 Andy Wingo <wingo@pobox.com>
6538 * gst/elements, testsuite: Null if we got it...
6540 2005-07-05 Wim Taymans <wim@fluendo.com>
6543 * libs/gst/dataprotocol/Makefile.am:
6544 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6545 * libs/gst/dataprotocol/dataprotocol.h:
6546 * pkgconfig/Makefile.am:
6547 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6548 * pkgconfig/gstreamer-dataprotocol.pc.in:
6549 Ported dataprotol to 0.9.
6550 Added pkgconfig files.
6552 2005-07-05 Andy Wingo <wingo@pobox.com>
6554 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6555 Default to returning TRUE for the case when tranform_caps returns
6556 a fixed caps, like for identity or volume.
6558 * check/gst/gstbus.c (pound_bus_with_messages):
6559 * check/gst/gstmessage.c (START_TEST):
6560 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6563 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6564 logic weaks here: always run transform_caps, trying passthrough
6565 operation only if the original caps intersects with the transform.
6567 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6568 source and sink caps.
6570 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6571 Intersect the peer caps with the pad template before going into
6573 (gst_base_transform_transform_caps): More debugging.
6575 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6578 2005-07-04 Edward Hervey <edward@fluendo.com>
6582 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6585 2005-07-04 Andy Wingo <wingo@pobox.com>
6587 * check/gst/gstpad.c: Only set explicit caps on pads.
6589 2005-07-01 Andy Wingo <wingo@pobox.com>
6591 * tests/network-clock.scm: Commentary update.
6593 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6594 Didn't really make sense, not implementable with basetransform,
6596 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6597 attempt at implementing the sync property, needs an unlock method.
6599 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6600 New func, by default returns the same caps (the identity
6602 (gst_base_transform_getcaps): Uses transform_caps to return
6604 (gst_base_transform_setcaps): Complicated logic to get caps on
6605 both pads, even if they are different, and to call set_caps once
6606 for every time both pads get their caps set.
6607 (gst_base_transform_handle_buffer): Give the ref to the transform
6608 function. Allows in-place modification of the buffer.
6610 * gst/base/gstbasetransform.h (transform_caps): New class method.
6611 Given caps on one side, what can I do on the other.
6612 (set_caps): Take two caps, one for each side of the element.
6615 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6616 caps in place. This is safe because we can check the mutability of
6617 the caps, and a good idea because fixate functions are just called
6618 as a matter of last resort. (Not actually implemented.)
6619 (gst_pad_set_caps): If the caps we're setting is actually the same
6620 as the existing pad caps, just update the pointer without calling
6621 setcaps. Assert that caps is either NULL or fixed, as per the
6624 * gst/gstghostpad.c: Update for fixate changes.
6626 2005-07-02 Andy Wingo <wingo@pobox.com>
6629 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6630 two refcounts makes it immutable, which is enough. Doc more.
6632 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6634 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6635 Put the mini_object into GValue as a mini_object,
6636 not a gpointer, since that's how we declared
6639 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6641 * examples/pwg/Makefile.am:
6644 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6646 * docs/pwg/building-testapp.xml:
6648 * examples/pwg/Makefile.am:
6651 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6654 * examples/Makefile.am:
6655 * examples/pwg/Makefile.am:
6656 * examples/pwg/extract.pl:
6657 Enable building the PWG examples.
6658 * docs/pwg/advanced-interfaces.xml:
6659 Add URI interface stub.
6660 * docs/pwg/advanced-types.xml:
6661 * docs/pwg/other-autoplugger.xml:
6662 * docs/pwg/appendix-porting.xml:
6664 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6665 * docs/pwg/building-boiler.xml:
6666 * docs/pwg/building-chainfn.xml:
6667 * docs/pwg/building-pads.xml:
6668 * docs/pwg/building-props.xml:
6669 * docs/pwg/building-state.xml:
6670 * docs/pwg/building-testapp.xml:
6671 Update the building-*.xml parts for 0.9 changes. All examples
6672 code blocks compile in examples/pwg/*.
6674 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6676 * docs/manual/advanced-autoplugging.xml:
6677 * docs/manual/appendix-checklist.xml:
6678 * docs/manual/appendix-integration.xml:
6679 * docs/manual/highlevel-components.xml:
6680 Fix playbin/decodebin examples, update docs a bit, mention bus
6681 instead of signals in various places, mention kmplayer and
6682 kaffeine since they have a working GStreamer backend in the KDE
6685 2005-06-30 Wim Taymans <wim@fluendo.com>
6688 * docs/design/draft-ghostpads.txt:
6689 * docs/design/draft-push-pull.txt:
6690 * docs/design/draft-query.txt:
6691 * docs/design/part-TODO.txt:
6692 * docs/design/part-query.txt:
6693 Added CHANGES-0.9 doc, updated status of other docs.
6698 2005-06-30 Wim Taymans <wim@fluendo.com>
6700 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6701 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6702 (gst_base_sink_change_state):
6703 * gst/base/gstbasesink.h:
6704 Some tweaks, only EOS and a buffer complete a preroll.
6706 2005-06-30 Andy Wingo <wingo@pobox.com>
6708 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6709 activate_push down to the internal pad as well.
6711 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6713 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6715 * gst/gsttaginterface.c:
6716 Some documentation fixes (#307394 and #307397).
6718 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6720 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6722 * gst/gstvalue.c: (gst_value_intersect_list):
6723 Fix memleak (#309125).
6725 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6727 * docs/manual/advanced-dataaccess.xml:
6728 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6729 * docs/manual/basics-pads.xml:
6730 Add reference for filtered caps to above chapter.
6732 2005-06-30 Wim Taymans <wim@fluendo.com>
6734 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6735 (gst_bin_change_state):
6737 Lame attempt at making the state change function a bit
6740 2005-06-30 Wim Taymans <wim@fluendo.com>
6742 * docs/design/part-clocks.txt:
6743 * docs/design/part-element-sink.txt:
6744 * docs/design/part-events.txt:
6745 * docs/design/part-preroll.txt:
6746 * docs/design/part-states.txt:
6747 Some more tweeks and additions to the docs.
6749 2005-06-30 Wim Taymans <wim@fluendo.com>
6751 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6752 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6753 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6754 (gst_pad_check_pull_range), (gst_pad_get_range),
6755 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6757 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6758 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6759 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6760 (gst_pad_remove_buffer_probe):
6761 Removed atomic operations, use existing LOCK.
6762 Move exception handling out of main code path.
6764 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6766 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6767 (silly_return_true_function), (gst_pad_class_init),
6768 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6769 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6770 (gst_pad_send_event):
6771 Fix accumulator, add default value by using _emitv() instead
6772 of _emit() for signal emission.
6774 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6776 * docs/manual/advanced-dataaccess.xml:
6777 * examples/manual/Makefile.am:
6779 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6782 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6784 * gst/elements/gstfilesink.c: (gst_filesink_render):
6785 Simplify code so that we don't have to handle short
6786 writes and return GST_FLOW_ERROR if an error occured.
6788 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6790 * docs/gst/gstreamer-docs.sgml:
6793 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6795 * docs/gst/gstreamer-sections.txt:
6796 * docs/gst/tmpl/gstpad.sgml:
6797 * docs/gst/tmpl/gstprobe.sgml:
6799 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6800 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6801 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6802 (gst_pad_push_event), (gst_pad_send_event):
6804 * gst/gstutils.c: (gst_pad_add_data_probe),
6805 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6806 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6807 (gst_pad_remove_buffer_probe):
6809 Remove old probes, add new g-signal-based probes and some utility
6812 2005-06-29 Edward Hervey <edward@fluendo.com>
6814 * gst/gstelementfactory.c:
6817 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6818 the definition to the header file.
6820 2005-06-29 Andy Wingo <wingo@pobox.com>
6822 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6823 plugins from the source directory.
6825 2005-06-29 Wim Taymans <wim@fluendo.com>
6827 * docs/gst/tmpl/gstbuffer.sgml:
6828 * docs/gst/tmpl/gstclock.sgml:
6829 Some fixings for blantently wrong text.
6831 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6833 * check/Makefile.am:
6834 * gst/gst.c: (add_path_func), (init_pre):
6835 * gst/gstregistry.c: (gst_registry_add_path):
6836 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6837 only scan the GST_PLUGIN_PATH locations, and not add
6840 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6842 * docs/gst/gstreamer-sections.txt:
6843 * docs/gst/tmpl/gstbasesrc.sgml:
6850 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6852 * docs/manual/advanced-autoplugging.xml:
6853 Fix autoplugging example.
6855 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6857 * docs/manual/advanced-autoplugging.xml:
6858 * docs/manual/mime-world.fig:
6859 Try to get autoplugging working, fix type detection. Fix text
6860 in hello-world image.
6862 2005-06-29 Wim Taymans <wim@fluendo.com>
6864 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6865 (gst_base_sink_change_state):
6869 map SIGNAL and BROADCAST to the right function.
6872 Remove redundant braces.
6874 * gst/gstpad.c: (gst_pad_set_caps):
6875 Don't call setcaps function when reseting caps to NULL.
6877 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6878 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
6879 (gst_system_clock_id_unschedule):
6880 Use BROADCAST as this is what we do.
6882 2005-06-29 Wim Taymans <wim@fluendo.com>
6884 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6885 We are actually prerolling before commiting the state
6888 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6890 * docs/manual/advanced-clocks.xml:
6891 * docs/manual/advanced-interfaces.xml:
6892 * docs/manual/advanced-metadata.xml:
6893 * docs/manual/advanced-position.xml:
6894 * docs/manual/advanced-schedulers.xml:
6895 * docs/manual/advanced-threads.xml:
6896 * docs/manual/appendix-porting.xml:
6897 * docs/manual/basics-bins.xml:
6898 * docs/manual/basics-bus.xml:
6899 * docs/manual/basics-elements.xml:
6900 * docs/manual/basics-helloworld.xml:
6901 * docs/manual/basics-pads.xml:
6902 * docs/manual/highlevel-components.xml:
6903 * docs/manual/manual.xml:
6904 * docs/manual/thread.fig:
6905 Update (until threads/scheduling) Application Development Manual;
6906 remove GstThread, add GstBus, add simple porting checklist, add
6907 documentation for tag writing, clocks, make all examples until this
6908 part compile and run.
6909 * examples/manual/Makefile.am:
6910 Update from changes to Application Development Manual; add bus
6911 example, remove thread example.
6913 2005-06-28 Wim Taymans <wim@fluendo.com>
6915 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
6916 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
6917 (gst_bus_source_dispatch):
6918 Add debugging messages.
6919 Make internal methods static.
6920 Handle the case where the bus is flushed in the handler.
6922 * gst/gstelement.c: (gst_element_get_bus):
6923 Fix refcount in _get_bus();
6925 * gst/gstpipeline.c: (gst_pipeline_change_state),
6926 (gst_pipeline_get_clock_func):
6927 Clock refcounting fixes.
6928 Handle the case where preroll timed out more gracefully.
6930 * gst/gstsystemclock.c: (gst_system_clock_dispose):
6931 Clean up the internal thread in dispose. This is needed
6932 for subclasses that actually get disposed.
6934 * gst/schedulers/threadscheduler.c:
6935 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6936 (gst_thread_scheduler_dispose):
6937 Free thread pool in dispose.
6939 2005-06-28 Andy Wingo <wingo@pobox.com>
6941 * tests/network-clock-utils.scm (debug, print-event): New utils.
6943 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
6944 (*packet-loss*): Unified loss probability.
6945 (network-time): Report out-of-band events.
6947 * tests/plot-data: Add support for out-of-band events. Hack it
6948 into this script instead of passing it down the pipe; should fix
6951 2005-06-28 Wim Taymans <wim@fluendo.com>
6953 * docs/gst/gstreamer.types:
6954 * docs/gst/tmpl/gstbasesrc.sgml:
6955 * docs/gst/tmpl/gstpad.sgml:
6958 2005-06-28 Wim Taymans <wim@fluendo.com>
6960 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6961 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6962 (gst_proxy_pad_do_fixatecaps):
6963 Correctly proxy the check_pull_range function.
6965 2005-06-28 Andy Wingo <wingo@pobox.com>
6967 * tests/network-clock.scm: Removed need for slib.
6969 2005-06-28 Wim Taymans <wim@fluendo.com>
6971 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6972 (gst_basesink_preroll_queue_flush):
6973 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6974 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6975 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6976 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6977 (gst_proxy_pad_set_property):
6980 * gst/gstqueue.c: (gst_queue_init):
6981 The deprecated pad loop function is removed now.
6983 2005-06-28 Andy Wingo <wingo@pobox.com>
6985 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6986 New parameters, simulate network packet loss.
6988 * tests/network-clock-utils.scm: Initialize the RNG.
6990 2005-06-28 Wim Taymans <wim@fluendo.com>
6992 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6993 (gst_basesink_event), (gst_basesink_deactivate):
6994 Flushing the preroll queue always needs to unlock the waiters.
6996 2005-06-28 Edward Hervey <edward@fluendo.com>
6998 * gst/gstpipeline.c: (gst_pipeline_send_event):
6999 Wheen a seek was successful on a pipeline, set the stream_time to the
7000 seek offset in order to have a synchronized stream_time.
7002 2005-06-28 Wim Taymans <wim@fluendo.com>
7004 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7005 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7006 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7007 (gst_proxy_pad_do_fixatecaps):
7008 Call wrapper function instead of just calling the function
7009 pointers. This takes care of any locking and whatmore.
7011 2005-06-28 Wim Taymans <wim@fluendo.com>
7013 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7014 (gst_pad_pull_range):
7016 CONNECTED -> LINKED.
7018 2005-06-28 Andy Wingo <wingo@pobox.com>
7020 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7021 source-munging commit!!!
7023 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7024 (gst_object_sink): Take gpointer arguments, not GstObject --
7025 avoids casts. Like GLib.
7027 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7030 2005-06-27 Andy Wingo <wingo@pobox.com>
7032 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7035 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7036 returns a sorted copy of the trace list.
7037 (gst_alloc_trace_print_live): New API, only prints traces with
7038 live objects. Sort the list.
7039 (gst_alloc_trace_print_all): Sort the list.
7040 (gst_alloc_trace_print): Align columns.
7042 * gst/elements/gstttypefindelement.c:
7043 * gst/elements/gsttee.c:
7044 * gst/base/gstbasesrc.c:
7045 * gst/base/gstbasesink.c:
7046 * gst/base/gstbasetransform.c:
7047 * gst/gstqueue.c: Adapt for pad activation changes.
7049 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7051 (gst_pipeline_dispose): Drop ref on sched.
7053 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7054 (gst_pad_activate_default): Push mode by default.
7055 (pre_activate_switch, post_activate_switch): New stubs, things to
7056 do before and after switching activation modes on pads.
7057 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7058 the pad's activate function to choose which mode to activate.
7059 Shortcut on deactivation and call the right function directly.
7060 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7062 (gst_pad_activate_push): New API, same for push mode.
7063 (gst_pad_set_activate_function)
7064 (gst_pad_set_activatepull_function)
7065 (gst_pad_set_activatepush_function): Setters for new API.
7067 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7068 Trace all miniobjects.
7069 (gst_mini_object_make_writable): Unref the arg if we copy, like
7070 gst_caps_make_writable.
7072 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7074 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7075 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7076 Adapt for new pad API.
7078 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7081 * gst/gstelement.c (gst_element_iterate_src_pads)
7082 (gst_element_iterate_sink_pads): New API functions.
7084 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7085 should fold into gstiterator.c in some form.
7086 (gst_element_pads_activate): Simplified via use of fold and
7087 delegation of decisions to gstpad->activate.
7089 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7092 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7093 class once in init, like gstmessage. Didn't run into this issue
7094 but it seems correct. Don't initialize a trace, gstminiobject does
7097 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7098 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7100 (assert_live_count): New util function, uses alloc traces to check
7103 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7104 To be modified when unlink drops the internal pad.
7106 2005-06-27 Wim Taymans <wim@fluendo.com>
7108 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7109 (gst_bin_change_state):
7110 Cleanup the get_state() function a little, make sure it
7111 iterates the same set of elements.
7112 Added stub iterate_state_order().
7114 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7116 * docs/gst/gstreamer-docs.sgml:
7117 * docs/gst/gstreamer-sections.txt:
7118 * docs/gst/gstreamer.types:
7119 * docs/gst/tmpl/gstbasesink.sgml:
7120 * docs/gst/tmpl/gstbasesrc.sgml:
7121 * docs/gst/tmpl/gstbasetransform.sgml:
7122 * docs/gst/tmpl/gstelement.sgml:
7123 * docs/gst/tmpl/gstiterator.sgml:
7124 * gst/base/gstbasesrc.c:
7125 * gst/base/gstbasesrc.h:
7126 * gst/base/gstbasetransform.h:
7128 * gst/gstiterator.h:
7129 adding basetransform and iterator docs
7131 2005-06-27 Andy Wingo <wingo@pobox.com>
7133 * docs/design/part-activation.txt: Notes on how activation should
7134 work -- not quite implemented yet.
7136 2005-06-25 Wim Taymans <wim@fluendo.com>
7138 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7139 At least get the chain function correct, needs more
7142 2005-06-25 Wim Taymans <wim@fluendo.com>
7144 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7145 (gst_basesink_handle_object), (gst_basesink_event),
7146 (gst_basesink_do_sync), (gst_basesink_handle_event),
7147 (gst_basesink_change_state):
7149 Right, two problems here: ghostpads don't take locks and
7150 glib _rec_mutex_lock_full() with depth==0 still locks.
7151 Catch illegal locking and g_warn them.
7153 2005-06-25 Wim Taymans <wim@fluendo.com>
7155 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7156 Have to check for completion now...
7158 2005-06-25 Wim Taymans <wim@fluendo.com>
7160 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7161 (gst_basesink_handle_object), (gst_basesink_event),
7162 (gst_basesink_do_sync), (gst_basesink_handle_event),
7163 (gst_basesink_change_state):
7165 Unlock STREAM_LOCK whatever the recursion was.
7167 2005-06-25 Wim Taymans <wim@fluendo.com>
7169 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7170 (gst_basesink_preroll_queue_empty),
7171 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7172 (gst_basesink_event), (gst_basesink_do_sync),
7173 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7174 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7175 (gst_basesink_change_state):
7176 Reworked the base sink, handle event and buffer serialisation
7177 correctly and removed possible deadlock.
7178 Handle EOS correctly.
7180 2005-06-25 Wim Taymans <wim@fluendo.com>
7182 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7183 (gst_pipeline_change_state):
7184 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7185 Allow elements to post EOS in the state change function.
7186 Fix up -launch, make it exit the poll loop when the
7187 pipeline actually changed state.
7188 Fix up warning parsing in -launch.
7190 2005-06-25 Wim Taymans <wim@fluendo.com>
7192 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7193 (gst_tee_sink_activate):
7194 Core takes STREAM_LOCK for us now.
7196 2005-06-25 Wim Taymans <wim@fluendo.com>
7198 * gst/gstelement.c: (gst_element_get_state_func),
7199 (gst_element_set_state):
7201 * gst/gstmessage.c: (gst_message_parse_error),
7202 (gst_message_parse_warning):
7203 Keep track of current target state while performing a state
7204 change so that subclasses can do something interesting.
7205 Fix parsing of warning/error messages when GError is NULL.
7207 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7209 * docs/gst/Makefile.am:
7210 * docs/gst/gstreamer-docs.sgml:
7211 * docs/gst/gstreamer-sections.txt:
7212 * docs/gst/gstreamer.types:
7213 * docs/gst/tmpl/gstbasesink.sgml:
7214 * docs/gst/tmpl/gstbasesrc.sgml:
7215 * docs/gst/tmpl/gstbin.sgml:
7216 * docs/gst/tmpl/gstcompat.sgml:
7217 * docs/gst/tmpl/gstfakesink.sgml:
7218 * docs/gst/tmpl/gstfakesrc.sgml:
7219 * docs/gst/tmpl/gstfilesink.sgml:
7220 * docs/gst/tmpl/gstfilesrc.sgml:
7221 * docs/gst/tmpl/gstindex.sgml:
7222 * docs/manual/appendix-quotes.xml:
7223 * gst/base/gstbasesrc.h:
7224 * gst/elements/gstfakesrc.h:
7226 start pulling in base classes and elements in our docs
7228 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7230 * docs/gst/Makefile.am:
7231 * docs/libs/Makefile.am:
7232 fixed make distcheck with gtk-doc 1.3
7234 2005-06-23 Wim Taymans <wim@fluendo.com>
7236 * gst/gstelement.c: (gst_element_get_state_func),
7237 (gst_element_set_state), (gst_element_change_state):
7238 When the state did not change, also report NO_PREROLL
7241 2005-06-23 Wim Taymans <wim@fluendo.com>
7243 * gst/gstpad.c: (gst_pad_event_default):
7244 * gst/gstqueue.c: (gst_queue_loop):
7245 No unsafe task pausing please.
7247 2005-06-23 Wim Taymans <wim@fluendo.com>
7249 * gst/schedulers/threadscheduler.c:
7250 (gst_thread_scheduler_task_start),
7251 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7252 Ref the task before pushing it on the threadpool. This
7253 makes sure that we have a ref when the threadfunction is
7256 2005-06-23 Andy Wingo <wingo@pobox.com>
7258 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7259 offset is greater than the file's size.
7261 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7262 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7263 * gst/gstobject.c (gst_object_class_init): Make the class lock
7264 recursive. Wim won't let me drop deep_notify. Decodebin works
7267 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7268 internal pad, and hacks accordingly. Doesn't do it on the target
7269 pad because we change its caps. Probably catches all cases of
7271 (gst_ghost_pad_set_property): Connect to notify::caps as
7274 * tests/network-clock.scm (plot-simulation): Pipe data to the
7275 elite python skript.
7277 * tests/network-clock-utils.scm (define-parameter): New macro,
7278 defines a parameter that can be set via the command line.
7279 (set-parameter!, parse-parameter-arguments): Command line args
7282 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7285 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7287 * gst/elements/gsttypefindelement.c:
7288 (gst_type_find_element_handle_event):
7289 Don't restart typefinding on a discont.
7290 * gst/gstelement.c: (gst_element_set_state):
7292 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7293 Allow changing mode of an active pad.
7295 * gst/registries/gstlibxmlregistry.c: (load_feature):
7296 Don't cast a static pad template to a normal pad template.
7298 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7300 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7301 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7302 remove gst_strtoll completely, since it didn't actually do
7303 anything more than what g_ascii_strtoull already does.
7304 check for range errors when deserializing
7305 do a cast for the unsigned cases; but further fixing needs
7306 a decision on what the interpretation of "(int)" and
7307 deserialization should be for values that fall outside the
7308 type's boundaries (ie, refuse, or interpret as casting)
7310 2005-06-23 Wim Taymans <wim@fluendo.com>
7312 * check/Makefile.am:
7313 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7314 * docs/design/part-live-source.txt:
7315 * docs/design/part-states.txt:
7316 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7317 (gst_basesrc_set_live), (gst_basesrc_is_live),
7318 (gst_basesrc_get_range), (gst_basesrc_activate),
7319 (gst_basesrc_change_state):
7320 * gst/base/gstbasesrc.h:
7321 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7322 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7323 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7324 * gst/gstelement.c: (gst_element_get_state_func),
7325 (gst_element_set_state):
7328 * tools/gst-launch.c: (event_loop), (main):
7329 Added support for live sources and other elements that
7331 Updated design docs, added live-source design doc.
7332 Implemented live source functionality in basesrc
7333 Fix error condition in _bin_get_state()
7334 Implement live source handling in -launch.
7335 Added check for live sources.
7336 Fixed case in GstBin where elements were changed state
7340 2005-06-23 Andy Wingo <wingo@pobox.com>
7342 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7345 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7346 gst_caps_replace takes care of this for us.
7348 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7349 gst_pad_set_caps on the target, not just its setcaps() function.
7351 * tests/network-clock.scm:
7352 * tests/network-clock-utils.scm: A network clock simulator.
7353 Something of an algorithmic testbed before doing something in C.
7355 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7357 * check/Makefile.am:
7358 * check/gst/capslist.h:
7359 copy over from 0.8, and add two with bitmasks specified with
7361 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7362 add test to parse everything from capslist.h
7363 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7365 add test for structure deserialization
7366 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7367 add tests for deserialization of strings to int types
7368 * gst/gststructure.c: (gst_structure_nth_field_name):
7369 * gst/gststructure.h:
7370 add a way to get the name of a field referenced by index
7371 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7372 instead of checking if the resulting long long lies between
7373 min and max, we check if the long long would fit into
7374 a number of bytes for the final type.
7375 This fixes cases where a string represents 2^32 - 1, which
7376 when cast to int would be the (valid) -1, but is bigger than
7379 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7381 * gst/parse/grammar.y:
7382 add a log line for type deserialization
7384 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7386 * check/gst/gstvalue.c: (START_TEST):
7387 * gst/gstvalue.c: (gst_value_deserialize):
7388 return long long, not int, so gint64 deserialization actually
7389 works. Is there any flag that makes the compiler check this ?
7392 2005-06-22 Wim Taymans <wim@fluendo.com>
7395 Added convenience macros for setting buffers in GValue.
7397 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7399 * check/gst/.cvsignore:
7400 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7401 add a test deserializing int64, and comment part out because
7404 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7406 * check/Makefile.am:
7407 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7408 * testsuite/Makefile.am:
7409 * testsuite/caps/Makefile.am:
7410 * testsuite/caps/value_serialize.c:
7411 * testsuite/test_gst_init.c:
7412 move a value_serialize test over
7414 2005-06-20 Wim Taymans <wim@fluendo.com>
7419 * gst/gstvalue.c: (gst_value_compare_buffer),
7420 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7421 (gst_value_compare_flags), (gst_value_serialize_flags),
7422 (gst_value_deserialize_flags), (_gst_value_initialize):
7423 Fix serialisation of buffers, they are not boxed types anymore
7425 2005-06-20 Wim Taymans <wim@fluendo.com>
7427 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7428 Testcase to show error in buffer-on-caps serialisation.
7430 2005-06-20 Andy Wingo <wingo@pobox.com>
7432 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7433 will be adding to later.
7435 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7436 if its socks fill with rocks.
7437 (gst_system_clock_obtain): Set the name on object construction.
7438 Avoid double-checked locking.
7440 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7442 * gst/gsturi.c: (gst_element_make_from_uri):
7443 Fix potential endless loop.
7445 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7447 * check/Makefile.am:
7449 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7451 move over from testsuite dir and clean up
7454 * testsuite/Makefile.am:
7455 * testsuite/tags/.cvsignore:
7456 * testsuite/tags/Makefile.am:
7457 * testsuite/tags/merge.c:
7458 remove testsuite/tags
7460 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7462 * docs/gst/gstreamer-sections.txt:
7463 * docs/gst/tmpl/gstenumtypes.sgml:
7464 * win32/gstenumtypes.c:
7465 clean up documentation build a little
7467 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7470 add macros for checking refcounts on objects and caps
7471 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7472 add some more unit tests
7473 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7474 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7475 fix leaked refcounts (I hope :)) so unittest works
7479 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7481 * configure.ac: back to HEAD
7483 === release 0.9.1 ===
7485 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7491 2005-06-17 Andy Wingo <wingo@pobox.com>
7493 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7494 assert; it's always possible that the pad gets deactivated in
7495 between the checks in gstpad.c and the implementation. Rely on
7496 finish_preroll() to return a FLUSHING or similar instead of on the
7499 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7500 clock and post an EOS message if we come out of finish_preroll in
7503 2005-06-16 David Schleef <ds@schleef.org>
7505 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7506 (gst_capsfilter_set_property): Allow NULL as possible value
7507 for filter_caps property, indicating GST_CAPS_ANY.
7509 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7511 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7513 * gst/schedulers/Makefile.am:
7515 * gstreamer.spec.in:
7518 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7520 * gstreamer.spec.in:
7523 2005-06-08 Andy Wingo <wingo@pobox.com>
7525 * gst/gstutils.c: RPAD fixes all around.
7526 (gst_element_link_pads): Refcounting fixes.
7528 * tools/gst-inspect.c:
7529 * tools/gst-xmlinspect.c:
7531 * gst/base/gsttypefindhelper.c:
7532 * gst/base/gstbasesink.c:
7533 * gst/gstqueue.c: RPAD fixes.
7535 * gst/gstghostpad.h:
7536 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7537 pads. The tricky thing is they provide both source and sink
7538 interfaces, since they proxy the internal pad for the external
7539 pad, and vice versa. Implement with lower-level ProxyPad objects,
7540 with the interior proxy pad as a child of the exterior ghost pad.
7541 Should write a doc on this.
7543 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7544 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7547 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7548 pads are real pads. No ghost pads in this file. Not documenting
7549 the myriad s/RPAD/PAD/ and REALIZE fixes.
7550 (gst_pad_class_init): Add properties for "direction" and
7551 "template". Both are construct-only, so they can't change during
7552 the life of the pad. Fixes properly deriving from GstPad.
7553 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7554 derived objects, just set properties when creating the objects via
7556 (gst_pad_get_parent): Implement as a function, return NULL if the
7557 parent is not an element.
7558 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7559 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7561 * gst/gstobject.c (gst_object_class_init): Make name a construct
7562 property. Don't set it in the object init.
7564 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7565 with UNKNOWN direction.
7566 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7567 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7568 (gst_element_remove_pad): Remove ghost-pad special cases.
7569 (gst_element_pads_activate): Remove rpad cruft.
7571 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7572 catch the pad's-parent-not-an-element case.
7574 * gst/gst.h: Include gstghostpad.h.
7576 * gst/gst.c (init_post): No more real, ghost pads.
7578 * gst/Makefile.am: Add gstghostpad.[ch].
7580 * check/Makefile.am:
7581 * check/gst/gstbin.c:
7582 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7583 into a bin creates ghost pads, and that the refcounts are right.
7584 Partly moved from gstbin.c.
7586 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7588 * check/gst-libs/.cvsignore:
7589 * check/gst/.cvsignore:
7590 * check/pipelines/.cvsignore:
7592 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7593 (START_TEST), (cleanup_suite), (main):
7594 add some tests related to cleanup after running pipelines
7596 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7598 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7599 add a testsuite for GstBuffer
7601 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7603 * gst/gstminiobject.h:
7604 add defines for accessing the refcount
7606 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7608 * Makefile.am: added support for html unit test coverage reports
7610 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7612 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7613 Free existing caps if the capsfilter changes. Add a FIXME about
7614 setting those caps on the pads.
7616 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7617 Before adding a ghost pad to a parent bin, check that there isn't
7618 already one for the element on the bin. Prevents infinite recursion
7619 when using decodebin in parse pipelines. Andy says he'll rewrite the
7620 way this works anyway, so ignore the hack.
7622 2005-06-02 Andy Wingo <wingo@pobox.com>
7624 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7625 file size, pass it on to the type find helper.
7627 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7628 segment_start and segment_end properly according to the seek
7629 method. Segment_end is still a bit flaky because offset can be
7630 negative for CUR and END cases, but it takes -1 as an "unset"
7633 2005-06-02 Wim Taymans <wim@fluendo.com>
7635 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7636 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7637 (gst_basesink_activate):
7638 * gst/base/gstbasesink.h:
7639 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7640 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7641 (gst_pad_query), (gst_pad_start_task):
7643 * gst/gstqueue.c: (gst_queue_bufferalloc),
7644 (gst_queue_handle_sink_event), (gst_queue_chain):
7645 Bufferalloc: return GstFlowReturn to more accuratly report
7646 why allocation failed.
7648 2005-06-02 Wim Taymans <wim@fluendo.com>
7650 * gst/gstpipeline.c: (gst_pipeline_send_event):
7651 Take snapshot of state without blocking.
7653 2005-06-02 Wim Taymans <wim@fluendo.com>
7655 * docs/design/part-TODO.txt:
7656 * docs/design/part-caps.txt:
7657 * docs/design/part-clocks.txt:
7658 * docs/design/part-negotiation.txt:
7659 * docs/design/part-preroll.txt:
7662 2005-05-30 Wim Taymans <wim@fluendo.com>
7664 * gst/elements/gstidentity.c: (gst_identity_event),
7665 (gst_identity_transform), (gst_identity_get_property):
7666 Protect last_message property as it is accessed from
7669 2005-05-30 Wim Taymans <wim@fluendo.com>
7671 * gst/gstelement.c: (gst_element_init),
7672 (gst_element_pads_activate), (gst_element_change_state):
7673 Slicker pad activation code.
7675 2005-05-30 Wim Taymans <wim@fluendo.com>
7679 * gst/gstelementfactory.h:
7681 Move elementfactory methods to separate .h file.
7683 2005-05-30 Wim Taymans <wim@fluendo.com>
7685 * docs/design/part-overview.txt:
7686 * gst/gstsystemclock.h:
7687 Small typo fixes, doc updates.
7689 2005-05-30 Wim Taymans <wim@fluendo.com>
7691 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7692 (init_popt_callback):
7693 Remove cpu-opt flag.
7695 2005-05-30 Wim Taymans <wim@fluendo.com>
7697 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7698 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7700 Avoid typechecking in places where not needed.
7701 Added accessor for malloc_data.
7703 2005-05-30 Wim Taymans <wim@fluendo.com>
7705 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7706 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7707 (gst_pad_configure_sink), (gst_pad_configure_src),
7708 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7709 (gst_pad_start_task):
7710 Propagate errors from _set_caps() in configure_src/sink
7711 functions instead of returning TRUE.
7712 FLUSH events can travel up and downstream
7715 2005-05-30 Wim Taymans <wim@fluendo.com>
7717 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7718 (gst_basesink_activate):
7719 Handle EOS in preroll.
7721 2005-05-30 Wim Taymans <wim@fluendo.com>
7723 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7724 (gst_queue_loop), (gst_queue_handle_src_event):
7725 Remove old pieces of code
7726 Flushing the queue in an upstream event is a very bad idea.
7728 2005-05-26 Andy Wingo <wingo@pobox.com>
7730 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7731 gst_value_set_mini_object so as to add a ref on the object (which
7732 will be removed when the value is unset).
7734 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7735 arg type in ::handoff.
7737 * gst/gstelement.c (gst_element_change_state): Also deactivate
7738 pads in READY->NULL, just in case the element didn't make it to
7739 PAUSED. Wingo tested, Wim approved.
7741 2005-05-26 Wim Taymans <wim@fluendo.com>
7743 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7744 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7745 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7746 A flushing pad cannot be used to alloc_buffer from.
7748 2005-05-26 Wim Taymans <wim@fluendo.com>
7750 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7751 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7752 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7753 (gst_bus_create_watch), (gst_bus_add_watch_full):
7755 Implement a real GSource and use g_main_context_wakeup() to
7756 signal new messages instead of the socketpair.
7758 2005-05-25 Wim Taymans <wim@fluendo.com>
7760 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7761 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7762 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7763 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7764 (gst_pad_send_event), (gst_pad_start_task):
7765 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7766 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7767 (gst_queue_sink_activate), (gst_queue_src_activate),
7768 (gst_queue_change_state):
7770 Fix state changes for non sinks. We now change sinks, then elements
7771 with unconnected srcpads, then the rest.
7772 More efficient queue unlocking in flush and state changes.
7773 Set the pad activate mode even if it does not have an activate
7776 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7778 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7779 Don't go in pull mode for non-seekable sources.
7780 * gst/elements/gsttypefindelement.h:
7781 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7782 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7783 (free_entry), (stop_typefinding),
7784 (gst_type_find_element_handle_event), (find_peek),
7785 (gst_type_find_element_chain), (do_pull_typefind),
7786 (gst_type_find_element_change_state):
7787 Allow typefinding (w/o seeking) in push-mode, simplified version
7789 * gst/gstutils.c: (gst_buffer_join):
7791 gst_buffer_join() from 0.8.
7793 2005-05-25 Wim Taymans <wim@fluendo.com>
7795 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7796 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7797 (gst_pad_send_event), (gst_pad_start_task):
7798 Disable attempt at mode switching until it is figured out.
7800 2005-05-25 Wim Taymans <wim@fluendo.com>
7802 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7803 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7804 (gst_basesink_finish_preroll), (gst_basesink_chain),
7805 (gst_basesink_loop), (gst_basesink_activate),
7806 (gst_basesink_change_state):
7807 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7808 (gst_basesrc_get_range), (gst_basesrc_loop),
7809 (gst_basesrc_activate):
7810 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7811 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7812 (gst_real_pad_init), (gst_real_pad_set_property),
7813 (gst_real_pad_get_property), (gst_pad_set_active),
7814 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7815 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7816 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7817 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7818 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7819 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7820 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7821 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7822 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7823 (gst_pad_stop_task):
7825 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7826 (gst_queue_loop), (gst_queue_src_activate):
7827 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7828 (gst_task_get_state):
7830 * gst/schedulers/threadscheduler.c:
7831 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7832 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7834 Remove ACTIVE pad flag, use FLUSHING everywhere
7835 Added _pad_chain(), _pad_get_range() to call chain/getrange
7837 Add locks around IS_FLUSHING when reading.
7838 Take STREAM lock in chain(), get_range() functions so plugins
7839 don't need to take it anymore.
7843 2005-05-25 Wim Taymans <wim@fluendo.com>
7845 * tools/gst-launch.c: (event_loop):
7846 Unref message after using its contents instead of
7849 2005-05-24 Wim Taymans <wim@fluendo.com>
7851 * docs/design/draft-ghostpads.txt:
7852 * docs/design/draft-push-pull.txt:
7853 * docs/design/draft-query.txt:
7854 * docs/design/part-overview.txt:
7855 Docs updates, added general overview doc.
7857 2005-05-21 David Schleef <ds@schleef.org>
7859 * docs/gst/tmpl/old/GstBin.sgml:
7860 * docs/gst/tmpl/old/GstBuffer.sgml:
7861 * docs/gst/tmpl/old/GstCaps.sgml:
7862 * docs/gst/tmpl/old/GstClock.sgml:
7863 * docs/gst/tmpl/old/GstCompat.sgml:
7864 * docs/gst/tmpl/old/GstData.sgml:
7865 * docs/gst/tmpl/old/GstElement.sgml:
7866 * docs/gst/tmpl/old/GstEvent.sgml:
7867 * docs/gst/tmpl/old/GstIndex.sgml:
7868 * docs/gst/tmpl/old/GstStructure.sgml:
7869 * docs/gst/tmpl/old/GstTag.sgml:
7870 * docs/gst/tmpl/old/cothreads.sgml:
7871 * docs/gst/tmpl/old/cothreads_compat.sgml:
7872 * docs/gst/tmpl/old/gettext.sgml:
7873 * docs/gst/tmpl/old/gobject2gtk.sgml:
7874 * docs/gst/tmpl/old/grammar.tab.sgml:
7875 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7876 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7877 * docs/gst/tmpl/old/gst_private.sgml:
7878 * docs/gst/tmpl/old/gstaggregator.sgml:
7879 * docs/gst/tmpl/old/gstarch.sgml:
7880 * docs/gst/tmpl/old/gstatomic_impl.sgml:
7881 * docs/gst/tmpl/old/gstbufferstore.sgml:
7882 * docs/gst/tmpl/old/gstdata_private.sgml:
7883 * docs/gst/tmpl/old/gstdisksink.sgml:
7884 * docs/gst/tmpl/old/gstdisksrc.sgml:
7885 * docs/gst/tmpl/old/gstelementfactory.sgml:
7886 * docs/gst/tmpl/old/gstextratypes.sgml:
7887 * docs/gst/tmpl/old/gstfakesink.sgml:
7888 * docs/gst/tmpl/old/gstfakesrc.sgml:
7889 * docs/gst/tmpl/old/gstfdsink.sgml:
7890 * docs/gst/tmpl/old/gstfdsrc.sgml:
7891 * docs/gst/tmpl/old/gstfilesink.sgml:
7892 * docs/gst/tmpl/old/gstfilesrc.sgml:
7893 * docs/gst/tmpl/old/gsthttpsrc.sgml:
7894 * docs/gst/tmpl/old/gstidentity.sgml:
7895 * docs/gst/tmpl/old/gstindexfactory.sgml:
7896 * docs/gst/tmpl/old/gstmarshal.sgml:
7897 * docs/gst/tmpl/old/gstmd5sink.sgml:
7898 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
7899 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
7900 * docs/gst/tmpl/old/gstpadtemplate.sgml:
7901 * docs/gst/tmpl/old/gstpipefilter.sgml:
7902 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
7903 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
7904 * docs/gst/tmpl/old/gstshaper.sgml:
7905 * docs/gst/tmpl/old/gstspider.sgml:
7906 * docs/gst/tmpl/old/gstspideridentity.sgml:
7907 * docs/gst/tmpl/old/gststatistics.sgml:
7908 * docs/gst/tmpl/old/gsttee.sgml:
7909 * docs/gst/tmpl/old/gsttimecache.sgml:
7910 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
7911 * docs/gst/tmpl/old/gstxmlregistry.sgml:
7912 * docs/gst/tmpl/old/gthread-cothreads.sgml:
7913 * docs/gst/tmpl/old/types.sgml:
7914 I didn't intend to add these or check them in.
7916 2005-05-19 David Schleef <ds@schleef.org>
7918 * configure.ac: Use -no-common everywhere. In a sane world, it
7919 would be the default in libtool, because without it, you can't
7920 build DLLs on Windows.
7921 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
7922 * docs/gst/gstreamer-sections.txt:
7923 * docs/gst/tmpl/gstcpu.sgml:
7924 * docs/gst/tmpl/gstdata.sgml:
7925 * docs/gst/tmpl/gstthread.sgml:
7927 2005-05-19 David Schleef <ds@schleef.org>
7929 * gst/gstminiobject.c: (gst_value_set_mini_object),
7930 (gst_value_take_mini_object), (gst_value_get_mini_object):
7931 * gst/gstminiobject.h: Add GValue set/get functions.
7933 2005-05-19 Wim Taymans <wim@fluendo.com>
7935 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
7936 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
7937 (gst_subbuffer_init), (gst_buffer_is_span_fast):
7939 * gst/gstbus.c: (gst_bus_post):
7940 * gst/gstelement.c: (gst_element_get_random_pad):
7941 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
7942 Make subbufer unref the parent in finalize.
7943 some more debugging info.
7946 2005-05-19 Wim Taymans <wim@fluendo.com>
7948 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7949 (gst_basesink_init), (gst_basesink_finalize),
7950 (gst_basesink_activate), (gst_basesink_change_state):
7951 Don't free preroll queue too early.
7953 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7957 Hi, I'm outdated. Please shoot me.
7959 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7961 * gst/gstpipeline.c: (gst_pipeline_send_event):
7962 Do not access variables after they have been deleted.
7964 2005-05-19 Wim Taymans <wim@fluendo.com>
7966 * tools/gst-inspect.c: (print_plugin_features):
7967 A plugin feature does unfortunatly not use the
7970 2005-05-18 Wim Taymans <wim@fluendo.com>
7972 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7973 Port _span() functions to new subbuffers.
7975 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7977 * gst/gstbin.c: (gst_bin_add_func):
7978 Fix clock settery in bins when adding kids after the clock has
7981 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7983 * gst/elements/gstidentity.c: (gst_identity_class_init):
7984 Workaround until signals support GstMiniObject.
7986 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7989 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7991 2005-05-18 Wim Taymans <wim@fluendo.com>
7993 * gst/base/Makefile.am:
7994 * gst/base/gstadapter.c: (gst_adapter_base_init),
7995 (gst_adapter_class_init), (gst_adapter_init),
7996 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7997 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7998 (gst_adapter_flush), (gst_adapter_available),
7999 (gst_adapter_available_fast):
8000 * gst/base/gstadapter.h:
8001 Ported and added adapter to the base classes.
8003 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8007 Make sure the class is reffed/unreffed once before threads can be
8008 used. Fixes #304551.
8010 2005-05-17 Wim Taymans <wim@fluendo.com>
8012 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8013 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8014 * gst/gstminiobject.c: (gst_mini_object_get_type),
8015 (gst_mini_object_free):
8016 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8017 (gst_pad_push), (gst_pad_push_event):
8018 * gst/gstqueue.c: (gst_queue_change_state):
8019 Don't queue buffers in basesink when we are flushing.
8020 Unref buffer when flushing in basesink.
8021 Flush queue when going to READY
8022 Unref buffer when _push() returns an error.
8023 Don't free MiniObject instance when refcount is incremented
8024 in _finalize() so that we can recover objects.
8026 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8028 * docs/manual/advanced-schedulers.xml:
8029 * docs/manual/appendix-checklist.xml:
8030 * docs/pwg/advanced-clock.xml:
8031 * docs/pwg/advanced-interfaces.xml:
8032 * docs/pwg/advanced-request.xml:
8033 * docs/pwg/advanced-types.xml:
8034 * docs/pwg/intro-preface.xml:
8035 * examples/plugins/example.c: (gst_example_get_type),
8036 (gst_example_class_init), (gst_example_chain),
8037 (gst_example_set_property), (gst_example_get_property),
8038 (gst_example_change_state), (plugin_init):
8039 * examples/plugins/example.h:
8042 2005-05-17 Wim Taymans <wim@fluendo.com>
8044 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8045 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8046 * gst/gstqueue.c: (gst_queue_change_state):
8047 Clear queue when going to READY.
8048 Remove IN_SETCAPS flag too.
8050 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8052 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8053 Remove implicit cast from gboolean to GstElementStateReturn;
8054 make sure we still return failure in paused => ready case if
8055 the parent class fails to change state and our own stop
8058 2005-05-17 Wim Taymans <wim@fluendo.com>
8060 * tools/gst-launch.c: (event_loop):
8061 Message was unreffed too soon.
8063 2005-05-16 Andy Wingo <wingo@pobox.com>
8065 * gst/gstbin.c (sink_iterator_filter): Err... um...
8067 * check/gst/gstbin.c (test_ghost_pads): New test for the
8068 ghosting-if-elements-not-in-same-bin behavior.
8070 2005-05-16 David Schleef <ds@schleef.org>
8072 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8073 accessing refcount directly.
8075 2005-05-15 David Schleef <ds@schleef.org>
8077 * check/Makefile.am: remove GstData checks
8078 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8079 * gst/Makefile.am: add miniobject, remove data
8080 * gst/gst.h: add miniobject, remove data
8081 * gst/gstdata.c: remove
8082 * gst/gstdata.h: remove
8083 * gst/gstdata_private.h: remove
8084 * gst/gsttypes.h: remove GstEvent and GstMessage
8085 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8086 * gst/gstmarshal.list: change BOXED -> OBJECT
8088 Implement GstMiniObject.
8089 * gst/gstminiobject.c:
8090 * gst/gstminiobject.h:
8092 Modify to be subclasses of GstMiniObject.
8093 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8094 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8095 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8096 (gst_subbuffer_get_type), (gst_subbuffer_init),
8097 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8100 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8101 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8102 (_gst_event_copy), (gst_event_new):
8104 * gst/gstmessage.c: (_gst_message_initialize),
8105 (gst_message_get_type), (gst_message_class_init),
8106 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8107 (gst_message_new), (gst_message_new_error),
8108 (gst_message_new_warning), (gst_message_new_tag),
8109 (gst_message_new_state_changed), (gst_message_new_application):
8111 * gst/gstprobe.c: (gst_probe_perform),
8112 (gst_probe_dispatcher_dispatch):
8114 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8115 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8116 (_gst_query_copy), (gst_query_new):
8118 Update elements for GstData -> GstMiniObject changes
8120 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8121 (gst_queue_chain), (gst_queue_loop):
8122 * gst/elements/gstbufferstore.c:
8123 (gst_buffer_store_add_buffer_func),
8124 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8125 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8126 (gst_fakesink_render):
8127 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8128 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8129 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8130 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8131 (gst_filesrc_create_read):
8132 * gst/elements/gstidentity.c: (gst_identity_class_init):
8133 * gst/elements/gsttypefindelement.c:
8134 (gst_type_find_element_src_event), (free_entry_buffers),
8135 (gst_type_find_element_handle_event):
8136 * libs/gst/dataprotocol/dataprotocol.c:
8137 (gst_dp_header_from_buffer):
8138 * libs/gst/dataprotocol/dataprotocol.h:
8139 * libs/gst/dataprotocol/dp-private.h:
8141 2005-05-15 David Schleef <ds@schleef.org>
8143 * gst/elements/gstelements.c: Don't include headers that were
8146 2005-05-15 David Schleef <ds@schleef.org>
8148 * gst/elements/Makefile.am: Remove some elements that don't
8149 need to be in the core (or even exist at all).
8150 * gst/elements/gstaggregator.c:
8151 * gst/elements/gstaggregator.h:
8152 * gst/elements/gstmd5sink.c:
8153 * gst/elements/gstmd5sink.h:
8154 * gst/elements/gstmultifilesrc.c:
8155 * gst/elements/gstmultifilesrc.h:
8156 * gst/elements/gstpipefilter.c:
8157 * gst/elements/gstpipefilter.h:
8158 * gst/elements/gstshaper.c:
8159 * gst/elements/gstshaper.h:
8160 * gst/elements/gststatistics.c:
8161 * gst/elements/gststatistics.h:
8162 * po/POTFILES.in: Remove above files.
8164 2005-05-14 Andy Wingo <wingo@pobox.com>
8166 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8167 so as to get the refs right.
8168 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8169 unreffing objects that don't pass the filter.
8171 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8172 gst_element_set_bus.
8173 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8174 normal cases, this will destroy the bus.
8176 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8179 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8182 2005-05-13 Andy Wingo <wingo@pobox.com>
8184 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8185 gst_pad_link, call pad_link_maybe_ghosting,
8186 (pad_link_maybe_ghosting): Links pads, making sure that the
8187 elements being linked are in the same bin.
8188 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8189 Helpers for pad_link_maybe_ghosting.
8191 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8194 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8196 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8198 * docs/design/part-element-source.txt:
8201 2005-05-12 Wim Taymans <wim@fluendo.com>
8203 * gst/base/gstbasesink.c: (gst_basesink_init),
8204 (gst_basesink_activate):
8205 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8206 (gst_basesrc_is_seekable):
8207 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8208 (bin_element_is_sink), (gst_bin_change_state):
8209 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8211 Identify sinks by their flag to avoid overly complicated
8213 Do state changes even for elements not reachable from the
8215 BaseSink is a sink now :)
8216 Some more debugging info in the basesrc.
8219 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8221 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8222 Implement _query on a bin, similar to _send_event.
8224 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8226 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8227 Discont event offset format should be GST_FORMAT_BYTES,
8228 not GST_FORMAT_TIME.
8230 2005-05-12 Wim Taymans <wim@fluendo.com>
8232 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8233 Same fix as Ronald's but without the signal.
8235 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8237 * gst/gstutils.c: (gst_element_query_position):
8238 No, an element is not a pad.
8240 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8242 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8243 (gst_bin_get_state):
8244 If a child is removed from a bin while we remove the child from
8245 the bin and while we're retrieving its state, signal this to the
8246 get_state function so we abort the wait (instead of waiting for
8247 a timeout) and can immediately re-iterate over all other elements.
8249 2005-05-12 Wim Taymans <wim@fluendo.com>
8251 * gst/base/Makefile.am:
8252 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8253 (gst_basesrc_start):
8254 * gst/base/gstbasesrc.h:
8255 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8256 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8257 (gst_pushsrc_init), (gst_pushsrc_create):
8258 * gst/base/gstpushsrc.h:
8259 Added is_seekable to BaseSrc
8260 Added simple PushSrc.
8262 2005-05-11 Wim Taymans <wim@fluendo.com>
8264 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8265 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8266 (gst_element_link_pads), (gst_element_query_position),
8267 (gst_element_query_convert), (intersect_caps_func),
8268 (gst_pad_query_position), (gst_pad_query_convert):
8269 Fix refcounting in utils function.
8270 No point in trying to activate a pad when it's added, it could
8271 be added from the state change function and then we deadlock, the
8272 element has to decide what to do.
8274 2005-05-10 Andy Wingo <wingo@pobox.com>
8276 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8277 *all* the arguments.
8279 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8280 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8281 lock (according to the docs -- if this is wrong change the docs).
8283 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8284 flush messages in the NULL state.
8286 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8287 message immediately and return.
8288 (gst_bus_set_flushing): New function. If a bus is flushing, it
8289 flushes out any queued messages and immediately unrefs new
8290 messages. This is so when an element goes to NULL, all of the
8291 unhandled messages coming from it can be freed, and their
8292 references to the element dropped. In other words: message source
8293 ref considered harmful :P
8295 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8296 we're finished with it.
8298 * gst/gstmessage.c (gst_message_new_state_changed):
8300 2005-05-10 Wim Taymans <wim@fluendo.com>
8302 * gst/gstvalue.c: (gst_value_compare_flags),
8303 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8304 (_gst_value_initialize):
8305 Added flags serialize/deserialize/compare code.
8307 2005-05-09 Andy Wingo <wingo@pobox.com>
8309 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8310 Intersect the peer's caps with our caps.
8312 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8314 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8315 * gst/elements/gsttypefindelement.c: (find_peek):
8316 Handle negative offsets better. Fixes decodebin.
8318 2005-05-09 Wim Taymans <wim@fluendo.com>
8320 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8321 (gst_base_transform_event):
8322 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8323 Implement accept_caps.
8324 Fix silly lock/unlock mismatch in base class.
8326 2005-05-09 Wim Taymans <wim@fluendo.com>
8328 * docs/design/draft-push-pull.txt:
8329 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8330 * gst/elements/gstfilesink.c: (gst_filesink_init),
8331 (gst_filesink_query):
8332 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8333 (gst_type_find_handle_src_query), (find_element_get_length):
8334 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8338 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8339 (gst_real_pad_get_caps_unlocked),
8340 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8341 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8342 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8343 (gst_real_pad_dispose), (gst_real_pad_finalize),
8344 (gst_pad_load_and_link), (gst_pad_save_thyself),
8345 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8346 (gst_pad_check_pull_range), (gst_pad_pull_range),
8347 (gst_pad_template_get_type), (gst_pad_template_class_init),
8348 (gst_pad_template_init), (gst_pad_template_dispose),
8349 (name_is_valid), (gst_static_pad_template_get),
8350 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8351 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8352 (gst_pad_get_element_private), (gst_pad_start_task),
8353 (gst_pad_pause_task), (gst_pad_stop_task),
8354 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8355 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8356 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8357 (gst_ghost_pad_new):
8359 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8360 (gst_query_new_position), (gst_query_set_position),
8361 (gst_query_parse_position), (gst_query_new_convert),
8362 (gst_query_set_convert), (gst_query_parse_convert):
8364 * gst/gstqueryutils.c:
8365 * gst/gstqueryutils.h:
8366 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8367 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8368 (gst_queue_handle_src_query):
8369 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8370 (gst_element_query_position), (gst_element_query_convert),
8371 (intersect_caps_func), (gst_pad_query_position),
8372 (gst_pad_query_convert):
8374 * tools/gst-inspect.c: (print_pad_info):
8375 * tools/gst-xmlinspect.c: (print_element_info):
8376 Remove old query functions. Ported old code.
8377 Added position/convert helper functions to gstutils.
8378 Reordered gstpad.c code, grouping relevant things.
8379 Remove gst_message_new(), always need to speficy a specific
8383 2005-05-09 Andy Wingo <wingo@pobox.com>
8385 * gst/gstiterator.h: Add some includes.
8387 * gst/gstqueryutils.h: Include more headers.
8390 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8391 some uses of gst_pad_query.
8393 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8394 NULL out parameters.
8395 (gst_query_new_position): New proc, allocates a new position
8398 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8399 gstqueryutils.c to the build.
8401 * gst/gststructure.c (gst_structure_set_valist): Implement with
8402 the generic G_VALUE_COLLECT.
8404 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8406 * gst/Makefile.am: (gst_headers):
8407 Added gstqueryutils.h to the list of headers to install, that was
8408 a 'nachty' move wingo :)
8410 2005-05-06 Andy Wingo <wingo@pobox.com>
8413 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8414 GstData, init a memchunk.
8415 (standard_definitions): Add a few query types, deprecate a few.
8416 (gst_query_get_type): New proc.
8417 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8419 (gst_query_new_application, gst_query_get_structure): New public
8422 * docs/design/draft-query.txt: Removed LINKS from the query types,
8423 because all the rest can be dispatched to other pads -- seemed
8424 ugly to have a query that couldn't be dispatched. internal_links
8425 is fine as a pad method.
8427 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8428 in gstpad.c, but maintain binary compatibility for the moment.
8429 Will fix before 0.9 is out.
8431 * gst/gstqueryutils.c:
8432 * gst/gstqueryutils.h: New files, implement 3 methods for each
8433 query type: parse_query, parse_response, and set. Probably need an
8436 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8438 * gst/elements/gstfilesink.c (gst_filesink_query2):
8439 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8440 query_types, and formats methods.
8442 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8443 (gst_pad_set_query2_function): New functions.
8444 (gst_real_pad_init): Set query2_default as the default query2
8445 function. Basically just dispatches to internally linked pads.
8449 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8450 without using the atomic operations. Only one thread can possibly
8451 be accessing the data at this point. Changed so as to avoid
8452 gst_atomic operations.
8454 2005-05-06 Wim Taymans <wim@fluendo.com>
8456 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8457 Also set caps if we use the fallback buffer alloc.
8459 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8461 * docs/gst/Makefile.am:
8462 * docs/gst/gstreamer-docs.sgml:
8463 * docs/gst/gstreamer-sections.txt:
8464 * docs/gst/tmpl/gstatomic.sgml:
8465 * docs/gst/tmpl/gstmemchunk.sgml:
8466 * testsuite/elements/struct_i386.h:
8467 * win32/GStreamer.vcproj:
8469 Purge GstAtomic stuff from docs and win32 makefiles as well
8471 2005-05-06 Wim Taymans <wim@fluendo.com>
8473 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8474 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8475 * gst/gstpad.c: (gst_pad_peer_get_caps):
8476 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8477 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8478 (gst_queue_src_activate), (gst_queue_change_state):
8480 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8481 (intersect_caps_func):
8482 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8483 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8484 Some fixes for the peer_get_caps() change.
8486 2005-05-06 Wim Taymans <wim@fluendo.com>
8488 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8489 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8490 (gst_basesink_activate):
8491 Actually do something with error codes returned from the push
8494 2005-05-06 Wim Taymans <wim@fluendo.com>
8496 * docs/design/part-element-sink.txt:
8497 * docs/design/part-element-source.txt:
8498 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8499 (gst_basesink_event), (gst_basesink_activate):
8500 * gst/base/gstbasesink.h:
8501 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8502 (gst_basesrc_activate):
8503 * gst/base/gstbasesrc.h:
8504 * gst/gstelement.c: (gst_element_pads_activate):
8505 Some more documentation.
8506 Fixed scheduling decision in _pads_activate().
8508 2005-05-05 Andy Wingo <wingo@pobox.com>
8510 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8513 2005-05-05 Wim Taymans <wim@fluendo.com>
8515 * gst/base/Makefile.am:
8516 * gst/base/gstbasesink.h:
8517 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8518 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8519 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8520 (gst_collectpads_class_init), (gst_collectpads_init),
8521 (gst_collectpads_finalize), (gst_collectpads_new),
8522 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8523 (find_pad), (gst_collectpads_remove_pad),
8524 (gst_collectpads_is_active), (gst_collectpads_collect),
8525 (gst_collectpads_collect_range), (gst_collectpads_start),
8526 (gst_collectpads_stop), (gst_collectpads_peek),
8527 (gst_collectpads_pop), (gst_collectpads_available),
8528 (gst_collectpads_read), (gst_collectpads_flush),
8529 (gst_collectpads_chain):
8530 * gst/base/gstcollectpads.h:
8531 * gst/elements/Makefile.am:
8532 * gst/elements/gstelements.c:
8533 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8534 (gst_fakesink_get_times), (gst_fakesink_event),
8535 (gst_fakesink_preroll), (gst_fakesink_render):
8536 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8537 (gst_filesink_init), (gst_filesink_set_location),
8538 (gst_filesink_open_file), (gst_filesink_close_file),
8539 (gst_filesink_pad_query), (gst_filesink_event),
8540 (gst_filesink_render), (gst_filesink_change_state):
8541 * gst/elements/gstfilesink.h:
8542 Added object to help in making collect pad based elements.
8544 Make event function in sink baseclass return gboolean.
8546 2005-05-05 Wim Taymans <wim@fluendo.com>
8548 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8549 (gst_bin_get_by_name):
8551 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8552 (gst_clock_finalize):
8553 * gst/gstdata.c: (gst_data_replace):
8555 * gst/gstelement.c: (gst_element_request_pad),
8556 (gst_element_pads_activate):
8557 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8559 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8560 (gst_pad_set_checkgetrange_function),
8561 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8562 (gst_pad_check_pull_range), (gst_pad_pull_range),
8563 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8564 (gst_pad_pause_task), (gst_pad_stop_task):
8565 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8566 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8567 Fix name lookup in GstBin.
8568 Added _data_replace() function and _buffer_replace()
8569 Use finalize method to clean up clock.
8570 Fix refcounting on request pads.
8571 Fix pad schedule mode error.
8572 Some more object refcounting debug info,
8575 2005-05-04 Andy Wingo <wingo@pobox.com>
8577 * check/Makefile.am:
8578 * docs/gst/tmpl/gstatomic.sgml:
8579 * docs/gst/tmpl/gstplugin.sgml:
8580 * gst/base/gstbasesink.c: (gst_basesink_activate):
8581 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8582 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8583 (gst_basesrc_query), (gst_basesrc_set_property),
8584 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8585 (gst_basesrc_activate):
8586 * gst/base/gstbasesrc.h:
8587 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8588 (gst_base_transform_src_activate):
8589 * gst/elements/gstelements.c:
8590 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8591 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8592 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8593 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8594 (gst_type_find_element_checkgetrange),
8595 (gst_type_find_element_activate):
8596 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8597 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8598 (gst_caps_load_thyself):
8599 * gst/gstelement.c: (gst_element_pads_activate),
8600 (gst_element_save_thyself), (gst_element_restore_thyself):
8601 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8602 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8604 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8605 (gst_xml_parse_file), (gst_xml_parse_memory),
8606 (gst_xml_get_element), (gst_xml_make_element):
8607 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8608 (_file_index_id_save_xml), (gst_file_index_commit):
8609 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8610 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8612 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8613 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8614 * tools/gst-complete.c: (main):
8615 * tools/gst-compprep.c: (main):
8616 * tools/gst-inspect.c: (print_element_properties_info):
8617 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8618 * tools/gst-xmlinspect.c: (print_element_properties):
8621 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8623 * gst/gstplugin.c: (gst_plugin_check_module),
8624 (gst_plugin_check_file), (gst_plugin_load_file):
8625 apply patch from #172526 to make register work on MacOSX
8627 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8629 * docs/gst/tmpl/gstconfig.sgml:
8630 * gst/gstconfig.h.in:
8631 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8632 * testsuite/debug/printf_extension.c: (main):
8633 Do not use GST_PTR_FORMAT on pointers to types with
8634 sizeof < sizeof(gpointer). Fixes test on 64-bit
8635 * testsuite/elements/property.h:
8636 use correct printf format
8638 2005-05-02 Wim Taymans <wim@fluendo.com>
8640 * docs/design/draft-push-pull.txt:
8641 * docs/design/draft-query.txt:
8642 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8643 (gst_basesrc_start):
8644 Added draft for new query API.
8645 Added draft for better selecting scheduling methods.
8646 Make basesrc ignore length if the subclass does not support
8649 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8652 possible fixes for automake-1.5 - _LIBADD is reserved
8654 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8656 * docs/faq/Makefile.am:
8657 * docs/manual/Makefile.am:
8659 * docs/pwg/Makefile.am:
8661 possible fixes for automake-1.5
8663 2005-04-28 Wim Taymans <wim@fluendo.com>
8665 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8666 (gst_basesink_pad_getcaps), (gst_basesink_init),
8667 (gst_basesink_do_sync):
8668 * gst/gstclock.c: (gst_clock_entry_new):
8669 * gst/gstevent.c: (gst_event_discont_get_value):
8670 * gst/gstpipeline.c: (pipeline_bus_handler),
8671 (gst_pipeline_change_state):
8672 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8673 Better debugging of clocking info.
8674 Allow NULL values when getting discont values.
8676 2005-04-27 Wim Taymans <wim@fluendo.com>
8678 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8679 * check/gst/gstpad.c: (gst_pad_suite):
8680 Increase timeout for checks.
8682 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8684 * check/Makefile.am:
8685 fix the broken rule for cleanup. Apparently this rule is
8686 only needed on FC2, so maybe this warrants further autotool
8689 2005-04-26 Wim Taymans <wim@fluendo.com>
8691 * gst/gsttrashstack.h:
8692 Ooohh. a nasty one! After having a failed pop() from the stack,
8693 it's possible that the stack is empty. In that case, don't
8694 follow the NULL pointer.
8696 2005-04-25 Wim Taymans <wim@fluendo.com>
8698 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8699 (gst_pad_set_checkgetrange_function),
8700 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8701 (gst_pad_check_pull_range), (gst_pad_pull_range),
8702 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8703 (gst_pad_pause_task), (gst_pad_stop_task):
8704 * gst/gstplugin.c: (gst_plugin_load):
8706 Remove gst_library_load as it does more harm than good with
8707 the new g_module flags.
8708 Revert bogus caps template check in pad linking, pad caps
8709 are important when linking not the template, which is more
8710 general than the current caps.
8712 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8714 * gst/autoplug/.cvsignore:
8715 * gst/autoplug/Makefile.am:
8716 * gst/autoplug/gstsearchfuncs.c:
8717 * gst/autoplug/gstsearchfuncs.h:
8718 * gst/autoplug/gstspider.c:
8719 * gst/autoplug/gstspider.h:
8720 * gst/autoplug/gstspideridentity.c:
8721 * gst/autoplug/gstspideridentity.h:
8722 * gst/autoplug/spidertest.c:
8725 2005-04-25 Wim Taymans <wim@fluendo.com>
8727 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8728 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8729 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8730 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8732 Added stubs for unimplemented functions.
8734 2005-04-24 David Schleef <ds@schleef.org>
8736 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8739 2005-04-24 David Schleef <ds@schleef.org>
8741 Convert everything from GstAtomicInt to g_atomic_int_*, and
8746 * gst/gstatomic_impl.h:
8754 * gst/gstdata_private.h:
8761 * gst/gststructure.c:
8762 * gst/gststructure.h:
8763 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8766 2005-04-24 David Schleef <ds@schleef.org>
8768 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8769 make the regressions tests work. Remove some code that is no
8771 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8772 Disable warning for pads without templates.
8774 2005-04-24 David Schleef <ds@schleef.org>
8776 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8777 functions that handle filtered links.
8778 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8780 * gst/gstutils.c: Fix/remove utility functions that handle
8783 * gst/gstvalue.c: Add serialization/deserialization of caps
8784 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8785 requires fixing so that the filter caps notation creates
8786 a capsfilter element and sets the filter_caps property. I
8787 think everyone probably wants to keep the shorthand notation.
8788 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8789 * docs/gst/tmpl/gstpad.sgml:
8791 * gst/elements/gstelements.c: Register capsfilter element.
8792 * gst/Makefile.am: fix spacing
8793 * docs/random/ds/0.9-suggested-changes: random
8795 2005-04-23 David Schleef <ds@schleef.org>
8797 * gst/elements/Makefile.am:
8798 * gst/elements/gstcapsfilter.c: New element that acts like an
8799 identity, but filters caps. Will eventually replace filtered
8800 caps in pad linking.
8801 * gst/gstutils.c: (gst_element_create_all_pads): New function
8802 to create all the ALWAYS pads that are registered with an
8803 element class. This functionality should eventually be
8804 merged in with GstElement initialization.
8806 * testsuite/trigger/README: part of trigger test code that should
8807 have been checked in a long time ago.
8809 2005-04-23 David Schleef <ds@schleef.org>
8811 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8812 needed with new versions of libtool (nobody will confirm this),
8813 and hard to carry around.
8814 * gst/autoplug/Makefile.am:
8815 * gst/base/Makefile.am:
8816 * gst/elements/Makefile.am:
8817 * gst/indexers/Makefile.am:
8818 * gst/schedulers/Makefile.am:
8819 * libs/gst/bytestream/Makefile.am:
8820 * libs/gst/control/Makefile.am:
8821 * libs/gst/dataprotocol/Makefile.am:
8822 * libs/gst/getbits/Makefile.am:
8824 2005-04-21 Wim Taymans <wim@fluendo.com>
8826 * docs/design/draft-push-pull.txt:
8827 * docs/design/part-MT-refcounting.txt:
8828 * docs/design/part-TODO.txt:
8829 * docs/design/part-caps.txt:
8830 * docs/design/part-events.txt:
8831 * docs/design/part-gstbus.txt:
8832 * docs/design/part-gstpipeline.txt:
8833 * docs/design/part-messages.txt:
8834 * docs/design/part-push-pull.txt:
8835 * docs/design/part-query.txt:
8838 2005-04-21 Wim Taymans <wim@fluendo.com>
8840 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8841 (gst_message_new), (gst_message_new_error),
8842 (gst_message_new_warning), (gst_message_new_tag),
8843 (gst_message_new_state_changed), (gst_message_new_application),
8844 (gst_message_get_structure):
8846 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8847 (gst_structure_copy_conditional):
8848 Use parent refcount in GstMessage to ensure GstStructure
8850 Cleaned up headers a bit.
8853 2005-04-20 Wim Taymans <wim@fluendo.com>
8855 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8856 (gst_basesink_pad_getcaps), (gst_basesink_init),
8857 (gst_basesink_chain_unlocked):
8858 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8859 (gst_type_find_helper):
8860 * gst/elements/gsttypefindelement.c:
8861 (gst_type_find_element_have_type), (gst_type_find_element_init),
8862 (stop_typefinding), (gst_type_find_element_handle_event),
8863 (find_suggest), (gst_type_find_element_chain),
8864 (gst_type_find_element_checkgetrange),
8865 (gst_type_find_element_getrange), (do_typefind),
8866 (gst_type_find_element_activate):
8867 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8868 (gst_buffer_default_free), (gst_buffer_default_copy),
8869 (gst_buffer_set_caps):
8870 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8872 * gst/gstmessage.c: (gst_message_new),
8873 (gst_message_new_state_changed):
8874 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8875 (gst_pad_set_checkgetrange_function),
8876 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8877 (gst_pad_set_caps), (gst_pad_check_pull_range),
8878 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
8880 * gst/gsttypefind.c: (gst_type_find_register):
8881 Make gst_caps_replace() work like other _replace() functions.
8882 Use _caps_replace() where possible.
8883 Make sure _message_new() initialises its field.
8884 Add gst_static_pad_template_get_caps()
8887 2005-04-18 Andy Wingo <wingo@pobox.com>
8889 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
8890 on the peer, not the pad. I think that was a typo. Pass an extra
8891 arg to see if random access is possible. Activate the pads as
8892 PULL_RANGE if possible.
8894 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
8896 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
8897 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
8900 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8902 * docs/faq/using.xml:
8903 Add note on gstreamer-properties (#154996).
8905 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8907 * docs/random/bbb/optional-properties:
8908 Some analysis on optional properties.
8910 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8912 * docs/gst/tmpl/gstelementfactory.sgml:
8914 * gst/gstelementfactory.c: (gst_element_factory_init),
8915 (gst_element_factory_cleanup), (gst_element_register),
8916 (__gst_element_factory_add_static_pad_template),
8917 (gst_element_factory_get_static_pad_templates),
8918 (gst_element_factory_can_src_caps),
8919 (gst_element_factory_can_sink_caps):
8920 * gst/registries/Makefile.am:
8921 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
8922 (gst_xml_registry_class_init), (gst_xml_registry_init),
8923 (gst_xml_registry_new), (gst_xml_registry_set_property),
8924 (gst_xml_registry_get_property), (get_time), (make_dir),
8925 (gst_xml_registry_get_perms_func),
8926 (plugin_times_older_than_recurse), (plugin_times_older_than),
8927 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
8928 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
8929 (add_to_char_array), (read_string), (read_uint), (read_enum),
8930 (load_pad_template), (load_feature), (load_plugin), (load_paths),
8931 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
8932 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
8933 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
8934 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
8935 (gst_xml_registry_rebuild):
8936 * gst/registries/gstlibxmlregistry.h:
8937 * tools/gst-compprep.c: (main):
8938 * tools/gst-inspect.c: (print_pad_templates_info):
8939 * tools/gst-xmlinspect.c: (print_element_info):
8940 Use libxml2 for registry parsing, use staticpadtemplates in
8941 elementfactories. Makes gst_init() +/- 10x faster.
8943 2005-04-12 Wim Taymans <wim@fluendo.com>
8945 * gst/base/Makefile.am:
8946 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8947 (gst_basesink_pad_getcaps), (gst_basesink_init),
8948 (gst_basesink_event), (gst_basesink_change_state):
8949 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8950 (gst_basesrc_init), (gst_basesrc_query),
8951 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8952 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8953 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8954 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8955 (gst_basesrc_stop), (gst_basesrc_activate),
8956 (gst_basesrc_change_state):
8957 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8958 (helper_find_suggest), (gst_type_find_helper):
8959 * gst/base/gsttypefindhelper.h:
8960 * gst/elements/Makefile.am:
8961 * gst/elements/gstelements.c:
8962 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8963 (gst_fakesink_get_times), (gst_fakesink_event),
8964 (gst_fakesink_preroll), (gst_fakesink_render):
8965 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8966 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8967 (gst_fakesrc_get_property), (gst_fakesrc_create),
8968 (gst_fakesrc_start), (gst_fakesrc_stop):
8969 * gst/elements/gstfakesrc.h:
8970 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8971 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8972 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8973 (gst_filesrc_create_read), (gst_filesrc_create),
8974 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8975 (gst_filesrc_start):
8976 * gst/elements/gsttypefindelement.c:
8977 (gst_type_find_element_have_type), (gst_type_find_element_init),
8978 (start_typefinding), (stop_typefinding), (push_buffer_store),
8979 (gst_type_find_element_handle_event),
8980 (gst_type_find_element_chain),
8981 (gst_type_find_element_checkgetrange),
8982 (gst_type_find_element_getrange), (do_typefind),
8983 (gst_type_find_element_activate),
8984 (gst_type_find_element_change_state):
8985 * gst/elements/gsttypefindelement.h:
8986 * gst/gstpipeline.c: (pipeline_bus_handler):
8987 Added typefind helper.
8988 Small preroll fix in the base sink.
8989 Disable typefind code in basesrc.
8990 Crude port of typefindelement.
8994 2005-04-11 Wim Taymans <wim@fluendo.com>
8996 * check/gst/gstbus.c: (gstbus_suite):
8997 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8999 Fix up the timeout so that the test does not fail.
9001 2005-04-06 Wim Taymans <wim@fluendo.com>
9004 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9005 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9006 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9007 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9008 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9009 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9010 (gst_basesrc_stop), (gst_basesrc_activate),
9011 (gst_basesrc_change_state), (basesrc_find_peek),
9012 (basesrc_find_suggest), (gst_basesrc_type_find):
9013 * gst/base/gstbasesrc.h:
9014 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9015 (gst_filesrc_class_init), (gst_filesrc_init),
9016 (gst_filesrc_finalize), (gst_filesrc_set_location),
9017 (gst_filesrc_set_property), (gst_filesrc_get_property),
9018 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9019 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9020 (gst_filesrc_create_read), (gst_filesrc_create),
9021 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9022 * gst/elements/gstfilesrc.h:
9023 * gst/gstelement.c: (gst_element_get_state_func),
9024 (gst_element_lost_state), (gst_element_pads_activate):
9025 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9026 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9027 (gst_pad_pull_range):
9029 More work on the generic source base class, implement seeking,
9031 Make filesrc extend the base source class.
9032 Added gst_pad_set_checkgetrange_function to GstPad.
9034 2005-04-06 Andy Wingo <wingo@pobox.com>
9036 * pkgconfig/gstreamer-base.pc.in:
9037 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9039 * pkgconfig/Makefile.am:
9040 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9042 2005-04-04 Wim Taymans <wim@fluendo.com>
9044 * gst/base/Makefile.am:
9046 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9047 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9048 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9049 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9050 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9051 (gst_basesrc_base_init), (gst_basesrc_class_init),
9052 (gst_basesrc_init), (gst_basesrc_get_formats),
9053 (gst_basesrc_get_query_types), (gst_basesrc_query),
9054 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9055 (gst_basesrc_set_property), (gst_basesrc_get_property),
9056 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9057 (gst_basesrc_loop), (gst_basesrc_activate),
9058 (gst_basesrc_change_state):
9059 * gst/base/gstbasesrc.h:
9060 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9061 (gst_fakesrc_class_init), (gst_fakesrc_init),
9062 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9063 (gst_fakesrc_get_property), (gst_fakesrc_create):
9064 * gst/elements/gstfakesrc.h:
9065 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9066 (gst_filesrc_open_file), (gst_filesrc_loop),
9067 (gst_filesrc_activate), (filesrc_find_peek),
9068 (gst_filesrc_type_find):
9069 Made base source class, make fakesrc extend it.
9070 Add comments to basesink class.
9071 Some filesrc cleanup.
9073 2005-03-31 David Schleef <ds@schleef.org>
9075 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9076 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9077 expected to link against libgstreamer.
9078 * gst/base/Makefile.am: link against libgstreamer
9079 * gst/elements/Makefile.am: same
9081 2005-03-31 Andy Wingo <wingo@pobox.com>
9083 * tests/instantiate/Makefile.am:
9084 * tests/instantiate/caps.c: Add test to test speed of caps copy
9087 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9088 GMemChunk to be fair.
9090 * gst/gsttrashstack.h: Remove warning about using the fallback
9091 trash stack implementation, it's still faster than malloc.
9093 2005-03-30 Andy Wingo <wingo@pobox.com>
9095 * tests/complexity.c: Add a copyright.
9097 2005-03-31 Wim Taymans <wim@fluendo.com>
9099 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9100 (gst_base_transform_class_init), (gst_base_transform_init),
9101 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9102 (gst_base_transform_get_property),
9103 (gst_base_transform_sink_activate),
9104 (gst_base_transform_src_activate),
9105 (gst_base_transform_change_state):
9106 * gst/base/gstbasetransform.h:
9107 * gst/elements/gstidentity.c: (gst_identity_class_init),
9108 (gst_identity_event), (gst_identity_check_perfect),
9109 (gst_identity_transform), (gst_identity_start),
9110 (gst_identity_stop):
9111 Added start/stop methods to transform base class so subclasses
9112 don't need to deal with state changes even.
9114 2005-03-31 Wim Taymans <wim@fluendo.com>
9116 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9117 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9119 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9120 (gst_pad_pull_range):
9121 Added rate to the discont event to prepare for variable speed
9122 and reverse playback.
9124 2005-03-29 David Schleef <ds@schleef.org>
9127 * testsuite/trigger/Makefile.am:
9128 * testsuite/trigger/trigger.c: A little example program to show
9129 how trigger-based elements can work.
9131 2005-03-29 Wim Taymans <wim@fluendo.com>
9133 * gst/base/Makefile.am:
9135 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9136 (gst_basesink_base_init), (gst_basesink_class_init),
9137 (gst_basesink_pad_getcaps), (gst_basesink_init),
9138 (gst_basesink_activate), (gst_basesink_change_state):
9139 * gst/base/gstbasesink.h:
9140 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9141 (gst_base_transform_base_init), (gst_base_transform_finalize),
9142 (gst_base_transform_class_init), (gst_base_transform_init),
9143 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9144 (gst_base_transform_event), (gst_base_transform_getrange),
9145 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9146 (gst_base_transform_set_property),
9147 (gst_base_transform_get_property),
9148 (gst_base_transform_sink_activate),
9149 (gst_base_transform_src_activate),
9150 (gst_base_transform_change_state):
9151 * gst/base/gstbasetransform.h:
9152 * gst/elements/gstidentity.c: (gst_identity_finalize),
9153 (gst_identity_class_init), (gst_identity_init),
9154 (gst_identity_event), (gst_identity_check_perfect),
9155 (gst_identity_transform), (gst_identity_set_property),
9156 (gst_identity_get_property), (gst_identity_change_state):
9157 * gst/elements/gstidentity.h:
9158 * gst/gstelement.c: (gst_element_get_state_func),
9159 (gst_element_lost_state), (gst_element_pads_activate):
9160 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9161 (gst_pad_check_pull_range), (gst_pad_pull_range):
9163 Simplify pad activation.
9164 Added function to check if pull_range can be performed.
9165 Error out when pulling inactive or flushing pads.
9166 Removed const from refcounted types as it does not make sense.
9167 Simplify pad templates in basesink
9168 Added base class for simple 1-to-1 transforms.
9169 Make identity subclass the base transform.
9171 2005-03-29 Andy Wingo <wingo@pobox.com>
9173 * docs/libs/gstreamer-libs-overrides.txt:
9174 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9175 really don't understand what's going on, but like whatever. I want
9178 * docs/gst/Makefile.am:
9179 * docs/libs/Makefile.am: Dist the overrides files.
9181 * check/Makefile.am (clean-local): Remove .libs directories.
9183 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9184 elements to EXTRA_DIST, so po/ files are happy.
9186 * po/POTFILES.in: Er, remove it here.
9188 * po/POTFILES: Remove gstspider.c.
9190 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9192 * docs/libs/gstreamer-libs-docs.sgml:
9193 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9196 * tests/complexity.c (main): Set the length of the preroll queue
9197 on the sinks to prevent a lockup.
9199 * libs/gst/dataprotocol/Makefile.am:
9200 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9201 the same as the one in check/gst-libs/gdp.c.
9203 * po/, docs/gst/: Commit automatic changes to docs and po files.
9205 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9206 the versioned libgstbase.
9208 * check/Makefile.am: Depend on an unversioned gst-register, seems
9209 to make autoconf happier.
9211 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9213 2005-03-28 Wim Taymans <wim@fluendo.com>
9216 * docs/design/part-gstelement.txt:
9217 * docs/design/part-negotiation.txt:
9218 * docs/design/part-preroll.txt:
9219 * docs/design/part-scheduling.txt:
9220 * docs/design/part-states.txt:
9222 * gst/base/Makefile.am:
9224 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9225 (gst_basesink_base_init), (gst_basesink_class_init),
9226 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9227 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9228 (gst_basesink_set_pad_functions),
9229 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9230 (gst_basesink_set_property), (gst_basesink_get_property),
9231 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9232 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9233 (gst_basesink_preroll_queue_push),
9234 (gst_basesink_preroll_queue_empty),
9235 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9236 (gst_basesink_event), (gst_basesink_get_times),
9237 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9238 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9239 (gst_basesink_loop), (gst_basesink_activate),
9240 (gst_basesink_change_state):
9241 * gst/base/gstbasesink.h:
9242 * gst/elements/Makefile.am:
9243 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9244 (gst_fakesink_class_init), (gst_fakesink_init),
9245 (gst_fakesink_set_property), (gst_fakesink_get_property),
9246 (gst_fakesink_get_times), (gst_fakesink_event),
9247 (gst_fakesink_preroll), (gst_fakesink_render),
9248 (gst_fakesink_change_state):
9249 * gst/elements/gstfakesink.h:
9250 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9251 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9252 * gst/gstelement.c: (gst_element_add_pad),
9253 (gst_element_get_state_func), (gst_element_abort_state),
9254 (gst_element_commit_state), (gst_element_lost_state),
9255 (gst_element_set_state), (gst_element_pads_activate):
9256 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9257 * gst/gstpipeline.c: (gst_pipeline_send_event),
9258 (gst_pipeline_change_state):
9259 Added state change code.
9261 Added sink base class, make fakesink extend the base class.
9262 Small cleanups in GstPipeline.
9264 2005-03-26 David Schleef <ds@schleef.org>
9266 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9267 is broken and should be implemented in a different library.
9268 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9269 * gst/gst.h: remove gstcpu.h
9270 * gst/gstcpu.c: remove
9271 * gst/gstcpu.h: remove
9272 * gst/Makefile.am.future: Remove this file. It's ancient.
9274 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9276 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9277 (gst_bin_send_event):
9278 Add default event/set_manager handlers. The set_manager handler
9279 takes care that the manager is distributed over kids that were
9280 already in the bin before the manager was set. The event handler
9281 is a utility virtual function that sends the event over all sinks,
9282 so that gst_element_send_event (bin, event); has the expected
9284 * gst/gstpad.c: (gst_pad_event_default):
9285 Re-install default event handling for discontinuities, so that
9286 seeking works without requiring hacks in applications or extra
9288 * gst/gstpipeline.c: (gst_pipeline_class_init),
9289 (gst_pipeline_send_event):
9290 Half hack, half utility: set a pipeline to PAUSED for seek events,
9291 since that is the only way we can guarantee a/v sync. Means that
9292 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9293 and it "just works".
9295 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9297 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9298 Lock/unlock mismatch.
9300 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9302 * docs/faq/gst-uninstalled:
9303 add gst-plugins-base
9304 * docs/gst/Makefile.am:
9305 don't error out until docs are fixed
9306 * docs/gst/gstreamer.types:
9309 2005-03-22 Wim Taymans <wim@fluendo.com>
9311 * check/Makefile.am:
9312 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9313 * gst/gststructure.c: (gst_structure_set_valist),
9314 (gst_structure_copy_conditional):
9315 Activated more tests.
9317 Added G_TYPE_POINTER to GstStructure.
9320 2005-03-22 Wim Taymans <wim@fluendo.com>
9322 * docs/design/part-TODO.txt:
9323 * docs/design/part-events.txt:
9324 * docs/design/part-gstbin.txt:
9325 * docs/design/part-gstbus.txt:
9326 * docs/design/part-gstpipeline.txt:
9327 * docs/design/part-messages.txt:
9332 2005-03-21 Wim Taymans <wim@fluendo.com>
9334 * gst/gstbus.c: (gst_bus_post):
9335 Fix copy-and-paste error.
9337 2005-03-21 Wim Taymans <wim@fluendo.com>
9339 * check/Makefile.am:
9341 * gst/elements/Makefile.am:
9342 * gst/elements/gstelements.c:
9343 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9344 (gst_fakesink_event), (gst_fakesink_chain):
9345 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9346 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9347 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9348 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9349 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9350 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9351 (gst_fakesrc_loop), (gst_fakesrc_activate),
9352 (gst_fakesrc_change_state):
9353 * gst/elements/gstfakesrc.h:
9354 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9355 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9356 (gst_filesrc_open_file), (gst_filesrc_loop),
9357 (gst_filesrc_activate), (gst_filesrc_change_state),
9358 (filesrc_find_peek), (filesrc_find_suggest),
9359 (gst_filesrc_type_find):
9360 * gst/elements/gstidentity.c: (gst_identity_finalize),
9361 (gst_identity_class_init), (gst_identity_init),
9362 (gst_identity_proxy_getcaps), (identity_queue_push),
9363 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9364 (gst_identity_getrange), (gst_identity_chain),
9365 (gst_identity_sink_loop), (gst_identity_src_loop),
9366 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9367 (gst_identity_set_property), (gst_identity_get_property),
9368 (gst_identity_change_state):
9369 * gst/elements/gstidentity.h:
9370 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9371 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9372 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9373 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9374 (gst_tee_sink_activate):
9375 * gst/elements/gsttee.h:
9376 * gst/gst.c: (gst_register_core_elements), (init_post):
9378 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9379 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9380 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9381 (gst_bin_change_state):
9383 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9384 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9385 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9386 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9387 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9388 (bus_watch_callback), (bus_watch_destroy),
9389 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9390 (poll_timeout), (gst_bus_poll):
9394 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9395 (gst_element_post_message), (gst_element_message_full),
9396 (gst_element_get_state_func), (gst_element_get_state),
9397 (gst_element_abort_state), (gst_element_commit_state),
9398 (gst_element_lost_state), (gst_element_set_state),
9399 (gst_element_pads_activate), (gst_element_change_state),
9400 (gst_element_dispose), (gst_element_set_manager_func),
9401 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9402 (gst_element_set_manager), (gst_element_get_manager),
9403 (gst_element_set_bus), (gst_element_get_bus),
9404 (gst_element_set_scheduler), (gst_element_get_scheduler):
9406 * gst/gstevent.c: (gst_event_new_segment_seek),
9407 (gst_event_new_flush):
9409 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9410 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9411 (gst_message_new_eos), (gst_message_new_error),
9412 (gst_message_new_warning), (gst_message_new_tag),
9413 (gst_message_new_state_changed), (gst_message_new_application),
9414 (gst_message_get_structure), (gst_message_parse_tag),
9415 (gst_message_parse_state_changed), (gst_message_parse_error),
9416 (gst_message_parse_warning):
9418 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9419 (gst_real_pad_set_property), (gst_pad_set_active),
9420 (gst_pad_is_active), (gst_pad_set_blocked_async),
9421 (gst_pad_set_blocked), (gst_pad_is_blocked),
9422 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9423 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9424 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9425 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9426 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9427 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9428 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9429 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9430 (gst_pad_set_caps), (gst_pad_configure_sink),
9431 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9432 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9433 (gst_real_pad_dispose), (gst_real_pad_finalize),
9434 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9435 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9436 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9438 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9439 (pipeline_bus_handler), (gst_pipeline_change_state),
9440 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9441 * gst/gstpipeline.h:
9443 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9444 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9445 (gst_queue_link_src), (gst_queue_bufferalloc),
9446 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9447 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9448 (gst_queue_loop), (gst_queue_handle_src_event),
9449 (gst_queue_handle_src_query), (gst_queue_src_activate),
9450 (gst_queue_change_state):
9452 * gst/gstscheduler.c: (gst_scheduler_init),
9453 (gst_scheduler_dispose), (gst_scheduler_create_task),
9454 (gst_scheduler_factory_create):
9455 * gst/gstscheduler.h:
9456 * gst/gststructure.c: (gst_structure_get_type),
9457 (gst_structure_copy_conditional):
9458 * gst/gststructure.h:
9459 * gst/gsttaginterface.h:
9460 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9461 (gst_task_init), (gst_task_dispose), (gst_task_create),
9462 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9468 * gst/schedulers/Makefile.am:
9469 * gst/schedulers/cothreads_compat.h:
9470 * gst/schedulers/entryscheduler.c:
9471 * gst/schedulers/faircothreads.c:
9472 * gst/schedulers/faircothreads.h:
9473 * gst/schedulers/fairscheduler.c:
9474 * gst/schedulers/gstbasicscheduler.c:
9475 * gst/schedulers/gstoptimalscheduler.c:
9476 * gst/schedulers/gthread-cothreads.h:
9477 * gst/schedulers/threadscheduler.c:
9478 (gst_thread_scheduler_task_get_type),
9479 (gst_thread_scheduler_task_class_init),
9480 (gst_thread_scheduler_task_init),
9481 (gst_thread_scheduler_task_start),
9482 (gst_thread_scheduler_task_stop),
9483 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9484 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9485 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9486 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9488 * libs/gst/Makefile.am:
9489 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9490 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9491 (gst_file_pad_parent_set):
9492 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9493 (gst_dp_event_from_packet):
9494 * tests/complexity.c: (main):
9495 * tests/mass_elements.c: (main):
9496 * testsuite/states/locked.c: (message_received), (main):
9497 * testsuite/states/parent.c: (main):
9498 * tools/gst-inspect.c: (print_element_flag_info),
9499 (print_implementation_info), (print_pad_info):
9500 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9502 * tools/gst-md5sum.c: (event_loop), (main):
9503 * tools/gst-typefind.c: (main):
9504 * tools/gst-xmlinspect.c: (print_element_info):
9506 Added GstBus for mainloop integration.
9507 Added GstMessage for sending notifications on the bus.
9508 Added GstTask as an abstraction for pipeline entry points.
9511 Simplified GstQueue for multithreaded core.
9512 Made _link threadsafe, removed old capsnego.
9513 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9514 Added pad blocking functions.
9515 Reworked scheduling functions in GstPad to prepare for
9516 scheduling updates soon.
9517 Moved events out of data stream.
9518 Simplified GstEvent types.
9519 Added return values to push/pull.
9520 Removed clocking from GstElement.
9521 Added prototypes for state change function for next merge.
9522 Removed iterate from bins and state change management.
9523 Fixed some elements, disabled others for now.
9524 Fixed -inspect and -launch.
9525 Added check for GstBus.
9527 2005-03-10 Wim Taymans <wim@fluendo.com>
9529 * docs/design/part-MT-refcounting.txt:
9530 * docs/design/part-clocks.txt:
9531 * docs/design/part-gstelement.txt:
9532 * docs/design/part-gstobject.txt:
9533 * docs/design/part-standards.txt:
9534 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9535 (gst_bin_remove_func), (gst_bin_remove):
9539 * testsuite/clock/clock1.c: (main):
9540 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9542 * testsuite/dlopen/loadgst.c: (do_test):
9543 * testsuite/refcounting/bin.c: (add_remove_test1),
9544 (add_remove_test2), (main):
9545 * testsuite/refcounting/element.c: (main):
9546 * testsuite/refcounting/element_pad.c: (main):
9547 * testsuite/refcounting/pad.c: (main):
9548 * tools/gst-launch.c: (sigint_handler_sighandler):
9549 * tools/gst-typefind.c: (main):
9551 Added doc about clock.
9552 removed gst_bin_iterate_recurse_up(), marked methods
9554 Fix more testsuites.
9556 2005-03-09 Wim Taymans <wim@fluendo.com>
9558 * gst/gstpad.c: (gst_pad_get_direction),
9559 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9560 (gst_pad_collect_valist):
9561 * testsuite/bins/interface.c: (main):
9562 * testsuite/caps/audioscale.c: (test_caps):
9563 * testsuite/caps/caps.c: (test1), (test2), (test3):
9564 * testsuite/caps/deserialize.c: (main):
9565 * testsuite/caps/enumcaps.c: (main):
9566 * testsuite/caps/filtercaps.c: (main):
9567 * testsuite/caps/intersect2.c: (main):
9568 * testsuite/caps/random.c: (main):
9569 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9570 * testsuite/caps/sets.c: (check_caps):
9571 * testsuite/caps/simplify.c: (check_caps), (main):
9572 * testsuite/caps/subtract.c: (check_caps):
9573 Fix _pad_get_direction wrt ghostpads.
9576 2005-03-09 Wim Taymans <wim@fluendo.com>
9578 * check/Makefile.am:
9579 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9580 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9581 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9582 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9583 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9584 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9585 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9586 (bin_element_is_sink), (gst_bin_iterate_sinks),
9587 (gst_bin_iterate_all_by_interface):
9589 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9590 (gst_element_change_state), (gst_element_dispose),
9591 (gst_element_finalize), (gst_element_set_loop_function):
9593 * gst/gstiterator.c: (find_custom_fold_func):
9594 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9595 (gst_pad_collectv), (gst_pad_collect_valist),
9596 (gst_pad_template_new):
9597 * gst/gstpipeline.c: (gst_pipeline_class_init),
9598 (gst_pipeline_dispose), (gst_pipeline_set_property),
9599 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9600 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9601 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9603 * gst/schedulers/entryscheduler.c:
9604 * gst/schedulers/gstbasicscheduler.c:
9605 (gst_basic_scheduler_cothreaded_chain),
9606 (gst_basic_scheduler_chain_add_element):
9607 * testsuite/bins/interface.c: (main):
9609 Added GstSystemClock test.
9610 Implemented clock distribution code in GstBin.
9611 Implemented iterate sinks method for future use.
9612 Rearranged gstelement.h
9613 Fix GstIterator comparison bug.
9614 Moved some code to GstPipeline, mostly clocking related.
9616 2005-03-09 Wim Taymans <wim@fluendo.com>
9619 * gst/gst_private.h:
9620 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9621 (gst_bin_remove_func), (gst_bin_remove),
9622 (gst_bin_get_by_name_recurse_up):
9623 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9624 (gst_clock_id_compare_func), (gst_clock_id_wait),
9625 (gst_clock_id_wait_async), (gst_clock_init),
9626 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9628 * gst/gstinfo.c: (_gst_debug_init):
9630 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9631 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9633 Bump version number, we're now 0.9.0
9634 Add future debugging category.
9635 Fix NULL _unref() in _get_by_name_recurse_up
9639 2005-03-08 Wim Taymans <wim@fluendo.com>
9641 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9642 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9643 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9644 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9645 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9646 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9647 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9648 * gst/elements/gstidentity.c: (gst_identity_class_init):
9649 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9650 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9651 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9652 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9653 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9655 * gst/gstelement.c: (gst_element_class_init),
9656 (gst_element_base_class_init), (gst_element_init),
9657 (gst_element_get_random_pad), (gst_element_wait_state_change),
9658 (gst_element_change_state), (gst_element_dispose),
9659 (gst_element_finalize), (gst_element_set_loop_function):
9661 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9662 * gst/gstthread.c: (gst_thread_class_init),
9663 (gst_thread_release_children_locks), (gst_thread_change_state):
9664 * gst/schedulers/gstbasicscheduler.c:
9665 (gst_basic_scheduler_loopfunc_wrapper),
9666 (gst_basic_scheduler_chain_wrapper),
9667 (gst_basic_scheduler_src_wrapper),
9668 (gst_basic_scheduler_remove_element):
9669 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9670 Remove threadsafe properties. Fix elements because GObject
9671 complains when installing a property before declaring a
9672 set/get_property handler.
9673 Rearrange gstelement.h file, use STATE macros for state locks.
9674 Free mutexes in the finalize method instead of dispose.
9676 2005-03-08 Wim Taymans <wim@fluendo.com>
9678 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9679 * gst/gstthread.c: (gst_thread_release_children_locks):
9680 Added parentage check.
9681 Fix build og GstThread again.
9683 2005-03-08 Wim Taymans <wim@fluendo.com>
9685 * docs/design/part-MT-refcounting.txt:
9686 * docs/design/part-conventions.txt:
9687 * docs/design/part-gstobject.txt:
9688 * docs/design/part-relations.txt:
9689 * docs/design/part-standards.txt:
9690 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9691 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9692 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9693 (gst_bin_iterate_all_by_interface):
9696 * gst/gstelement.c: (gst_element_class_init),
9697 (gst_element_change_state), (gst_element_set_loop_function):
9699 * gst/gstiterator.c:
9700 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9701 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9702 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9703 (gst_object_set_parent), (gst_object_unparent),
9704 (gst_object_check_uniqueness):
9706 Docs updates, clean up some headers.
9708 2005-03-07 Wim Taymans <wim@fluendo.com>
9711 * check/Makefile.am:
9712 * check/gst-libs/.cvsignore:
9713 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9714 * check/gst/.cvsignore:
9715 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9716 (START_TEST), (gstbus_suite), (main):
9717 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9718 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9719 (gst_data_suite), (main):
9720 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9721 (add_fold_func), (gstiterator_suite), (main):
9722 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9723 (thread_name_object), (thread_name_object_default),
9724 (gst_object_name_compare), (gst_object_suite), (main):
9725 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9726 (gst_pad_suite), (main):
9727 * check/gstcheck.c: (gst_check_log_message_func),
9728 (gst_check_log_critical_func), (gst_check_init):
9730 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9731 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9734 2005-03-07 Wim Taymans <wim@fluendo.com>
9736 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9737 (gst_list_iterator_next), (gst_list_iterator_resync),
9738 (gst_list_iterator_free), (gst_iterator_new_list),
9739 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9740 (gst_iterator_free), (gst_iterator_push), (filter_next),
9741 (filter_resync), (filter_uninit), (filter_free),
9742 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9743 (gst_iterator_foreach), (find_custom_fold_func),
9744 (gst_iterator_find_custom):
9745 * gst/gstiterator.h:
9746 Added missing files.
9748 2005-03-07 Wim Taymans <wim@fluendo.com>
9752 * docs/design/part-MT-refcounting.txt:
9753 * docs/design/part-conventions.txt:
9754 * docs/design/part-gstobject.txt:
9755 * docs/design/part-relations.txt:
9756 * examples/mixer/mixer.c: (main):
9757 * examples/thread/thread.c: (eos), (main):
9759 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9760 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9761 (gst_spider_plug_from_srcpad):
9762 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9763 (gst_spider_identity_change_state),
9764 (gst_spider_identity_sink_loop_type_finding):
9765 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9766 * gst/elements/gstidentity.c: (gst_identity_init):
9767 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9768 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9769 * gst/elements/gsttypefindelement.c: (free_entry):
9772 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9773 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9774 (gst_bin_set_index), (gst_bin_set_element_sched),
9775 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9776 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9777 (gst_bin_iterate_elements), (iterate_child_recurse),
9778 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9779 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9780 (compare_interface), (gst_bin_get_by_interface),
9781 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9783 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9784 (gst_buffer_default_free), (gst_buffer_default_copy),
9785 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9786 (gst_buffer_create_sub):
9788 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9789 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9790 (gst_caps_unref), (gst_static_caps_get),
9791 (gst_caps_remove_and_get_structure), (gst_caps_append),
9792 (gst_caps_append_structure), (gst_caps_remove_structure),
9793 (gst_caps_copy_nth), (gst_caps_set_simple),
9794 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9795 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9796 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9797 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9798 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9799 (gst_caps_structure_figure_out_union),
9800 (gst_caps_switch_structures), (gst_caps_do_simplify),
9801 (gst_caps_replace), (gst_caps_from_string),
9802 (gst_caps_copy_conditional):
9804 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9805 (_gst_clock_id_free), (gst_clock_id_unref),
9806 (gst_clock_id_compare_func), (gst_clock_id_wait),
9807 (gst_clock_id_wait_async), (gst_clock_class_init),
9808 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9809 (gst_clock_get_time), (gst_clock_set_time_adjust),
9810 (gst_clock_set_property), (gst_clock_get_property):
9813 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9814 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9816 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9817 (gst_element_requires_clock), (gst_element_provides_clock),
9818 (gst_element_set_clock), (gst_element_clock_wait),
9819 (gst_element_wait), (gst_element_set_time_delay),
9820 (gst_element_is_indexable), (gst_element_add_pad),
9821 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9822 (pad_compare_name), (gst_element_get_static_pad),
9823 (gst_element_request_pad), (gst_element_get_request_pad),
9824 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9825 (gst_element_class_get_pad_template_list),
9826 (gst_element_class_get_pad_template), (gst_element_error_func),
9827 (gst_element_get_random_pad), (gst_element_get_event_masks),
9828 (gst_element_send_event), (gst_element_seek),
9829 (gst_element_get_query_types), (gst_element_query),
9830 (gst_element_get_formats), (gst_element_convert),
9831 (gst_element_is_locked_state), (gst_element_set_locked_state),
9832 (gst_element_sync_state_with_parent), (gst_element_change_state),
9833 (gst_element_finalize), (gst_element_yield),
9834 (gst_element_interrupt), (gst_element_set_scheduler),
9835 (gst_element_get_scheduler), (gst_element_set_loop_function):
9838 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9839 (gst_format_get_by_nick), (gst_format_get_details),
9840 (gst_format_iterate_definitions):
9842 * gst/gstindex.c: (gst_index_gtype_resolver):
9845 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9846 (gst_mem_chunk_free):
9847 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9848 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9849 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9850 (gst_object_dispatch_properties_changed),
9851 (gst_object_set_name_default), (gst_object_set_name),
9852 (gst_object_get_name), (gst_object_set_name_prefix),
9853 (gst_object_get_name_prefix), (gst_object_set_parent),
9854 (gst_object_get_parent), (gst_object_unparent),
9855 (gst_object_check_uniqueness), (gst_object_save_thyself),
9856 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9857 (gst_object_set_property), (gst_object_get_property),
9858 (gst_object_get_path_string):
9860 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9861 (gst_real_pad_init), (gst_real_pad_get_property),
9862 (gst_pad_custom_new), (gst_pad_get_direction),
9863 (gst_pad_set_active), (gst_pad_is_active),
9864 (gst_pad_set_event_function), (gst_pad_is_linked),
9865 (gst_pad_link_free), (gst_pad_link_intersect),
9866 (gst_pad_link_fixate), (gst_pad_set_caps),
9867 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9868 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9869 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9870 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9871 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9872 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9873 (gst_pad_realize), (gst_pad_get_allowed_caps),
9874 (gst_real_pad_dispose), (gst_real_pad_finalize),
9875 (gst_pad_collectv), (gst_pad_collect_valist),
9876 (gst_pad_template_dispose), (gst_pad_template_new),
9877 (gst_pad_get_internal_links):
9879 * gst/gstpipeline.c: (gst_pipeline_dispose),
9880 (gst_pipeline_change_state):
9881 * gst/gstpipeline.h:
9883 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
9884 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
9885 * gst/gstpluginfeature.h:
9886 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
9887 * gst/gstquery.c: (_gst_query_type_initialize),
9888 (gst_query_type_register), (gst_query_type_get_by_nick),
9889 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
9891 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
9892 * gst/gstscheduler.c: (gst_scheduler_add_element),
9893 (gst_scheduler_factory_create):
9894 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9895 (gst_structure_free), (gst_structure_set_name),
9896 (gst_structure_id_set_value), (gst_structure_set_value),
9897 (gst_structure_set_valist), (gst_structure_remove_field),
9898 (gst_structure_remove_fields),
9899 (gst_structure_remove_fields_valist),
9900 (gst_structure_remove_all_fields), (gst_structure_foreach),
9901 (gst_structure_map_in_place),
9902 (gst_caps_structure_fixate_field_nearest_int),
9903 (gst_caps_structure_fixate_field_nearest_double):
9904 * gst/gststructure.h:
9905 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9906 (gst_system_clock_init), (gst_system_clock_dispose),
9907 (gst_system_clock_async_thread),
9908 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
9909 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9910 * gst/gstsystemclock.h:
9911 * gst/gsttag.c: (gst_tag_list_add_value_internal),
9912 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
9913 * gst/gsttaginterface.c:
9914 * gst/gstthread.c: (gst_thread_dispose),
9915 (gst_thread_release_children_locks), (gst_thread_change_state),
9916 (gst_thread_main_loop):
9917 * gst/gsttrashstack.h:
9918 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
9920 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9921 (gst_element_request_pad), (gst_element_get_pad_from_template),
9922 (gst_element_request_compatible_pad),
9923 (gst_element_get_compatible_pad_filtered),
9924 (gst_element_get_compatible_pad), (gst_element_state_get_name),
9925 (gst_element_link_pads_filtered), (gst_element_link_filtered),
9926 (gst_element_link_many), (gst_element_link),
9927 (gst_element_link_pads), (gst_element_unlink_pads),
9928 (gst_element_unlink_many), (gst_element_unlink),
9929 (gst_pad_can_link_filtered), (gst_pad_can_link),
9930 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
9931 (gst_object_default_error), (gst_bin_add_many),
9932 (gst_bin_remove_many), (gst_element_populate_std_props),
9933 (gst_element_class_install_std_props), (gst_buffer_merge),
9934 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
9935 (link_fold_func), (gst_pad_proxy_setcaps):
9937 * gst/gstvalue.c: (gst_value_deserialize_string):
9938 * gst/parse/grammar.y:
9939 * gst/schedulers/gstbasicscheduler.c:
9940 (gst_basic_scheduler_cothreaded_chain),
9941 (gst_basic_scheduler_chain_recursive_add),
9942 (gst_basic_scheduler_pad_link):
9943 * gst/schedulers/gstoptimalscheduler.c:
9944 (get_group_schedule_function),
9945 (gst_opt_scheduler_state_transition),
9946 (gst_opt_scheduler_add_element), (element_get_reachables_func):
9947 * libs/gst/bytestream/bytestream.c:
9948 * libs/gst/dataprotocol/dataprotocol.c:
9949 (gst_dp_header_from_buffer):
9952 * tests/threadstate/threadstate2.c: (eos):
9953 * tools/gst-compprep.c: (main):
9954 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9955 (print_pad_info), (print_children_info):
9956 * tools/gst-launch.c: (idle_func), (main):
9957 * tools/gst-md5sum.c: (idle_func), (main):
9958 * tools/gst-xmlinspect.c: (print_element_info):
9959 First THREADED backport attempt, focusing on adding locks and
9960 making sure the API is threadsafe. Needs more work. More docs
9963 2005-02-24 Andy Wingo <wingo@pobox.com>
9965 * tests/bench-complexity.scm:
9966 * tests/complexity.gnuplot: New files, good for running complexity
9969 * tests/Makefile.am:
9970 * tests/complexity.c: New test, sets up N elements, at each level
9971 teeing into M streams per element. Eeeenteresting.
9973 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9974 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9975 running bench-mass_elements.scm.
9977 * tests/bench-mass_elements.scm: New script, runs mass_elements
9978 for various numbers of identities, outputting the results to a
9979 file. Requires guile 1.6. Just for testing.
9981 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9983 * gst/schedulers/fairscheduler.c:
9984 compile with debug disabled
9986 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9989 hunting season on 0.9 is now OPEN