1 2005-10-28 Wim Taymans <wim@fluendo.com>
3 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4 (gst_base_transform_init):
7 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8 An EOS event marks the queue as completely filled.
10 2005-10-27 Wim Taymans <wim@fluendo.com>
12 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18 (gst_base_transform_event), (gst_base_transform_getrange),
19 (gst_base_transform_chain):
20 * gst/base/gstbasetransform.h:
22 Protect transform and concurrent buffer alloc with a new lock.
23 Try not to break ABI/API.
25 2005-10-27 Wim Taymans <wim@fluendo.com>
27 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28 (gst_base_src_init), (gst_base_src_query),
29 (gst_base_src_default_newsegment),
30 (gst_base_src_configure_segment), (gst_base_src_do_seek),
31 (gst_base_src_send_event), (gst_base_src_event_handler),
32 (gst_base_src_pad_get_range), (gst_base_src_loop),
33 (gst_base_src_unlock), (gst_base_src_default_negotiate),
34 (gst_base_src_start), (gst_base_src_deactivate),
35 (gst_base_src_activate_push), (gst_base_src_change_state):
36 Move some stuff around and cleanup things.
38 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
40 * gst/base/gstbasesrc.c: (gst_base_src_query):
41 Add missing break statements.
43 2005-10-27 Wim Taymans <wim@fluendo.com>
45 * check/gst/gstbin.c: (GST_START_TEST):
46 An extra refcount is taken in basesrc.
48 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
49 (gst_base_src_get_range), (gst_base_src_pad_get_range),
51 Small cleanups, check for flushing after being unlocked from the
52 LIVE_LOCK. take refcounts correctly (not yet everywhere).
53 Don't send out EOS when going to READY.
55 2005-10-27 Wim Taymans <wim@fluendo.com>
57 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
58 (gst_base_sink_get_position):
61 * gst/gstbin.c: (message_check), (bin_replace_message),
62 (bin_remove_messages), (is_eos), (gst_bin_add_func),
63 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
64 (bin_query_duration_init), (bin_query_duration_fold),
65 (bin_query_duration_done), (bin_query_generic_fold),
67 * tools/gst-launch.c: (main):
70 2005-10-26 Stefan Kost <ensonic@users.sf.net>
72 * examples/controller/audio-example.c: (main):
73 * examples/queue/queue.c: (event_loop):
74 * gst/base/gstbasetransform.h:
75 * gst/gstelement.c: (gst_element_send_event):
77 * gst/gstpad.c: (gst_pad_send_event):
80 changing log priority in error situations
82 2005-10-25 Wim Taymans <wim@fluendo.com>
84 * gst/gstbin.c: (message_check), (bin_replace_message),
85 (bin_remove_messages), (is_eos), (gst_bin_add_func),
86 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
87 (bin_query_duration_init), (bin_query_duration_fold),
88 (bin_query_duration_done), (bin_query_generic_fold),
90 Some doc and debug updates.
91 Cache previously requested query DURATION for speed. invalidate
92 cached duration if element posts a DURATION message.
94 2005-10-25 Wim Taymans <wim@fluendo.com>
96 * docs/design/part-TODO.txt:
99 * gst/gstbin.c: (message_check), (bin_replace_message),
100 (bin_remove_messages), (is_eos), (gst_bin_add_func),
101 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
102 (bin_query_duration_init), (bin_query_duration_fold),
103 (bin_query_duration_done), (bin_query_generic_fold),
105 Handle SEGMENT_START/DONE messages correctly.
106 More evolved query algorithm that handles duration queries
109 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
110 (gst_element_get_state_func), (gst_element_abort_state),
111 (gst_element_commit_state), (gst_element_lost_state):
117 2005-10-25 Wim Taymans <wim@fluendo.com>
119 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
120 Don't use invalid stream_time.
122 * gst/gstevent.c: (gst_event_new_newsegment):
123 stream_time in newsegment cannot be undefined.
125 2005-10-24 Wim Taymans <wim@fluendo.com>
130 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
132 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
134 2005-10-24 Stefan Kost <ensonic@users.sf.net>
136 * docs/libs/tmpl/gstdparam.sgml:
137 * docs/libs/tmpl/gstdplinint.sgml:
138 * docs/libs/tmpl/gstdpman.sgml:
139 * docs/libs/tmpl/gstdpsmooth.sgml:
140 * docs/libs/tmpl/gstunitconvert.sgml:
143 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
148 === release 0.9.4 ===
150 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
153 releasing 0.9.4, "Tyrannosaurus Rex"
155 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
157 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
158 (gst_file_sink_get_current_offset):
159 Use fseeko() and ftello() if available. When falling back on
160 lseek() to get the current offset, fflush() first to make sure
161 everything is up-to-date and we get the right offset.
163 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
165 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
166 * gst/base/gstbasesrc.c: (gst_base_src_loop):
167 * gst/gsterror.c: (_gst_stream_errors_init):
169 * gst/gstqueue.c: (gst_queue_loop):
171 remove prematurely added error category and clean up the instances
173 2005-10-21 Wim Taymans <wim@fluendo.com>
175 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
176 (gst_base_sink_get_position), (gst_base_sink_query),
177 (gst_base_sink_change_state):
178 Simply set the right flag when going to playing, that's all
179 we need to do instead of calling a function inside the object
180 lock (that could take the lock as well and deadlock)
182 2005-10-21 Wim Taymans <wim@fluendo.com>
184 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
186 Don't warn, the peer element knows what to do best when
187 the seek failed, it might try something else.
189 2005-10-21 Wim Taymans <wim@fluendo.com>
191 * gst/base/gstbasesrc.c: (gst_base_src_init),
192 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
195 2005-10-21 Wim Taymans <wim@fluendo.com>
197 * docs/design/part-segments.txt:
200 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
201 Correctly set caps, even on the subbufer.
203 2005-10-21 Wim Taymans <wim@fluendo.com>
205 * docs/gst/gstreamer-docs.sgml:
206 * docs/gst/gstreamer-sections.txt:
213 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
217 And 2% more doc coverage.
219 2005-10-21 Andy Wingo <wingo@pobox.com>
221 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
224 2005-10-20 Wim Taymans <wim@fluendo.com>
226 * gst/gsterror.c: (gst_error_get_message):
229 * gst/gststructure.c:
234 2005-10-20 Wim Taymans <wim@fluendo.com>
239 Another 1% more coverage.
241 2005-10-20 Wim Taymans <wim@fluendo.com>
243 * docs/gst/gstreamer-sections.txt:
244 * gst/gstelement.c: (gst_element_get_state_func),
245 (gst_element_abort_state), (gst_element_commit_state),
246 (gst_element_lost_state):
248 * gst/gstquery.c: (gst_query_set_position),
249 (gst_query_parse_position), (gst_query_set_duration),
250 (gst_query_parse_duration), (gst_query_new_convert):
252 Yay! 1% more docs coverage.
254 2005-10-20 Wim Taymans <wim@fluendo.com>
257 * gst/gstquery.c: (gst_query_set_position),
258 (gst_query_parse_position), (gst_query_set_duration),
259 (gst_query_parse_duration), (gst_query_new_convert):
261 * gst/gstutils.c: (gst_element_query_convert):
263 Docs and consistency fixes.
265 2005-10-20 Wim Taymans <wim@fluendo.com>
271 2005-10-20 Wim Taymans <wim@fluendo.com>
273 * gst/gstbin.c: (message_check), (bin_replace_message),
274 (bin_remove_messages), (is_eos), (gst_bin_add_func),
275 (update_degree), (gst_bin_sort_iterator_next),
276 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
277 Reworked the message handling a bit, cache the messages instead of
278 only the senders. alows us to do more in the future.
280 2005-10-20 Wim Taymans <wim@fluendo.com>
282 * docs/design/part-TODO.txt:
285 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
286 (gst_base_sink_query):
287 Don't use clock time to report position when in EOS.
289 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
291 * tools/gst-inspect.c: (print_interfaces),
292 (print_element_properties_info), (print_element_info):
293 Fix interface output with gst-inspect -a; don't print
294 newlines after double/float properties.
296 2005-10-20 Wim Taymans <wim@fluendo.com>
298 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
299 (gst_base_sink_query):
300 Speed up current position calculation.
302 * gst/base/gstbasesrc.c: (gst_base_src_query),
303 (gst_base_src_default_newsegment):
304 Correctly set stream position in newsegment.
306 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
307 (update_degree), (gst_bin_sort_iterator_next),
308 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
309 * gst/gstmessage.c: (gst_message_new_custom):
310 Clean up debugging info
312 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
313 (gst_queue_loop), (gst_queue_handle_src_query):
316 2005-10-19 Wim Taymans <wim@fluendo.com>
318 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
319 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
320 Fix query handling again.
322 2005-10-19 Wim Taymans <wim@fluendo.com>
324 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
325 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
326 * gst/base/gstbasesrc.c: (gst_base_src_query):
327 * gst/elements/gstfilesink.c: (gst_file_sink_query):
328 * gst/elements/gsttypefindelement.c:
329 (gst_type_find_handle_src_query), (find_element_get_length),
330 (gst_type_find_element_activate):
333 * gst/gstquery.c: (gst_query_new_position),
334 (gst_query_set_position), (gst_query_parse_position),
335 (gst_query_new_duration), (gst_query_set_duration),
336 (gst_query_parse_duration), (gst_query_set_segment),
337 (gst_query_parse_segment):
339 Bundling query position/duration is not a good idea since duration
340 does not change much and we don't want to recalculate it for every
341 position query, so they are separated again..
342 Base value in segment query is not needed.
344 * gst/gstqueue.c: (gst_queue_handle_src_query):
345 * gst/gstutils.c: (gst_element_query_position),
346 (gst_element_query_duration), (gst_pad_query_position),
347 (gst_pad_query_duration):
349 Updates for query API change.
350 Added some docs here and there.
352 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
354 * check/gst/gstbin.c: (GST_START_TEST):
355 * check/gst/gstghostpad.c: (GST_START_TEST):
356 * check/pipelines/cleanup.c: (GST_START_TEST):
357 wait on thread to die so we can check refcount correctly
359 2005-10-18 Wim Taymans <wim@fluendo.com>
361 * check/pipelines/stress.c: (GST_START_TEST):
362 Make check a little more time consuming.
364 2005-10-18 Wim Taymans <wim@fluendo.com>
367 * check/pipelines/stress.c: (GST_START_TEST),
368 (simple_launch_lines_suite), (main):
369 Small state change torture test.
371 * docs/design/part-states.txt:
372 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
373 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
374 (gst_base_sink_change_state):
375 Never take state lock from streaming thread, clean up ugly
376 hacks. Unfortunatly core does not yet support nice ways to
379 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
381 Start state recalc if a STATE_DIRTY message is posted, but only
384 * gst/gstelement.c: (gst_element_sync_state_with_parent),
385 (gst_element_get_state_func), (gst_element_abort_state),
386 (gst_element_commit_state), (gst_element_lost_state),
387 (gst_element_set_state_func), (gst_element_change_state):
389 State variables are now protected with the LOCK, the state
390 lock is only used to serialize _set_state().
392 2005-10-18 Wim Taymans <wim@fluendo.com>
394 * check/gst/gstbin.c: (GST_START_TEST):
395 * check/gst/gstmessage.c: (GST_START_TEST):
396 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
397 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
399 * gst/gstelement.c: (gst_element_abort_state),
400 (gst_element_commit_state), (gst_element_lost_state):
401 * gst/gstmessage.c: (gst_message_new_state_changed),
402 (gst_message_new_state_dirty), (gst_message_new_segment_start),
403 (gst_message_new_segment_done), (gst_message_new_duration),
404 (gst_message_parse_state_changed),
405 (gst_message_parse_segment_start),
406 (gst_message_parse_segment_done), (gst_message_parse_duration):
408 * tools/gst-launch.c: (event_loop):
409 Seriously, this is better than a previous commit as we only need
410 to notify the fact that an element changed state in a streaming
411 thread, marking the state of the parents dirty, hence the
412 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
415 2005-10-18 Wim Taymans <wim@fluendo.com>
417 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
418 (gst_bin_recalc_func):
419 * gst/gstelement.c: (gst_element_set_clock),
420 (gst_element_abort_state), (gst_element_lost_state):
421 Cleanups, prepare for state change fixes.
423 2005-10-18 Wim Taymans <wim@fluendo.com>
426 * gst/gstelement.c: (gst_element_class_init),
427 (gst_element_set_state), (gst_element_set_state_func):
430 GThreadPool in GstBinClass to monitor async state changes.
431 state_cookie in GstElement to detect concurrent gst/set state.
432 set_state is now virtual too in case a very complicated element
433 has to be constructed.
435 2005-10-18 Wim Taymans <wim@fluendo.com>
437 * check/gst/gstbin.c: (GST_START_TEST):
438 * check/gst/gstmessage.c: (GST_START_TEST):
439 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
440 * gst/gstbin.c: (bin_bus_handler):
441 * gst/gstelement.c: (gst_element_commit_state),
442 (gst_element_lost_state):
443 * gst/gstmessage.c: (gst_message_new_state_changed),
444 (gst_message_new_segment_start), (gst_message_new_segment_done),
445 (gst_message_new_duration), (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 Make messages future proof.
451 state-change gets a flag if it was a message comming from the
453 segment-start/stop can also be specified in other formats.
454 A message to notify an app that a pipeline changed playback
456 Also fix a GstMessage leak in -launch
458 2005-10-18 Andy Wingo <wingo@pobox.com>
460 * gst/gstelement.c (gst_element_dispose): More helpful message.
462 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
464 * gst/gstregistry.c: (gst_registry_scan_path_level):
465 unref a plug-in we get that was already initialized
467 2005-10-18 Stefan Kost <ensonic@users.sf.net>
469 * docs/gst/gstreamer-sections.txt:
470 * docs/libs/gstreamer-libs-sections.txt:
475 2005-10-17 Andy Wingo <wingo@pobox.com>
477 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
480 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
482 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
484 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
485 (gst_element_get_state_func): Better debug message.
486 (gst_element_commit_state): s/INFO/DEBUG/.
487 (gst_element_lost_state, gst_element_change_state):
489 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
490 (gst_message_new_custom): s/INFO/LOG/.
492 2005-10-17 Michael Smith <msmith@fluendo.com>
494 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
495 Check if end time is valid using end time, not start time.
497 2005-10-17 Stefan Kost <ensonic@users.sf.net>
499 * check/gst-libs/controller.c: (GST_START_TEST),
500 (gst_controller_suite):
501 * libs/gst/controller/gstcontroller.c:
502 (gst_controlled_property_set_interpolation_mode):
503 * libs/gst/controller/gstcontroller.h:
504 * libs/gst/controller/gstinterpolation.c:
505 * testsuite/controller/.cvsignore:
506 * testsuite/controller/Makefile.am:
507 * testsuite/controller/interpolator.c:
508 merge controller testsuites
510 remove mem-chunk from docs
512 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
516 * gst/gsttrashstack.c:
517 * gst/gsttrashstack.h:
518 out. get out. you're fired. to the Attic !
520 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
522 * gst/gstcaps.c: (gst_caps_intersect):
523 fix signedness issues in a (hopefully) correct way
524 * gst/gstelement.c: (gst_element_pads_activate):
526 * gst/gstobject.c: (gst_object_set_parent):
529 2005-10-17 Julien MOUTTE <julien@moutte.net>
531 * gst/gstvalue.h: Fix prototypes.
533 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
535 * docs/gst/gstreamer-sections.txt:
536 * gst/gst.c: (gst_version_string):
538 * gst/gstversion.h.in:
539 * win32/common/libgstreamer.def:
540 add gst_version_string ()
542 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
546 * gst/gst.c: (init_post):
547 * win32/common/config.h.in:
549 * gst/gstcaps.c: (gst_caps_intersect):
550 use gint64, the range could be bigger than a guint
552 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
555 document potential problem in 2038
557 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
559 * gst/gstcaps.c: (gst_caps_intersect):
560 Fix guint j diving under 0
562 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
565 * win32/common/config.h:
566 * win32/common/config.h.in:
567 check for process.h, declares getpid() on Windows
569 include process.h if we have it
570 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
572 fix signedness issues
573 * win32/common/libgstreamer.def:
576 2005-10-16 Julien MOUTTE <julien@moutte.net>
578 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
579 fix. Because of unsigned ints, caps intersection was going nuts and
580 trying to access structures with G_MAXUINT index. That fixes
581 videotestsrc ! ffmpegcolorspace ! fakesink
582 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
585 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
588 use the gettext macro
589 * gst/elements/gstelements.c:
591 * gst/indexers/gstindexers.c:
592 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
593 * win32/common/config.h:
595 * win32/common/config.h.in:
596 add the template to generate config.h
597 * win32/common/gstenumtypes.c:
598 * win32/common/gstversion.h:
601 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
603 * gst/gst.c: (gst_version):
604 * gst/gstversion.h.in:
607 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
610 Oops, add missing closing bracket.
612 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
615 use common m4's for argument checking
617 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
619 * docs/gst/gstreamer-sections.txt:
621 Add GST_EVENT_TYPE_NAME() macro.
623 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
626 * gst/gstpluginfeature.c:
628 privatize more symbols
630 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
633 add srcdir, builddir includes to GST_ALL_CFLAGS, since
634 everything that uses GStreamer API should have the includes
636 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
638 * docs/gst/gstreamer-sections.txt:
639 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
641 give each value a _get_type, removes the DATA exports
643 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
647 remove _gst_registry_auto_load, not used anymore
648 * gst/gstbin.c: (gst_bin_get_type):
650 * gst/gstelement.c: (gst_element_get_type):
652 * gst/gstobject.c: (gst_object_get_type):
654 * gst/gstpad.c: (gst_pad_get_type):
656 make _get_type functions similar, fixes data export from library
658 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
661 correctly make conditionals
662 * gst/elements/Makefile.am:
663 * gst/elements/gstelements.c:
664 fix typo causing fdsrc not to build
666 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
668 * testsuite/Makefile.am:
669 * testsuite/bytestream/.cvsignore:
670 * testsuite/bytestream/Makefile.am:
671 * testsuite/bytestream/filepadsink.c:
672 * testsuite/bytestream/gstbstest.c:
673 * testsuite/bytestream/test1.c:
674 * testsuite/bytestream/testfile1:
675 * testsuite/caps/normalisation.c:
676 * testsuite/caps/random.c: (main):
677 * testsuite/cleanup/.cvsignore:
678 * testsuite/cleanup/Makefile.am:
679 * testsuite/cleanup/cleanup1.c:
680 * testsuite/cleanup/cleanup2.c:
681 * testsuite/cleanup/cleanup3.c:
682 * testsuite/cleanup/cleanup4.c:
683 * testsuite/cleanup/cleanup5.c:
684 * testsuite/controller/interpolator.c:
685 * testsuite/debug/printf_extension.c: (main):
686 * testsuite/elements/tee.c:
687 * testsuite/negotiation/.cvsignore:
688 * testsuite/negotiation/Makefile.am:
689 * testsuite/negotiation/pad_link.c:
690 * testsuite/pad/Makefile.am:
691 * testsuite/pad/chainnopull.c:
692 * testsuite/pad/getnopush.c:
693 * testsuite/pad/link.c:
694 * testsuite/refcounting/sched.c: (create_pipeline):
695 * testsuite/registry/Makefile.am:
696 * testsuite/registry/gst-print-formats.c:
697 * testsuite/schedulers/.cvsignore:
698 * testsuite/schedulers/142183-2.c:
699 * testsuite/schedulers/142183.c:
700 * testsuite/schedulers/143777-2.c:
701 * testsuite/schedulers/143777.c:
702 * testsuite/schedulers/147713.c:
703 * testsuite/schedulers/147819.c:
704 * testsuite/schedulers/147894-2.c:
705 * testsuite/schedulers/147894.c:
706 * testsuite/schedulers/Makefile.am:
707 * testsuite/schedulers/group_link.c:
708 * testsuite/schedulers/queue_link.c:
709 * testsuite/schedulers/relink.c:
710 * testsuite/schedulers/unlink.c:
711 * testsuite/schedulers/unref.c:
712 * testsuite/schedulers/useless_iteration.c:
713 * testsuite/states/bin.c:
714 clean out/remove some stuff from the testsuite directories
716 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
719 check for some headers
720 * gst/elements/Makefile.am:
721 * gst/elements/gstelements.c:
722 don't compile fdsrc without sys/socket.h
723 * gst/indexers/Makefile.am:
724 * gst/indexers/gstindexers.c: (plugin_init):
725 don't compile fileindex without mmap
727 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
735 * docs/gst/Makefile.am:
736 * examples/helloworld/Makefile.am:
738 * gst/base/Makefile.am:
739 * gst/check/Makefile.am:
740 * gst/elements/Makefile.am:
741 * gst/indexers/Makefile.am:
742 * gst/parse/Makefile.am:
743 * libs/gst/controller/Makefile.am:
744 * libs/gst/dataprotocol/Makefile.am:
745 * examples/helloworld/helloworld.c: (event_loop):
746 compile fixes, though it's not being compiled currently
748 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
750 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
751 Add some simple tests for the new taglist date API.
753 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
755 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
756 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
757 Beautify 'last-message' output: print 'none' for buffer timestamps
758 and durations if none is set; improve alignment with next messages.
760 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
762 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
763 * gst/gstpluginfeature.h:
764 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
766 * docs/gst/gstreamer-sections.txt:
767 Add new API to check plugin feature version requirements.
769 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
770 Some basic tests for the above.
772 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
774 * gst/gststructure.c: (gst_structure_to_string):
775 guard against NULL printf - happens when for example
776 a message structure with GstClock gets serialized
778 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
780 * gst/base/gstcollectpads.c: (gst_collectpads_event):
781 Fix presumable copy'n'pasto.
783 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
785 * gst/elements/gstfakesrc.h:
786 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
787 * gst/elements/gsttypefindelement.c:
789 * gst/elements/gstfilesink.c: (gst_file_sink_render):
790 I wonder if this could actually write +2GB files before
792 2005-10-13 Andy Wingo <wingo@pobox.com>
794 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
795 Fix Timmeke Waymans bug.
796 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
797 string of the proper length to gst_caps_from_string. There's a
798 potential for, before this fix, that this could cause someone
799 connecting over the network to cause a segfault if the payload is
802 2005-10-13 Stefan Kost <ensonic@users.sf.net>
804 * docs/design/draft-push-pull.txt:
805 * docs/design/part-overview.txt:
806 * docs/random/TODO-pre-0.9:
807 * docs/random/old/ChangeLog.gstreamer:
808 * gst/base/gstpushsrc.c:
812 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
814 * gst/glib-compat.c: (gst_flags_get_first_value):
816 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
817 (gst_value_compare_double), (gst_value_serialize_flags):
818 GLib 2.6 g_flags_get_first_value has a bug that triggers an
821 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
824 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
826 * tools/gst-launch.c: (event_loop):
827 print out clock nicely
829 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
831 * docs/gst/gstreamer-sections.txt:
833 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
834 (gst_tag_list_get_date_index):
835 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
836 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
838 2005-10-13 Julien MOUTTE <julien@moutte.net>
840 * gst/base/gstcollectpads.c: (gst_collectpads_event),
841 (gst_collectpads_chain):
842 * gst/base/gstcollectpads.h: Handle newsegment and store informations
845 2005-10-13 Stefan Kost <ensonic@users.sf.net>
847 * docs/gst/gstreamer-sections.txt:
850 * tools/gst-inspect.c: (main):
851 * tools/gst-launch.c: (main):
852 * tools/gst-run.c: (main):
853 * tools/gst-xmlinspect.c: (main):
854 fix GOption context leaks
857 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
861 * win32/common/config.h:
863 * win32/vs6/grammar.dsp:
864 * win32/vs6/libgstelements.dsp:
865 * win32/vs6/libgstreamer.dsp:
868 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
870 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
871 * gst/base/gstbasesrc.c: (gst_base_src_query):
872 fix more guint64<->gdouble conversions
874 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
877 add win32-update target
878 * win32/common/gstconfig.h:
879 * win32/common/gstenumtypes.c:
880 * win32/common/gstenumtypes.h:
881 * win32/common/gstversion.h:
882 add files that visual studio can't generate
884 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
887 add a win32-update target
890 2005-10-12 Wim Taymans <wim@fluendo.com>
892 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
893 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
894 * gst/gstelement.c: (gst_element_commit_state),
895 (gst_element_set_state):
896 Protect flags with proper lock.
897 unref provided cached clock in dispose.
899 2005-10-12 Stefan Kost <ensonic@users.sf.net>
902 * gst/gstminiobject.h:
904 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
905 removed unused flags from miniobject
908 2005-10-12 Wim Taymans <wim@fluendo.com>
910 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
911 (gst_file_sink_event), (gst_file_sink_render):
912 Flush before seeking.
914 2005-10-12 Andy Wingo <wingo@pobox.com>
916 * gst/gst.c (gst_init_check): Ignore unknown options, as has
917 always been the case.
919 2005-10-12 Stefan Kost <ensonic@users.sf.net>
921 * check/gst/gstbin.c: (GST_START_TEST):
922 * docs/gst/gstreamer-sections.txt:
923 * gst/base/gstbasesink.c: (gst_base_sink_init):
924 * gst/base/gstbasesrc.c: (gst_base_src_init),
925 (gst_base_src_get_range), (gst_base_src_check_get_range),
926 (gst_base_src_start), (gst_base_src_stop):
927 * gst/base/gstbasesrc.h:
928 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
929 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
930 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
934 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
936 * gst/gstelement.c: (gst_element_is_locked_state),
937 (gst_element_set_locked_state), (gst_element_commit_state),
938 (gst_element_set_state):
940 * gst/gstindex.c: (gst_index_init):
942 * gst/gstminiobject.h:
943 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
944 (gst_object_set_parent):
946 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
947 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
949 * gst/gstpadtemplate.h:
950 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
951 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
953 * gst/indexers/gstfileindex.c: (gst_file_index_load),
954 (gst_file_index_commit):
955 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
956 * testsuite/pad/link.c: (gst_test_src_init),
957 (gst_test_filter_init), (gst_test_sink_init):
958 * testsuite/states/locked.c: (main):
959 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
960 moved bitshift from macro to enum definition
962 2005-10-12 Wim Taymans <wim@fluendo.com>
964 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
965 * gst/elements/gstfilesink.c: (gst_file_sink_event),
966 (gst_file_sink_render):
967 Some more debugging info.
969 2005-10-12 Wim Taymans <wim@fluendo.com>
971 * docs/design/part-states.txt:
972 * tools/gst-launch.c: (main):
974 Revert non-intentional change.
976 2005-10-12 Wim Taymans <wim@fluendo.com>
978 * check/gst/gstbin.c: (GST_START_TEST):
979 * check/gst/gstelement.c: (GST_START_TEST):
980 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
981 * check/gst/gstghostpad.c: (GST_START_TEST):
982 * check/gst/gstpipeline.c: (GST_START_TEST):
983 * check/pipelines/simple_launch_lines.c: (run_pipeline):
984 * check/states/sinks.c: (GST_START_TEST):
985 * gst/elements/gsttypefindelement.c: (stop_typefinding):
986 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
987 (gst_bin_remove_func), (gst_bin_get_state_func),
988 (gst_bin_recalc_state), (gst_bin_change_state_func),
990 * gst/gstelement.c: (gst_element_get_state_func),
991 (gst_element_get_state), (gst_element_abort_state),
992 (gst_element_commit_state), (gst_element_set_state),
993 (gst_element_change_state), (gst_element_change_state_func):
995 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
996 (gst_pipeline_provide_clock_func):
997 * gst/gstutils.c: (gst_element_link_pads_filtered):
998 * tools/gst-launch.c: (main):
999 * tools/gst-typefind.c: (main):
1000 Use GstClockTime in _get_state() instead of GTimeVal.
1001 Remove old code in gstutils.c
1003 2005-10-12 Andy Wingo <wingo@pobox.com>
1005 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1008 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1009 there is no task. Shouldn't affect any code, as nothing in our
1010 plugins checks this return value.
1011 (gst_pad_stop_task): Also take the stream lock if the pad has no
1014 2005-10-12 Wim Taymans <wim@fluendo.com>
1016 * gst/gstpad.c: (pre_activate), (post_activate),
1017 (gst_pad_activate_pull), (gst_pad_activate_push):
1018 Cleanup activation code. Reset old state if
1021 2005-10-12 Wim Taymans <wim@fluendo.com>
1023 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1024 (gst_base_sink_change_state):
1025 No need to prerol after receiving EOS.
1027 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1028 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1029 * gst/elements/gstidentity.c: (gst_identity_event):
1030 Print events more verbosely.
1032 2005-10-12 Wim Taymans <wim@fluendo.com>
1034 * check/Makefile.am:
1035 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1036 * check/states/sinks2.c:
1037 Moved sinks2 testcode in sinks check.
1039 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1040 (gst_bin_remove_func), (gst_bin_recalc_state),
1041 (gst_bin_change_state_func), (bin_bus_handler):
1042 Fix potential race condition when _get_state() iterated over an
1043 ASYNC element right before it posted a state completion.
1046 Do proper cast here.
1048 * gst/gstevent.c: (gst_event_new_newsegment),
1049 (gst_event_parse_newsegment):
1050 A playback rate of 0.0 is not allowed.
1052 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1054 * win32/common/config.h:
1055 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1056 (_trewinddir), (_ttelldir), (_tseekdir):
1057 * win32/common/dirent.h:
1058 * win32/common/gtchar.h:
1059 * win32/common/libgstbase.def:
1060 * win32/common/libgstreamer.def:
1061 * win32/vs6/grammar.dsp:
1062 * win32/vs6/gst_inspect.dsp:
1063 * win32/vs6/gst_launch.dsp:
1064 * win32/vs6/gstreamer.dsw:
1065 * win32/vs6/libgstbase.dsp:
1066 * win32/vs6/libgstelements.dsp:
1067 * win32/vs6/libgstreamer.dsp:
1068 Visual Studio 6 project files, and a new common directory.
1071 2005-10-11 Wim Taymans <wim@fluendo.com>
1073 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1074 (gst_base_sink_do_sync), (gst_base_sink_query),
1075 (gst_base_sink_change_state):
1076 * gst/base/gstbasesink.h:
1077 Correctly parse newsegment info.
1079 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1081 * gst/gst.c: (init_post):
1082 split plugin paths correctly
1084 2005-10-11 Wim Taymans <wim@fluendo.com>
1086 * check/gst/gstevent.c: (GST_START_TEST):
1087 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1088 (gst_base_sink_change_state):
1089 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1090 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1091 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1092 * gst/gstevent.c: (gst_event_new_newsegment),
1093 (gst_event_parse_newsegment):
1095 Added extra flag to newsegment for future API freeze.
1096 Updated check and base elements.
1098 2005-10-11 Julien MOUTTE <julien@moutte.net>
1100 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1101 (gst_collectpads_add_pad), (gst_collectpads_pop),
1102 (gst_collectpads_event), (gst_collectpads_chain):
1103 * gst/base/gstcollectpads.h: Handle EOS correctly.
1105 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1107 * tools/gst-launch.c: (main):
1108 more null protecting
1110 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1112 * gst/gst-i18n-lib.h:
1113 check for ENABLE_NLS, not GETTEXT_PACKAGE
1114 * gst/gstregistry.c: (gst_registry_add_plugin),
1115 (gst_registry_scan_path_level),
1116 (_gst_registry_remove_cache_plugins):
1117 protect possibly NULL strings
1118 * gst/parse/types.h:
1119 config.h already included before
1120 * tools/gst-inspect.c: (main):
1121 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1122 check for ENABLE_NLS, not GETTEXT_PACKAGE
1123 * tools/gst-launch.c: (main):
1124 check for ENABLE_NLS, not GETTEXT_PACKAGE
1126 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1129 if we don't have glib, fail before testing 2.8
1130 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1131 fix a leak, should fix plugins-base testsuite
1133 2005-10-11 Andy Wingo <wingo@pobox.com>
1135 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1136 take the mode we're going to as an arg. Go head and set the mode
1137 and flushing flags now, so that if the activate function starts a
1138 thread all the flags will be in the right state.
1139 (post_activate): Renamed also. Just handle making sure streaming
1140 finishes for the deactivation case, and setting the deactivated
1142 (gst_pad_set_active): Complain loudly if deactivation fails.
1143 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1144 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1145 remove the terrible hack.
1147 2005-10-11 Wim Taymans <wim@fluendo.com>
1149 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1150 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1151 (gst_bin_recalc_state), (gst_bin_change_state_func),
1152 (gst_bin_dispose), (bin_bus_handler):
1154 Prepare to make current EOS message queue more generic.
1157 * gst/gstevent.c: (gst_event_new_newsegment),
1158 (gst_event_parse_newsegment):
1160 Rename base to stream_time.
1165 2005-10-11 Wim Taymans <wim@fluendo.com>
1167 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1168 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1169 (gst_bin_change_state_func), (bin_bus_handler):
1171 Work on proper clock selection.
1173 2005-10-11 Edward Hervey <edward@fluendo.com>
1175 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1176 * libs/gst/controller/gstcontroller.h:
1177 Added GList* version of _remove_properties() in order to be able to wrap
1180 2005-10-11 Wim Taymans <wim@fluendo.com>
1182 * docs/design/part-states.txt:
1185 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1186 (gst_bin_change_state_func), (bin_bus_handler):
1187 Doc updates. Don't distribute the same clock over and over again.
1193 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1194 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1195 (gst_pad_send_event):
1197 Make probe emission threadsafe again.
1198 Register quarks and move _get_name() from utils.
1201 * gst/gstpipeline.c: (gst_pipeline_class_init),
1202 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1203 Only redistribute the clock of it changed.
1205 * gst/gstsystemclock.h:
1210 Moved the _flow_get_name() to GstPad.
1212 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1214 * check/gst-libs/gdp.c: (GST_START_TEST):
1215 * check/gst/gstcaps.c: (GST_START_TEST):
1216 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1217 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1218 (gst_dp_packet_from_caps):
1219 fix more valgrind warnings before turning up the heat
1221 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1223 * gst/parse/grammar.y:
1224 some cleanup before the hacking
1226 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1228 * gst/base/gstbasesrc.c: (gst_base_src_query):
1230 * gst/gstutils.c: (gst_guint64_to_gdouble),
1231 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1233 externalize, basesrc uses it
1234 obviously the implementation needs testing
1236 2005-10-10 Wim Taymans <wim@fluendo.com>
1238 * tests/sched/Makefile.am:
1239 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1240 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1242 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1244 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1245 apparently converting from guint64 to double is not implemented
1248 2005-10-10 Wim Taymans <wim@fluendo.com>
1250 * check/Makefile.am:
1251 * check/generic/states.c: (GST_START_TEST):
1252 * check/gst/gstbin.c: (GST_START_TEST):
1253 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1254 * check/states/sinks.c: (GST_START_TEST):
1255 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1257 Check fixes, use API as stated in design docs, remove hacks.
1259 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1260 (gst_base_sink_change_state):
1261 Catch stopping our task while we're shutting down.
1263 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1264 (gst_bin_remove_func), (gst_bin_get_state_func),
1265 (gst_bin_recalc_state), (gst_bin_change_state_func),
1268 * gst/gstelement.c: (gst_element_init),
1269 (gst_element_get_state_func), (gst_element_abort_state),
1270 (gst_element_commit_state), (gst_element_lost_state),
1271 (gst_element_set_state), (gst_element_change_state),
1272 (gst_element_change_state_func):
1274 New state change algorithm (see #318116)
1276 * gst/gstpipeline.c: (gst_pipeline_class_init),
1277 (gst_pipeline_init), (gst_pipeline_set_property),
1278 (gst_pipeline_get_property), (do_pipeline_seek),
1279 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1280 * gst/gstpipeline.h:
1281 Remove crude state change hacks.
1286 * tools/gst-launch.c: (main):
1287 Fixes for state change. Needs some more work to fully use the
1290 2005-10-10 Andy Wingo <wingo@pobox.com>
1292 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1294 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1295 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1298 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1300 * gst/gstiterator.c: (gst_iterator_new):
1301 Fix my previous commit: GTypes passed to gst_iterator_new()
1302 can be fundamental types.
1304 2005-10-10 Wim Taymans <wim@fluendo.com>
1306 * gst/gstelement.c: (gst_element_iterate_pad_list),
1307 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1308 (gst_element_iterate_sink_pads):
1309 Use src/sink pads lists for the respective iterators instead
1312 2005-10-10 Andy Wingo <wingo@pobox.com>
1314 Merged in popt removal + GOption addition patch from Ronald, bug
1317 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1318 GstElement macros around, remove popt-related symbols, add goption
1321 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1323 * docs/gst/Makefile.am:
1324 * docs/libs/Makefile.am: No POPT_CFLAGS.
1326 * examples/manual/Makefile.am:
1327 * docs/manual/basics-init.xml: Doc updates with an example.
1329 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1330 (gst_init), (parse_one_option), (parse_goption_arg):
1331 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1332 bit of hand merging and debugging to get the GOption stuff working
1335 * tests/Makefile.am:
1336 * tools/Makefile.am:
1337 * tools/gst-inspect.c: (main):
1338 * tools/gst-launch.c: (main):
1339 * tools/gst-run.c: (main):
1340 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1342 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1344 * gst/gstiterator.c: (gst_iterator_new):
1345 Add assertions to make sure passed GType is likely to really
1346 be a GType (as the compiler won't catch it if the size and
1347 GType arguments get mixed up, see #318447).
1349 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1351 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1353 * gst/gstbin.c: (gst_bin_iterate_sorted):
1354 Pass GType and size arguments to gst_iterator_new() in the right
1355 order (maybe we should make _new() take the GType as first argument
1356 just like _new_list()?) (#318447).
1359 2005-10-10 Wim Taymans <wim@fluendo.com>
1361 * gst/gstelement.c: (gst_element_finalize):
1362 And free the GStaticRecMutex too
1364 2005-10-10 Andy Wingo <wingo@pobox.com>
1366 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1367 Allocate and free the mutex properly.
1369 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1371 (GstElement): The state_lock is now recursive. Rebuild your
1372 plugins, suckers. Old macros adapted.
1374 * docs/gst/gstreamer-sections.txt: Doc updates.
1377 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1378 (g_static_rec_cond_wait): Ported from state changes patch, while
1379 we wait on bug #317802 to be solved in a well-distributed GLib.
1381 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1382 gst_element_change_state, variable name changes.
1383 (gst_element_change_state): Split out of gst_element_set_state in
1384 preparation for the state change merge. Doesn't pay attention to
1385 the 'transition' argument.
1386 (gst_element_set_state): Updates, hopefully purely cosmetic.
1387 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1389 (gst_element_get_state_func): Renamed from get_state, cosmetic
1392 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1394 * gst/elements/gstelements.c:
1395 * win32/GStreamer.vcproj:
1397 * win32/dirent.c: (_tseekdir):
1398 * win32/gst-inspect.vcproj:
1399 * win32/gst-launch.vcproj:
1400 * win32/gstconfig.h:
1401 * win32/gstelements.vcproj:
1402 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1403 * win32/gstreamer.def:
1405 updates for the win32 build (patch from Sebastien Moutte)
1407 2005-10-10 Andy Wingo <wingo@pobox.com>
1409 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1410 gst_bin_get_state, cleaned up (but no logic changes).
1411 (bin_element_is_sink): Comment updates.
1412 (sink_iterator_filter): Remove needless cast.
1413 (gst_bin_iterate_sinks): Doc update.
1414 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1415 cleaned up (but no logic changes).
1417 * check/states/sinks.c (test_src_sink): Cleanups from the state
1419 (test_livesrc_sink): Sync on the state.
1421 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1422 the state change patch.
1424 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1427 * check/gst/gstbin.c: Merge in some style fixes and additional
1428 checks from Wim's state change patch.
1430 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1432 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1433 (gst_type_find_helper):
1434 Check whether we have the requested data already in our list of
1435 cached buffers before pulling a new buffer; also make the buffer
1436 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1438 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1443 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1444 don't use long long, it's not portable. Replacing with
1445 gint64 seems to work; let's hope no skeletons fall out of the closet.
1447 2005-10-10 Andy Wingo <wingo@pobox.com>
1449 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1451 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1453 * docs/gst/gstreamer-sections.txt:
1458 * gst/gstmessage.c: (gst_message_parse_state_changed):
1461 more docs, fix compilation
1463 2005-10-09 Philippe Khalaf <burger@speedy.org>
1465 Fixed a few forgotten variables on previous commit
1467 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1469 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1470 Fix evil typefind crasher: getrange() might return a short
1471 buffer at the end of a file, but gst_type_find_peek() must
1472 either return the full data as requested or NULL, but
1473 never a short buffer.
1475 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1477 * gst/gstmessage.c: (gst_message_new_state_changed),
1478 (gst_message_parse_state_changed):
1480 don't use "new", it's a C++ keyword
1482 2005-10-08 Wim Taymans <wim@fluendo.com>
1484 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1485 * gst/gstelement.c: (gst_element_post_message):
1486 * gst/gstpipeline.c: (gst_pipeline_change_state):
1487 Small docs and debug updates.
1489 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1491 * docs/gst/gstreamer-sections.txt:
1492 * gst/gstelementfactory.c:
1497 2005-10-08 Wim Taymans <wim@fluendo.com>
1499 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1500 (gst_bin_dispose), (bin_bus_handler):
1501 Fix typos, add comments.
1502 Clear EOS list when going to PAUSED from any direction and do it
1503 in a threadsafe way.
1504 Get base time in a threadsafe way too.
1505 Fix confusing debug in the change_state function.
1506 Various other small cleanups.
1508 * gst/gstelement.c: (gst_element_post_message):
1509 Fix very verbose bus posting code.
1511 * gst/gstpipeline.c: (gst_pipeline_class_init),
1512 (gst_pipeline_set_property), (gst_pipeline_get_property),
1513 (gst_pipeline_change_state):
1514 Small ARG_ -> PROP_ cleanup
1516 2005-10-08 Wim Taymans <wim@fluendo.com>
1518 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1519 Do a less CPU demanding EOS check because we can.
1521 2005-10-08 Wim Taymans <wim@fluendo.com>
1523 * libs/gst/dataprotocol/dataprotocol.c:
1524 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1525 (gst_dp_packet_from_event):
1526 * libs/gst/dataprotocol/dataprotocol.h:
1527 * libs/gst/dataprotocol/dp-private.h:
1528 It's about time we bump the version number.
1529 Since event types don't fit in the guint8 anymore describing
1530 the payload type, make payload type 16 bits wide.
1532 2005-10-08 Wim Taymans <wim@fluendo.com>
1534 * docs/design/part-TODO.txt:
1535 * docs/design/part-clocks.txt:
1536 * docs/design/part-events.txt:
1537 * docs/design/part-gstbin.txt:
1538 * docs/design/part-gstelement.txt:
1539 * docs/design/part-gstpipeline.txt:
1540 * docs/design/part-live-source.txt:
1541 * docs/design/part-messages.txt:
1542 * docs/design/part-overview.txt:
1543 * docs/design/part-states.txt:
1546 2005-10-08 Wim Taymans <wim@fluendo.com>
1550 Fix event quark registration.
1551 Add some space between events so we can insert them in the
1554 2005-10-08 Wim Taymans <wim@fluendo.com>
1556 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1557 (gst_base_sink_handle_buffer):
1564 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1565 (gst_queue_set_property), (gst_queue_get_property):
1567 Remove old unused properties.
1569 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1570 * docs/gst/gstreamer-sections.txt:
1573 * gst/gstminiobject.c:
1574 * gst/gstminiobject.h:
1578 lots of new docs and doc fixes
1580 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1582 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1584 * gst/gstregistry.c: (gst_registry_lookup_locked),
1585 (gst_registry_scan_path_level):
1586 * gst/gstregistryxml.c: (load_plugin):
1587 Only ever load one plugin for a given plugin basename.
1588 This ensures correct overriding of GST_PLUGIN_PATH over
1589 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1590 system installed plugins.
1592 2005-10-08 Wim Taymans <wim@fluendo.com>
1594 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1595 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1596 Prepare for doing QOS.
1598 2005-10-08 Wim Taymans <wim@fluendo.com>
1600 * check/gst/gstbin.c: (GST_START_TEST):
1601 * check/pipelines/cleanup.c: (GST_START_TEST):
1602 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1603 Allow new clock message too.
1605 2005-10-08 Wim Taymans <wim@fluendo.com>
1607 * gst/gstmessage.c: (gst_message_new_error),
1608 (gst_message_new_warning), (gst_message_new_tag),
1609 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1610 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1611 (gst_message_new_segment_start), (gst_message_new_segment_done),
1612 (gst_message_parse_state_changed),
1613 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1614 (gst_message_parse_new_clock):
1616 Also carry the clock in question.
1618 2005-10-08 Wim Taymans <wim@fluendo.com>
1620 * gst/gstmessage.c: (gst_message_new_custom),
1621 (gst_message_new_eos), (gst_message_new_error),
1622 (gst_message_new_warning), (gst_message_new_tag),
1623 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1624 (gst_message_new_new_clock), (gst_message_new_segment_start),
1625 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1626 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1629 Added clock related messages.
1631 * gst/gstpipeline.c: (gst_pipeline_change_state):
1632 Post message when the clock changed.
1634 * tools/gst-launch.c: (event_loop):
1637 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1639 * tools/gst-inspect.c: (print_element_properties_info):
1640 Can't pass NULL strings to g_print() on windows.
1642 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1645 * docs/gst/Makefile.am:
1646 * docs/gst/gstreamer-docs.sgml:
1647 * docs/gst/running.xml:
1648 * docs/version.entities.in:
1649 add a chapter on running GStreamer.
1650 document GST_DEBUG and GST_PLUGIN* env vars
1652 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1657 remove PLUGINS_BUILDDIR stuff
1658 * gst/gst.c: (init_post):
1659 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1661 remove, it was condescending and not needed
1663 2005-10-08 Wim Taymans <wim@fluendo.com>
1665 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1666 (gst_base_sink_handle_object), (gst_base_sink_event),
1667 (gst_base_sink_wait), (gst_base_sink_handle_event),
1668 (gst_base_sink_change_state):
1669 * gst/base/gstbasesink.h:
1670 Repost EOS message while going to PLAYING if still EOS.
1671 Make sure that when receiving a FLUSH_START we don't attempt
1672 to sync on the clock anymore.
1674 2005-10-08 Wim Taymans <wim@fluendo.com>
1676 * tools/gst-launch.c: (event_loop):
1677 Better message printout.
1679 2005-10-08 Wim Taymans <wim@fluendo.com>
1681 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1682 (gst_bin_child_proxy_get_children_count):
1683 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1684 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1685 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1686 (gst_child_proxy_set_valist):
1687 * gst/parse/grammar.y:
1688 Make ChildProxy threadsafe and fix mem leaks.
1690 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1692 * gst/gst.c: (init_post):
1693 debug the GST_PLUGIN_ env vars
1695 2005-10-08 Wim Taymans <wim@fluendo.com>
1697 * check/gst/gstbin.c: (GST_START_TEST):
1698 * check/gst/gstmessage.c: (GST_START_TEST):
1699 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1700 * gst/gstelement.c: (gst_element_commit_state),
1701 (gst_element_lost_state):
1702 * gst/gstmessage.c: (gst_message_new_state_changed),
1703 (gst_message_parse_state_changed):
1705 * tools/gst-launch.c: (event_loop):
1706 Added extra field to STATE_CHANGE message with the pending
1707 state, which will be different from the new state soon.
1709 2005-10-08 Wim Taymans <wim@fluendo.com>
1711 * gst/gstbus.c: (gst_bus_pop):
1713 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1714 Small cleanups and doc updates.
1716 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1718 * gst/gst.c: (init_pre):
1719 * gst/gstbin.c: (gst_bin_add_func):
1720 log distributing clocks and base time
1721 * gst/gstregistry.c: (gst_registry_add_plugin),
1722 (gst_registry_scan_path_level), (gst_registry_scan_path):
1723 clean up the debugging output a little
1724 * gst/gstutils.c: (gst_element_state_get_name):
1725 warn about a memleak (I've actually seen this be used, though
1726 it was probably a bug)
1728 2005-10-07 Wim Taymans <wim@fluendo.com>
1730 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1731 (gst_base_src_init), (gst_base_src_default_newsegment),
1732 (gst_base_src_newsegment), (gst_base_src_do_seek),
1733 (gst_base_src_loop), (gst_base_src_start):
1734 * gst/base/gstbasesrc.h:
1735 Make the newsegment event customizable by subclasses.
1737 2005-10-07 Wim Taymans <wim@fluendo.com>
1739 * gst/gstevent.c: (gst_event_new_buffersize),
1740 (gst_event_parse_buffersize):
1742 New event for future idea.
1744 2005-10-07 Andy Wingo <wingo@pobox.com>
1746 * gst/gstelement.c (gst_element_post_message): Doc update.
1748 * docs/gst/gstreamer-sections.txt: Update.
1750 * gst/gstmessage.c (gst_message_new_application): Made into a
1751 function like honest API calls.
1752 (gst_message_new_element): New message type.
1754 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1756 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1757 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1760 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1761 NO_PREROLL from gst_element_change_state to fall through.
1763 2005-10-07 Wim Taymans <wim@fluendo.com>
1765 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1766 (gst_ghost_pad_do_activate_push):
1767 Activating a ghostpad with no internal pad in push mode
1770 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1773 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1774 Fixes compilation on Windows.
1776 2005-10-07 Michael Smith <msmith@fluendo.com>
1778 * tools/gst-inspect.c:
1779 Print out feature and plugin count at the end when printing out
1782 2005-10-04 Michael Smith <msmith@fluendo.com>
1784 * gst/gsterror.c: (_gst_stream_errors_init):
1785 Add another error string used in a few existing plugins.
1788 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1789 * tools/gst-inspect.c: (print_element_info):
1790 When a feature disappears from a plugin (and the feature exists in
1791 the cached registry file), things went horribly wrong. This isn't a
1792 complete fix, we should actually be removing the 'missing' features
1793 from the features list when we load the actual plugin. That's not
1796 2005-10-04 Johan Dahlin <johan@gnome.org>
1798 * check/gst/gstiterator.c: (GST_START_TEST):
1799 * gst/gstbin.c: (gst_bin_iterate_elements),
1800 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1801 * gst/gstelement.c: (gst_element_iterate_pads):
1802 * gst/gstformat.c: (gst_format_iterate_definitions):
1803 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1804 (gst_iterator_new_list), (gst_iterator_filter):
1805 * gst/gstiterator.h:
1806 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1807 Add a GType to GstIterator, update callsites and tests.
1809 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1811 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1812 give events a chance to be handled by event probes when the pad
1815 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1817 * gst/gstevent.c: (gst_event_type_get_name),
1818 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1820 add string representations for event types
1822 2005-10-06 Wim Taymans <wim@fluendo.com>
1824 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1825 Don't use NULL pointers.
1827 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1829 * gst/gst_private.h:
1833 * gst/gstpluginfeature.c:
1834 widen the debug category in output to fit the biggest one we have
1835 add a bus category and use it
1836 play with the colors
1837 fix up some categories
1839 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1841 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
1842 add push activation of sink ghost pads.
1843 Andye, please verify
1845 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1847 * gst/gstutils.c: (gst_element_link_pads):
1848 fix a bug in the case where neither element has a pad
1849 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1850 add a test for that case
1852 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1854 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
1855 emit have-data before checking for peers. This allows
1856 for probe handlers to connect elements. This helps autopluggers.
1857 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
1859 add six checks, linked/unlinked with no/true/false probe
1861 2005-10-04 Wim Taymans <wim@fluendo.com>
1863 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
1864 (gst_fake_sink_event), (gst_fake_sink_preroll),
1865 (gst_fake_sink_render), (gst_fake_sink_change_state):
1866 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
1867 (gst_fake_src_get_property), (gst_fake_src_create),
1868 (gst_fake_src_stop):
1869 * gst/elements/gstidentity.c: (gst_identity_stop):
1870 Protect last_message with lock.
1872 2005-10-04 Edward Hervey <edward@fluendo.com>
1875 Added precision in the comments for GST_FORMAT_DEFAULT
1877 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
1879 * tools/gst-launch.c: (main):
1880 Don't try to run erroneous pipelines.
1882 2005-10-04 Julien MOUTTE <julien@moutte.net>
1884 * gst/gstbus.c: We don't need this header.
1886 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1891 === release 0.9.3 ===
1893 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1897 Releasing 0.9.3, "Unregistered"
1899 2005-10-03 Andy Wingo <wingo@pobox.com>
1901 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
1902 whereby calling a pad's activatepush() function can start a thread
1903 that starts to push or pull before the pad gets the FLUSHING flag
1904 unset. Hack around it by holding the stream lock until the flag is
1905 set. Need to replace this with a proper solution. Together with
1906 the ghost pad fixes, this fixes mp3 playing/tagreading.
1908 * docs/design/part-gstghostpad.txt: Add a note about activation of
1909 proxy pads outside of ghost pads.
1911 * gst/gstghostpad.c: Implement the ghost pad activation design.
1913 2005-10-02 Andy Wingo <wingo@pobox.com>
1915 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1916 It is volatile, after all.
1918 * docs/design/part-gstghostpad.txt: Flesh out activation with
1921 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1924 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1927 Fix (unused) AM_CONDITIONAL tests.
1929 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1931 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1933 * gst/gstutils.c: (gst_pad_query_convert):
1934 Add assertion that makes sure src_val is >=0, just like
1935 gst_query_new_convert() has. (#315895)
1937 2005-09-30 Edward Hervey <edward@fluendo.com>
1939 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1940 Let's not iterate pads we're not interested in, it avoids getting
1941 sky-high refcounts on sinkpad.
1943 2005-09-30 Wim Taymans <wim@fluendo.com>
1945 * gst/gstelement.c: (gst_element_set_state),
1946 (gst_element_change_state):
1947 Small tweak, element in ASYNC remains ASYNC.
1949 2005-09-30 Wim Taymans <wim@fluendo.com>
1951 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1952 Only error is an error.
1954 * gst/gstbin.c: (gst_bin_change_state):
1957 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1958 Also call pad_block in pad alloc.
1960 * gst/gstutils.c: (gst_flow_get_name):
1963 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1965 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1966 (gst_base_src_get_range):
1967 Fix documentation typos. Add some more debug info.
1969 2005-09-29 David Schleef <ds@schleef.org>
1971 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
1972 more end-user friendly.
1973 * tools/gst-inspect.c: (main): Check if command-line argument is
1974 a file and attempt to load that file as a plugin.
1976 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1978 * check/gst/gstbin.c:
1979 * check/states/sinks.c:
1980 fix tests for the new warning
1981 * check/gst/gstpipeline.c:
1982 add a test for pipeline and bus interaction
1984 elements should be NULL if they get disposed; add a warning if not
1986 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1989 for 2.6 refcounting, make debug log more correct by printing
1990 the actual refcounts at the time of swap (Wim)
1992 2005-09-29 Andy Wingo <wingo@pobox.com>
1994 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
1995 removes signal watches previously added via
1996 gst_bus_add_signal_watch.
1997 (gst_bus_add_signal_watch): Don't return the source id, just store
1998 it on the bus if there wasn't an id already.
2000 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2001 add_signal_watch and remove_signal_watch.
2003 2005-09-29 Edward Hervey <edward@fluendo.com>
2005 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2006 Better if we actually iterate the list :)
2008 2005-09-29 Wim Taymans <wim@fluendo.com>
2010 * check/gst/gstbin.c: (GST_START_TEST):
2011 Change for new bus API.
2013 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2014 (send_messages), (GST_START_TEST), (gstbus_suite):
2015 Change for new bus signal API.
2017 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2018 (gst_bus_source_prepare), (gst_bus_source_check),
2019 (gst_bus_create_watch), (gst_bus_add_watch_full),
2020 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2021 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2023 Remove support for multiple GSources operating on different
2024 message types as it is too complex and unneeded when using
2026 Added support for receiving signals from the bus.
2028 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2030 * docs/libs/tmpl/gstdataprotocol.sgml:
2031 * docs/manual/advanced-dataaccess.xml:
2032 * gst/elements/gstcapsfilter.c:
2034 rename filter-caps to caps property
2036 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2038 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2039 More robust fraction string parsing.
2041 * docs/pwg/appendix-porting.xml:
2042 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2044 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2046 * gst/gstcaps.c: (gst_caps_do_simplify):
2047 Thou shalt not free a structure and then continue using it
2048 in the next loop iteration.
2050 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2052 Add test case for caps simplification.
2054 2005-09-29 Wim Taymans <wim@fluendo.com>
2056 * check/gst/gstbin.c: (GST_START_TEST):
2059 2005-09-29 Wim Taymans <wim@fluendo.com>
2061 * check/gst/gstbin.c: (GST_START_TEST):
2064 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2065 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2066 (find_element), (gst_bin_sort_iterator_next),
2067 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2068 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2069 (gst_bin_change_state), (gst_bin_dispose):
2070 A bin does not have a bus, it gets the bus from the parent.
2072 * gst/gstelement.c: (gst_element_requires_clock),
2073 (gst_element_provides_clock), (gst_element_is_indexable),
2074 (gst_element_is_locked_state), (gst_element_change_state),
2075 (gst_element_set_bus_func):
2078 * gst/gstpipeline.c: (gst_pipeline_class_init),
2079 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2080 The pipeline provides a bus.
2082 2005-09-28 Johan Dahlin <johan@gnome.org>
2084 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2085 gst_structure_get_enum instead of gst_structure_get_int
2087 * gst/gststructure.c (gst_structure_get_enum): Impl.
2089 * gst/gststructure.h (gst_structure_get_enum): Add
2091 * docs/gst/gstreamer-sections.txt: Ditto
2093 * gst/gstmessage.c (gst_message_new_state_changed): Use
2094 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2095 which does introspection.
2096 Reviewed by Christian Schaller
2098 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2100 * gst/gstinfo.c: (gst_debug_log_default):
2101 don't do dummy g_strdup()s
2102 * libs/gst/controller/gstcontroller.c:
2103 (on_object_controlled_property_changed),
2104 (gst_controlled_property_new), (gst_controller_new_valist),
2105 (gst_controller_new_list),
2106 (gst_controller_remove_properties_valist), (gst_controller_set),
2107 (gst_controller_get), (gst_controller_sync_values),
2108 (gst_controller_get_value_array), (_gst_controller_class_init),
2109 (gst_controller_get_type):
2110 * libs/gst/controller/gstcontroller.h:
2111 * libs/gst/controller/gstinterpolation.c:
2112 (gst_controlled_property_find_timed_value_node):
2113 convert // to /**/ comments
2115 2005-09-28 Wim Taymans <wim@fluendo.com>
2117 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2118 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2119 (gst_bus_sync_signal_handler):
2121 Added async-message and sync-message signals to the bus.
2122 Added helper BusFunc to emit signals for all posted messages.
2124 * gst/gstmessage.c: (gst_message_type_get_name),
2125 (gst_message_type_to_quark), (gst_message_get_type):
2127 Register quarks for message names.
2129 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2131 * docs/libs/gstreamer-libs-sections.txt:
2132 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2133 (gst_controller_new_list):
2134 * libs/gst/controller/gstcontroller.h:
2135 added another constructor for language bindings
2137 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2139 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2143 * gst/gstinfo.c: (_gst_debug_init):
2144 slightly more readable color for refcount debugging
2146 2005-09-28 Wim Taymans <wim@fluendo.com>
2148 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2149 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2150 (find_element), (gst_bin_sort_iterator_next),
2151 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2152 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2153 (gst_bin_change_state), (gst_bin_dispose):
2154 Small doc fixes. get_clock -> provide_clock.
2156 * gst/gstelement.c: (gst_element_class_init),
2157 (gst_element_provides_clock), (gst_element_provide_clock),
2158 (gst_element_get_clock), (gst_element_commit_state),
2159 (gst_element_lost_state):
2161 Make get/set_clock() symetric. Add provide_clock vmethod since
2162 that is actually what this function does.
2164 * gst/gstpipeline.c: (gst_pipeline_class_init),
2165 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2166 (gst_pipeline_get_clock):
2167 get_clock -> provide_clock.
2169 2005-09-28 Andy Wingo <wingo@pobox.com>
2171 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2172 lieu of real docs...
2174 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2176 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2178 * gst/elements/gstcapsfilter.c:
2179 * gst/elements/gstfakesink.c:
2180 * gst/elements/gstfakesrc.c:
2181 * gst/elements/gstfdsink.c:
2182 * gst/elements/gstfdsrc.c:
2183 * gst/elements/gstfilesink.c:
2184 * gst/elements/gstfilesrc.c:
2185 * gst/elements/gstidentity.c:
2186 * gst/elements/gsttee.c:
2187 * gst/elements/gsttypefindelement.c:
2188 Make element details static.
2190 2005-09-28 Wim Taymans <wim@fluendo.com>
2192 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2193 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2194 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2195 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2196 (gst_bin_change_state), (gst_bin_dispose):
2197 Some documentation updates.
2198 Clean up dispose handlers.
2200 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2201 * gst/gstpad.c: (gst_pad_dispose):
2202 Clean up dispose handler.
2204 * gst/gstpipeline.c: (gst_pipeline_change_state):
2205 Removed spurious UNLOCK.
2207 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2209 * docs/gst/gstreamer-sections.txt:
2210 * gst/base/gstbasesrc.h:
2215 * gst/gstpipeline.c:
2216 * gst/gstpipeline.h:
2219 added two new functions to the docs
2220 documents all undocumented GstXXXFlags
2221 completed some incomplete docs
2223 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2225 * gst/gstbin.c: (gst_bin_dispose):
2226 * gst/gstelement.c: (gst_element_dispose):
2227 remove now useless and leaky resurrection code in dispose
2228 * gst/base/gstbasesrc.c: (gst_base_src_init):
2229 * gst/gstelementfactory.c: (gst_element_factory_create):
2230 * gst/gstobject.c: (gst_object_set_parent):
2233 2005-09-27 Wim Taymans <wim@fluendo.com>
2235 * docs/design/part-TODO.txt:
2238 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2239 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2240 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2241 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2242 (gst_bin_change_state):
2244 Remove element variable, we keep element info in the iterator now.
2246 2005-09-27 Andy Wingo <wingo@pobox.com>
2248 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2251 2005-09-27 Wim Taymans <wim@fluendo.com>
2253 * check/gst/gstbin.c: (GST_START_TEST):
2254 Enable check that works now.
2256 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2257 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2258 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2259 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2260 (gst_bin_change_state):
2262 Redid the state change algorithm using a topological sort algo.
2263 Handles all cases correctly.
2264 Exposed iterator for state change order.
2267 Temp storage for state changes. Need to get rid of this soon.
2269 2005-09-27 Wim Taymans <wim@fluendo.com>
2271 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2272 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2273 (link_fold_func), (gst_pad_proxy_setcaps):
2274 Leak fixes, the fold functions need to unref the passed object and
2275 _get_parent_*() returns ref to parent.
2277 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2279 * check/gst/gstbuffer.c: (test_make_writable):
2280 Plug leak in test case and fix 'make check-valgrind'
2282 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2284 * gst/gstbuffer.c: (gst_subbuffer_init):
2285 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2286 works correctly in all circumstances (we could have just copied
2287 the parent buffer's readonly flag, but conceptually it seems
2288 cleaner to mark all subbuffers as read-only). (based on patch
2289 by Alessandro Decina, #314710).
2291 * check/gst/gstbuffer.c: (create_read_only_buffer),
2292 (test_make_writable), (test_subbuffer_make_writable),
2294 Add some tests for gst_buffer_make_writable().
2296 2005-09-27 Wim Taymans <wim@fluendo.com>
2298 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2299 use gst_object_has_ancestor().
2301 * gst/gstobject.c: (gst_object_has_ancestor):
2303 gst_object_has_ancestor() copied from gstbin.c as it is a
2306 * tests/instantiate/create.c: (create_all_elements):
2307 * tests/lat.c: (handoff_src), (handoff_sink):
2308 * tests/sched/runxml.c: (main):
2309 * tests/seeking/seeking1.c: (main):
2310 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2312 Fix compilation of some tests.
2314 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2317 Remove comment. GST_TYPE_G_ERROR is here to stay,
2318 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2321 2005-09-26 Wim Taymans <wim@fluendo.com>
2323 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2324 Added check that shows error in state change order.
2326 2005-09-26 Wim Taymans <wim@fluendo.com>
2328 * gst/gstbin.c: (gst_bin_change_state):
2329 Make state change function use 3 queues again, we were
2330 adding elements in the wrong order.
2332 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2335 * gst/gstpad.c: (gst_pad_dispose):
2336 Added some debug info first.
2338 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2340 * docs/design/draft-push-pull.txt:
2341 * docs/design/part-events.txt:
2342 * docs/design/part-overview.txt:
2343 * docs/design/part-scheduling.txt:
2344 Replace all _pull_region() with _pull_range()
2346 2005-09-26 Andy Wingo <wingo@pobox.com>
2348 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2350 * check/gst-libs/controller.c: Update for controller api change.
2353 * tests/Makefile.am:
2354 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2355 over by GLib bug 118439.
2357 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2358 routines to a function.
2360 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2362 * libs/gst/controller/gsthelper.c:
2363 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2364 (gst_object_sync_values): Renamed from sink_values. Ugh.
2366 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2368 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2369 Renamed from controller_key, as it is exported.
2371 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2373 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2378 * gst/gstpadtemplate.h:
2381 * gst/gstqueryutils.c:
2382 * gst/gstqueryutils.h:
2383 remove queryutils headers after moving the two used functions
2384 to gstquery. also fixes build problem for gstsiddec
2386 2005-09-26 Michael Smith <msmith@fluendo.com>
2388 * tools/gst-launch.1.in:
2389 Correct documentation in manpage of debug syntax
2391 2005-09-26 Wim Taymans <wim@fluendo.com>
2393 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2394 (gst_base_src_is_seekable), (gst_base_src_change_state):
2395 Some more debugging info.
2397 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2399 * docs/gst/gstreamer-sections.txt:
2400 * gst/base/gstbasetransform.h:
2404 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2406 * docs/gst/.cvsignore:
2407 * docs/gst/tmpl/.cvsignore:
2408 * docs/gst/tmpl/gstpipeline.sgml:
2409 * docs/gst/tmpl/gstplugin.sgml:
2410 * gst/gstpipeline.c:
2413 inlined the last two docs files
2414 removed the tmpl directory from cvs (no more conflicts here!)
2416 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2418 * docs/gst/gstreamer-sections.txt:
2419 * docs/gst/tmpl/.cvsignore:
2420 * docs/gst/tmpl/gstpad.sgml:
2421 * docs/gst/tmpl/gstpadtemplate.sgml:
2423 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2424 (gst_pad_finalize), (gst_pad_set_pad_template):
2426 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2427 (gst_pad_template_class_init), (gst_pad_template_init),
2428 (gst_pad_template_dispose), (name_is_valid),
2429 (gst_static_pad_template_get), (gst_pad_template_new),
2430 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2431 (gst_pad_template_pad_created):
2432 * gst/gstpadtemplate.h:
2433 inlined two more docs
2434 factored gstpadtemplate out of gstpad
2436 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2438 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2439 (test_children_state_change_order_semi_sink):
2440 Fix test case: we can't rely on a fixed state change order when
2441 going from READY => PAUSED because the sink might commit its
2442 new state first when the first buffer created by the source
2443 reaches the sink before the source has finished its change state.
2444 (Test case still fails at times, see #316856, comment 5 onwards)
2446 2005-09-24 Wim Taymans <wim@fluendo.com>
2448 * docs/design/part-events.txt:
2449 * docs/design/part-gstbus.txt:
2450 * docs/design/part-gstpipeline.txt:
2451 * docs/design/part-messages.txt:
2452 * docs/design/part-overview.txt:
2453 * docs/design/part-segments.txt:
2460 * gst/gstiterator.c:
2461 Various documentation updates.
2463 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2466 Well, that's embarassing. Luckily we weren't using
2467 GST_CLOCK_DIFF anywhere.
2469 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2471 * common/gtk-doc.mak:
2472 don't fail on building XML, FC4 slave shows a bunch of doc
2473 missing bits that I don't get
2475 * gst/gstpipeline.c:
2476 * gst/gststructure.c:
2479 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2481 * docs/design/part-gstbin.txt:
2482 * docs/design/part-gstbus.txt:
2484 Add blurb about how the bus goes into flushing mode and
2485 drops all messages when its bin goes from READY into NULL
2488 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2490 * docs/gst/gstreamer-sections.txt:
2491 * gst/gststructure.c: (gst_structure_get_clock_time):
2492 * gst/gststructure.h:
2493 add a method to get a GstClockTime out of a structure
2495 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2497 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2498 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2499 Added test to check state change order in bins (can still be made
2500 to fail here under heavy disk load; bails out with 'Push on pad
2501 fakesink:sink0, but it was not activated in push mode').
2503 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2504 Fix state change order when there is only a semi sink (#316856)
2506 * gst/gstbus.c: (gst_bus_class_init):
2507 Use _class_peek_parent(), not _class_ref(); fix docs to say
2508 'default main context' instead of 'mainloop' where that is
2511 * gst/gstelement.c: (gst_element_commit_state),
2512 (gst_element_set_state):
2513 Fix typos in debug messages
2515 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2518 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2519 * gst/gstpluginfeature.c:
2522 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2523 change an assert into an error until it gets fixed properly
2525 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2527 * docs/gst/gstreamer-sections.txt:
2528 * docs/gst/tmpl/.cvsignore:
2529 * docs/gst/tmpl/gstelement.sgml:
2530 * docs/gst/tmpl/gstinfo.sgml:
2531 * docs/gst/tmpl/gstobject.sgml:
2536 * gst/gstobject.c: (gst_object_class_init):
2538 inlined 3 more biiiig doc files and added some missing docs on the fly
2540 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2542 * check/gst/.cvsignore:
2543 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2544 * gst/gstregistryxml.c: (load_plugin),
2545 (gst_registry_xml_save_plugin):
2546 put back source in registry. add checks for find_plugin.
2547 * testsuite/states/bin.c: (assert_state), (empty_bin),
2548 (test_adding_one_element), (main):
2549 * testsuite/states/locked.c: (main):
2550 some compile/run fixes
2552 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2554 * check/gst/gstvalue.c: (GST_START_TEST):
2555 fix leaks in the test itself
2557 2005-09-22 Wim Taymans <wim@fluendo.com>
2559 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2560 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2561 (gst_base_sink_query):
2562 Prepare for more accurate position reporting and query
2565 * gst/gstelement.c: (gst_element_send_event),
2566 (gst_element_set_state):
2569 2005-09-22 Wim Taymans <wim@fluendo.com>
2571 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2572 (gst_query_parse_segment):
2575 Add segment query for future use.
2577 2005-09-22 Wim Taymans <wim@fluendo.com>
2579 * gst/gstbin.c: (gst_bin_add_func):
2580 Some more debug info.
2582 * gst/gstelement.c: (gst_element_send_event):
2586 Don't know how flags got broken.
2591 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2593 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2594 Add simplistic test suite for GST_TYPE_DATE serialisation and
2597 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2599 * docs/gst/gstreamer-sections.txt:
2600 * gst/gststructure.c: (gst_structure_set_valist),
2601 (gst_structure_get_date):
2602 * gst/gststructure.h:
2603 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2604 (gst_date_copy), (gst_value_compare_date),
2605 (gst_value_serialize_date), (gst_value_deserialize_date),
2606 (gst_value_transform_date_string),
2607 (gst_value_transform_string_date), (_gst_value_initialize):
2609 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2610 bunch of utility functions along with a hack that checks that
2611 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2612 is required. Part of the grand scheme in #170777.
2614 2005-09-22 Andy Wingo <wingo@pobox.com>
2616 * gst/gstconfig.h.in: Psych out gtk-doc.
2618 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2620 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2622 * tools/gst-inspect.c (print_element_list): Plug some
2623 inconsequential leaks.
2625 * gst/gstregistry.c (gst_registry_get_default): Doc.
2627 * check/gst/gstplugin.c:
2628 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2629 * gst/gstelementfactory.c (gst_element_factory_create):
2630 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2633 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2634 (gst_plugin_feature_load): Doc, don't eat refs.
2636 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2637 (gst_plugin_list_free): Doc.
2638 (gst_plugin_load_file): Doc updates.
2640 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2641 accessors returning refcounted objects, return a ref.
2643 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2644 accessor for caps. IDEMPOTENCE. Oh yes.
2646 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2648 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2650 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2651 (_gst_debug_register_funcptr):
2652 Add mutex to serialise access to the hash table with
2653 the function pointer => function name string mapping;
2654 make that hash table static scope (#316809).
2656 * gst/registries/.cvsignore:
2657 Remove left-over file.
2659 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2661 * docs/pwg/appendix-porting.xml:
2662 And something about newsegment events and caps-on-buffers to
2663 the porting guide (feel free to improve).
2665 2005-09-21 Andy Wingo <wingo@pobox.com>
2667 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2668 data and event probes on the same pad.
2669 (test_buffer_probe_once): Test that removing probes from within
2670 the probe functions works.
2672 2005-09-21 Andy Wingo <wingo@pobox.com>
2674 * check/gst/gstutils.c: New file.
2675 (test_buffer_probe_n_times): A simple buffer probe test. More to
2678 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2679 have-data::buffer, not have-data.
2680 (gst_pad_add_event_probe): Likewise for have-data::event.
2681 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2682 peer' isn't quite right yet though.
2683 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2684 (gst_pad_remove_data_probe): Change to take the guint handler_id
2685 as their arg, not the function+data, which is more glib-like.
2687 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2688 the signal emission to indicate if the data is a buffer or an
2690 (gst_pad_get_type): Initialize buffer and event quarks.
2691 (gst_pad_class_init): have-data is now a detailed signal, yes it
2694 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2696 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2697 * gst/gstutils.c: (gst_util_set_value_from_string),
2698 (gst_util_set_object_arg):
2699 Don't put functional code in g_return_if_fail() or
2700 g_return_val_if_fail() statements, otherwise things will
2701 break when G_DISABLE_CHECKS is defined during compilation.
2703 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2705 * docs/gst/tmpl/.cvsignore:
2706 * docs/gst/tmpl/gstvalue.sgml:
2709 inlied another one and added some obvious docs
2711 2005-09-21 Wim Taymans <wim@fluendo.com>
2713 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2714 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2715 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2716 (gst_fdsrc_get_property), (gst_fdsrc_create):
2717 * gst/elements/gstfdsrc.h:
2718 Properly implement fdsrc. Removed signal and timeout,
2719 better implemented somewhere else.
2721 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2723 * docs/gst/tmpl/.cvsignore:
2724 * docs/gst/tmpl/gstimplementsinterface.sgml:
2725 * gst/gstinterface.c:
2728 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2730 * docs/gst/gstreamer-sections.txt:
2731 * docs/gst/tmpl/.cvsignore:
2732 * docs/gst/tmpl/gstenumtypes.sgml:
2733 remove obsolete doc file
2735 2005-09-21 David Schleef <ds@schleef.org>
2737 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2738 little beer, fix a little leak.
2740 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2742 * docs/gst/gstreamer-docs.sgml:
2743 * docs/gst/gstreamer-sections.txt:
2744 * docs/gst/tmpl/.cvsignore:
2749 * gst/gstindex.c: (gst_index_class_init):
2751 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2752 (gst_index_factory_class_init), (gst_index_factory_init),
2753 (gst_index_factory_finalize), (gst_index_factory_new),
2754 (gst_index_factory_destroy), (gst_index_factory_find),
2755 (gst_index_factory_create), (gst_index_factory_make):
2756 * gst/gstindexfactory.h:
2757 * gst/gstpluginfeature.c:
2758 * gst/gstpluginfeature.h:
2759 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2760 more docs inlined, splitted gstindex.{c,h}
2762 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2764 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2767 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2769 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2770 Set sync to FALSE by default.
2772 2005-09-20 Wim Taymans <wim@fluendo.com>
2774 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2775 (gst_base_sink_init):
2776 Make sync property settable from subclass.
2778 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2779 (gst_fake_sink_change_state):
2780 Set sync to FALSE by default.
2782 2005-09-20 Wim Taymans <wim@fluendo.com>
2784 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2785 * tools/gst-launch.c: (main):
2786 The timeout handler should have lower priority than the source
2787 so we don't timeout before popping a message with 0 timeout.
2788 Dump error messages after failed state change.
2790 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2792 * tools/gst-inspect.c: (print_element_properties_info):
2795 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2797 * check/gst/gstevent.c:
2798 * gst/elements/gstfakesink.c:
2799 * gst/elements/gstfakesink.h:
2800 remove the sync property from fakesink.
2801 has the side effect of setting sync TRUE
2802 for fakesink, which is a change. Anyone who knows how
2803 to fix this nicely in a GObject-y way, feel free.
2805 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2807 * docs/gst/gstreamer-docs.sgml:
2808 remove probe refsection
2810 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2812 * check/Makefile.am:
2813 disable valgrinding the controller test again
2814 * docs/gst/gstreamer-sections.txt:
2815 update for api-changes
2817 2005-09-20 Wim Taymans <wim@fluendo.com>
2819 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2820 (gst_base_sink_set_property), (gst_base_sink_get_property),
2821 (gst_base_sink_do_sync):
2822 * gst/base/gstbasesink.h:
2823 Added sync property to basesink to disable clock sync.
2825 2005-09-20 Andy Wingo <wingo@pobox.com>
2827 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2828 eating the caller's refcount.
2830 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2831 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2834 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2835 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2836 of GLib 2.8 public, so we can know which refcount to check in
2839 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
2840 (gst_object_init): Only set the gst refcount if we're going ahead
2841 with the refcount hack.
2843 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2845 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2846 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2847 more leaks plumbed, added more debug-logging
2851 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2854 remove include of gstmemchunk.h
2856 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2858 * gst/gstclock.c: (_gst_clock_id_free):
2859 Commit from the Political Party For More Atomic CVS Commits,
2860 so that people don't waste too much of their day fishing
2861 out obvious leaks out of massive commits.
2862 Oh, and fix a pretty damn obvious leak in the memchunk
2865 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2867 * check/Makefile.am:
2868 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2869 plug mem-leak, re-add to valgrindable tests
2871 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2874 unbreak the build for those who have chronic arthritis
2875 and typing "make check" is just too taxing on the hands
2877 2005-09-20 Andy Wingo <wingo@pobox.com>
2879 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
2880 really want it out, you should fix plugins at the same time.
2882 2005-09-19 Stefan Kost <ensonic@users.sf.net>
2885 * docs/gst/gstreamer-sections.txt:
2887 added missing symbols to api docs
2888 disable ref-count hack if we have glib >= 2.8
2890 2005-09-19 David Schleef <ds@schleef.org>
2892 * docs/gst/Makefile.am: Ignore a few more internal headers
2893 * docs/gst/gstreamer-docs.sgml: Remove old sections
2894 * docs/gst/gstreamer-sections.txt: Remove old sections
2895 * docs/gst/tmpl/gstobject.sgml: update
2896 * docs/gst/tmpl/gstplugin.sgml: update
2897 * docs/gst/tmpl/gstpluginfeature.sgml: update
2898 * docs/random/ds/0.9-suggested-changes: update.
2899 * gst/Makefile.am: remove memchunk and trashstack, since they're
2901 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
2902 * gst/gst.h: don't include some headers
2903 * gst/gstchildproxy.c: add gstmarshal.h
2904 * gst/gstclock.c: Don't use memchunks
2905 * gst/gstminiobject.c: Add some docs
2906 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2907 * gst/gstobject.h: same
2908 * gst/gstplugin.c: include gstmacros.h
2909 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2910 * gst/gstquery.c: don't use memchunks
2911 * gst/gstregistry.c: rename gst_registry_deinit()
2912 * gst/gstregistry.h: same
2914 2005-09-19 David Schleef <ds@schleef.org>
2916 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2917 * docs/libs/gstreamer-libs-sections.txt:
2918 * docs/libs/tmpl/gstgetbits.sgml:
2919 * docs/libs/tmpl/gstputbits.sgml:
2921 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2923 * win32/gstenumtypes.c:
2924 * win32/gstenumtypes.h:
2927 2005-09-19 Wim Taymans <wim@fluendo.com>
2929 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2930 Automatically PAUSE and RESUME a pipeline when a flushing seek
2933 2005-09-19 Andy Wingo <wingo@pobox.com>
2935 * gst/gstregistry.h: Spacing fixen.
2937 2005-09-19 Wim Taymans <wim@fluendo.com>
2939 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2940 Handle state change failure more correctly.
2942 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2944 * check/Makefile.am:
2945 * check/pipelines/cleanup.c: (run_pipeline):
2946 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2948 enable cleanup again after fixing the leak
2950 some more info on docs
2952 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2954 * check/Makefile.am:
2955 re-enable tests now that leaks are plugged
2957 * check/gst/gstbin.c:
2958 * check/gst/gstpipeline.c:
2959 add some more tests while fixing leaks
2961 make sure binaries are uptodate when valgrinding/gdbing
2963 * gst/gstelementfactory.c:
2964 remove a ref too many, and add a FIXME for when we get
2965 round to disposing of classes
2967 fix the refcounting when loading a plugin from a file and
2968 the code pretends that the pointer is the same even though
2969 of course it can change
2970 * gst/gstpluginfeature.c:
2971 unref plugins marked cached (a bit confusing as a name)
2972 as the docs state should be done
2973 various doc additions to explain refcounting
2974 * gst/gstregistry.c:
2975 * gst/gstregistryxml.c:
2978 2005-09-19 Wim Taymans <wim@fluendo.com>
2980 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2981 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2982 (send_messages), (GST_START_TEST), (gstbus_suite):
2983 * check/gst/gstpipeline.c: (GST_START_TEST):
2984 * check/pipelines/cleanup.c: (run_pipeline):
2985 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2987 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
2988 (gst_bus_source_check), (gst_bus_source_dispatch),
2989 (gst_bus_create_watch), (gst_bus_add_watch_full),
2990 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
2992 * tools/gst-launch.c: (event_loop):
2993 * tools/gst-md5sum.c: (event_loop):
2994 GstBusHandler -> GstBusFunc, return value has the same meaning as
2995 any other GSource (FALSE == remove source).
2996 _add_watch() and _add_watch_full() now take a MessageType mask to
2997 only handle specific types of messages.
2998 _poll() returns the GstMessage instead of the message type to avoid
3000 _have_pending() takes a MessageType mask now too.
3001 Added testsuite for multiple bus watches.
3002 Fix testsuites and applications for new bus API.
3004 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3006 * check/Makefile.am:
3007 mark a bunch of the tests as to fix until we fix them
3009 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3012 use GST_PLUGIN settings for valgrind tests as well, so we're
3013 valgrinding the correct thing
3014 * gst/gst.c: (init_post):
3017 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3019 * gst/gst.c: (init_post), (gst_deinit):
3020 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3021 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3022 * gst/gstindex.c: (gst_index_factory_class_init),
3023 (gst_index_factory_finalize):
3024 * gst/gstobject.c: (gst_object_dispose):
3025 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3026 (gst_plugin_load_file), (gst_plugin_desc_free):
3027 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3028 (gst_plugin_feature_finalize):
3029 * gst/gstregistry.c: (gst_registry_class_init),
3030 (gst_registry_init), (gst_registry_finalize),
3031 (gst_registry_get_default), (gst_registry_deinit):
3032 * gst/gstregistry.h:
3033 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3034 various cleanups and memleak plugging. make valgrind is happy now.
3036 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3039 add a check-valgrind target
3041 2005-09-18 David Schleef <ds@schleef.org>
3043 * tools/gst-inspect.c: Revert the GOption code.
3045 2005-09-17 David Schleef <ds@schleef.org>
3047 * check/Makefile.am: Fix environment variables.
3048 * check/gst/gstplugin.c: Fix for API changes.
3049 * tools/gst-inspect.c: Fix for API changes.
3050 * tools/gst-xmlinspect.c: Fix for API changes.
3051 * gst/gstelementfactory.c:
3054 * gst/gstpluginfeature.c:
3055 * gst/gstpluginfeature.h:
3056 * gst/gstregistry.c:
3057 * gst/gstregistry.h:
3058 * gst/gstregistryxml.c:
3059 * gst/gsttypefind.c:
3060 * gst/gsttypefindfactory.c:
3061 * gst/indexers/gstfileindex.c:
3062 * gst/indexers/gstmemindex.c:
3063 * gst/schedulers/Makefile.am:
3064 Change registry to keep track of both plugins and features,
3065 removing the feature tracking from plugins themselves.
3067 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3069 * check/Makefile.am:
3070 * tools/gst-register.1.in:
3073 2005-09-15 David Schleef <ds@schleef.org>
3075 * check/gst/gstplugin.c:
3076 * gst/gstelementfactory.c:
3078 * gst/gstpluginfeature.c:
3079 * gst/gstregistry.c:
3080 Getting tired of debugging. Disabled all the unreffing of
3081 plugins and features, which fixes the segfaults, but of
3082 course leaks like crazy. At least playbin works.
3084 2005-09-15 David Schleef <ds@schleef.org>
3086 * check/gst/gstplugin.c: (register_check_elements),
3087 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3089 * gst/elements/gsttypefindelement.c: Fix refcounting.
3090 * gst/gsttypefind.c:
3091 * gst/gsttypefindfactory.c:
3092 * gst/gsttypefindfactory.h:
3094 2005-09-15 David Schleef <ds@schleef.org>
3096 * gst/gstindex.c: get refcounting correct.
3097 * gst/gstregistry.c: Handle the case where a feature/plugin is
3100 2005-09-15 David Schleef <ds@schleef.org>
3102 * check/Makefile.am:
3103 * check/gst/gstplugin.c: Add test
3104 * gst/gstplugin.c: Fix problems noticed by testsuite
3106 * gst/gstregistry.c:
3107 * gst/gstregistry.h:
3109 2005-09-15 David Schleef <ds@schleef.org>
3111 * gst/gstplugin.c: Implement semi-decent recounting and locking
3112 in plugins and plugin features.
3114 * gst/gstpluginfeature.c:
3115 * gst/gstpluginfeature.h:
3116 * gst/gstregistry.c:
3118 2005-09-15 Michael Smith <msmith@fluendo.com>
3120 * gst/gstregistry.c: (gst_registry_get_feature_list):
3121 Implement this. Makes oggdemux work; decodebin still broken.
3123 2005-09-14 David Schleef <ds@schleef.org>
3125 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3127 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3128 * gst/check/Makefile.am:
3129 * libs/gst/controller/Makefile.am:
3130 * libs/gst/dataprotocol/Makefile.am:
3132 2005-09-14 David Schleef <ds@schleef.org>
3134 * configure.ac: Remove getbits library. Nothing uses it, and
3135 it should be in something like liboil if someone did want
3137 * libs/gst/Makefile.am:
3138 * libs/gst/getbits/Makefile.am:
3139 * libs/gst/getbits/gbtest.c:
3140 * libs/gst/getbits/getbits.c:
3141 * libs/gst/getbits/getbits.h:
3142 * libs/gst/getbits/gstgetbits_generic.c:
3143 * libs/gst/getbits/gstgetbits_i386.s:
3144 * libs/gst/getbits/gstgetbits_inl.h:
3146 2005-09-14 David Schleef <ds@schleef.org>
3148 * gst/Makefile.am: Dist glib-compat.h
3150 2005-09-14 David Schleef <ds@schleef.org>
3152 * configure.ac: Remove gst/registries, since it's no longer used.
3153 * gst/registries/Makefile.am:
3154 * gst/registries/gstlibxmlregistry.c:
3155 * gst/registries/gstlibxmlregistry.h:
3156 * gst/registries/gstxmlregistry.c:
3157 * gst/registries/gstxmlregistry.h:
3158 * gst/registries/registrytest.c:
3160 2005-09-14 David Schleef <ds@schleef.org>
3162 * gst/glib-compat.h:
3163 * gst/gstregistryxml.c:
3164 Convergence is near. Seriously.
3166 2005-09-14 David Schleef <ds@schleef.org>
3168 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3169 * gst/glib-compat.h:
3170 Attempt #4 to appease the buildbots.
3172 2005-09-14 David Schleef <ds@schleef.org>
3174 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3177 2005-09-14 David Schleef <ds@schleef.org>
3179 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3182 2005-09-14 David Schleef <ds@schleef.org>
3184 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3187 2005-09-14 David Schleef <ds@schleef.org>
3189 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3190 * gst/glib-compat.h: Add some functions that are in newer versions
3191 of glib than we care to require.
3192 * gst/gstregistryxml.c: Use them.
3194 2005-09-14 David Schleef <ds@schleef.org>
3196 * po/POTFILES.in: remove gst-register.c
3198 2005-09-14 David Schleef <ds@schleef.org>
3200 * docs/gst/gstreamer-docs.sgml:
3201 * docs/gst/gstreamer-sections.txt:
3202 * docs/gst/gstreamer.types:
3203 * docs/gst/tmpl/gstelement.sgml:
3204 * docs/gst/tmpl/gstplugin.sgml:
3205 * docs/gst/tmpl/gstpluginfeature.sgml:
3206 Documentation updates for registry changes.
3208 2005-09-14 David Schleef <ds@schleef.org>
3210 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3211 because we don't require glib-2.8.
3213 2005-09-14 David Schleef <ds@schleef.org>
3215 * gst/gstregistryxml.c: Added. Essentially moved out of the
3216 registries directory.
3218 2005-09-14 David Schleef <ds@schleef.org>
3220 * check/Makefile.am:
3221 * check/generic/states.c:
3225 * gst/gst_private.h:
3226 * gst/gstelementfactory.c:
3231 * gst/gstpluginfeature.c:
3232 * gst/gstpluginfeature.h:
3233 * gst/gstregistry.c:
3234 * gst/gstregistry.h:
3235 * gst/gstregistrypool.c: remove
3236 * gst/gstregistrypool.h: remove
3237 * gst/gsttypefind.c:
3238 * gst/gsttypefindfactory.c:
3240 * tools/Makefile.am:
3241 * tools/gst-compprep.c:
3242 * tools/gst-inspect.c:
3243 * tools/gst-register.c: remove
3244 * tools/gst-xmlinspect.c:
3245 Registry rewrite. Changes registry from being a file created
3246 by a tool into a simple cache file created automatically by
3247 libgstreamer. Removed gst-register (because it's no longer
3248 needed). Remove registry pools, because we only have one
3249 registry implementation (XML). Fix up other subsystems as
3252 2005-09-13 Michael Smith <msmith@fluendo.com>
3254 * gst/gstconfig.h.in:
3255 Don't Use windows linking attributes for MinGW. Fixes #316157
3257 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3259 * gst/gstutils.c: (set_state_async_thread_func),
3260 (gst_element_set_state_async):
3261 Apparently people think it's better if this function doesn't
3262 try to set the state to whatever state was asked for on the first
3263 call to this function for any object. Seriously.
3265 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3267 * check/gst/gstpipeline.c: (GST_START_TEST):
3268 * docs/gst/gstreamer-sections.txt:
3269 * gst/gstutils.c: (set_state_async_thread_func),
3270 (gst_element_set_state_async):
3272 add a "gst_element_set_state_async" method that
3273 sets the state and starts a thread to make sure the state
3274 change completes as best as it can
3276 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3278 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3279 codify design+behaviour in testsuite after discussion
3281 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3283 * docs/gst/tmpl/gstelement.sgml:
3284 * docs/manual/appendix-quotes.xml:
3286 * gst/gstelement.c: (gst_element_set_state):
3289 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3291 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3292 (gst_base_transform_prepare_output_buf),
3293 (gst_base_transform_handle_buffer):
3294 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3295 (gst_capsfilter_prepare_buf):
3296 Remove the requirement for sub-classes to call the parent
3297 implementation of prepare_output_buffer with a wrapper function.
3300 * gst/gsttagsetter.h:
3303 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3305 * docs/gst/gstreamer-sections.txt:
3308 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3310 * docs/gst/gstreamer-sections.txt:
3311 * docs/gst/tmpl/gstelement.sgml:
3312 * docs/gst/tmpl/gstplugin.sgml:
3313 * gst/gstminiobject.c:
3315 docs now stop throwing warnings
3317 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3319 * docs/gst/gstreamer-sections.txt:
3320 * docs/gst/gstreamer.types:
3321 * docs/gst/tmpl/gstpad.sgml:
3322 * docs/gst/tmpl/gsttypes.sgml:
3323 * gst/base/gstadapter.h:
3324 * gst/base/gstbasesink.h:
3325 * gst/base/gstbasesrc.h:
3335 * gst/gststructure.c:
3336 * gst/registries/gstlibxmlregistry.h:
3337 various documentation fixes
3339 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3341 * docs/gst/gstreamer-sections.txt:
3342 * docs/gst/tmpl/gstvalue.sgml:
3343 rearrange gstvalue section
3344 * gst/gstutils.c: (gst_element_state_get_name):
3346 * gst/gstvalue.c: (_gst_value_initialize):
3350 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3352 * check/gst-libs/controller.c:
3354 * gst/base/gstbasetransform.c:
3355 (gst_base_transform_default_prepare_buf),
3356 (gst_base_transform_handle_buffer):
3357 * gst/base/gstbasetransform.h:
3358 Some more basetransform changes and fixes to enable sub-classes
3359 that modify buffer metadata only.
3360 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3361 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3362 (gst_capsfilter_prepare_buf):
3363 If the output pad has fixed allowed caps and input buffers
3364 don't have any, set the fixed caps on outgoing buffers.
3366 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3367 * check/elements/identity.c: (GST_START_TEST):
3368 Make the error a little clearer when the test fails because
3369 identity made a copy of the buffer.
3370 * docs/gst/gstreamer-sections.txt:
3371 New symbols in gstbasetransform.h
3372 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3373 (gst_base_transform_init), (gst_base_transform_transform_size),
3374 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3375 (gst_base_transform_default_prepare_buf),
3376 (gst_base_transform_get_unit_size),
3377 (gst_base_transform_buffer_alloc),
3378 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3379 (gst_base_transform_change_state),
3380 (gst_base_transform_set_passthrough),
3381 (gst_base_transform_set_in_place),
3382 (gst_base_transform_is_in_place):
3383 * gst/base/gstbasetransform.h:
3384 Change BaseTransform to separate in_place operate from same_caps
3385 output. in_place implies that the element can perform the transform
3386 on incoming buffers in-place, even if the caps on the output are
3388 Sub-class elements can now implement special buffer allocation
3389 methods for outgoing buffers if they wish to.
3390 Big documentation addition.
3391 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3392 * gst/elements/gstelements.c:
3393 Changes for basetransform modifications.
3394 * gst/elements/Makefile.am:
3395 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3396 Compile fix. Extra debug output.
3398 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3400 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3402 add tests for valid pad naming
3403 * gst/check/gstcheck.c: (gst_check_log_message_func),
3404 (gst_check_log_critical_func):
3406 remove printing of code, it is fragile when the code contains
3407 % and the line number is enough info
3408 * gst/check/gstcheck.h:
3409 * gst/gstpad.c: (gst_pad_template_new):
3412 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3415 say what CHECK flags we use
3416 * docs/libs/gstreamer-libs.types:
3417 * libs/gst/controller/Makefile.am:
3418 * libs/gst/controller/gst-controller.c:
3419 * libs/gst/controller/gst-controller.h:
3420 * libs/gst/controller/gst-helper.c:
3421 * libs/gst/controller/gst-interpolation.c:
3422 * libs/gst/controller/gstcontroller.c:
3423 * libs/gst/controller/gsthelper.c:
3424 * libs/gst/controller/gstinterpolation.c:
3425 * tools/gst-inspect.c: (print_plugin_info):
3426 we don't use dashes in header names
3428 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3430 * check/Makefile.am:
3431 * check/gst/.cvsignore:
3432 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3433 (gst_pipeline_suite), (main):
3434 adding a test for pipelines and state changes
3435 * gst/gstutils.c: (get_state_func):
3437 * gstreamer.spec.in:
3440 2005-09-08 Michael Smith <msmith@fluendo.com>
3442 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3443 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3444 (gst_file_src_is_seekable), (gst_file_src_get_size),
3445 (gst_file_src_start):
3446 * gst/elements/gstfilesrc.h:
3447 Various fixes for unseekable, unmmapable, and non-normal files, so
3448 that fallback to read() rather than mmap() works.
3449 * gst/gstevent.c: (gst_event_new_newsegment):
3450 Allow newsegment events with segment_start == segment_end, as will
3451 correctly happen if you use filesrc on a zero-size file, for
3454 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3456 * gst/gstplugin.c: (gst_plugin_load_file):
3457 Call g_module_close when we don't load the module
3459 * gst/registries/gstlibxmlregistry.c:
3460 (gst_xml_registry_get_property):
3461 Port leak fix from 0.8
3463 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3465 * docs/gst/gstreamer-docs.sgml:
3466 * docs/gst/tmpl/.cvsignore:
3467 * docs/gst/tmpl/gsttrace.sgml:
3468 * docs/gst/tmpl/gsttrashstack.sgml:
3477 * gst/gsttaginterface.c:
3478 * gst/gsttaginterface.h:
3481 * gst/gsttagsetter.c:
3482 * gst/gsttagsetter.h:
3485 * gst/gsttrashstack.c:
3486 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3487 inlined docs for gsttrace, gsttrashstack
3489 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3492 * gst/elements/gstbufferstore.h:
3493 * gst/elements/gsttypefindelement.c:
3494 * gst/elements/gsttypefindelement.h:
3496 * gst/gsttypefind.c:
3497 * gst/gsttypefind.h:
3498 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3499 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3500 (gst_type_find_factory_dispose),
3501 (gst_type_find_factory_unload_thyself),
3502 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3503 (gst_type_find_factory_get_caps),
3504 (gst_type_find_factory_get_extensions),
3505 (gst_type_find_factory_call_function):
3506 * gst/gsttypefindfactory.h:
3507 * gst/registries/gstlibxmlregistry.c:
3508 * gst/registries/gstxmlregistry.c:
3509 splitted gsttypefind into gsttypefind, gsttypefindfactory
3511 2005-09-07 Andy Wingo <wingo@pobox.com>
3513 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3514 condition whereby the pad's task function is entered before the
3515 pad_mode variable was set.
3517 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3519 * gst/gstpad.c: (gst_pad_alloc_buffer):
3520 Catch misbehaving pad_alloc functions that don't
3521 set up caps and do it for them.
3523 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3525 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3527 * docs/gst/tmpl/.cvsignore:
3528 * docs/gst/tmpl/gstmemchunk.sgml:
3529 * docs/gst/tmpl/gstparse.sgml:
3530 * docs/gst/tmpl/gsttaglist.sgml:
3531 * docs/gst/tmpl/gsttagsetter.sgml:
3532 * docs/gst/tmpl/gsttypefind.sgml:
3533 * docs/gst/tmpl/gsttypefindfactory.sgml:
3534 * gst/gstmemchunk.c:
3537 * gst/gsttaginterface.c:
3538 * gst/gsttypefind.c:
3539 * gst/gsttypefind.h:
3542 === release 0.9.2 ===
3544 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3549 releasing 0.9.2, "South"
3551 2005-09-05 Andy Wingo <wingo@pobox.com>
3553 * gst/registries/gstxmlregistry.h:
3554 * gst/registries/gstxmlregistry.c: Um... resurrect...
3556 * gst/registries/gstxmlregistry.h:
3557 * gst/registries/gstxmlregistry.c: and update to newer API.
3558 Incidentally they should be a bit faster now that they don't have
3561 2005-09-05 Andy Wingo <wingo@pobox.com>
3563 * gst/registries/gstxmlregistry.h:
3564 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3565 replaced by the libxml registry a while back
3567 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3569 * docs/gst/tmpl/gstplugin.sgml:
3570 * gst/elements/gstelements.c:
3572 * gst/gstplugin.c: (gst_plugin_register_func),
3573 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3574 (gst_plugin_get_source):
3576 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3577 (gst_xml_registry_save_plugin):
3578 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3579 (gst_xml_registry_save_plugin):
3580 * tools/gst-inspect.c: (print_plugin_info):
3581 add a "source" plugin description field, to represent the source
3582 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3583 will set it to PACKAGE, which is automake's idea of the name of
3586 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3592 * docs/faq/Makefile.am:
3593 * docs/gst/tmpl/gstelement.sgml:
3594 * docs/gst/tmpl/gsttypes.sgml:
3595 * docs/htmlinstall.mak:
3596 * docs/manual/Makefile.am:
3597 * docs/pwg/Makefile.am:
3598 reorganize doc build a little
3599 split out docbook and gtk-doc stuff
3600 have two separate --enable's and enable them through autogen
3601 but disable by default in configure (to be similar to other
3603 * gstreamer.spec.in:
3604 clean up docs install
3624 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3626 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3629 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3630 (gst_fake_sink_change_state):
3631 Make state change function thread-safe.
3633 * gst/gstpad.c: (gst_pad_alloc_buffer):
3634 Set offset on generic buffer allocated by fallback.
3636 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3638 * docs/gst/gstreamer-sections.txt:
3639 * docs/gst/tmpl/gstelement.sgml:
3641 * libs/gst/controller/gst-controller.c:
3642 (gst_controlled_property_set_interpolation_mode),
3643 (gst_controlled_property_new),
3644 (gst_controller_find_controlled_property):
3645 run the wingo-magic script against the docs
3647 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3649 * docs/gst/gstreamer-docs.sgml:
3650 * docs/gst/gstreamer-sections.txt:
3651 * docs/gst/tmpl/.cvsignore:
3652 * docs/gst/tmpl/gstelementdetails.sgml:
3653 * docs/gst/tmpl/gstelementfactory.sgml:
3656 * gst/gstelementfactory.c:
3657 * gst/gstelementfactory.h:
3658 merged elementdetails docs into elementfactory docs
3661 2005-09-02 Andy Wingo <wingo@pobox.com>
3663 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3664 consider this enum an enum and not a flags.
3666 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3668 * docs/gst/gstreamer-docs.sgml:
3669 * docs/gst/tmpl/.cvsignore:
3670 * docs/gst/tmpl/gstghostpad.sgml:
3671 * docs/gst/tmpl/gstiterator.sgml:
3672 * docs/gst/tmpl/gstmacros.sgml:
3673 * docs/gst/tmpl/gstrealpad.sgml:
3674 * docs/gst/tmpl/gstregistry.sgml:
3675 * docs/gst/tmpl/gstregistrypool.sgml:
3676 * docs/gst/tmpl/gststructure.sgml:
3677 * docs/gst/tmpl/gstsystemclock.sgml:
3678 * docs/gst/tmpl/gsttrace.sgml:
3679 * gst/gstghostpad.c:
3681 * gst/gstmemchunk.c:
3682 * gst/gstmemchunk.h:
3684 * gst/gstregistry.c:
3685 * gst/gstregistrypool.c:
3686 * gst/gststructure.c:
3687 * gst/gstsystemclock.c:
3690 2005-09-02 Andy Wingo <wingo@pobox.com>
3692 * gst/gstelement.h (GstState): Renamed from GstElementState,
3693 changed to be a normal enum instead of flags.
3694 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3695 munged to be GST_STATE_CHANGE_*.
3696 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3697 work with the new state representation.
3698 (GstStateChange): New enumeration of possible state transitions.
3699 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3700 (GstElementClass::change_state): Pass the GstStateChange along as
3701 an argument. Helps language bindings, so they don't have to use
3702 tricky lock-needing macros like GST_STATE_CHANGE ().
3704 * scripts/update-states (file): New script. Run it on a file to
3705 update it for state naming and API changes. Updates files in
3708 * All files updated for the new API.
3710 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3712 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3713 * gst/gstutils.c: (gst_util_set_value_from_string),
3714 (gst_util_set_object_arg):
3715 fix a bunch of unchecked return values
3716 * tools/gst-complete.c: (main):
3717 * gstreamer.spec.in:
3720 2005-09-01 Wim Taymans <wim@fluendo.com>
3722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3723 (gst_base_sink_event), (gst_base_sink_do_sync),
3724 (gst_base_sink_handle_event):
3725 * gst/base/gstbasesink.h:
3726 Handle newsegments more correctly.
3731 * gst/gstevent.c: (gst_event_new_newsegment):
3732 A newsegment cannot have a start_time of -1
3734 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3736 * win32/gstenumtypes.c:
3737 * win32/gstenumtypes.h:
3740 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3742 * libs/gst/controller/gst-controller.c:
3743 (gst_controlled_property_set_interpolation_mode),
3744 (gst_controlled_property_new):
3747 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3749 * docs/faq/gst-uninstalled:
3754 * gst/gstutils.c: (gst_element_link_filtered):
3756 add gst_element_link_filtered
3758 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3760 * docs/gst/gstreamer-docs.sgml:
3761 * docs/gst/gstreamer-sections.txt:
3762 * docs/gst/tmpl/.cvsignore:
3763 * docs/gst/tmpl/gsterror.sgml:
3764 * docs/gst/tmpl/gstfilter.sgml:
3765 * docs/gst/tmpl/gsturihandler.sgml:
3766 * docs/gst/tmpl/gsturitype.sgml:
3767 * docs/gst/tmpl/gstutils.sgml:
3768 * docs/gst/tmpl/gstxml.sgml:
3776 inlined more docs, fixed double id-ref
3778 2005-08-31 Wim Taymans <wim@fluendo.com>
3780 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3781 (gst_base_transform_handle_buffer):
3782 Passthrough elements don't need the caps as they don't care.
3784 2005-08-31 Wim Taymans <wim@fluendo.com>
3786 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3787 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3788 Don't leak refcounts on buffers.
3790 2005-08-31 Wim Taymans <wim@fluendo.com>
3792 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3793 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3794 (gst_base_transform_chain), (gst_base_transform_change_state):
3795 * gst/base/gstbasetransform.h:
3796 Handle the case where we are not negotiated more gracefully.
3798 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3800 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3801 (gst_file_src_map_region):
3802 Set READONLY flag on mmap'ed buffers, otherwise
3803 gst_buffer_make_writable() won't work properly (#314708).
3805 2005-08-31 Wim Taymans <wim@fluendo.com>
3807 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3808 passthrough elements can even do inplace on non writable
3809 buffers (as they don't touch them).
3811 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3813 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3814 (gst_test_mono_source_set_property),
3815 (gst_test_mono_source_class_init), (GST_START_TEST),
3816 (gst_controller_suite):
3817 more tests (hehe I have the most)
3819 describe popping messages whenusing mulltiple sources
3820 * libs/gst/controller/gst-controller.c:
3821 (gst_controlled_property_set_interpolation_mode),
3822 (gst_controlled_property_new):
3823 * libs/gst/controller/gst-controller.h:
3824 * libs/gst/controller/gst-interpolation.c:
3825 implement boolean properties
3827 2005-08-31 Wim Taymans <wim@fluendo.com>
3829 * gst/gstminiobject.c: (gst_mini_object_ref):
3830 Cannot assert that the refcount has to be positive
3831 since a disposed object can be resurrected.
3833 2005-08-31 Wim Taymans <wim@fluendo.com>
3835 * gst/gstpad.c: (gst_pad_init):
3836 Revert change, need to first fix badly behaving
3839 2005-08-30 Wim Taymans <wim@fluendo.com>
3841 * check/elements/fakesrc.c: (setup_fakesrc):
3842 * check/elements/identity.c: (setup_identity):
3843 Activate pads before using them.
3845 2005-08-30 Wim Taymans <wim@fluendo.com>
3847 * gst/base/gstadapter.c: (gst_adapter_flush):
3848 Flushing out 0 bytes is ok for this function.
3850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3851 no newsegment gives a warning and sets the start/stop to
3854 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
3855 (gst_base_transform_set_passthrough):
3858 * gst/gstminiobject.c: (gst_mini_object_ref):
3859 Check refcount here too.
3861 * gst/gstpad.c: (gst_pad_init):
3862 Pads are initially flushing and refusing data.
3864 * gst/gstutils.c: (gst_element_link_pads_filtered):
3865 When adding a capsfilter element make sure it has the
3866 same state as the parent bin.
3868 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3870 * docs/gst/tmpl/.cvsignore:
3871 * docs/gst/tmpl/gstformat.sgml:
3872 * docs/gst/tmpl/gstversion.sgml:
3876 * gst/gstversion.h.in:
3877 more docs and two more inlined
3879 2005-08-30 Wim Taymans <wim@fluendo.com>
3881 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
3882 Don't sync to clock.
3884 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3886 * docs/gst/gstreamer-sections.txt:
3887 ultral33t func10ns deserve to appear in the docs actually
3888 * docs/gst/tmpl/.cvsignore:
3889 * docs/gst/tmpl/gstcompat.sgml:
3890 * docs/gst/tmpl/gstconfig.sgml:
3891 * gst/check/gstcheck.c:
3893 * gst/gstconfig.h.in:
3896 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3898 * docs/gst/tmpl/.cvsignore:
3899 * docs/gst/tmpl/gstquery.sgml:
3900 * docs/gst/tmpl/gstutils.sgml:
3903 inlined and extended docs
3905 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3907 * check/gst-libs/controller.c: (GST_START_TEST),
3908 (gst_controller_suite):
3910 * docs/gst/tmpl/gstutils.sgml:
3911 * docs/libs/gstreamer-libs-sections.txt:
3912 * docs/libs/tmpl/gstdataprotocol.sgml:
3914 * examples/controller/audio-example.c: (main):
3915 controller example works now
3918 * tools/gst-inspect.c: (print_element_properties_info):
3919 show param spec flags
3921 2005-08-29 Andy Wingo <wingo@pobox.com>
3923 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3925 2005-08-28 Andy Wingo <wingo@pobox.com>
3927 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3928 as having two arguments instead of just one. Allows superclasses
3929 to access information on subclasses -- see the terrible for() loop
3930 in gtype.c:g_type_create_instance for the reason why. All callers
3933 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3935 * docs/design/part-messages.txt:
3937 * docs/gst/tmpl/.cvsignore:
3938 * docs/gst/tmpl/gstcaps.sgml:
3939 * docs/gst/tmpl/gstclock.sgml:
3946 added descriptions for bus and message
3947 inline caps and clock docs
3949 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3955 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3957 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3960 2005-08-26 Andy Wingo <wingo@pobox.com>
3962 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
3963 element_set_state's return val.
3964 (test_2_elements): Add test that's been disabled for months.
3966 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
3967 can-activate-pull properties.
3969 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
3970 can-activate-pull properties. Implement is_seekable so fakesrc can
3971 operate in pull mode.
3973 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
3975 (gst_base_sink_activate, gst_base_sink_activate_pull)
3976 (gst_base_sink_activate_push): Make activation mode choosing work.
3978 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
3979 is right. Make pull mode work. Post an eos before pausing in pull
3981 (gst_base_sink_change_state): Pay attention to the core's
3982 change_state() return val.
3984 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
3985 has-getrange properties. Cleanups.
3987 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
3988 has_getrange and replace with can_activate_pull and
3991 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
3992 locking comments. Remove has_loop, has_chain and replace with
3993 can_activate_pull and can_activate_push.
3995 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
3998 * examples/Makefile.am:
3999 * examples/metadata/Makefile.am:
4000 * examples/metadata/read-metadata.c: (message_loop),
4001 (have_pad_handler), (make_pipeline), (print_tag), (main):
4002 Add metadata reading example that loops over a list of filenames,
4003 dumping any tags found.
4005 * gst/gstbus.c: (gst_bus_dispose):
4006 * gst/gstelement.c: (gst_element_dispose):
4007 Release a few potentially-held references in dispose.
4009 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4011 * docs/gst/tmpl/gstminiobject.sgml:
4012 do *not* add tmpl/*.sgml files to CVS!
4014 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4016 * libs/gst/bytestream/.cvsignore:
4017 * libs/gst/bytestream/Makefile.am:
4018 * libs/gst/bytestream/adapter.c:
4019 * libs/gst/bytestream/adapter.h:
4020 * libs/gst/bytestream/bytestream.c:
4021 * libs/gst/bytestream/bytestream.h:
4022 * libs/gst/bytestream/filepad.c:
4023 * libs/gst/bytestream/filepad.h:
4024 removing obsolete files
4026 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4028 * docs/gst/gstreamer-docs.sgml:
4029 * docs/libs/gstreamer-libs-docs.sgml:
4030 disabed additional index entries again, as this makes docs-gen just
4031 slow and they aren't useful yet
4032 * docs/libs/gstreamer-libs-sections.txt:
4033 little -section.txt cleanup for libs
4035 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4037 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4038 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4039 fix up some debugging
4040 (gst_base_transform_get_unit_size),
4041 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4042 (gst_base_transform_handle_buffer):
4043 * gst/base/gstbasetransform.h:
4044 handle and store timed NEWSEGMENT events so that subclasses that
4045 calculate time by counting samples have a segment_start time they
4046 need to add to their timestamps - see audioresample
4048 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4051 removed ';' from the end of macro defs
4052 * docs/gst/gstreamer-docs.sgml:
4053 * docs/gst/gstreamer-sections.txt:
4054 * docs/gst/tmpl/.cvsignore:
4056 * gst/gstelement.c: (gst_element_class_init),
4057 (gst_element_set_state), (activate_pads),
4058 (gst_element_save_thyself):
4059 * gst/gstevent.c: (gst_event_new_newsegment):
4061 * gst/gstiterator.c:
4062 * gst/gstiterator.h:
4065 * gst/gstutils.c: (gst_pad_query_convert):
4067 fixed parameter name mismatches between source, header and docs
4068 added some more docs, resolved the last batch of unused elements in
4069 docs (now someone needs to doc them)
4071 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4073 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4074 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4075 don't walk through the plugins backwards. Where is all this
4076 reversed logic coming from ?
4078 2005-08-25 Wim Taymans <wim@fluendo.com>
4080 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4081 (gst_base_transform_transform_size),
4082 (gst_base_transform_configure_caps),
4083 (gst_base_transform_get_unit_size),
4084 (gst_base_transform_buffer_alloc),
4085 (gst_base_transform_change_state):
4086 * gst/base/gstbasetransform.h:
4087 Cache caps unit_size.
4088 Make sure we cannot negotiate up and downstream at the
4091 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4093 * gst/gst.c: (init_pre), (init_post):
4094 register the installed plugin path after the env var
4095 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4096 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4097 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4098 directories, so the tests can prefer uninstalled over installed
4100 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4102 * gst/base/gstbasetransform.h:
4107 2005-08-25 Wim Taymans <wim@fluendo.com>
4109 * gst/gstbin.c: (bin_bus_handler):
4110 Be a bit more conservative about the posted message.
4112 * gst/gstbus.c: (gst_bus_post):
4113 Some cleanups, warn wrong return values.
4115 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4117 * check/gst/gstbin.c: (GST_START_TEST):
4118 * gst/gstbin.c: (bin_bus_handler):
4119 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4120 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4121 (gst_message_new_warning), (gst_message_new_tag),
4122 (gst_message_new_state_changed), (gst_message_new_segment_start),
4123 (gst_message_new_segment_done), (gst_message_new_custom):
4125 * tools/gst-launch.c: (event_loop):
4126 * tools/gst-md5sum.c: (event_loop):
4127 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4129 2005-08-25 Wim Taymans <wim@fluendo.com>
4131 * check/generic/states.c: (GST_START_TEST):
4132 Cleanup can be done at the end.
4134 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4135 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4136 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4137 Oh boy.. Thanks for finding this, Thomas.
4139 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4141 * docs/gst/gstreamer.types:
4144 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4146 * docs/gst/gstreamer-docs.sgml:
4147 * docs/gst/gstreamer-sections.txt:
4148 * docs/gst/tmpl/.cvsignore:
4150 * gst/gstiterator.c:
4152 * gst/registries/gstxmlregistry.h:
4153 added missing classes and symbols (123 more to go)
4154 removed removed symbols from section file
4155 fixed many doc-comments
4157 2005-08-24 Wim Taymans <wim@fluendo.com>
4159 * check/generic/states.c: (GST_START_TEST):
4160 Make sure all tasks are stopped.
4162 * check/gst/gstbin.c: (GST_START_TEST):
4163 Unref after usage for proper valgrinding.
4165 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4166 Really wait for the task to stop before destroying the
4169 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4170 (gst_queue_src_activate_push):
4171 Small cleanups. Don't stop the task when we did not start
4174 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4175 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4176 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4179 Protect the stream lock with the object lock.
4180 Disallow setting the stream lock when running.
4181 Add cleanup_all to wait for the threadpool to finish.
4182 Remove code to autoallocate a mutex if none was provided.
4183 Add _join() to wait for a task to stop.
4184 Protect the thread pool with a global lock.
4186 2005-08-24 Wim Taymans <wim@fluendo.com>
4188 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4189 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4190 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4191 * gst/base/gstbasesink.h:
4192 Handle newsegment events correctly.
4193 Drop buffers out of the segment range.
4195 2005-08-22 Andy Wingo <wingo@pobox.com>
4197 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4198 macro, implements an interface and gstimplementsinterface for a
4201 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4203 * check/Makefile.am:
4204 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4205 add a test that does a bunch of state changes on elements
4206 needs some fixing for valgrind
4207 * check/states/sinks.c: (gst_object_suite):
4210 add prototype for gst_caps_is_equal_fixed
4212 * gst/gstregistrypool.c:
4215 2005-08-24 Andy Wingo <wingo@pobox.com>
4217 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4218 convert a negative value. Doesn't make much sense. Mostly this is
4219 here to force callers to ensure -1 maps to -1.
4221 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4223 * docs/pwg/advanced-types.xml:
4224 Well done to Michael for catching my deliberate introduction
4225 of this spelling mistake.
4226 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4228 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4229 unlink pads before removing the element from the bin.
4231 2005-08-24 Andy Wingo <wingo@pobox.com>
4233 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4234 the same thing as GST_DEBUG=*:4.
4235 (parse_debug_level, parse_debug_category): New helper parsers.
4237 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4239 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4240 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4241 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4242 (gst_base_transform_buffer_alloc),
4243 (gst_base_transform_handle_buffer):
4244 use gboolean return values and pointers to size so we can use the
4245 full GST_BUFFER_SIZE range (guint) for buffer sizes
4246 use GstPadDirection for transform_caps
4247 * gst/base/gstbasetransform.h:
4248 rename get_size to get_unit_size since that's what it is
4249 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4250 use GstPadDirection for transform_caps
4251 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4253 cleanup and debugging
4255 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4257 * gst/gstelement.c: (gst_element_class_init),
4258 (gst_element_set_state), (activate_pads),
4259 (gst_element_save_thyself):
4260 * tools/gst-compprep.c: (main):
4261 * tools/gst-inspect.c: (print_element_properties_info):
4262 * tools/gst-xmlinspect.c: (print_element_properties):
4263 Fixed long standing mem-leak
4265 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4267 * check/gst/gstbin.c: (GST_START_TEST):
4268 * gst/gstbin.c: (bin_bus_handler):
4269 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4270 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4271 (gst_message_new_warning), (gst_message_new_tag),
4272 (gst_message_new_state_changed), (gst_message_new_segment_start),
4273 (gst_message_new_segment_done), (gst_message_new_custom):
4275 * tools/gst-launch.c: (event_loop):
4276 * tools/gst-md5sum.c: (event_loop):
4277 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4278 that applications can sensibly post custom messages with references
4279 to their own objects.
4281 2005-08-24 Andy Wingo <wingo@pobox.com>
4283 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4286 2005-08-24 Wim Taymans <wim@fluendo.com>
4288 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4289 (gst_base_transform_transform_caps),
4290 (gst_base_transform_transform_size),
4291 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4292 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4293 (gst_base_transform_handle_buffer):
4294 * gst/base/gstbasetransform.h:
4295 Many fixes and new features added by Thomas. Can now also do
4296 transforms with variable sizes and a custom fixate_caps function.
4298 2005-08-24 Wim Taymans <wim@fluendo.com>
4300 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4304 Cast to ClockTime before formatting to time.
4309 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4311 * check/gst-libs/controller.c: (GST_START_TEST),
4312 (gst_controller_suite):
4313 * docs/gst/tmpl/gstcaps.sgml:
4314 * docs/gst/tmpl/gstghostpad.sgml:
4315 * docs/gst/tmpl/gstquery.sgml:
4316 * docs/gst/tmpl/gstutils.sgml:
4317 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4318 (gst_object_sink_values), (gst_object_get_value_arrays),
4319 (gst_object_get_value_array):
4320 gracefully handle helper method calls to objects that are not beeing
4321 controlled, added test case for that
4323 2005-08-23 Wim Taymans <wim@fluendo.com>
4325 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4326 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4327 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4328 (gst_event_parse_qos), (gst_event_new_seek),
4329 (gst_event_parse_seek):
4331 Some more debugging output and doc cleanups.
4333 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4334 Fix possible deadlock.
4336 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4338 * docs/gst/gstreamer-docs.sgml:
4339 * docs/gst/gstreamer-sections.txt:
4340 * docs/gst/gstreamer.types:
4341 * docs/gst/tmpl/.cvsignore:
4346 added 100 symbols from gstreamer-unused.txt to the right sections
4347 fixed more broken comments
4348 added GstBus to docs
4350 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4352 * docs/gst/gstreamer-sections.txt:
4353 * docs/gst/tmpl/.cvsignore:
4354 * docs/gst/tmpl/gstbin.sgml:
4355 * docs/gst/tmpl/gstbuffer.sgml:
4356 * gst/base/gstbasesrc.c:
4357 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4360 * tools/gst-launch.1.in:
4361 inlined more doc comments, added missing comments and fixed comments
4364 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4366 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4370 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4372 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4373 * gst/gststructure.h:
4374 add a fixate function for booleans; add a FIXME that these func
4375 names should probably be gst_structure_fixate_*
4377 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4379 * docs/gst/gstreamer-docs.sgml:
4380 * docs/gst/gstreamer-sections.txt:
4382 * gst/gstbin.c: (gst_bin_get_type),
4383 (gst_bin_child_proxy_get_child_by_index),
4384 (gst_bin_child_proxy_get_children_count),
4385 (gst_bin_child_proxy_init):
4386 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4387 (gst_child_proxy_get_child_by_index),
4388 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4389 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4390 (gst_child_proxy_get), (gst_child_proxy_set_property),
4391 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4392 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4393 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4394 * gst/gstchildproxy.h:
4395 * gst/parse/grammar.y:
4396 * tools/gst-inspect.c: (print_interfaces),
4397 (print_element_properties_info), (print_element_info):
4398 ported gstchildproxy over from 0.8
4399 ported gst-inspect fixes and enhancements over from 0.8
4401 2005-08-22 Wim Taymans <wim@fluendo.com>
4403 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4404 (gst_base_transform_handle_buffer):
4405 Also call the transform function if we have ANY caps.
4407 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4410 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4412 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4413 Don't pretend to handle seek events if the source is not seekable
4415 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4417 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4418 Remove extra parameter to debug output
4420 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4421 (gst_base_src_do_seek), (gst_base_src_activate_push):
4422 Fix seek event handling.
4424 * gst/gstpipeline.c: (gst_pipeline_change_state):
4425 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4426 (gst_queue_src_activate_push):
4427 Don't start the src pad task on FLUSH_STOP if the pad
4431 2005-08-22 Wim Taymans <wim@fluendo.com>
4433 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4434 Added check for gst_static_caps_get() refcounting.
4436 2005-08-22 Wim Taymans <wim@fluendo.com>
4438 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4439 Make _static_caps_get() refcounting sane.
4441 * gst/gstelement.c: (gst_element_set_state):
4442 Add g_return_val_if_fail() to protect against segfaults.
4444 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4446 * docs/gst/tmpl/gstevent.sgml:
4449 inlined remaining docs, added missing doc comments
4451 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4453 * check/gst/gstbin.c: (GST_START_TEST):
4454 since we don't know when preroll is done, use refcount range
4456 * gst/check/gstcheck.h:
4457 add macro for checking refcount range
4459 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4461 * check/Makefile.am:
4462 clean up environment for when registry gets built versus
4463 when actual tests are run; valgrind seems to not report
4464 leaks if GST_PLUGIN_PATH is set to some specific values
4465 * check/gst/gstbin.c: (GST_START_TEST):
4466 add more refcounting checks; maybe this exposes a
4469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4470 * gst/check/gstcheck.h:
4471 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4472 (gst_bin_change_state):
4473 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4474 add/fix debugging/whitespace
4476 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4478 * check/gst/gstevent.c: (event_probe), (test_event),
4480 Er, don't call gst_bin_watch_for_state_change you idiot.
4482 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4484 * check/Makefile.am:
4485 Use CHECK_CFLAGS and CHECK_LIBS
4486 * check/gst/gstevent.c: (event_probe), (test_event),
4489 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4490 (gst_base_src_start), (gst_base_src_stop),
4491 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4492 (gst_base_src_change_state):
4493 Sprinkle gst_base_src_stop liberally around error paths to fix
4494 problems reusing a source after failed state changes.
4495 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4496 (helper_find_suggest), (gst_type_find_helper):
4497 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4499 * docs/gst/tmpl/gstevent.sgml:
4500 Migrate part of the docs from the SGML file. Wait for ensonic to
4501 tell me how I did it wrong ;)
4502 * tools/gst-typefind.c: (main):
4503 Extra robustness to state changes between files.
4505 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4507 * check/Makefile.am:
4508 don't valgrind the controller test - it's leaking - Stefan, HELP
4509 * gst/check/gstcheck.c: (gst_check_message_error),
4510 (gst_check_chain_func), (gst_check_setup_element),
4511 (gst_check_teardown_element), (gst_check_setup_src_pad),
4512 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4513 (gst_check_teardown_sink_pad):
4514 * gst/check/gstcheck.h:
4515 add a bunch of methods to set up elements, and src and sink pads
4516 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4517 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4522 whitespace/doc fixes
4524 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4527 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4528 be handled by the application and not always printed as well
4530 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4532 * check/Makefile.am:
4534 * gst/check/gstcheck.c: (gst_check_message_error):
4535 * gst/check/gstcheck.h:
4536 add a fail_unless_equals_int
4537 add fail_unless for error messages
4539 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4541 * check/Makefile.am:
4543 * common/Makefile.am:
4546 factor out some of the common stuff so we can use it
4548 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4550 * check/Makefile.am:
4551 * check/gst/gstiterator.c: (GST_START_TEST):
4552 * check/gst/gstsystemclock.c: (GST_START_TEST),
4553 (gst_systemclock_suite):
4554 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4558 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4560 * check/elements/.cvsignore:
4561 * check/elements/gstfakesrc.c:
4562 rename to name of element
4563 * check/elements/identity.c: (chain_func), (event_func),
4564 (setup_identity), (cleanup_identity), (GST_START_TEST),
4565 (identity_suite), (main):
4566 add a test for identity
4567 * check/Makefile.am:
4568 * pkgconfig/Makefile.am:
4569 * pkgconfig/gstreamer-check.pc.in:
4570 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4574 move the check stuff to a library that gets installed
4575 * check/gst-libs/controller.c: (GST_START_TEST):
4576 * check/gst-libs/gdp.c:
4577 * check/gst/gst.c: (GST_START_TEST):
4578 * check/gst/gstbin.c:
4579 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4580 * check/gst/gstbus.c:
4581 * check/gst/gstcaps.c: (GST_START_TEST):
4582 * check/gst/gstelement.c:
4583 * check/gst/gstghostpad.c:
4584 * check/gst/gstiterator.c:
4585 * check/gst/gstmessage.c:
4586 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4587 * check/gst/gstobject.c:
4588 * check/gst/gstpad.c: (GST_START_TEST):
4589 * check/gst/gststructure.c: (GST_START_TEST):
4590 * check/gst/gstsystemclock.c: (GST_START_TEST),
4591 (gst_systemclock_suite):
4592 * check/gst/gsttag.c: (gst_tag_suite):
4593 * check/gst/gstvalue.c:
4594 * check/pipelines/cleanup.c:
4595 * check/pipelines/simple_launch_lines.c:
4596 * check/states/sinks.c:
4597 change include statement
4599 * docs/gst/gstreamer-sections.txt:
4600 * docs/gst/tmpl/gstpad.sgml:
4601 document more pad stuff
4602 * gst/gstminiobject.c: (gst_mini_object_ref),
4603 (gst_mini_object_unref):
4606 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4608 * docs/gst/tmpl/gst.sgml:
4610 eliminate another tmpl file, fix spelling in the long-description
4612 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4614 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4615 (test_event), (timediff), (gstevents_suite):
4616 Should fix build on 64-bit arch's
4618 2005-08-18 Andy Wingo <wingo@pobox.com>
4620 Make sure that when a pipeline goes to PLAYING, that data has
4621 actually hit the sink.
4623 * check/states/sinks.c (test_sink): A sink that doesn't get any
4624 data shouldn't return SUCCESS for going to either PLAYING or
4625 PAUSED. Test also the return values on the way back down.
4627 * gst/gstelement.c (gst_element_set_state): When changing the
4628 state of an element currently changing state asynchronously, go to
4629 lost-state after commiting the pending state. Makes future calls
4630 to get_state continue to return ASYNC.
4632 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4633 ASYNC when going to PLAYING if we still don't have preroll, as can
4634 happen with live sources.
4636 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4638 * docs/pwg/advanced-types.xml:
4639 Hack long paragraph into 2 chunks as a workaround for buggy
4640 jadetex version in sid and breezy that loops infinitely and
4643 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4645 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4646 (test_event), (timediff), (gstevents_suite):
4647 Provide more error margin in clock measurements to allow for
4648 g_get_current_time inaccuracies.
4650 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4652 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4653 (test_event), (timediff), (gstevents_suite):
4654 Fix error message output so I might be able to tell why the
4655 test works here but fails on the build farm.
4657 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4659 * check/Makefile.am:
4660 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4661 (test_event), (timediff), (gstevents_suite), (main):
4664 * docs/design/part-seeking.txt:
4667 * docs/gst/tmpl/gstevent.sgml:
4668 * docs/gst/tmpl/gstfakesrc.sgml:
4671 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4672 Treat a buffer-without-newsegment the same as a receiving
4673 a newsegment not in time format, and disable syncing to the clock
4676 * gst/gstbus.c: (gst_bus_set_sync_handler):
4677 Assert if anyone tries to replace the existing sync_handler for bus,
4678 as only the owner should be setting it.
4681 Have a fixed set of custom event enums with events identified by
4682 their structure name (as in 0.8), rather than a free-for-all
4683 allowing collisions between enum values from different plugins.
4685 * gst/gstpad.c: (gst_pad_class_init):
4688 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4689 Handle out-of-band downstream events from the sending thread.
4691 2005-08-17 Andy Wingo <wingo@pobox.com>
4693 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4694 play-timeout==0 to mean no timeout at all. In that case, don't
4695 bother with a get_state or a warning, just return directly, even
4698 * gst/base/gstbasetransform.c: Debug changes.
4701 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4702 ensure bins post state change messages. A bit of a hack but I can't
4703 think of a way to avoid it.
4705 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4707 2005-08-16 Andy Wingo <wingo@pobox.com>
4709 * gst/base/gstadapter.h:
4710 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4711 peek() but you own the data. Not terribly efficient atm.
4713 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4715 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4716 (gst_element_found_tags):
4718 Add two utility functions for tag handling.
4720 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4722 * docs/manual/advanced-dataaccess.xml:
4723 * docs/manual/basics-helloworld.xml:
4724 Fix docs to use _bin_add() before _link(), which fixes the examples
4725 with recent core versions (reported by Madhan Raj M
4726 <raj_madan@rediffmail.com>, #313199).
4728 2005-08-16 Wim Taymans <wim@fluendo.com>
4730 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4731 Added subtract checks.
4733 * docs/design/part-events.txt:
4734 Some more docs about newsegment
4736 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4739 * gst/gstcaps.c: (gst_caps_to_string):
4740 Add comments, cleanups.
4742 * gst/gstelement.c: (gst_element_save_thyself):
4745 * gst/gstvalue.c: (gst_value_collect_int_range),
4746 (gst_string_unwrap), (gst_value_union_int_int_range),
4747 (gst_value_union_int_range_int_range),
4748 (gst_value_intersect_int_int_range),
4749 (gst_value_intersect_int_range_int_range),
4750 (gst_value_intersect_double_double_range),
4751 (gst_value_intersect_double_range_double_range),
4752 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4753 (gst_value_subtract_int_range_int),
4754 (gst_value_subtract_double_range_double),
4755 (gst_value_subtract_double_range_double_range),
4756 (gst_value_subtract_from_list), (gst_value_subtract_list),
4757 (gst_value_can_compare), (gst_value_compare_fraction):
4758 Cleanups, add comments, remove unneeded asserts.
4760 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4762 * tools/gst-launch.c: (event_loop):
4763 don't convert NULL structures to strings
4765 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4767 * docs/gst/gstreamer-sections.txt:
4768 made some defines private
4769 * docs/gst/tmpl/gstconfig.sgml:
4770 * docs/gst/tmpl/gstqueue.sgml:
4771 * docs/gst/tmpl/gsttaglist.sgml:
4772 * docs/gst/tmpl/gsttypes.sgml:
4773 * docs/gst/tmpl/gstutils.sgml:
4774 * docs/pwg/appendix-porting.xml:
4775 * gst/base/gstbasesink.h:
4776 * gst/base/gstbasesrc.c:
4777 * gst/base/gstbasesrc.h:
4778 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4779 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4780 * gst/gstelement.c: (gst_element_class_init):
4781 * gst/gstpad.c: (gst_pad_class_init):
4782 * gst/gstqueue.c: (gst_queue_class_init):
4783 * gst/gstxml.c: (gst_xml_class_init):
4784 documented all undocumented signal inline
4785 * libs/gst/controller/gst-controller.h:
4788 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4790 * docs/pwg/appendix-porting.xml:
4791 Document _set_link_function -> _set_setcaps_function.
4793 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4795 * check/Makefile.am:
4796 add a .check target for running the check
4797 * check/gst-libs/controller.c: (GST_START_TEST):
4799 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4800 complete checks for gstbuffer; would be nice if I could get the
4801 gcov stuff to work so I can see if I actually completed gstbuffer.c
4803 add ASSERT_BUFFER_REFCOUNT
4805 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4807 * docs/gst/gstreamer-sections.txt:
4808 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4810 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4811 spew out a warning if a tag that is already registered
4812 is re-registered, unless it is re-registered with a
4813 different type (#308438).
4815 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4817 * docs/pwg/appendix-porting.xml:
4818 * docs/pwg/building-state.xml:
4819 Add some paragraphs about state changes in 0.9 to the PWG
4820 and the porting guide, in particular about the new meaning
4821 of GST_STATE_PAUSED and how to write state change functions
4822 with concurrent access by multiple threads in mind.
4824 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4826 * docs/gst/gstreamer-docs.sgml:
4827 * docs/libs/gstreamer-libs-docs.sgml:
4828 added deprecation and since indexes
4829 * libs/gst/controller/gst-controller.c:
4830 * libs/gst/controller/gst-helper.c:
4834 2005-08-11 Wim Taymans <wim@fluendo.com>
4836 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
4837 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
4838 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
4839 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
4840 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
4841 (gst_ghost_pad_set_target):
4842 Actually implement (re)setting the target on a ghostpad
4843 as described in the docs.
4845 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4847 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
4848 Check whether GST_DEBUG_NO_COLOR environment variable is
4849 set and disable coloured debug output if that is the case.
4851 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4853 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4854 (gst_type_find_helper):
4855 The memory returned by gst_type_find_peek() needs to
4856 stay valid until the end of a typefind function, and
4857 typefind functions may keep results from different
4858 offsets around, so we can't just unref the buffer from
4859 the previous _peek(), but have to save all buffers
4860 returned by _peek() until typefinding is done and only
4863 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
4865 * docs/gst/gstreamer-sections.txt:
4867 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
4869 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4871 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4872 Fix a pretty good memleak.
4874 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4876 * gst/gstiterator.h:
4877 Fix wrong include and 'make distcheck'.
4879 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4881 * gst/gstbin.c: (bin_bus_handler):
4882 Use gst_element_post_message() instead.
4884 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4886 * gst/base/gstadapter.h:
4887 * gst/base/gstbasesink.h:
4888 * gst/base/gstbasesrc.h:
4889 * gst/base/gstbasetransform.h:
4890 * gst/base/gstcollectpads.h:
4891 * gst/base/gstpushsrc.h:
4892 * gst/gstiterator.h:
4893 Add padding to our base elements' class and instance structs and
4894 to GstIterator (you will need to rebuild all plugins and apps!)
4896 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4898 * gst/gstbin.c: (bin_bus_handler):
4899 Make default message forwarding from child->bus to bin->bus
4900 threadsafe and make it not emit warnings if the parent has no bus.
4902 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4904 * gst/gstelement.c: (activate_pads):
4905 On paused->ready, set pad->caps to NULL, as is the documented
4906 behaviour in this state change. Fixes playback of series of
4907 media files when visualization is enabled in Totem.
4909 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4911 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4912 Allow NULL as filter-caps (which means "any").
4914 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4916 * docs/libs/gstreamer-libs-sections.txt:
4917 * libs/gst/controller/gst-controller.c:
4918 * libs/gst/controller/gst-controller.h:
4919 * libs/gst/controller/gst-helper.c:
4920 adding more entries to the docs and fix small doc-bugs
4922 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4924 * docs/gst/gstreamer-docs.sgml:
4925 * docs/gst/gstreamer-sections.txt:
4926 * docs/gst/gstreamer.types:
4927 * docs/gst/tmpl/gstbasesink.sgml:
4928 * docs/gst/tmpl/gstbasesrc.sgml:
4929 * docs/gst/tmpl/gstbasetransform.sgml:
4930 * docs/gst/tmpl/gstfakesrc.sgml:
4931 * gst/base/gstcollectpads.c:
4932 * gst/base/gstcollectpads.h:
4933 * libs/gst/controller/gst-controller.c:
4934 * libs/gst/controller/gst-controller.h:
4935 * libs/gst/controller/gst-helper.c:
4936 * libs/gst/controller/gst-interpolation.c:
4937 * libs/gst/controller/lib.c:
4938 added long/short desc for controller docs
4939 added collectpads base class docs
4940 added correct includes to base-class docs
4942 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4944 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4945 (gst_test_mono_source_set_property),
4946 (gst_test_mono_source_class_init), (GST_START_TEST),
4947 (gst_controller_suite):
4948 * docs/gst/gstreamer-docs.sgml:
4949 * docs/gst/gstreamer-sections.txt:
4950 * docs/gst/gstreamer.types:
4951 * docs/libs/gstreamer-libs-docs.sgml:
4952 * docs/libs/gstreamer-libs-sections.txt:
4953 * gst/base/gstadapter.c:
4954 * libs/gst/controller/gst-controller.c:
4955 (gst_controlled_property_new), (gst_controlled_property_free),
4956 (gst_controller_new_valist),
4957 (gst_controller_remove_properties_valist),
4958 (gst_controller_sink_values), (_gst_controller_finalize):
4959 * libs/gst/controller/gst-controller.h:
4960 * libs/gst/controller/gst-helper.c:
4961 (gst_object_control_properties), (gst_object_uncontrol_properties),
4962 (gst_object_get_controller), (gst_object_set_controller),
4963 (gst_object_sink_values), (gst_object_get_value_arrays),
4964 (gst_object_get_value_array):
4965 more tests (and fixes) for the controller
4966 more docs for the controller
4967 integrated companies docs for the adapter
4969 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
4971 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
4972 (GST_START_TEST), (fakesrc_suite):
4973 add tests for sizetype
4975 2005-08-04 Andy Wingo <wingo@pobox.com>
4977 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
4978 fixes buffer_alloc proxying among other things.
4980 * gst/base/gstbasetransform.c:
4981 * gst/base/gstbasetransform.h:
4982 Revert patch to gstbasetransform from 7-28 removing
4985 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
4986 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
4987 Semantics changed, should return not the size of the output buffer
4988 but the byte size of a buffer with a given caps.
4990 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
4992 (gst_base_transform_configure_caps): Don't set out_size here: (in,
4993 out) are not the pad caps until setcaps finishes.
4994 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
4995 not-in-place case as well. Deal with changing from in-place to
4996 not-in-place within calling pad_alloc_buffer. Still a bit
4997 concerned about the overhead here...
4999 2005-08-03 Andy Wingo <wingo@pobox.com>
5001 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5002 fixating is an error.
5004 2005-08-04 Edward Hervey <edward@fluendo.com>
5006 * gst/base/gstadapter.h:
5007 Added gst_adapter_get_type() to the header
5009 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5011 * check/Makefile.am:
5012 * check/gst-libs/controller.c:
5013 * libs/gst/controller/gst-controller.c:
5014 (gst_controller_new_valist):
5015 added check test suite for the controller
5016 * gst/base/gstpushsrc.c:
5019 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5021 * docs/gst/Makefile.am:
5022 * docs/gst/gstreamer-docs.sgml:
5023 * docs/gst/gstreamer-sections.txt:
5024 * docs/gst/gstreamer.types:
5025 * docs/gst/tmpl/gstfakesrc.sgml:
5027 * gst/base/gstbasesink.c:
5028 * gst/base/gstbasesink.h:
5029 * gst/base/gstbasesrc.c:
5030 * gst/base/gstbasesrc.h:
5031 * gst/base/gstbasetransform.c:
5032 * gst/base/gstpushsrc.c:
5033 * gst/base/gstpushsrc.h:
5034 add short/long description docs to base classes
5035 add pushsrc to the docs
5036 remove consolidated doc fragments
5038 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5041 * docs/libs/Makefile.am:
5042 * docs/libs/gstreamer-libs-docs.sgml:
5043 * docs/libs/gstreamer-libs-sections.txt:
5044 * docs/libs/gstreamer-libs.types:
5045 * examples/Makefile.am:
5046 * examples/controller/.cvsignore:
5047 * examples/controller/Makefile.am:
5048 * examples/controller/audio-example.c: (main):
5049 * libs/gst/Makefile.am:
5050 * libs/gst/controller/.cvsignore:
5051 * libs/gst/controller/Makefile.am:
5052 * libs/gst/controller/gst-controller.c:
5053 (on_object_controlled_property_changed), (gst_timed_value_compare),
5054 (gst_timed_value_find),
5055 (gst_controlled_property_set_interpolation_mode),
5056 (gst_controlled_property_new), (gst_controlled_property_free),
5057 (gst_controller_find_controlled_property),
5058 (gst_controller_new_valist), (gst_controller_new),
5059 (gst_controller_remove_properties_valist),
5060 (gst_controller_remove_properties), (gst_controller_set),
5061 (gst_controller_set_from_list), (gst_controller_unset),
5062 (gst_controller_get), (gst_controller_get_all),
5063 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5064 (gst_controller_get_value_array),
5065 (gst_controller_set_interpolation_mode),
5066 (_gst_controller_finalize), (_gst_controller_init),
5067 (_gst_controller_class_init), (gst_controller_get_type):
5068 * libs/gst/controller/gst-controller.h:
5069 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5070 (g_object_uncontrol_properties), (g_object_get_controller),
5071 (g_object_set_controller), (g_object_sink_values),
5072 (g_object_get_value_arrays), (g_object_get_value_array):
5073 * libs/gst/controller/gst-interpolation.c:
5074 (gst_controlled_property_find_timed_value_node),
5075 (interpolate_none_get), (interpolate_trigger_get),
5076 (interpolate_trigger_get_value_array):
5077 * libs/gst/controller/lib.c: (gst_controller_init):
5078 * pkgconfig/Makefile.am:
5079 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5080 * pkgconfig/gstreamer-control.pc.in:
5081 * testsuite/Makefile.am:
5082 * testsuite/controller/.cvsignore:
5083 * testsuite/controller/Makefile.am:
5084 * testsuite/controller/interpolator.c: (main):
5085 added controller code
5086 removed dparam pc files
5088 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5089 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5090 (gst_collectpads_stop):
5091 Broadcast the condition when shutting down, to make sure we wake all
5092 threads up. Shut down pads on finalize, for safety.
5094 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5095 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5096 (gst_base_transform_handle_buffer),
5097 (gst_base_transform_change_state):
5098 Handle PAUSED->READY->PAUSED transition after negotiation
5100 * gst/gstmessage.c: (gst_message_init):
5101 Extra piece of debug for new messages.
5103 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5106 * docs/gst/tmpl/gstbasesrc.sgml:
5107 * docs/gst/tmpl/gstelement.sgml:
5108 * docs/gst/tmpl/gstevent.sgml:
5109 * docs/gst/tmpl/gstfakesrc.sgml:
5110 * docs/gst/tmpl/gstformat.sgml:
5111 * docs/gst/tmpl/gstghostpad.sgml:
5112 * docs/gst/tmpl/gstpad.sgml:
5113 * docs/gst/tmpl/gstquery.sgml:
5114 * docs/gst/tmpl/gststructure.sgml:
5115 * docs/gst/tmpl/gsttaglist.sgml:
5116 * docs/gst/tmpl/gstvalue.sgml:
5117 * docs/libs/gstreamer-libs-docs.sgml:
5118 * docs/libs/gstreamer-libs-sections.txt:
5119 * docs/libs/gstreamer-libs.types:
5120 * libs/gst/Makefile.am:
5121 * libs/gst/control/.cvsignore:
5122 * libs/gst/control/Makefile.am:
5123 * libs/gst/control/control.c:
5124 * libs/gst/control/control.h:
5125 * libs/gst/control/dparam.c:
5126 * libs/gst/control/dparam.h:
5127 * libs/gst/control/dparam_smooth.c:
5128 * libs/gst/control/dparam_smooth.h:
5129 * libs/gst/control/dparamcommon.h:
5130 * libs/gst/control/dparammanager.c:
5131 * libs/gst/control/dparammanager.h:
5132 * libs/gst/control/dplinearinterp.c:
5133 * libs/gst/control/dplinearinterp.h:
5134 * libs/gst/control/unitconvert.c:
5135 * libs/gst/control/unitconvert.h:
5136 * testsuite/Makefile.am:
5137 * testsuite/dynparams/.cvsignore:
5138 * testsuite/dynparams/Makefile.am:
5139 * testsuite/dynparams/dparamstest.c:
5140 * tools/Makefile.am:
5141 * tools/gst-inspect.c: (print_element_info), (main):
5142 * tools/gst-xmlinspect.c: (print_element_info), (main):
5143 deactivate and remove dparams (libgstcontrol)
5145 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5147 * gst/elements/gsttypefindelement.c:
5148 (gst_type_find_element_have_type), (gst_type_find_element_init),
5149 (stop_typefinding), (gst_type_find_element_handle_event),
5150 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5151 * gst/elements/gsttypefindelement.h:
5152 Set caps on all outgoing buffers, not just the first one.
5154 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5156 * gst/elements/gsttypefindelement.c:
5157 (gst_type_find_element_have_type),
5158 (gst_type_find_element_check_set_buffer_caps),
5159 (gst_type_find_element_init), (stop_typefinding),
5160 (gst_type_find_element_handle_event),
5161 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5162 * gst/elements/gsttypefindelement.h:
5163 Set caps on first outgoing buffer when we've found the type.
5165 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5167 * docs/gst/gstreamer-docs.sgml:
5168 * docs/gst/gstreamer-sections.txt:
5169 * docs/gst/tmpl/gstscheduler.sgml:
5170 * docs/gst/tmpl/gstschedulerfactory.sgml:
5171 Remove some old cruft from docs.
5173 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5176 Fix inline docs for GstPadLinkReturn.
5178 * gst/gststructure.c: (gst_structure_has_name):
5179 * gst/gststructure.h:
5180 * docs/gst/gstreamer-sections.txt:
5181 New API: gst_structure_has_name().
5183 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5186 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5187 and _LARGEFILE_SOURCE in config.h as required. Do not
5188 export those flags in our .pc files any longer (#142209).
5190 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5192 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5193 (gst_file_sink_do_seek), (gst_file_sink_event),
5194 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5195 Redo seek/tell calls with large file support in mind; add some
5196 debugging messages; add log message that tells us when large
5197 file support is unavailable or not enabled for some reason.
5199 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5200 Add log message that tells us when large file support
5201 is unavailable or not enabled for some reason.
5203 2005-07-29 Wim Taymans <wim@fluendo.com>
5205 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5206 Added test for removing an element with ghostpad from a bin.
5207 Fixed test as current implementation does the right thing.
5209 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5210 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5211 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5212 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5213 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5214 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5215 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5216 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5217 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5218 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5219 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5220 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5221 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5222 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5223 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5224 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5225 * gst/gstghostpad.h:
5226 Clean up ghostpads, remove properties for internal stuff.
5229 Prepare for switching targets, not all use cases work yet.
5231 2005-07-29 Wim Taymans <wim@fluendo.com>
5233 * docs/design/part-gstghostpad.txt:
5236 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5237 (gst_bin_remove_func):
5238 Unlinking pads while holding the bin LOCK is not a good
5241 * gst/gstpad.c: (gst_pad_class_init),
5242 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5243 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5244 No prob setting template after creating the pad.
5246 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5248 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5249 (gst_bus_peek), (gst_bus_source_dispatch),
5250 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5251 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5252 gst_bus_poll may be called from other threads. Handle
5253 this nicely by not making poll_data disappear off the
5254 stack once gst_bus_poll returns.
5255 gst_bus_peek now increments the refcount on the returned
5258 2005-07-29 Wim Taymans <wim@fluendo.com>
5260 * docs/design/part-gstghostpad.txt:
5261 Overview of current GhostPad datastructures and use
5262 cases for changing the target.
5264 2005-07-28 Wim Taymans <wim@fluendo.com>
5266 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5267 Added checks for hierarchy consistency whan adding linked
5270 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5271 Added check to test element scheduling without bin/pipeline.
5273 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5274 First add elements to bin, then link.
5276 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5277 (gst_bin_remove_func):
5278 Unlink pads from elements added/removed from bin to maintain
5279 hierarchy consistency.
5281 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5283 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5284 (gst_base_transform_handle_buffer):
5285 * gst/base/gstbasetransform.h:
5286 Remove broken delay_configure (fixes renegotiation of software
5287 scaling pipelines); remove some leftover printf()s.
5289 2005-07-28 Wim Taymans <wim@fluendo.com>
5291 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5292 Added some more tests for wrong hierarchy
5294 * docs/design/part-overview.txt:
5297 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5300 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5301 (gst_element_dispose):
5304 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5305 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5306 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5307 (gst_pad_set_caps), (gst_pad_send_event):
5308 Check for correct hierarchy when linking pads. Moving to
5309 strict requirement for ghostpads when linking elements in
5313 Clean ups. Added WRONG_HIERARCHY return value.
5315 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5317 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5318 Better debug if no transform is possible.
5320 2005-07-27 Wim Taymans <wim@fluendo.com>
5322 * docs/random/wtay/network-transp:
5325 2005-07-27 Wim Taymans <wim@fluendo.com>
5327 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5328 (gst_dp_event_from_packet):
5329 Fix serialization of seek events.
5331 2005-07-27 Wim Taymans <wim@fluendo.com>
5333 * check/gst-libs/gdp.c: (GST_START_TEST):
5334 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5335 Fix compilation and fix event serialization.
5337 2005-07-27 Wim Taymans <wim@fluendo.com>
5340 * docs/design/part-TODO.txt:
5341 * docs/design/part-events.txt:
5344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5345 (gst_base_sink_event), (gst_base_sink_do_sync),
5346 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5347 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5348 (gst_base_src_do_seek), (gst_base_src_event_handler),
5349 (gst_base_src_loop):
5350 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5351 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5352 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5353 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5354 (gst_base_transform_set_passthrough),
5355 (gst_base_transform_is_passthrough):
5356 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5357 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5363 * gst/gstelement.c: (gst_element_seek):
5365 Update gst_element_seek.
5367 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5368 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5369 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5370 (gst_event_new_eos), (gst_event_new_newsegment),
5371 (gst_event_parse_newsegment), (gst_event_new_tag),
5372 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5373 (gst_event_parse_qos), (gst_event_new_seek),
5374 (gst_event_parse_seek), (gst_event_new_navigation):
5376 Make GstEvent use GstStructure. Add parsing code, make sure the
5377 API is sufficiently generic.
5378 Mark possible directions of events and serialization.
5380 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5381 (_gst_message_copy), (gst_message_new_segment_start),
5382 (gst_message_new_segment_done), (gst_message_new_custom),
5383 (gst_message_parse_segment_start),
5384 (gst_message_parse_segment_done):
5387 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5388 (gst_pad_set_caps), (gst_pad_send_event):
5389 Update for new events.
5390 Catch events sent in wrong directions.
5392 * gst/gstqueue.c: (gst_queue_link_src),
5393 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5394 (gst_queue_handle_src_query):
5399 Remove event code from this file.
5401 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5402 (gst_dp_event_from_packet):
5405 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5407 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5408 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5409 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5410 Make debugging actually useful.
5412 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5414 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5415 (gst_pad_fixate_caps):
5416 Implement default fixation once again, so that gst_pad_fixate()
5417 actually does anything at all. This probably needs to be some
5418 sort of a last resort, and use profile-based fixation first, but
5419 since that doesn't exist yet, this is the best we have. Fixes
5420 visualization in Totem.
5422 2005-07-22 Wim Taymans <wim@fluendo.com>
5424 * docs/design/part-events.txt:
5427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5428 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5429 (gst_base_sink_activate_pull):
5432 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5433 (gst_fake_src_create):
5434 Fix handoff marshall.
5436 * gst/elements/gstidentity.c: (gst_identity_class_init),
5437 (gst_identity_transform_ip):
5438 We're a real inplace element.
5440 * gst/gstbus.c: (gst_bus_post):
5441 Added some comments.
5443 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5444 * tests/muxing/case1.c: (main):
5445 * tests/sched/dynamic-pipeline.c: (main):
5446 * tests/sched/interrupt1.c: (main):
5447 * tests/sched/interrupt2.c: (main):
5448 * tests/sched/interrupt3.c: (main):
5449 * tests/sched/runxml.c: (main):
5450 * tests/sched/sched-stress.c: (main):
5451 * tests/seeking/seeking1.c: (event_received), (main):
5452 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5454 * tests/threadstate/threadstate3.c: (main):
5455 * tests/threadstate/threadstate4.c: (main):
5456 * tests/threadstate/threadstate5.c: (main):
5459 2005-07-21 Wim Taymans <wim@fluendo.com>
5461 * docs/design/part-seeking.txt:
5462 Some small additions.
5464 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5465 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5466 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5467 * gst/base/gstbasesink.h:
5468 discont values are gint64, handle the math correctly.
5470 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5471 Make the basesrc report error if the source pad is not linked.
5473 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5474 (gst_queue_loop), (gst_queue_handle_src_query),
5475 (gst_queue_src_activate_push):
5476 Make queue collect data even if the srcpad is not linked.
5477 Start pushing out data as soon as it is linked.
5479 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5481 Added gst_flow_get_name() to ease error reporting.
5483 2005-07-20 Wim Taymans <wim@fluendo.com>
5485 * gst/gstmessage.c: (gst_message_new_segment_start),
5486 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5487 (gst_message_parse_segment_done):
5489 Added a bunch of messages for advanced seeking.
5491 * gst/parse/grammar.y:
5492 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5493 (gst_dpman_state_changed):
5494 Fix some new-pad -> pad-added signals
5496 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5498 * docs/manual/appendix-porting.xml:
5499 * docs/pwg/appendix-porting.xml:
5500 Document new-pad/state-change signal renames and the FixedList
5503 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5505 * docs/manual/advanced-autoplugging.xml:
5506 * docs/manual/basics-helloworld.xml:
5507 * docs/manual/basics-pads.xml:
5508 * docs/random/ds/0.9-suggested-changes:
5509 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5514 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5515 (gst_structure_parse_array), (gst_structure_parse_value):
5516 * gst/gstvalue.c: (gst_type_is_fixed),
5517 (gst_value_list_prepend_value), (gst_value_list_append_value),
5518 (gst_value_list_get_size), (gst_value_list_get_value),
5519 (gst_value_transform_array_string), (gst_value_serialize_array),
5520 (gst_value_deserialize_array), (gst_value_intersect_array),
5521 (gst_value_is_fixed), (_gst_value_initialize):
5523 GstElement::new-pad -> pad-added, GstElement::state-change ->
5524 state-changed, GstValueFixedList -> GstValueArray, add format and
5525 flags as their own arguments in gst_element_seek() (should improve
5526 "bindeability"), remove function generators since they don't work
5527 under a whole bunch of compilers (they were deprecated already
5530 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5532 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5533 (_gst_debug_register_funcptr):
5535 Fix illegal cast on some platforms (#309253).
5537 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5539 * gst/gstmessage.c: (gst_message_new_custom):
5541 Add _new_custom, make _new_application a macro to _new_custom.
5543 2005-07-20 Wim Taymans <wim@fluendo.com>
5545 * gst/base/gstbasesrc.c: (gst_base_src_init),
5546 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5547 * gst/base/gstbasesrc.h:
5548 Add a gboolean to decide when to push out a discont.
5550 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5551 (gst_queue_loop), (gst_queue_handle_src_query),
5552 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5553 (gst_queue_set_property), (gst_queue_get_property):
5556 * tests/threadstate/threadstate1.c: (main):
5557 Make a thread test compile and run... very silly..
5560 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5562 * docs/manual/appendix-porting.xml:
5563 Mention removal of libgstgconf-0.9.la and existence of gconf
5566 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5568 * docs/pwg/advanced-clock.xml:
5569 * docs/pwg/appendix-porting.xml:
5570 * docs/pwg/intro-preface.xml:
5571 * docs/pwg/other-base.xml:
5572 * docs/pwg/other-manager.xml:
5573 * docs/pwg/other-nton.xml:
5574 * docs/pwg/other-ntoone.xml:
5575 * docs/pwg/other-oneton.xml:
5577 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5578 demuxer), remove n-to-n (was never written), fix some code examples
5579 and links and update the porting section to include all this.
5581 2005-07-19 Wim Taymans <wim@fluendo.com>
5583 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5584 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5585 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5586 (gst_queue_src_activate_push), (gst_queue_change_state),
5587 (gst_queue_get_property):
5589 Propagate GstFlowReturn more intelligently upstream and output
5590 an ERROR/EOS when streaming stopped due to fatal error.
5592 2005-07-19 Wim Taymans <wim@fluendo.com>
5594 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5595 Don't block forever for the state change to complete, the
5596 pipeline already did with a sensible timeout.
5598 2005-07-19 Wim Taymans <wim@fluendo.com>
5600 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5601 Make sure we never call the create function is we
5604 2005-07-19 Andy Wingo <wingo@pobox.com>
5606 * gst/parse/parse.l: Attempt to solve bug #172815.
5608 2005-07-19 Wim Taymans <wim@fluendo.com>
5610 * docs/design/part-clocks.txt:
5611 * docs/design/part-events.txt:
5612 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5614 Only update the seeking values when we are not
5617 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5619 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5620 Oops, ignore the result of gst_pad_push_event here.
5622 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5624 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5625 (gst_base_src_activate_push):
5626 Send discont event from the loop function, as pads
5627 aren't activated yet in the activate_push handler.
5629 * gst/gstbin.c: (bin_bus_handler):
5630 Don't leak element name.
5632 2005-07-18 Andy Wingo <wingo@pobox.com>
5634 * configure.ac: Use AS_LIBTOOL_TAGS.
5636 2005-07-18 Wim Taymans <wim@fluendo.com>
5638 * docs/gst/gstreamer.types:
5639 Remove deleted types.
5641 2005-07-18 Wim Taymans <wim@fluendo.com>
5643 * check/elements/gstfakesrc.c: (GST_START_TEST):
5646 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5647 (init_popt_callback):
5649 * gst/gst_private.h:
5650 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5651 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5654 * gst/gstconfig.h.in:
5655 * gst/gstelement.c: (gst_element_class_init),
5656 (gst_element_set_base_time), (gst_element_get_base_time),
5657 (iterator_fold_with_resync), (gst_element_change_state),
5658 (gst_element_dispose), (gst_element_get_bus):
5660 * gst/gstelementfactory.h:
5661 * gst/gsterror.c: (_gst_core_errors_init):
5664 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5666 * gst/gstinfo.c: (_gst_debug_init):
5667 * gst/gstmessage.c: (_gst_message_copy):
5669 * gst/gstminiobject.h:
5672 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5673 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5676 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5677 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5678 (gst_pipeline_get_last_stream_time):
5679 * gst/gstpipeline.h:
5680 * gst/gstpluginfeature.h:
5682 * gst/gstscheduler.c:
5683 * gst/gstscheduler.h:
5684 * gst/gststructure.h:
5685 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5686 (gst_task_finalize), (gst_task_func), (gst_task_create),
5687 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5688 (gst_task_stop), (gst_task_pause):
5690 * gst/gsttypefind.h:
5692 * gst/registries/gstlibxmlregistry.c: (load_feature),
5693 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5694 * gst/registries/gstxmlregistry.c:
5695 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5696 * gst/schedulers/threadscheduler.c:
5697 * libs/gst/control/dparammanager.h:
5698 * tools/gst-inspect.c: (print_element_list),
5699 (print_plugin_features), (print_element_features):
5700 * tools/gst-xmlinspect.c: (print_element_list),
5701 (print_plugin_info), (main):
5702 Removed plugable schedulers.
5703 Removed Scheduler/Manager from elements.
5704 Removed gsttypes.h, rearranged includes.
5705 Removed dependency pad<->element, element<>pipeline, and
5706 various others, fix includes.
5707 implement gst_pad_get_parent() with gst_object_get_parent()
5708 Make GstTask sefcontained.
5709 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5711 Fix endless loop in iterator_fold_with_resync.
5714 2005-07-18 Wim Taymans <wim@fluendo.com>
5720 2005-07-18 Wim Taymans <wim@fluendo.com>
5725 2005-07-18 Wim Taymans <wim@fluendo.com>
5731 2005-07-18 Wim Taymans <wim@fluendo.com>
5733 * docs/design/part-dynamic.txt:
5734 * docs/design/part-events.txt:
5735 * docs/design/part-seeking.txt:
5736 Some more docs in the works.
5738 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5739 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5740 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5741 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5742 (gst_base_transform_handle_buffer),
5743 (gst_base_transform_sink_activate_push),
5744 (gst_base_transform_src_activate_pull),
5745 (gst_base_transform_set_passthrough),
5746 (gst_base_transform_is_passthrough):
5749 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5752 * gst/gstevent.c: (gst_event_finalize):
5755 * gst/gstutils.c: (gst_element_unlink),
5756 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5757 (gst_pad_proxy_setcaps):
5759 Add _get_parent_element() to get a pads parent as an element.
5761 2005-07-18 Wim Taymans <wim@fluendo.com>
5763 * check/gst/gstbin.c: (GST_START_TEST):
5766 2005-07-18 Wim Taymans <wim@fluendo.com>
5768 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5769 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5770 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5771 (gst_base_sink_event), (gst_base_sink_do_sync),
5772 (gst_base_sink_chain), (gst_base_sink_loop),
5773 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5774 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5776 Fix logic for returning ASYNC when not prerolled.
5778 2005-07-18 Wim Taymans <wim@fluendo.com>
5780 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5781 Fix nasty refcount bug.
5783 2005-07-16 Philippe Khalaf <burger@speedy.org>
5785 * gst/elements/gstfdsrc.c:
5786 * gst/elements/gstfdsrc.h:
5787 * gst/elements/gstelements.c:
5788 * gst/elements/Makefile.am:
5789 Ported fdsrc to 0.9.
5791 2005-07-16 Wim Taymans <wim@fluendo.com>
5793 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5794 (gst_base_sink_do_sync):
5797 2005-07-16 Wim Taymans <wim@fluendo.com>
5799 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5800 (gst_base_sink_event), (gst_base_sink_get_times),
5801 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5802 * gst/base/gstbasesink.h:
5803 Store and use discont values when syncing buffers as described
5806 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5807 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5808 (gst_base_src_activate_push):
5809 Push discont event when starting.
5811 * gst/elements/gstidentity.c: (gst_identity_transform):
5814 * gst/gstbin.c: (gst_bin_change_state):
5815 Small cleanups in base_time distribution.
5817 * gst/gstelement.c: (gst_element_set_base_time),
5818 (gst_element_get_base_time), (gst_element_change_state):
5820 Added methods for the base_time of the element.
5823 * gst/gstpipeline.c: (gst_pipeline_send_event),
5824 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5825 (gst_pipeline_get_last_stream_time):
5826 * gst/gstpipeline.h:
5828 Handle seeking as described in design doc, remove stream_time
5830 Cleanups clock and stream_time selection code. Added accessors
5831 for the stream_time.
5834 2005-07-16 Andy Wingo <wingo@pobox.com>
5836 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
5839 2005-07-16 Wim Taymans <wim@fluendo.com>
5841 * check/gst/gstbin.c: (GST_START_TEST):
5842 Make elements silent as the deep_notify refs the
5843 parent, which might make the test fail.
5845 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5846 Don't hold the lock for too long.
5848 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
5850 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5851 Don't unref the caps we passed to gst_caps_make_writable() after
5852 passing them. gst_caps_make_writable() will do that for us.
5854 2005-07-15 Andy Wingo <wingo@pobox.com>
5856 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
5859 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
5860 own marshalling function for the handoff signal. Properly type the
5861 buffer as a buffer. Fixes some warnings. Should do a more general
5863 (gst_identity_class_init): Plug into the right marshaller.
5865 2005-07-15 Wim Taymans <wim@fluendo.com>
5867 * docs/design/part-TODO.txt:
5868 * docs/design/part-clocks.txt:
5869 * docs/design/part-element-sink.txt:
5870 * docs/design/part-events.txt:
5871 * docs/design/part-gstpipeline.txt:
5872 Updated docs, mostly DISCONT related.
5874 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
5876 * docs/pwg/building-pads.xml:
5877 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
5879 2005-07-15 Andy Wingo <wingo@pobox.com>
5881 * tools/gst-typefind.c: Update, add copyright block.
5883 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
5884 Normalize and truncate caps before fixation.
5887 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
5888 discards all but the first structure from its argument.
5890 2005-07-15 Wim Taymans <wim@fluendo.com>
5892 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5893 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
5894 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5895 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5896 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
5897 (gst_base_transform_chain), (gst_base_transform_change_state),
5898 (gst_base_transform_set_passthrough),
5899 (gst_base_transform_is_passthrough):
5900 * gst/base/gstbasetransform.h:
5901 Make passthrough work using the bufferpools.
5902 Changed API a bit, subclasses have to write into a buffer
5903 provided by the base class.
5904 More debug info in nego functions.
5906 * gst/elements/gstidentity.c: (gst_identity_init),
5907 (gst_identity_transform):
5908 Port to new base class.
5910 2005-07-15 Wim Taymans <wim@fluendo.com>
5912 * gst/gstmessage.c: (gst_message_new_state_changed):
5913 * tools/gst-launch.c: (event_loop), (main):
5914 Totally dump messages in -launch with the -m option.
5915 Fix message name for State messages,
5917 2005-07-14 Wim Taymans <wim@fluendo.com>
5919 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5920 Post error messages on errors.
5922 2005-07-14 Wim Taymans <wim@fluendo.com>
5924 * gst/gstcaps.c: (gst_caps_do_simplify):
5928 Define error for stream stopped.
5930 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5931 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5932 Do proper return values.
5934 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5935 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5936 (gst_pad_get_range):
5937 Better return values.
5940 Reorganise return values, add macro to check for fatal errors.
5942 * gst/gstqueue.c: (gst_queue_chain):
5943 Return proper GstFlowReturn values,
5945 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5947 * docs/gst/gstreamer-sections.txt:
5948 * docs/gst/gstreamer.types:
5949 * docs/gst/tmpl/gst.sgml:
5950 * docs/gst/tmpl/gstbasesink.sgml:
5951 * docs/gst/tmpl/gstbasesrc.sgml:
5952 * docs/gst/tmpl/gstbasetransform.sgml:
5953 * docs/gst/tmpl/gstbin.sgml:
5954 * docs/gst/tmpl/gstbuffer.sgml:
5955 * docs/gst/tmpl/gstcaps.sgml:
5956 * docs/gst/tmpl/gstclock.sgml:
5957 * docs/gst/tmpl/gstcompat.sgml:
5958 * docs/gst/tmpl/gstconfig.sgml:
5959 * docs/gst/tmpl/gstelement.sgml:
5960 * docs/gst/tmpl/gstelementdetails.sgml:
5961 * docs/gst/tmpl/gstelementfactory.sgml:
5962 * docs/gst/tmpl/gstenumtypes.sgml:
5963 * docs/gst/tmpl/gsterror.sgml:
5964 * docs/gst/tmpl/gstevent.sgml:
5965 * docs/gst/tmpl/gstfakesink.sgml:
5966 * docs/gst/tmpl/gstfakesrc.sgml:
5967 * docs/gst/tmpl/gstfilesink.sgml:
5968 * docs/gst/tmpl/gstfilesrc.sgml:
5969 * docs/gst/tmpl/gstfilter.sgml:
5970 * docs/gst/tmpl/gstformat.sgml:
5971 * docs/gst/tmpl/gstghostpad.sgml:
5972 * docs/gst/tmpl/gstimplementsinterface.sgml:
5973 * docs/gst/tmpl/gstindex.sgml:
5974 * docs/gst/tmpl/gstindexfactory.sgml:
5975 * docs/gst/tmpl/gstinfo.sgml:
5976 * docs/gst/tmpl/gstiterator.sgml:
5977 * docs/gst/tmpl/gstmacros.sgml:
5978 * docs/gst/tmpl/gstmemchunk.sgml:
5979 * docs/gst/tmpl/gstminiobject.sgml:
5980 * docs/gst/tmpl/gstobject.sgml:
5981 * docs/gst/tmpl/gstpad.sgml:
5982 * docs/gst/tmpl/gstpadtemplate.sgml:
5983 * docs/gst/tmpl/gstparse.sgml:
5984 * docs/gst/tmpl/gstpipeline.sgml:
5985 * docs/gst/tmpl/gstplugin.sgml:
5986 * docs/gst/tmpl/gstpluginfeature.sgml:
5987 * docs/gst/tmpl/gstquery.sgml:
5988 * docs/gst/tmpl/gstqueue.sgml:
5989 * docs/gst/tmpl/gstregistry.sgml:
5990 * docs/gst/tmpl/gstregistrypool.sgml:
5991 * docs/gst/tmpl/gstscheduler.sgml:
5992 * docs/gst/tmpl/gstschedulerfactory.sgml:
5993 * docs/gst/tmpl/gststructure.sgml:
5994 * docs/gst/tmpl/gstsystemclock.sgml:
5995 * docs/gst/tmpl/gsttaglist.sgml:
5996 * docs/gst/tmpl/gsttagsetter.sgml:
5997 * docs/gst/tmpl/gsttrace.sgml:
5998 * docs/gst/tmpl/gsttrashstack.sgml:
5999 * docs/gst/tmpl/gsttypefind.sgml:
6000 * docs/gst/tmpl/gsttypefindfactory.sgml:
6001 * docs/gst/tmpl/gsttypes.sgml:
6002 * docs/gst/tmpl/gsturihandler.sgml:
6003 * docs/gst/tmpl/gsturitype.sgml:
6004 * docs/gst/tmpl/gstutils.sgml:
6005 * docs/gst/tmpl/gstvalue.sgml:
6006 * docs/gst/tmpl/gstversion.sgml:
6007 * docs/gst/tmpl/gstxml.sgml:
6008 * docs/libs/tmpl/gstcontrol.sgml:
6009 * docs/libs/tmpl/gstdataprotocol.sgml:
6010 * docs/libs/tmpl/gstdparam.sgml:
6011 * docs/libs/tmpl/gstdplinint.sgml:
6012 * docs/libs/tmpl/gstdpman.sgml:
6013 * docs/libs/tmpl/gstdpsmooth.sgml:
6014 * docs/libs/tmpl/gstgetbits.sgml:
6015 * docs/libs/tmpl/gstunitconvert.sgml:
6016 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6017 (gst_push_src_base_init), (gst_push_src_class_init),
6018 (gst_push_src_init), (gst_push_src_create):
6019 * gst/base/gstpushsrc.h:
6020 * gst/elements/gstelements.c:
6021 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6022 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6023 (gst_fake_sink_init), (gst_fake_sink_set_property),
6024 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6025 (gst_fake_sink_event), (gst_fake_sink_preroll),
6026 (gst_fake_sink_render), (gst_fake_sink_change_state):
6027 * gst/elements/gstfakesink.h:
6028 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6029 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6030 (gst_fake_src_base_init), (gst_fake_src_class_init),
6031 (gst_fake_src_init), (gst_fake_src_event_handler),
6032 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6033 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6034 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6035 (gst_fake_src_create_buffer), (gst_fake_src_create),
6036 (gst_fake_src_start), (gst_fake_src_stop):
6037 * gst/elements/gstfakesrc.h:
6038 * gst/elements/gstfilesink.c: (_do_init),
6039 (gst_file_sink_base_init), (gst_file_sink_class_init),
6040 (gst_file_sink_init), (gst_file_sink_dispose),
6041 (gst_file_sink_set_location), (gst_file_sink_set_property),
6042 (gst_file_sink_get_property), (gst_file_sink_open_file),
6043 (gst_file_sink_close_file), (gst_file_sink_query),
6044 (gst_file_sink_event), (gst_file_sink_render),
6045 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6046 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6047 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6048 * gst/elements/gstfilesink.h:
6049 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6050 (gst_file_src_class_init), (gst_file_src_init),
6051 (gst_file_src_finalize), (gst_file_src_set_location),
6052 (gst_file_src_set_property), (gst_file_src_get_property),
6053 (gst_file_src_map_region), (gst_file_src_map_small_region),
6054 (gst_file_src_create_mmap), (gst_file_src_create_read),
6055 (gst_file_src_create), (gst_file_src_is_seekable),
6056 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6057 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6058 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6059 (gst_file_src_uri_handler_init):
6060 * gst/elements/gstfilesrc.h:
6061 more autistic cleanliness in functions/names/defines
6063 2005-07-13 Andy Wingo <wingo@pobox.com>
6065 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6066 source couldn't negotiate.
6068 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6072 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6073 function. I am channeling Hades. Put your boots on suckers!!!
6075 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6077 * testsuite/caps/Makefile.am:
6078 * testsuite/caps/value_compare.c:
6079 * testsuite/caps/value_intersect.c:
6080 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6081 move two testsuite apps over to the check dir
6083 2005-07-12 Wim Taymans <wim@fluendo.com>
6085 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6086 Added more debug info in the negotiate process.
6089 Prepare for segment playback.
6091 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6097 * tools/gst-launch.c: (main):
6098 NULL pipeline on errors.
6100 2005-07-12 Andy Wingo <wingo@pobox.com>
6102 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6103 not it comes from a malloc region. Make sure our copy gets freed.
6105 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6107 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6108 * check/gst/gstmessage.c: (GST_START_TEST):
6109 * check/gst/gststructure.c: (GST_START_TEST),
6110 (gst_structure_suite), (main):
6112 * gst/gstelement.c: (gst_element_message_full):
6113 clean up GError and debug string now that they get copied
6114 * gst/gstmessage.c: (gst_message_new_error),
6115 (gst_message_new_warning), (gst_message_parse_error),
6116 (gst_message_parse_warning):
6117 use GST_TYPE_G_ERROR for structure_new, and take copies of
6118 arguments, so that we don't mess up refcounting
6120 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6122 * check/Makefile.am:
6123 add per-test valgrind targets
6124 * check/gst-libs/gdp.c: (GST_START_TEST),
6125 (gst_data_protocol_suite), (main):
6128 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6130 * check/Makefile.am:
6131 instate more valgrindable tests
6132 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6133 (GST_START_TEST), (fakesrc_suite):
6134 * check/gst/gstpad.c: (GST_START_TEST):
6135 * check/gst/gststructure.c: (GST_START_TEST):
6137 * docs/gst/tmpl/gstminiobject.sgml:
6138 * gst/gstpad.c: (gst_pad_finalize):
6139 fix the static mutex leak
6141 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6143 * check/Makefile.am:
6144 add two more tests for valgrinding
6145 * check/gst/gstvalue.c: (GST_START_TEST):
6146 test refcount of deserialized buffer, found a leak
6147 * docs/gst/gstreamer-docs.sgml:
6148 * docs/gst/gstreamer-sections.txt:
6149 * docs/gst/gstreamer.types:
6150 * docs/gst/tmpl/gstminiobject.sgml:
6151 add miniobject to docs
6152 * gst/gstminiobject.c:
6154 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6155 (gst_string_unwrap):
6156 fix a hard-to-find invalid write for one of the tests
6157 fix a leak for deserialized buffers
6159 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6161 * docs/pwg/advanced-events.xml:
6162 * docs/pwg/advanced-request.xml:
6163 * docs/pwg/advanced-scheduling.xml:
6164 * docs/pwg/appendix-porting.xml:
6165 * docs/pwg/building-boiler.xml:
6166 * docs/pwg/intro-preface.xml:
6167 * docs/pwg/other-ntoone.xml:
6168 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6169 of example code and explanation for pad activation, loop() and
6170 getrange() functions and a bit more. Remove old comments pointing
6172 * examples/pwg/Makefile.am:
6173 Add loop/getrange examples.
6175 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6178 check for valgrind binary + some fixes
6180 valgrind suppressions for the tests
6181 * check/Makefile.am:
6182 add a valgrind: target that valgrinds the unit tests
6183 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6184 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6185 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6186 * check/gst/gstghostpad.c:
6188 * check/gst/gstdata.c:
6190 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6191 (thread_unref), (gst_mini_object_suite), (main):
6193 * gst/gst.c: (gst_deinit):
6195 add a method to clean up.
6196 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6197 (gst_system_clock_obtain):
6198 allow for disposing the system clock.
6199 * tools/gst-launch.c: (main):
6202 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6204 * docs/gst/tmpl/gstbasesrc.sgml:
6205 * docs/gst/tmpl/gstfakesrc.sgml:
6206 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6207 (gst_base_src_init), (gst_base_src_set_property),
6208 (gst_base_src_get_property), (gst_base_src_get_range),
6209 (gst_base_src_start):
6210 * gst/base/gstbasesrc.h:
6211 add num-buffers property
6212 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6213 (gst_fakesrc_init), (gst_fakesrc_set_property),
6214 (gst_fakesrc_get_property), (gst_fakesrc_create),
6215 (gst_fakesrc_start):
6216 remove num-buffers property
6218 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6220 * docs/gst/gstreamer-sections.txt:
6221 * docs/gst/tmpl/gstbasesink.sgml:
6222 * docs/gst/tmpl/gstbasesrc.sgml:
6223 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6224 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6225 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6226 (gst_base_sink_set_property), (gst_base_sink_get_property),
6227 (gst_base_sink_handle_object), (gst_base_sink_event),
6228 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6229 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6230 (gst_base_sink_loop), (gst_base_sink_deactivate),
6231 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6232 (gst_base_sink_change_state):
6233 * gst/base/gstbasesink.h:
6234 * gst/base/gstbasesrc.h:
6235 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6236 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6237 (gst_filesink_init):
6238 more macro splitting
6240 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6242 * gst/gstelement.c: (gst_element_get_bus):
6244 * tools/gst-launch.c: (check_intr), (event_loop):
6247 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6249 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6252 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6254 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6255 (gst_base_src_finalize):
6256 add finalize method and clean up properly
6257 * gst/gstpipeline.c: (gst_pipeline_dispose):
6260 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6262 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6264 add more things to check
6265 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6269 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6271 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6272 (GST_START_TEST), (fakesrc_suite):
6273 * check/gst-libs/gdp.c: (GST_START_TEST):
6274 * check/gst/gst.c: (GST_START_TEST):
6275 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6276 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6277 * check/gst/gstbus.c: (GST_START_TEST):
6278 * check/gst/gstcaps.c: (GST_START_TEST):
6279 * check/gst/gstdata.c: (GST_START_TEST):
6280 * check/gst/gstelement.c: (GST_START_TEST):
6281 * check/gst/gstghostpad.c: (GST_START_TEST):
6282 * check/gst/gstiterator.c: (GST_START_TEST):
6283 * check/gst/gstmessage.c: (GST_START_TEST):
6284 * check/gst/gstobject.c: (GST_START_TEST):
6285 * check/gst/gstpad.c: (GST_START_TEST):
6286 * check/gst/gststructure.c: (GST_START_TEST):
6287 * check/gst/gstsystemclock.c: (GST_START_TEST),
6288 (gst_systemclock_suite):
6289 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6290 * check/gst/gstvalue.c: (GST_START_TEST):
6291 * check/pipelines/cleanup.c: (GST_START_TEST):
6292 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6293 * check/states/sinks.c: (GST_START_TEST):
6294 * check/gstcheck.c: (gst_check_init):
6296 add debugging category
6297 use GST_START_TEST now, so we add a debug line
6299 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6301 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6302 add test for state change message on a bin
6303 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6305 * gst/gstbin.c: (gst_bin_init):
6306 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6307 * gst/gstelement.c: (gst_element_post_message),
6308 (gst_element_set_state):
6309 * gst/gstelementfactory.c: (gst_element_factory_create):
6310 * gst/gstmessage.c: (gst_message_new):
6311 * gst/gstscheduler.c:
6312 various debugging additions and cleanups
6314 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6316 * check/Makefile.am:
6317 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6319 adding tests for elements
6320 * gst/gstelement.c: (gst_element_dispose):
6322 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6324 * gst/registries/gstlibxmlregistry.c: (load_feature):
6325 plug more leaks. A simple gst_init() now is leakfree, yay.
6327 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6329 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6330 (gst_xml_registry_load):
6331 plug another memleak
6333 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6336 use GST_SET_ERROR_CFLAGS
6338 change to ERROR_CFLAGS
6340 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6343 make GST_ERROR_CFLAGS overridable and re-enable Werror
6345 add a note about error CFLAGS
6346 * docs/gst/tmpl/gstfakesrc.sgml:
6347 * gst/elements/gstfakesrc.c:
6348 comment out some unused code
6349 * gst/gst.c: (split_and_iterate):
6350 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6354 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6356 * common/Makefile.am:
6357 * common/gtk-doc.mak:
6358 * docs/gst/Makefile.am:
6359 factor out gtk-doc.mak
6361 2005-07-07 Wim Taymans <wim@fluendo.com>
6363 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6364 (gst_thread_scheduler_dispose):
6365 Unlock the STREAM_LOCK completely.
6367 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6369 * check/Makefile.am:
6370 * check/elements/.cvsignore:
6371 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6372 (START_TEST), (fakesrc_suite), (main):
6373 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6374 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6375 (gst_fakesrc_create), (gst_fakesrc_start):
6376 * gst/elements/gstfakesrc.h:
6377 adding a first element test
6379 2005-07-07 Andy Wingo <wingo@pobox.com>
6381 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6384 2005-07-07 Wim Taymans <wim@fluendo.com>
6390 2005-07-07 Wim Taymans <wim@fluendo.com>
6392 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6393 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6394 Allow subclasses to implement their own negotiation.
6396 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6398 * docs/design/part-gstbin.txt:
6399 * docs/design/part-gstpipeline.txt:
6400 Update design notes to reflect the movement of
6401 responsibility for bus handling from GstPipeline to
6404 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6407 Remove unnecessary queue2/3/4 examples.
6409 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6411 * examples/Makefile.am:
6412 * examples/helloworld/helloworld.c: (event_loop), (main):
6413 * examples/queue/queue.c: (event_loop), (main):
6414 * examples/queue2/queue2.c: (main):
6415 Update a couple of the examples to work again.
6417 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6418 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6419 Spelling corrections and extra debug.
6421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6422 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6423 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6425 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6426 (gst_pipeline_change_state):
6427 * gst/gstpipeline.h:
6428 Move the bus handler for children to the GstBin, and create a
6429 separate bus for receiving messages from children to the one the
6430 bus sends 'upwards' on.
6432 2005-07-06 Wim Taymans <wim@fluendo.com>
6435 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6436 (gst_base_sink_handle_object), (gst_base_sink_loop),
6437 (gst_base_sink_change_state):
6438 * gst/base/gstbasesink.h:
6439 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6440 (gst_base_src_init), (gst_base_src_setcaps),
6441 (gst_base_src_getcaps), (gst_base_src_loop),
6442 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6443 (gst_base_src_start), (gst_base_src_change_state):
6444 * gst/base/gstbasesrc.h:
6445 Make basesrc negotiate.
6446 Handle the case where preroll fails in basesink.
6449 2005-07-06 Wim Taymans <wim@fluendo.com>
6451 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6452 Implement the fixate function.
6453 Clean up acceptcaps.
6455 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6457 * docs/pwg/building-filterfactory.xml:
6459 Remove never-written filter-factory chapter; I'll add the various
6460 base classes to part 4 ("other element types") later on.
6462 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6464 * docs/pwg/advanced-negotiation.xml:
6465 * docs/pwg/building-boiler.xml:
6466 * docs/pwg/building-pads.xml:
6468 * examples/pwg/Makefile.am:
6469 Add a chapter on caps negotiation, simplify the original code
6470 samples a bit w.r.t. caps negotiation, add link to the advanced
6471 section. Add a bunch of examples showing different use cases of
6472 different types of caps negotiation. Upstream renegotiation isn't
6473 fully documented yet since nobody knows how that works.
6475 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6477 * check/gst/gstpad.c:
6479 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6480 if pad has no parent, return NULL as list of internal links
6482 2005-07-05 Andy Wingo <wingo@pobox.com>
6484 * gst/elements/gstfilesrc.c:
6485 * gst/elements/gstfakesrc.c:
6486 * gst/base/gstpushsrc.c:
6487 * gst/base/gstbasesrc.h:
6488 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6490 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6493 better report generation target (lcov needs a patch)
6495 2005-07-05 Andy Wingo <wingo@pobox.com>
6497 * gst/elements, testsuite: Null if we got it...
6499 2005-07-05 Wim Taymans <wim@fluendo.com>
6502 * libs/gst/dataprotocol/Makefile.am:
6503 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6504 * libs/gst/dataprotocol/dataprotocol.h:
6505 * pkgconfig/Makefile.am:
6506 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6507 * pkgconfig/gstreamer-dataprotocol.pc.in:
6508 Ported dataprotol to 0.9.
6509 Added pkgconfig files.
6511 2005-07-05 Andy Wingo <wingo@pobox.com>
6513 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6514 Default to returning TRUE for the case when tranform_caps returns
6515 a fixed caps, like for identity or volume.
6517 * check/gst/gstbus.c (pound_bus_with_messages):
6518 * check/gst/gstmessage.c (START_TEST):
6519 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6522 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6523 logic weaks here: always run transform_caps, trying passthrough
6524 operation only if the original caps intersects with the transform.
6526 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6527 source and sink caps.
6529 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6530 Intersect the peer caps with the pad template before going into
6532 (gst_base_transform_transform_caps): More debugging.
6534 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6537 2005-07-04 Edward Hervey <edward@fluendo.com>
6541 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6544 2005-07-04 Andy Wingo <wingo@pobox.com>
6546 * check/gst/gstpad.c: Only set explicit caps on pads.
6548 2005-07-01 Andy Wingo <wingo@pobox.com>
6550 * tests/network-clock.scm: Commentary update.
6552 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6553 Didn't really make sense, not implementable with basetransform,
6555 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6556 attempt at implementing the sync property, needs an unlock method.
6558 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6559 New func, by default returns the same caps (the identity
6561 (gst_base_transform_getcaps): Uses transform_caps to return
6563 (gst_base_transform_setcaps): Complicated logic to get caps on
6564 both pads, even if they are different, and to call set_caps once
6565 for every time both pads get their caps set.
6566 (gst_base_transform_handle_buffer): Give the ref to the transform
6567 function. Allows in-place modification of the buffer.
6569 * gst/base/gstbasetransform.h (transform_caps): New class method.
6570 Given caps on one side, what can I do on the other.
6571 (set_caps): Take two caps, one for each side of the element.
6574 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6575 caps in place. This is safe because we can check the mutability of
6576 the caps, and a good idea because fixate functions are just called
6577 as a matter of last resort. (Not actually implemented.)
6578 (gst_pad_set_caps): If the caps we're setting is actually the same
6579 as the existing pad caps, just update the pointer without calling
6580 setcaps. Assert that caps is either NULL or fixed, as per the
6583 * gst/gstghostpad.c: Update for fixate changes.
6585 2005-07-02 Andy Wingo <wingo@pobox.com>
6588 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6589 two refcounts makes it immutable, which is enough. Doc more.
6591 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6593 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6594 Put the mini_object into GValue as a mini_object,
6595 not a gpointer, since that's how we declared
6598 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6600 * examples/pwg/Makefile.am:
6603 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6605 * docs/pwg/building-testapp.xml:
6607 * examples/pwg/Makefile.am:
6610 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6613 * examples/Makefile.am:
6614 * examples/pwg/Makefile.am:
6615 * examples/pwg/extract.pl:
6616 Enable building the PWG examples.
6617 * docs/pwg/advanced-interfaces.xml:
6618 Add URI interface stub.
6619 * docs/pwg/advanced-types.xml:
6620 * docs/pwg/other-autoplugger.xml:
6621 * docs/pwg/appendix-porting.xml:
6623 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6624 * docs/pwg/building-boiler.xml:
6625 * docs/pwg/building-chainfn.xml:
6626 * docs/pwg/building-pads.xml:
6627 * docs/pwg/building-props.xml:
6628 * docs/pwg/building-state.xml:
6629 * docs/pwg/building-testapp.xml:
6630 Update the building-*.xml parts for 0.9 changes. All examples
6631 code blocks compile in examples/pwg/*.
6633 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6635 * docs/manual/advanced-autoplugging.xml:
6636 * docs/manual/appendix-checklist.xml:
6637 * docs/manual/appendix-integration.xml:
6638 * docs/manual/highlevel-components.xml:
6639 Fix playbin/decodebin examples, update docs a bit, mention bus
6640 instead of signals in various places, mention kmplayer and
6641 kaffeine since they have a working GStreamer backend in the KDE
6644 2005-06-30 Wim Taymans <wim@fluendo.com>
6647 * docs/design/draft-ghostpads.txt:
6648 * docs/design/draft-push-pull.txt:
6649 * docs/design/draft-query.txt:
6650 * docs/design/part-TODO.txt:
6651 * docs/design/part-query.txt:
6652 Added CHANGES-0.9 doc, updated status of other docs.
6657 2005-06-30 Wim Taymans <wim@fluendo.com>
6659 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6660 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6661 (gst_base_sink_change_state):
6662 * gst/base/gstbasesink.h:
6663 Some tweaks, only EOS and a buffer complete a preroll.
6665 2005-06-30 Andy Wingo <wingo@pobox.com>
6667 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6668 activate_push down to the internal pad as well.
6670 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6672 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6674 * gst/gsttaginterface.c:
6675 Some documentation fixes (#307394 and #307397).
6677 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6679 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6681 * gst/gstvalue.c: (gst_value_intersect_list):
6682 Fix memleak (#309125).
6684 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6686 * docs/manual/advanced-dataaccess.xml:
6687 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6688 * docs/manual/basics-pads.xml:
6689 Add reference for filtered caps to above chapter.
6691 2005-06-30 Wim Taymans <wim@fluendo.com>
6693 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6694 (gst_bin_change_state):
6696 Lame attempt at making the state change function a bit
6699 2005-06-30 Wim Taymans <wim@fluendo.com>
6701 * docs/design/part-clocks.txt:
6702 * docs/design/part-element-sink.txt:
6703 * docs/design/part-events.txt:
6704 * docs/design/part-preroll.txt:
6705 * docs/design/part-states.txt:
6706 Some more tweeks and additions to the docs.
6708 2005-06-30 Wim Taymans <wim@fluendo.com>
6710 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6711 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6712 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6713 (gst_pad_check_pull_range), (gst_pad_get_range),
6714 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6716 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6717 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6718 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6719 (gst_pad_remove_buffer_probe):
6720 Removed atomic operations, use existing LOCK.
6721 Move exception handling out of main code path.
6723 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6725 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6726 (silly_return_true_function), (gst_pad_class_init),
6727 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6728 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6729 (gst_pad_send_event):
6730 Fix accumulator, add default value by using _emitv() instead
6731 of _emit() for signal emission.
6733 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6735 * docs/manual/advanced-dataaccess.xml:
6736 * examples/manual/Makefile.am:
6738 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6741 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6743 * gst/elements/gstfilesink.c: (gst_filesink_render):
6744 Simplify code so that we don't have to handle short
6745 writes and return GST_FLOW_ERROR if an error occured.
6747 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6749 * docs/gst/gstreamer-docs.sgml:
6752 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6754 * docs/gst/gstreamer-sections.txt:
6755 * docs/gst/tmpl/gstpad.sgml:
6756 * docs/gst/tmpl/gstprobe.sgml:
6758 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6759 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6760 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6761 (gst_pad_push_event), (gst_pad_send_event):
6763 * gst/gstutils.c: (gst_pad_add_data_probe),
6764 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6765 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6766 (gst_pad_remove_buffer_probe):
6768 Remove old probes, add new g-signal-based probes and some utility
6771 2005-06-29 Edward Hervey <edward@fluendo.com>
6773 * gst/gstelementfactory.c:
6776 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6777 the definition to the header file.
6779 2005-06-29 Andy Wingo <wingo@pobox.com>
6781 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6782 plugins from the source directory.
6784 2005-06-29 Wim Taymans <wim@fluendo.com>
6786 * docs/gst/tmpl/gstbuffer.sgml:
6787 * docs/gst/tmpl/gstclock.sgml:
6788 Some fixings for blantently wrong text.
6790 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6792 * check/Makefile.am:
6793 * gst/gst.c: (add_path_func), (init_pre):
6794 * gst/gstregistry.c: (gst_registry_add_path):
6795 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6796 only scan the GST_PLUGIN_PATH locations, and not add
6799 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6801 * docs/gst/gstreamer-sections.txt:
6802 * docs/gst/tmpl/gstbasesrc.sgml:
6809 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6811 * docs/manual/advanced-autoplugging.xml:
6812 Fix autoplugging example.
6814 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6816 * docs/manual/advanced-autoplugging.xml:
6817 * docs/manual/mime-world.fig:
6818 Try to get autoplugging working, fix type detection. Fix text
6819 in hello-world image.
6821 2005-06-29 Wim Taymans <wim@fluendo.com>
6823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6824 (gst_base_sink_change_state):
6828 map SIGNAL and BROADCAST to the right function.
6831 Remove redundant braces.
6833 * gst/gstpad.c: (gst_pad_set_caps):
6834 Don't call setcaps function when reseting caps to NULL.
6836 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6837 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
6838 (gst_system_clock_id_unschedule):
6839 Use BROADCAST as this is what we do.
6841 2005-06-29 Wim Taymans <wim@fluendo.com>
6843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6844 We are actually prerolling before commiting the state
6847 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6849 * docs/manual/advanced-clocks.xml:
6850 * docs/manual/advanced-interfaces.xml:
6851 * docs/manual/advanced-metadata.xml:
6852 * docs/manual/advanced-position.xml:
6853 * docs/manual/advanced-schedulers.xml:
6854 * docs/manual/advanced-threads.xml:
6855 * docs/manual/appendix-porting.xml:
6856 * docs/manual/basics-bins.xml:
6857 * docs/manual/basics-bus.xml:
6858 * docs/manual/basics-elements.xml:
6859 * docs/manual/basics-helloworld.xml:
6860 * docs/manual/basics-pads.xml:
6861 * docs/manual/highlevel-components.xml:
6862 * docs/manual/manual.xml:
6863 * docs/manual/thread.fig:
6864 Update (until threads/scheduling) Application Development Manual;
6865 remove GstThread, add GstBus, add simple porting checklist, add
6866 documentation for tag writing, clocks, make all examples until this
6867 part compile and run.
6868 * examples/manual/Makefile.am:
6869 Update from changes to Application Development Manual; add bus
6870 example, remove thread example.
6872 2005-06-28 Wim Taymans <wim@fluendo.com>
6874 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
6875 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
6876 (gst_bus_source_dispatch):
6877 Add debugging messages.
6878 Make internal methods static.
6879 Handle the case where the bus is flushed in the handler.
6881 * gst/gstelement.c: (gst_element_get_bus):
6882 Fix refcount in _get_bus();
6884 * gst/gstpipeline.c: (gst_pipeline_change_state),
6885 (gst_pipeline_get_clock_func):
6886 Clock refcounting fixes.
6887 Handle the case where preroll timed out more gracefully.
6889 * gst/gstsystemclock.c: (gst_system_clock_dispose):
6890 Clean up the internal thread in dispose. This is needed
6891 for subclasses that actually get disposed.
6893 * gst/schedulers/threadscheduler.c:
6894 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6895 (gst_thread_scheduler_dispose):
6896 Free thread pool in dispose.
6898 2005-06-28 Andy Wingo <wingo@pobox.com>
6900 * tests/network-clock-utils.scm (debug, print-event): New utils.
6902 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
6903 (*packet-loss*): Unified loss probability.
6904 (network-time): Report out-of-band events.
6906 * tests/plot-data: Add support for out-of-band events. Hack it
6907 into this script instead of passing it down the pipe; should fix
6910 2005-06-28 Wim Taymans <wim@fluendo.com>
6912 * docs/gst/gstreamer.types:
6913 * docs/gst/tmpl/gstbasesrc.sgml:
6914 * docs/gst/tmpl/gstpad.sgml:
6917 2005-06-28 Wim Taymans <wim@fluendo.com>
6919 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6920 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6921 (gst_proxy_pad_do_fixatecaps):
6922 Correctly proxy the check_pull_range function.
6924 2005-06-28 Andy Wingo <wingo@pobox.com>
6926 * tests/network-clock.scm: Removed need for slib.
6928 2005-06-28 Wim Taymans <wim@fluendo.com>
6930 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6931 (gst_basesink_preroll_queue_flush):
6932 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6933 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6934 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6935 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6936 (gst_proxy_pad_set_property):
6939 * gst/gstqueue.c: (gst_queue_init):
6940 The deprecated pad loop function is removed now.
6942 2005-06-28 Andy Wingo <wingo@pobox.com>
6944 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6945 New parameters, simulate network packet loss.
6947 * tests/network-clock-utils.scm: Initialize the RNG.
6949 2005-06-28 Wim Taymans <wim@fluendo.com>
6951 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6952 (gst_basesink_event), (gst_basesink_deactivate):
6953 Flushing the preroll queue always needs to unlock the waiters.
6955 2005-06-28 Edward Hervey <edward@fluendo.com>
6957 * gst/gstpipeline.c: (gst_pipeline_send_event):
6958 Wheen a seek was successful on a pipeline, set the stream_time to the
6959 seek offset in order to have a synchronized stream_time.
6961 2005-06-28 Wim Taymans <wim@fluendo.com>
6963 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6964 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6965 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
6966 (gst_proxy_pad_do_fixatecaps):
6967 Call wrapper function instead of just calling the function
6968 pointers. This takes care of any locking and whatmore.
6970 2005-06-28 Wim Taymans <wim@fluendo.com>
6972 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
6973 (gst_pad_pull_range):
6975 CONNECTED -> LINKED.
6977 2005-06-28 Andy Wingo <wingo@pobox.com>
6979 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
6980 source-munging commit!!!
6982 * gst/gstobject.c (gst_object_unref, gst_object_ref)
6983 (gst_object_sink): Take gpointer arguments, not GstObject --
6984 avoids casts. Like GLib.
6986 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
6989 2005-06-27 Andy Wingo <wingo@pobox.com>
6991 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
6994 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
6995 returns a sorted copy of the trace list.
6996 (gst_alloc_trace_print_live): New API, only prints traces with
6997 live objects. Sort the list.
6998 (gst_alloc_trace_print_all): Sort the list.
6999 (gst_alloc_trace_print): Align columns.
7001 * gst/elements/gstttypefindelement.c:
7002 * gst/elements/gsttee.c:
7003 * gst/base/gstbasesrc.c:
7004 * gst/base/gstbasesink.c:
7005 * gst/base/gstbasetransform.c:
7006 * gst/gstqueue.c: Adapt for pad activation changes.
7008 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7010 (gst_pipeline_dispose): Drop ref on sched.
7012 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7013 (gst_pad_activate_default): Push mode by default.
7014 (pre_activate_switch, post_activate_switch): New stubs, things to
7015 do before and after switching activation modes on pads.
7016 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7017 the pad's activate function to choose which mode to activate.
7018 Shortcut on deactivation and call the right function directly.
7019 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7021 (gst_pad_activate_push): New API, same for push mode.
7022 (gst_pad_set_activate_function)
7023 (gst_pad_set_activatepull_function)
7024 (gst_pad_set_activatepush_function): Setters for new API.
7026 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7027 Trace all miniobjects.
7028 (gst_mini_object_make_writable): Unref the arg if we copy, like
7029 gst_caps_make_writable.
7031 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7033 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7034 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7035 Adapt for new pad API.
7037 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7040 * gst/gstelement.c (gst_element_iterate_src_pads)
7041 (gst_element_iterate_sink_pads): New API functions.
7043 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7044 should fold into gstiterator.c in some form.
7045 (gst_element_pads_activate): Simplified via use of fold and
7046 delegation of decisions to gstpad->activate.
7048 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7051 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7052 class once in init, like gstmessage. Didn't run into this issue
7053 but it seems correct. Don't initialize a trace, gstminiobject does
7056 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7057 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7059 (assert_live_count): New util function, uses alloc traces to check
7062 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7063 To be modified when unlink drops the internal pad.
7065 2005-06-27 Wim Taymans <wim@fluendo.com>
7067 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7068 (gst_bin_change_state):
7069 Cleanup the get_state() function a little, make sure it
7070 iterates the same set of elements.
7071 Added stub iterate_state_order().
7073 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7075 * docs/gst/gstreamer-docs.sgml:
7076 * docs/gst/gstreamer-sections.txt:
7077 * docs/gst/gstreamer.types:
7078 * docs/gst/tmpl/gstbasesink.sgml:
7079 * docs/gst/tmpl/gstbasesrc.sgml:
7080 * docs/gst/tmpl/gstbasetransform.sgml:
7081 * docs/gst/tmpl/gstelement.sgml:
7082 * docs/gst/tmpl/gstiterator.sgml:
7083 * gst/base/gstbasesrc.c:
7084 * gst/base/gstbasesrc.h:
7085 * gst/base/gstbasetransform.h:
7087 * gst/gstiterator.h:
7088 adding basetransform and iterator docs
7090 2005-06-27 Andy Wingo <wingo@pobox.com>
7092 * docs/design/part-activation.txt: Notes on how activation should
7093 work -- not quite implemented yet.
7095 2005-06-25 Wim Taymans <wim@fluendo.com>
7097 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7098 At least get the chain function correct, needs more
7101 2005-06-25 Wim Taymans <wim@fluendo.com>
7103 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7104 (gst_basesink_handle_object), (gst_basesink_event),
7105 (gst_basesink_do_sync), (gst_basesink_handle_event),
7106 (gst_basesink_change_state):
7108 Right, two problems here: ghostpads don't take locks and
7109 glib _rec_mutex_lock_full() with depth==0 still locks.
7110 Catch illegal locking and g_warn them.
7112 2005-06-25 Wim Taymans <wim@fluendo.com>
7114 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7115 Have to check for completion now...
7117 2005-06-25 Wim Taymans <wim@fluendo.com>
7119 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7120 (gst_basesink_handle_object), (gst_basesink_event),
7121 (gst_basesink_do_sync), (gst_basesink_handle_event),
7122 (gst_basesink_change_state):
7124 Unlock STREAM_LOCK whatever the recursion was.
7126 2005-06-25 Wim Taymans <wim@fluendo.com>
7128 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7129 (gst_basesink_preroll_queue_empty),
7130 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7131 (gst_basesink_event), (gst_basesink_do_sync),
7132 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7133 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7134 (gst_basesink_change_state):
7135 Reworked the base sink, handle event and buffer serialisation
7136 correctly and removed possible deadlock.
7137 Handle EOS correctly.
7139 2005-06-25 Wim Taymans <wim@fluendo.com>
7141 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7142 (gst_pipeline_change_state):
7143 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7144 Allow elements to post EOS in the state change function.
7145 Fix up -launch, make it exit the poll loop when the
7146 pipeline actually changed state.
7147 Fix up warning parsing in -launch.
7149 2005-06-25 Wim Taymans <wim@fluendo.com>
7151 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7152 (gst_tee_sink_activate):
7153 Core takes STREAM_LOCK for us now.
7155 2005-06-25 Wim Taymans <wim@fluendo.com>
7157 * gst/gstelement.c: (gst_element_get_state_func),
7158 (gst_element_set_state):
7160 * gst/gstmessage.c: (gst_message_parse_error),
7161 (gst_message_parse_warning):
7162 Keep track of current target state while performing a state
7163 change so that subclasses can do something interesting.
7164 Fix parsing of warning/error messages when GError is NULL.
7166 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7168 * docs/gst/Makefile.am:
7169 * docs/gst/gstreamer-docs.sgml:
7170 * docs/gst/gstreamer-sections.txt:
7171 * docs/gst/gstreamer.types:
7172 * docs/gst/tmpl/gstbasesink.sgml:
7173 * docs/gst/tmpl/gstbasesrc.sgml:
7174 * docs/gst/tmpl/gstbin.sgml:
7175 * docs/gst/tmpl/gstcompat.sgml:
7176 * docs/gst/tmpl/gstfakesink.sgml:
7177 * docs/gst/tmpl/gstfakesrc.sgml:
7178 * docs/gst/tmpl/gstfilesink.sgml:
7179 * docs/gst/tmpl/gstfilesrc.sgml:
7180 * docs/gst/tmpl/gstindex.sgml:
7181 * docs/manual/appendix-quotes.xml:
7182 * gst/base/gstbasesrc.h:
7183 * gst/elements/gstfakesrc.h:
7185 start pulling in base classes and elements in our docs
7187 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7189 * docs/gst/Makefile.am:
7190 * docs/libs/Makefile.am:
7191 fixed make distcheck with gtk-doc 1.3
7193 2005-06-23 Wim Taymans <wim@fluendo.com>
7195 * gst/gstelement.c: (gst_element_get_state_func),
7196 (gst_element_set_state), (gst_element_change_state):
7197 When the state did not change, also report NO_PREROLL
7200 2005-06-23 Wim Taymans <wim@fluendo.com>
7202 * gst/gstpad.c: (gst_pad_event_default):
7203 * gst/gstqueue.c: (gst_queue_loop):
7204 No unsafe task pausing please.
7206 2005-06-23 Wim Taymans <wim@fluendo.com>
7208 * gst/schedulers/threadscheduler.c:
7209 (gst_thread_scheduler_task_start),
7210 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7211 Ref the task before pushing it on the threadpool. This
7212 makes sure that we have a ref when the threadfunction is
7215 2005-06-23 Andy Wingo <wingo@pobox.com>
7217 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7218 offset is greater than the file's size.
7220 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7221 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7222 * gst/gstobject.c (gst_object_class_init): Make the class lock
7223 recursive. Wim won't let me drop deep_notify. Decodebin works
7226 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7227 internal pad, and hacks accordingly. Doesn't do it on the target
7228 pad because we change its caps. Probably catches all cases of
7230 (gst_ghost_pad_set_property): Connect to notify::caps as
7233 * tests/network-clock.scm (plot-simulation): Pipe data to the
7234 elite python skript.
7236 * tests/network-clock-utils.scm (define-parameter): New macro,
7237 defines a parameter that can be set via the command line.
7238 (set-parameter!, parse-parameter-arguments): Command line args
7241 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7244 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7246 * gst/elements/gsttypefindelement.c:
7247 (gst_type_find_element_handle_event):
7248 Don't restart typefinding on a discont.
7249 * gst/gstelement.c: (gst_element_set_state):
7251 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7252 Allow changing mode of an active pad.
7254 * gst/registries/gstlibxmlregistry.c: (load_feature):
7255 Don't cast a static pad template to a normal pad template.
7257 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7259 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7260 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7261 remove gst_strtoll completely, since it didn't actually do
7262 anything more than what g_ascii_strtoull already does.
7263 check for range errors when deserializing
7264 do a cast for the unsigned cases; but further fixing needs
7265 a decision on what the interpretation of "(int)" and
7266 deserialization should be for values that fall outside the
7267 type's boundaries (ie, refuse, or interpret as casting)
7269 2005-06-23 Wim Taymans <wim@fluendo.com>
7271 * check/Makefile.am:
7272 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7273 * docs/design/part-live-source.txt:
7274 * docs/design/part-states.txt:
7275 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7276 (gst_basesrc_set_live), (gst_basesrc_is_live),
7277 (gst_basesrc_get_range), (gst_basesrc_activate),
7278 (gst_basesrc_change_state):
7279 * gst/base/gstbasesrc.h:
7280 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7281 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7282 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7283 * gst/gstelement.c: (gst_element_get_state_func),
7284 (gst_element_set_state):
7287 * tools/gst-launch.c: (event_loop), (main):
7288 Added support for live sources and other elements that
7290 Updated design docs, added live-source design doc.
7291 Implemented live source functionality in basesrc
7292 Fix error condition in _bin_get_state()
7293 Implement live source handling in -launch.
7294 Added check for live sources.
7295 Fixed case in GstBin where elements were changed state
7299 2005-06-23 Andy Wingo <wingo@pobox.com>
7301 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7304 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7305 gst_caps_replace takes care of this for us.
7307 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7308 gst_pad_set_caps on the target, not just its setcaps() function.
7310 * tests/network-clock.scm:
7311 * tests/network-clock-utils.scm: A network clock simulator.
7312 Something of an algorithmic testbed before doing something in C.
7314 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7316 * check/Makefile.am:
7317 * check/gst/capslist.h:
7318 copy over from 0.8, and add two with bitmasks specified with
7320 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7321 add test to parse everything from capslist.h
7322 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7324 add test for structure deserialization
7325 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7326 add tests for deserialization of strings to int types
7327 * gst/gststructure.c: (gst_structure_nth_field_name):
7328 * gst/gststructure.h:
7329 add a way to get the name of a field referenced by index
7330 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7331 instead of checking if the resulting long long lies between
7332 min and max, we check if the long long would fit into
7333 a number of bytes for the final type.
7334 This fixes cases where a string represents 2^32 - 1, which
7335 when cast to int would be the (valid) -1, but is bigger than
7338 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7340 * gst/parse/grammar.y:
7341 add a log line for type deserialization
7343 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7345 * check/gst/gstvalue.c: (START_TEST):
7346 * gst/gstvalue.c: (gst_value_deserialize):
7347 return long long, not int, so gint64 deserialization actually
7348 works. Is there any flag that makes the compiler check this ?
7351 2005-06-22 Wim Taymans <wim@fluendo.com>
7354 Added convenience macros for setting buffers in GValue.
7356 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7358 * check/gst/.cvsignore:
7359 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7360 add a test deserializing int64, and comment part out because
7363 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7365 * check/Makefile.am:
7366 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7367 * testsuite/Makefile.am:
7368 * testsuite/caps/Makefile.am:
7369 * testsuite/caps/value_serialize.c:
7370 * testsuite/test_gst_init.c:
7371 move a value_serialize test over
7373 2005-06-20 Wim Taymans <wim@fluendo.com>
7378 * gst/gstvalue.c: (gst_value_compare_buffer),
7379 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7380 (gst_value_compare_flags), (gst_value_serialize_flags),
7381 (gst_value_deserialize_flags), (_gst_value_initialize):
7382 Fix serialisation of buffers, they are not boxed types anymore
7384 2005-06-20 Wim Taymans <wim@fluendo.com>
7386 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7387 Testcase to show error in buffer-on-caps serialisation.
7389 2005-06-20 Andy Wingo <wingo@pobox.com>
7391 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7392 will be adding to later.
7394 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7395 if its socks fill with rocks.
7396 (gst_system_clock_obtain): Set the name on object construction.
7397 Avoid double-checked locking.
7399 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7401 * gst/gsturi.c: (gst_element_make_from_uri):
7402 Fix potential endless loop.
7404 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7406 * check/Makefile.am:
7408 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7410 move over from testsuite dir and clean up
7413 * testsuite/Makefile.am:
7414 * testsuite/tags/.cvsignore:
7415 * testsuite/tags/Makefile.am:
7416 * testsuite/tags/merge.c:
7417 remove testsuite/tags
7419 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7421 * docs/gst/gstreamer-sections.txt:
7422 * docs/gst/tmpl/gstenumtypes.sgml:
7423 * win32/gstenumtypes.c:
7424 clean up documentation build a little
7426 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7429 add macros for checking refcounts on objects and caps
7430 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7431 add some more unit tests
7432 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7433 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7434 fix leaked refcounts (I hope :)) so unittest works
7438 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7440 * configure.ac: back to HEAD
7442 === release 0.9.1 ===
7444 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7450 2005-06-17 Andy Wingo <wingo@pobox.com>
7452 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7453 assert; it's always possible that the pad gets deactivated in
7454 between the checks in gstpad.c and the implementation. Rely on
7455 finish_preroll() to return a FLUSHING or similar instead of on the
7458 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7459 clock and post an EOS message if we come out of finish_preroll in
7462 2005-06-16 David Schleef <ds@schleef.org>
7464 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7465 (gst_capsfilter_set_property): Allow NULL as possible value
7466 for filter_caps property, indicating GST_CAPS_ANY.
7468 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7470 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7472 * gst/schedulers/Makefile.am:
7474 * gstreamer.spec.in:
7477 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7479 * gstreamer.spec.in:
7482 2005-06-08 Andy Wingo <wingo@pobox.com>
7484 * gst/gstutils.c: RPAD fixes all around.
7485 (gst_element_link_pads): Refcounting fixes.
7487 * tools/gst-inspect.c:
7488 * tools/gst-xmlinspect.c:
7490 * gst/base/gsttypefindhelper.c:
7491 * gst/base/gstbasesink.c:
7492 * gst/gstqueue.c: RPAD fixes.
7494 * gst/gstghostpad.h:
7495 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7496 pads. The tricky thing is they provide both source and sink
7497 interfaces, since they proxy the internal pad for the external
7498 pad, and vice versa. Implement with lower-level ProxyPad objects,
7499 with the interior proxy pad as a child of the exterior ghost pad.
7500 Should write a doc on this.
7502 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7503 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7506 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7507 pads are real pads. No ghost pads in this file. Not documenting
7508 the myriad s/RPAD/PAD/ and REALIZE fixes.
7509 (gst_pad_class_init): Add properties for "direction" and
7510 "template". Both are construct-only, so they can't change during
7511 the life of the pad. Fixes properly deriving from GstPad.
7512 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7513 derived objects, just set properties when creating the objects via
7515 (gst_pad_get_parent): Implement as a function, return NULL if the
7516 parent is not an element.
7517 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7518 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7520 * gst/gstobject.c (gst_object_class_init): Make name a construct
7521 property. Don't set it in the object init.
7523 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7524 with UNKNOWN direction.
7525 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7526 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7527 (gst_element_remove_pad): Remove ghost-pad special cases.
7528 (gst_element_pads_activate): Remove rpad cruft.
7530 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7531 catch the pad's-parent-not-an-element case.
7533 * gst/gst.h: Include gstghostpad.h.
7535 * gst/gst.c (init_post): No more real, ghost pads.
7537 * gst/Makefile.am: Add gstghostpad.[ch].
7539 * check/Makefile.am:
7540 * check/gst/gstbin.c:
7541 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7542 into a bin creates ghost pads, and that the refcounts are right.
7543 Partly moved from gstbin.c.
7545 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7547 * check/gst-libs/.cvsignore:
7548 * check/gst/.cvsignore:
7549 * check/pipelines/.cvsignore:
7551 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7552 (START_TEST), (cleanup_suite), (main):
7553 add some tests related to cleanup after running pipelines
7555 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7557 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7558 add a testsuite for GstBuffer
7560 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7562 * gst/gstminiobject.h:
7563 add defines for accessing the refcount
7565 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7567 * Makefile.am: added support for html unit test coverage reports
7569 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7571 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7572 Free existing caps if the capsfilter changes. Add a FIXME about
7573 setting those caps on the pads.
7575 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7576 Before adding a ghost pad to a parent bin, check that there isn't
7577 already one for the element on the bin. Prevents infinite recursion
7578 when using decodebin in parse pipelines. Andy says he'll rewrite the
7579 way this works anyway, so ignore the hack.
7581 2005-06-02 Andy Wingo <wingo@pobox.com>
7583 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7584 file size, pass it on to the type find helper.
7586 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7587 segment_start and segment_end properly according to the seek
7588 method. Segment_end is still a bit flaky because offset can be
7589 negative for CUR and END cases, but it takes -1 as an "unset"
7592 2005-06-02 Wim Taymans <wim@fluendo.com>
7594 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7595 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7596 (gst_basesink_activate):
7597 * gst/base/gstbasesink.h:
7598 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7599 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7600 (gst_pad_query), (gst_pad_start_task):
7602 * gst/gstqueue.c: (gst_queue_bufferalloc),
7603 (gst_queue_handle_sink_event), (gst_queue_chain):
7604 Bufferalloc: return GstFlowReturn to more accuratly report
7605 why allocation failed.
7607 2005-06-02 Wim Taymans <wim@fluendo.com>
7609 * gst/gstpipeline.c: (gst_pipeline_send_event):
7610 Take snapshot of state without blocking.
7612 2005-06-02 Wim Taymans <wim@fluendo.com>
7614 * docs/design/part-TODO.txt:
7615 * docs/design/part-caps.txt:
7616 * docs/design/part-clocks.txt:
7617 * docs/design/part-negotiation.txt:
7618 * docs/design/part-preroll.txt:
7621 2005-05-30 Wim Taymans <wim@fluendo.com>
7623 * gst/elements/gstidentity.c: (gst_identity_event),
7624 (gst_identity_transform), (gst_identity_get_property):
7625 Protect last_message property as it is accessed from
7628 2005-05-30 Wim Taymans <wim@fluendo.com>
7630 * gst/gstelement.c: (gst_element_init),
7631 (gst_element_pads_activate), (gst_element_change_state):
7632 Slicker pad activation code.
7634 2005-05-30 Wim Taymans <wim@fluendo.com>
7638 * gst/gstelementfactory.h:
7640 Move elementfactory methods to separate .h file.
7642 2005-05-30 Wim Taymans <wim@fluendo.com>
7644 * docs/design/part-overview.txt:
7645 * gst/gstsystemclock.h:
7646 Small typo fixes, doc updates.
7648 2005-05-30 Wim Taymans <wim@fluendo.com>
7650 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7651 (init_popt_callback):
7652 Remove cpu-opt flag.
7654 2005-05-30 Wim Taymans <wim@fluendo.com>
7656 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7657 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7659 Avoid typechecking in places where not needed.
7660 Added accessor for malloc_data.
7662 2005-05-30 Wim Taymans <wim@fluendo.com>
7664 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7665 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7666 (gst_pad_configure_sink), (gst_pad_configure_src),
7667 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7668 (gst_pad_start_task):
7669 Propagate errors from _set_caps() in configure_src/sink
7670 functions instead of returning TRUE.
7671 FLUSH events can travel up and downstream
7674 2005-05-30 Wim Taymans <wim@fluendo.com>
7676 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7677 (gst_basesink_activate):
7678 Handle EOS in preroll.
7680 2005-05-30 Wim Taymans <wim@fluendo.com>
7682 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7683 (gst_queue_loop), (gst_queue_handle_src_event):
7684 Remove old pieces of code
7685 Flushing the queue in an upstream event is a very bad idea.
7687 2005-05-26 Andy Wingo <wingo@pobox.com>
7689 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7690 gst_value_set_mini_object so as to add a ref on the object (which
7691 will be removed when the value is unset).
7693 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7694 arg type in ::handoff.
7696 * gst/gstelement.c (gst_element_change_state): Also deactivate
7697 pads in READY->NULL, just in case the element didn't make it to
7698 PAUSED. Wingo tested, Wim approved.
7700 2005-05-26 Wim Taymans <wim@fluendo.com>
7702 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7703 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7704 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7705 A flushing pad cannot be used to alloc_buffer from.
7707 2005-05-26 Wim Taymans <wim@fluendo.com>
7709 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7710 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7711 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7712 (gst_bus_create_watch), (gst_bus_add_watch_full):
7714 Implement a real GSource and use g_main_context_wakeup() to
7715 signal new messages instead of the socketpair.
7717 2005-05-25 Wim Taymans <wim@fluendo.com>
7719 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7720 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7721 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7722 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7723 (gst_pad_send_event), (gst_pad_start_task):
7724 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7725 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7726 (gst_queue_sink_activate), (gst_queue_src_activate),
7727 (gst_queue_change_state):
7729 Fix state changes for non sinks. We now change sinks, then elements
7730 with unconnected srcpads, then the rest.
7731 More efficient queue unlocking in flush and state changes.
7732 Set the pad activate mode even if it does not have an activate
7735 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7737 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7738 Don't go in pull mode for non-seekable sources.
7739 * gst/elements/gsttypefindelement.h:
7740 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7741 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7742 (free_entry), (stop_typefinding),
7743 (gst_type_find_element_handle_event), (find_peek),
7744 (gst_type_find_element_chain), (do_pull_typefind),
7745 (gst_type_find_element_change_state):
7746 Allow typefinding (w/o seeking) in push-mode, simplified version
7748 * gst/gstutils.c: (gst_buffer_join):
7750 gst_buffer_join() from 0.8.
7752 2005-05-25 Wim Taymans <wim@fluendo.com>
7754 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7755 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7756 (gst_pad_send_event), (gst_pad_start_task):
7757 Disable attempt at mode switching until it is figured out.
7759 2005-05-25 Wim Taymans <wim@fluendo.com>
7761 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7762 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7763 (gst_basesink_finish_preroll), (gst_basesink_chain),
7764 (gst_basesink_loop), (gst_basesink_activate),
7765 (gst_basesink_change_state):
7766 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7767 (gst_basesrc_get_range), (gst_basesrc_loop),
7768 (gst_basesrc_activate):
7769 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7770 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7771 (gst_real_pad_init), (gst_real_pad_set_property),
7772 (gst_real_pad_get_property), (gst_pad_set_active),
7773 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7774 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7775 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7776 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7777 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7778 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7779 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7780 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7781 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7782 (gst_pad_stop_task):
7784 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7785 (gst_queue_loop), (gst_queue_src_activate):
7786 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7787 (gst_task_get_state):
7789 * gst/schedulers/threadscheduler.c:
7790 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7791 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7793 Remove ACTIVE pad flag, use FLUSHING everywhere
7794 Added _pad_chain(), _pad_get_range() to call chain/getrange
7796 Add locks around IS_FLUSHING when reading.
7797 Take STREAM lock in chain(), get_range() functions so plugins
7798 don't need to take it anymore.
7802 2005-05-25 Wim Taymans <wim@fluendo.com>
7804 * tools/gst-launch.c: (event_loop):
7805 Unref message after using its contents instead of
7808 2005-05-24 Wim Taymans <wim@fluendo.com>
7810 * docs/design/draft-ghostpads.txt:
7811 * docs/design/draft-push-pull.txt:
7812 * docs/design/draft-query.txt:
7813 * docs/design/part-overview.txt:
7814 Docs updates, added general overview doc.
7816 2005-05-21 David Schleef <ds@schleef.org>
7818 * docs/gst/tmpl/old/GstBin.sgml:
7819 * docs/gst/tmpl/old/GstBuffer.sgml:
7820 * docs/gst/tmpl/old/GstCaps.sgml:
7821 * docs/gst/tmpl/old/GstClock.sgml:
7822 * docs/gst/tmpl/old/GstCompat.sgml:
7823 * docs/gst/tmpl/old/GstData.sgml:
7824 * docs/gst/tmpl/old/GstElement.sgml:
7825 * docs/gst/tmpl/old/GstEvent.sgml:
7826 * docs/gst/tmpl/old/GstIndex.sgml:
7827 * docs/gst/tmpl/old/GstStructure.sgml:
7828 * docs/gst/tmpl/old/GstTag.sgml:
7829 * docs/gst/tmpl/old/cothreads.sgml:
7830 * docs/gst/tmpl/old/cothreads_compat.sgml:
7831 * docs/gst/tmpl/old/gettext.sgml:
7832 * docs/gst/tmpl/old/gobject2gtk.sgml:
7833 * docs/gst/tmpl/old/grammar.tab.sgml:
7834 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7835 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7836 * docs/gst/tmpl/old/gst_private.sgml:
7837 * docs/gst/tmpl/old/gstaggregator.sgml:
7838 * docs/gst/tmpl/old/gstarch.sgml:
7839 * docs/gst/tmpl/old/gstatomic_impl.sgml:
7840 * docs/gst/tmpl/old/gstbufferstore.sgml:
7841 * docs/gst/tmpl/old/gstdata_private.sgml:
7842 * docs/gst/tmpl/old/gstdisksink.sgml:
7843 * docs/gst/tmpl/old/gstdisksrc.sgml:
7844 * docs/gst/tmpl/old/gstelementfactory.sgml:
7845 * docs/gst/tmpl/old/gstextratypes.sgml:
7846 * docs/gst/tmpl/old/gstfakesink.sgml:
7847 * docs/gst/tmpl/old/gstfakesrc.sgml:
7848 * docs/gst/tmpl/old/gstfdsink.sgml:
7849 * docs/gst/tmpl/old/gstfdsrc.sgml:
7850 * docs/gst/tmpl/old/gstfilesink.sgml:
7851 * docs/gst/tmpl/old/gstfilesrc.sgml:
7852 * docs/gst/tmpl/old/gsthttpsrc.sgml:
7853 * docs/gst/tmpl/old/gstidentity.sgml:
7854 * docs/gst/tmpl/old/gstindexfactory.sgml:
7855 * docs/gst/tmpl/old/gstmarshal.sgml:
7856 * docs/gst/tmpl/old/gstmd5sink.sgml:
7857 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
7858 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
7859 * docs/gst/tmpl/old/gstpadtemplate.sgml:
7860 * docs/gst/tmpl/old/gstpipefilter.sgml:
7861 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
7862 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
7863 * docs/gst/tmpl/old/gstshaper.sgml:
7864 * docs/gst/tmpl/old/gstspider.sgml:
7865 * docs/gst/tmpl/old/gstspideridentity.sgml:
7866 * docs/gst/tmpl/old/gststatistics.sgml:
7867 * docs/gst/tmpl/old/gsttee.sgml:
7868 * docs/gst/tmpl/old/gsttimecache.sgml:
7869 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
7870 * docs/gst/tmpl/old/gstxmlregistry.sgml:
7871 * docs/gst/tmpl/old/gthread-cothreads.sgml:
7872 * docs/gst/tmpl/old/types.sgml:
7873 I didn't intend to add these or check them in.
7875 2005-05-19 David Schleef <ds@schleef.org>
7877 * configure.ac: Use -no-common everywhere. In a sane world, it
7878 would be the default in libtool, because without it, you can't
7879 build DLLs on Windows.
7880 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
7881 * docs/gst/gstreamer-sections.txt:
7882 * docs/gst/tmpl/gstcpu.sgml:
7883 * docs/gst/tmpl/gstdata.sgml:
7884 * docs/gst/tmpl/gstthread.sgml:
7886 2005-05-19 David Schleef <ds@schleef.org>
7888 * gst/gstminiobject.c: (gst_value_set_mini_object),
7889 (gst_value_take_mini_object), (gst_value_get_mini_object):
7890 * gst/gstminiobject.h: Add GValue set/get functions.
7892 2005-05-19 Wim Taymans <wim@fluendo.com>
7894 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
7895 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
7896 (gst_subbuffer_init), (gst_buffer_is_span_fast):
7898 * gst/gstbus.c: (gst_bus_post):
7899 * gst/gstelement.c: (gst_element_get_random_pad):
7900 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
7901 Make subbufer unref the parent in finalize.
7902 some more debugging info.
7905 2005-05-19 Wim Taymans <wim@fluendo.com>
7907 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7908 (gst_basesink_init), (gst_basesink_finalize),
7909 (gst_basesink_activate), (gst_basesink_change_state):
7910 Don't free preroll queue too early.
7912 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7916 Hi, I'm outdated. Please shoot me.
7918 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7920 * gst/gstpipeline.c: (gst_pipeline_send_event):
7921 Do not access variables after they have been deleted.
7923 2005-05-19 Wim Taymans <wim@fluendo.com>
7925 * tools/gst-inspect.c: (print_plugin_features):
7926 A plugin feature does unfortunatly not use the
7929 2005-05-18 Wim Taymans <wim@fluendo.com>
7931 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7932 Port _span() functions to new subbuffers.
7934 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7936 * gst/gstbin.c: (gst_bin_add_func):
7937 Fix clock settery in bins when adding kids after the clock has
7940 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7942 * gst/elements/gstidentity.c: (gst_identity_class_init):
7943 Workaround until signals support GstMiniObject.
7945 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7948 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7950 2005-05-18 Wim Taymans <wim@fluendo.com>
7952 * gst/base/Makefile.am:
7953 * gst/base/gstadapter.c: (gst_adapter_base_init),
7954 (gst_adapter_class_init), (gst_adapter_init),
7955 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7956 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7957 (gst_adapter_flush), (gst_adapter_available),
7958 (gst_adapter_available_fast):
7959 * gst/base/gstadapter.h:
7960 Ported and added adapter to the base classes.
7962 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7966 Make sure the class is reffed/unreffed once before threads can be
7967 used. Fixes #304551.
7969 2005-05-17 Wim Taymans <wim@fluendo.com>
7971 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
7972 (gst_basesink_chain_unlocked), (gst_basesink_activate):
7973 * gst/gstminiobject.c: (gst_mini_object_get_type),
7974 (gst_mini_object_free):
7975 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
7976 (gst_pad_push), (gst_pad_push_event):
7977 * gst/gstqueue.c: (gst_queue_change_state):
7978 Don't queue buffers in basesink when we are flushing.
7979 Unref buffer when flushing in basesink.
7980 Flush queue when going to READY
7981 Unref buffer when _push() returns an error.
7982 Don't free MiniObject instance when refcount is incremented
7983 in _finalize() so that we can recover objects.
7985 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
7987 * docs/manual/advanced-schedulers.xml:
7988 * docs/manual/appendix-checklist.xml:
7989 * docs/pwg/advanced-clock.xml:
7990 * docs/pwg/advanced-interfaces.xml:
7991 * docs/pwg/advanced-request.xml:
7992 * docs/pwg/advanced-types.xml:
7993 * docs/pwg/intro-preface.xml:
7994 * examples/plugins/example.c: (gst_example_get_type),
7995 (gst_example_class_init), (gst_example_chain),
7996 (gst_example_set_property), (gst_example_get_property),
7997 (gst_example_change_state), (plugin_init):
7998 * examples/plugins/example.h:
8001 2005-05-17 Wim Taymans <wim@fluendo.com>
8003 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8004 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8005 * gst/gstqueue.c: (gst_queue_change_state):
8006 Clear queue when going to READY.
8007 Remove IN_SETCAPS flag too.
8009 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8011 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8012 Remove implicit cast from gboolean to GstElementStateReturn;
8013 make sure we still return failure in paused => ready case if
8014 the parent class fails to change state and our own stop
8017 2005-05-17 Wim Taymans <wim@fluendo.com>
8019 * tools/gst-launch.c: (event_loop):
8020 Message was unreffed too soon.
8022 2005-05-16 Andy Wingo <wingo@pobox.com>
8024 * gst/gstbin.c (sink_iterator_filter): Err... um...
8026 * check/gst/gstbin.c (test_ghost_pads): New test for the
8027 ghosting-if-elements-not-in-same-bin behavior.
8029 2005-05-16 David Schleef <ds@schleef.org>
8031 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8032 accessing refcount directly.
8034 2005-05-15 David Schleef <ds@schleef.org>
8036 * check/Makefile.am: remove GstData checks
8037 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8038 * gst/Makefile.am: add miniobject, remove data
8039 * gst/gst.h: add miniobject, remove data
8040 * gst/gstdata.c: remove
8041 * gst/gstdata.h: remove
8042 * gst/gstdata_private.h: remove
8043 * gst/gsttypes.h: remove GstEvent and GstMessage
8044 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8045 * gst/gstmarshal.list: change BOXED -> OBJECT
8047 Implement GstMiniObject.
8048 * gst/gstminiobject.c:
8049 * gst/gstminiobject.h:
8051 Modify to be subclasses of GstMiniObject.
8052 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8053 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8054 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8055 (gst_subbuffer_get_type), (gst_subbuffer_init),
8056 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8059 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8060 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8061 (_gst_event_copy), (gst_event_new):
8063 * gst/gstmessage.c: (_gst_message_initialize),
8064 (gst_message_get_type), (gst_message_class_init),
8065 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8066 (gst_message_new), (gst_message_new_error),
8067 (gst_message_new_warning), (gst_message_new_tag),
8068 (gst_message_new_state_changed), (gst_message_new_application):
8070 * gst/gstprobe.c: (gst_probe_perform),
8071 (gst_probe_dispatcher_dispatch):
8073 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8074 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8075 (_gst_query_copy), (gst_query_new):
8077 Update elements for GstData -> GstMiniObject changes
8079 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8080 (gst_queue_chain), (gst_queue_loop):
8081 * gst/elements/gstbufferstore.c:
8082 (gst_buffer_store_add_buffer_func),
8083 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8084 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8085 (gst_fakesink_render):
8086 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8087 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8088 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8089 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8090 (gst_filesrc_create_read):
8091 * gst/elements/gstidentity.c: (gst_identity_class_init):
8092 * gst/elements/gsttypefindelement.c:
8093 (gst_type_find_element_src_event), (free_entry_buffers),
8094 (gst_type_find_element_handle_event):
8095 * libs/gst/dataprotocol/dataprotocol.c:
8096 (gst_dp_header_from_buffer):
8097 * libs/gst/dataprotocol/dataprotocol.h:
8098 * libs/gst/dataprotocol/dp-private.h:
8100 2005-05-15 David Schleef <ds@schleef.org>
8102 * gst/elements/gstelements.c: Don't include headers that were
8105 2005-05-15 David Schleef <ds@schleef.org>
8107 * gst/elements/Makefile.am: Remove some elements that don't
8108 need to be in the core (or even exist at all).
8109 * gst/elements/gstaggregator.c:
8110 * gst/elements/gstaggregator.h:
8111 * gst/elements/gstmd5sink.c:
8112 * gst/elements/gstmd5sink.h:
8113 * gst/elements/gstmultifilesrc.c:
8114 * gst/elements/gstmultifilesrc.h:
8115 * gst/elements/gstpipefilter.c:
8116 * gst/elements/gstpipefilter.h:
8117 * gst/elements/gstshaper.c:
8118 * gst/elements/gstshaper.h:
8119 * gst/elements/gststatistics.c:
8120 * gst/elements/gststatistics.h:
8121 * po/POTFILES.in: Remove above files.
8123 2005-05-14 Andy Wingo <wingo@pobox.com>
8125 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8126 so as to get the refs right.
8127 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8128 unreffing objects that don't pass the filter.
8130 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8131 gst_element_set_bus.
8132 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8133 normal cases, this will destroy the bus.
8135 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8138 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8141 2005-05-13 Andy Wingo <wingo@pobox.com>
8143 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8144 gst_pad_link, call pad_link_maybe_ghosting,
8145 (pad_link_maybe_ghosting): Links pads, making sure that the
8146 elements being linked are in the same bin.
8147 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8148 Helpers for pad_link_maybe_ghosting.
8150 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8153 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8155 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8157 * docs/design/part-element-source.txt:
8160 2005-05-12 Wim Taymans <wim@fluendo.com>
8162 * gst/base/gstbasesink.c: (gst_basesink_init),
8163 (gst_basesink_activate):
8164 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8165 (gst_basesrc_is_seekable):
8166 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8167 (bin_element_is_sink), (gst_bin_change_state):
8168 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8170 Identify sinks by their flag to avoid overly complicated
8172 Do state changes even for elements not reachable from the
8174 BaseSink is a sink now :)
8175 Some more debugging info in the basesrc.
8178 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8180 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8181 Implement _query on a bin, similar to _send_event.
8183 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8185 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8186 Discont event offset format should be GST_FORMAT_BYTES,
8187 not GST_FORMAT_TIME.
8189 2005-05-12 Wim Taymans <wim@fluendo.com>
8191 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8192 Same fix as Ronald's but without the signal.
8194 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8196 * gst/gstutils.c: (gst_element_query_position):
8197 No, an element is not a pad.
8199 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8201 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8202 (gst_bin_get_state):
8203 If a child is removed from a bin while we remove the child from
8204 the bin and while we're retrieving its state, signal this to the
8205 get_state function so we abort the wait (instead of waiting for
8206 a timeout) and can immediately re-iterate over all other elements.
8208 2005-05-12 Wim Taymans <wim@fluendo.com>
8210 * gst/base/Makefile.am:
8211 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8212 (gst_basesrc_start):
8213 * gst/base/gstbasesrc.h:
8214 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8215 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8216 (gst_pushsrc_init), (gst_pushsrc_create):
8217 * gst/base/gstpushsrc.h:
8218 Added is_seekable to BaseSrc
8219 Added simple PushSrc.
8221 2005-05-11 Wim Taymans <wim@fluendo.com>
8223 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8224 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8225 (gst_element_link_pads), (gst_element_query_position),
8226 (gst_element_query_convert), (intersect_caps_func),
8227 (gst_pad_query_position), (gst_pad_query_convert):
8228 Fix refcounting in utils function.
8229 No point in trying to activate a pad when it's added, it could
8230 be added from the state change function and then we deadlock, the
8231 element has to decide what to do.
8233 2005-05-10 Andy Wingo <wingo@pobox.com>
8235 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8236 *all* the arguments.
8238 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8239 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8240 lock (according to the docs -- if this is wrong change the docs).
8242 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8243 flush messages in the NULL state.
8245 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8246 message immediately and return.
8247 (gst_bus_set_flushing): New function. If a bus is flushing, it
8248 flushes out any queued messages and immediately unrefs new
8249 messages. This is so when an element goes to NULL, all of the
8250 unhandled messages coming from it can be freed, and their
8251 references to the element dropped. In other words: message source
8252 ref considered harmful :P
8254 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8255 we're finished with it.
8257 * gst/gstmessage.c (gst_message_new_state_changed):
8259 2005-05-10 Wim Taymans <wim@fluendo.com>
8261 * gst/gstvalue.c: (gst_value_compare_flags),
8262 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8263 (_gst_value_initialize):
8264 Added flags serialize/deserialize/compare code.
8266 2005-05-09 Andy Wingo <wingo@pobox.com>
8268 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8269 Intersect the peer's caps with our caps.
8271 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8273 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8274 * gst/elements/gsttypefindelement.c: (find_peek):
8275 Handle negative offsets better. Fixes decodebin.
8277 2005-05-09 Wim Taymans <wim@fluendo.com>
8279 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8280 (gst_base_transform_event):
8281 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8282 Implement accept_caps.
8283 Fix silly lock/unlock mismatch in base class.
8285 2005-05-09 Wim Taymans <wim@fluendo.com>
8287 * docs/design/draft-push-pull.txt:
8288 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8289 * gst/elements/gstfilesink.c: (gst_filesink_init),
8290 (gst_filesink_query):
8291 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8292 (gst_type_find_handle_src_query), (find_element_get_length):
8293 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8297 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8298 (gst_real_pad_get_caps_unlocked),
8299 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8300 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8301 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8302 (gst_real_pad_dispose), (gst_real_pad_finalize),
8303 (gst_pad_load_and_link), (gst_pad_save_thyself),
8304 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8305 (gst_pad_check_pull_range), (gst_pad_pull_range),
8306 (gst_pad_template_get_type), (gst_pad_template_class_init),
8307 (gst_pad_template_init), (gst_pad_template_dispose),
8308 (name_is_valid), (gst_static_pad_template_get),
8309 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8310 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8311 (gst_pad_get_element_private), (gst_pad_start_task),
8312 (gst_pad_pause_task), (gst_pad_stop_task),
8313 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8314 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8315 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8316 (gst_ghost_pad_new):
8318 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8319 (gst_query_new_position), (gst_query_set_position),
8320 (gst_query_parse_position), (gst_query_new_convert),
8321 (gst_query_set_convert), (gst_query_parse_convert):
8323 * gst/gstqueryutils.c:
8324 * gst/gstqueryutils.h:
8325 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8326 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8327 (gst_queue_handle_src_query):
8328 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8329 (gst_element_query_position), (gst_element_query_convert),
8330 (intersect_caps_func), (gst_pad_query_position),
8331 (gst_pad_query_convert):
8333 * tools/gst-inspect.c: (print_pad_info):
8334 * tools/gst-xmlinspect.c: (print_element_info):
8335 Remove old query functions. Ported old code.
8336 Added position/convert helper functions to gstutils.
8337 Reordered gstpad.c code, grouping relevant things.
8338 Remove gst_message_new(), always need to speficy a specific
8342 2005-05-09 Andy Wingo <wingo@pobox.com>
8344 * gst/gstiterator.h: Add some includes.
8346 * gst/gstqueryutils.h: Include more headers.
8349 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8350 some uses of gst_pad_query.
8352 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8353 NULL out parameters.
8354 (gst_query_new_position): New proc, allocates a new position
8357 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8358 gstqueryutils.c to the build.
8360 * gst/gststructure.c (gst_structure_set_valist): Implement with
8361 the generic G_VALUE_COLLECT.
8363 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8365 * gst/Makefile.am: (gst_headers):
8366 Added gstqueryutils.h to the list of headers to install, that was
8367 a 'nachty' move wingo :)
8369 2005-05-06 Andy Wingo <wingo@pobox.com>
8372 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8373 GstData, init a memchunk.
8374 (standard_definitions): Add a few query types, deprecate a few.
8375 (gst_query_get_type): New proc.
8376 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8378 (gst_query_new_application, gst_query_get_structure): New public
8381 * docs/design/draft-query.txt: Removed LINKS from the query types,
8382 because all the rest can be dispatched to other pads -- seemed
8383 ugly to have a query that couldn't be dispatched. internal_links
8384 is fine as a pad method.
8386 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8387 in gstpad.c, but maintain binary compatibility for the moment.
8388 Will fix before 0.9 is out.
8390 * gst/gstqueryutils.c:
8391 * gst/gstqueryutils.h: New files, implement 3 methods for each
8392 query type: parse_query, parse_response, and set. Probably need an
8395 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8397 * gst/elements/gstfilesink.c (gst_filesink_query2):
8398 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8399 query_types, and formats methods.
8401 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8402 (gst_pad_set_query2_function): New functions.
8403 (gst_real_pad_init): Set query2_default as the default query2
8404 function. Basically just dispatches to internally linked pads.
8408 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8409 without using the atomic operations. Only one thread can possibly
8410 be accessing the data at this point. Changed so as to avoid
8411 gst_atomic operations.
8413 2005-05-06 Wim Taymans <wim@fluendo.com>
8415 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8416 Also set caps if we use the fallback buffer alloc.
8418 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8420 * docs/gst/Makefile.am:
8421 * docs/gst/gstreamer-docs.sgml:
8422 * docs/gst/gstreamer-sections.txt:
8423 * docs/gst/tmpl/gstatomic.sgml:
8424 * docs/gst/tmpl/gstmemchunk.sgml:
8425 * testsuite/elements/struct_i386.h:
8426 * win32/GStreamer.vcproj:
8428 Purge GstAtomic stuff from docs and win32 makefiles as well
8430 2005-05-06 Wim Taymans <wim@fluendo.com>
8432 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8433 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8434 * gst/gstpad.c: (gst_pad_peer_get_caps):
8435 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8436 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8437 (gst_queue_src_activate), (gst_queue_change_state):
8439 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8440 (intersect_caps_func):
8441 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8442 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8443 Some fixes for the peer_get_caps() change.
8445 2005-05-06 Wim Taymans <wim@fluendo.com>
8447 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8448 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8449 (gst_basesink_activate):
8450 Actually do something with error codes returned from the push
8453 2005-05-06 Wim Taymans <wim@fluendo.com>
8455 * docs/design/part-element-sink.txt:
8456 * docs/design/part-element-source.txt:
8457 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8458 (gst_basesink_event), (gst_basesink_activate):
8459 * gst/base/gstbasesink.h:
8460 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8461 (gst_basesrc_activate):
8462 * gst/base/gstbasesrc.h:
8463 * gst/gstelement.c: (gst_element_pads_activate):
8464 Some more documentation.
8465 Fixed scheduling decision in _pads_activate().
8467 2005-05-05 Andy Wingo <wingo@pobox.com>
8469 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8472 2005-05-05 Wim Taymans <wim@fluendo.com>
8474 * gst/base/Makefile.am:
8475 * gst/base/gstbasesink.h:
8476 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8477 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8478 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8479 (gst_collectpads_class_init), (gst_collectpads_init),
8480 (gst_collectpads_finalize), (gst_collectpads_new),
8481 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8482 (find_pad), (gst_collectpads_remove_pad),
8483 (gst_collectpads_is_active), (gst_collectpads_collect),
8484 (gst_collectpads_collect_range), (gst_collectpads_start),
8485 (gst_collectpads_stop), (gst_collectpads_peek),
8486 (gst_collectpads_pop), (gst_collectpads_available),
8487 (gst_collectpads_read), (gst_collectpads_flush),
8488 (gst_collectpads_chain):
8489 * gst/base/gstcollectpads.h:
8490 * gst/elements/Makefile.am:
8491 * gst/elements/gstelements.c:
8492 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8493 (gst_fakesink_get_times), (gst_fakesink_event),
8494 (gst_fakesink_preroll), (gst_fakesink_render):
8495 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8496 (gst_filesink_init), (gst_filesink_set_location),
8497 (gst_filesink_open_file), (gst_filesink_close_file),
8498 (gst_filesink_pad_query), (gst_filesink_event),
8499 (gst_filesink_render), (gst_filesink_change_state):
8500 * gst/elements/gstfilesink.h:
8501 Added object to help in making collect pad based elements.
8503 Make event function in sink baseclass return gboolean.
8505 2005-05-05 Wim Taymans <wim@fluendo.com>
8507 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8508 (gst_bin_get_by_name):
8510 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8511 (gst_clock_finalize):
8512 * gst/gstdata.c: (gst_data_replace):
8514 * gst/gstelement.c: (gst_element_request_pad),
8515 (gst_element_pads_activate):
8516 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8518 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8519 (gst_pad_set_checkgetrange_function),
8520 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8521 (gst_pad_check_pull_range), (gst_pad_pull_range),
8522 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8523 (gst_pad_pause_task), (gst_pad_stop_task):
8524 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8525 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8526 Fix name lookup in GstBin.
8527 Added _data_replace() function and _buffer_replace()
8528 Use finalize method to clean up clock.
8529 Fix refcounting on request pads.
8530 Fix pad schedule mode error.
8531 Some more object refcounting debug info,
8534 2005-05-04 Andy Wingo <wingo@pobox.com>
8536 * check/Makefile.am:
8537 * docs/gst/tmpl/gstatomic.sgml:
8538 * docs/gst/tmpl/gstplugin.sgml:
8539 * gst/base/gstbasesink.c: (gst_basesink_activate):
8540 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8541 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8542 (gst_basesrc_query), (gst_basesrc_set_property),
8543 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8544 (gst_basesrc_activate):
8545 * gst/base/gstbasesrc.h:
8546 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8547 (gst_base_transform_src_activate):
8548 * gst/elements/gstelements.c:
8549 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8550 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8551 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8552 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8553 (gst_type_find_element_checkgetrange),
8554 (gst_type_find_element_activate):
8555 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8556 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8557 (gst_caps_load_thyself):
8558 * gst/gstelement.c: (gst_element_pads_activate),
8559 (gst_element_save_thyself), (gst_element_restore_thyself):
8560 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8561 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8563 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8564 (gst_xml_parse_file), (gst_xml_parse_memory),
8565 (gst_xml_get_element), (gst_xml_make_element):
8566 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8567 (_file_index_id_save_xml), (gst_file_index_commit):
8568 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8569 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8571 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8572 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8573 * tools/gst-complete.c: (main):
8574 * tools/gst-compprep.c: (main):
8575 * tools/gst-inspect.c: (print_element_properties_info):
8576 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8577 * tools/gst-xmlinspect.c: (print_element_properties):
8580 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8582 * gst/gstplugin.c: (gst_plugin_check_module),
8583 (gst_plugin_check_file), (gst_plugin_load_file):
8584 apply patch from #172526 to make register work on MacOSX
8586 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8588 * docs/gst/tmpl/gstconfig.sgml:
8589 * gst/gstconfig.h.in:
8590 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8591 * testsuite/debug/printf_extension.c: (main):
8592 Do not use GST_PTR_FORMAT on pointers to types with
8593 sizeof < sizeof(gpointer). Fixes test on 64-bit
8594 * testsuite/elements/property.h:
8595 use correct printf format
8597 2005-05-02 Wim Taymans <wim@fluendo.com>
8599 * docs/design/draft-push-pull.txt:
8600 * docs/design/draft-query.txt:
8601 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8602 (gst_basesrc_start):
8603 Added draft for new query API.
8604 Added draft for better selecting scheduling methods.
8605 Make basesrc ignore length if the subclass does not support
8608 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8611 possible fixes for automake-1.5 - _LIBADD is reserved
8613 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8615 * docs/faq/Makefile.am:
8616 * docs/manual/Makefile.am:
8618 * docs/pwg/Makefile.am:
8620 possible fixes for automake-1.5
8622 2005-04-28 Wim Taymans <wim@fluendo.com>
8624 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8625 (gst_basesink_pad_getcaps), (gst_basesink_init),
8626 (gst_basesink_do_sync):
8627 * gst/gstclock.c: (gst_clock_entry_new):
8628 * gst/gstevent.c: (gst_event_discont_get_value):
8629 * gst/gstpipeline.c: (pipeline_bus_handler),
8630 (gst_pipeline_change_state):
8631 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8632 Better debugging of clocking info.
8633 Allow NULL values when getting discont values.
8635 2005-04-27 Wim Taymans <wim@fluendo.com>
8637 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8638 * check/gst/gstpad.c: (gst_pad_suite):
8639 Increase timeout for checks.
8641 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8643 * check/Makefile.am:
8644 fix the broken rule for cleanup. Apparently this rule is
8645 only needed on FC2, so maybe this warrants further autotool
8648 2005-04-26 Wim Taymans <wim@fluendo.com>
8650 * gst/gsttrashstack.h:
8651 Ooohh. a nasty one! After having a failed pop() from the stack,
8652 it's possible that the stack is empty. In that case, don't
8653 follow the NULL pointer.
8655 2005-04-25 Wim Taymans <wim@fluendo.com>
8657 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8658 (gst_pad_set_checkgetrange_function),
8659 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8660 (gst_pad_check_pull_range), (gst_pad_pull_range),
8661 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8662 (gst_pad_pause_task), (gst_pad_stop_task):
8663 * gst/gstplugin.c: (gst_plugin_load):
8665 Remove gst_library_load as it does more harm than good with
8666 the new g_module flags.
8667 Revert bogus caps template check in pad linking, pad caps
8668 are important when linking not the template, which is more
8669 general than the current caps.
8671 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8673 * gst/autoplug/.cvsignore:
8674 * gst/autoplug/Makefile.am:
8675 * gst/autoplug/gstsearchfuncs.c:
8676 * gst/autoplug/gstsearchfuncs.h:
8677 * gst/autoplug/gstspider.c:
8678 * gst/autoplug/gstspider.h:
8679 * gst/autoplug/gstspideridentity.c:
8680 * gst/autoplug/gstspideridentity.h:
8681 * gst/autoplug/spidertest.c:
8684 2005-04-25 Wim Taymans <wim@fluendo.com>
8686 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8687 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8688 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8689 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8691 Added stubs for unimplemented functions.
8693 2005-04-24 David Schleef <ds@schleef.org>
8695 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8698 2005-04-24 David Schleef <ds@schleef.org>
8700 Convert everything from GstAtomicInt to g_atomic_int_*, and
8705 * gst/gstatomic_impl.h:
8713 * gst/gstdata_private.h:
8720 * gst/gststructure.c:
8721 * gst/gststructure.h:
8722 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8725 2005-04-24 David Schleef <ds@schleef.org>
8727 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8728 make the regressions tests work. Remove some code that is no
8730 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8731 Disable warning for pads without templates.
8733 2005-04-24 David Schleef <ds@schleef.org>
8735 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8736 functions that handle filtered links.
8737 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8739 * gst/gstutils.c: Fix/remove utility functions that handle
8742 * gst/gstvalue.c: Add serialization/deserialization of caps
8743 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8744 requires fixing so that the filter caps notation creates
8745 a capsfilter element and sets the filter_caps property. I
8746 think everyone probably wants to keep the shorthand notation.
8747 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8748 * docs/gst/tmpl/gstpad.sgml:
8750 * gst/elements/gstelements.c: Register capsfilter element.
8751 * gst/Makefile.am: fix spacing
8752 * docs/random/ds/0.9-suggested-changes: random
8754 2005-04-23 David Schleef <ds@schleef.org>
8756 * gst/elements/Makefile.am:
8757 * gst/elements/gstcapsfilter.c: New element that acts like an
8758 identity, but filters caps. Will eventually replace filtered
8759 caps in pad linking.
8760 * gst/gstutils.c: (gst_element_create_all_pads): New function
8761 to create all the ALWAYS pads that are registered with an
8762 element class. This functionality should eventually be
8763 merged in with GstElement initialization.
8765 * testsuite/trigger/README: part of trigger test code that should
8766 have been checked in a long time ago.
8768 2005-04-23 David Schleef <ds@schleef.org>
8770 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8771 needed with new versions of libtool (nobody will confirm this),
8772 and hard to carry around.
8773 * gst/autoplug/Makefile.am:
8774 * gst/base/Makefile.am:
8775 * gst/elements/Makefile.am:
8776 * gst/indexers/Makefile.am:
8777 * gst/schedulers/Makefile.am:
8778 * libs/gst/bytestream/Makefile.am:
8779 * libs/gst/control/Makefile.am:
8780 * libs/gst/dataprotocol/Makefile.am:
8781 * libs/gst/getbits/Makefile.am:
8783 2005-04-21 Wim Taymans <wim@fluendo.com>
8785 * docs/design/draft-push-pull.txt:
8786 * docs/design/part-MT-refcounting.txt:
8787 * docs/design/part-TODO.txt:
8788 * docs/design/part-caps.txt:
8789 * docs/design/part-events.txt:
8790 * docs/design/part-gstbus.txt:
8791 * docs/design/part-gstpipeline.txt:
8792 * docs/design/part-messages.txt:
8793 * docs/design/part-push-pull.txt:
8794 * docs/design/part-query.txt:
8797 2005-04-21 Wim Taymans <wim@fluendo.com>
8799 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8800 (gst_message_new), (gst_message_new_error),
8801 (gst_message_new_warning), (gst_message_new_tag),
8802 (gst_message_new_state_changed), (gst_message_new_application),
8803 (gst_message_get_structure):
8805 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8806 (gst_structure_copy_conditional):
8807 Use parent refcount in GstMessage to ensure GstStructure
8809 Cleaned up headers a bit.
8812 2005-04-20 Wim Taymans <wim@fluendo.com>
8814 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8815 (gst_basesink_pad_getcaps), (gst_basesink_init),
8816 (gst_basesink_chain_unlocked):
8817 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8818 (gst_type_find_helper):
8819 * gst/elements/gsttypefindelement.c:
8820 (gst_type_find_element_have_type), (gst_type_find_element_init),
8821 (stop_typefinding), (gst_type_find_element_handle_event),
8822 (find_suggest), (gst_type_find_element_chain),
8823 (gst_type_find_element_checkgetrange),
8824 (gst_type_find_element_getrange), (do_typefind),
8825 (gst_type_find_element_activate):
8826 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8827 (gst_buffer_default_free), (gst_buffer_default_copy),
8828 (gst_buffer_set_caps):
8829 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8831 * gst/gstmessage.c: (gst_message_new),
8832 (gst_message_new_state_changed):
8833 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8834 (gst_pad_set_checkgetrange_function),
8835 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8836 (gst_pad_set_caps), (gst_pad_check_pull_range),
8837 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
8839 * gst/gsttypefind.c: (gst_type_find_register):
8840 Make gst_caps_replace() work like other _replace() functions.
8841 Use _caps_replace() where possible.
8842 Make sure _message_new() initialises its field.
8843 Add gst_static_pad_template_get_caps()
8846 2005-04-18 Andy Wingo <wingo@pobox.com>
8848 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
8849 on the peer, not the pad. I think that was a typo. Pass an extra
8850 arg to see if random access is possible. Activate the pads as
8851 PULL_RANGE if possible.
8853 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
8855 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
8856 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
8859 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8861 * docs/faq/using.xml:
8862 Add note on gstreamer-properties (#154996).
8864 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8866 * docs/random/bbb/optional-properties:
8867 Some analysis on optional properties.
8869 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8871 * docs/gst/tmpl/gstelementfactory.sgml:
8873 * gst/gstelementfactory.c: (gst_element_factory_init),
8874 (gst_element_factory_cleanup), (gst_element_register),
8875 (__gst_element_factory_add_static_pad_template),
8876 (gst_element_factory_get_static_pad_templates),
8877 (gst_element_factory_can_src_caps),
8878 (gst_element_factory_can_sink_caps):
8879 * gst/registries/Makefile.am:
8880 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
8881 (gst_xml_registry_class_init), (gst_xml_registry_init),
8882 (gst_xml_registry_new), (gst_xml_registry_set_property),
8883 (gst_xml_registry_get_property), (get_time), (make_dir),
8884 (gst_xml_registry_get_perms_func),
8885 (plugin_times_older_than_recurse), (plugin_times_older_than),
8886 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
8887 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
8888 (add_to_char_array), (read_string), (read_uint), (read_enum),
8889 (load_pad_template), (load_feature), (load_plugin), (load_paths),
8890 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
8891 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
8892 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
8893 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
8894 (gst_xml_registry_rebuild):
8895 * gst/registries/gstlibxmlregistry.h:
8896 * tools/gst-compprep.c: (main):
8897 * tools/gst-inspect.c: (print_pad_templates_info):
8898 * tools/gst-xmlinspect.c: (print_element_info):
8899 Use libxml2 for registry parsing, use staticpadtemplates in
8900 elementfactories. Makes gst_init() +/- 10x faster.
8902 2005-04-12 Wim Taymans <wim@fluendo.com>
8904 * gst/base/Makefile.am:
8905 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8906 (gst_basesink_pad_getcaps), (gst_basesink_init),
8907 (gst_basesink_event), (gst_basesink_change_state):
8908 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8909 (gst_basesrc_init), (gst_basesrc_query),
8910 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8911 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8912 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8913 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8914 (gst_basesrc_stop), (gst_basesrc_activate),
8915 (gst_basesrc_change_state):
8916 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8917 (helper_find_suggest), (gst_type_find_helper):
8918 * gst/base/gsttypefindhelper.h:
8919 * gst/elements/Makefile.am:
8920 * gst/elements/gstelements.c:
8921 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8922 (gst_fakesink_get_times), (gst_fakesink_event),
8923 (gst_fakesink_preroll), (gst_fakesink_render):
8924 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8925 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8926 (gst_fakesrc_get_property), (gst_fakesrc_create),
8927 (gst_fakesrc_start), (gst_fakesrc_stop):
8928 * gst/elements/gstfakesrc.h:
8929 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8930 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8931 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8932 (gst_filesrc_create_read), (gst_filesrc_create),
8933 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8934 (gst_filesrc_start):
8935 * gst/elements/gsttypefindelement.c:
8936 (gst_type_find_element_have_type), (gst_type_find_element_init),
8937 (start_typefinding), (stop_typefinding), (push_buffer_store),
8938 (gst_type_find_element_handle_event),
8939 (gst_type_find_element_chain),
8940 (gst_type_find_element_checkgetrange),
8941 (gst_type_find_element_getrange), (do_typefind),
8942 (gst_type_find_element_activate),
8943 (gst_type_find_element_change_state):
8944 * gst/elements/gsttypefindelement.h:
8945 * gst/gstpipeline.c: (pipeline_bus_handler):
8946 Added typefind helper.
8947 Small preroll fix in the base sink.
8948 Disable typefind code in basesrc.
8949 Crude port of typefindelement.
8953 2005-04-11 Wim Taymans <wim@fluendo.com>
8955 * check/gst/gstbus.c: (gstbus_suite):
8956 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8958 Fix up the timeout so that the test does not fail.
8960 2005-04-06 Wim Taymans <wim@fluendo.com>
8963 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8964 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
8965 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8966 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8967 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8968 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8969 (gst_basesrc_stop), (gst_basesrc_activate),
8970 (gst_basesrc_change_state), (basesrc_find_peek),
8971 (basesrc_find_suggest), (gst_basesrc_type_find):
8972 * gst/base/gstbasesrc.h:
8973 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
8974 (gst_filesrc_class_init), (gst_filesrc_init),
8975 (gst_filesrc_finalize), (gst_filesrc_set_location),
8976 (gst_filesrc_set_property), (gst_filesrc_get_property),
8977 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8978 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8979 (gst_filesrc_create_read), (gst_filesrc_create),
8980 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
8981 * gst/elements/gstfilesrc.h:
8982 * gst/gstelement.c: (gst_element_get_state_func),
8983 (gst_element_lost_state), (gst_element_pads_activate):
8984 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8985 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8986 (gst_pad_pull_range):
8988 More work on the generic source base class, implement seeking,
8990 Make filesrc extend the base source class.
8991 Added gst_pad_set_checkgetrange_function to GstPad.
8993 2005-04-06 Andy Wingo <wingo@pobox.com>
8995 * pkgconfig/gstreamer-base.pc.in:
8996 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
8998 * pkgconfig/Makefile.am:
8999 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9001 2005-04-04 Wim Taymans <wim@fluendo.com>
9003 * gst/base/Makefile.am:
9005 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9006 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9007 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9008 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9009 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9010 (gst_basesrc_base_init), (gst_basesrc_class_init),
9011 (gst_basesrc_init), (gst_basesrc_get_formats),
9012 (gst_basesrc_get_query_types), (gst_basesrc_query),
9013 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9014 (gst_basesrc_set_property), (gst_basesrc_get_property),
9015 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9016 (gst_basesrc_loop), (gst_basesrc_activate),
9017 (gst_basesrc_change_state):
9018 * gst/base/gstbasesrc.h:
9019 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9020 (gst_fakesrc_class_init), (gst_fakesrc_init),
9021 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9022 (gst_fakesrc_get_property), (gst_fakesrc_create):
9023 * gst/elements/gstfakesrc.h:
9024 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9025 (gst_filesrc_open_file), (gst_filesrc_loop),
9026 (gst_filesrc_activate), (filesrc_find_peek),
9027 (gst_filesrc_type_find):
9028 Made base source class, make fakesrc extend it.
9029 Add comments to basesink class.
9030 Some filesrc cleanup.
9032 2005-03-31 David Schleef <ds@schleef.org>
9034 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9035 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9036 expected to link against libgstreamer.
9037 * gst/base/Makefile.am: link against libgstreamer
9038 * gst/elements/Makefile.am: same
9040 2005-03-31 Andy Wingo <wingo@pobox.com>
9042 * tests/instantiate/Makefile.am:
9043 * tests/instantiate/caps.c: Add test to test speed of caps copy
9046 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9047 GMemChunk to be fair.
9049 * gst/gsttrashstack.h: Remove warning about using the fallback
9050 trash stack implementation, it's still faster than malloc.
9052 2005-03-30 Andy Wingo <wingo@pobox.com>
9054 * tests/complexity.c: Add a copyright.
9056 2005-03-31 Wim Taymans <wim@fluendo.com>
9058 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9059 (gst_base_transform_class_init), (gst_base_transform_init),
9060 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9061 (gst_base_transform_get_property),
9062 (gst_base_transform_sink_activate),
9063 (gst_base_transform_src_activate),
9064 (gst_base_transform_change_state):
9065 * gst/base/gstbasetransform.h:
9066 * gst/elements/gstidentity.c: (gst_identity_class_init),
9067 (gst_identity_event), (gst_identity_check_perfect),
9068 (gst_identity_transform), (gst_identity_start),
9069 (gst_identity_stop):
9070 Added start/stop methods to transform base class so subclasses
9071 don't need to deal with state changes even.
9073 2005-03-31 Wim Taymans <wim@fluendo.com>
9075 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9076 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9078 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9079 (gst_pad_pull_range):
9080 Added rate to the discont event to prepare for variable speed
9081 and reverse playback.
9083 2005-03-29 David Schleef <ds@schleef.org>
9086 * testsuite/trigger/Makefile.am:
9087 * testsuite/trigger/trigger.c: A little example program to show
9088 how trigger-based elements can work.
9090 2005-03-29 Wim Taymans <wim@fluendo.com>
9092 * gst/base/Makefile.am:
9094 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9095 (gst_basesink_base_init), (gst_basesink_class_init),
9096 (gst_basesink_pad_getcaps), (gst_basesink_init),
9097 (gst_basesink_activate), (gst_basesink_change_state):
9098 * gst/base/gstbasesink.h:
9099 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9100 (gst_base_transform_base_init), (gst_base_transform_finalize),
9101 (gst_base_transform_class_init), (gst_base_transform_init),
9102 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9103 (gst_base_transform_event), (gst_base_transform_getrange),
9104 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9105 (gst_base_transform_set_property),
9106 (gst_base_transform_get_property),
9107 (gst_base_transform_sink_activate),
9108 (gst_base_transform_src_activate),
9109 (gst_base_transform_change_state):
9110 * gst/base/gstbasetransform.h:
9111 * gst/elements/gstidentity.c: (gst_identity_finalize),
9112 (gst_identity_class_init), (gst_identity_init),
9113 (gst_identity_event), (gst_identity_check_perfect),
9114 (gst_identity_transform), (gst_identity_set_property),
9115 (gst_identity_get_property), (gst_identity_change_state):
9116 * gst/elements/gstidentity.h:
9117 * gst/gstelement.c: (gst_element_get_state_func),
9118 (gst_element_lost_state), (gst_element_pads_activate):
9119 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9120 (gst_pad_check_pull_range), (gst_pad_pull_range):
9122 Simplify pad activation.
9123 Added function to check if pull_range can be performed.
9124 Error out when pulling inactive or flushing pads.
9125 Removed const from refcounted types as it does not make sense.
9126 Simplify pad templates in basesink
9127 Added base class for simple 1-to-1 transforms.
9128 Make identity subclass the base transform.
9130 2005-03-29 Andy Wingo <wingo@pobox.com>
9132 * docs/libs/gstreamer-libs-overrides.txt:
9133 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9134 really don't understand what's going on, but like whatever. I want
9137 * docs/gst/Makefile.am:
9138 * docs/libs/Makefile.am: Dist the overrides files.
9140 * check/Makefile.am (clean-local): Remove .libs directories.
9142 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9143 elements to EXTRA_DIST, so po/ files are happy.
9145 * po/POTFILES.in: Er, remove it here.
9147 * po/POTFILES: Remove gstspider.c.
9149 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9151 * docs/libs/gstreamer-libs-docs.sgml:
9152 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9155 * tests/complexity.c (main): Set the length of the preroll queue
9156 on the sinks to prevent a lockup.
9158 * libs/gst/dataprotocol/Makefile.am:
9159 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9160 the same as the one in check/gst-libs/gdp.c.
9162 * po/, docs/gst/: Commit automatic changes to docs and po files.
9164 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9165 the versioned libgstbase.
9167 * check/Makefile.am: Depend on an unversioned gst-register, seems
9168 to make autoconf happier.
9170 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9172 2005-03-28 Wim Taymans <wim@fluendo.com>
9175 * docs/design/part-gstelement.txt:
9176 * docs/design/part-negotiation.txt:
9177 * docs/design/part-preroll.txt:
9178 * docs/design/part-scheduling.txt:
9179 * docs/design/part-states.txt:
9181 * gst/base/Makefile.am:
9183 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9184 (gst_basesink_base_init), (gst_basesink_class_init),
9185 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9186 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9187 (gst_basesink_set_pad_functions),
9188 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9189 (gst_basesink_set_property), (gst_basesink_get_property),
9190 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9191 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9192 (gst_basesink_preroll_queue_push),
9193 (gst_basesink_preroll_queue_empty),
9194 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9195 (gst_basesink_event), (gst_basesink_get_times),
9196 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9197 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9198 (gst_basesink_loop), (gst_basesink_activate),
9199 (gst_basesink_change_state):
9200 * gst/base/gstbasesink.h:
9201 * gst/elements/Makefile.am:
9202 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9203 (gst_fakesink_class_init), (gst_fakesink_init),
9204 (gst_fakesink_set_property), (gst_fakesink_get_property),
9205 (gst_fakesink_get_times), (gst_fakesink_event),
9206 (gst_fakesink_preroll), (gst_fakesink_render),
9207 (gst_fakesink_change_state):
9208 * gst/elements/gstfakesink.h:
9209 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9210 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9211 * gst/gstelement.c: (gst_element_add_pad),
9212 (gst_element_get_state_func), (gst_element_abort_state),
9213 (gst_element_commit_state), (gst_element_lost_state),
9214 (gst_element_set_state), (gst_element_pads_activate):
9215 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9216 * gst/gstpipeline.c: (gst_pipeline_send_event),
9217 (gst_pipeline_change_state):
9218 Added state change code.
9220 Added sink base class, make fakesink extend the base class.
9221 Small cleanups in GstPipeline.
9223 2005-03-26 David Schleef <ds@schleef.org>
9225 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9226 is broken and should be implemented in a different library.
9227 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9228 * gst/gst.h: remove gstcpu.h
9229 * gst/gstcpu.c: remove
9230 * gst/gstcpu.h: remove
9231 * gst/Makefile.am.future: Remove this file. It's ancient.
9233 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9235 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9236 (gst_bin_send_event):
9237 Add default event/set_manager handlers. The set_manager handler
9238 takes care that the manager is distributed over kids that were
9239 already in the bin before the manager was set. The event handler
9240 is a utility virtual function that sends the event over all sinks,
9241 so that gst_element_send_event (bin, event); has the expected
9243 * gst/gstpad.c: (gst_pad_event_default):
9244 Re-install default event handling for discontinuities, so that
9245 seeking works without requiring hacks in applications or extra
9247 * gst/gstpipeline.c: (gst_pipeline_class_init),
9248 (gst_pipeline_send_event):
9249 Half hack, half utility: set a pipeline to PAUSED for seek events,
9250 since that is the only way we can guarantee a/v sync. Means that
9251 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9252 and it "just works".
9254 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9256 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9257 Lock/unlock mismatch.
9259 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9261 * docs/faq/gst-uninstalled:
9262 add gst-plugins-base
9263 * docs/gst/Makefile.am:
9264 don't error out until docs are fixed
9265 * docs/gst/gstreamer.types:
9268 2005-03-22 Wim Taymans <wim@fluendo.com>
9270 * check/Makefile.am:
9271 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9272 * gst/gststructure.c: (gst_structure_set_valist),
9273 (gst_structure_copy_conditional):
9274 Activated more tests.
9276 Added G_TYPE_POINTER to GstStructure.
9279 2005-03-22 Wim Taymans <wim@fluendo.com>
9281 * docs/design/part-TODO.txt:
9282 * docs/design/part-events.txt:
9283 * docs/design/part-gstbin.txt:
9284 * docs/design/part-gstbus.txt:
9285 * docs/design/part-gstpipeline.txt:
9286 * docs/design/part-messages.txt:
9291 2005-03-21 Wim Taymans <wim@fluendo.com>
9293 * gst/gstbus.c: (gst_bus_post):
9294 Fix copy-and-paste error.
9296 2005-03-21 Wim Taymans <wim@fluendo.com>
9298 * check/Makefile.am:
9300 * gst/elements/Makefile.am:
9301 * gst/elements/gstelements.c:
9302 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9303 (gst_fakesink_event), (gst_fakesink_chain):
9304 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9305 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9306 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9307 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9308 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9309 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9310 (gst_fakesrc_loop), (gst_fakesrc_activate),
9311 (gst_fakesrc_change_state):
9312 * gst/elements/gstfakesrc.h:
9313 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9314 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9315 (gst_filesrc_open_file), (gst_filesrc_loop),
9316 (gst_filesrc_activate), (gst_filesrc_change_state),
9317 (filesrc_find_peek), (filesrc_find_suggest),
9318 (gst_filesrc_type_find):
9319 * gst/elements/gstidentity.c: (gst_identity_finalize),
9320 (gst_identity_class_init), (gst_identity_init),
9321 (gst_identity_proxy_getcaps), (identity_queue_push),
9322 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9323 (gst_identity_getrange), (gst_identity_chain),
9324 (gst_identity_sink_loop), (gst_identity_src_loop),
9325 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9326 (gst_identity_set_property), (gst_identity_get_property),
9327 (gst_identity_change_state):
9328 * gst/elements/gstidentity.h:
9329 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9330 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9331 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9332 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9333 (gst_tee_sink_activate):
9334 * gst/elements/gsttee.h:
9335 * gst/gst.c: (gst_register_core_elements), (init_post):
9337 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9338 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9339 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9340 (gst_bin_change_state):
9342 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9343 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9344 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9345 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9346 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9347 (bus_watch_callback), (bus_watch_destroy),
9348 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9349 (poll_timeout), (gst_bus_poll):
9353 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9354 (gst_element_post_message), (gst_element_message_full),
9355 (gst_element_get_state_func), (gst_element_get_state),
9356 (gst_element_abort_state), (gst_element_commit_state),
9357 (gst_element_lost_state), (gst_element_set_state),
9358 (gst_element_pads_activate), (gst_element_change_state),
9359 (gst_element_dispose), (gst_element_set_manager_func),
9360 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9361 (gst_element_set_manager), (gst_element_get_manager),
9362 (gst_element_set_bus), (gst_element_get_bus),
9363 (gst_element_set_scheduler), (gst_element_get_scheduler):
9365 * gst/gstevent.c: (gst_event_new_segment_seek),
9366 (gst_event_new_flush):
9368 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9369 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9370 (gst_message_new_eos), (gst_message_new_error),
9371 (gst_message_new_warning), (gst_message_new_tag),
9372 (gst_message_new_state_changed), (gst_message_new_application),
9373 (gst_message_get_structure), (gst_message_parse_tag),
9374 (gst_message_parse_state_changed), (gst_message_parse_error),
9375 (gst_message_parse_warning):
9377 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9378 (gst_real_pad_set_property), (gst_pad_set_active),
9379 (gst_pad_is_active), (gst_pad_set_blocked_async),
9380 (gst_pad_set_blocked), (gst_pad_is_blocked),
9381 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9382 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9383 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9384 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9385 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9386 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9387 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9388 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9389 (gst_pad_set_caps), (gst_pad_configure_sink),
9390 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9391 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9392 (gst_real_pad_dispose), (gst_real_pad_finalize),
9393 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9394 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9395 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9397 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9398 (pipeline_bus_handler), (gst_pipeline_change_state),
9399 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9400 * gst/gstpipeline.h:
9402 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9403 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9404 (gst_queue_link_src), (gst_queue_bufferalloc),
9405 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9406 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9407 (gst_queue_loop), (gst_queue_handle_src_event),
9408 (gst_queue_handle_src_query), (gst_queue_src_activate),
9409 (gst_queue_change_state):
9411 * gst/gstscheduler.c: (gst_scheduler_init),
9412 (gst_scheduler_dispose), (gst_scheduler_create_task),
9413 (gst_scheduler_factory_create):
9414 * gst/gstscheduler.h:
9415 * gst/gststructure.c: (gst_structure_get_type),
9416 (gst_structure_copy_conditional):
9417 * gst/gststructure.h:
9418 * gst/gsttaginterface.h:
9419 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9420 (gst_task_init), (gst_task_dispose), (gst_task_create),
9421 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9427 * gst/schedulers/Makefile.am:
9428 * gst/schedulers/cothreads_compat.h:
9429 * gst/schedulers/entryscheduler.c:
9430 * gst/schedulers/faircothreads.c:
9431 * gst/schedulers/faircothreads.h:
9432 * gst/schedulers/fairscheduler.c:
9433 * gst/schedulers/gstbasicscheduler.c:
9434 * gst/schedulers/gstoptimalscheduler.c:
9435 * gst/schedulers/gthread-cothreads.h:
9436 * gst/schedulers/threadscheduler.c:
9437 (gst_thread_scheduler_task_get_type),
9438 (gst_thread_scheduler_task_class_init),
9439 (gst_thread_scheduler_task_init),
9440 (gst_thread_scheduler_task_start),
9441 (gst_thread_scheduler_task_stop),
9442 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9443 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9444 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9445 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9447 * libs/gst/Makefile.am:
9448 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9449 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9450 (gst_file_pad_parent_set):
9451 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9452 (gst_dp_event_from_packet):
9453 * tests/complexity.c: (main):
9454 * tests/mass_elements.c: (main):
9455 * testsuite/states/locked.c: (message_received), (main):
9456 * testsuite/states/parent.c: (main):
9457 * tools/gst-inspect.c: (print_element_flag_info),
9458 (print_implementation_info), (print_pad_info):
9459 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9461 * tools/gst-md5sum.c: (event_loop), (main):
9462 * tools/gst-typefind.c: (main):
9463 * tools/gst-xmlinspect.c: (print_element_info):
9465 Added GstBus for mainloop integration.
9466 Added GstMessage for sending notifications on the bus.
9467 Added GstTask as an abstraction for pipeline entry points.
9470 Simplified GstQueue for multithreaded core.
9471 Made _link threadsafe, removed old capsnego.
9472 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9473 Added pad blocking functions.
9474 Reworked scheduling functions in GstPad to prepare for
9475 scheduling updates soon.
9476 Moved events out of data stream.
9477 Simplified GstEvent types.
9478 Added return values to push/pull.
9479 Removed clocking from GstElement.
9480 Added prototypes for state change function for next merge.
9481 Removed iterate from bins and state change management.
9482 Fixed some elements, disabled others for now.
9483 Fixed -inspect and -launch.
9484 Added check for GstBus.
9486 2005-03-10 Wim Taymans <wim@fluendo.com>
9488 * docs/design/part-MT-refcounting.txt:
9489 * docs/design/part-clocks.txt:
9490 * docs/design/part-gstelement.txt:
9491 * docs/design/part-gstobject.txt:
9492 * docs/design/part-standards.txt:
9493 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9494 (gst_bin_remove_func), (gst_bin_remove):
9498 * testsuite/clock/clock1.c: (main):
9499 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9501 * testsuite/dlopen/loadgst.c: (do_test):
9502 * testsuite/refcounting/bin.c: (add_remove_test1),
9503 (add_remove_test2), (main):
9504 * testsuite/refcounting/element.c: (main):
9505 * testsuite/refcounting/element_pad.c: (main):
9506 * testsuite/refcounting/pad.c: (main):
9507 * tools/gst-launch.c: (sigint_handler_sighandler):
9508 * tools/gst-typefind.c: (main):
9510 Added doc about clock.
9511 removed gst_bin_iterate_recurse_up(), marked methods
9513 Fix more testsuites.
9515 2005-03-09 Wim Taymans <wim@fluendo.com>
9517 * gst/gstpad.c: (gst_pad_get_direction),
9518 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9519 (gst_pad_collect_valist):
9520 * testsuite/bins/interface.c: (main):
9521 * testsuite/caps/audioscale.c: (test_caps):
9522 * testsuite/caps/caps.c: (test1), (test2), (test3):
9523 * testsuite/caps/deserialize.c: (main):
9524 * testsuite/caps/enumcaps.c: (main):
9525 * testsuite/caps/filtercaps.c: (main):
9526 * testsuite/caps/intersect2.c: (main):
9527 * testsuite/caps/random.c: (main):
9528 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9529 * testsuite/caps/sets.c: (check_caps):
9530 * testsuite/caps/simplify.c: (check_caps), (main):
9531 * testsuite/caps/subtract.c: (check_caps):
9532 Fix _pad_get_direction wrt ghostpads.
9535 2005-03-09 Wim Taymans <wim@fluendo.com>
9537 * check/Makefile.am:
9538 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9539 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9540 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9541 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9542 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9543 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9544 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9545 (bin_element_is_sink), (gst_bin_iterate_sinks),
9546 (gst_bin_iterate_all_by_interface):
9548 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9549 (gst_element_change_state), (gst_element_dispose),
9550 (gst_element_finalize), (gst_element_set_loop_function):
9552 * gst/gstiterator.c: (find_custom_fold_func):
9553 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9554 (gst_pad_collectv), (gst_pad_collect_valist),
9555 (gst_pad_template_new):
9556 * gst/gstpipeline.c: (gst_pipeline_class_init),
9557 (gst_pipeline_dispose), (gst_pipeline_set_property),
9558 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9559 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9560 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9562 * gst/schedulers/entryscheduler.c:
9563 * gst/schedulers/gstbasicscheduler.c:
9564 (gst_basic_scheduler_cothreaded_chain),
9565 (gst_basic_scheduler_chain_add_element):
9566 * testsuite/bins/interface.c: (main):
9568 Added GstSystemClock test.
9569 Implemented clock distribution code in GstBin.
9570 Implemented iterate sinks method for future use.
9571 Rearranged gstelement.h
9572 Fix GstIterator comparison bug.
9573 Moved some code to GstPipeline, mostly clocking related.
9575 2005-03-09 Wim Taymans <wim@fluendo.com>
9578 * gst/gst_private.h:
9579 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9580 (gst_bin_remove_func), (gst_bin_remove),
9581 (gst_bin_get_by_name_recurse_up):
9582 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9583 (gst_clock_id_compare_func), (gst_clock_id_wait),
9584 (gst_clock_id_wait_async), (gst_clock_init),
9585 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9587 * gst/gstinfo.c: (_gst_debug_init):
9589 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9590 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9592 Bump version number, we're now 0.9.0
9593 Add future debugging category.
9594 Fix NULL _unref() in _get_by_name_recurse_up
9598 2005-03-08 Wim Taymans <wim@fluendo.com>
9600 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9601 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9602 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9603 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9604 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9605 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9606 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9607 * gst/elements/gstidentity.c: (gst_identity_class_init):
9608 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9609 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9610 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9611 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9612 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9614 * gst/gstelement.c: (gst_element_class_init),
9615 (gst_element_base_class_init), (gst_element_init),
9616 (gst_element_get_random_pad), (gst_element_wait_state_change),
9617 (gst_element_change_state), (gst_element_dispose),
9618 (gst_element_finalize), (gst_element_set_loop_function):
9620 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9621 * gst/gstthread.c: (gst_thread_class_init),
9622 (gst_thread_release_children_locks), (gst_thread_change_state):
9623 * gst/schedulers/gstbasicscheduler.c:
9624 (gst_basic_scheduler_loopfunc_wrapper),
9625 (gst_basic_scheduler_chain_wrapper),
9626 (gst_basic_scheduler_src_wrapper),
9627 (gst_basic_scheduler_remove_element):
9628 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9629 Remove threadsafe properties. Fix elements because GObject
9630 complains when installing a property before declaring a
9631 set/get_property handler.
9632 Rearrange gstelement.h file, use STATE macros for state locks.
9633 Free mutexes in the finalize method instead of dispose.
9635 2005-03-08 Wim Taymans <wim@fluendo.com>
9637 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9638 * gst/gstthread.c: (gst_thread_release_children_locks):
9639 Added parentage check.
9640 Fix build og GstThread again.
9642 2005-03-08 Wim Taymans <wim@fluendo.com>
9644 * docs/design/part-MT-refcounting.txt:
9645 * docs/design/part-conventions.txt:
9646 * docs/design/part-gstobject.txt:
9647 * docs/design/part-relations.txt:
9648 * docs/design/part-standards.txt:
9649 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9650 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9651 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9652 (gst_bin_iterate_all_by_interface):
9655 * gst/gstelement.c: (gst_element_class_init),
9656 (gst_element_change_state), (gst_element_set_loop_function):
9658 * gst/gstiterator.c:
9659 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9660 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9661 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9662 (gst_object_set_parent), (gst_object_unparent),
9663 (gst_object_check_uniqueness):
9665 Docs updates, clean up some headers.
9667 2005-03-07 Wim Taymans <wim@fluendo.com>
9670 * check/Makefile.am:
9671 * check/gst-libs/.cvsignore:
9672 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9673 * check/gst/.cvsignore:
9674 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9675 (START_TEST), (gstbus_suite), (main):
9676 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9677 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9678 (gst_data_suite), (main):
9679 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9680 (add_fold_func), (gstiterator_suite), (main):
9681 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9682 (thread_name_object), (thread_name_object_default),
9683 (gst_object_name_compare), (gst_object_suite), (main):
9684 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9685 (gst_pad_suite), (main):
9686 * check/gstcheck.c: (gst_check_log_message_func),
9687 (gst_check_log_critical_func), (gst_check_init):
9689 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9690 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9693 2005-03-07 Wim Taymans <wim@fluendo.com>
9695 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9696 (gst_list_iterator_next), (gst_list_iterator_resync),
9697 (gst_list_iterator_free), (gst_iterator_new_list),
9698 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9699 (gst_iterator_free), (gst_iterator_push), (filter_next),
9700 (filter_resync), (filter_uninit), (filter_free),
9701 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9702 (gst_iterator_foreach), (find_custom_fold_func),
9703 (gst_iterator_find_custom):
9704 * gst/gstiterator.h:
9705 Added missing files.
9707 2005-03-07 Wim Taymans <wim@fluendo.com>
9711 * docs/design/part-MT-refcounting.txt:
9712 * docs/design/part-conventions.txt:
9713 * docs/design/part-gstobject.txt:
9714 * docs/design/part-relations.txt:
9715 * examples/mixer/mixer.c: (main):
9716 * examples/thread/thread.c: (eos), (main):
9718 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9719 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9720 (gst_spider_plug_from_srcpad):
9721 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9722 (gst_spider_identity_change_state),
9723 (gst_spider_identity_sink_loop_type_finding):
9724 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9725 * gst/elements/gstidentity.c: (gst_identity_init):
9726 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9727 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9728 * gst/elements/gsttypefindelement.c: (free_entry):
9731 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9732 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9733 (gst_bin_set_index), (gst_bin_set_element_sched),
9734 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9735 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9736 (gst_bin_iterate_elements), (iterate_child_recurse),
9737 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9738 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9739 (compare_interface), (gst_bin_get_by_interface),
9740 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9742 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9743 (gst_buffer_default_free), (gst_buffer_default_copy),
9744 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9745 (gst_buffer_create_sub):
9747 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9748 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9749 (gst_caps_unref), (gst_static_caps_get),
9750 (gst_caps_remove_and_get_structure), (gst_caps_append),
9751 (gst_caps_append_structure), (gst_caps_remove_structure),
9752 (gst_caps_copy_nth), (gst_caps_set_simple),
9753 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9754 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9755 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9756 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9757 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9758 (gst_caps_structure_figure_out_union),
9759 (gst_caps_switch_structures), (gst_caps_do_simplify),
9760 (gst_caps_replace), (gst_caps_from_string),
9761 (gst_caps_copy_conditional):
9763 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9764 (_gst_clock_id_free), (gst_clock_id_unref),
9765 (gst_clock_id_compare_func), (gst_clock_id_wait),
9766 (gst_clock_id_wait_async), (gst_clock_class_init),
9767 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9768 (gst_clock_get_time), (gst_clock_set_time_adjust),
9769 (gst_clock_set_property), (gst_clock_get_property):
9772 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9773 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9775 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9776 (gst_element_requires_clock), (gst_element_provides_clock),
9777 (gst_element_set_clock), (gst_element_clock_wait),
9778 (gst_element_wait), (gst_element_set_time_delay),
9779 (gst_element_is_indexable), (gst_element_add_pad),
9780 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9781 (pad_compare_name), (gst_element_get_static_pad),
9782 (gst_element_request_pad), (gst_element_get_request_pad),
9783 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9784 (gst_element_class_get_pad_template_list),
9785 (gst_element_class_get_pad_template), (gst_element_error_func),
9786 (gst_element_get_random_pad), (gst_element_get_event_masks),
9787 (gst_element_send_event), (gst_element_seek),
9788 (gst_element_get_query_types), (gst_element_query),
9789 (gst_element_get_formats), (gst_element_convert),
9790 (gst_element_is_locked_state), (gst_element_set_locked_state),
9791 (gst_element_sync_state_with_parent), (gst_element_change_state),
9792 (gst_element_finalize), (gst_element_yield),
9793 (gst_element_interrupt), (gst_element_set_scheduler),
9794 (gst_element_get_scheduler), (gst_element_set_loop_function):
9797 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9798 (gst_format_get_by_nick), (gst_format_get_details),
9799 (gst_format_iterate_definitions):
9801 * gst/gstindex.c: (gst_index_gtype_resolver):
9804 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9805 (gst_mem_chunk_free):
9806 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9807 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9808 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9809 (gst_object_dispatch_properties_changed),
9810 (gst_object_set_name_default), (gst_object_set_name),
9811 (gst_object_get_name), (gst_object_set_name_prefix),
9812 (gst_object_get_name_prefix), (gst_object_set_parent),
9813 (gst_object_get_parent), (gst_object_unparent),
9814 (gst_object_check_uniqueness), (gst_object_save_thyself),
9815 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9816 (gst_object_set_property), (gst_object_get_property),
9817 (gst_object_get_path_string):
9819 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9820 (gst_real_pad_init), (gst_real_pad_get_property),
9821 (gst_pad_custom_new), (gst_pad_get_direction),
9822 (gst_pad_set_active), (gst_pad_is_active),
9823 (gst_pad_set_event_function), (gst_pad_is_linked),
9824 (gst_pad_link_free), (gst_pad_link_intersect),
9825 (gst_pad_link_fixate), (gst_pad_set_caps),
9826 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9827 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9828 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9829 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9830 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9831 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9832 (gst_pad_realize), (gst_pad_get_allowed_caps),
9833 (gst_real_pad_dispose), (gst_real_pad_finalize),
9834 (gst_pad_collectv), (gst_pad_collect_valist),
9835 (gst_pad_template_dispose), (gst_pad_template_new),
9836 (gst_pad_get_internal_links):
9838 * gst/gstpipeline.c: (gst_pipeline_dispose),
9839 (gst_pipeline_change_state):
9840 * gst/gstpipeline.h:
9842 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
9843 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
9844 * gst/gstpluginfeature.h:
9845 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
9846 * gst/gstquery.c: (_gst_query_type_initialize),
9847 (gst_query_type_register), (gst_query_type_get_by_nick),
9848 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
9850 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
9851 * gst/gstscheduler.c: (gst_scheduler_add_element),
9852 (gst_scheduler_factory_create):
9853 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9854 (gst_structure_free), (gst_structure_set_name),
9855 (gst_structure_id_set_value), (gst_structure_set_value),
9856 (gst_structure_set_valist), (gst_structure_remove_field),
9857 (gst_structure_remove_fields),
9858 (gst_structure_remove_fields_valist),
9859 (gst_structure_remove_all_fields), (gst_structure_foreach),
9860 (gst_structure_map_in_place),
9861 (gst_caps_structure_fixate_field_nearest_int),
9862 (gst_caps_structure_fixate_field_nearest_double):
9863 * gst/gststructure.h:
9864 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9865 (gst_system_clock_init), (gst_system_clock_dispose),
9866 (gst_system_clock_async_thread),
9867 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
9868 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9869 * gst/gstsystemclock.h:
9870 * gst/gsttag.c: (gst_tag_list_add_value_internal),
9871 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
9872 * gst/gsttaginterface.c:
9873 * gst/gstthread.c: (gst_thread_dispose),
9874 (gst_thread_release_children_locks), (gst_thread_change_state),
9875 (gst_thread_main_loop):
9876 * gst/gsttrashstack.h:
9877 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
9879 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9880 (gst_element_request_pad), (gst_element_get_pad_from_template),
9881 (gst_element_request_compatible_pad),
9882 (gst_element_get_compatible_pad_filtered),
9883 (gst_element_get_compatible_pad), (gst_element_state_get_name),
9884 (gst_element_link_pads_filtered), (gst_element_link_filtered),
9885 (gst_element_link_many), (gst_element_link),
9886 (gst_element_link_pads), (gst_element_unlink_pads),
9887 (gst_element_unlink_many), (gst_element_unlink),
9888 (gst_pad_can_link_filtered), (gst_pad_can_link),
9889 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
9890 (gst_object_default_error), (gst_bin_add_many),
9891 (gst_bin_remove_many), (gst_element_populate_std_props),
9892 (gst_element_class_install_std_props), (gst_buffer_merge),
9893 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
9894 (link_fold_func), (gst_pad_proxy_setcaps):
9896 * gst/gstvalue.c: (gst_value_deserialize_string):
9897 * gst/parse/grammar.y:
9898 * gst/schedulers/gstbasicscheduler.c:
9899 (gst_basic_scheduler_cothreaded_chain),
9900 (gst_basic_scheduler_chain_recursive_add),
9901 (gst_basic_scheduler_pad_link):
9902 * gst/schedulers/gstoptimalscheduler.c:
9903 (get_group_schedule_function),
9904 (gst_opt_scheduler_state_transition),
9905 (gst_opt_scheduler_add_element), (element_get_reachables_func):
9906 * libs/gst/bytestream/bytestream.c:
9907 * libs/gst/dataprotocol/dataprotocol.c:
9908 (gst_dp_header_from_buffer):
9911 * tests/threadstate/threadstate2.c: (eos):
9912 * tools/gst-compprep.c: (main):
9913 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9914 (print_pad_info), (print_children_info):
9915 * tools/gst-launch.c: (idle_func), (main):
9916 * tools/gst-md5sum.c: (idle_func), (main):
9917 * tools/gst-xmlinspect.c: (print_element_info):
9918 First THREADED backport attempt, focusing on adding locks and
9919 making sure the API is threadsafe. Needs more work. More docs
9922 2005-02-24 Andy Wingo <wingo@pobox.com>
9924 * tests/bench-complexity.scm:
9925 * tests/complexity.gnuplot: New files, good for running complexity
9928 * tests/Makefile.am:
9929 * tests/complexity.c: New test, sets up N elements, at each level
9930 teeing into M streams per element. Eeeenteresting.
9932 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9933 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9934 running bench-mass_elements.scm.
9936 * tests/bench-mass_elements.scm: New script, runs mass_elements
9937 for various numbers of identities, outputting the results to a
9938 file. Requires guile 1.6. Just for testing.
9940 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9942 * gst/schedulers/fairscheduler.c:
9943 compile with debug disabled
9945 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9948 hunting season on 0.9 is now OPEN