1 2005-10-24 Wim Taymans <wim@fluendo.com>
6 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10 2005-10-24 Stefan Kost <ensonic@users.sf.net>
12 * docs/libs/tmpl/gstdparam.sgml:
13 * docs/libs/tmpl/gstdplinint.sgml:
14 * docs/libs/tmpl/gstdpman.sgml:
15 * docs/libs/tmpl/gstdpsmooth.sgml:
16 * docs/libs/tmpl/gstunitconvert.sgml:
19 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
26 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
29 releasing 0.9.4, "Tyrannosaurus Rex"
31 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
33 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
34 (gst_file_sink_get_current_offset):
35 Use fseeko() and ftello() if available. When falling back on
36 lseek() to get the current offset, fflush() first to make sure
37 everything is up-to-date and we get the right offset.
39 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
41 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
42 * gst/base/gstbasesrc.c: (gst_base_src_loop):
43 * gst/gsterror.c: (_gst_stream_errors_init):
45 * gst/gstqueue.c: (gst_queue_loop):
47 remove prematurely added error category and clean up the instances
49 2005-10-21 Wim Taymans <wim@fluendo.com>
51 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
52 (gst_base_sink_get_position), (gst_base_sink_query),
53 (gst_base_sink_change_state):
54 Simply set the right flag when going to playing, that's all
55 we need to do instead of calling a function inside the object
56 lock (that could take the lock as well and deadlock)
58 2005-10-21 Wim Taymans <wim@fluendo.com>
60 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
62 Don't warn, the peer element knows what to do best when
63 the seek failed, it might try something else.
65 2005-10-21 Wim Taymans <wim@fluendo.com>
67 * gst/base/gstbasesrc.c: (gst_base_src_init),
68 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
71 2005-10-21 Wim Taymans <wim@fluendo.com>
73 * docs/design/part-segments.txt:
76 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
77 Correctly set caps, even on the subbufer.
79 2005-10-21 Wim Taymans <wim@fluendo.com>
81 * docs/gst/gstreamer-docs.sgml:
82 * docs/gst/gstreamer-sections.txt:
89 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
93 And 2% more doc coverage.
95 2005-10-21 Andy Wingo <wingo@pobox.com>
97 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
100 2005-10-20 Wim Taymans <wim@fluendo.com>
102 * gst/gsterror.c: (gst_error_get_message):
105 * gst/gststructure.c:
110 2005-10-20 Wim Taymans <wim@fluendo.com>
115 Another 1% more coverage.
117 2005-10-20 Wim Taymans <wim@fluendo.com>
119 * docs/gst/gstreamer-sections.txt:
120 * gst/gstelement.c: (gst_element_get_state_func),
121 (gst_element_abort_state), (gst_element_commit_state),
122 (gst_element_lost_state):
124 * gst/gstquery.c: (gst_query_set_position),
125 (gst_query_parse_position), (gst_query_set_duration),
126 (gst_query_parse_duration), (gst_query_new_convert):
128 Yay! 1% more docs coverage.
130 2005-10-20 Wim Taymans <wim@fluendo.com>
133 * gst/gstquery.c: (gst_query_set_position),
134 (gst_query_parse_position), (gst_query_set_duration),
135 (gst_query_parse_duration), (gst_query_new_convert):
137 * gst/gstutils.c: (gst_element_query_convert):
139 Docs and consistency fixes.
141 2005-10-20 Wim Taymans <wim@fluendo.com>
147 2005-10-20 Wim Taymans <wim@fluendo.com>
149 * gst/gstbin.c: (message_check), (bin_replace_message),
150 (bin_remove_messages), (is_eos), (gst_bin_add_func),
151 (update_degree), (gst_bin_sort_iterator_next),
152 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
153 Reworked the message handling a bit, cache the messages instead of
154 only the senders. alows us to do more in the future.
156 2005-10-20 Wim Taymans <wim@fluendo.com>
158 * docs/design/part-TODO.txt:
161 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
162 (gst_base_sink_query):
163 Don't use clock time to report position when in EOS.
165 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
167 * tools/gst-inspect.c: (print_interfaces),
168 (print_element_properties_info), (print_element_info):
169 Fix interface output with gst-inspect -a; don't print
170 newlines after double/float properties.
172 2005-10-20 Wim Taymans <wim@fluendo.com>
174 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
175 (gst_base_sink_query):
176 Speed up current position calculation.
178 * gst/base/gstbasesrc.c: (gst_base_src_query),
179 (gst_base_src_default_newsegment):
180 Correctly set stream position in newsegment.
182 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
183 (update_degree), (gst_bin_sort_iterator_next),
184 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
185 * gst/gstmessage.c: (gst_message_new_custom):
186 Clean up debugging info
188 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
189 (gst_queue_loop), (gst_queue_handle_src_query):
192 2005-10-19 Wim Taymans <wim@fluendo.com>
194 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
195 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
196 Fix query handling again.
198 2005-10-19 Wim Taymans <wim@fluendo.com>
200 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
201 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
202 * gst/base/gstbasesrc.c: (gst_base_src_query):
203 * gst/elements/gstfilesink.c: (gst_file_sink_query):
204 * gst/elements/gsttypefindelement.c:
205 (gst_type_find_handle_src_query), (find_element_get_length),
206 (gst_type_find_element_activate):
209 * gst/gstquery.c: (gst_query_new_position),
210 (gst_query_set_position), (gst_query_parse_position),
211 (gst_query_new_duration), (gst_query_set_duration),
212 (gst_query_parse_duration), (gst_query_set_segment),
213 (gst_query_parse_segment):
215 Bundling query position/duration is not a good idea since duration
216 does not change much and we don't want to recalculate it for every
217 position query, so they are separated again..
218 Base value in segment query is not needed.
220 * gst/gstqueue.c: (gst_queue_handle_src_query):
221 * gst/gstutils.c: (gst_element_query_position),
222 (gst_element_query_duration), (gst_pad_query_position),
223 (gst_pad_query_duration):
225 Updates for query API change.
226 Added some docs here and there.
228 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
230 * check/gst/gstbin.c: (GST_START_TEST):
231 * check/gst/gstghostpad.c: (GST_START_TEST):
232 * check/pipelines/cleanup.c: (GST_START_TEST):
233 wait on thread to die so we can check refcount correctly
235 2005-10-18 Wim Taymans <wim@fluendo.com>
237 * check/pipelines/stress.c: (GST_START_TEST):
238 Make check a little more time consuming.
240 2005-10-18 Wim Taymans <wim@fluendo.com>
243 * check/pipelines/stress.c: (GST_START_TEST),
244 (simple_launch_lines_suite), (main):
245 Small state change torture test.
247 * docs/design/part-states.txt:
248 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
249 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
250 (gst_base_sink_change_state):
251 Never take state lock from streaming thread, clean up ugly
252 hacks. Unfortunatly core does not yet support nice ways to
255 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
257 Start state recalc if a STATE_DIRTY message is posted, but only
260 * gst/gstelement.c: (gst_element_sync_state_with_parent),
261 (gst_element_get_state_func), (gst_element_abort_state),
262 (gst_element_commit_state), (gst_element_lost_state),
263 (gst_element_set_state_func), (gst_element_change_state):
265 State variables are now protected with the LOCK, the state
266 lock is only used to serialize _set_state().
268 2005-10-18 Wim Taymans <wim@fluendo.com>
270 * check/gst/gstbin.c: (GST_START_TEST):
271 * check/gst/gstmessage.c: (GST_START_TEST):
272 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
273 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
275 * gst/gstelement.c: (gst_element_abort_state),
276 (gst_element_commit_state), (gst_element_lost_state):
277 * gst/gstmessage.c: (gst_message_new_state_changed),
278 (gst_message_new_state_dirty), (gst_message_new_segment_start),
279 (gst_message_new_segment_done), (gst_message_new_duration),
280 (gst_message_parse_state_changed),
281 (gst_message_parse_segment_start),
282 (gst_message_parse_segment_done), (gst_message_parse_duration):
284 * tools/gst-launch.c: (event_loop):
285 Seriously, this is better than a previous commit as we only need
286 to notify the fact that an element changed state in a streaming
287 thread, marking the state of the parents dirty, hence the
288 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
291 2005-10-18 Wim Taymans <wim@fluendo.com>
293 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
294 (gst_bin_recalc_func):
295 * gst/gstelement.c: (gst_element_set_clock),
296 (gst_element_abort_state), (gst_element_lost_state):
297 Cleanups, prepare for state change fixes.
299 2005-10-18 Wim Taymans <wim@fluendo.com>
302 * gst/gstelement.c: (gst_element_class_init),
303 (gst_element_set_state), (gst_element_set_state_func):
306 GThreadPool in GstBinClass to monitor async state changes.
307 state_cookie in GstElement to detect concurrent gst/set state.
308 set_state is now virtual too in case a very complicated element
309 has to be constructed.
311 2005-10-18 Wim Taymans <wim@fluendo.com>
313 * check/gst/gstbin.c: (GST_START_TEST):
314 * check/gst/gstmessage.c: (GST_START_TEST):
315 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
316 * gst/gstbin.c: (bin_bus_handler):
317 * gst/gstelement.c: (gst_element_commit_state),
318 (gst_element_lost_state):
319 * gst/gstmessage.c: (gst_message_new_state_changed),
320 (gst_message_new_segment_start), (gst_message_new_segment_done),
321 (gst_message_new_duration), (gst_message_parse_state_changed),
322 (gst_message_parse_segment_start),
323 (gst_message_parse_segment_done), (gst_message_parse_duration):
325 * tools/gst-launch.c: (event_loop):
326 Make messages future proof.
327 state-change gets a flag if it was a message comming from the
329 segment-start/stop can also be specified in other formats.
330 A message to notify an app that a pipeline changed playback
332 Also fix a GstMessage leak in -launch
334 2005-10-18 Andy Wingo <wingo@pobox.com>
336 * gst/gstelement.c (gst_element_dispose): More helpful message.
338 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
340 * gst/gstregistry.c: (gst_registry_scan_path_level):
341 unref a plug-in we get that was already initialized
343 2005-10-18 Stefan Kost <ensonic@users.sf.net>
345 * docs/gst/gstreamer-sections.txt:
346 * docs/libs/gstreamer-libs-sections.txt:
351 2005-10-17 Andy Wingo <wingo@pobox.com>
353 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
356 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
358 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
360 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
361 (gst_element_get_state_func): Better debug message.
362 (gst_element_commit_state): s/INFO/DEBUG/.
363 (gst_element_lost_state, gst_element_change_state):
365 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
366 (gst_message_new_custom): s/INFO/LOG/.
368 2005-10-17 Michael Smith <msmith@fluendo.com>
370 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
371 Check if end time is valid using end time, not start time.
373 2005-10-17 Stefan Kost <ensonic@users.sf.net>
375 * check/gst-libs/controller.c: (GST_START_TEST),
376 (gst_controller_suite):
377 * libs/gst/controller/gstcontroller.c:
378 (gst_controlled_property_set_interpolation_mode):
379 * libs/gst/controller/gstcontroller.h:
380 * libs/gst/controller/gstinterpolation.c:
381 * testsuite/controller/.cvsignore:
382 * testsuite/controller/Makefile.am:
383 * testsuite/controller/interpolator.c:
384 merge controller testsuites
386 remove mem-chunk from docs
388 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
392 * gst/gsttrashstack.c:
393 * gst/gsttrashstack.h:
394 out. get out. you're fired. to the Attic !
396 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
398 * gst/gstcaps.c: (gst_caps_intersect):
399 fix signedness issues in a (hopefully) correct way
400 * gst/gstelement.c: (gst_element_pads_activate):
402 * gst/gstobject.c: (gst_object_set_parent):
405 2005-10-17 Julien MOUTTE <julien@moutte.net>
407 * gst/gstvalue.h: Fix prototypes.
409 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
411 * docs/gst/gstreamer-sections.txt:
412 * gst/gst.c: (gst_version_string):
414 * gst/gstversion.h.in:
415 * win32/common/libgstreamer.def:
416 add gst_version_string ()
418 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
422 * gst/gst.c: (init_post):
423 * win32/common/config.h.in:
425 * gst/gstcaps.c: (gst_caps_intersect):
426 use gint64, the range could be bigger than a guint
428 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
431 document potential problem in 2038
433 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
435 * gst/gstcaps.c: (gst_caps_intersect):
436 Fix guint j diving under 0
438 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
441 * win32/common/config.h:
442 * win32/common/config.h.in:
443 check for process.h, declares getpid() on Windows
445 include process.h if we have it
446 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
448 fix signedness issues
449 * win32/common/libgstreamer.def:
452 2005-10-16 Julien MOUTTE <julien@moutte.net>
454 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
455 fix. Because of unsigned ints, caps intersection was going nuts and
456 trying to access structures with G_MAXUINT index. That fixes
457 videotestsrc ! ffmpegcolorspace ! fakesink
458 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
461 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
464 use the gettext macro
465 * gst/elements/gstelements.c:
467 * gst/indexers/gstindexers.c:
468 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
469 * win32/common/config.h:
471 * win32/common/config.h.in:
472 add the template to generate config.h
473 * win32/common/gstenumtypes.c:
474 * win32/common/gstversion.h:
477 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
479 * gst/gst.c: (gst_version):
480 * gst/gstversion.h.in:
483 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
486 Oops, add missing closing bracket.
488 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
491 use common m4's for argument checking
493 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
495 * docs/gst/gstreamer-sections.txt:
497 Add GST_EVENT_TYPE_NAME() macro.
499 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
502 * gst/gstpluginfeature.c:
504 privatize more symbols
506 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
509 add srcdir, builddir includes to GST_ALL_CFLAGS, since
510 everything that uses GStreamer API should have the includes
512 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
514 * docs/gst/gstreamer-sections.txt:
515 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
517 give each value a _get_type, removes the DATA exports
519 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
523 remove _gst_registry_auto_load, not used anymore
524 * gst/gstbin.c: (gst_bin_get_type):
526 * gst/gstelement.c: (gst_element_get_type):
528 * gst/gstobject.c: (gst_object_get_type):
530 * gst/gstpad.c: (gst_pad_get_type):
532 make _get_type functions similar, fixes data export from library
534 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
537 correctly make conditionals
538 * gst/elements/Makefile.am:
539 * gst/elements/gstelements.c:
540 fix typo causing fdsrc not to build
542 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
544 * testsuite/Makefile.am:
545 * testsuite/bytestream/.cvsignore:
546 * testsuite/bytestream/Makefile.am:
547 * testsuite/bytestream/filepadsink.c:
548 * testsuite/bytestream/gstbstest.c:
549 * testsuite/bytestream/test1.c:
550 * testsuite/bytestream/testfile1:
551 * testsuite/caps/normalisation.c:
552 * testsuite/caps/random.c: (main):
553 * testsuite/cleanup/.cvsignore:
554 * testsuite/cleanup/Makefile.am:
555 * testsuite/cleanup/cleanup1.c:
556 * testsuite/cleanup/cleanup2.c:
557 * testsuite/cleanup/cleanup3.c:
558 * testsuite/cleanup/cleanup4.c:
559 * testsuite/cleanup/cleanup5.c:
560 * testsuite/controller/interpolator.c:
561 * testsuite/debug/printf_extension.c: (main):
562 * testsuite/elements/tee.c:
563 * testsuite/negotiation/.cvsignore:
564 * testsuite/negotiation/Makefile.am:
565 * testsuite/negotiation/pad_link.c:
566 * testsuite/pad/Makefile.am:
567 * testsuite/pad/chainnopull.c:
568 * testsuite/pad/getnopush.c:
569 * testsuite/pad/link.c:
570 * testsuite/refcounting/sched.c: (create_pipeline):
571 * testsuite/registry/Makefile.am:
572 * testsuite/registry/gst-print-formats.c:
573 * testsuite/schedulers/.cvsignore:
574 * testsuite/schedulers/142183-2.c:
575 * testsuite/schedulers/142183.c:
576 * testsuite/schedulers/143777-2.c:
577 * testsuite/schedulers/143777.c:
578 * testsuite/schedulers/147713.c:
579 * testsuite/schedulers/147819.c:
580 * testsuite/schedulers/147894-2.c:
581 * testsuite/schedulers/147894.c:
582 * testsuite/schedulers/Makefile.am:
583 * testsuite/schedulers/group_link.c:
584 * testsuite/schedulers/queue_link.c:
585 * testsuite/schedulers/relink.c:
586 * testsuite/schedulers/unlink.c:
587 * testsuite/schedulers/unref.c:
588 * testsuite/schedulers/useless_iteration.c:
589 * testsuite/states/bin.c:
590 clean out/remove some stuff from the testsuite directories
592 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
595 check for some headers
596 * gst/elements/Makefile.am:
597 * gst/elements/gstelements.c:
598 don't compile fdsrc without sys/socket.h
599 * gst/indexers/Makefile.am:
600 * gst/indexers/gstindexers.c: (plugin_init):
601 don't compile fileindex without mmap
603 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
611 * docs/gst/Makefile.am:
612 * examples/helloworld/Makefile.am:
614 * gst/base/Makefile.am:
615 * gst/check/Makefile.am:
616 * gst/elements/Makefile.am:
617 * gst/indexers/Makefile.am:
618 * gst/parse/Makefile.am:
619 * libs/gst/controller/Makefile.am:
620 * libs/gst/dataprotocol/Makefile.am:
621 * examples/helloworld/helloworld.c: (event_loop):
622 compile fixes, though it's not being compiled currently
624 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
626 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
627 Add some simple tests for the new taglist date API.
629 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
631 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
632 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
633 Beautify 'last-message' output: print 'none' for buffer timestamps
634 and durations if none is set; improve alignment with next messages.
636 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
638 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
639 * gst/gstpluginfeature.h:
640 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
642 * docs/gst/gstreamer-sections.txt:
643 Add new API to check plugin feature version requirements.
645 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
646 Some basic tests for the above.
648 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
650 * gst/gststructure.c: (gst_structure_to_string):
651 guard against NULL printf - happens when for example
652 a message structure with GstClock gets serialized
654 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
656 * gst/base/gstcollectpads.c: (gst_collectpads_event):
657 Fix presumable copy'n'pasto.
659 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
661 * gst/elements/gstfakesrc.h:
662 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
663 * gst/elements/gsttypefindelement.c:
665 * gst/elements/gstfilesink.c: (gst_file_sink_render):
666 I wonder if this could actually write +2GB files before
668 2005-10-13 Andy Wingo <wingo@pobox.com>
670 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
671 Fix Timmeke Waymans bug.
672 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
673 string of the proper length to gst_caps_from_string. There's a
674 potential for, before this fix, that this could cause someone
675 connecting over the network to cause a segfault if the payload is
678 2005-10-13 Stefan Kost <ensonic@users.sf.net>
680 * docs/design/draft-push-pull.txt:
681 * docs/design/part-overview.txt:
682 * docs/random/TODO-pre-0.9:
683 * docs/random/old/ChangeLog.gstreamer:
684 * gst/base/gstpushsrc.c:
688 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
690 * gst/glib-compat.c: (gst_flags_get_first_value):
692 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
693 (gst_value_compare_double), (gst_value_serialize_flags):
694 GLib 2.6 g_flags_get_first_value has a bug that triggers an
697 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
699 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
700 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
702 * tools/gst-launch.c: (event_loop):
703 print out clock nicely
705 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
707 * docs/gst/gstreamer-sections.txt:
709 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
710 (gst_tag_list_get_date_index):
711 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
712 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
714 2005-10-13 Julien MOUTTE <julien@moutte.net>
716 * gst/base/gstcollectpads.c: (gst_collectpads_event),
717 (gst_collectpads_chain):
718 * gst/base/gstcollectpads.h: Handle newsegment and store informations
721 2005-10-13 Stefan Kost <ensonic@users.sf.net>
723 * docs/gst/gstreamer-sections.txt:
726 * tools/gst-inspect.c: (main):
727 * tools/gst-launch.c: (main):
728 * tools/gst-run.c: (main):
729 * tools/gst-xmlinspect.c: (main):
730 fix GOption context leaks
733 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
737 * win32/common/config.h:
739 * win32/vs6/grammar.dsp:
740 * win32/vs6/libgstelements.dsp:
741 * win32/vs6/libgstreamer.dsp:
744 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
747 * gst/base/gstbasesrc.c: (gst_base_src_query):
748 fix more guint64<->gdouble conversions
750 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
753 add win32-update target
754 * win32/common/gstconfig.h:
755 * win32/common/gstenumtypes.c:
756 * win32/common/gstenumtypes.h:
757 * win32/common/gstversion.h:
758 add files that visual studio can't generate
760 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
763 add a win32-update target
766 2005-10-12 Wim Taymans <wim@fluendo.com>
768 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
769 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
770 * gst/gstelement.c: (gst_element_commit_state),
771 (gst_element_set_state):
772 Protect flags with proper lock.
773 unref provided cached clock in dispose.
775 2005-10-12 Stefan Kost <ensonic@users.sf.net>
778 * gst/gstminiobject.h:
780 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
781 removed unused flags from miniobject
784 2005-10-12 Wim Taymans <wim@fluendo.com>
786 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
787 (gst_file_sink_event), (gst_file_sink_render):
788 Flush before seeking.
790 2005-10-12 Andy Wingo <wingo@pobox.com>
792 * gst/gst.c (gst_init_check): Ignore unknown options, as has
793 always been the case.
795 2005-10-12 Stefan Kost <ensonic@users.sf.net>
797 * check/gst/gstbin.c: (GST_START_TEST):
798 * docs/gst/gstreamer-sections.txt:
799 * gst/base/gstbasesink.c: (gst_base_sink_init):
800 * gst/base/gstbasesrc.c: (gst_base_src_init),
801 (gst_base_src_get_range), (gst_base_src_check_get_range),
802 (gst_base_src_start), (gst_base_src_stop):
803 * gst/base/gstbasesrc.h:
804 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
805 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
806 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
810 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
812 * gst/gstelement.c: (gst_element_is_locked_state),
813 (gst_element_set_locked_state), (gst_element_commit_state),
814 (gst_element_set_state):
816 * gst/gstindex.c: (gst_index_init):
818 * gst/gstminiobject.h:
819 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
820 (gst_object_set_parent):
822 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
823 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
825 * gst/gstpadtemplate.h:
826 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
827 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
829 * gst/indexers/gstfileindex.c: (gst_file_index_load),
830 (gst_file_index_commit):
831 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
832 * testsuite/pad/link.c: (gst_test_src_init),
833 (gst_test_filter_init), (gst_test_sink_init):
834 * testsuite/states/locked.c: (main):
835 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
836 moved bitshift from macro to enum definition
838 2005-10-12 Wim Taymans <wim@fluendo.com>
840 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
841 * gst/elements/gstfilesink.c: (gst_file_sink_event),
842 (gst_file_sink_render):
843 Some more debugging info.
845 2005-10-12 Wim Taymans <wim@fluendo.com>
847 * docs/design/part-states.txt:
848 * tools/gst-launch.c: (main):
850 Revert non-intentional change.
852 2005-10-12 Wim Taymans <wim@fluendo.com>
854 * check/gst/gstbin.c: (GST_START_TEST):
855 * check/gst/gstelement.c: (GST_START_TEST):
856 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
857 * check/gst/gstghostpad.c: (GST_START_TEST):
858 * check/gst/gstpipeline.c: (GST_START_TEST):
859 * check/pipelines/simple_launch_lines.c: (run_pipeline):
860 * check/states/sinks.c: (GST_START_TEST):
861 * gst/elements/gsttypefindelement.c: (stop_typefinding):
862 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
863 (gst_bin_remove_func), (gst_bin_get_state_func),
864 (gst_bin_recalc_state), (gst_bin_change_state_func),
866 * gst/gstelement.c: (gst_element_get_state_func),
867 (gst_element_get_state), (gst_element_abort_state),
868 (gst_element_commit_state), (gst_element_set_state),
869 (gst_element_change_state), (gst_element_change_state_func):
871 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
872 (gst_pipeline_provide_clock_func):
873 * gst/gstutils.c: (gst_element_link_pads_filtered):
874 * tools/gst-launch.c: (main):
875 * tools/gst-typefind.c: (main):
876 Use GstClockTime in _get_state() instead of GTimeVal.
877 Remove old code in gstutils.c
879 2005-10-12 Andy Wingo <wingo@pobox.com>
881 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
884 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
885 there is no task. Shouldn't affect any code, as nothing in our
886 plugins checks this return value.
887 (gst_pad_stop_task): Also take the stream lock if the pad has no
890 2005-10-12 Wim Taymans <wim@fluendo.com>
892 * gst/gstpad.c: (pre_activate), (post_activate),
893 (gst_pad_activate_pull), (gst_pad_activate_push):
894 Cleanup activation code. Reset old state if
897 2005-10-12 Wim Taymans <wim@fluendo.com>
899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
900 (gst_base_sink_change_state):
901 No need to prerol after receiving EOS.
903 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
904 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
905 * gst/elements/gstidentity.c: (gst_identity_event):
906 Print events more verbosely.
908 2005-10-12 Wim Taymans <wim@fluendo.com>
911 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
912 * check/states/sinks2.c:
913 Moved sinks2 testcode in sinks check.
915 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
916 (gst_bin_remove_func), (gst_bin_recalc_state),
917 (gst_bin_change_state_func), (bin_bus_handler):
918 Fix potential race condition when _get_state() iterated over an
919 ASYNC element right before it posted a state completion.
924 * gst/gstevent.c: (gst_event_new_newsegment),
925 (gst_event_parse_newsegment):
926 A playback rate of 0.0 is not allowed.
928 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
930 * win32/common/config.h:
931 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
932 (_trewinddir), (_ttelldir), (_tseekdir):
933 * win32/common/dirent.h:
934 * win32/common/gtchar.h:
935 * win32/common/libgstbase.def:
936 * win32/common/libgstreamer.def:
937 * win32/vs6/grammar.dsp:
938 * win32/vs6/gst_inspect.dsp:
939 * win32/vs6/gst_launch.dsp:
940 * win32/vs6/gstreamer.dsw:
941 * win32/vs6/libgstbase.dsp:
942 * win32/vs6/libgstelements.dsp:
943 * win32/vs6/libgstreamer.dsp:
944 Visual Studio 6 project files, and a new common directory.
947 2005-10-11 Wim Taymans <wim@fluendo.com>
949 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
950 (gst_base_sink_do_sync), (gst_base_sink_query),
951 (gst_base_sink_change_state):
952 * gst/base/gstbasesink.h:
953 Correctly parse newsegment info.
955 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
957 * gst/gst.c: (init_post):
958 split plugin paths correctly
960 2005-10-11 Wim Taymans <wim@fluendo.com>
962 * check/gst/gstevent.c: (GST_START_TEST):
963 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
964 (gst_base_sink_change_state):
965 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
966 * gst/base/gstbasetransform.c: (gst_base_transform_event):
967 * gst/elements/gstfilesink.c: (gst_file_sink_event):
968 * gst/gstevent.c: (gst_event_new_newsegment),
969 (gst_event_parse_newsegment):
971 Added extra flag to newsegment for future API freeze.
972 Updated check and base elements.
974 2005-10-11 Julien MOUTTE <julien@moutte.net>
976 * gst/base/gstcollectpads.c: (gst_collectpads_init),
977 (gst_collectpads_add_pad), (gst_collectpads_pop),
978 (gst_collectpads_event), (gst_collectpads_chain):
979 * gst/base/gstcollectpads.h: Handle EOS correctly.
981 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
983 * tools/gst-launch.c: (main):
986 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
988 * gst/gst-i18n-lib.h:
989 check for ENABLE_NLS, not GETTEXT_PACKAGE
990 * gst/gstregistry.c: (gst_registry_add_plugin),
991 (gst_registry_scan_path_level),
992 (_gst_registry_remove_cache_plugins):
993 protect possibly NULL strings
995 config.h already included before
996 * tools/gst-inspect.c: (main):
997 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
998 check for ENABLE_NLS, not GETTEXT_PACKAGE
999 * tools/gst-launch.c: (main):
1000 check for ENABLE_NLS, not GETTEXT_PACKAGE
1002 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1005 if we don't have glib, fail before testing 2.8
1006 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1007 fix a leak, should fix plugins-base testsuite
1009 2005-10-11 Andy Wingo <wingo@pobox.com>
1011 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1012 take the mode we're going to as an arg. Go head and set the mode
1013 and flushing flags now, so that if the activate function starts a
1014 thread all the flags will be in the right state.
1015 (post_activate): Renamed also. Just handle making sure streaming
1016 finishes for the deactivation case, and setting the deactivated
1018 (gst_pad_set_active): Complain loudly if deactivation fails.
1019 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1020 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1021 remove the terrible hack.
1023 2005-10-11 Wim Taymans <wim@fluendo.com>
1025 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1026 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1027 (gst_bin_recalc_state), (gst_bin_change_state_func),
1028 (gst_bin_dispose), (bin_bus_handler):
1030 Prepare to make current EOS message queue more generic.
1033 * gst/gstevent.c: (gst_event_new_newsegment),
1034 (gst_event_parse_newsegment):
1036 Rename base to stream_time.
1041 2005-10-11 Wim Taymans <wim@fluendo.com>
1043 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1044 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1045 (gst_bin_change_state_func), (bin_bus_handler):
1047 Work on proper clock selection.
1049 2005-10-11 Edward Hervey <edward@fluendo.com>
1051 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1052 * libs/gst/controller/gstcontroller.h:
1053 Added GList* version of _remove_properties() in order to be able to wrap
1056 2005-10-11 Wim Taymans <wim@fluendo.com>
1058 * docs/design/part-states.txt:
1061 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1062 (gst_bin_change_state_func), (bin_bus_handler):
1063 Doc updates. Don't distribute the same clock over and over again.
1069 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1070 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1071 (gst_pad_send_event):
1073 Make probe emission threadsafe again.
1074 Register quarks and move _get_name() from utils.
1077 * gst/gstpipeline.c: (gst_pipeline_class_init),
1078 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1079 Only redistribute the clock of it changed.
1081 * gst/gstsystemclock.h:
1086 Moved the _flow_get_name() to GstPad.
1088 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1090 * check/gst-libs/gdp.c: (GST_START_TEST):
1091 * check/gst/gstcaps.c: (GST_START_TEST):
1092 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1093 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1094 (gst_dp_packet_from_caps):
1095 fix more valgrind warnings before turning up the heat
1097 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1099 * gst/parse/grammar.y:
1100 some cleanup before the hacking
1102 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1104 * gst/base/gstbasesrc.c: (gst_base_src_query):
1106 * gst/gstutils.c: (gst_guint64_to_gdouble),
1107 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1109 externalize, basesrc uses it
1110 obviously the implementation needs testing
1112 2005-10-10 Wim Taymans <wim@fluendo.com>
1114 * tests/sched/Makefile.am:
1115 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1116 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1118 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1120 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1121 apparently converting from guint64 to double is not implemented
1124 2005-10-10 Wim Taymans <wim@fluendo.com>
1126 * check/Makefile.am:
1127 * check/generic/states.c: (GST_START_TEST):
1128 * check/gst/gstbin.c: (GST_START_TEST):
1129 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1130 * check/states/sinks.c: (GST_START_TEST):
1131 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1133 Check fixes, use API as stated in design docs, remove hacks.
1135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1136 (gst_base_sink_change_state):
1137 Catch stopping our task while we're shutting down.
1139 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1140 (gst_bin_remove_func), (gst_bin_get_state_func),
1141 (gst_bin_recalc_state), (gst_bin_change_state_func),
1144 * gst/gstelement.c: (gst_element_init),
1145 (gst_element_get_state_func), (gst_element_abort_state),
1146 (gst_element_commit_state), (gst_element_lost_state),
1147 (gst_element_set_state), (gst_element_change_state),
1148 (gst_element_change_state_func):
1150 New state change algorithm (see #318116)
1152 * gst/gstpipeline.c: (gst_pipeline_class_init),
1153 (gst_pipeline_init), (gst_pipeline_set_property),
1154 (gst_pipeline_get_property), (do_pipeline_seek),
1155 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1156 * gst/gstpipeline.h:
1157 Remove crude state change hacks.
1162 * tools/gst-launch.c: (main):
1163 Fixes for state change. Needs some more work to fully use the
1166 2005-10-10 Andy Wingo <wingo@pobox.com>
1168 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1170 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1171 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1174 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1176 * gst/gstiterator.c: (gst_iterator_new):
1177 Fix my previous commit: GTypes passed to gst_iterator_new()
1178 can be fundamental types.
1180 2005-10-10 Wim Taymans <wim@fluendo.com>
1182 * gst/gstelement.c: (gst_element_iterate_pad_list),
1183 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1184 (gst_element_iterate_sink_pads):
1185 Use src/sink pads lists for the respective iterators instead
1188 2005-10-10 Andy Wingo <wingo@pobox.com>
1190 Merged in popt removal + GOption addition patch from Ronald, bug
1193 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1194 GstElement macros around, remove popt-related symbols, add goption
1197 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1199 * docs/gst/Makefile.am:
1200 * docs/libs/Makefile.am: No POPT_CFLAGS.
1202 * examples/manual/Makefile.am:
1203 * docs/manual/basics-init.xml: Doc updates with an example.
1205 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1206 (gst_init), (parse_one_option), (parse_goption_arg):
1207 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1208 bit of hand merging and debugging to get the GOption stuff working
1211 * tests/Makefile.am:
1212 * tools/Makefile.am:
1213 * tools/gst-inspect.c: (main):
1214 * tools/gst-launch.c: (main):
1215 * tools/gst-run.c: (main):
1216 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1218 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1220 * gst/gstiterator.c: (gst_iterator_new):
1221 Add assertions to make sure passed GType is likely to really
1222 be a GType (as the compiler won't catch it if the size and
1223 GType arguments get mixed up, see #318447).
1225 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1227 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1229 * gst/gstbin.c: (gst_bin_iterate_sorted):
1230 Pass GType and size arguments to gst_iterator_new() in the right
1231 order (maybe we should make _new() take the GType as first argument
1232 just like _new_list()?) (#318447).
1235 2005-10-10 Wim Taymans <wim@fluendo.com>
1237 * gst/gstelement.c: (gst_element_finalize):
1238 And free the GStaticRecMutex too
1240 2005-10-10 Andy Wingo <wingo@pobox.com>
1242 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1243 Allocate and free the mutex properly.
1245 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1247 (GstElement): The state_lock is now recursive. Rebuild your
1248 plugins, suckers. Old macros adapted.
1250 * docs/gst/gstreamer-sections.txt: Doc updates.
1253 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1254 (g_static_rec_cond_wait): Ported from state changes patch, while
1255 we wait on bug #317802 to be solved in a well-distributed GLib.
1257 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1258 gst_element_change_state, variable name changes.
1259 (gst_element_change_state): Split out of gst_element_set_state in
1260 preparation for the state change merge. Doesn't pay attention to
1261 the 'transition' argument.
1262 (gst_element_set_state): Updates, hopefully purely cosmetic.
1263 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1265 (gst_element_get_state_func): Renamed from get_state, cosmetic
1268 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1270 * gst/elements/gstelements.c:
1271 * win32/GStreamer.vcproj:
1273 * win32/dirent.c: (_tseekdir):
1274 * win32/gst-inspect.vcproj:
1275 * win32/gst-launch.vcproj:
1276 * win32/gstconfig.h:
1277 * win32/gstelements.vcproj:
1278 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1279 * win32/gstreamer.def:
1281 updates for the win32 build (patch from Sebastien Moutte)
1283 2005-10-10 Andy Wingo <wingo@pobox.com>
1285 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1286 gst_bin_get_state, cleaned up (but no logic changes).
1287 (bin_element_is_sink): Comment updates.
1288 (sink_iterator_filter): Remove needless cast.
1289 (gst_bin_iterate_sinks): Doc update.
1290 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1291 cleaned up (but no logic changes).
1293 * check/states/sinks.c (test_src_sink): Cleanups from the state
1295 (test_livesrc_sink): Sync on the state.
1297 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1298 the state change patch.
1300 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1303 * check/gst/gstbin.c: Merge in some style fixes and additional
1304 checks from Wim's state change patch.
1306 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1308 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1309 (gst_type_find_helper):
1310 Check whether we have the requested data already in our list of
1311 cached buffers before pulling a new buffer; also make the buffer
1312 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1314 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1319 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1320 don't use long long, it's not portable. Replacing with
1321 gint64 seems to work; let's hope no skeletons fall out of the closet.
1323 2005-10-10 Andy Wingo <wingo@pobox.com>
1325 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1327 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1329 * docs/gst/gstreamer-sections.txt:
1334 * gst/gstmessage.c: (gst_message_parse_state_changed):
1337 more docs, fix compilation
1339 2005-10-09 Philippe Khalaf <burger@speedy.org>
1341 Fixed a few forgotten variables on previous commit
1343 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1345 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1346 Fix evil typefind crasher: getrange() might return a short
1347 buffer at the end of a file, but gst_type_find_peek() must
1348 either return the full data as requested or NULL, but
1349 never a short buffer.
1351 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1353 * gst/gstmessage.c: (gst_message_new_state_changed),
1354 (gst_message_parse_state_changed):
1356 don't use "new", it's a C++ keyword
1358 2005-10-08 Wim Taymans <wim@fluendo.com>
1360 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1361 * gst/gstelement.c: (gst_element_post_message):
1362 * gst/gstpipeline.c: (gst_pipeline_change_state):
1363 Small docs and debug updates.
1365 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1367 * docs/gst/gstreamer-sections.txt:
1368 * gst/gstelementfactory.c:
1373 2005-10-08 Wim Taymans <wim@fluendo.com>
1375 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1376 (gst_bin_dispose), (bin_bus_handler):
1377 Fix typos, add comments.
1378 Clear EOS list when going to PAUSED from any direction and do it
1379 in a threadsafe way.
1380 Get base time in a threadsafe way too.
1381 Fix confusing debug in the change_state function.
1382 Various other small cleanups.
1384 * gst/gstelement.c: (gst_element_post_message):
1385 Fix very verbose bus posting code.
1387 * gst/gstpipeline.c: (gst_pipeline_class_init),
1388 (gst_pipeline_set_property), (gst_pipeline_get_property),
1389 (gst_pipeline_change_state):
1390 Small ARG_ -> PROP_ cleanup
1392 2005-10-08 Wim Taymans <wim@fluendo.com>
1394 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1395 Do a less CPU demanding EOS check because we can.
1397 2005-10-08 Wim Taymans <wim@fluendo.com>
1399 * libs/gst/dataprotocol/dataprotocol.c:
1400 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1401 (gst_dp_packet_from_event):
1402 * libs/gst/dataprotocol/dataprotocol.h:
1403 * libs/gst/dataprotocol/dp-private.h:
1404 It's about time we bump the version number.
1405 Since event types don't fit in the guint8 anymore describing
1406 the payload type, make payload type 16 bits wide.
1408 2005-10-08 Wim Taymans <wim@fluendo.com>
1410 * docs/design/part-TODO.txt:
1411 * docs/design/part-clocks.txt:
1412 * docs/design/part-events.txt:
1413 * docs/design/part-gstbin.txt:
1414 * docs/design/part-gstelement.txt:
1415 * docs/design/part-gstpipeline.txt:
1416 * docs/design/part-live-source.txt:
1417 * docs/design/part-messages.txt:
1418 * docs/design/part-overview.txt:
1419 * docs/design/part-states.txt:
1422 2005-10-08 Wim Taymans <wim@fluendo.com>
1426 Fix event quark registration.
1427 Add some space between events so we can insert them in the
1430 2005-10-08 Wim Taymans <wim@fluendo.com>
1432 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1433 (gst_base_sink_handle_buffer):
1440 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1441 (gst_queue_set_property), (gst_queue_get_property):
1443 Remove old unused properties.
1445 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1446 * docs/gst/gstreamer-sections.txt:
1449 * gst/gstminiobject.c:
1450 * gst/gstminiobject.h:
1454 lots of new docs and doc fixes
1456 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1458 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1460 * gst/gstregistry.c: (gst_registry_lookup_locked),
1461 (gst_registry_scan_path_level):
1462 * gst/gstregistryxml.c: (load_plugin):
1463 Only ever load one plugin for a given plugin basename.
1464 This ensures correct overriding of GST_PLUGIN_PATH over
1465 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1466 system installed plugins.
1468 2005-10-08 Wim Taymans <wim@fluendo.com>
1470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1471 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1472 Prepare for doing QOS.
1474 2005-10-08 Wim Taymans <wim@fluendo.com>
1476 * check/gst/gstbin.c: (GST_START_TEST):
1477 * check/pipelines/cleanup.c: (GST_START_TEST):
1478 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1479 Allow new clock message too.
1481 2005-10-08 Wim Taymans <wim@fluendo.com>
1483 * gst/gstmessage.c: (gst_message_new_error),
1484 (gst_message_new_warning), (gst_message_new_tag),
1485 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1486 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1487 (gst_message_new_segment_start), (gst_message_new_segment_done),
1488 (gst_message_parse_state_changed),
1489 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1490 (gst_message_parse_new_clock):
1492 Also carry the clock in question.
1494 2005-10-08 Wim Taymans <wim@fluendo.com>
1496 * gst/gstmessage.c: (gst_message_new_custom),
1497 (gst_message_new_eos), (gst_message_new_error),
1498 (gst_message_new_warning), (gst_message_new_tag),
1499 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1500 (gst_message_new_new_clock), (gst_message_new_segment_start),
1501 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1502 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1505 Added clock related messages.
1507 * gst/gstpipeline.c: (gst_pipeline_change_state):
1508 Post message when the clock changed.
1510 * tools/gst-launch.c: (event_loop):
1513 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
1515 * tools/gst-inspect.c: (print_element_properties_info):
1516 Can't pass NULL strings to g_print() on windows.
1518 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1521 * docs/gst/Makefile.am:
1522 * docs/gst/gstreamer-docs.sgml:
1523 * docs/gst/running.xml:
1524 * docs/version.entities.in:
1525 add a chapter on running GStreamer.
1526 document GST_DEBUG and GST_PLUGIN* env vars
1528 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1533 remove PLUGINS_BUILDDIR stuff
1534 * gst/gst.c: (init_post):
1535 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
1537 remove, it was condescending and not needed
1539 2005-10-08 Wim Taymans <wim@fluendo.com>
1541 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1542 (gst_base_sink_handle_object), (gst_base_sink_event),
1543 (gst_base_sink_wait), (gst_base_sink_handle_event),
1544 (gst_base_sink_change_state):
1545 * gst/base/gstbasesink.h:
1546 Repost EOS message while going to PLAYING if still EOS.
1547 Make sure that when receiving a FLUSH_START we don't attempt
1548 to sync on the clock anymore.
1550 2005-10-08 Wim Taymans <wim@fluendo.com>
1552 * tools/gst-launch.c: (event_loop):
1553 Better message printout.
1555 2005-10-08 Wim Taymans <wim@fluendo.com>
1557 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
1558 (gst_bin_child_proxy_get_children_count):
1559 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1560 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
1561 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
1562 (gst_child_proxy_set_valist):
1563 * gst/parse/grammar.y:
1564 Make ChildProxy threadsafe and fix mem leaks.
1566 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1568 * gst/gst.c: (init_post):
1569 debug the GST_PLUGIN_ env vars
1571 2005-10-08 Wim Taymans <wim@fluendo.com>
1573 * check/gst/gstbin.c: (GST_START_TEST):
1574 * check/gst/gstmessage.c: (GST_START_TEST):
1575 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1576 * gst/gstelement.c: (gst_element_commit_state),
1577 (gst_element_lost_state):
1578 * gst/gstmessage.c: (gst_message_new_state_changed),
1579 (gst_message_parse_state_changed):
1581 * tools/gst-launch.c: (event_loop):
1582 Added extra field to STATE_CHANGE message with the pending
1583 state, which will be different from the new state soon.
1585 2005-10-08 Wim Taymans <wim@fluendo.com>
1587 * gst/gstbus.c: (gst_bus_pop):
1589 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1590 Small cleanups and doc updates.
1592 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1594 * gst/gst.c: (init_pre):
1595 * gst/gstbin.c: (gst_bin_add_func):
1596 log distributing clocks and base time
1597 * gst/gstregistry.c: (gst_registry_add_plugin),
1598 (gst_registry_scan_path_level), (gst_registry_scan_path):
1599 clean up the debugging output a little
1600 * gst/gstutils.c: (gst_element_state_get_name):
1601 warn about a memleak (I've actually seen this be used, though
1602 it was probably a bug)
1604 2005-10-07 Wim Taymans <wim@fluendo.com>
1606 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1607 (gst_base_src_init), (gst_base_src_default_newsegment),
1608 (gst_base_src_newsegment), (gst_base_src_do_seek),
1609 (gst_base_src_loop), (gst_base_src_start):
1610 * gst/base/gstbasesrc.h:
1611 Make the newsegment event customizable by subclasses.
1613 2005-10-07 Wim Taymans <wim@fluendo.com>
1615 * gst/gstevent.c: (gst_event_new_buffersize),
1616 (gst_event_parse_buffersize):
1618 New event for future idea.
1620 2005-10-07 Andy Wingo <wingo@pobox.com>
1622 * gst/gstelement.c (gst_element_post_message): Doc update.
1624 * docs/gst/gstreamer-sections.txt: Update.
1626 * gst/gstmessage.c (gst_message_new_application): Made into a
1627 function like honest API calls.
1628 (gst_message_new_element): New message type.
1630 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1632 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1633 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1636 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1637 NO_PREROLL from gst_element_change_state to fall through.
1639 2005-10-07 Wim Taymans <wim@fluendo.com>
1641 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1642 (gst_ghost_pad_do_activate_push):
1643 Activating a ghostpad with no internal pad in push mode
1646 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1649 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1650 Fixes compilation on Windows.
1652 2005-10-07 Michael Smith <msmith@fluendo.com>
1654 * tools/gst-inspect.c:
1655 Print out feature and plugin count at the end when printing out
1658 2005-10-04 Michael Smith <msmith@fluendo.com>
1660 * gst/gsterror.c: (_gst_stream_errors_init):
1661 Add another error string used in a few existing plugins.
1664 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1665 * tools/gst-inspect.c: (print_element_info):
1666 When a feature disappears from a plugin (and the feature exists in
1667 the cached registry file), things went horribly wrong. This isn't a
1668 complete fix, we should actually be removing the 'missing' features
1669 from the features list when we load the actual plugin. That's not
1672 2005-10-04 Johan Dahlin <johan@gnome.org>
1674 * check/gst/gstiterator.c: (GST_START_TEST):
1675 * gst/gstbin.c: (gst_bin_iterate_elements),
1676 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1677 * gst/gstelement.c: (gst_element_iterate_pads):
1678 * gst/gstformat.c: (gst_format_iterate_definitions):
1679 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1680 (gst_iterator_new_list), (gst_iterator_filter):
1681 * gst/gstiterator.h:
1682 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1683 Add a GType to GstIterator, update callsites and tests.
1685 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1687 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1688 give events a chance to be handled by event probes when the pad
1691 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1693 * gst/gstevent.c: (gst_event_type_get_name),
1694 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1696 add string representations for event types
1698 2005-10-06 Wim Taymans <wim@fluendo.com>
1700 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1701 Don't use NULL pointers.
1703 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1705 * gst/gst_private.h:
1709 * gst/gstpluginfeature.c:
1710 widen the debug category in output to fit the biggest one we have
1711 add a bus category and use it
1712 play with the colors
1713 fix up some categories
1715 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1717 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
1718 add push activation of sink ghost pads.
1719 Andye, please verify
1721 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1723 * gst/gstutils.c: (gst_element_link_pads):
1724 fix a bug in the case where neither element has a pad
1725 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1726 add a test for that case
1728 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1730 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
1731 emit have-data before checking for peers. This allows
1732 for probe handlers to connect elements. This helps autopluggers.
1733 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
1735 add six checks, linked/unlinked with no/true/false probe
1737 2005-10-04 Wim Taymans <wim@fluendo.com>
1739 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
1740 (gst_fake_sink_event), (gst_fake_sink_preroll),
1741 (gst_fake_sink_render), (gst_fake_sink_change_state):
1742 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
1743 (gst_fake_src_get_property), (gst_fake_src_create),
1744 (gst_fake_src_stop):
1745 * gst/elements/gstidentity.c: (gst_identity_stop):
1746 Protect last_message with lock.
1748 2005-10-04 Edward Hervey <edward@fluendo.com>
1751 Added precision in the comments for GST_FORMAT_DEFAULT
1753 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
1755 * tools/gst-launch.c: (main):
1756 Don't try to run erroneous pipelines.
1758 2005-10-04 Julien MOUTTE <julien@moutte.net>
1760 * gst/gstbus.c: We don't need this header.
1762 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1767 === release 0.9.3 ===
1769 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1773 Releasing 0.9.3, "Unregistered"
1775 2005-10-03 Andy Wingo <wingo@pobox.com>
1777 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
1778 whereby calling a pad's activatepush() function can start a thread
1779 that starts to push or pull before the pad gets the FLUSHING flag
1780 unset. Hack around it by holding the stream lock until the flag is
1781 set. Need to replace this with a proper solution. Together with
1782 the ghost pad fixes, this fixes mp3 playing/tagreading.
1784 * docs/design/part-gstghostpad.txt: Add a note about activation of
1785 proxy pads outside of ghost pads.
1787 * gst/gstghostpad.c: Implement the ghost pad activation design.
1789 2005-10-02 Andy Wingo <wingo@pobox.com>
1791 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1792 It is volatile, after all.
1794 * docs/design/part-gstghostpad.txt: Flesh out activation with
1797 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1800 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1803 Fix (unused) AM_CONDITIONAL tests.
1805 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1807 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1809 * gst/gstutils.c: (gst_pad_query_convert):
1810 Add assertion that makes sure src_val is >=0, just like
1811 gst_query_new_convert() has. (#315895)
1813 2005-09-30 Edward Hervey <edward@fluendo.com>
1815 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1816 Let's not iterate pads we're not interested in, it avoids getting
1817 sky-high refcounts on sinkpad.
1819 2005-09-30 Wim Taymans <wim@fluendo.com>
1821 * gst/gstelement.c: (gst_element_set_state),
1822 (gst_element_change_state):
1823 Small tweak, element in ASYNC remains ASYNC.
1825 2005-09-30 Wim Taymans <wim@fluendo.com>
1827 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1828 Only error is an error.
1830 * gst/gstbin.c: (gst_bin_change_state):
1833 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1834 Also call pad_block in pad alloc.
1836 * gst/gstutils.c: (gst_flow_get_name):
1839 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1841 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1842 (gst_base_src_get_range):
1843 Fix documentation typos. Add some more debug info.
1845 2005-09-29 David Schleef <ds@schleef.org>
1847 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
1848 more end-user friendly.
1849 * tools/gst-inspect.c: (main): Check if command-line argument is
1850 a file and attempt to load that file as a plugin.
1852 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1854 * check/gst/gstbin.c:
1855 * check/states/sinks.c:
1856 fix tests for the new warning
1857 * check/gst/gstpipeline.c:
1858 add a test for pipeline and bus interaction
1860 elements should be NULL if they get disposed; add a warning if not
1862 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1865 for 2.6 refcounting, make debug log more correct by printing
1866 the actual refcounts at the time of swap (Wim)
1868 2005-09-29 Andy Wingo <wingo@pobox.com>
1870 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
1871 removes signal watches previously added via
1872 gst_bus_add_signal_watch.
1873 (gst_bus_add_signal_watch): Don't return the source id, just store
1874 it on the bus if there wasn't an id already.
1876 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
1877 add_signal_watch and remove_signal_watch.
1879 2005-09-29 Edward Hervey <edward@fluendo.com>
1881 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1882 Better if we actually iterate the list :)
1884 2005-09-29 Wim Taymans <wim@fluendo.com>
1886 * check/gst/gstbin.c: (GST_START_TEST):
1887 Change for new bus API.
1889 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1890 (send_messages), (GST_START_TEST), (gstbus_suite):
1891 Change for new bus signal API.
1893 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
1894 (gst_bus_source_prepare), (gst_bus_source_check),
1895 (gst_bus_create_watch), (gst_bus_add_watch_full),
1896 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
1897 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
1899 Remove support for multiple GSources operating on different
1900 message types as it is too complex and unneeded when using
1902 Added support for receiving signals from the bus.
1904 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1906 * docs/libs/tmpl/gstdataprotocol.sgml:
1907 * docs/manual/advanced-dataaccess.xml:
1908 * gst/elements/gstcapsfilter.c:
1910 rename filter-caps to caps property
1912 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1914 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1915 More robust fraction string parsing.
1917 * docs/pwg/appendix-porting.xml:
1918 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
1920 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1922 * gst/gstcaps.c: (gst_caps_do_simplify):
1923 Thou shalt not free a structure and then continue using it
1924 in the next loop iteration.
1926 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1928 Add test case for caps simplification.
1930 2005-09-29 Wim Taymans <wim@fluendo.com>
1932 * check/gst/gstbin.c: (GST_START_TEST):
1935 2005-09-29 Wim Taymans <wim@fluendo.com>
1937 * check/gst/gstbin.c: (GST_START_TEST):
1940 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1941 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1942 (find_element), (gst_bin_sort_iterator_next),
1943 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1944 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1945 (gst_bin_change_state), (gst_bin_dispose):
1946 A bin does not have a bus, it gets the bus from the parent.
1948 * gst/gstelement.c: (gst_element_requires_clock),
1949 (gst_element_provides_clock), (gst_element_is_indexable),
1950 (gst_element_is_locked_state), (gst_element_change_state),
1951 (gst_element_set_bus_func):
1954 * gst/gstpipeline.c: (gst_pipeline_class_init),
1955 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1956 The pipeline provides a bus.
1958 2005-09-28 Johan Dahlin <johan@gnome.org>
1960 * gst/gstmessage.c (gst_message_parse_state_changed): Use
1961 gst_structure_get_enum instead of gst_structure_get_int
1963 * gst/gststructure.c (gst_structure_get_enum): Impl.
1965 * gst/gststructure.h (gst_structure_get_enum): Add
1967 * docs/gst/gstreamer-sections.txt: Ditto
1969 * gst/gstmessage.c (gst_message_new_state_changed): Use
1970 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1971 which does introspection.
1972 Reviewed by Christian Schaller
1974 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1976 * gst/gstinfo.c: (gst_debug_log_default):
1977 don't do dummy g_strdup()s
1978 * libs/gst/controller/gstcontroller.c:
1979 (on_object_controlled_property_changed),
1980 (gst_controlled_property_new), (gst_controller_new_valist),
1981 (gst_controller_new_list),
1982 (gst_controller_remove_properties_valist), (gst_controller_set),
1983 (gst_controller_get), (gst_controller_sync_values),
1984 (gst_controller_get_value_array), (_gst_controller_class_init),
1985 (gst_controller_get_type):
1986 * libs/gst/controller/gstcontroller.h:
1987 * libs/gst/controller/gstinterpolation.c:
1988 (gst_controlled_property_find_timed_value_node):
1989 convert // to /**/ comments
1991 2005-09-28 Wim Taymans <wim@fluendo.com>
1993 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1994 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1995 (gst_bus_sync_signal_handler):
1997 Added async-message and sync-message signals to the bus.
1998 Added helper BusFunc to emit signals for all posted messages.
2000 * gst/gstmessage.c: (gst_message_type_get_name),
2001 (gst_message_type_to_quark), (gst_message_get_type):
2003 Register quarks for message names.
2005 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2007 * docs/libs/gstreamer-libs-sections.txt:
2008 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2009 (gst_controller_new_list):
2010 * libs/gst/controller/gstcontroller.h:
2011 added another constructor for language bindings
2013 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2015 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2019 * gst/gstinfo.c: (_gst_debug_init):
2020 slightly more readable color for refcount debugging
2022 2005-09-28 Wim Taymans <wim@fluendo.com>
2024 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2025 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2026 (find_element), (gst_bin_sort_iterator_next),
2027 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2028 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2029 (gst_bin_change_state), (gst_bin_dispose):
2030 Small doc fixes. get_clock -> provide_clock.
2032 * gst/gstelement.c: (gst_element_class_init),
2033 (gst_element_provides_clock), (gst_element_provide_clock),
2034 (gst_element_get_clock), (gst_element_commit_state),
2035 (gst_element_lost_state):
2037 Make get/set_clock() symetric. Add provide_clock vmethod since
2038 that is actually what this function does.
2040 * gst/gstpipeline.c: (gst_pipeline_class_init),
2041 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2042 (gst_pipeline_get_clock):
2043 get_clock -> provide_clock.
2045 2005-09-28 Andy Wingo <wingo@pobox.com>
2047 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2048 lieu of real docs...
2050 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2052 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2054 * gst/elements/gstcapsfilter.c:
2055 * gst/elements/gstfakesink.c:
2056 * gst/elements/gstfakesrc.c:
2057 * gst/elements/gstfdsink.c:
2058 * gst/elements/gstfdsrc.c:
2059 * gst/elements/gstfilesink.c:
2060 * gst/elements/gstfilesrc.c:
2061 * gst/elements/gstidentity.c:
2062 * gst/elements/gsttee.c:
2063 * gst/elements/gsttypefindelement.c:
2064 Make element details static.
2066 2005-09-28 Wim Taymans <wim@fluendo.com>
2068 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2069 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2070 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2071 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2072 (gst_bin_change_state), (gst_bin_dispose):
2073 Some documentation updates.
2074 Clean up dispose handlers.
2076 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2077 * gst/gstpad.c: (gst_pad_dispose):
2078 Clean up dispose handler.
2080 * gst/gstpipeline.c: (gst_pipeline_change_state):
2081 Removed spurious UNLOCK.
2083 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2085 * docs/gst/gstreamer-sections.txt:
2086 * gst/base/gstbasesrc.h:
2091 * gst/gstpipeline.c:
2092 * gst/gstpipeline.h:
2095 added two new functions to the docs
2096 documents all undocumented GstXXXFlags
2097 completed some incomplete docs
2099 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2101 * gst/gstbin.c: (gst_bin_dispose):
2102 * gst/gstelement.c: (gst_element_dispose):
2103 remove now useless and leaky resurrection code in dispose
2104 * gst/base/gstbasesrc.c: (gst_base_src_init):
2105 * gst/gstelementfactory.c: (gst_element_factory_create):
2106 * gst/gstobject.c: (gst_object_set_parent):
2109 2005-09-27 Wim Taymans <wim@fluendo.com>
2111 * docs/design/part-TODO.txt:
2114 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2115 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2116 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2117 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2118 (gst_bin_change_state):
2120 Remove element variable, we keep element info in the iterator now.
2122 2005-09-27 Andy Wingo <wingo@pobox.com>
2124 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2127 2005-09-27 Wim Taymans <wim@fluendo.com>
2129 * check/gst/gstbin.c: (GST_START_TEST):
2130 Enable check that works now.
2132 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2133 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2134 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2135 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2136 (gst_bin_change_state):
2138 Redid the state change algorithm using a topological sort algo.
2139 Handles all cases correctly.
2140 Exposed iterator for state change order.
2143 Temp storage for state changes. Need to get rid of this soon.
2145 2005-09-27 Wim Taymans <wim@fluendo.com>
2147 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2148 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2149 (link_fold_func), (gst_pad_proxy_setcaps):
2150 Leak fixes, the fold functions need to unref the passed object and
2151 _get_parent_*() returns ref to parent.
2153 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2155 * check/gst/gstbuffer.c: (test_make_writable):
2156 Plug leak in test case and fix 'make check-valgrind'
2158 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2160 * gst/gstbuffer.c: (gst_subbuffer_init):
2161 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2162 works correctly in all circumstances (we could have just copied
2163 the parent buffer's readonly flag, but conceptually it seems
2164 cleaner to mark all subbuffers as read-only). (based on patch
2165 by Alessandro Decina, #314710).
2167 * check/gst/gstbuffer.c: (create_read_only_buffer),
2168 (test_make_writable), (test_subbuffer_make_writable),
2170 Add some tests for gst_buffer_make_writable().
2172 2005-09-27 Wim Taymans <wim@fluendo.com>
2174 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2175 use gst_object_has_ancestor().
2177 * gst/gstobject.c: (gst_object_has_ancestor):
2179 gst_object_has_ancestor() copied from gstbin.c as it is a
2182 * tests/instantiate/create.c: (create_all_elements):
2183 * tests/lat.c: (handoff_src), (handoff_sink):
2184 * tests/sched/runxml.c: (main):
2185 * tests/seeking/seeking1.c: (main):
2186 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2188 Fix compilation of some tests.
2190 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2193 Remove comment. GST_TYPE_G_ERROR is here to stay,
2194 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2197 2005-09-26 Wim Taymans <wim@fluendo.com>
2199 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2200 Added check that shows error in state change order.
2202 2005-09-26 Wim Taymans <wim@fluendo.com>
2204 * gst/gstbin.c: (gst_bin_change_state):
2205 Make state change function use 3 queues again, we were
2206 adding elements in the wrong order.
2208 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2211 * gst/gstpad.c: (gst_pad_dispose):
2212 Added some debug info first.
2214 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2216 * docs/design/draft-push-pull.txt:
2217 * docs/design/part-events.txt:
2218 * docs/design/part-overview.txt:
2219 * docs/design/part-scheduling.txt:
2220 Replace all _pull_region() with _pull_range()
2222 2005-09-26 Andy Wingo <wingo@pobox.com>
2224 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2226 * check/gst-libs/controller.c: Update for controller api change.
2229 * tests/Makefile.am:
2230 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2231 over by GLib bug 118439.
2233 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2234 routines to a function.
2236 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2238 * libs/gst/controller/gsthelper.c:
2239 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2240 (gst_object_sync_values): Renamed from sink_values. Ugh.
2242 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2244 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2245 Renamed from controller_key, as it is exported.
2247 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2249 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2254 * gst/gstpadtemplate.h:
2257 * gst/gstqueryutils.c:
2258 * gst/gstqueryutils.h:
2259 remove queryutils headers after moving the two used functions
2260 to gstquery. also fixes build problem for gstsiddec
2262 2005-09-26 Michael Smith <msmith@fluendo.com>
2264 * tools/gst-launch.1.in:
2265 Correct documentation in manpage of debug syntax
2267 2005-09-26 Wim Taymans <wim@fluendo.com>
2269 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2270 (gst_base_src_is_seekable), (gst_base_src_change_state):
2271 Some more debugging info.
2273 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2275 * docs/gst/gstreamer-sections.txt:
2276 * gst/base/gstbasetransform.h:
2280 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2282 * docs/gst/.cvsignore:
2283 * docs/gst/tmpl/.cvsignore:
2284 * docs/gst/tmpl/gstpipeline.sgml:
2285 * docs/gst/tmpl/gstplugin.sgml:
2286 * gst/gstpipeline.c:
2289 inlined the last two docs files
2290 removed the tmpl directory from cvs (no more conflicts here!)
2292 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2294 * docs/gst/gstreamer-sections.txt:
2295 * docs/gst/tmpl/.cvsignore:
2296 * docs/gst/tmpl/gstpad.sgml:
2297 * docs/gst/tmpl/gstpadtemplate.sgml:
2299 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2300 (gst_pad_finalize), (gst_pad_set_pad_template):
2302 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2303 (gst_pad_template_class_init), (gst_pad_template_init),
2304 (gst_pad_template_dispose), (name_is_valid),
2305 (gst_static_pad_template_get), (gst_pad_template_new),
2306 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2307 (gst_pad_template_pad_created):
2308 * gst/gstpadtemplate.h:
2309 inlined two more docs
2310 factored gstpadtemplate out of gstpad
2312 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2314 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2315 (test_children_state_change_order_semi_sink):
2316 Fix test case: we can't rely on a fixed state change order when
2317 going from READY => PAUSED because the sink might commit its
2318 new state first when the first buffer created by the source
2319 reaches the sink before the source has finished its change state.
2320 (Test case still fails at times, see #316856, comment 5 onwards)
2322 2005-09-24 Wim Taymans <wim@fluendo.com>
2324 * docs/design/part-events.txt:
2325 * docs/design/part-gstbus.txt:
2326 * docs/design/part-gstpipeline.txt:
2327 * docs/design/part-messages.txt:
2328 * docs/design/part-overview.txt:
2329 * docs/design/part-segments.txt:
2336 * gst/gstiterator.c:
2337 Various documentation updates.
2339 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2342 Well, that's embarassing. Luckily we weren't using
2343 GST_CLOCK_DIFF anywhere.
2345 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2347 * common/gtk-doc.mak:
2348 don't fail on building XML, FC4 slave shows a bunch of doc
2349 missing bits that I don't get
2351 * gst/gstpipeline.c:
2352 * gst/gststructure.c:
2355 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2357 * docs/design/part-gstbin.txt:
2358 * docs/design/part-gstbus.txt:
2360 Add blurb about how the bus goes into flushing mode and
2361 drops all messages when its bin goes from READY into NULL
2364 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2366 * docs/gst/gstreamer-sections.txt:
2367 * gst/gststructure.c: (gst_structure_get_clock_time):
2368 * gst/gststructure.h:
2369 add a method to get a GstClockTime out of a structure
2371 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2373 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2374 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2375 Added test to check state change order in bins (can still be made
2376 to fail here under heavy disk load; bails out with 'Push on pad
2377 fakesink:sink0, but it was not activated in push mode').
2379 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2380 Fix state change order when there is only a semi sink (#316856)
2382 * gst/gstbus.c: (gst_bus_class_init):
2383 Use _class_peek_parent(), not _class_ref(); fix docs to say
2384 'default main context' instead of 'mainloop' where that is
2387 * gst/gstelement.c: (gst_element_commit_state),
2388 (gst_element_set_state):
2389 Fix typos in debug messages
2391 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2394 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2395 * gst/gstpluginfeature.c:
2398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2399 change an assert into an error until it gets fixed properly
2401 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2403 * docs/gst/gstreamer-sections.txt:
2404 * docs/gst/tmpl/.cvsignore:
2405 * docs/gst/tmpl/gstelement.sgml:
2406 * docs/gst/tmpl/gstinfo.sgml:
2407 * docs/gst/tmpl/gstobject.sgml:
2412 * gst/gstobject.c: (gst_object_class_init):
2414 inlined 3 more biiiig doc files and added some missing docs on the fly
2416 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2418 * check/gst/.cvsignore:
2419 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2420 * gst/gstregistryxml.c: (load_plugin),
2421 (gst_registry_xml_save_plugin):
2422 put back source in registry. add checks for find_plugin.
2423 * testsuite/states/bin.c: (assert_state), (empty_bin),
2424 (test_adding_one_element), (main):
2425 * testsuite/states/locked.c: (main):
2426 some compile/run fixes
2428 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2430 * check/gst/gstvalue.c: (GST_START_TEST):
2431 fix leaks in the test itself
2433 2005-09-22 Wim Taymans <wim@fluendo.com>
2435 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2436 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2437 (gst_base_sink_query):
2438 Prepare for more accurate position reporting and query
2441 * gst/gstelement.c: (gst_element_send_event),
2442 (gst_element_set_state):
2445 2005-09-22 Wim Taymans <wim@fluendo.com>
2447 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2448 (gst_query_parse_segment):
2451 Add segment query for future use.
2453 2005-09-22 Wim Taymans <wim@fluendo.com>
2455 * gst/gstbin.c: (gst_bin_add_func):
2456 Some more debug info.
2458 * gst/gstelement.c: (gst_element_send_event):
2462 Don't know how flags got broken.
2467 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2469 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2470 Add simplistic test suite for GST_TYPE_DATE serialisation and
2473 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2475 * docs/gst/gstreamer-sections.txt:
2476 * gst/gststructure.c: (gst_structure_set_valist),
2477 (gst_structure_get_date):
2478 * gst/gststructure.h:
2479 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2480 (gst_date_copy), (gst_value_compare_date),
2481 (gst_value_serialize_date), (gst_value_deserialize_date),
2482 (gst_value_transform_date_string),
2483 (gst_value_transform_string_date), (_gst_value_initialize):
2485 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2486 bunch of utility functions along with a hack that checks that
2487 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2488 is required. Part of the grand scheme in #170777.
2490 2005-09-22 Andy Wingo <wingo@pobox.com>
2492 * gst/gstconfig.h.in: Psych out gtk-doc.
2494 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2496 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2498 * tools/gst-inspect.c (print_element_list): Plug some
2499 inconsequential leaks.
2501 * gst/gstregistry.c (gst_registry_get_default): Doc.
2503 * check/gst/gstplugin.c:
2504 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2505 * gst/gstelementfactory.c (gst_element_factory_create):
2506 * gst/gstindexfactory.c (gst_index_factory_create): Update for
2509 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
2510 (gst_plugin_feature_load): Doc, don't eat refs.
2512 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
2513 (gst_plugin_list_free): Doc.
2514 (gst_plugin_load_file): Doc updates.
2516 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
2517 accessors returning refcounted objects, return a ref.
2519 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
2520 accessor for caps. IDEMPOTENCE. Oh yes.
2522 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
2524 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2526 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2527 (_gst_debug_register_funcptr):
2528 Add mutex to serialise access to the hash table with
2529 the function pointer => function name string mapping;
2530 make that hash table static scope (#316809).
2532 * gst/registries/.cvsignore:
2533 Remove left-over file.
2535 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2537 * docs/pwg/appendix-porting.xml:
2538 And something about newsegment events and caps-on-buffers to
2539 the porting guide (feel free to improve).
2541 2005-09-21 Andy Wingo <wingo@pobox.com>
2543 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
2544 data and event probes on the same pad.
2545 (test_buffer_probe_once): Test that removing probes from within
2546 the probe functions works.
2548 2005-09-21 Andy Wingo <wingo@pobox.com>
2550 * check/gst/gstutils.c: New file.
2551 (test_buffer_probe_n_times): A simple buffer probe test. More to
2554 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
2555 have-data::buffer, not have-data.
2556 (gst_pad_add_event_probe): Likewise for have-data::event.
2557 (gst_pad_add_data_probe): More docs. The part about 'resolving the
2558 peer' isn't quite right yet though.
2559 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
2560 (gst_pad_remove_data_probe): Change to take the guint handler_id
2561 as their arg, not the function+data, which is more glib-like.
2563 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
2564 the signal emission to indicate if the data is a buffer or an
2566 (gst_pad_get_type): Initialize buffer and event quarks.
2567 (gst_pad_class_init): have-data is now a detailed signal, yes it
2570 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
2572 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2573 * gst/gstutils.c: (gst_util_set_value_from_string),
2574 (gst_util_set_object_arg):
2575 Don't put functional code in g_return_if_fail() or
2576 g_return_val_if_fail() statements, otherwise things will
2577 break when G_DISABLE_CHECKS is defined during compilation.
2579 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2581 * docs/gst/tmpl/.cvsignore:
2582 * docs/gst/tmpl/gstvalue.sgml:
2585 inlied another one and added some obvious docs
2587 2005-09-21 Wim Taymans <wim@fluendo.com>
2589 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
2590 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
2591 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
2592 (gst_fdsrc_get_property), (gst_fdsrc_create):
2593 * gst/elements/gstfdsrc.h:
2594 Properly implement fdsrc. Removed signal and timeout,
2595 better implemented somewhere else.
2597 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2599 * docs/gst/tmpl/.cvsignore:
2600 * docs/gst/tmpl/gstimplementsinterface.sgml:
2601 * gst/gstinterface.c:
2604 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2606 * docs/gst/gstreamer-sections.txt:
2607 * docs/gst/tmpl/.cvsignore:
2608 * docs/gst/tmpl/gstenumtypes.sgml:
2609 remove obsolete doc file
2611 2005-09-21 David Schleef <ds@schleef.org>
2613 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2614 little beer, fix a little leak.
2616 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2618 * docs/gst/gstreamer-docs.sgml:
2619 * docs/gst/gstreamer-sections.txt:
2620 * docs/gst/tmpl/.cvsignore:
2625 * gst/gstindex.c: (gst_index_class_init):
2627 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2628 (gst_index_factory_class_init), (gst_index_factory_init),
2629 (gst_index_factory_finalize), (gst_index_factory_new),
2630 (gst_index_factory_destroy), (gst_index_factory_find),
2631 (gst_index_factory_create), (gst_index_factory_make):
2632 * gst/gstindexfactory.h:
2633 * gst/gstpluginfeature.c:
2634 * gst/gstpluginfeature.h:
2635 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2636 more docs inlined, splitted gstindex.{c,h}
2638 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2640 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2643 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2645 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2646 Set sync to FALSE by default.
2648 2005-09-20 Wim Taymans <wim@fluendo.com>
2650 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2651 (gst_base_sink_init):
2652 Make sync property settable from subclass.
2654 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2655 (gst_fake_sink_change_state):
2656 Set sync to FALSE by default.
2658 2005-09-20 Wim Taymans <wim@fluendo.com>
2660 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2661 * tools/gst-launch.c: (main):
2662 The timeout handler should have lower priority than the source
2663 so we don't timeout before popping a message with 0 timeout.
2664 Dump error messages after failed state change.
2666 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2668 * tools/gst-inspect.c: (print_element_properties_info):
2671 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2673 * check/gst/gstevent.c:
2674 * gst/elements/gstfakesink.c:
2675 * gst/elements/gstfakesink.h:
2676 remove the sync property from fakesink.
2677 has the side effect of setting sync TRUE
2678 for fakesink, which is a change. Anyone who knows how
2679 to fix this nicely in a GObject-y way, feel free.
2681 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2683 * docs/gst/gstreamer-docs.sgml:
2684 remove probe refsection
2686 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2688 * check/Makefile.am:
2689 disable valgrinding the controller test again
2690 * docs/gst/gstreamer-sections.txt:
2691 update for api-changes
2693 2005-09-20 Wim Taymans <wim@fluendo.com>
2695 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2696 (gst_base_sink_set_property), (gst_base_sink_get_property),
2697 (gst_base_sink_do_sync):
2698 * gst/base/gstbasesink.h:
2699 Added sync property to basesink to disable clock sync.
2701 2005-09-20 Andy Wingo <wingo@pobox.com>
2703 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2704 eating the caller's refcount.
2706 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2707 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2710 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2711 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2712 of GLib 2.8 public, so we can know which refcount to check in
2715 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
2716 (gst_object_init): Only set the gst refcount if we're going ahead
2717 with the refcount hack.
2719 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2721 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2722 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2723 more leaks plumbed, added more debug-logging
2727 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2730 remove include of gstmemchunk.h
2732 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2734 * gst/gstclock.c: (_gst_clock_id_free):
2735 Commit from the Political Party For More Atomic CVS Commits,
2736 so that people don't waste too much of their day fishing
2737 out obvious leaks out of massive commits.
2738 Oh, and fix a pretty damn obvious leak in the memchunk
2741 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2743 * check/Makefile.am:
2744 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2745 plug mem-leak, re-add to valgrindable tests
2747 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2750 unbreak the build for those who have chronic arthritis
2751 and typing "make check" is just too taxing on the hands
2753 2005-09-20 Andy Wingo <wingo@pobox.com>
2755 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
2756 really want it out, you should fix plugins at the same time.
2758 2005-09-19 Stefan Kost <ensonic@users.sf.net>
2761 * docs/gst/gstreamer-sections.txt:
2763 added missing symbols to api docs
2764 disable ref-count hack if we have glib >= 2.8
2766 2005-09-19 David Schleef <ds@schleef.org>
2768 * docs/gst/Makefile.am: Ignore a few more internal headers
2769 * docs/gst/gstreamer-docs.sgml: Remove old sections
2770 * docs/gst/gstreamer-sections.txt: Remove old sections
2771 * docs/gst/tmpl/gstobject.sgml: update
2772 * docs/gst/tmpl/gstplugin.sgml: update
2773 * docs/gst/tmpl/gstpluginfeature.sgml: update
2774 * docs/random/ds/0.9-suggested-changes: update.
2775 * gst/Makefile.am: remove memchunk and trashstack, since they're
2777 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
2778 * gst/gst.h: don't include some headers
2779 * gst/gstchildproxy.c: add gstmarshal.h
2780 * gst/gstclock.c: Don't use memchunks
2781 * gst/gstminiobject.c: Add some docs
2782 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2783 * gst/gstobject.h: same
2784 * gst/gstplugin.c: include gstmacros.h
2785 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2786 * gst/gstquery.c: don't use memchunks
2787 * gst/gstregistry.c: rename gst_registry_deinit()
2788 * gst/gstregistry.h: same
2790 2005-09-19 David Schleef <ds@schleef.org>
2792 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2793 * docs/libs/gstreamer-libs-sections.txt:
2794 * docs/libs/tmpl/gstgetbits.sgml:
2795 * docs/libs/tmpl/gstputbits.sgml:
2797 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2799 * win32/gstenumtypes.c:
2800 * win32/gstenumtypes.h:
2803 2005-09-19 Wim Taymans <wim@fluendo.com>
2805 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2806 Automatically PAUSE and RESUME a pipeline when a flushing seek
2809 2005-09-19 Andy Wingo <wingo@pobox.com>
2811 * gst/gstregistry.h: Spacing fixen.
2813 2005-09-19 Wim Taymans <wim@fluendo.com>
2815 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2816 Handle state change failure more correctly.
2818 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2820 * check/Makefile.am:
2821 * check/pipelines/cleanup.c: (run_pipeline):
2822 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2824 enable cleanup again after fixing the leak
2826 some more info on docs
2828 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2830 * check/Makefile.am:
2831 re-enable tests now that leaks are plugged
2833 * check/gst/gstbin.c:
2834 * check/gst/gstpipeline.c:
2835 add some more tests while fixing leaks
2837 make sure binaries are uptodate when valgrinding/gdbing
2839 * gst/gstelementfactory.c:
2840 remove a ref too many, and add a FIXME for when we get
2841 round to disposing of classes
2843 fix the refcounting when loading a plugin from a file and
2844 the code pretends that the pointer is the same even though
2845 of course it can change
2846 * gst/gstpluginfeature.c:
2847 unref plugins marked cached (a bit confusing as a name)
2848 as the docs state should be done
2849 various doc additions to explain refcounting
2850 * gst/gstregistry.c:
2851 * gst/gstregistryxml.c:
2854 2005-09-19 Wim Taymans <wim@fluendo.com>
2856 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2857 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2858 (send_messages), (GST_START_TEST), (gstbus_suite):
2859 * check/gst/gstpipeline.c: (GST_START_TEST):
2860 * check/pipelines/cleanup.c: (run_pipeline):
2861 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2863 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
2864 (gst_bus_source_check), (gst_bus_source_dispatch),
2865 (gst_bus_create_watch), (gst_bus_add_watch_full),
2866 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
2868 * tools/gst-launch.c: (event_loop):
2869 * tools/gst-md5sum.c: (event_loop):
2870 GstBusHandler -> GstBusFunc, return value has the same meaning as
2871 any other GSource (FALSE == remove source).
2872 _add_watch() and _add_watch_full() now take a MessageType mask to
2873 only handle specific types of messages.
2874 _poll() returns the GstMessage instead of the message type to avoid
2876 _have_pending() takes a MessageType mask now too.
2877 Added testsuite for multiple bus watches.
2878 Fix testsuites and applications for new bus API.
2880 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2882 * check/Makefile.am:
2883 mark a bunch of the tests as to fix until we fix them
2885 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2888 use GST_PLUGIN settings for valgrind tests as well, so we're
2889 valgrinding the correct thing
2890 * gst/gst.c: (init_post):
2893 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2895 * gst/gst.c: (init_post), (gst_deinit):
2896 * gst/gstelementfactory.c: (gst_element_factory_class_init),
2897 (gst_element_factory_finalize), (gst_element_factory_cleanup):
2898 * gst/gstindex.c: (gst_index_factory_class_init),
2899 (gst_index_factory_finalize):
2900 * gst/gstobject.c: (gst_object_dispose):
2901 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2902 (gst_plugin_load_file), (gst_plugin_desc_free):
2903 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
2904 (gst_plugin_feature_finalize):
2905 * gst/gstregistry.c: (gst_registry_class_init),
2906 (gst_registry_init), (gst_registry_finalize),
2907 (gst_registry_get_default), (gst_registry_deinit):
2908 * gst/gstregistry.h:
2909 * gst/gstregistryxml.c: (load_feature), (load_plugin):
2910 various cleanups and memleak plugging. make valgrind is happy now.
2912 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2915 add a check-valgrind target
2917 2005-09-18 David Schleef <ds@schleef.org>
2919 * tools/gst-inspect.c: Revert the GOption code.
2921 2005-09-17 David Schleef <ds@schleef.org>
2923 * check/Makefile.am: Fix environment variables.
2924 * check/gst/gstplugin.c: Fix for API changes.
2925 * tools/gst-inspect.c: Fix for API changes.
2926 * tools/gst-xmlinspect.c: Fix for API changes.
2927 * gst/gstelementfactory.c:
2930 * gst/gstpluginfeature.c:
2931 * gst/gstpluginfeature.h:
2932 * gst/gstregistry.c:
2933 * gst/gstregistry.h:
2934 * gst/gstregistryxml.c:
2935 * gst/gsttypefind.c:
2936 * gst/gsttypefindfactory.c:
2937 * gst/indexers/gstfileindex.c:
2938 * gst/indexers/gstmemindex.c:
2939 * gst/schedulers/Makefile.am:
2940 Change registry to keep track of both plugins and features,
2941 removing the feature tracking from plugins themselves.
2943 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2945 * check/Makefile.am:
2946 * tools/gst-register.1.in:
2949 2005-09-15 David Schleef <ds@schleef.org>
2951 * check/gst/gstplugin.c:
2952 * gst/gstelementfactory.c:
2954 * gst/gstpluginfeature.c:
2955 * gst/gstregistry.c:
2956 Getting tired of debugging. Disabled all the unreffing of
2957 plugins and features, which fixes the segfaults, but of
2958 course leaks like crazy. At least playbin works.
2960 2005-09-15 David Schleef <ds@schleef.org>
2962 * check/gst/gstplugin.c: (register_check_elements),
2963 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2965 * gst/elements/gsttypefindelement.c: Fix refcounting.
2966 * gst/gsttypefind.c:
2967 * gst/gsttypefindfactory.c:
2968 * gst/gsttypefindfactory.h:
2970 2005-09-15 David Schleef <ds@schleef.org>
2972 * gst/gstindex.c: get refcounting correct.
2973 * gst/gstregistry.c: Handle the case where a feature/plugin is
2976 2005-09-15 David Schleef <ds@schleef.org>
2978 * check/Makefile.am:
2979 * check/gst/gstplugin.c: Add test
2980 * gst/gstplugin.c: Fix problems noticed by testsuite
2982 * gst/gstregistry.c:
2983 * gst/gstregistry.h:
2985 2005-09-15 David Schleef <ds@schleef.org>
2987 * gst/gstplugin.c: Implement semi-decent recounting and locking
2988 in plugins and plugin features.
2990 * gst/gstpluginfeature.c:
2991 * gst/gstpluginfeature.h:
2992 * gst/gstregistry.c:
2994 2005-09-15 Michael Smith <msmith@fluendo.com>
2996 * gst/gstregistry.c: (gst_registry_get_feature_list):
2997 Implement this. Makes oggdemux work; decodebin still broken.
2999 2005-09-14 David Schleef <ds@schleef.org>
3001 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3003 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3004 * gst/check/Makefile.am:
3005 * libs/gst/controller/Makefile.am:
3006 * libs/gst/dataprotocol/Makefile.am:
3008 2005-09-14 David Schleef <ds@schleef.org>
3010 * configure.ac: Remove getbits library. Nothing uses it, and
3011 it should be in something like liboil if someone did want
3013 * libs/gst/Makefile.am:
3014 * libs/gst/getbits/Makefile.am:
3015 * libs/gst/getbits/gbtest.c:
3016 * libs/gst/getbits/getbits.c:
3017 * libs/gst/getbits/getbits.h:
3018 * libs/gst/getbits/gstgetbits_generic.c:
3019 * libs/gst/getbits/gstgetbits_i386.s:
3020 * libs/gst/getbits/gstgetbits_inl.h:
3022 2005-09-14 David Schleef <ds@schleef.org>
3024 * gst/Makefile.am: Dist glib-compat.h
3026 2005-09-14 David Schleef <ds@schleef.org>
3028 * configure.ac: Remove gst/registries, since it's no longer used.
3029 * gst/registries/Makefile.am:
3030 * gst/registries/gstlibxmlregistry.c:
3031 * gst/registries/gstlibxmlregistry.h:
3032 * gst/registries/gstxmlregistry.c:
3033 * gst/registries/gstxmlregistry.h:
3034 * gst/registries/registrytest.c:
3036 2005-09-14 David Schleef <ds@schleef.org>
3038 * gst/glib-compat.h:
3039 * gst/gstregistryxml.c:
3040 Convergence is near. Seriously.
3042 2005-09-14 David Schleef <ds@schleef.org>
3044 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3045 * gst/glib-compat.h:
3046 Attempt #4 to appease the buildbots.
3048 2005-09-14 David Schleef <ds@schleef.org>
3050 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3053 2005-09-14 David Schleef <ds@schleef.org>
3055 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3058 2005-09-14 David Schleef <ds@schleef.org>
3060 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3063 2005-09-14 David Schleef <ds@schleef.org>
3065 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3066 * gst/glib-compat.h: Add some functions that are in newer versions
3067 of glib than we care to require.
3068 * gst/gstregistryxml.c: Use them.
3070 2005-09-14 David Schleef <ds@schleef.org>
3072 * po/POTFILES.in: remove gst-register.c
3074 2005-09-14 David Schleef <ds@schleef.org>
3076 * docs/gst/gstreamer-docs.sgml:
3077 * docs/gst/gstreamer-sections.txt:
3078 * docs/gst/gstreamer.types:
3079 * docs/gst/tmpl/gstelement.sgml:
3080 * docs/gst/tmpl/gstplugin.sgml:
3081 * docs/gst/tmpl/gstpluginfeature.sgml:
3082 Documentation updates for registry changes.
3084 2005-09-14 David Schleef <ds@schleef.org>
3086 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3087 because we don't require glib-2.8.
3089 2005-09-14 David Schleef <ds@schleef.org>
3091 * gst/gstregistryxml.c: Added. Essentially moved out of the
3092 registries directory.
3094 2005-09-14 David Schleef <ds@schleef.org>
3096 * check/Makefile.am:
3097 * check/generic/states.c:
3101 * gst/gst_private.h:
3102 * gst/gstelementfactory.c:
3107 * gst/gstpluginfeature.c:
3108 * gst/gstpluginfeature.h:
3109 * gst/gstregistry.c:
3110 * gst/gstregistry.h:
3111 * gst/gstregistrypool.c: remove
3112 * gst/gstregistrypool.h: remove
3113 * gst/gsttypefind.c:
3114 * gst/gsttypefindfactory.c:
3116 * tools/Makefile.am:
3117 * tools/gst-compprep.c:
3118 * tools/gst-inspect.c:
3119 * tools/gst-register.c: remove
3120 * tools/gst-xmlinspect.c:
3121 Registry rewrite. Changes registry from being a file created
3122 by a tool into a simple cache file created automatically by
3123 libgstreamer. Removed gst-register (because it's no longer
3124 needed). Remove registry pools, because we only have one
3125 registry implementation (XML). Fix up other subsystems as
3128 2005-09-13 Michael Smith <msmith@fluendo.com>
3130 * gst/gstconfig.h.in:
3131 Don't Use windows linking attributes for MinGW. Fixes #316157
3133 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3135 * gst/gstutils.c: (set_state_async_thread_func),
3136 (gst_element_set_state_async):
3137 Apparently people think it's better if this function doesn't
3138 try to set the state to whatever state was asked for on the first
3139 call to this function for any object. Seriously.
3141 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3143 * check/gst/gstpipeline.c: (GST_START_TEST):
3144 * docs/gst/gstreamer-sections.txt:
3145 * gst/gstutils.c: (set_state_async_thread_func),
3146 (gst_element_set_state_async):
3148 add a "gst_element_set_state_async" method that
3149 sets the state and starts a thread to make sure the state
3150 change completes as best as it can
3152 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3154 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3155 codify design+behaviour in testsuite after discussion
3157 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3159 * docs/gst/tmpl/gstelement.sgml:
3160 * docs/manual/appendix-quotes.xml:
3162 * gst/gstelement.c: (gst_element_set_state):
3165 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3167 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3168 (gst_base_transform_prepare_output_buf),
3169 (gst_base_transform_handle_buffer):
3170 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3171 (gst_capsfilter_prepare_buf):
3172 Remove the requirement for sub-classes to call the parent
3173 implementation of prepare_output_buffer with a wrapper function.
3176 * gst/gsttagsetter.h:
3179 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3181 * docs/gst/gstreamer-sections.txt:
3184 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3186 * docs/gst/gstreamer-sections.txt:
3187 * docs/gst/tmpl/gstelement.sgml:
3188 * docs/gst/tmpl/gstplugin.sgml:
3189 * gst/gstminiobject.c:
3191 docs now stop throwing warnings
3193 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3195 * docs/gst/gstreamer-sections.txt:
3196 * docs/gst/gstreamer.types:
3197 * docs/gst/tmpl/gstpad.sgml:
3198 * docs/gst/tmpl/gsttypes.sgml:
3199 * gst/base/gstadapter.h:
3200 * gst/base/gstbasesink.h:
3201 * gst/base/gstbasesrc.h:
3211 * gst/gststructure.c:
3212 * gst/registries/gstlibxmlregistry.h:
3213 various documentation fixes
3215 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3217 * docs/gst/gstreamer-sections.txt:
3218 * docs/gst/tmpl/gstvalue.sgml:
3219 rearrange gstvalue section
3220 * gst/gstutils.c: (gst_element_state_get_name):
3222 * gst/gstvalue.c: (_gst_value_initialize):
3226 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3228 * check/gst-libs/controller.c:
3230 * gst/base/gstbasetransform.c:
3231 (gst_base_transform_default_prepare_buf),
3232 (gst_base_transform_handle_buffer):
3233 * gst/base/gstbasetransform.h:
3234 Some more basetransform changes and fixes to enable sub-classes
3235 that modify buffer metadata only.
3236 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3237 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3238 (gst_capsfilter_prepare_buf):
3239 If the output pad has fixed allowed caps and input buffers
3240 don't have any, set the fixed caps on outgoing buffers.
3242 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3243 * check/elements/identity.c: (GST_START_TEST):
3244 Make the error a little clearer when the test fails because
3245 identity made a copy of the buffer.
3246 * docs/gst/gstreamer-sections.txt:
3247 New symbols in gstbasetransform.h
3248 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3249 (gst_base_transform_init), (gst_base_transform_transform_size),
3250 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3251 (gst_base_transform_default_prepare_buf),
3252 (gst_base_transform_get_unit_size),
3253 (gst_base_transform_buffer_alloc),
3254 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3255 (gst_base_transform_change_state),
3256 (gst_base_transform_set_passthrough),
3257 (gst_base_transform_set_in_place),
3258 (gst_base_transform_is_in_place):
3259 * gst/base/gstbasetransform.h:
3260 Change BaseTransform to separate in_place operate from same_caps
3261 output. in_place implies that the element can perform the transform
3262 on incoming buffers in-place, even if the caps on the output are
3264 Sub-class elements can now implement special buffer allocation
3265 methods for outgoing buffers if they wish to.
3266 Big documentation addition.
3267 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3268 * gst/elements/gstelements.c:
3269 Changes for basetransform modifications.
3270 * gst/elements/Makefile.am:
3271 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3272 Compile fix. Extra debug output.
3274 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3276 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3278 add tests for valid pad naming
3279 * gst/check/gstcheck.c: (gst_check_log_message_func),
3280 (gst_check_log_critical_func):
3282 remove printing of code, it is fragile when the code contains
3283 % and the line number is enough info
3284 * gst/check/gstcheck.h:
3285 * gst/gstpad.c: (gst_pad_template_new):
3288 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3291 say what CHECK flags we use
3292 * docs/libs/gstreamer-libs.types:
3293 * libs/gst/controller/Makefile.am:
3294 * libs/gst/controller/gst-controller.c:
3295 * libs/gst/controller/gst-controller.h:
3296 * libs/gst/controller/gst-helper.c:
3297 * libs/gst/controller/gst-interpolation.c:
3298 * libs/gst/controller/gstcontroller.c:
3299 * libs/gst/controller/gsthelper.c:
3300 * libs/gst/controller/gstinterpolation.c:
3301 * tools/gst-inspect.c: (print_plugin_info):
3302 we don't use dashes in header names
3304 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3306 * check/Makefile.am:
3307 * check/gst/.cvsignore:
3308 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3309 (gst_pipeline_suite), (main):
3310 adding a test for pipelines and state changes
3311 * gst/gstutils.c: (get_state_func):
3313 * gstreamer.spec.in:
3316 2005-09-08 Michael Smith <msmith@fluendo.com>
3318 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3319 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3320 (gst_file_src_is_seekable), (gst_file_src_get_size),
3321 (gst_file_src_start):
3322 * gst/elements/gstfilesrc.h:
3323 Various fixes for unseekable, unmmapable, and non-normal files, so
3324 that fallback to read() rather than mmap() works.
3325 * gst/gstevent.c: (gst_event_new_newsegment):
3326 Allow newsegment events with segment_start == segment_end, as will
3327 correctly happen if you use filesrc on a zero-size file, for
3330 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3332 * gst/gstplugin.c: (gst_plugin_load_file):
3333 Call g_module_close when we don't load the module
3335 * gst/registries/gstlibxmlregistry.c:
3336 (gst_xml_registry_get_property):
3337 Port leak fix from 0.8
3339 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3341 * docs/gst/gstreamer-docs.sgml:
3342 * docs/gst/tmpl/.cvsignore:
3343 * docs/gst/tmpl/gsttrace.sgml:
3344 * docs/gst/tmpl/gsttrashstack.sgml:
3353 * gst/gsttaginterface.c:
3354 * gst/gsttaginterface.h:
3357 * gst/gsttagsetter.c:
3358 * gst/gsttagsetter.h:
3361 * gst/gsttrashstack.c:
3362 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3363 inlined docs for gsttrace, gsttrashstack
3365 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3368 * gst/elements/gstbufferstore.h:
3369 * gst/elements/gsttypefindelement.c:
3370 * gst/elements/gsttypefindelement.h:
3372 * gst/gsttypefind.c:
3373 * gst/gsttypefind.h:
3374 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3375 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3376 (gst_type_find_factory_dispose),
3377 (gst_type_find_factory_unload_thyself),
3378 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3379 (gst_type_find_factory_get_caps),
3380 (gst_type_find_factory_get_extensions),
3381 (gst_type_find_factory_call_function):
3382 * gst/gsttypefindfactory.h:
3383 * gst/registries/gstlibxmlregistry.c:
3384 * gst/registries/gstxmlregistry.c:
3385 splitted gsttypefind into gsttypefind, gsttypefindfactory
3387 2005-09-07 Andy Wingo <wingo@pobox.com>
3389 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3390 condition whereby the pad's task function is entered before the
3391 pad_mode variable was set.
3393 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3395 * gst/gstpad.c: (gst_pad_alloc_buffer):
3396 Catch misbehaving pad_alloc functions that don't
3397 set up caps and do it for them.
3399 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3401 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3403 * docs/gst/tmpl/.cvsignore:
3404 * docs/gst/tmpl/gstmemchunk.sgml:
3405 * docs/gst/tmpl/gstparse.sgml:
3406 * docs/gst/tmpl/gsttaglist.sgml:
3407 * docs/gst/tmpl/gsttagsetter.sgml:
3408 * docs/gst/tmpl/gsttypefind.sgml:
3409 * docs/gst/tmpl/gsttypefindfactory.sgml:
3410 * gst/gstmemchunk.c:
3413 * gst/gsttaginterface.c:
3414 * gst/gsttypefind.c:
3415 * gst/gsttypefind.h:
3418 === release 0.9.2 ===
3420 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3425 releasing 0.9.2, "South"
3427 2005-09-05 Andy Wingo <wingo@pobox.com>
3429 * gst/registries/gstxmlregistry.h:
3430 * gst/registries/gstxmlregistry.c: Um... resurrect...
3432 * gst/registries/gstxmlregistry.h:
3433 * gst/registries/gstxmlregistry.c: and update to newer API.
3434 Incidentally they should be a bit faster now that they don't have
3437 2005-09-05 Andy Wingo <wingo@pobox.com>
3439 * gst/registries/gstxmlregistry.h:
3440 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3441 replaced by the libxml registry a while back
3443 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3445 * docs/gst/tmpl/gstplugin.sgml:
3446 * gst/elements/gstelements.c:
3448 * gst/gstplugin.c: (gst_plugin_register_func),
3449 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3450 (gst_plugin_get_source):
3452 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3453 (gst_xml_registry_save_plugin):
3454 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3455 (gst_xml_registry_save_plugin):
3456 * tools/gst-inspect.c: (print_plugin_info):
3457 add a "source" plugin description field, to represent the source
3458 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3459 will set it to PACKAGE, which is automake's idea of the name of
3462 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3468 * docs/faq/Makefile.am:
3469 * docs/gst/tmpl/gstelement.sgml:
3470 * docs/gst/tmpl/gsttypes.sgml:
3471 * docs/htmlinstall.mak:
3472 * docs/manual/Makefile.am:
3473 * docs/pwg/Makefile.am:
3474 reorganize doc build a little
3475 split out docbook and gtk-doc stuff
3476 have two separate --enable's and enable them through autogen
3477 but disable by default in configure (to be similar to other
3479 * gstreamer.spec.in:
3480 clean up docs install
3500 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3502 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3505 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3506 (gst_fake_sink_change_state):
3507 Make state change function thread-safe.
3509 * gst/gstpad.c: (gst_pad_alloc_buffer):
3510 Set offset on generic buffer allocated by fallback.
3512 2005-09-03 Stefan Kost <ensonic@users.sf.net>
3514 * docs/gst/gstreamer-sections.txt:
3515 * docs/gst/tmpl/gstelement.sgml:
3517 * libs/gst/controller/gst-controller.c:
3518 (gst_controlled_property_set_interpolation_mode),
3519 (gst_controlled_property_new),
3520 (gst_controller_find_controlled_property):
3521 run the wingo-magic script against the docs
3523 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3525 * docs/gst/gstreamer-docs.sgml:
3526 * docs/gst/gstreamer-sections.txt:
3527 * docs/gst/tmpl/.cvsignore:
3528 * docs/gst/tmpl/gstelementdetails.sgml:
3529 * docs/gst/tmpl/gstelementfactory.sgml:
3532 * gst/gstelementfactory.c:
3533 * gst/gstelementfactory.h:
3534 merged elementdetails docs into elementfactory docs
3537 2005-09-02 Andy Wingo <wingo@pobox.com>
3539 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
3540 consider this enum an enum and not a flags.
3542 2005-09-02 Stefan Kost <ensonic@users.sf.net>
3544 * docs/gst/gstreamer-docs.sgml:
3545 * docs/gst/tmpl/.cvsignore:
3546 * docs/gst/tmpl/gstghostpad.sgml:
3547 * docs/gst/tmpl/gstiterator.sgml:
3548 * docs/gst/tmpl/gstmacros.sgml:
3549 * docs/gst/tmpl/gstrealpad.sgml:
3550 * docs/gst/tmpl/gstregistry.sgml:
3551 * docs/gst/tmpl/gstregistrypool.sgml:
3552 * docs/gst/tmpl/gststructure.sgml:
3553 * docs/gst/tmpl/gstsystemclock.sgml:
3554 * docs/gst/tmpl/gsttrace.sgml:
3555 * gst/gstghostpad.c:
3557 * gst/gstmemchunk.c:
3558 * gst/gstmemchunk.h:
3560 * gst/gstregistry.c:
3561 * gst/gstregistrypool.c:
3562 * gst/gststructure.c:
3563 * gst/gstsystemclock.c:
3566 2005-09-02 Andy Wingo <wingo@pobox.com>
3568 * gst/gstelement.h (GstState): Renamed from GstElementState,
3569 changed to be a normal enum instead of flags.
3570 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
3571 munged to be GST_STATE_CHANGE_*.
3572 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
3573 work with the new state representation.
3574 (GstStateChange): New enumeration of possible state transitions.
3575 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
3576 (GstElementClass::change_state): Pass the GstStateChange along as
3577 an argument. Helps language bindings, so they don't have to use
3578 tricky lock-needing macros like GST_STATE_CHANGE ().
3580 * scripts/update-states (file): New script. Run it on a file to
3581 update it for state naming and API changes. Updates files in
3584 * All files updated for the new API.
3586 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
3588 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
3589 * gst/gstutils.c: (gst_util_set_value_from_string),
3590 (gst_util_set_object_arg):
3591 fix a bunch of unchecked return values
3592 * tools/gst-complete.c: (main):
3593 * gstreamer.spec.in:
3596 2005-09-01 Wim Taymans <wim@fluendo.com>
3598 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3599 (gst_base_sink_event), (gst_base_sink_do_sync),
3600 (gst_base_sink_handle_event):
3601 * gst/base/gstbasesink.h:
3602 Handle newsegments more correctly.
3607 * gst/gstevent.c: (gst_event_new_newsegment):
3608 A newsegment cannot have a start_time of -1
3610 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3612 * win32/gstenumtypes.c:
3613 * win32/gstenumtypes.h:
3616 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3618 * libs/gst/controller/gst-controller.c:
3619 (gst_controlled_property_set_interpolation_mode),
3620 (gst_controlled_property_new):
3623 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3625 * docs/faq/gst-uninstalled:
3630 * gst/gstutils.c: (gst_element_link_filtered):
3632 add gst_element_link_filtered
3634 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3636 * docs/gst/gstreamer-docs.sgml:
3637 * docs/gst/gstreamer-sections.txt:
3638 * docs/gst/tmpl/.cvsignore:
3639 * docs/gst/tmpl/gsterror.sgml:
3640 * docs/gst/tmpl/gstfilter.sgml:
3641 * docs/gst/tmpl/gsturihandler.sgml:
3642 * docs/gst/tmpl/gsturitype.sgml:
3643 * docs/gst/tmpl/gstutils.sgml:
3644 * docs/gst/tmpl/gstxml.sgml:
3652 inlined more docs, fixed double id-ref
3654 2005-08-31 Wim Taymans <wim@fluendo.com>
3656 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3657 (gst_base_transform_handle_buffer):
3658 Passthrough elements don't need the caps as they don't care.
3660 2005-08-31 Wim Taymans <wim@fluendo.com>
3662 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3663 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3664 Don't leak refcounts on buffers.
3666 2005-08-31 Wim Taymans <wim@fluendo.com>
3668 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3669 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3670 (gst_base_transform_chain), (gst_base_transform_change_state):
3671 * gst/base/gstbasetransform.h:
3672 Handle the case where we are not negotiated more gracefully.
3674 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3676 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3677 (gst_file_src_map_region):
3678 Set READONLY flag on mmap'ed buffers, otherwise
3679 gst_buffer_make_writable() won't work properly (#314708).
3681 2005-08-31 Wim Taymans <wim@fluendo.com>
3683 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3684 passthrough elements can even do inplace on non writable
3685 buffers (as they don't touch them).
3687 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3689 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3690 (gst_test_mono_source_set_property),
3691 (gst_test_mono_source_class_init), (GST_START_TEST),
3692 (gst_controller_suite):
3693 more tests (hehe I have the most)
3695 describe popping messages whenusing mulltiple sources
3696 * libs/gst/controller/gst-controller.c:
3697 (gst_controlled_property_set_interpolation_mode),
3698 (gst_controlled_property_new):
3699 * libs/gst/controller/gst-controller.h:
3700 * libs/gst/controller/gst-interpolation.c:
3701 implement boolean properties
3703 2005-08-31 Wim Taymans <wim@fluendo.com>
3705 * gst/gstminiobject.c: (gst_mini_object_ref):
3706 Cannot assert that the refcount has to be positive
3707 since a disposed object can be resurrected.
3709 2005-08-31 Wim Taymans <wim@fluendo.com>
3711 * gst/gstpad.c: (gst_pad_init):
3712 Revert change, need to first fix badly behaving
3715 2005-08-30 Wim Taymans <wim@fluendo.com>
3717 * check/elements/fakesrc.c: (setup_fakesrc):
3718 * check/elements/identity.c: (setup_identity):
3719 Activate pads before using them.
3721 2005-08-30 Wim Taymans <wim@fluendo.com>
3723 * gst/base/gstadapter.c: (gst_adapter_flush):
3724 Flushing out 0 bytes is ok for this function.
3726 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3727 no newsegment gives a warning and sets the start/stop to
3730 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
3731 (gst_base_transform_set_passthrough):
3734 * gst/gstminiobject.c: (gst_mini_object_ref):
3735 Check refcount here too.
3737 * gst/gstpad.c: (gst_pad_init):
3738 Pads are initially flushing and refusing data.
3740 * gst/gstutils.c: (gst_element_link_pads_filtered):
3741 When adding a capsfilter element make sure it has the
3742 same state as the parent bin.
3744 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3746 * docs/gst/tmpl/.cvsignore:
3747 * docs/gst/tmpl/gstformat.sgml:
3748 * docs/gst/tmpl/gstversion.sgml:
3752 * gst/gstversion.h.in:
3753 more docs and two more inlined
3755 2005-08-30 Wim Taymans <wim@fluendo.com>
3757 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
3758 Don't sync to clock.
3760 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3762 * docs/gst/gstreamer-sections.txt:
3763 ultral33t func10ns deserve to appear in the docs actually
3764 * docs/gst/tmpl/.cvsignore:
3765 * docs/gst/tmpl/gstcompat.sgml:
3766 * docs/gst/tmpl/gstconfig.sgml:
3767 * gst/check/gstcheck.c:
3769 * gst/gstconfig.h.in:
3772 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3774 * docs/gst/tmpl/.cvsignore:
3775 * docs/gst/tmpl/gstquery.sgml:
3776 * docs/gst/tmpl/gstutils.sgml:
3779 inlined and extended docs
3781 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3783 * check/gst-libs/controller.c: (GST_START_TEST),
3784 (gst_controller_suite):
3786 * docs/gst/tmpl/gstutils.sgml:
3787 * docs/libs/gstreamer-libs-sections.txt:
3788 * docs/libs/tmpl/gstdataprotocol.sgml:
3790 * examples/controller/audio-example.c: (main):
3791 controller example works now
3794 * tools/gst-inspect.c: (print_element_properties_info):
3795 show param spec flags
3797 2005-08-29 Andy Wingo <wingo@pobox.com>
3799 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3801 2005-08-28 Andy Wingo <wingo@pobox.com>
3803 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3804 as having two arguments instead of just one. Allows superclasses
3805 to access information on subclasses -- see the terrible for() loop
3806 in gtype.c:g_type_create_instance for the reason why. All callers
3809 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3811 * docs/design/part-messages.txt:
3813 * docs/gst/tmpl/.cvsignore:
3814 * docs/gst/tmpl/gstcaps.sgml:
3815 * docs/gst/tmpl/gstclock.sgml:
3822 added descriptions for bus and message
3823 inline caps and clock docs
3825 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3831 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3833 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3836 2005-08-26 Andy Wingo <wingo@pobox.com>
3838 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
3839 element_set_state's return val.
3840 (test_2_elements): Add test that's been disabled for months.
3842 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
3843 can-activate-pull properties.
3845 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
3846 can-activate-pull properties. Implement is_seekable so fakesrc can
3847 operate in pull mode.
3849 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
3851 (gst_base_sink_activate, gst_base_sink_activate_pull)
3852 (gst_base_sink_activate_push): Make activation mode choosing work.
3854 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
3855 is right. Make pull mode work. Post an eos before pausing in pull
3857 (gst_base_sink_change_state): Pay attention to the core's
3858 change_state() return val.
3860 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
3861 has-getrange properties. Cleanups.
3863 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
3864 has_getrange and replace with can_activate_pull and
3867 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
3868 locking comments. Remove has_loop, has_chain and replace with
3869 can_activate_pull and can_activate_push.
3871 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
3874 * examples/Makefile.am:
3875 * examples/metadata/Makefile.am:
3876 * examples/metadata/read-metadata.c: (message_loop),
3877 (have_pad_handler), (make_pipeline), (print_tag), (main):
3878 Add metadata reading example that loops over a list of filenames,
3879 dumping any tags found.
3881 * gst/gstbus.c: (gst_bus_dispose):
3882 * gst/gstelement.c: (gst_element_dispose):
3883 Release a few potentially-held references in dispose.
3885 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3887 * docs/gst/tmpl/gstminiobject.sgml:
3888 do *not* add tmpl/*.sgml files to CVS!
3890 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3892 * libs/gst/bytestream/.cvsignore:
3893 * libs/gst/bytestream/Makefile.am:
3894 * libs/gst/bytestream/adapter.c:
3895 * libs/gst/bytestream/adapter.h:
3896 * libs/gst/bytestream/bytestream.c:
3897 * libs/gst/bytestream/bytestream.h:
3898 * libs/gst/bytestream/filepad.c:
3899 * libs/gst/bytestream/filepad.h:
3900 removing obsolete files
3902 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3904 * docs/gst/gstreamer-docs.sgml:
3905 * docs/libs/gstreamer-libs-docs.sgml:
3906 disabed additional index entries again, as this makes docs-gen just
3907 slow and they aren't useful yet
3908 * docs/libs/gstreamer-libs-sections.txt:
3909 little -section.txt cleanup for libs
3911 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
3913 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3914 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
3915 fix up some debugging
3916 (gst_base_transform_get_unit_size),
3917 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3918 (gst_base_transform_handle_buffer):
3919 * gst/base/gstbasetransform.h:
3920 handle and store timed NEWSEGMENT events so that subclasses that
3921 calculate time by counting samples have a segment_start time they
3922 need to add to their timestamps - see audioresample
3924 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3927 removed ';' from the end of macro defs
3928 * docs/gst/gstreamer-docs.sgml:
3929 * docs/gst/gstreamer-sections.txt:
3930 * docs/gst/tmpl/.cvsignore:
3932 * gst/gstelement.c: (gst_element_class_init),
3933 (gst_element_set_state), (activate_pads),
3934 (gst_element_save_thyself):
3935 * gst/gstevent.c: (gst_event_new_newsegment):
3937 * gst/gstiterator.c:
3938 * gst/gstiterator.h:
3941 * gst/gstutils.c: (gst_pad_query_convert):
3943 fixed parameter name mismatches between source, header and docs
3944 added some more docs, resolved the last batch of unused elements in
3945 docs (now someone needs to doc them)
3947 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3949 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3950 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3951 don't walk through the plugins backwards. Where is all this
3952 reversed logic coming from ?
3954 2005-08-25 Wim Taymans <wim@fluendo.com>
3956 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3957 (gst_base_transform_transform_size),
3958 (gst_base_transform_configure_caps),
3959 (gst_base_transform_get_unit_size),
3960 (gst_base_transform_buffer_alloc),
3961 (gst_base_transform_change_state):
3962 * gst/base/gstbasetransform.h:
3963 Cache caps unit_size.
3964 Make sure we cannot negotiate up and downstream at the
3967 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3969 * gst/gst.c: (init_pre), (init_post):
3970 register the installed plugin path after the env var
3971 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3972 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3973 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3974 directories, so the tests can prefer uninstalled over installed
3976 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3978 * gst/base/gstbasetransform.h:
3983 2005-08-25 Wim Taymans <wim@fluendo.com>
3985 * gst/gstbin.c: (bin_bus_handler):
3986 Be a bit more conservative about the posted message.
3988 * gst/gstbus.c: (gst_bus_post):
3989 Some cleanups, warn wrong return values.
3991 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
3993 * check/gst/gstbin.c: (GST_START_TEST):
3994 * gst/gstbin.c: (bin_bus_handler):
3995 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3996 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3997 (gst_message_new_warning), (gst_message_new_tag),
3998 (gst_message_new_state_changed), (gst_message_new_segment_start),
3999 (gst_message_new_segment_done), (gst_message_new_custom):
4001 * tools/gst-launch.c: (event_loop):
4002 * tools/gst-md5sum.c: (event_loop):
4003 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4005 2005-08-25 Wim Taymans <wim@fluendo.com>
4007 * check/generic/states.c: (GST_START_TEST):
4008 Cleanup can be done at the end.
4010 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4011 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4012 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4013 Oh boy.. Thanks for finding this, Thomas.
4015 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4017 * docs/gst/gstreamer.types:
4020 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4022 * docs/gst/gstreamer-docs.sgml:
4023 * docs/gst/gstreamer-sections.txt:
4024 * docs/gst/tmpl/.cvsignore:
4026 * gst/gstiterator.c:
4028 * gst/registries/gstxmlregistry.h:
4029 added missing classes and symbols (123 more to go)
4030 removed removed symbols from section file
4031 fixed many doc-comments
4033 2005-08-24 Wim Taymans <wim@fluendo.com>
4035 * check/generic/states.c: (GST_START_TEST):
4036 Make sure all tasks are stopped.
4038 * check/gst/gstbin.c: (GST_START_TEST):
4039 Unref after usage for proper valgrinding.
4041 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4042 Really wait for the task to stop before destroying the
4045 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4046 (gst_queue_src_activate_push):
4047 Small cleanups. Don't stop the task when we did not start
4050 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4051 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4052 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4055 Protect the stream lock with the object lock.
4056 Disallow setting the stream lock when running.
4057 Add cleanup_all to wait for the threadpool to finish.
4058 Remove code to autoallocate a mutex if none was provided.
4059 Add _join() to wait for a task to stop.
4060 Protect the thread pool with a global lock.
4062 2005-08-24 Wim Taymans <wim@fluendo.com>
4064 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4065 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4066 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4067 * gst/base/gstbasesink.h:
4068 Handle newsegment events correctly.
4069 Drop buffers out of the segment range.
4071 2005-08-22 Andy Wingo <wingo@pobox.com>
4073 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4074 macro, implements an interface and gstimplementsinterface for a
4077 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4079 * check/Makefile.am:
4080 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4081 add a test that does a bunch of state changes on elements
4082 needs some fixing for valgrind
4083 * check/states/sinks.c: (gst_object_suite):
4086 add prototype for gst_caps_is_equal_fixed
4088 * gst/gstregistrypool.c:
4091 2005-08-24 Andy Wingo <wingo@pobox.com>
4093 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4094 convert a negative value. Doesn't make much sense. Mostly this is
4095 here to force callers to ensure -1 maps to -1.
4097 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4099 * docs/pwg/advanced-types.xml:
4100 Well done to Michael for catching my deliberate introduction
4101 of this spelling mistake.
4102 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4104 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4105 unlink pads before removing the element from the bin.
4107 2005-08-24 Andy Wingo <wingo@pobox.com>
4109 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4110 the same thing as GST_DEBUG=*:4.
4111 (parse_debug_level, parse_debug_category): New helper parsers.
4113 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4115 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4116 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4117 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4118 (gst_base_transform_buffer_alloc),
4119 (gst_base_transform_handle_buffer):
4120 use gboolean return values and pointers to size so we can use the
4121 full GST_BUFFER_SIZE range (guint) for buffer sizes
4122 use GstPadDirection for transform_caps
4123 * gst/base/gstbasetransform.h:
4124 rename get_size to get_unit_size since that's what it is
4125 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4126 use GstPadDirection for transform_caps
4127 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4129 cleanup and debugging
4131 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4133 * gst/gstelement.c: (gst_element_class_init),
4134 (gst_element_set_state), (activate_pads),
4135 (gst_element_save_thyself):
4136 * tools/gst-compprep.c: (main):
4137 * tools/gst-inspect.c: (print_element_properties_info):
4138 * tools/gst-xmlinspect.c: (print_element_properties):
4139 Fixed long standing mem-leak
4141 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4143 * check/gst/gstbin.c: (GST_START_TEST):
4144 * gst/gstbin.c: (bin_bus_handler):
4145 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4146 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4147 (gst_message_new_warning), (gst_message_new_tag),
4148 (gst_message_new_state_changed), (gst_message_new_segment_start),
4149 (gst_message_new_segment_done), (gst_message_new_custom):
4151 * tools/gst-launch.c: (event_loop):
4152 * tools/gst-md5sum.c: (event_loop):
4153 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4154 that applications can sensibly post custom messages with references
4155 to their own objects.
4157 2005-08-24 Andy Wingo <wingo@pobox.com>
4159 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4162 2005-08-24 Wim Taymans <wim@fluendo.com>
4164 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4165 (gst_base_transform_transform_caps),
4166 (gst_base_transform_transform_size),
4167 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4168 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4169 (gst_base_transform_handle_buffer):
4170 * gst/base/gstbasetransform.h:
4171 Many fixes and new features added by Thomas. Can now also do
4172 transforms with variable sizes and a custom fixate_caps function.
4174 2005-08-24 Wim Taymans <wim@fluendo.com>
4176 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4180 Cast to ClockTime before formatting to time.
4185 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4187 * check/gst-libs/controller.c: (GST_START_TEST),
4188 (gst_controller_suite):
4189 * docs/gst/tmpl/gstcaps.sgml:
4190 * docs/gst/tmpl/gstghostpad.sgml:
4191 * docs/gst/tmpl/gstquery.sgml:
4192 * docs/gst/tmpl/gstutils.sgml:
4193 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4194 (gst_object_sink_values), (gst_object_get_value_arrays),
4195 (gst_object_get_value_array):
4196 gracefully handle helper method calls to objects that are not beeing
4197 controlled, added test case for that
4199 2005-08-23 Wim Taymans <wim@fluendo.com>
4201 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4202 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4203 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4204 (gst_event_parse_qos), (gst_event_new_seek),
4205 (gst_event_parse_seek):
4207 Some more debugging output and doc cleanups.
4209 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4210 Fix possible deadlock.
4212 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4214 * docs/gst/gstreamer-docs.sgml:
4215 * docs/gst/gstreamer-sections.txt:
4216 * docs/gst/gstreamer.types:
4217 * docs/gst/tmpl/.cvsignore:
4222 added 100 symbols from gstreamer-unused.txt to the right sections
4223 fixed more broken comments
4224 added GstBus to docs
4226 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4228 * docs/gst/gstreamer-sections.txt:
4229 * docs/gst/tmpl/.cvsignore:
4230 * docs/gst/tmpl/gstbin.sgml:
4231 * docs/gst/tmpl/gstbuffer.sgml:
4232 * gst/base/gstbasesrc.c:
4233 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4236 * tools/gst-launch.1.in:
4237 inlined more doc comments, added missing comments and fixed comments
4240 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4242 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4246 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4248 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4249 * gst/gststructure.h:
4250 add a fixate function for booleans; add a FIXME that these func
4251 names should probably be gst_structure_fixate_*
4253 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4255 * docs/gst/gstreamer-docs.sgml:
4256 * docs/gst/gstreamer-sections.txt:
4258 * gst/gstbin.c: (gst_bin_get_type),
4259 (gst_bin_child_proxy_get_child_by_index),
4260 (gst_bin_child_proxy_get_children_count),
4261 (gst_bin_child_proxy_init):
4262 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4263 (gst_child_proxy_get_child_by_index),
4264 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4265 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4266 (gst_child_proxy_get), (gst_child_proxy_set_property),
4267 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4268 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4269 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4270 * gst/gstchildproxy.h:
4271 * gst/parse/grammar.y:
4272 * tools/gst-inspect.c: (print_interfaces),
4273 (print_element_properties_info), (print_element_info):
4274 ported gstchildproxy over from 0.8
4275 ported gst-inspect fixes and enhancements over from 0.8
4277 2005-08-22 Wim Taymans <wim@fluendo.com>
4279 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4280 (gst_base_transform_handle_buffer):
4281 Also call the transform function if we have ANY caps.
4283 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4286 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4288 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4289 Don't pretend to handle seek events if the source is not seekable
4291 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4293 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4294 Remove extra parameter to debug output
4296 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4297 (gst_base_src_do_seek), (gst_base_src_activate_push):
4298 Fix seek event handling.
4300 * gst/gstpipeline.c: (gst_pipeline_change_state):
4301 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4302 (gst_queue_src_activate_push):
4303 Don't start the src pad task on FLUSH_STOP if the pad
4307 2005-08-22 Wim Taymans <wim@fluendo.com>
4309 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4310 Added check for gst_static_caps_get() refcounting.
4312 2005-08-22 Wim Taymans <wim@fluendo.com>
4314 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4315 Make _static_caps_get() refcounting sane.
4317 * gst/gstelement.c: (gst_element_set_state):
4318 Add g_return_val_if_fail() to protect against segfaults.
4320 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4322 * docs/gst/tmpl/gstevent.sgml:
4325 inlined remaining docs, added missing doc comments
4327 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4329 * check/gst/gstbin.c: (GST_START_TEST):
4330 since we don't know when preroll is done, use refcount range
4332 * gst/check/gstcheck.h:
4333 add macro for checking refcount range
4335 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4337 * check/Makefile.am:
4338 clean up environment for when registry gets built versus
4339 when actual tests are run; valgrind seems to not report
4340 leaks if GST_PLUGIN_PATH is set to some specific values
4341 * check/gst/gstbin.c: (GST_START_TEST):
4342 add more refcounting checks; maybe this exposes a
4345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4346 * gst/check/gstcheck.h:
4347 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4348 (gst_bin_change_state):
4349 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4350 add/fix debugging/whitespace
4352 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4354 * check/gst/gstevent.c: (event_probe), (test_event),
4356 Er, don't call gst_bin_watch_for_state_change you idiot.
4358 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4360 * check/Makefile.am:
4361 Use CHECK_CFLAGS and CHECK_LIBS
4362 * check/gst/gstevent.c: (event_probe), (test_event),
4365 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4366 (gst_base_src_start), (gst_base_src_stop),
4367 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4368 (gst_base_src_change_state):
4369 Sprinkle gst_base_src_stop liberally around error paths to fix
4370 problems reusing a source after failed state changes.
4371 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4372 (helper_find_suggest), (gst_type_find_helper):
4373 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4375 * docs/gst/tmpl/gstevent.sgml:
4376 Migrate part of the docs from the SGML file. Wait for ensonic to
4377 tell me how I did it wrong ;)
4378 * tools/gst-typefind.c: (main):
4379 Extra robustness to state changes between files.
4381 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4383 * check/Makefile.am:
4384 don't valgrind the controller test - it's leaking - Stefan, HELP
4385 * gst/check/gstcheck.c: (gst_check_message_error),
4386 (gst_check_chain_func), (gst_check_setup_element),
4387 (gst_check_teardown_element), (gst_check_setup_src_pad),
4388 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4389 (gst_check_teardown_sink_pad):
4390 * gst/check/gstcheck.h:
4391 add a bunch of methods to set up elements, and src and sink pads
4392 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4393 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4398 whitespace/doc fixes
4400 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4403 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4404 be handled by the application and not always printed as well
4406 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4408 * check/Makefile.am:
4410 * gst/check/gstcheck.c: (gst_check_message_error):
4411 * gst/check/gstcheck.h:
4412 add a fail_unless_equals_int
4413 add fail_unless for error messages
4415 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4417 * check/Makefile.am:
4419 * common/Makefile.am:
4422 factor out some of the common stuff so we can use it
4424 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4426 * check/Makefile.am:
4427 * check/gst/gstiterator.c: (GST_START_TEST):
4428 * check/gst/gstsystemclock.c: (GST_START_TEST),
4429 (gst_systemclock_suite):
4430 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4434 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4436 * check/elements/.cvsignore:
4437 * check/elements/gstfakesrc.c:
4438 rename to name of element
4439 * check/elements/identity.c: (chain_func), (event_func),
4440 (setup_identity), (cleanup_identity), (GST_START_TEST),
4441 (identity_suite), (main):
4442 add a test for identity
4443 * check/Makefile.am:
4444 * pkgconfig/Makefile.am:
4445 * pkgconfig/gstreamer-check.pc.in:
4446 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4450 move the check stuff to a library that gets installed
4451 * check/gst-libs/controller.c: (GST_START_TEST):
4452 * check/gst-libs/gdp.c:
4453 * check/gst/gst.c: (GST_START_TEST):
4454 * check/gst/gstbin.c:
4455 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4456 * check/gst/gstbus.c:
4457 * check/gst/gstcaps.c: (GST_START_TEST):
4458 * check/gst/gstelement.c:
4459 * check/gst/gstghostpad.c:
4460 * check/gst/gstiterator.c:
4461 * check/gst/gstmessage.c:
4462 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4463 * check/gst/gstobject.c:
4464 * check/gst/gstpad.c: (GST_START_TEST):
4465 * check/gst/gststructure.c: (GST_START_TEST):
4466 * check/gst/gstsystemclock.c: (GST_START_TEST),
4467 (gst_systemclock_suite):
4468 * check/gst/gsttag.c: (gst_tag_suite):
4469 * check/gst/gstvalue.c:
4470 * check/pipelines/cleanup.c:
4471 * check/pipelines/simple_launch_lines.c:
4472 * check/states/sinks.c:
4473 change include statement
4475 * docs/gst/gstreamer-sections.txt:
4476 * docs/gst/tmpl/gstpad.sgml:
4477 document more pad stuff
4478 * gst/gstminiobject.c: (gst_mini_object_ref),
4479 (gst_mini_object_unref):
4482 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4484 * docs/gst/tmpl/gst.sgml:
4486 eliminate another tmpl file, fix spelling in the long-description
4488 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4490 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4491 (test_event), (timediff), (gstevents_suite):
4492 Should fix build on 64-bit arch's
4494 2005-08-18 Andy Wingo <wingo@pobox.com>
4496 Make sure that when a pipeline goes to PLAYING, that data has
4497 actually hit the sink.
4499 * check/states/sinks.c (test_sink): A sink that doesn't get any
4500 data shouldn't return SUCCESS for going to either PLAYING or
4501 PAUSED. Test also the return values on the way back down.
4503 * gst/gstelement.c (gst_element_set_state): When changing the
4504 state of an element currently changing state asynchronously, go to
4505 lost-state after commiting the pending state. Makes future calls
4506 to get_state continue to return ASYNC.
4508 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
4509 ASYNC when going to PLAYING if we still don't have preroll, as can
4510 happen with live sources.
4512 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4514 * docs/pwg/advanced-types.xml:
4515 Hack long paragraph into 2 chunks as a workaround for buggy
4516 jadetex version in sid and breezy that loops infinitely and
4519 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4521 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4522 (test_event), (timediff), (gstevents_suite):
4523 Provide more error margin in clock measurements to allow for
4524 g_get_current_time inaccuracies.
4526 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4528 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4529 (test_event), (timediff), (gstevents_suite):
4530 Fix error message output so I might be able to tell why the
4531 test works here but fails on the build farm.
4533 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4535 * check/Makefile.am:
4536 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4537 (test_event), (timediff), (gstevents_suite), (main):
4540 * docs/design/part-seeking.txt:
4543 * docs/gst/tmpl/gstevent.sgml:
4544 * docs/gst/tmpl/gstfakesrc.sgml:
4547 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4548 Treat a buffer-without-newsegment the same as a receiving
4549 a newsegment not in time format, and disable syncing to the clock
4552 * gst/gstbus.c: (gst_bus_set_sync_handler):
4553 Assert if anyone tries to replace the existing sync_handler for bus,
4554 as only the owner should be setting it.
4557 Have a fixed set of custom event enums with events identified by
4558 their structure name (as in 0.8), rather than a free-for-all
4559 allowing collisions between enum values from different plugins.
4561 * gst/gstpad.c: (gst_pad_class_init):
4564 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4565 Handle out-of-band downstream events from the sending thread.
4567 2005-08-17 Andy Wingo <wingo@pobox.com>
4569 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4570 play-timeout==0 to mean no timeout at all. In that case, don't
4571 bother with a get_state or a warning, just return directly, even
4574 * gst/base/gstbasetransform.c: Debug changes.
4577 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
4578 ensure bins post state change messages. A bit of a hack but I can't
4579 think of a way to avoid it.
4581 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
4583 2005-08-16 Andy Wingo <wingo@pobox.com>
4585 * gst/base/gstadapter.h:
4586 * gst/base/gstadapter.c (gst_adapter_take): New function, like
4587 peek() but you own the data. Not terribly efficient atm.
4589 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4591 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
4592 (gst_element_found_tags):
4594 Add two utility functions for tag handling.
4596 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4598 * docs/manual/advanced-dataaccess.xml:
4599 * docs/manual/basics-helloworld.xml:
4600 Fix docs to use _bin_add() before _link(), which fixes the examples
4601 with recent core versions (reported by Madhan Raj M
4602 <raj_madan@rediffmail.com>, #313199).
4604 2005-08-16 Wim Taymans <wim@fluendo.com>
4606 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4607 Added subtract checks.
4609 * docs/design/part-events.txt:
4610 Some more docs about newsegment
4612 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4615 * gst/gstcaps.c: (gst_caps_to_string):
4616 Add comments, cleanups.
4618 * gst/gstelement.c: (gst_element_save_thyself):
4621 * gst/gstvalue.c: (gst_value_collect_int_range),
4622 (gst_string_unwrap), (gst_value_union_int_int_range),
4623 (gst_value_union_int_range_int_range),
4624 (gst_value_intersect_int_int_range),
4625 (gst_value_intersect_int_range_int_range),
4626 (gst_value_intersect_double_double_range),
4627 (gst_value_intersect_double_range_double_range),
4628 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4629 (gst_value_subtract_int_range_int),
4630 (gst_value_subtract_double_range_double),
4631 (gst_value_subtract_double_range_double_range),
4632 (gst_value_subtract_from_list), (gst_value_subtract_list),
4633 (gst_value_can_compare), (gst_value_compare_fraction):
4634 Cleanups, add comments, remove unneeded asserts.
4636 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4638 * tools/gst-launch.c: (event_loop):
4639 don't convert NULL structures to strings
4641 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4643 * docs/gst/gstreamer-sections.txt:
4644 made some defines private
4645 * docs/gst/tmpl/gstconfig.sgml:
4646 * docs/gst/tmpl/gstqueue.sgml:
4647 * docs/gst/tmpl/gsttaglist.sgml:
4648 * docs/gst/tmpl/gsttypes.sgml:
4649 * docs/gst/tmpl/gstutils.sgml:
4650 * docs/pwg/appendix-porting.xml:
4651 * gst/base/gstbasesink.h:
4652 * gst/base/gstbasesrc.c:
4653 * gst/base/gstbasesrc.h:
4654 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4655 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4656 * gst/gstelement.c: (gst_element_class_init):
4657 * gst/gstpad.c: (gst_pad_class_init):
4658 * gst/gstqueue.c: (gst_queue_class_init):
4659 * gst/gstxml.c: (gst_xml_class_init):
4660 documented all undocumented signal inline
4661 * libs/gst/controller/gst-controller.h:
4664 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4666 * docs/pwg/appendix-porting.xml:
4667 Document _set_link_function -> _set_setcaps_function.
4669 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4671 * check/Makefile.am:
4672 add a .check target for running the check
4673 * check/gst-libs/controller.c: (GST_START_TEST):
4675 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4676 complete checks for gstbuffer; would be nice if I could get the
4677 gcov stuff to work so I can see if I actually completed gstbuffer.c
4679 add ASSERT_BUFFER_REFCOUNT
4681 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4683 * docs/gst/gstreamer-sections.txt:
4684 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4686 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4687 spew out a warning if a tag that is already registered
4688 is re-registered, unless it is re-registered with a
4689 different type (#308438).
4691 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4693 * docs/pwg/appendix-porting.xml:
4694 * docs/pwg/building-state.xml:
4695 Add some paragraphs about state changes in 0.9 to the PWG
4696 and the porting guide, in particular about the new meaning
4697 of GST_STATE_PAUSED and how to write state change functions
4698 with concurrent access by multiple threads in mind.
4700 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4702 * docs/gst/gstreamer-docs.sgml:
4703 * docs/libs/gstreamer-libs-docs.sgml:
4704 added deprecation and since indexes
4705 * libs/gst/controller/gst-controller.c:
4706 * libs/gst/controller/gst-helper.c:
4710 2005-08-11 Wim Taymans <wim@fluendo.com>
4712 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
4713 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
4714 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
4715 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
4716 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
4717 (gst_ghost_pad_set_target):
4718 Actually implement (re)setting the target on a ghostpad
4719 as described in the docs.
4721 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4723 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
4724 Check whether GST_DEBUG_NO_COLOR environment variable is
4725 set and disable coloured debug output if that is the case.
4727 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4729 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4730 (gst_type_find_helper):
4731 The memory returned by gst_type_find_peek() needs to
4732 stay valid until the end of a typefind function, and
4733 typefind functions may keep results from different
4734 offsets around, so we can't just unref the buffer from
4735 the previous _peek(), but have to save all buffers
4736 returned by _peek() until typefinding is done and only
4739 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
4741 * docs/gst/gstreamer-sections.txt:
4743 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
4745 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4747 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4748 Fix a pretty good memleak.
4750 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4752 * gst/gstiterator.h:
4753 Fix wrong include and 'make distcheck'.
4755 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4757 * gst/gstbin.c: (bin_bus_handler):
4758 Use gst_element_post_message() instead.
4760 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4762 * gst/base/gstadapter.h:
4763 * gst/base/gstbasesink.h:
4764 * gst/base/gstbasesrc.h:
4765 * gst/base/gstbasetransform.h:
4766 * gst/base/gstcollectpads.h:
4767 * gst/base/gstpushsrc.h:
4768 * gst/gstiterator.h:
4769 Add padding to our base elements' class and instance structs and
4770 to GstIterator (you will need to rebuild all plugins and apps!)
4772 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4774 * gst/gstbin.c: (bin_bus_handler):
4775 Make default message forwarding from child->bus to bin->bus
4776 threadsafe and make it not emit warnings if the parent has no bus.
4778 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4780 * gst/gstelement.c: (activate_pads):
4781 On paused->ready, set pad->caps to NULL, as is the documented
4782 behaviour in this state change. Fixes playback of series of
4783 media files when visualization is enabled in Totem.
4785 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4787 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4788 Allow NULL as filter-caps (which means "any").
4790 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4792 * docs/libs/gstreamer-libs-sections.txt:
4793 * libs/gst/controller/gst-controller.c:
4794 * libs/gst/controller/gst-controller.h:
4795 * libs/gst/controller/gst-helper.c:
4796 adding more entries to the docs and fix small doc-bugs
4798 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4800 * docs/gst/gstreamer-docs.sgml:
4801 * docs/gst/gstreamer-sections.txt:
4802 * docs/gst/gstreamer.types:
4803 * docs/gst/tmpl/gstbasesink.sgml:
4804 * docs/gst/tmpl/gstbasesrc.sgml:
4805 * docs/gst/tmpl/gstbasetransform.sgml:
4806 * docs/gst/tmpl/gstfakesrc.sgml:
4807 * gst/base/gstcollectpads.c:
4808 * gst/base/gstcollectpads.h:
4809 * libs/gst/controller/gst-controller.c:
4810 * libs/gst/controller/gst-controller.h:
4811 * libs/gst/controller/gst-helper.c:
4812 * libs/gst/controller/gst-interpolation.c:
4813 * libs/gst/controller/lib.c:
4814 added long/short desc for controller docs
4815 added collectpads base class docs
4816 added correct includes to base-class docs
4818 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4820 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4821 (gst_test_mono_source_set_property),
4822 (gst_test_mono_source_class_init), (GST_START_TEST),
4823 (gst_controller_suite):
4824 * docs/gst/gstreamer-docs.sgml:
4825 * docs/gst/gstreamer-sections.txt:
4826 * docs/gst/gstreamer.types:
4827 * docs/libs/gstreamer-libs-docs.sgml:
4828 * docs/libs/gstreamer-libs-sections.txt:
4829 * gst/base/gstadapter.c:
4830 * libs/gst/controller/gst-controller.c:
4831 (gst_controlled_property_new), (gst_controlled_property_free),
4832 (gst_controller_new_valist),
4833 (gst_controller_remove_properties_valist),
4834 (gst_controller_sink_values), (_gst_controller_finalize):
4835 * libs/gst/controller/gst-controller.h:
4836 * libs/gst/controller/gst-helper.c:
4837 (gst_object_control_properties), (gst_object_uncontrol_properties),
4838 (gst_object_get_controller), (gst_object_set_controller),
4839 (gst_object_sink_values), (gst_object_get_value_arrays),
4840 (gst_object_get_value_array):
4841 more tests (and fixes) for the controller
4842 more docs for the controller
4843 integrated companies docs for the adapter
4845 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
4847 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
4848 (GST_START_TEST), (fakesrc_suite):
4849 add tests for sizetype
4851 2005-08-04 Andy Wingo <wingo@pobox.com>
4853 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
4854 fixes buffer_alloc proxying among other things.
4856 * gst/base/gstbasetransform.c:
4857 * gst/base/gstbasetransform.h:
4858 Revert patch to gstbasetransform from 7-28 removing
4861 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
4862 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
4863 Semantics changed, should return not the size of the output buffer
4864 but the byte size of a buffer with a given caps.
4866 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
4868 (gst_base_transform_configure_caps): Don't set out_size here: (in,
4869 out) are not the pad caps until setcaps finishes.
4870 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
4871 not-in-place case as well. Deal with changing from in-place to
4872 not-in-place within calling pad_alloc_buffer. Still a bit
4873 concerned about the overhead here...
4875 2005-08-03 Andy Wingo <wingo@pobox.com>
4877 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
4878 fixating is an error.
4880 2005-08-04 Edward Hervey <edward@fluendo.com>
4882 * gst/base/gstadapter.h:
4883 Added gst_adapter_get_type() to the header
4885 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4887 * check/Makefile.am:
4888 * check/gst-libs/controller.c:
4889 * libs/gst/controller/gst-controller.c:
4890 (gst_controller_new_valist):
4891 added check test suite for the controller
4892 * gst/base/gstpushsrc.c:
4895 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4897 * docs/gst/Makefile.am:
4898 * docs/gst/gstreamer-docs.sgml:
4899 * docs/gst/gstreamer-sections.txt:
4900 * docs/gst/gstreamer.types:
4901 * docs/gst/tmpl/gstfakesrc.sgml:
4903 * gst/base/gstbasesink.c:
4904 * gst/base/gstbasesink.h:
4905 * gst/base/gstbasesrc.c:
4906 * gst/base/gstbasesrc.h:
4907 * gst/base/gstbasetransform.c:
4908 * gst/base/gstpushsrc.c:
4909 * gst/base/gstpushsrc.h:
4910 add short/long description docs to base classes
4911 add pushsrc to the docs
4912 remove consolidated doc fragments
4914 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4917 * docs/libs/Makefile.am:
4918 * docs/libs/gstreamer-libs-docs.sgml:
4919 * docs/libs/gstreamer-libs-sections.txt:
4920 * docs/libs/gstreamer-libs.types:
4921 * examples/Makefile.am:
4922 * examples/controller/.cvsignore:
4923 * examples/controller/Makefile.am:
4924 * examples/controller/audio-example.c: (main):
4925 * libs/gst/Makefile.am:
4926 * libs/gst/controller/.cvsignore:
4927 * libs/gst/controller/Makefile.am:
4928 * libs/gst/controller/gst-controller.c:
4929 (on_object_controlled_property_changed), (gst_timed_value_compare),
4930 (gst_timed_value_find),
4931 (gst_controlled_property_set_interpolation_mode),
4932 (gst_controlled_property_new), (gst_controlled_property_free),
4933 (gst_controller_find_controlled_property),
4934 (gst_controller_new_valist), (gst_controller_new),
4935 (gst_controller_remove_properties_valist),
4936 (gst_controller_remove_properties), (gst_controller_set),
4937 (gst_controller_set_from_list), (gst_controller_unset),
4938 (gst_controller_get), (gst_controller_get_all),
4939 (gst_controller_sink_values), (gst_controller_get_value_arrays),
4940 (gst_controller_get_value_array),
4941 (gst_controller_set_interpolation_mode),
4942 (_gst_controller_finalize), (_gst_controller_init),
4943 (_gst_controller_class_init), (gst_controller_get_type):
4944 * libs/gst/controller/gst-controller.h:
4945 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4946 (g_object_uncontrol_properties), (g_object_get_controller),
4947 (g_object_set_controller), (g_object_sink_values),
4948 (g_object_get_value_arrays), (g_object_get_value_array):
4949 * libs/gst/controller/gst-interpolation.c:
4950 (gst_controlled_property_find_timed_value_node),
4951 (interpolate_none_get), (interpolate_trigger_get),
4952 (interpolate_trigger_get_value_array):
4953 * libs/gst/controller/lib.c: (gst_controller_init):
4954 * pkgconfig/Makefile.am:
4955 * pkgconfig/gstreamer-control-uninstalled.pc.in:
4956 * pkgconfig/gstreamer-control.pc.in:
4957 * testsuite/Makefile.am:
4958 * testsuite/controller/.cvsignore:
4959 * testsuite/controller/Makefile.am:
4960 * testsuite/controller/interpolator.c: (main):
4961 added controller code
4962 removed dparam pc files
4964 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4965 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4966 (gst_collectpads_stop):
4967 Broadcast the condition when shutting down, to make sure we wake all
4968 threads up. Shut down pads on finalize, for safety.
4970 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4971 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4972 (gst_base_transform_handle_buffer),
4973 (gst_base_transform_change_state):
4974 Handle PAUSED->READY->PAUSED transition after negotiation
4976 * gst/gstmessage.c: (gst_message_init):
4977 Extra piece of debug for new messages.
4979 2005-08-01 Stefan Kost <ensonic@users.sf.net>
4982 * docs/gst/tmpl/gstbasesrc.sgml:
4983 * docs/gst/tmpl/gstelement.sgml:
4984 * docs/gst/tmpl/gstevent.sgml:
4985 * docs/gst/tmpl/gstfakesrc.sgml:
4986 * docs/gst/tmpl/gstformat.sgml:
4987 * docs/gst/tmpl/gstghostpad.sgml:
4988 * docs/gst/tmpl/gstpad.sgml:
4989 * docs/gst/tmpl/gstquery.sgml:
4990 * docs/gst/tmpl/gststructure.sgml:
4991 * docs/gst/tmpl/gsttaglist.sgml:
4992 * docs/gst/tmpl/gstvalue.sgml:
4993 * docs/libs/gstreamer-libs-docs.sgml:
4994 * docs/libs/gstreamer-libs-sections.txt:
4995 * docs/libs/gstreamer-libs.types:
4996 * libs/gst/Makefile.am:
4997 * libs/gst/control/.cvsignore:
4998 * libs/gst/control/Makefile.am:
4999 * libs/gst/control/control.c:
5000 * libs/gst/control/control.h:
5001 * libs/gst/control/dparam.c:
5002 * libs/gst/control/dparam.h:
5003 * libs/gst/control/dparam_smooth.c:
5004 * libs/gst/control/dparam_smooth.h:
5005 * libs/gst/control/dparamcommon.h:
5006 * libs/gst/control/dparammanager.c:
5007 * libs/gst/control/dparammanager.h:
5008 * libs/gst/control/dplinearinterp.c:
5009 * libs/gst/control/dplinearinterp.h:
5010 * libs/gst/control/unitconvert.c:
5011 * libs/gst/control/unitconvert.h:
5012 * testsuite/Makefile.am:
5013 * testsuite/dynparams/.cvsignore:
5014 * testsuite/dynparams/Makefile.am:
5015 * testsuite/dynparams/dparamstest.c:
5016 * tools/Makefile.am:
5017 * tools/gst-inspect.c: (print_element_info), (main):
5018 * tools/gst-xmlinspect.c: (print_element_info), (main):
5019 deactivate and remove dparams (libgstcontrol)
5021 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5023 * gst/elements/gsttypefindelement.c:
5024 (gst_type_find_element_have_type), (gst_type_find_element_init),
5025 (stop_typefinding), (gst_type_find_element_handle_event),
5026 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5027 * gst/elements/gsttypefindelement.h:
5028 Set caps on all outgoing buffers, not just the first one.
5030 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5032 * gst/elements/gsttypefindelement.c:
5033 (gst_type_find_element_have_type),
5034 (gst_type_find_element_check_set_buffer_caps),
5035 (gst_type_find_element_init), (stop_typefinding),
5036 (gst_type_find_element_handle_event),
5037 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5038 * gst/elements/gsttypefindelement.h:
5039 Set caps on first outgoing buffer when we've found the type.
5041 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5043 * docs/gst/gstreamer-docs.sgml:
5044 * docs/gst/gstreamer-sections.txt:
5045 * docs/gst/tmpl/gstscheduler.sgml:
5046 * docs/gst/tmpl/gstschedulerfactory.sgml:
5047 Remove some old cruft from docs.
5049 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5052 Fix inline docs for GstPadLinkReturn.
5054 * gst/gststructure.c: (gst_structure_has_name):
5055 * gst/gststructure.h:
5056 * docs/gst/gstreamer-sections.txt:
5057 New API: gst_structure_has_name().
5059 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5062 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5063 and _LARGEFILE_SOURCE in config.h as required. Do not
5064 export those flags in our .pc files any longer (#142209).
5066 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5068 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5069 (gst_file_sink_do_seek), (gst_file_sink_event),
5070 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5071 Redo seek/tell calls with large file support in mind; add some
5072 debugging messages; add log message that tells us when large
5073 file support is unavailable or not enabled for some reason.
5075 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5076 Add log message that tells us when large file support
5077 is unavailable or not enabled for some reason.
5079 2005-07-29 Wim Taymans <wim@fluendo.com>
5081 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5082 Added test for removing an element with ghostpad from a bin.
5083 Fixed test as current implementation does the right thing.
5085 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5086 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5087 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5088 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5089 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5090 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5091 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5092 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5093 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5094 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5095 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5096 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5097 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5098 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5099 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5100 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5101 * gst/gstghostpad.h:
5102 Clean up ghostpads, remove properties for internal stuff.
5105 Prepare for switching targets, not all use cases work yet.
5107 2005-07-29 Wim Taymans <wim@fluendo.com>
5109 * docs/design/part-gstghostpad.txt:
5112 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5113 (gst_bin_remove_func):
5114 Unlinking pads while holding the bin LOCK is not a good
5117 * gst/gstpad.c: (gst_pad_class_init),
5118 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5119 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5120 No prob setting template after creating the pad.
5122 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5124 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5125 (gst_bus_peek), (gst_bus_source_dispatch),
5126 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5127 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5128 gst_bus_poll may be called from other threads. Handle
5129 this nicely by not making poll_data disappear off the
5130 stack once gst_bus_poll returns.
5131 gst_bus_peek now increments the refcount on the returned
5134 2005-07-29 Wim Taymans <wim@fluendo.com>
5136 * docs/design/part-gstghostpad.txt:
5137 Overview of current GhostPad datastructures and use
5138 cases for changing the target.
5140 2005-07-28 Wim Taymans <wim@fluendo.com>
5142 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5143 Added checks for hierarchy consistency whan adding linked
5146 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5147 Added check to test element scheduling without bin/pipeline.
5149 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5150 First add elements to bin, then link.
5152 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5153 (gst_bin_remove_func):
5154 Unlink pads from elements added/removed from bin to maintain
5155 hierarchy consistency.
5157 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5159 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5160 (gst_base_transform_handle_buffer):
5161 * gst/base/gstbasetransform.h:
5162 Remove broken delay_configure (fixes renegotiation of software
5163 scaling pipelines); remove some leftover printf()s.
5165 2005-07-28 Wim Taymans <wim@fluendo.com>
5167 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5168 Added some more tests for wrong hierarchy
5170 * docs/design/part-overview.txt:
5173 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5176 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5177 (gst_element_dispose):
5180 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5181 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5182 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5183 (gst_pad_set_caps), (gst_pad_send_event):
5184 Check for correct hierarchy when linking pads. Moving to
5185 strict requirement for ghostpads when linking elements in
5189 Clean ups. Added WRONG_HIERARCHY return value.
5191 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5193 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5194 Better debug if no transform is possible.
5196 2005-07-27 Wim Taymans <wim@fluendo.com>
5198 * docs/random/wtay/network-transp:
5201 2005-07-27 Wim Taymans <wim@fluendo.com>
5203 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5204 (gst_dp_event_from_packet):
5205 Fix serialization of seek events.
5207 2005-07-27 Wim Taymans <wim@fluendo.com>
5209 * check/gst-libs/gdp.c: (GST_START_TEST):
5210 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5211 Fix compilation and fix event serialization.
5213 2005-07-27 Wim Taymans <wim@fluendo.com>
5216 * docs/design/part-TODO.txt:
5217 * docs/design/part-events.txt:
5220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5221 (gst_base_sink_event), (gst_base_sink_do_sync),
5222 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5223 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5224 (gst_base_src_do_seek), (gst_base_src_event_handler),
5225 (gst_base_src_loop):
5226 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5227 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5228 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5229 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5230 (gst_base_transform_set_passthrough),
5231 (gst_base_transform_is_passthrough):
5232 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5233 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5239 * gst/gstelement.c: (gst_element_seek):
5241 Update gst_element_seek.
5243 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5244 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5245 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5246 (gst_event_new_eos), (gst_event_new_newsegment),
5247 (gst_event_parse_newsegment), (gst_event_new_tag),
5248 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5249 (gst_event_parse_qos), (gst_event_new_seek),
5250 (gst_event_parse_seek), (gst_event_new_navigation):
5252 Make GstEvent use GstStructure. Add parsing code, make sure the
5253 API is sufficiently generic.
5254 Mark possible directions of events and serialization.
5256 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5257 (_gst_message_copy), (gst_message_new_segment_start),
5258 (gst_message_new_segment_done), (gst_message_new_custom),
5259 (gst_message_parse_segment_start),
5260 (gst_message_parse_segment_done):
5263 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5264 (gst_pad_set_caps), (gst_pad_send_event):
5265 Update for new events.
5266 Catch events sent in wrong directions.
5268 * gst/gstqueue.c: (gst_queue_link_src),
5269 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5270 (gst_queue_handle_src_query):
5275 Remove event code from this file.
5277 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5278 (gst_dp_event_from_packet):
5281 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5283 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5284 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5285 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5286 Make debugging actually useful.
5288 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5290 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5291 (gst_pad_fixate_caps):
5292 Implement default fixation once again, so that gst_pad_fixate()
5293 actually does anything at all. This probably needs to be some
5294 sort of a last resort, and use profile-based fixation first, but
5295 since that doesn't exist yet, this is the best we have. Fixes
5296 visualization in Totem.
5298 2005-07-22 Wim Taymans <wim@fluendo.com>
5300 * docs/design/part-events.txt:
5303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5304 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5305 (gst_base_sink_activate_pull):
5308 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5309 (gst_fake_src_create):
5310 Fix handoff marshall.
5312 * gst/elements/gstidentity.c: (gst_identity_class_init),
5313 (gst_identity_transform_ip):
5314 We're a real inplace element.
5316 * gst/gstbus.c: (gst_bus_post):
5317 Added some comments.
5319 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5320 * tests/muxing/case1.c: (main):
5321 * tests/sched/dynamic-pipeline.c: (main):
5322 * tests/sched/interrupt1.c: (main):
5323 * tests/sched/interrupt2.c: (main):
5324 * tests/sched/interrupt3.c: (main):
5325 * tests/sched/runxml.c: (main):
5326 * tests/sched/sched-stress.c: (main):
5327 * tests/seeking/seeking1.c: (event_received), (main):
5328 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5330 * tests/threadstate/threadstate3.c: (main):
5331 * tests/threadstate/threadstate4.c: (main):
5332 * tests/threadstate/threadstate5.c: (main):
5335 2005-07-21 Wim Taymans <wim@fluendo.com>
5337 * docs/design/part-seeking.txt:
5338 Some small additions.
5340 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5341 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5342 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5343 * gst/base/gstbasesink.h:
5344 discont values are gint64, handle the math correctly.
5346 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5347 Make the basesrc report error if the source pad is not linked.
5349 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5350 (gst_queue_loop), (gst_queue_handle_src_query),
5351 (gst_queue_src_activate_push):
5352 Make queue collect data even if the srcpad is not linked.
5353 Start pushing out data as soon as it is linked.
5355 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5357 Added gst_flow_get_name() to ease error reporting.
5359 2005-07-20 Wim Taymans <wim@fluendo.com>
5361 * gst/gstmessage.c: (gst_message_new_segment_start),
5362 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5363 (gst_message_parse_segment_done):
5365 Added a bunch of messages for advanced seeking.
5367 * gst/parse/grammar.y:
5368 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5369 (gst_dpman_state_changed):
5370 Fix some new-pad -> pad-added signals
5372 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5374 * docs/manual/appendix-porting.xml:
5375 * docs/pwg/appendix-porting.xml:
5376 Document new-pad/state-change signal renames and the FixedList
5379 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5381 * docs/manual/advanced-autoplugging.xml:
5382 * docs/manual/basics-helloworld.xml:
5383 * docs/manual/basics-pads.xml:
5384 * docs/random/ds/0.9-suggested-changes:
5385 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5390 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5391 (gst_structure_parse_array), (gst_structure_parse_value):
5392 * gst/gstvalue.c: (gst_type_is_fixed),
5393 (gst_value_list_prepend_value), (gst_value_list_append_value),
5394 (gst_value_list_get_size), (gst_value_list_get_value),
5395 (gst_value_transform_array_string), (gst_value_serialize_array),
5396 (gst_value_deserialize_array), (gst_value_intersect_array),
5397 (gst_value_is_fixed), (_gst_value_initialize):
5399 GstElement::new-pad -> pad-added, GstElement::state-change ->
5400 state-changed, GstValueFixedList -> GstValueArray, add format and
5401 flags as their own arguments in gst_element_seek() (should improve
5402 "bindeability"), remove function generators since they don't work
5403 under a whole bunch of compilers (they were deprecated already
5406 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5408 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5409 (_gst_debug_register_funcptr):
5411 Fix illegal cast on some platforms (#309253).
5413 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5415 * gst/gstmessage.c: (gst_message_new_custom):
5417 Add _new_custom, make _new_application a macro to _new_custom.
5419 2005-07-20 Wim Taymans <wim@fluendo.com>
5421 * gst/base/gstbasesrc.c: (gst_base_src_init),
5422 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5423 * gst/base/gstbasesrc.h:
5424 Add a gboolean to decide when to push out a discont.
5426 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5427 (gst_queue_loop), (gst_queue_handle_src_query),
5428 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5429 (gst_queue_set_property), (gst_queue_get_property):
5432 * tests/threadstate/threadstate1.c: (main):
5433 Make a thread test compile and run... very silly..
5436 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5438 * docs/manual/appendix-porting.xml:
5439 Mention removal of libgstgconf-0.9.la and existence of gconf
5442 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5444 * docs/pwg/advanced-clock.xml:
5445 * docs/pwg/appendix-porting.xml:
5446 * docs/pwg/intro-preface.xml:
5447 * docs/pwg/other-base.xml:
5448 * docs/pwg/other-manager.xml:
5449 * docs/pwg/other-nton.xml:
5450 * docs/pwg/other-ntoone.xml:
5451 * docs/pwg/other-oneton.xml:
5453 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5454 demuxer), remove n-to-n (was never written), fix some code examples
5455 and links and update the porting section to include all this.
5457 2005-07-19 Wim Taymans <wim@fluendo.com>
5459 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5460 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5461 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5462 (gst_queue_src_activate_push), (gst_queue_change_state),
5463 (gst_queue_get_property):
5465 Propagate GstFlowReturn more intelligently upstream and output
5466 an ERROR/EOS when streaming stopped due to fatal error.
5468 2005-07-19 Wim Taymans <wim@fluendo.com>
5470 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5471 Don't block forever for the state change to complete, the
5472 pipeline already did with a sensible timeout.
5474 2005-07-19 Wim Taymans <wim@fluendo.com>
5476 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5477 Make sure we never call the create function is we
5480 2005-07-19 Andy Wingo <wingo@pobox.com>
5482 * gst/parse/parse.l: Attempt to solve bug #172815.
5484 2005-07-19 Wim Taymans <wim@fluendo.com>
5486 * docs/design/part-clocks.txt:
5487 * docs/design/part-events.txt:
5488 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5490 Only update the seeking values when we are not
5493 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5495 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5496 Oops, ignore the result of gst_pad_push_event here.
5498 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5500 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5501 (gst_base_src_activate_push):
5502 Send discont event from the loop function, as pads
5503 aren't activated yet in the activate_push handler.
5505 * gst/gstbin.c: (bin_bus_handler):
5506 Don't leak element name.
5508 2005-07-18 Andy Wingo <wingo@pobox.com>
5510 * configure.ac: Use AS_LIBTOOL_TAGS.
5512 2005-07-18 Wim Taymans <wim@fluendo.com>
5514 * docs/gst/gstreamer.types:
5515 Remove deleted types.
5517 2005-07-18 Wim Taymans <wim@fluendo.com>
5519 * check/elements/gstfakesrc.c: (GST_START_TEST):
5522 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
5523 (init_popt_callback):
5525 * gst/gst_private.h:
5526 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
5527 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
5530 * gst/gstconfig.h.in:
5531 * gst/gstelement.c: (gst_element_class_init),
5532 (gst_element_set_base_time), (gst_element_get_base_time),
5533 (iterator_fold_with_resync), (gst_element_change_state),
5534 (gst_element_dispose), (gst_element_get_bus):
5536 * gst/gstelementfactory.h:
5537 * gst/gsterror.c: (_gst_core_errors_init):
5540 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5542 * gst/gstinfo.c: (_gst_debug_init):
5543 * gst/gstmessage.c: (_gst_message_copy):
5545 * gst/gstminiobject.h:
5548 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5549 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
5552 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5553 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5554 (gst_pipeline_get_last_stream_time):
5555 * gst/gstpipeline.h:
5556 * gst/gstpluginfeature.h:
5558 * gst/gstscheduler.c:
5559 * gst/gstscheduler.h:
5560 * gst/gststructure.h:
5561 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
5562 (gst_task_finalize), (gst_task_func), (gst_task_create),
5563 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
5564 (gst_task_stop), (gst_task_pause):
5566 * gst/gsttypefind.h:
5568 * gst/registries/gstlibxmlregistry.c: (load_feature),
5569 (gst_xml_registry_load), (gst_xml_registry_save_feature):
5570 * gst/registries/gstxmlregistry.c:
5571 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
5572 * gst/schedulers/threadscheduler.c:
5573 * libs/gst/control/dparammanager.h:
5574 * tools/gst-inspect.c: (print_element_list),
5575 (print_plugin_features), (print_element_features):
5576 * tools/gst-xmlinspect.c: (print_element_list),
5577 (print_plugin_info), (main):
5578 Removed plugable schedulers.
5579 Removed Scheduler/Manager from elements.
5580 Removed gsttypes.h, rearranged includes.
5581 Removed dependency pad<->element, element<>pipeline, and
5582 various others, fix includes.
5583 implement gst_pad_get_parent() with gst_object_get_parent()
5584 Make GstTask sefcontained.
5585 Fix _get_state() on GstBin, it did not return ASYNC with a 0
5587 Fix endless loop in iterator_fold_with_resync.
5590 2005-07-18 Wim Taymans <wim@fluendo.com>
5596 2005-07-18 Wim Taymans <wim@fluendo.com>
5601 2005-07-18 Wim Taymans <wim@fluendo.com>
5607 2005-07-18 Wim Taymans <wim@fluendo.com>
5609 * docs/design/part-dynamic.txt:
5610 * docs/design/part-events.txt:
5611 * docs/design/part-seeking.txt:
5612 Some more docs in the works.
5614 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5615 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5616 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5617 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5618 (gst_base_transform_handle_buffer),
5619 (gst_base_transform_sink_activate_push),
5620 (gst_base_transform_src_activate_pull),
5621 (gst_base_transform_set_passthrough),
5622 (gst_base_transform_is_passthrough):
5625 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5628 * gst/gstevent.c: (gst_event_finalize):
5631 * gst/gstutils.c: (gst_element_unlink),
5632 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5633 (gst_pad_proxy_setcaps):
5635 Add _get_parent_element() to get a pads parent as an element.
5637 2005-07-18 Wim Taymans <wim@fluendo.com>
5639 * check/gst/gstbin.c: (GST_START_TEST):
5642 2005-07-18 Wim Taymans <wim@fluendo.com>
5644 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5645 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5646 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5647 (gst_base_sink_event), (gst_base_sink_do_sync),
5648 (gst_base_sink_chain), (gst_base_sink_loop),
5649 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5650 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5652 Fix logic for returning ASYNC when not prerolled.
5654 2005-07-18 Wim Taymans <wim@fluendo.com>
5656 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5657 Fix nasty refcount bug.
5659 2005-07-16 Philippe Khalaf <burger@speedy.org>
5661 * gst/elements/gstfdsrc.c:
5662 * gst/elements/gstfdsrc.h:
5663 * gst/elements/gstelements.c:
5664 * gst/elements/Makefile.am:
5665 Ported fdsrc to 0.9.
5667 2005-07-16 Wim Taymans <wim@fluendo.com>
5669 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5670 (gst_base_sink_do_sync):
5673 2005-07-16 Wim Taymans <wim@fluendo.com>
5675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5676 (gst_base_sink_event), (gst_base_sink_get_times),
5677 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5678 * gst/base/gstbasesink.h:
5679 Store and use discont values when syncing buffers as described
5682 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5683 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5684 (gst_base_src_activate_push):
5685 Push discont event when starting.
5687 * gst/elements/gstidentity.c: (gst_identity_transform):
5690 * gst/gstbin.c: (gst_bin_change_state):
5691 Small cleanups in base_time distribution.
5693 * gst/gstelement.c: (gst_element_set_base_time),
5694 (gst_element_get_base_time), (gst_element_change_state):
5696 Added methods for the base_time of the element.
5699 * gst/gstpipeline.c: (gst_pipeline_send_event),
5700 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5701 (gst_pipeline_get_last_stream_time):
5702 * gst/gstpipeline.h:
5704 Handle seeking as described in design doc, remove stream_time
5706 Cleanups clock and stream_time selection code. Added accessors
5707 for the stream_time.
5710 2005-07-16 Andy Wingo <wingo@pobox.com>
5712 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
5715 2005-07-16 Wim Taymans <wim@fluendo.com>
5717 * check/gst/gstbin.c: (GST_START_TEST):
5718 Make elements silent as the deep_notify refs the
5719 parent, which might make the test fail.
5721 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5722 Don't hold the lock for too long.
5724 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
5726 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5727 Don't unref the caps we passed to gst_caps_make_writable() after
5728 passing them. gst_caps_make_writable() will do that for us.
5730 2005-07-15 Andy Wingo <wingo@pobox.com>
5732 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
5735 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
5736 own marshalling function for the handoff signal. Properly type the
5737 buffer as a buffer. Fixes some warnings. Should do a more general
5739 (gst_identity_class_init): Plug into the right marshaller.
5741 2005-07-15 Wim Taymans <wim@fluendo.com>
5743 * docs/design/part-TODO.txt:
5744 * docs/design/part-clocks.txt:
5745 * docs/design/part-element-sink.txt:
5746 * docs/design/part-events.txt:
5747 * docs/design/part-gstpipeline.txt:
5748 Updated docs, mostly DISCONT related.
5750 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
5752 * docs/pwg/building-pads.xml:
5753 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
5755 2005-07-15 Andy Wingo <wingo@pobox.com>
5757 * tools/gst-typefind.c: Update, add copyright block.
5759 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
5760 Normalize and truncate caps before fixation.
5763 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
5764 discards all but the first structure from its argument.
5766 2005-07-15 Wim Taymans <wim@fluendo.com>
5768 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5769 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
5770 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5771 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5772 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
5773 (gst_base_transform_chain), (gst_base_transform_change_state),
5774 (gst_base_transform_set_passthrough),
5775 (gst_base_transform_is_passthrough):
5776 * gst/base/gstbasetransform.h:
5777 Make passthrough work using the bufferpools.
5778 Changed API a bit, subclasses have to write into a buffer
5779 provided by the base class.
5780 More debug info in nego functions.
5782 * gst/elements/gstidentity.c: (gst_identity_init),
5783 (gst_identity_transform):
5784 Port to new base class.
5786 2005-07-15 Wim Taymans <wim@fluendo.com>
5788 * gst/gstmessage.c: (gst_message_new_state_changed):
5789 * tools/gst-launch.c: (event_loop), (main):
5790 Totally dump messages in -launch with the -m option.
5791 Fix message name for State messages,
5793 2005-07-14 Wim Taymans <wim@fluendo.com>
5795 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5796 Post error messages on errors.
5798 2005-07-14 Wim Taymans <wim@fluendo.com>
5800 * gst/gstcaps.c: (gst_caps_do_simplify):
5804 Define error for stream stopped.
5806 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5807 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5808 Do proper return values.
5810 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5811 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5812 (gst_pad_get_range):
5813 Better return values.
5816 Reorganise return values, add macro to check for fatal errors.
5818 * gst/gstqueue.c: (gst_queue_chain):
5819 Return proper GstFlowReturn values,
5821 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5823 * docs/gst/gstreamer-sections.txt:
5824 * docs/gst/gstreamer.types:
5825 * docs/gst/tmpl/gst.sgml:
5826 * docs/gst/tmpl/gstbasesink.sgml:
5827 * docs/gst/tmpl/gstbasesrc.sgml:
5828 * docs/gst/tmpl/gstbasetransform.sgml:
5829 * docs/gst/tmpl/gstbin.sgml:
5830 * docs/gst/tmpl/gstbuffer.sgml:
5831 * docs/gst/tmpl/gstcaps.sgml:
5832 * docs/gst/tmpl/gstclock.sgml:
5833 * docs/gst/tmpl/gstcompat.sgml:
5834 * docs/gst/tmpl/gstconfig.sgml:
5835 * docs/gst/tmpl/gstelement.sgml:
5836 * docs/gst/tmpl/gstelementdetails.sgml:
5837 * docs/gst/tmpl/gstelementfactory.sgml:
5838 * docs/gst/tmpl/gstenumtypes.sgml:
5839 * docs/gst/tmpl/gsterror.sgml:
5840 * docs/gst/tmpl/gstevent.sgml:
5841 * docs/gst/tmpl/gstfakesink.sgml:
5842 * docs/gst/tmpl/gstfakesrc.sgml:
5843 * docs/gst/tmpl/gstfilesink.sgml:
5844 * docs/gst/tmpl/gstfilesrc.sgml:
5845 * docs/gst/tmpl/gstfilter.sgml:
5846 * docs/gst/tmpl/gstformat.sgml:
5847 * docs/gst/tmpl/gstghostpad.sgml:
5848 * docs/gst/tmpl/gstimplementsinterface.sgml:
5849 * docs/gst/tmpl/gstindex.sgml:
5850 * docs/gst/tmpl/gstindexfactory.sgml:
5851 * docs/gst/tmpl/gstinfo.sgml:
5852 * docs/gst/tmpl/gstiterator.sgml:
5853 * docs/gst/tmpl/gstmacros.sgml:
5854 * docs/gst/tmpl/gstmemchunk.sgml:
5855 * docs/gst/tmpl/gstminiobject.sgml:
5856 * docs/gst/tmpl/gstobject.sgml:
5857 * docs/gst/tmpl/gstpad.sgml:
5858 * docs/gst/tmpl/gstpadtemplate.sgml:
5859 * docs/gst/tmpl/gstparse.sgml:
5860 * docs/gst/tmpl/gstpipeline.sgml:
5861 * docs/gst/tmpl/gstplugin.sgml:
5862 * docs/gst/tmpl/gstpluginfeature.sgml:
5863 * docs/gst/tmpl/gstquery.sgml:
5864 * docs/gst/tmpl/gstqueue.sgml:
5865 * docs/gst/tmpl/gstregistry.sgml:
5866 * docs/gst/tmpl/gstregistrypool.sgml:
5867 * docs/gst/tmpl/gstscheduler.sgml:
5868 * docs/gst/tmpl/gstschedulerfactory.sgml:
5869 * docs/gst/tmpl/gststructure.sgml:
5870 * docs/gst/tmpl/gstsystemclock.sgml:
5871 * docs/gst/tmpl/gsttaglist.sgml:
5872 * docs/gst/tmpl/gsttagsetter.sgml:
5873 * docs/gst/tmpl/gsttrace.sgml:
5874 * docs/gst/tmpl/gsttrashstack.sgml:
5875 * docs/gst/tmpl/gsttypefind.sgml:
5876 * docs/gst/tmpl/gsttypefindfactory.sgml:
5877 * docs/gst/tmpl/gsttypes.sgml:
5878 * docs/gst/tmpl/gsturihandler.sgml:
5879 * docs/gst/tmpl/gsturitype.sgml:
5880 * docs/gst/tmpl/gstutils.sgml:
5881 * docs/gst/tmpl/gstvalue.sgml:
5882 * docs/gst/tmpl/gstversion.sgml:
5883 * docs/gst/tmpl/gstxml.sgml:
5884 * docs/libs/tmpl/gstcontrol.sgml:
5885 * docs/libs/tmpl/gstdataprotocol.sgml:
5886 * docs/libs/tmpl/gstdparam.sgml:
5887 * docs/libs/tmpl/gstdplinint.sgml:
5888 * docs/libs/tmpl/gstdpman.sgml:
5889 * docs/libs/tmpl/gstdpsmooth.sgml:
5890 * docs/libs/tmpl/gstgetbits.sgml:
5891 * docs/libs/tmpl/gstunitconvert.sgml:
5892 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
5893 (gst_push_src_base_init), (gst_push_src_class_init),
5894 (gst_push_src_init), (gst_push_src_create):
5895 * gst/base/gstpushsrc.h:
5896 * gst/elements/gstelements.c:
5897 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
5898 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
5899 (gst_fake_sink_init), (gst_fake_sink_set_property),
5900 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
5901 (gst_fake_sink_event), (gst_fake_sink_preroll),
5902 (gst_fake_sink_render), (gst_fake_sink_change_state):
5903 * gst/elements/gstfakesink.h:
5904 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5905 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5906 (gst_fake_src_base_init), (gst_fake_src_class_init),
5907 (gst_fake_src_init), (gst_fake_src_event_handler),
5908 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
5909 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
5910 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
5911 (gst_fake_src_create_buffer), (gst_fake_src_create),
5912 (gst_fake_src_start), (gst_fake_src_stop):
5913 * gst/elements/gstfakesrc.h:
5914 * gst/elements/gstfilesink.c: (_do_init),
5915 (gst_file_sink_base_init), (gst_file_sink_class_init),
5916 (gst_file_sink_init), (gst_file_sink_dispose),
5917 (gst_file_sink_set_location), (gst_file_sink_set_property),
5918 (gst_file_sink_get_property), (gst_file_sink_open_file),
5919 (gst_file_sink_close_file), (gst_file_sink_query),
5920 (gst_file_sink_event), (gst_file_sink_render),
5921 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
5922 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
5923 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
5924 * gst/elements/gstfilesink.h:
5925 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
5926 (gst_file_src_class_init), (gst_file_src_init),
5927 (gst_file_src_finalize), (gst_file_src_set_location),
5928 (gst_file_src_set_property), (gst_file_src_get_property),
5929 (gst_file_src_map_region), (gst_file_src_map_small_region),
5930 (gst_file_src_create_mmap), (gst_file_src_create_read),
5931 (gst_file_src_create), (gst_file_src_is_seekable),
5932 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5933 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5934 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5935 (gst_file_src_uri_handler_init):
5936 * gst/elements/gstfilesrc.h:
5937 more autistic cleanliness in functions/names/defines
5939 2005-07-13 Andy Wingo <wingo@pobox.com>
5941 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5942 source couldn't negotiate.
5944 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5948 * gst/gstutils.c (gst_element_link_pads_filtered): New old
5949 function. I am channeling Hades. Put your boots on suckers!!!
5951 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5953 * testsuite/caps/Makefile.am:
5954 * testsuite/caps/value_compare.c:
5955 * testsuite/caps/value_intersect.c:
5956 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5957 move two testsuite apps over to the check dir
5959 2005-07-12 Wim Taymans <wim@fluendo.com>
5961 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5962 Added more debug info in the negotiate process.
5965 Prepare for segment playback.
5967 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5973 * tools/gst-launch.c: (main):
5974 NULL pipeline on errors.
5976 2005-07-12 Andy Wingo <wingo@pobox.com>
5978 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5979 not it comes from a malloc region. Make sure our copy gets freed.
5981 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5983 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5984 * check/gst/gstmessage.c: (GST_START_TEST):
5985 * check/gst/gststructure.c: (GST_START_TEST),
5986 (gst_structure_suite), (main):
5988 * gst/gstelement.c: (gst_element_message_full):
5989 clean up GError and debug string now that they get copied
5990 * gst/gstmessage.c: (gst_message_new_error),
5991 (gst_message_new_warning), (gst_message_parse_error),
5992 (gst_message_parse_warning):
5993 use GST_TYPE_G_ERROR for structure_new, and take copies of
5994 arguments, so that we don't mess up refcounting
5996 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5998 * check/Makefile.am:
5999 add per-test valgrind targets
6000 * check/gst-libs/gdp.c: (GST_START_TEST),
6001 (gst_data_protocol_suite), (main):
6004 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6006 * check/Makefile.am:
6007 instate more valgrindable tests
6008 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6009 (GST_START_TEST), (fakesrc_suite):
6010 * check/gst/gstpad.c: (GST_START_TEST):
6011 * check/gst/gststructure.c: (GST_START_TEST):
6013 * docs/gst/tmpl/gstminiobject.sgml:
6014 * gst/gstpad.c: (gst_pad_finalize):
6015 fix the static mutex leak
6017 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6019 * check/Makefile.am:
6020 add two more tests for valgrinding
6021 * check/gst/gstvalue.c: (GST_START_TEST):
6022 test refcount of deserialized buffer, found a leak
6023 * docs/gst/gstreamer-docs.sgml:
6024 * docs/gst/gstreamer-sections.txt:
6025 * docs/gst/gstreamer.types:
6026 * docs/gst/tmpl/gstminiobject.sgml:
6027 add miniobject to docs
6028 * gst/gstminiobject.c:
6030 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6031 (gst_string_unwrap):
6032 fix a hard-to-find invalid write for one of the tests
6033 fix a leak for deserialized buffers
6035 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6037 * docs/pwg/advanced-events.xml:
6038 * docs/pwg/advanced-request.xml:
6039 * docs/pwg/advanced-scheduling.xml:
6040 * docs/pwg/appendix-porting.xml:
6041 * docs/pwg/building-boiler.xml:
6042 * docs/pwg/intro-preface.xml:
6043 * docs/pwg/other-ntoone.xml:
6044 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6045 of example code and explanation for pad activation, loop() and
6046 getrange() functions and a bit more. Remove old comments pointing
6048 * examples/pwg/Makefile.am:
6049 Add loop/getrange examples.
6051 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6054 check for valgrind binary + some fixes
6056 valgrind suppressions for the tests
6057 * check/Makefile.am:
6058 add a valgrind: target that valgrinds the unit tests
6059 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6060 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6061 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6062 * check/gst/gstghostpad.c:
6064 * check/gst/gstdata.c:
6066 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6067 (thread_unref), (gst_mini_object_suite), (main):
6069 * gst/gst.c: (gst_deinit):
6071 add a method to clean up.
6072 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6073 (gst_system_clock_obtain):
6074 allow for disposing the system clock.
6075 * tools/gst-launch.c: (main):
6078 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6080 * docs/gst/tmpl/gstbasesrc.sgml:
6081 * docs/gst/tmpl/gstfakesrc.sgml:
6082 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6083 (gst_base_src_init), (gst_base_src_set_property),
6084 (gst_base_src_get_property), (gst_base_src_get_range),
6085 (gst_base_src_start):
6086 * gst/base/gstbasesrc.h:
6087 add num-buffers property
6088 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6089 (gst_fakesrc_init), (gst_fakesrc_set_property),
6090 (gst_fakesrc_get_property), (gst_fakesrc_create),
6091 (gst_fakesrc_start):
6092 remove num-buffers property
6094 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6096 * docs/gst/gstreamer-sections.txt:
6097 * docs/gst/tmpl/gstbasesink.sgml:
6098 * docs/gst/tmpl/gstbasesrc.sgml:
6099 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6100 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6101 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6102 (gst_base_sink_set_property), (gst_base_sink_get_property),
6103 (gst_base_sink_handle_object), (gst_base_sink_event),
6104 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6105 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6106 (gst_base_sink_loop), (gst_base_sink_deactivate),
6107 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6108 (gst_base_sink_change_state):
6109 * gst/base/gstbasesink.h:
6110 * gst/base/gstbasesrc.h:
6111 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6112 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6113 (gst_filesink_init):
6114 more macro splitting
6116 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6118 * gst/gstelement.c: (gst_element_get_bus):
6120 * tools/gst-launch.c: (check_intr), (event_loop):
6123 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6125 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6128 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6130 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6131 (gst_base_src_finalize):
6132 add finalize method and clean up properly
6133 * gst/gstpipeline.c: (gst_pipeline_dispose):
6136 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6138 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6140 add more things to check
6141 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6145 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6147 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6148 (GST_START_TEST), (fakesrc_suite):
6149 * check/gst-libs/gdp.c: (GST_START_TEST):
6150 * check/gst/gst.c: (GST_START_TEST):
6151 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6152 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6153 * check/gst/gstbus.c: (GST_START_TEST):
6154 * check/gst/gstcaps.c: (GST_START_TEST):
6155 * check/gst/gstdata.c: (GST_START_TEST):
6156 * check/gst/gstelement.c: (GST_START_TEST):
6157 * check/gst/gstghostpad.c: (GST_START_TEST):
6158 * check/gst/gstiterator.c: (GST_START_TEST):
6159 * check/gst/gstmessage.c: (GST_START_TEST):
6160 * check/gst/gstobject.c: (GST_START_TEST):
6161 * check/gst/gstpad.c: (GST_START_TEST):
6162 * check/gst/gststructure.c: (GST_START_TEST):
6163 * check/gst/gstsystemclock.c: (GST_START_TEST),
6164 (gst_systemclock_suite):
6165 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6166 * check/gst/gstvalue.c: (GST_START_TEST):
6167 * check/pipelines/cleanup.c: (GST_START_TEST):
6168 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6169 * check/states/sinks.c: (GST_START_TEST):
6170 * check/gstcheck.c: (gst_check_init):
6172 add debugging category
6173 use GST_START_TEST now, so we add a debug line
6175 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6177 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6178 add test for state change message on a bin
6179 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6181 * gst/gstbin.c: (gst_bin_init):
6182 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6183 * gst/gstelement.c: (gst_element_post_message),
6184 (gst_element_set_state):
6185 * gst/gstelementfactory.c: (gst_element_factory_create):
6186 * gst/gstmessage.c: (gst_message_new):
6187 * gst/gstscheduler.c:
6188 various debugging additions and cleanups
6190 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6192 * check/Makefile.am:
6193 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6195 adding tests for elements
6196 * gst/gstelement.c: (gst_element_dispose):
6198 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6200 * gst/registries/gstlibxmlregistry.c: (load_feature):
6201 plug more leaks. A simple gst_init() now is leakfree, yay.
6203 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6205 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6206 (gst_xml_registry_load):
6207 plug another memleak
6209 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6212 use GST_SET_ERROR_CFLAGS
6214 change to ERROR_CFLAGS
6216 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6219 make GST_ERROR_CFLAGS overridable and re-enable Werror
6221 add a note about error CFLAGS
6222 * docs/gst/tmpl/gstfakesrc.sgml:
6223 * gst/elements/gstfakesrc.c:
6224 comment out some unused code
6225 * gst/gst.c: (split_and_iterate):
6226 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6230 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6232 * common/Makefile.am:
6233 * common/gtk-doc.mak:
6234 * docs/gst/Makefile.am:
6235 factor out gtk-doc.mak
6237 2005-07-07 Wim Taymans <wim@fluendo.com>
6239 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6240 (gst_thread_scheduler_dispose):
6241 Unlock the STREAM_LOCK completely.
6243 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6245 * check/Makefile.am:
6246 * check/elements/.cvsignore:
6247 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6248 (START_TEST), (fakesrc_suite), (main):
6249 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6250 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6251 (gst_fakesrc_create), (gst_fakesrc_start):
6252 * gst/elements/gstfakesrc.h:
6253 adding a first element test
6255 2005-07-07 Andy Wingo <wingo@pobox.com>
6257 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6260 2005-07-07 Wim Taymans <wim@fluendo.com>
6266 2005-07-07 Wim Taymans <wim@fluendo.com>
6268 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6269 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6270 Allow subclasses to implement their own negotiation.
6272 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6274 * docs/design/part-gstbin.txt:
6275 * docs/design/part-gstpipeline.txt:
6276 Update design notes to reflect the movement of
6277 responsibility for bus handling from GstPipeline to
6280 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6283 Remove unnecessary queue2/3/4 examples.
6285 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6287 * examples/Makefile.am:
6288 * examples/helloworld/helloworld.c: (event_loop), (main):
6289 * examples/queue/queue.c: (event_loop), (main):
6290 * examples/queue2/queue2.c: (main):
6291 Update a couple of the examples to work again.
6293 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6294 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6295 Spelling corrections and extra debug.
6297 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6298 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6299 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6301 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6302 (gst_pipeline_change_state):
6303 * gst/gstpipeline.h:
6304 Move the bus handler for children to the GstBin, and create a
6305 separate bus for receiving messages from children to the one the
6306 bus sends 'upwards' on.
6308 2005-07-06 Wim Taymans <wim@fluendo.com>
6311 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6312 (gst_base_sink_handle_object), (gst_base_sink_loop),
6313 (gst_base_sink_change_state):
6314 * gst/base/gstbasesink.h:
6315 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6316 (gst_base_src_init), (gst_base_src_setcaps),
6317 (gst_base_src_getcaps), (gst_base_src_loop),
6318 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6319 (gst_base_src_start), (gst_base_src_change_state):
6320 * gst/base/gstbasesrc.h:
6321 Make basesrc negotiate.
6322 Handle the case where preroll fails in basesink.
6325 2005-07-06 Wim Taymans <wim@fluendo.com>
6327 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6328 Implement the fixate function.
6329 Clean up acceptcaps.
6331 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6333 * docs/pwg/building-filterfactory.xml:
6335 Remove never-written filter-factory chapter; I'll add the various
6336 base classes to part 4 ("other element types") later on.
6338 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6340 * docs/pwg/advanced-negotiation.xml:
6341 * docs/pwg/building-boiler.xml:
6342 * docs/pwg/building-pads.xml:
6344 * examples/pwg/Makefile.am:
6345 Add a chapter on caps negotiation, simplify the original code
6346 samples a bit w.r.t. caps negotiation, add link to the advanced
6347 section. Add a bunch of examples showing different use cases of
6348 different types of caps negotiation. Upstream renegotiation isn't
6349 fully documented yet since nobody knows how that works.
6351 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6353 * check/gst/gstpad.c:
6355 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6356 if pad has no parent, return NULL as list of internal links
6358 2005-07-05 Andy Wingo <wingo@pobox.com>
6360 * gst/elements/gstfilesrc.c:
6361 * gst/elements/gstfakesrc.c:
6362 * gst/base/gstpushsrc.c:
6363 * gst/base/gstbasesrc.h:
6364 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6366 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6369 better report generation target (lcov needs a patch)
6371 2005-07-05 Andy Wingo <wingo@pobox.com>
6373 * gst/elements, testsuite: Null if we got it...
6375 2005-07-05 Wim Taymans <wim@fluendo.com>
6378 * libs/gst/dataprotocol/Makefile.am:
6379 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6380 * libs/gst/dataprotocol/dataprotocol.h:
6381 * pkgconfig/Makefile.am:
6382 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6383 * pkgconfig/gstreamer-dataprotocol.pc.in:
6384 Ported dataprotol to 0.9.
6385 Added pkgconfig files.
6387 2005-07-05 Andy Wingo <wingo@pobox.com>
6389 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6390 Default to returning TRUE for the case when tranform_caps returns
6391 a fixed caps, like for identity or volume.
6393 * check/gst/gstbus.c (pound_bus_with_messages):
6394 * check/gst/gstmessage.c (START_TEST):
6395 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6398 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6399 logic weaks here: always run transform_caps, trying passthrough
6400 operation only if the original caps intersects with the transform.
6402 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6403 source and sink caps.
6405 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6406 Intersect the peer caps with the pad template before going into
6408 (gst_base_transform_transform_caps): More debugging.
6410 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6413 2005-07-04 Edward Hervey <edward@fluendo.com>
6417 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6420 2005-07-04 Andy Wingo <wingo@pobox.com>
6422 * check/gst/gstpad.c: Only set explicit caps on pads.
6424 2005-07-01 Andy Wingo <wingo@pobox.com>
6426 * tests/network-clock.scm: Commentary update.
6428 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6429 Didn't really make sense, not implementable with basetransform,
6431 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6432 attempt at implementing the sync property, needs an unlock method.
6434 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6435 New func, by default returns the same caps (the identity
6437 (gst_base_transform_getcaps): Uses transform_caps to return
6439 (gst_base_transform_setcaps): Complicated logic to get caps on
6440 both pads, even if they are different, and to call set_caps once
6441 for every time both pads get their caps set.
6442 (gst_base_transform_handle_buffer): Give the ref to the transform
6443 function. Allows in-place modification of the buffer.
6445 * gst/base/gstbasetransform.h (transform_caps): New class method.
6446 Given caps on one side, what can I do on the other.
6447 (set_caps): Take two caps, one for each side of the element.
6450 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6451 caps in place. This is safe because we can check the mutability of
6452 the caps, and a good idea because fixate functions are just called
6453 as a matter of last resort. (Not actually implemented.)
6454 (gst_pad_set_caps): If the caps we're setting is actually the same
6455 as the existing pad caps, just update the pointer without calling
6456 setcaps. Assert that caps is either NULL or fixed, as per the
6459 * gst/gstghostpad.c: Update for fixate changes.
6461 2005-07-02 Andy Wingo <wingo@pobox.com>
6464 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6465 two refcounts makes it immutable, which is enough. Doc more.
6467 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6469 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6470 Put the mini_object into GValue as a mini_object,
6471 not a gpointer, since that's how we declared
6474 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6476 * examples/pwg/Makefile.am:
6479 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6481 * docs/pwg/building-testapp.xml:
6483 * examples/pwg/Makefile.am:
6486 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6489 * examples/Makefile.am:
6490 * examples/pwg/Makefile.am:
6491 * examples/pwg/extract.pl:
6492 Enable building the PWG examples.
6493 * docs/pwg/advanced-interfaces.xml:
6494 Add URI interface stub.
6495 * docs/pwg/advanced-types.xml:
6496 * docs/pwg/other-autoplugger.xml:
6497 * docs/pwg/appendix-porting.xml:
6499 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6500 * docs/pwg/building-boiler.xml:
6501 * docs/pwg/building-chainfn.xml:
6502 * docs/pwg/building-pads.xml:
6503 * docs/pwg/building-props.xml:
6504 * docs/pwg/building-state.xml:
6505 * docs/pwg/building-testapp.xml:
6506 Update the building-*.xml parts for 0.9 changes. All examples
6507 code blocks compile in examples/pwg/*.
6509 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6511 * docs/manual/advanced-autoplugging.xml:
6512 * docs/manual/appendix-checklist.xml:
6513 * docs/manual/appendix-integration.xml:
6514 * docs/manual/highlevel-components.xml:
6515 Fix playbin/decodebin examples, update docs a bit, mention bus
6516 instead of signals in various places, mention kmplayer and
6517 kaffeine since they have a working GStreamer backend in the KDE
6520 2005-06-30 Wim Taymans <wim@fluendo.com>
6523 * docs/design/draft-ghostpads.txt:
6524 * docs/design/draft-push-pull.txt:
6525 * docs/design/draft-query.txt:
6526 * docs/design/part-TODO.txt:
6527 * docs/design/part-query.txt:
6528 Added CHANGES-0.9 doc, updated status of other docs.
6533 2005-06-30 Wim Taymans <wim@fluendo.com>
6535 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6536 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6537 (gst_base_sink_change_state):
6538 * gst/base/gstbasesink.h:
6539 Some tweaks, only EOS and a buffer complete a preroll.
6541 2005-06-30 Andy Wingo <wingo@pobox.com>
6543 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
6544 activate_push down to the internal pad as well.
6546 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
6548 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6550 * gst/gsttaginterface.c:
6551 Some documentation fixes (#307394 and #307397).
6553 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
6555 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6557 * gst/gstvalue.c: (gst_value_intersect_list):
6558 Fix memleak (#309125).
6560 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6562 * docs/manual/advanced-dataaccess.xml:
6563 Fix fakesrc example to compile; doesn't work, bug somewhere...?
6564 * docs/manual/basics-pads.xml:
6565 Add reference for filtered caps to above chapter.
6567 2005-06-30 Wim Taymans <wim@fluendo.com>
6569 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
6570 (gst_bin_change_state):
6572 Lame attempt at making the state change function a bit
6575 2005-06-30 Wim Taymans <wim@fluendo.com>
6577 * docs/design/part-clocks.txt:
6578 * docs/design/part-element-sink.txt:
6579 * docs/design/part-events.txt:
6580 * docs/design/part-preroll.txt:
6581 * docs/design/part-states.txt:
6582 Some more tweeks and additions to the docs.
6584 2005-06-30 Wim Taymans <wim@fluendo.com>
6586 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6587 (default_have_data), (gst_pad_class_init), (gst_pad_init),
6588 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6589 (gst_pad_check_pull_range), (gst_pad_get_range),
6590 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
6592 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
6593 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6594 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6595 (gst_pad_remove_buffer_probe):
6596 Removed atomic operations, use existing LOCK.
6597 Move exception handling out of main code path.
6599 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6601 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6602 (silly_return_true_function), (gst_pad_class_init),
6603 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6604 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6605 (gst_pad_send_event):
6606 Fix accumulator, add default value by using _emitv() instead
6607 of _emit() for signal emission.
6609 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6611 * docs/manual/advanced-dataaccess.xml:
6612 * examples/manual/Makefile.am:
6614 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6617 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6619 * gst/elements/gstfilesink.c: (gst_filesink_render):
6620 Simplify code so that we don't have to handle short
6621 writes and return GST_FLOW_ERROR if an error occured.
6623 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6625 * docs/gst/gstreamer-docs.sgml:
6628 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6630 * docs/gst/gstreamer-sections.txt:
6631 * docs/gst/tmpl/gstpad.sgml:
6632 * docs/gst/tmpl/gstprobe.sgml:
6634 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6635 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6636 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6637 (gst_pad_push_event), (gst_pad_send_event):
6639 * gst/gstutils.c: (gst_pad_add_data_probe),
6640 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6641 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6642 (gst_pad_remove_buffer_probe):
6644 Remove old probes, add new g-signal-based probes and some utility
6647 2005-06-29 Edward Hervey <edward@fluendo.com>
6649 * gst/gstelementfactory.c:
6652 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6653 the definition to the header file.
6655 2005-06-29 Andy Wingo <wingo@pobox.com>
6657 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6658 plugins from the source directory.
6660 2005-06-29 Wim Taymans <wim@fluendo.com>
6662 * docs/gst/tmpl/gstbuffer.sgml:
6663 * docs/gst/tmpl/gstclock.sgml:
6664 Some fixings for blantently wrong text.
6666 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6668 * check/Makefile.am:
6669 * gst/gst.c: (add_path_func), (init_pre):
6670 * gst/gstregistry.c: (gst_registry_add_path):
6671 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6672 only scan the GST_PLUGIN_PATH locations, and not add
6675 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6677 * docs/gst/gstreamer-sections.txt:
6678 * docs/gst/tmpl/gstbasesrc.sgml:
6685 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6687 * docs/manual/advanced-autoplugging.xml:
6688 Fix autoplugging example.
6690 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6692 * docs/manual/advanced-autoplugging.xml:
6693 * docs/manual/mime-world.fig:
6694 Try to get autoplugging working, fix type detection. Fix text
6695 in hello-world image.
6697 2005-06-29 Wim Taymans <wim@fluendo.com>
6699 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6700 (gst_base_sink_change_state):
6704 map SIGNAL and BROADCAST to the right function.
6707 Remove redundant braces.
6709 * gst/gstpad.c: (gst_pad_set_caps):
6710 Don't call setcaps function when reseting caps to NULL.
6712 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6713 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
6714 (gst_system_clock_id_unschedule):
6715 Use BROADCAST as this is what we do.
6717 2005-06-29 Wim Taymans <wim@fluendo.com>
6719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6720 We are actually prerolling before commiting the state
6723 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6725 * docs/manual/advanced-clocks.xml:
6726 * docs/manual/advanced-interfaces.xml:
6727 * docs/manual/advanced-metadata.xml:
6728 * docs/manual/advanced-position.xml:
6729 * docs/manual/advanced-schedulers.xml:
6730 * docs/manual/advanced-threads.xml:
6731 * docs/manual/appendix-porting.xml:
6732 * docs/manual/basics-bins.xml:
6733 * docs/manual/basics-bus.xml:
6734 * docs/manual/basics-elements.xml:
6735 * docs/manual/basics-helloworld.xml:
6736 * docs/manual/basics-pads.xml:
6737 * docs/manual/highlevel-components.xml:
6738 * docs/manual/manual.xml:
6739 * docs/manual/thread.fig:
6740 Update (until threads/scheduling) Application Development Manual;
6741 remove GstThread, add GstBus, add simple porting checklist, add
6742 documentation for tag writing, clocks, make all examples until this
6743 part compile and run.
6744 * examples/manual/Makefile.am:
6745 Update from changes to Application Development Manual; add bus
6746 example, remove thread example.
6748 2005-06-28 Wim Taymans <wim@fluendo.com>
6750 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
6751 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
6752 (gst_bus_source_dispatch):
6753 Add debugging messages.
6754 Make internal methods static.
6755 Handle the case where the bus is flushed in the handler.
6757 * gst/gstelement.c: (gst_element_get_bus):
6758 Fix refcount in _get_bus();
6760 * gst/gstpipeline.c: (gst_pipeline_change_state),
6761 (gst_pipeline_get_clock_func):
6762 Clock refcounting fixes.
6763 Handle the case where preroll timed out more gracefully.
6765 * gst/gstsystemclock.c: (gst_system_clock_dispose):
6766 Clean up the internal thread in dispose. This is needed
6767 for subclasses that actually get disposed.
6769 * gst/schedulers/threadscheduler.c:
6770 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6771 (gst_thread_scheduler_dispose):
6772 Free thread pool in dispose.
6774 2005-06-28 Andy Wingo <wingo@pobox.com>
6776 * tests/network-clock-utils.scm (debug, print-event): New utils.
6778 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
6779 (*packet-loss*): Unified loss probability.
6780 (network-time): Report out-of-band events.
6782 * tests/plot-data: Add support for out-of-band events. Hack it
6783 into this script instead of passing it down the pipe; should fix
6786 2005-06-28 Wim Taymans <wim@fluendo.com>
6788 * docs/gst/gstreamer.types:
6789 * docs/gst/tmpl/gstbasesrc.sgml:
6790 * docs/gst/tmpl/gstpad.sgml:
6793 2005-06-28 Wim Taymans <wim@fluendo.com>
6795 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6796 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6797 (gst_proxy_pad_do_fixatecaps):
6798 Correctly proxy the check_pull_range function.
6800 2005-06-28 Andy Wingo <wingo@pobox.com>
6802 * tests/network-clock.scm: Removed need for slib.
6804 2005-06-28 Wim Taymans <wim@fluendo.com>
6806 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6807 (gst_basesink_preroll_queue_flush):
6808 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6809 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6810 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6811 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6812 (gst_proxy_pad_set_property):
6815 * gst/gstqueue.c: (gst_queue_init):
6816 The deprecated pad loop function is removed now.
6818 2005-06-28 Andy Wingo <wingo@pobox.com>
6820 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6821 New parameters, simulate network packet loss.
6823 * tests/network-clock-utils.scm: Initialize the RNG.
6825 2005-06-28 Wim Taymans <wim@fluendo.com>
6827 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6828 (gst_basesink_event), (gst_basesink_deactivate):
6829 Flushing the preroll queue always needs to unlock the waiters.
6831 2005-06-28 Edward Hervey <edward@fluendo.com>
6833 * gst/gstpipeline.c: (gst_pipeline_send_event):
6834 Wheen a seek was successful on a pipeline, set the stream_time to the
6835 seek offset in order to have a synchronized stream_time.
6837 2005-06-28 Wim Taymans <wim@fluendo.com>
6839 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6840 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6841 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
6842 (gst_proxy_pad_do_fixatecaps):
6843 Call wrapper function instead of just calling the function
6844 pointers. This takes care of any locking and whatmore.
6846 2005-06-28 Wim Taymans <wim@fluendo.com>
6848 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
6849 (gst_pad_pull_range):
6851 CONNECTED -> LINKED.
6853 2005-06-28 Andy Wingo <wingo@pobox.com>
6855 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
6856 source-munging commit!!!
6858 * gst/gstobject.c (gst_object_unref, gst_object_ref)
6859 (gst_object_sink): Take gpointer arguments, not GstObject --
6860 avoids casts. Like GLib.
6862 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
6865 2005-06-27 Andy Wingo <wingo@pobox.com>
6867 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
6870 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
6871 returns a sorted copy of the trace list.
6872 (gst_alloc_trace_print_live): New API, only prints traces with
6873 live objects. Sort the list.
6874 (gst_alloc_trace_print_all): Sort the list.
6875 (gst_alloc_trace_print): Align columns.
6877 * gst/elements/gstttypefindelement.c:
6878 * gst/elements/gsttee.c:
6879 * gst/base/gstbasesrc.c:
6880 * gst/base/gstbasesink.c:
6881 * gst/base/gstbasetransform.c:
6882 * gst/gstqueue.c: Adapt for pad activation changes.
6884 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
6886 (gst_pipeline_dispose): Drop ref on sched.
6888 * gst/gstpad.c (gst_pad_init): Set the default activate func.
6889 (gst_pad_activate_default): Push mode by default.
6890 (pre_activate_switch, post_activate_switch): New stubs, things to
6891 do before and after switching activation modes on pads.
6892 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
6893 the pad's activate function to choose which mode to activate.
6894 Shortcut on deactivation and call the right function directly.
6895 (gst_pad_activate_pull): New API, (de)activates a pad in pull
6897 (gst_pad_activate_push): New API, same for push mode.
6898 (gst_pad_set_activate_function)
6899 (gst_pad_set_activatepull_function)
6900 (gst_pad_set_activatepush_function): Setters for new API.
6902 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
6903 Trace all miniobjects.
6904 (gst_mini_object_make_writable): Unref the arg if we copy, like
6905 gst_caps_make_writable.
6907 * gst/gstmessage.c (_gst_message_initialize): No trace init.
6909 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
6910 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
6911 Adapt for new pad API.
6913 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
6916 * gst/gstelement.c (gst_element_iterate_src_pads)
6917 (gst_element_iterate_sink_pads): New API functions.
6919 * gst/gstelement.c (iterator_fold_with_resync): New utility,
6920 should fold into gstiterator.c in some form.
6921 (gst_element_pads_activate): Simplified via use of fold and
6922 delegation of decisions to gstpad->activate.
6924 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
6927 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6928 class once in init, like gstmessage. Didn't run into this issue
6929 but it seems correct. Don't initialize a trace, gstminiobject does
6932 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6933 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6935 (assert_live_count): New util function, uses alloc traces to check
6938 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6939 To be modified when unlink drops the internal pad.
6941 2005-06-27 Wim Taymans <wim@fluendo.com>
6943 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6944 (gst_bin_change_state):
6945 Cleanup the get_state() function a little, make sure it
6946 iterates the same set of elements.
6947 Added stub iterate_state_order().
6949 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
6951 * docs/gst/gstreamer-docs.sgml:
6952 * docs/gst/gstreamer-sections.txt:
6953 * docs/gst/gstreamer.types:
6954 * docs/gst/tmpl/gstbasesink.sgml:
6955 * docs/gst/tmpl/gstbasesrc.sgml:
6956 * docs/gst/tmpl/gstbasetransform.sgml:
6957 * docs/gst/tmpl/gstelement.sgml:
6958 * docs/gst/tmpl/gstiterator.sgml:
6959 * gst/base/gstbasesrc.c:
6960 * gst/base/gstbasesrc.h:
6961 * gst/base/gstbasetransform.h:
6963 * gst/gstiterator.h:
6964 adding basetransform and iterator docs
6966 2005-06-27 Andy Wingo <wingo@pobox.com>
6968 * docs/design/part-activation.txt: Notes on how activation should
6969 work -- not quite implemented yet.
6971 2005-06-25 Wim Taymans <wim@fluendo.com>
6973 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6974 At least get the chain function correct, needs more
6977 2005-06-25 Wim Taymans <wim@fluendo.com>
6979 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6980 (gst_basesink_handle_object), (gst_basesink_event),
6981 (gst_basesink_do_sync), (gst_basesink_handle_event),
6982 (gst_basesink_change_state):
6984 Right, two problems here: ghostpads don't take locks and
6985 glib _rec_mutex_lock_full() with depth==0 still locks.
6986 Catch illegal locking and g_warn them.
6988 2005-06-25 Wim Taymans <wim@fluendo.com>
6990 * check/states/sinks.c: (START_TEST), (gst_object_suite):
6991 Have to check for completion now...
6993 2005-06-25 Wim Taymans <wim@fluendo.com>
6995 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6996 (gst_basesink_handle_object), (gst_basesink_event),
6997 (gst_basesink_do_sync), (gst_basesink_handle_event),
6998 (gst_basesink_change_state):
7000 Unlock STREAM_LOCK whatever the recursion was.
7002 2005-06-25 Wim Taymans <wim@fluendo.com>
7004 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7005 (gst_basesink_preroll_queue_empty),
7006 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7007 (gst_basesink_event), (gst_basesink_do_sync),
7008 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7009 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7010 (gst_basesink_change_state):
7011 Reworked the base sink, handle event and buffer serialisation
7012 correctly and removed possible deadlock.
7013 Handle EOS correctly.
7015 2005-06-25 Wim Taymans <wim@fluendo.com>
7017 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7018 (gst_pipeline_change_state):
7019 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7020 Allow elements to post EOS in the state change function.
7021 Fix up -launch, make it exit the poll loop when the
7022 pipeline actually changed state.
7023 Fix up warning parsing in -launch.
7025 2005-06-25 Wim Taymans <wim@fluendo.com>
7027 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7028 (gst_tee_sink_activate):
7029 Core takes STREAM_LOCK for us now.
7031 2005-06-25 Wim Taymans <wim@fluendo.com>
7033 * gst/gstelement.c: (gst_element_get_state_func),
7034 (gst_element_set_state):
7036 * gst/gstmessage.c: (gst_message_parse_error),
7037 (gst_message_parse_warning):
7038 Keep track of current target state while performing a state
7039 change so that subclasses can do something interesting.
7040 Fix parsing of warning/error messages when GError is NULL.
7042 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7044 * docs/gst/Makefile.am:
7045 * docs/gst/gstreamer-docs.sgml:
7046 * docs/gst/gstreamer-sections.txt:
7047 * docs/gst/gstreamer.types:
7048 * docs/gst/tmpl/gstbasesink.sgml:
7049 * docs/gst/tmpl/gstbasesrc.sgml:
7050 * docs/gst/tmpl/gstbin.sgml:
7051 * docs/gst/tmpl/gstcompat.sgml:
7052 * docs/gst/tmpl/gstfakesink.sgml:
7053 * docs/gst/tmpl/gstfakesrc.sgml:
7054 * docs/gst/tmpl/gstfilesink.sgml:
7055 * docs/gst/tmpl/gstfilesrc.sgml:
7056 * docs/gst/tmpl/gstindex.sgml:
7057 * docs/manual/appendix-quotes.xml:
7058 * gst/base/gstbasesrc.h:
7059 * gst/elements/gstfakesrc.h:
7061 start pulling in base classes and elements in our docs
7063 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7065 * docs/gst/Makefile.am:
7066 * docs/libs/Makefile.am:
7067 fixed make distcheck with gtk-doc 1.3
7069 2005-06-23 Wim Taymans <wim@fluendo.com>
7071 * gst/gstelement.c: (gst_element_get_state_func),
7072 (gst_element_set_state), (gst_element_change_state):
7073 When the state did not change, also report NO_PREROLL
7076 2005-06-23 Wim Taymans <wim@fluendo.com>
7078 * gst/gstpad.c: (gst_pad_event_default):
7079 * gst/gstqueue.c: (gst_queue_loop):
7080 No unsafe task pausing please.
7082 2005-06-23 Wim Taymans <wim@fluendo.com>
7084 * gst/schedulers/threadscheduler.c:
7085 (gst_thread_scheduler_task_start),
7086 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7087 Ref the task before pushing it on the threadpool. This
7088 makes sure that we have a ref when the threadfunction is
7091 2005-06-23 Andy Wingo <wingo@pobox.com>
7093 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7094 offset is greater than the file's size.
7096 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7097 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7098 * gst/gstobject.c (gst_object_class_init): Make the class lock
7099 recursive. Wim won't let me drop deep_notify. Decodebin works
7102 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7103 internal pad, and hacks accordingly. Doesn't do it on the target
7104 pad because we change its caps. Probably catches all cases of
7106 (gst_ghost_pad_set_property): Connect to notify::caps as
7109 * tests/network-clock.scm (plot-simulation): Pipe data to the
7110 elite python skript.
7112 * tests/network-clock-utils.scm (define-parameter): New macro,
7113 defines a parameter that can be set via the command line.
7114 (set-parameter!, parse-parameter-arguments): Command line args
7117 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7120 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7122 * gst/elements/gsttypefindelement.c:
7123 (gst_type_find_element_handle_event):
7124 Don't restart typefinding on a discont.
7125 * gst/gstelement.c: (gst_element_set_state):
7127 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7128 Allow changing mode of an active pad.
7130 * gst/registries/gstlibxmlregistry.c: (load_feature):
7131 Don't cast a static pad template to a normal pad template.
7133 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7135 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7136 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7137 remove gst_strtoll completely, since it didn't actually do
7138 anything more than what g_ascii_strtoull already does.
7139 check for range errors when deserializing
7140 do a cast for the unsigned cases; but further fixing needs
7141 a decision on what the interpretation of "(int)" and
7142 deserialization should be for values that fall outside the
7143 type's boundaries (ie, refuse, or interpret as casting)
7145 2005-06-23 Wim Taymans <wim@fluendo.com>
7147 * check/Makefile.am:
7148 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7149 * docs/design/part-live-source.txt:
7150 * docs/design/part-states.txt:
7151 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7152 (gst_basesrc_set_live), (gst_basesrc_is_live),
7153 (gst_basesrc_get_range), (gst_basesrc_activate),
7154 (gst_basesrc_change_state):
7155 * gst/base/gstbasesrc.h:
7156 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7157 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7158 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7159 * gst/gstelement.c: (gst_element_get_state_func),
7160 (gst_element_set_state):
7163 * tools/gst-launch.c: (event_loop), (main):
7164 Added support for live sources and other elements that
7166 Updated design docs, added live-source design doc.
7167 Implemented live source functionality in basesrc
7168 Fix error condition in _bin_get_state()
7169 Implement live source handling in -launch.
7170 Added check for live sources.
7171 Fixed case in GstBin where elements were changed state
7175 2005-06-23 Andy Wingo <wingo@pobox.com>
7177 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7180 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7181 gst_caps_replace takes care of this for us.
7183 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7184 gst_pad_set_caps on the target, not just its setcaps() function.
7186 * tests/network-clock.scm:
7187 * tests/network-clock-utils.scm: A network clock simulator.
7188 Something of an algorithmic testbed before doing something in C.
7190 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7192 * check/Makefile.am:
7193 * check/gst/capslist.h:
7194 copy over from 0.8, and add two with bitmasks specified with
7196 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7197 add test to parse everything from capslist.h
7198 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7200 add test for structure deserialization
7201 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7202 add tests for deserialization of strings to int types
7203 * gst/gststructure.c: (gst_structure_nth_field_name):
7204 * gst/gststructure.h:
7205 add a way to get the name of a field referenced by index
7206 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7207 instead of checking if the resulting long long lies between
7208 min and max, we check if the long long would fit into
7209 a number of bytes for the final type.
7210 This fixes cases where a string represents 2^32 - 1, which
7211 when cast to int would be the (valid) -1, but is bigger than
7214 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7216 * gst/parse/grammar.y:
7217 add a log line for type deserialization
7219 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7221 * check/gst/gstvalue.c: (START_TEST):
7222 * gst/gstvalue.c: (gst_value_deserialize):
7223 return long long, not int, so gint64 deserialization actually
7224 works. Is there any flag that makes the compiler check this ?
7227 2005-06-22 Wim Taymans <wim@fluendo.com>
7230 Added convenience macros for setting buffers in GValue.
7232 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7234 * check/gst/.cvsignore:
7235 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7236 add a test deserializing int64, and comment part out because
7239 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7241 * check/Makefile.am:
7242 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7243 * testsuite/Makefile.am:
7244 * testsuite/caps/Makefile.am:
7245 * testsuite/caps/value_serialize.c:
7246 * testsuite/test_gst_init.c:
7247 move a value_serialize test over
7249 2005-06-20 Wim Taymans <wim@fluendo.com>
7254 * gst/gstvalue.c: (gst_value_compare_buffer),
7255 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7256 (gst_value_compare_flags), (gst_value_serialize_flags),
7257 (gst_value_deserialize_flags), (_gst_value_initialize):
7258 Fix serialisation of buffers, they are not boxed types anymore
7260 2005-06-20 Wim Taymans <wim@fluendo.com>
7262 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7263 Testcase to show error in buffer-on-caps serialisation.
7265 2005-06-20 Andy Wingo <wingo@pobox.com>
7267 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7268 will be adding to later.
7270 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7271 if its socks fill with rocks.
7272 (gst_system_clock_obtain): Set the name on object construction.
7273 Avoid double-checked locking.
7275 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7277 * gst/gsturi.c: (gst_element_make_from_uri):
7278 Fix potential endless loop.
7280 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7282 * check/Makefile.am:
7284 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7286 move over from testsuite dir and clean up
7289 * testsuite/Makefile.am:
7290 * testsuite/tags/.cvsignore:
7291 * testsuite/tags/Makefile.am:
7292 * testsuite/tags/merge.c:
7293 remove testsuite/tags
7295 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7297 * docs/gst/gstreamer-sections.txt:
7298 * docs/gst/tmpl/gstenumtypes.sgml:
7299 * win32/gstenumtypes.c:
7300 clean up documentation build a little
7302 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7305 add macros for checking refcounts on objects and caps
7306 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7307 add some more unit tests
7308 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7309 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7310 fix leaked refcounts (I hope :)) so unittest works
7314 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7316 * configure.ac: back to HEAD
7318 === release 0.9.1 ===
7320 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7326 2005-06-17 Andy Wingo <wingo@pobox.com>
7328 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7329 assert; it's always possible that the pad gets deactivated in
7330 between the checks in gstpad.c and the implementation. Rely on
7331 finish_preroll() to return a FLUSHING or similar instead of on the
7334 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7335 clock and post an EOS message if we come out of finish_preroll in
7338 2005-06-16 David Schleef <ds@schleef.org>
7340 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7341 (gst_capsfilter_set_property): Allow NULL as possible value
7342 for filter_caps property, indicating GST_CAPS_ANY.
7344 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7346 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7348 * gst/schedulers/Makefile.am:
7350 * gstreamer.spec.in:
7353 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7355 * gstreamer.spec.in:
7358 2005-06-08 Andy Wingo <wingo@pobox.com>
7360 * gst/gstutils.c: RPAD fixes all around.
7361 (gst_element_link_pads): Refcounting fixes.
7363 * tools/gst-inspect.c:
7364 * tools/gst-xmlinspect.c:
7366 * gst/base/gsttypefindhelper.c:
7367 * gst/base/gstbasesink.c:
7368 * gst/gstqueue.c: RPAD fixes.
7370 * gst/gstghostpad.h:
7371 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7372 pads. The tricky thing is they provide both source and sink
7373 interfaces, since they proxy the internal pad for the external
7374 pad, and vice versa. Implement with lower-level ProxyPad objects,
7375 with the interior proxy pad as a child of the exterior ghost pad.
7376 Should write a doc on this.
7378 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7379 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7382 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7383 pads are real pads. No ghost pads in this file. Not documenting
7384 the myriad s/RPAD/PAD/ and REALIZE fixes.
7385 (gst_pad_class_init): Add properties for "direction" and
7386 "template". Both are construct-only, so they can't change during
7387 the life of the pad. Fixes properly deriving from GstPad.
7388 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7389 derived objects, just set properties when creating the objects via
7391 (gst_pad_get_parent): Implement as a function, return NULL if the
7392 parent is not an element.
7393 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7394 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7396 * gst/gstobject.c (gst_object_class_init): Make name a construct
7397 property. Don't set it in the object init.
7399 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7400 with UNKNOWN direction.
7401 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7402 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7403 (gst_element_remove_pad): Remove ghost-pad special cases.
7404 (gst_element_pads_activate): Remove rpad cruft.
7406 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7407 catch the pad's-parent-not-an-element case.
7409 * gst/gst.h: Include gstghostpad.h.
7411 * gst/gst.c (init_post): No more real, ghost pads.
7413 * gst/Makefile.am: Add gstghostpad.[ch].
7415 * check/Makefile.am:
7416 * check/gst/gstbin.c:
7417 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7418 into a bin creates ghost pads, and that the refcounts are right.
7419 Partly moved from gstbin.c.
7421 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7423 * check/gst-libs/.cvsignore:
7424 * check/gst/.cvsignore:
7425 * check/pipelines/.cvsignore:
7427 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7428 (START_TEST), (cleanup_suite), (main):
7429 add some tests related to cleanup after running pipelines
7431 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7433 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7434 add a testsuite for GstBuffer
7436 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7438 * gst/gstminiobject.h:
7439 add defines for accessing the refcount
7441 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7443 * Makefile.am: added support for html unit test coverage reports
7445 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7447 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7448 Free existing caps if the capsfilter changes. Add a FIXME about
7449 setting those caps on the pads.
7451 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7452 Before adding a ghost pad to a parent bin, check that there isn't
7453 already one for the element on the bin. Prevents infinite recursion
7454 when using decodebin in parse pipelines. Andy says he'll rewrite the
7455 way this works anyway, so ignore the hack.
7457 2005-06-02 Andy Wingo <wingo@pobox.com>
7459 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7460 file size, pass it on to the type find helper.
7462 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7463 segment_start and segment_end properly according to the seek
7464 method. Segment_end is still a bit flaky because offset can be
7465 negative for CUR and END cases, but it takes -1 as an "unset"
7468 2005-06-02 Wim Taymans <wim@fluendo.com>
7470 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7471 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7472 (gst_basesink_activate):
7473 * gst/base/gstbasesink.h:
7474 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7475 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7476 (gst_pad_query), (gst_pad_start_task):
7478 * gst/gstqueue.c: (gst_queue_bufferalloc),
7479 (gst_queue_handle_sink_event), (gst_queue_chain):
7480 Bufferalloc: return GstFlowReturn to more accuratly report
7481 why allocation failed.
7483 2005-06-02 Wim Taymans <wim@fluendo.com>
7485 * gst/gstpipeline.c: (gst_pipeline_send_event):
7486 Take snapshot of state without blocking.
7488 2005-06-02 Wim Taymans <wim@fluendo.com>
7490 * docs/design/part-TODO.txt:
7491 * docs/design/part-caps.txt:
7492 * docs/design/part-clocks.txt:
7493 * docs/design/part-negotiation.txt:
7494 * docs/design/part-preroll.txt:
7497 2005-05-30 Wim Taymans <wim@fluendo.com>
7499 * gst/elements/gstidentity.c: (gst_identity_event),
7500 (gst_identity_transform), (gst_identity_get_property):
7501 Protect last_message property as it is accessed from
7504 2005-05-30 Wim Taymans <wim@fluendo.com>
7506 * gst/gstelement.c: (gst_element_init),
7507 (gst_element_pads_activate), (gst_element_change_state):
7508 Slicker pad activation code.
7510 2005-05-30 Wim Taymans <wim@fluendo.com>
7514 * gst/gstelementfactory.h:
7516 Move elementfactory methods to separate .h file.
7518 2005-05-30 Wim Taymans <wim@fluendo.com>
7520 * docs/design/part-overview.txt:
7521 * gst/gstsystemclock.h:
7522 Small typo fixes, doc updates.
7524 2005-05-30 Wim Taymans <wim@fluendo.com>
7526 * gst/gst.c: (gst_init_get_popt_table), (init_post),
7527 (init_popt_callback):
7528 Remove cpu-opt flag.
7530 2005-05-30 Wim Taymans <wim@fluendo.com>
7532 * gst/gstbuffer.c: (gst_subbuffer_finalize),
7533 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
7535 Avoid typechecking in places where not needed.
7536 Added accessor for malloc_data.
7538 2005-05-30 Wim Taymans <wim@fluendo.com>
7540 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
7541 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
7542 (gst_pad_configure_sink), (gst_pad_configure_src),
7543 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
7544 (gst_pad_start_task):
7545 Propagate errors from _set_caps() in configure_src/sink
7546 functions instead of returning TRUE.
7547 FLUSH events can travel up and downstream
7550 2005-05-30 Wim Taymans <wim@fluendo.com>
7552 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7553 (gst_basesink_activate):
7554 Handle EOS in preroll.
7556 2005-05-30 Wim Taymans <wim@fluendo.com>
7558 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7559 (gst_queue_loop), (gst_queue_handle_src_event):
7560 Remove old pieces of code
7561 Flushing the queue in an upstream event is a very bad idea.
7563 2005-05-26 Andy Wingo <wingo@pobox.com>
7565 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
7566 gst_value_set_mini_object so as to add a ref on the object (which
7567 will be removed when the value is unset).
7569 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
7570 arg type in ::handoff.
7572 * gst/gstelement.c (gst_element_change_state): Also deactivate
7573 pads in READY->NULL, just in case the element didn't make it to
7574 PAUSED. Wingo tested, Wim approved.
7576 2005-05-26 Wim Taymans <wim@fluendo.com>
7578 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7579 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7580 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
7581 A flushing pad cannot be used to alloc_buffer from.
7583 2005-05-26 Wim Taymans <wim@fluendo.com>
7585 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7586 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
7587 (gst_bus_source_dispatch), (gst_bus_source_finalize),
7588 (gst_bus_create_watch), (gst_bus_add_watch_full):
7590 Implement a real GSource and use g_main_context_wakeup() to
7591 signal new messages instead of the socketpair.
7593 2005-05-25 Wim Taymans <wim@fluendo.com>
7595 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
7596 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
7597 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7598 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7599 (gst_pad_send_event), (gst_pad_start_task):
7600 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
7601 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7602 (gst_queue_sink_activate), (gst_queue_src_activate),
7603 (gst_queue_change_state):
7605 Fix state changes for non sinks. We now change sinks, then elements
7606 with unconnected srcpads, then the rest.
7607 More efficient queue unlocking in flush and state changes.
7608 Set the pad activate mode even if it does not have an activate
7611 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7613 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7614 Don't go in pull mode for non-seekable sources.
7615 * gst/elements/gsttypefindelement.h:
7616 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7617 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7618 (free_entry), (stop_typefinding),
7619 (gst_type_find_element_handle_event), (find_peek),
7620 (gst_type_find_element_chain), (do_pull_typefind),
7621 (gst_type_find_element_change_state):
7622 Allow typefinding (w/o seeking) in push-mode, simplified version
7624 * gst/gstutils.c: (gst_buffer_join):
7626 gst_buffer_join() from 0.8.
7628 2005-05-25 Wim Taymans <wim@fluendo.com>
7630 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7631 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7632 (gst_pad_send_event), (gst_pad_start_task):
7633 Disable attempt at mode switching until it is figured out.
7635 2005-05-25 Wim Taymans <wim@fluendo.com>
7637 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7638 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7639 (gst_basesink_finish_preroll), (gst_basesink_chain),
7640 (gst_basesink_loop), (gst_basesink_activate),
7641 (gst_basesink_change_state):
7642 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7643 (gst_basesrc_get_range), (gst_basesrc_loop),
7644 (gst_basesrc_activate):
7645 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7646 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7647 (gst_real_pad_init), (gst_real_pad_set_property),
7648 (gst_real_pad_get_property), (gst_pad_set_active),
7649 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7650 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7651 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7652 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7653 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7654 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7655 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7656 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7657 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7658 (gst_pad_stop_task):
7660 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7661 (gst_queue_loop), (gst_queue_src_activate):
7662 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7663 (gst_task_get_state):
7665 * gst/schedulers/threadscheduler.c:
7666 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7667 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7669 Remove ACTIVE pad flag, use FLUSHING everywhere
7670 Added _pad_chain(), _pad_get_range() to call chain/getrange
7672 Add locks around IS_FLUSHING when reading.
7673 Take STREAM lock in chain(), get_range() functions so plugins
7674 don't need to take it anymore.
7678 2005-05-25 Wim Taymans <wim@fluendo.com>
7680 * tools/gst-launch.c: (event_loop):
7681 Unref message after using its contents instead of
7684 2005-05-24 Wim Taymans <wim@fluendo.com>
7686 * docs/design/draft-ghostpads.txt:
7687 * docs/design/draft-push-pull.txt:
7688 * docs/design/draft-query.txt:
7689 * docs/design/part-overview.txt:
7690 Docs updates, added general overview doc.
7692 2005-05-21 David Schleef <ds@schleef.org>
7694 * docs/gst/tmpl/old/GstBin.sgml:
7695 * docs/gst/tmpl/old/GstBuffer.sgml:
7696 * docs/gst/tmpl/old/GstCaps.sgml:
7697 * docs/gst/tmpl/old/GstClock.sgml:
7698 * docs/gst/tmpl/old/GstCompat.sgml:
7699 * docs/gst/tmpl/old/GstData.sgml:
7700 * docs/gst/tmpl/old/GstElement.sgml:
7701 * docs/gst/tmpl/old/GstEvent.sgml:
7702 * docs/gst/tmpl/old/GstIndex.sgml:
7703 * docs/gst/tmpl/old/GstStructure.sgml:
7704 * docs/gst/tmpl/old/GstTag.sgml:
7705 * docs/gst/tmpl/old/cothreads.sgml:
7706 * docs/gst/tmpl/old/cothreads_compat.sgml:
7707 * docs/gst/tmpl/old/gettext.sgml:
7708 * docs/gst/tmpl/old/gobject2gtk.sgml:
7709 * docs/gst/tmpl/old/grammar.tab.sgml:
7710 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7711 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7712 * docs/gst/tmpl/old/gst_private.sgml:
7713 * docs/gst/tmpl/old/gstaggregator.sgml:
7714 * docs/gst/tmpl/old/gstarch.sgml:
7715 * docs/gst/tmpl/old/gstatomic_impl.sgml:
7716 * docs/gst/tmpl/old/gstbufferstore.sgml:
7717 * docs/gst/tmpl/old/gstdata_private.sgml:
7718 * docs/gst/tmpl/old/gstdisksink.sgml:
7719 * docs/gst/tmpl/old/gstdisksrc.sgml:
7720 * docs/gst/tmpl/old/gstelementfactory.sgml:
7721 * docs/gst/tmpl/old/gstextratypes.sgml:
7722 * docs/gst/tmpl/old/gstfakesink.sgml:
7723 * docs/gst/tmpl/old/gstfakesrc.sgml:
7724 * docs/gst/tmpl/old/gstfdsink.sgml:
7725 * docs/gst/tmpl/old/gstfdsrc.sgml:
7726 * docs/gst/tmpl/old/gstfilesink.sgml:
7727 * docs/gst/tmpl/old/gstfilesrc.sgml:
7728 * docs/gst/tmpl/old/gsthttpsrc.sgml:
7729 * docs/gst/tmpl/old/gstidentity.sgml:
7730 * docs/gst/tmpl/old/gstindexfactory.sgml:
7731 * docs/gst/tmpl/old/gstmarshal.sgml:
7732 * docs/gst/tmpl/old/gstmd5sink.sgml:
7733 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
7734 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
7735 * docs/gst/tmpl/old/gstpadtemplate.sgml:
7736 * docs/gst/tmpl/old/gstpipefilter.sgml:
7737 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
7738 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
7739 * docs/gst/tmpl/old/gstshaper.sgml:
7740 * docs/gst/tmpl/old/gstspider.sgml:
7741 * docs/gst/tmpl/old/gstspideridentity.sgml:
7742 * docs/gst/tmpl/old/gststatistics.sgml:
7743 * docs/gst/tmpl/old/gsttee.sgml:
7744 * docs/gst/tmpl/old/gsttimecache.sgml:
7745 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
7746 * docs/gst/tmpl/old/gstxmlregistry.sgml:
7747 * docs/gst/tmpl/old/gthread-cothreads.sgml:
7748 * docs/gst/tmpl/old/types.sgml:
7749 I didn't intend to add these or check them in.
7751 2005-05-19 David Schleef <ds@schleef.org>
7753 * configure.ac: Use -no-common everywhere. In a sane world, it
7754 would be the default in libtool, because without it, you can't
7755 build DLLs on Windows.
7756 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
7757 * docs/gst/gstreamer-sections.txt:
7758 * docs/gst/tmpl/gstcpu.sgml:
7759 * docs/gst/tmpl/gstdata.sgml:
7760 * docs/gst/tmpl/gstthread.sgml:
7762 2005-05-19 David Schleef <ds@schleef.org>
7764 * gst/gstminiobject.c: (gst_value_set_mini_object),
7765 (gst_value_take_mini_object), (gst_value_get_mini_object):
7766 * gst/gstminiobject.h: Add GValue set/get functions.
7768 2005-05-19 Wim Taymans <wim@fluendo.com>
7770 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
7771 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
7772 (gst_subbuffer_init), (gst_buffer_is_span_fast):
7774 * gst/gstbus.c: (gst_bus_post):
7775 * gst/gstelement.c: (gst_element_get_random_pad):
7776 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
7777 Make subbufer unref the parent in finalize.
7778 some more debugging info.
7781 2005-05-19 Wim Taymans <wim@fluendo.com>
7783 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7784 (gst_basesink_init), (gst_basesink_finalize),
7785 (gst_basesink_activate), (gst_basesink_change_state):
7786 Don't free preroll queue too early.
7788 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7792 Hi, I'm outdated. Please shoot me.
7794 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7796 * gst/gstpipeline.c: (gst_pipeline_send_event):
7797 Do not access variables after they have been deleted.
7799 2005-05-19 Wim Taymans <wim@fluendo.com>
7801 * tools/gst-inspect.c: (print_plugin_features):
7802 A plugin feature does unfortunatly not use the
7805 2005-05-18 Wim Taymans <wim@fluendo.com>
7807 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7808 Port _span() functions to new subbuffers.
7810 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7812 * gst/gstbin.c: (gst_bin_add_func):
7813 Fix clock settery in bins when adding kids after the clock has
7816 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7818 * gst/elements/gstidentity.c: (gst_identity_class_init):
7819 Workaround until signals support GstMiniObject.
7821 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7824 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7826 2005-05-18 Wim Taymans <wim@fluendo.com>
7828 * gst/base/Makefile.am:
7829 * gst/base/gstadapter.c: (gst_adapter_base_init),
7830 (gst_adapter_class_init), (gst_adapter_init),
7831 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7832 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7833 (gst_adapter_flush), (gst_adapter_available),
7834 (gst_adapter_available_fast):
7835 * gst/base/gstadapter.h:
7836 Ported and added adapter to the base classes.
7838 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7842 Make sure the class is reffed/unreffed once before threads can be
7843 used. Fixes #304551.
7845 2005-05-17 Wim Taymans <wim@fluendo.com>
7847 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
7848 (gst_basesink_chain_unlocked), (gst_basesink_activate):
7849 * gst/gstminiobject.c: (gst_mini_object_get_type),
7850 (gst_mini_object_free):
7851 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
7852 (gst_pad_push), (gst_pad_push_event):
7853 * gst/gstqueue.c: (gst_queue_change_state):
7854 Don't queue buffers in basesink when we are flushing.
7855 Unref buffer when flushing in basesink.
7856 Flush queue when going to READY
7857 Unref buffer when _push() returns an error.
7858 Don't free MiniObject instance when refcount is incremented
7859 in _finalize() so that we can recover objects.
7861 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
7863 * docs/manual/advanced-schedulers.xml:
7864 * docs/manual/appendix-checklist.xml:
7865 * docs/pwg/advanced-clock.xml:
7866 * docs/pwg/advanced-interfaces.xml:
7867 * docs/pwg/advanced-request.xml:
7868 * docs/pwg/advanced-types.xml:
7869 * docs/pwg/intro-preface.xml:
7870 * examples/plugins/example.c: (gst_example_get_type),
7871 (gst_example_class_init), (gst_example_chain),
7872 (gst_example_set_property), (gst_example_get_property),
7873 (gst_example_change_state), (plugin_init):
7874 * examples/plugins/example.h:
7877 2005-05-17 Wim Taymans <wim@fluendo.com>
7879 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
7880 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
7881 * gst/gstqueue.c: (gst_queue_change_state):
7882 Clear queue when going to READY.
7883 Remove IN_SETCAPS flag too.
7885 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
7887 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
7888 Remove implicit cast from gboolean to GstElementStateReturn;
7889 make sure we still return failure in paused => ready case if
7890 the parent class fails to change state and our own stop
7893 2005-05-17 Wim Taymans <wim@fluendo.com>
7895 * tools/gst-launch.c: (event_loop):
7896 Message was unreffed too soon.
7898 2005-05-16 Andy Wingo <wingo@pobox.com>
7900 * gst/gstbin.c (sink_iterator_filter): Err... um...
7902 * check/gst/gstbin.c (test_ghost_pads): New test for the
7903 ghosting-if-elements-not-in-same-bin behavior.
7905 2005-05-16 David Schleef <ds@schleef.org>
7907 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
7908 accessing refcount directly.
7910 2005-05-15 David Schleef <ds@schleef.org>
7912 * check/Makefile.am: remove GstData checks
7913 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
7914 * gst/Makefile.am: add miniobject, remove data
7915 * gst/gst.h: add miniobject, remove data
7916 * gst/gstdata.c: remove
7917 * gst/gstdata.h: remove
7918 * gst/gstdata_private.h: remove
7919 * gst/gsttypes.h: remove GstEvent and GstMessage
7920 * gst/gstelement.c: (gst_element_post_message): fix for API changes
7921 * gst/gstmarshal.list: change BOXED -> OBJECT
7923 Implement GstMiniObject.
7924 * gst/gstminiobject.c:
7925 * gst/gstminiobject.h:
7927 Modify to be subclasses of GstMiniObject.
7928 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7929 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7930 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7931 (gst_subbuffer_get_type), (gst_subbuffer_init),
7932 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7935 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7936 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7937 (_gst_event_copy), (gst_event_new):
7939 * gst/gstmessage.c: (_gst_message_initialize),
7940 (gst_message_get_type), (gst_message_class_init),
7941 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7942 (gst_message_new), (gst_message_new_error),
7943 (gst_message_new_warning), (gst_message_new_tag),
7944 (gst_message_new_state_changed), (gst_message_new_application):
7946 * gst/gstprobe.c: (gst_probe_perform),
7947 (gst_probe_dispatcher_dispatch):
7949 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7950 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7951 (_gst_query_copy), (gst_query_new):
7953 Update elements for GstData -> GstMiniObject changes
7955 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7956 (gst_queue_chain), (gst_queue_loop):
7957 * gst/elements/gstbufferstore.c:
7958 (gst_buffer_store_add_buffer_func),
7959 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7960 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7961 (gst_fakesink_render):
7962 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7963 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7964 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7965 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7966 (gst_filesrc_create_read):
7967 * gst/elements/gstidentity.c: (gst_identity_class_init):
7968 * gst/elements/gsttypefindelement.c:
7969 (gst_type_find_element_src_event), (free_entry_buffers),
7970 (gst_type_find_element_handle_event):
7971 * libs/gst/dataprotocol/dataprotocol.c:
7972 (gst_dp_header_from_buffer):
7973 * libs/gst/dataprotocol/dataprotocol.h:
7974 * libs/gst/dataprotocol/dp-private.h:
7976 2005-05-15 David Schleef <ds@schleef.org>
7978 * gst/elements/gstelements.c: Don't include headers that were
7981 2005-05-15 David Schleef <ds@schleef.org>
7983 * gst/elements/Makefile.am: Remove some elements that don't
7984 need to be in the core (or even exist at all).
7985 * gst/elements/gstaggregator.c:
7986 * gst/elements/gstaggregator.h:
7987 * gst/elements/gstmd5sink.c:
7988 * gst/elements/gstmd5sink.h:
7989 * gst/elements/gstmultifilesrc.c:
7990 * gst/elements/gstmultifilesrc.h:
7991 * gst/elements/gstpipefilter.c:
7992 * gst/elements/gstpipefilter.h:
7993 * gst/elements/gstshaper.c:
7994 * gst/elements/gstshaper.h:
7995 * gst/elements/gststatistics.c:
7996 * gst/elements/gststatistics.h:
7997 * po/POTFILES.in: Remove above files.
7999 2005-05-14 Andy Wingo <wingo@pobox.com>
8001 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8002 so as to get the refs right.
8003 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8004 unreffing objects that don't pass the filter.
8006 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8007 gst_element_set_bus.
8008 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8009 normal cases, this will destroy the bus.
8011 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8014 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8017 2005-05-13 Andy Wingo <wingo@pobox.com>
8019 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8020 gst_pad_link, call pad_link_maybe_ghosting,
8021 (pad_link_maybe_ghosting): Links pads, making sure that the
8022 elements being linked are in the same bin.
8023 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8024 Helpers for pad_link_maybe_ghosting.
8026 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8029 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8031 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8033 * docs/design/part-element-source.txt:
8036 2005-05-12 Wim Taymans <wim@fluendo.com>
8038 * gst/base/gstbasesink.c: (gst_basesink_init),
8039 (gst_basesink_activate):
8040 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8041 (gst_basesrc_is_seekable):
8042 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8043 (bin_element_is_sink), (gst_bin_change_state):
8044 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8046 Identify sinks by their flag to avoid overly complicated
8048 Do state changes even for elements not reachable from the
8050 BaseSink is a sink now :)
8051 Some more debugging info in the basesrc.
8054 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8056 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8057 Implement _query on a bin, similar to _send_event.
8059 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8061 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8062 Discont event offset format should be GST_FORMAT_BYTES,
8063 not GST_FORMAT_TIME.
8065 2005-05-12 Wim Taymans <wim@fluendo.com>
8067 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8068 Same fix as Ronald's but without the signal.
8070 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8072 * gst/gstutils.c: (gst_element_query_position):
8073 No, an element is not a pad.
8075 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8077 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8078 (gst_bin_get_state):
8079 If a child is removed from a bin while we remove the child from
8080 the bin and while we're retrieving its state, signal this to the
8081 get_state function so we abort the wait (instead of waiting for
8082 a timeout) and can immediately re-iterate over all other elements.
8084 2005-05-12 Wim Taymans <wim@fluendo.com>
8086 * gst/base/Makefile.am:
8087 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8088 (gst_basesrc_start):
8089 * gst/base/gstbasesrc.h:
8090 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8091 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8092 (gst_pushsrc_init), (gst_pushsrc_create):
8093 * gst/base/gstpushsrc.h:
8094 Added is_seekable to BaseSrc
8095 Added simple PushSrc.
8097 2005-05-11 Wim Taymans <wim@fluendo.com>
8099 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8100 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8101 (gst_element_link_pads), (gst_element_query_position),
8102 (gst_element_query_convert), (intersect_caps_func),
8103 (gst_pad_query_position), (gst_pad_query_convert):
8104 Fix refcounting in utils function.
8105 No point in trying to activate a pad when it's added, it could
8106 be added from the state change function and then we deadlock, the
8107 element has to decide what to do.
8109 2005-05-10 Andy Wingo <wingo@pobox.com>
8111 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8112 *all* the arguments.
8114 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8115 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8116 lock (according to the docs -- if this is wrong change the docs).
8118 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8119 flush messages in the NULL state.
8121 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8122 message immediately and return.
8123 (gst_bus_set_flushing): New function. If a bus is flushing, it
8124 flushes out any queued messages and immediately unrefs new
8125 messages. This is so when an element goes to NULL, all of the
8126 unhandled messages coming from it can be freed, and their
8127 references to the element dropped. In other words: message source
8128 ref considered harmful :P
8130 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8131 we're finished with it.
8133 * gst/gstmessage.c (gst_message_new_state_changed):
8135 2005-05-10 Wim Taymans <wim@fluendo.com>
8137 * gst/gstvalue.c: (gst_value_compare_flags),
8138 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8139 (_gst_value_initialize):
8140 Added flags serialize/deserialize/compare code.
8142 2005-05-09 Andy Wingo <wingo@pobox.com>
8144 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8145 Intersect the peer's caps with our caps.
8147 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8149 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8150 * gst/elements/gsttypefindelement.c: (find_peek):
8151 Handle negative offsets better. Fixes decodebin.
8153 2005-05-09 Wim Taymans <wim@fluendo.com>
8155 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8156 (gst_base_transform_event):
8157 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8158 Implement accept_caps.
8159 Fix silly lock/unlock mismatch in base class.
8161 2005-05-09 Wim Taymans <wim@fluendo.com>
8163 * docs/design/draft-push-pull.txt:
8164 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8165 * gst/elements/gstfilesink.c: (gst_filesink_init),
8166 (gst_filesink_query):
8167 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8168 (gst_type_find_handle_src_query), (find_element_get_length):
8169 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8173 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8174 (gst_real_pad_get_caps_unlocked),
8175 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8176 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8177 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8178 (gst_real_pad_dispose), (gst_real_pad_finalize),
8179 (gst_pad_load_and_link), (gst_pad_save_thyself),
8180 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8181 (gst_pad_check_pull_range), (gst_pad_pull_range),
8182 (gst_pad_template_get_type), (gst_pad_template_class_init),
8183 (gst_pad_template_init), (gst_pad_template_dispose),
8184 (name_is_valid), (gst_static_pad_template_get),
8185 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8186 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8187 (gst_pad_get_element_private), (gst_pad_start_task),
8188 (gst_pad_pause_task), (gst_pad_stop_task),
8189 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8190 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8191 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8192 (gst_ghost_pad_new):
8194 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8195 (gst_query_new_position), (gst_query_set_position),
8196 (gst_query_parse_position), (gst_query_new_convert),
8197 (gst_query_set_convert), (gst_query_parse_convert):
8199 * gst/gstqueryutils.c:
8200 * gst/gstqueryutils.h:
8201 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8202 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8203 (gst_queue_handle_src_query):
8204 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8205 (gst_element_query_position), (gst_element_query_convert),
8206 (intersect_caps_func), (gst_pad_query_position),
8207 (gst_pad_query_convert):
8209 * tools/gst-inspect.c: (print_pad_info):
8210 * tools/gst-xmlinspect.c: (print_element_info):
8211 Remove old query functions. Ported old code.
8212 Added position/convert helper functions to gstutils.
8213 Reordered gstpad.c code, grouping relevant things.
8214 Remove gst_message_new(), always need to speficy a specific
8218 2005-05-09 Andy Wingo <wingo@pobox.com>
8220 * gst/gstiterator.h: Add some includes.
8222 * gst/gstqueryutils.h: Include more headers.
8225 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8226 some uses of gst_pad_query.
8228 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8229 NULL out parameters.
8230 (gst_query_new_position): New proc, allocates a new position
8233 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8234 gstqueryutils.c to the build.
8236 * gst/gststructure.c (gst_structure_set_valist): Implement with
8237 the generic G_VALUE_COLLECT.
8239 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8241 * gst/Makefile.am: (gst_headers):
8242 Added gstqueryutils.h to the list of headers to install, that was
8243 a 'nachty' move wingo :)
8245 2005-05-06 Andy Wingo <wingo@pobox.com>
8248 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8249 GstData, init a memchunk.
8250 (standard_definitions): Add a few query types, deprecate a few.
8251 (gst_query_get_type): New proc.
8252 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8254 (gst_query_new_application, gst_query_get_structure): New public
8257 * docs/design/draft-query.txt: Removed LINKS from the query types,
8258 because all the rest can be dispatched to other pads -- seemed
8259 ugly to have a query that couldn't be dispatched. internal_links
8260 is fine as a pad method.
8262 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8263 in gstpad.c, but maintain binary compatibility for the moment.
8264 Will fix before 0.9 is out.
8266 * gst/gstqueryutils.c:
8267 * gst/gstqueryutils.h: New files, implement 3 methods for each
8268 query type: parse_query, parse_response, and set. Probably need an
8271 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8273 * gst/elements/gstfilesink.c (gst_filesink_query2):
8274 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8275 query_types, and formats methods.
8277 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8278 (gst_pad_set_query2_function): New functions.
8279 (gst_real_pad_init): Set query2_default as the default query2
8280 function. Basically just dispatches to internally linked pads.
8284 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8285 without using the atomic operations. Only one thread can possibly
8286 be accessing the data at this point. Changed so as to avoid
8287 gst_atomic operations.
8289 2005-05-06 Wim Taymans <wim@fluendo.com>
8291 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8292 Also set caps if we use the fallback buffer alloc.
8294 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8296 * docs/gst/Makefile.am:
8297 * docs/gst/gstreamer-docs.sgml:
8298 * docs/gst/gstreamer-sections.txt:
8299 * docs/gst/tmpl/gstatomic.sgml:
8300 * docs/gst/tmpl/gstmemchunk.sgml:
8301 * testsuite/elements/struct_i386.h:
8302 * win32/GStreamer.vcproj:
8304 Purge GstAtomic stuff from docs and win32 makefiles as well
8306 2005-05-06 Wim Taymans <wim@fluendo.com>
8308 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8309 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8310 * gst/gstpad.c: (gst_pad_peer_get_caps):
8311 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8312 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8313 (gst_queue_src_activate), (gst_queue_change_state):
8315 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8316 (intersect_caps_func):
8317 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8318 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8319 Some fixes for the peer_get_caps() change.
8321 2005-05-06 Wim Taymans <wim@fluendo.com>
8323 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8324 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8325 (gst_basesink_activate):
8326 Actually do something with error codes returned from the push
8329 2005-05-06 Wim Taymans <wim@fluendo.com>
8331 * docs/design/part-element-sink.txt:
8332 * docs/design/part-element-source.txt:
8333 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8334 (gst_basesink_event), (gst_basesink_activate):
8335 * gst/base/gstbasesink.h:
8336 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8337 (gst_basesrc_activate):
8338 * gst/base/gstbasesrc.h:
8339 * gst/gstelement.c: (gst_element_pads_activate):
8340 Some more documentation.
8341 Fixed scheduling decision in _pads_activate().
8343 2005-05-05 Andy Wingo <wingo@pobox.com>
8345 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8348 2005-05-05 Wim Taymans <wim@fluendo.com>
8350 * gst/base/Makefile.am:
8351 * gst/base/gstbasesink.h:
8352 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8353 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8354 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8355 (gst_collectpads_class_init), (gst_collectpads_init),
8356 (gst_collectpads_finalize), (gst_collectpads_new),
8357 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8358 (find_pad), (gst_collectpads_remove_pad),
8359 (gst_collectpads_is_active), (gst_collectpads_collect),
8360 (gst_collectpads_collect_range), (gst_collectpads_start),
8361 (gst_collectpads_stop), (gst_collectpads_peek),
8362 (gst_collectpads_pop), (gst_collectpads_available),
8363 (gst_collectpads_read), (gst_collectpads_flush),
8364 (gst_collectpads_chain):
8365 * gst/base/gstcollectpads.h:
8366 * gst/elements/Makefile.am:
8367 * gst/elements/gstelements.c:
8368 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8369 (gst_fakesink_get_times), (gst_fakesink_event),
8370 (gst_fakesink_preroll), (gst_fakesink_render):
8371 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8372 (gst_filesink_init), (gst_filesink_set_location),
8373 (gst_filesink_open_file), (gst_filesink_close_file),
8374 (gst_filesink_pad_query), (gst_filesink_event),
8375 (gst_filesink_render), (gst_filesink_change_state):
8376 * gst/elements/gstfilesink.h:
8377 Added object to help in making collect pad based elements.
8379 Make event function in sink baseclass return gboolean.
8381 2005-05-05 Wim Taymans <wim@fluendo.com>
8383 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8384 (gst_bin_get_by_name):
8386 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8387 (gst_clock_finalize):
8388 * gst/gstdata.c: (gst_data_replace):
8390 * gst/gstelement.c: (gst_element_request_pad),
8391 (gst_element_pads_activate):
8392 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8394 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8395 (gst_pad_set_checkgetrange_function),
8396 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8397 (gst_pad_check_pull_range), (gst_pad_pull_range),
8398 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8399 (gst_pad_pause_task), (gst_pad_stop_task):
8400 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8401 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8402 Fix name lookup in GstBin.
8403 Added _data_replace() function and _buffer_replace()
8404 Use finalize method to clean up clock.
8405 Fix refcounting on request pads.
8406 Fix pad schedule mode error.
8407 Some more object refcounting debug info,
8410 2005-05-04 Andy Wingo <wingo@pobox.com>
8412 * check/Makefile.am:
8413 * docs/gst/tmpl/gstatomic.sgml:
8414 * docs/gst/tmpl/gstplugin.sgml:
8415 * gst/base/gstbasesink.c: (gst_basesink_activate):
8416 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8417 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8418 (gst_basesrc_query), (gst_basesrc_set_property),
8419 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8420 (gst_basesrc_activate):
8421 * gst/base/gstbasesrc.h:
8422 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8423 (gst_base_transform_src_activate):
8424 * gst/elements/gstelements.c:
8425 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8426 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8427 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8428 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8429 (gst_type_find_element_checkgetrange),
8430 (gst_type_find_element_activate):
8431 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8432 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8433 (gst_caps_load_thyself):
8434 * gst/gstelement.c: (gst_element_pads_activate),
8435 (gst_element_save_thyself), (gst_element_restore_thyself):
8436 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8437 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8439 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8440 (gst_xml_parse_file), (gst_xml_parse_memory),
8441 (gst_xml_get_element), (gst_xml_make_element):
8442 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8443 (_file_index_id_save_xml), (gst_file_index_commit):
8444 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8445 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8447 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8448 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8449 * tools/gst-complete.c: (main):
8450 * tools/gst-compprep.c: (main):
8451 * tools/gst-inspect.c: (print_element_properties_info):
8452 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8453 * tools/gst-xmlinspect.c: (print_element_properties):
8456 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8458 * gst/gstplugin.c: (gst_plugin_check_module),
8459 (gst_plugin_check_file), (gst_plugin_load_file):
8460 apply patch from #172526 to make register work on MacOSX
8462 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8464 * docs/gst/tmpl/gstconfig.sgml:
8465 * gst/gstconfig.h.in:
8466 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8467 * testsuite/debug/printf_extension.c: (main):
8468 Do not use GST_PTR_FORMAT on pointers to types with
8469 sizeof < sizeof(gpointer). Fixes test on 64-bit
8470 * testsuite/elements/property.h:
8471 use correct printf format
8473 2005-05-02 Wim Taymans <wim@fluendo.com>
8475 * docs/design/draft-push-pull.txt:
8476 * docs/design/draft-query.txt:
8477 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8478 (gst_basesrc_start):
8479 Added draft for new query API.
8480 Added draft for better selecting scheduling methods.
8481 Make basesrc ignore length if the subclass does not support
8484 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8487 possible fixes for automake-1.5 - _LIBADD is reserved
8489 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8491 * docs/faq/Makefile.am:
8492 * docs/manual/Makefile.am:
8494 * docs/pwg/Makefile.am:
8496 possible fixes for automake-1.5
8498 2005-04-28 Wim Taymans <wim@fluendo.com>
8500 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8501 (gst_basesink_pad_getcaps), (gst_basesink_init),
8502 (gst_basesink_do_sync):
8503 * gst/gstclock.c: (gst_clock_entry_new):
8504 * gst/gstevent.c: (gst_event_discont_get_value):
8505 * gst/gstpipeline.c: (pipeline_bus_handler),
8506 (gst_pipeline_change_state):
8507 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8508 Better debugging of clocking info.
8509 Allow NULL values when getting discont values.
8511 2005-04-27 Wim Taymans <wim@fluendo.com>
8513 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8514 * check/gst/gstpad.c: (gst_pad_suite):
8515 Increase timeout for checks.
8517 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8519 * check/Makefile.am:
8520 fix the broken rule for cleanup. Apparently this rule is
8521 only needed on FC2, so maybe this warrants further autotool
8524 2005-04-26 Wim Taymans <wim@fluendo.com>
8526 * gst/gsttrashstack.h:
8527 Ooohh. a nasty one! After having a failed pop() from the stack,
8528 it's possible that the stack is empty. In that case, don't
8529 follow the NULL pointer.
8531 2005-04-25 Wim Taymans <wim@fluendo.com>
8533 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8534 (gst_pad_set_checkgetrange_function),
8535 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
8536 (gst_pad_check_pull_range), (gst_pad_pull_range),
8537 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8538 (gst_pad_pause_task), (gst_pad_stop_task):
8539 * gst/gstplugin.c: (gst_plugin_load):
8541 Remove gst_library_load as it does more harm than good with
8542 the new g_module flags.
8543 Revert bogus caps template check in pad linking, pad caps
8544 are important when linking not the template, which is more
8545 general than the current caps.
8547 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8549 * gst/autoplug/.cvsignore:
8550 * gst/autoplug/Makefile.am:
8551 * gst/autoplug/gstsearchfuncs.c:
8552 * gst/autoplug/gstsearchfuncs.h:
8553 * gst/autoplug/gstspider.c:
8554 * gst/autoplug/gstspider.h:
8555 * gst/autoplug/gstspideridentity.c:
8556 * gst/autoplug/gstspideridentity.h:
8557 * gst/autoplug/spidertest.c:
8560 2005-04-25 Wim Taymans <wim@fluendo.com>
8562 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8563 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8564 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
8565 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
8567 Added stubs for unimplemented functions.
8569 2005-04-24 David Schleef <ds@schleef.org>
8571 * gst/gstpad.h: Disable some unimplemented functions. Wim,
8574 2005-04-24 David Schleef <ds@schleef.org>
8576 Convert everything from GstAtomicInt to g_atomic_int_*, and
8581 * gst/gstatomic_impl.h:
8589 * gst/gstdata_private.h:
8596 * gst/gststructure.c:
8597 * gst/gststructure.h:
8598 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
8601 2005-04-24 David Schleef <ds@schleef.org>
8603 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8604 make the regressions tests work. Remove some code that is no
8606 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8607 Disable warning for pads without templates.
8609 2005-04-24 David Schleef <ds@schleef.org>
8611 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8612 functions that handle filtered links.
8613 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8615 * gst/gstutils.c: Fix/remove utility functions that handle
8618 * gst/gstvalue.c: Add serialization/deserialization of caps
8619 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8620 requires fixing so that the filter caps notation creates
8621 a capsfilter element and sets the filter_caps property. I
8622 think everyone probably wants to keep the shorthand notation.
8623 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8624 * docs/gst/tmpl/gstpad.sgml:
8626 * gst/elements/gstelements.c: Register capsfilter element.
8627 * gst/Makefile.am: fix spacing
8628 * docs/random/ds/0.9-suggested-changes: random
8630 2005-04-23 David Schleef <ds@schleef.org>
8632 * gst/elements/Makefile.am:
8633 * gst/elements/gstcapsfilter.c: New element that acts like an
8634 identity, but filters caps. Will eventually replace filtered
8635 caps in pad linking.
8636 * gst/gstutils.c: (gst_element_create_all_pads): New function
8637 to create all the ALWAYS pads that are registered with an
8638 element class. This functionality should eventually be
8639 merged in with GstElement initialization.
8641 * testsuite/trigger/README: part of trigger test code that should
8642 have been checked in a long time ago.
8644 2005-04-23 David Schleef <ds@schleef.org>
8646 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8647 needed with new versions of libtool (nobody will confirm this),
8648 and hard to carry around.
8649 * gst/autoplug/Makefile.am:
8650 * gst/base/Makefile.am:
8651 * gst/elements/Makefile.am:
8652 * gst/indexers/Makefile.am:
8653 * gst/schedulers/Makefile.am:
8654 * libs/gst/bytestream/Makefile.am:
8655 * libs/gst/control/Makefile.am:
8656 * libs/gst/dataprotocol/Makefile.am:
8657 * libs/gst/getbits/Makefile.am:
8659 2005-04-21 Wim Taymans <wim@fluendo.com>
8661 * docs/design/draft-push-pull.txt:
8662 * docs/design/part-MT-refcounting.txt:
8663 * docs/design/part-TODO.txt:
8664 * docs/design/part-caps.txt:
8665 * docs/design/part-events.txt:
8666 * docs/design/part-gstbus.txt:
8667 * docs/design/part-gstpipeline.txt:
8668 * docs/design/part-messages.txt:
8669 * docs/design/part-push-pull.txt:
8670 * docs/design/part-query.txt:
8673 2005-04-21 Wim Taymans <wim@fluendo.com>
8675 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8676 (gst_message_new), (gst_message_new_error),
8677 (gst_message_new_warning), (gst_message_new_tag),
8678 (gst_message_new_state_changed), (gst_message_new_application),
8679 (gst_message_get_structure):
8681 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8682 (gst_structure_copy_conditional):
8683 Use parent refcount in GstMessage to ensure GstStructure
8685 Cleaned up headers a bit.
8688 2005-04-20 Wim Taymans <wim@fluendo.com>
8690 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8691 (gst_basesink_pad_getcaps), (gst_basesink_init),
8692 (gst_basesink_chain_unlocked):
8693 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8694 (gst_type_find_helper):
8695 * gst/elements/gsttypefindelement.c:
8696 (gst_type_find_element_have_type), (gst_type_find_element_init),
8697 (stop_typefinding), (gst_type_find_element_handle_event),
8698 (find_suggest), (gst_type_find_element_chain),
8699 (gst_type_find_element_checkgetrange),
8700 (gst_type_find_element_getrange), (do_typefind),
8701 (gst_type_find_element_activate):
8702 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8703 (gst_buffer_default_free), (gst_buffer_default_copy),
8704 (gst_buffer_set_caps):
8705 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8707 * gst/gstmessage.c: (gst_message_new),
8708 (gst_message_new_state_changed):
8709 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8710 (gst_pad_set_checkgetrange_function),
8711 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8712 (gst_pad_set_caps), (gst_pad_check_pull_range),
8713 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
8715 * gst/gsttypefind.c: (gst_type_find_register):
8716 Make gst_caps_replace() work like other _replace() functions.
8717 Use _caps_replace() where possible.
8718 Make sure _message_new() initialises its field.
8719 Add gst_static_pad_template_get_caps()
8722 2005-04-18 Andy Wingo <wingo@pobox.com>
8724 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
8725 on the peer, not the pad. I think that was a typo. Pass an extra
8726 arg to see if random access is possible. Activate the pads as
8727 PULL_RANGE if possible.
8729 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
8731 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
8732 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
8735 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8737 * docs/faq/using.xml:
8738 Add note on gstreamer-properties (#154996).
8740 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8742 * docs/random/bbb/optional-properties:
8743 Some analysis on optional properties.
8745 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8747 * docs/gst/tmpl/gstelementfactory.sgml:
8749 * gst/gstelementfactory.c: (gst_element_factory_init),
8750 (gst_element_factory_cleanup), (gst_element_register),
8751 (__gst_element_factory_add_static_pad_template),
8752 (gst_element_factory_get_static_pad_templates),
8753 (gst_element_factory_can_src_caps),
8754 (gst_element_factory_can_sink_caps):
8755 * gst/registries/Makefile.am:
8756 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
8757 (gst_xml_registry_class_init), (gst_xml_registry_init),
8758 (gst_xml_registry_new), (gst_xml_registry_set_property),
8759 (gst_xml_registry_get_property), (get_time), (make_dir),
8760 (gst_xml_registry_get_perms_func),
8761 (plugin_times_older_than_recurse), (plugin_times_older_than),
8762 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
8763 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
8764 (add_to_char_array), (read_string), (read_uint), (read_enum),
8765 (load_pad_template), (load_feature), (load_plugin), (load_paths),
8766 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
8767 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
8768 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
8769 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
8770 (gst_xml_registry_rebuild):
8771 * gst/registries/gstlibxmlregistry.h:
8772 * tools/gst-compprep.c: (main):
8773 * tools/gst-inspect.c: (print_pad_templates_info):
8774 * tools/gst-xmlinspect.c: (print_element_info):
8775 Use libxml2 for registry parsing, use staticpadtemplates in
8776 elementfactories. Makes gst_init() +/- 10x faster.
8778 2005-04-12 Wim Taymans <wim@fluendo.com>
8780 * gst/base/Makefile.am:
8781 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8782 (gst_basesink_pad_getcaps), (gst_basesink_init),
8783 (gst_basesink_event), (gst_basesink_change_state):
8784 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8785 (gst_basesrc_init), (gst_basesrc_query),
8786 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8787 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8788 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8789 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8790 (gst_basesrc_stop), (gst_basesrc_activate),
8791 (gst_basesrc_change_state):
8792 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8793 (helper_find_suggest), (gst_type_find_helper):
8794 * gst/base/gsttypefindhelper.h:
8795 * gst/elements/Makefile.am:
8796 * gst/elements/gstelements.c:
8797 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8798 (gst_fakesink_get_times), (gst_fakesink_event),
8799 (gst_fakesink_preroll), (gst_fakesink_render):
8800 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8801 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8802 (gst_fakesrc_get_property), (gst_fakesrc_create),
8803 (gst_fakesrc_start), (gst_fakesrc_stop):
8804 * gst/elements/gstfakesrc.h:
8805 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8806 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8807 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8808 (gst_filesrc_create_read), (gst_filesrc_create),
8809 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8810 (gst_filesrc_start):
8811 * gst/elements/gsttypefindelement.c:
8812 (gst_type_find_element_have_type), (gst_type_find_element_init),
8813 (start_typefinding), (stop_typefinding), (push_buffer_store),
8814 (gst_type_find_element_handle_event),
8815 (gst_type_find_element_chain),
8816 (gst_type_find_element_checkgetrange),
8817 (gst_type_find_element_getrange), (do_typefind),
8818 (gst_type_find_element_activate),
8819 (gst_type_find_element_change_state):
8820 * gst/elements/gsttypefindelement.h:
8821 * gst/gstpipeline.c: (pipeline_bus_handler):
8822 Added typefind helper.
8823 Small preroll fix in the base sink.
8824 Disable typefind code in basesrc.
8825 Crude port of typefindelement.
8829 2005-04-11 Wim Taymans <wim@fluendo.com>
8831 * check/gst/gstbus.c: (gstbus_suite):
8832 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8834 Fix up the timeout so that the test does not fail.
8836 2005-04-06 Wim Taymans <wim@fluendo.com>
8839 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8840 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
8841 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8842 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8843 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8844 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8845 (gst_basesrc_stop), (gst_basesrc_activate),
8846 (gst_basesrc_change_state), (basesrc_find_peek),
8847 (basesrc_find_suggest), (gst_basesrc_type_find):
8848 * gst/base/gstbasesrc.h:
8849 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
8850 (gst_filesrc_class_init), (gst_filesrc_init),
8851 (gst_filesrc_finalize), (gst_filesrc_set_location),
8852 (gst_filesrc_set_property), (gst_filesrc_get_property),
8853 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8854 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8855 (gst_filesrc_create_read), (gst_filesrc_create),
8856 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
8857 * gst/elements/gstfilesrc.h:
8858 * gst/gstelement.c: (gst_element_get_state_func),
8859 (gst_element_lost_state), (gst_element_pads_activate):
8860 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8861 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8862 (gst_pad_pull_range):
8864 More work on the generic source base class, implement seeking,
8866 Make filesrc extend the base source class.
8867 Added gst_pad_set_checkgetrange_function to GstPad.
8869 2005-04-06 Andy Wingo <wingo@pobox.com>
8871 * pkgconfig/gstreamer-base.pc.in:
8872 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
8874 * pkgconfig/Makefile.am:
8875 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
8877 2005-04-04 Wim Taymans <wim@fluendo.com>
8879 * gst/base/Makefile.am:
8881 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8882 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8883 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8884 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
8885 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8886 (gst_basesrc_base_init), (gst_basesrc_class_init),
8887 (gst_basesrc_init), (gst_basesrc_get_formats),
8888 (gst_basesrc_get_query_types), (gst_basesrc_query),
8889 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
8890 (gst_basesrc_set_property), (gst_basesrc_get_property),
8891 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
8892 (gst_basesrc_loop), (gst_basesrc_activate),
8893 (gst_basesrc_change_state):
8894 * gst/base/gstbasesrc.h:
8895 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
8896 (gst_fakesrc_class_init), (gst_fakesrc_init),
8897 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
8898 (gst_fakesrc_get_property), (gst_fakesrc_create):
8899 * gst/elements/gstfakesrc.h:
8900 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
8901 (gst_filesrc_open_file), (gst_filesrc_loop),
8902 (gst_filesrc_activate), (filesrc_find_peek),
8903 (gst_filesrc_type_find):
8904 Made base source class, make fakesrc extend it.
8905 Add comments to basesink class.
8906 Some filesrc cleanup.
8908 2005-03-31 David Schleef <ds@schleef.org>
8910 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8911 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
8912 expected to link against libgstreamer.
8913 * gst/base/Makefile.am: link against libgstreamer
8914 * gst/elements/Makefile.am: same
8916 2005-03-31 Andy Wingo <wingo@pobox.com>
8918 * tests/instantiate/Makefile.am:
8919 * tests/instantiate/caps.c: Add test to test speed of caps copy
8922 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
8923 GMemChunk to be fair.
8925 * gst/gsttrashstack.h: Remove warning about using the fallback
8926 trash stack implementation, it's still faster than malloc.
8928 2005-03-30 Andy Wingo <wingo@pobox.com>
8930 * tests/complexity.c: Add a copyright.
8932 2005-03-31 Wim Taymans <wim@fluendo.com>
8934 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8935 (gst_base_transform_class_init), (gst_base_transform_init),
8936 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8937 (gst_base_transform_get_property),
8938 (gst_base_transform_sink_activate),
8939 (gst_base_transform_src_activate),
8940 (gst_base_transform_change_state):
8941 * gst/base/gstbasetransform.h:
8942 * gst/elements/gstidentity.c: (gst_identity_class_init),
8943 (gst_identity_event), (gst_identity_check_perfect),
8944 (gst_identity_transform), (gst_identity_start),
8945 (gst_identity_stop):
8946 Added start/stop methods to transform base class so subclasses
8947 don't need to deal with state changes even.
8949 2005-03-31 Wim Taymans <wim@fluendo.com>
8951 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8952 (gst_event_new_discontinuous), (gst_event_discont_get_value):
8954 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8955 (gst_pad_pull_range):
8956 Added rate to the discont event to prepare for variable speed
8957 and reverse playback.
8959 2005-03-29 David Schleef <ds@schleef.org>
8962 * testsuite/trigger/Makefile.am:
8963 * testsuite/trigger/trigger.c: A little example program to show
8964 how trigger-based elements can work.
8966 2005-03-29 Wim Taymans <wim@fluendo.com>
8968 * gst/base/Makefile.am:
8970 * gst/base/gstbasesink.c: (gst_basesink_get_type),
8971 (gst_basesink_base_init), (gst_basesink_class_init),
8972 (gst_basesink_pad_getcaps), (gst_basesink_init),
8973 (gst_basesink_activate), (gst_basesink_change_state):
8974 * gst/base/gstbasesink.h:
8975 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8976 (gst_base_transform_base_init), (gst_base_transform_finalize),
8977 (gst_base_transform_class_init), (gst_base_transform_init),
8978 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8979 (gst_base_transform_event), (gst_base_transform_getrange),
8980 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8981 (gst_base_transform_set_property),
8982 (gst_base_transform_get_property),
8983 (gst_base_transform_sink_activate),
8984 (gst_base_transform_src_activate),
8985 (gst_base_transform_change_state):
8986 * gst/base/gstbasetransform.h:
8987 * gst/elements/gstidentity.c: (gst_identity_finalize),
8988 (gst_identity_class_init), (gst_identity_init),
8989 (gst_identity_event), (gst_identity_check_perfect),
8990 (gst_identity_transform), (gst_identity_set_property),
8991 (gst_identity_get_property), (gst_identity_change_state):
8992 * gst/elements/gstidentity.h:
8993 * gst/gstelement.c: (gst_element_get_state_func),
8994 (gst_element_lost_state), (gst_element_pads_activate):
8995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8996 (gst_pad_check_pull_range), (gst_pad_pull_range):
8998 Simplify pad activation.
8999 Added function to check if pull_range can be performed.
9000 Error out when pulling inactive or flushing pads.
9001 Removed const from refcounted types as it does not make sense.
9002 Simplify pad templates in basesink
9003 Added base class for simple 1-to-1 transforms.
9004 Make identity subclass the base transform.
9006 2005-03-29 Andy Wingo <wingo@pobox.com>
9008 * docs/libs/gstreamer-libs-overrides.txt:
9009 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9010 really don't understand what's going on, but like whatever. I want
9013 * docs/gst/Makefile.am:
9014 * docs/libs/Makefile.am: Dist the overrides files.
9016 * check/Makefile.am (clean-local): Remove .libs directories.
9018 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9019 elements to EXTRA_DIST, so po/ files are happy.
9021 * po/POTFILES.in: Er, remove it here.
9023 * po/POTFILES: Remove gstspider.c.
9025 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9027 * docs/libs/gstreamer-libs-docs.sgml:
9028 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9031 * tests/complexity.c (main): Set the length of the preroll queue
9032 on the sinks to prevent a lockup.
9034 * libs/gst/dataprotocol/Makefile.am:
9035 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9036 the same as the one in check/gst-libs/gdp.c.
9038 * po/, docs/gst/: Commit automatic changes to docs and po files.
9040 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9041 the versioned libgstbase.
9043 * check/Makefile.am: Depend on an unversioned gst-register, seems
9044 to make autoconf happier.
9046 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9048 2005-03-28 Wim Taymans <wim@fluendo.com>
9051 * docs/design/part-gstelement.txt:
9052 * docs/design/part-negotiation.txt:
9053 * docs/design/part-preroll.txt:
9054 * docs/design/part-scheduling.txt:
9055 * docs/design/part-states.txt:
9057 * gst/base/Makefile.am:
9059 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9060 (gst_basesink_base_init), (gst_basesink_class_init),
9061 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9062 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9063 (gst_basesink_set_pad_functions),
9064 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9065 (gst_basesink_set_property), (gst_basesink_get_property),
9066 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9067 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9068 (gst_basesink_preroll_queue_push),
9069 (gst_basesink_preroll_queue_empty),
9070 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9071 (gst_basesink_event), (gst_basesink_get_times),
9072 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9073 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9074 (gst_basesink_loop), (gst_basesink_activate),
9075 (gst_basesink_change_state):
9076 * gst/base/gstbasesink.h:
9077 * gst/elements/Makefile.am:
9078 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9079 (gst_fakesink_class_init), (gst_fakesink_init),
9080 (gst_fakesink_set_property), (gst_fakesink_get_property),
9081 (gst_fakesink_get_times), (gst_fakesink_event),
9082 (gst_fakesink_preroll), (gst_fakesink_render),
9083 (gst_fakesink_change_state):
9084 * gst/elements/gstfakesink.h:
9085 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9086 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9087 * gst/gstelement.c: (gst_element_add_pad),
9088 (gst_element_get_state_func), (gst_element_abort_state),
9089 (gst_element_commit_state), (gst_element_lost_state),
9090 (gst_element_set_state), (gst_element_pads_activate):
9091 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9092 * gst/gstpipeline.c: (gst_pipeline_send_event),
9093 (gst_pipeline_change_state):
9094 Added state change code.
9096 Added sink base class, make fakesink extend the base class.
9097 Small cleanups in GstPipeline.
9099 2005-03-26 David Schleef <ds@schleef.org>
9101 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9102 is broken and should be implemented in a different library.
9103 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9104 * gst/gst.h: remove gstcpu.h
9105 * gst/gstcpu.c: remove
9106 * gst/gstcpu.h: remove
9107 * gst/Makefile.am.future: Remove this file. It's ancient.
9109 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9111 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9112 (gst_bin_send_event):
9113 Add default event/set_manager handlers. The set_manager handler
9114 takes care that the manager is distributed over kids that were
9115 already in the bin before the manager was set. The event handler
9116 is a utility virtual function that sends the event over all sinks,
9117 so that gst_element_send_event (bin, event); has the expected
9119 * gst/gstpad.c: (gst_pad_event_default):
9120 Re-install default event handling for discontinuities, so that
9121 seeking works without requiring hacks in applications or extra
9123 * gst/gstpipeline.c: (gst_pipeline_class_init),
9124 (gst_pipeline_send_event):
9125 Half hack, half utility: set a pipeline to PAUSED for seek events,
9126 since that is the only way we can guarantee a/v sync. Means that
9127 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9128 and it "just works".
9130 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9132 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9133 Lock/unlock mismatch.
9135 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9137 * docs/faq/gst-uninstalled:
9138 add gst-plugins-base
9139 * docs/gst/Makefile.am:
9140 don't error out until docs are fixed
9141 * docs/gst/gstreamer.types:
9144 2005-03-22 Wim Taymans <wim@fluendo.com>
9146 * check/Makefile.am:
9147 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9148 * gst/gststructure.c: (gst_structure_set_valist),
9149 (gst_structure_copy_conditional):
9150 Activated more tests.
9152 Added G_TYPE_POINTER to GstStructure.
9155 2005-03-22 Wim Taymans <wim@fluendo.com>
9157 * docs/design/part-TODO.txt:
9158 * docs/design/part-events.txt:
9159 * docs/design/part-gstbin.txt:
9160 * docs/design/part-gstbus.txt:
9161 * docs/design/part-gstpipeline.txt:
9162 * docs/design/part-messages.txt:
9167 2005-03-21 Wim Taymans <wim@fluendo.com>
9169 * gst/gstbus.c: (gst_bus_post):
9170 Fix copy-and-paste error.
9172 2005-03-21 Wim Taymans <wim@fluendo.com>
9174 * check/Makefile.am:
9176 * gst/elements/Makefile.am:
9177 * gst/elements/gstelements.c:
9178 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9179 (gst_fakesink_event), (gst_fakesink_chain):
9180 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9181 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9182 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9183 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9184 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9185 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9186 (gst_fakesrc_loop), (gst_fakesrc_activate),
9187 (gst_fakesrc_change_state):
9188 * gst/elements/gstfakesrc.h:
9189 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9190 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9191 (gst_filesrc_open_file), (gst_filesrc_loop),
9192 (gst_filesrc_activate), (gst_filesrc_change_state),
9193 (filesrc_find_peek), (filesrc_find_suggest),
9194 (gst_filesrc_type_find):
9195 * gst/elements/gstidentity.c: (gst_identity_finalize),
9196 (gst_identity_class_init), (gst_identity_init),
9197 (gst_identity_proxy_getcaps), (identity_queue_push),
9198 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9199 (gst_identity_getrange), (gst_identity_chain),
9200 (gst_identity_sink_loop), (gst_identity_src_loop),
9201 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9202 (gst_identity_set_property), (gst_identity_get_property),
9203 (gst_identity_change_state):
9204 * gst/elements/gstidentity.h:
9205 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9206 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9207 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9208 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9209 (gst_tee_sink_activate):
9210 * gst/elements/gsttee.h:
9211 * gst/gst.c: (gst_register_core_elements), (init_post):
9213 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9214 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9215 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9216 (gst_bin_change_state):
9218 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9219 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9220 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9221 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9222 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9223 (bus_watch_callback), (bus_watch_destroy),
9224 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9225 (poll_timeout), (gst_bus_poll):
9229 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9230 (gst_element_post_message), (gst_element_message_full),
9231 (gst_element_get_state_func), (gst_element_get_state),
9232 (gst_element_abort_state), (gst_element_commit_state),
9233 (gst_element_lost_state), (gst_element_set_state),
9234 (gst_element_pads_activate), (gst_element_change_state),
9235 (gst_element_dispose), (gst_element_set_manager_func),
9236 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9237 (gst_element_set_manager), (gst_element_get_manager),
9238 (gst_element_set_bus), (gst_element_get_bus),
9239 (gst_element_set_scheduler), (gst_element_get_scheduler):
9241 * gst/gstevent.c: (gst_event_new_segment_seek),
9242 (gst_event_new_flush):
9244 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9245 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9246 (gst_message_new_eos), (gst_message_new_error),
9247 (gst_message_new_warning), (gst_message_new_tag),
9248 (gst_message_new_state_changed), (gst_message_new_application),
9249 (gst_message_get_structure), (gst_message_parse_tag),
9250 (gst_message_parse_state_changed), (gst_message_parse_error),
9251 (gst_message_parse_warning):
9253 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9254 (gst_real_pad_set_property), (gst_pad_set_active),
9255 (gst_pad_is_active), (gst_pad_set_blocked_async),
9256 (gst_pad_set_blocked), (gst_pad_is_blocked),
9257 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9258 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9259 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9260 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9261 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9262 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9263 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9264 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9265 (gst_pad_set_caps), (gst_pad_configure_sink),
9266 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9267 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9268 (gst_real_pad_dispose), (gst_real_pad_finalize),
9269 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9270 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9271 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9273 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9274 (pipeline_bus_handler), (gst_pipeline_change_state),
9275 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9276 * gst/gstpipeline.h:
9278 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9279 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9280 (gst_queue_link_src), (gst_queue_bufferalloc),
9281 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9282 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9283 (gst_queue_loop), (gst_queue_handle_src_event),
9284 (gst_queue_handle_src_query), (gst_queue_src_activate),
9285 (gst_queue_change_state):
9287 * gst/gstscheduler.c: (gst_scheduler_init),
9288 (gst_scheduler_dispose), (gst_scheduler_create_task),
9289 (gst_scheduler_factory_create):
9290 * gst/gstscheduler.h:
9291 * gst/gststructure.c: (gst_structure_get_type),
9292 (gst_structure_copy_conditional):
9293 * gst/gststructure.h:
9294 * gst/gsttaginterface.h:
9295 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9296 (gst_task_init), (gst_task_dispose), (gst_task_create),
9297 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9303 * gst/schedulers/Makefile.am:
9304 * gst/schedulers/cothreads_compat.h:
9305 * gst/schedulers/entryscheduler.c:
9306 * gst/schedulers/faircothreads.c:
9307 * gst/schedulers/faircothreads.h:
9308 * gst/schedulers/fairscheduler.c:
9309 * gst/schedulers/gstbasicscheduler.c:
9310 * gst/schedulers/gstoptimalscheduler.c:
9311 * gst/schedulers/gthread-cothreads.h:
9312 * gst/schedulers/threadscheduler.c:
9313 (gst_thread_scheduler_task_get_type),
9314 (gst_thread_scheduler_task_class_init),
9315 (gst_thread_scheduler_task_init),
9316 (gst_thread_scheduler_task_start),
9317 (gst_thread_scheduler_task_stop),
9318 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9319 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9320 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9321 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9323 * libs/gst/Makefile.am:
9324 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9325 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9326 (gst_file_pad_parent_set):
9327 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9328 (gst_dp_event_from_packet):
9329 * tests/complexity.c: (main):
9330 * tests/mass_elements.c: (main):
9331 * testsuite/states/locked.c: (message_received), (main):
9332 * testsuite/states/parent.c: (main):
9333 * tools/gst-inspect.c: (print_element_flag_info),
9334 (print_implementation_info), (print_pad_info):
9335 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9337 * tools/gst-md5sum.c: (event_loop), (main):
9338 * tools/gst-typefind.c: (main):
9339 * tools/gst-xmlinspect.c: (print_element_info):
9341 Added GstBus for mainloop integration.
9342 Added GstMessage for sending notifications on the bus.
9343 Added GstTask as an abstraction for pipeline entry points.
9346 Simplified GstQueue for multithreaded core.
9347 Made _link threadsafe, removed old capsnego.
9348 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9349 Added pad blocking functions.
9350 Reworked scheduling functions in GstPad to prepare for
9351 scheduling updates soon.
9352 Moved events out of data stream.
9353 Simplified GstEvent types.
9354 Added return values to push/pull.
9355 Removed clocking from GstElement.
9356 Added prototypes for state change function for next merge.
9357 Removed iterate from bins and state change management.
9358 Fixed some elements, disabled others for now.
9359 Fixed -inspect and -launch.
9360 Added check for GstBus.
9362 2005-03-10 Wim Taymans <wim@fluendo.com>
9364 * docs/design/part-MT-refcounting.txt:
9365 * docs/design/part-clocks.txt:
9366 * docs/design/part-gstelement.txt:
9367 * docs/design/part-gstobject.txt:
9368 * docs/design/part-standards.txt:
9369 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9370 (gst_bin_remove_func), (gst_bin_remove):
9374 * testsuite/clock/clock1.c: (main):
9375 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9377 * testsuite/dlopen/loadgst.c: (do_test):
9378 * testsuite/refcounting/bin.c: (add_remove_test1),
9379 (add_remove_test2), (main):
9380 * testsuite/refcounting/element.c: (main):
9381 * testsuite/refcounting/element_pad.c: (main):
9382 * testsuite/refcounting/pad.c: (main):
9383 * tools/gst-launch.c: (sigint_handler_sighandler):
9384 * tools/gst-typefind.c: (main):
9386 Added doc about clock.
9387 removed gst_bin_iterate_recurse_up(), marked methods
9389 Fix more testsuites.
9391 2005-03-09 Wim Taymans <wim@fluendo.com>
9393 * gst/gstpad.c: (gst_pad_get_direction),
9394 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9395 (gst_pad_collect_valist):
9396 * testsuite/bins/interface.c: (main):
9397 * testsuite/caps/audioscale.c: (test_caps):
9398 * testsuite/caps/caps.c: (test1), (test2), (test3):
9399 * testsuite/caps/deserialize.c: (main):
9400 * testsuite/caps/enumcaps.c: (main):
9401 * testsuite/caps/filtercaps.c: (main):
9402 * testsuite/caps/intersect2.c: (main):
9403 * testsuite/caps/random.c: (main):
9404 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9405 * testsuite/caps/sets.c: (check_caps):
9406 * testsuite/caps/simplify.c: (check_caps), (main):
9407 * testsuite/caps/subtract.c: (check_caps):
9408 Fix _pad_get_direction wrt ghostpads.
9411 2005-03-09 Wim Taymans <wim@fluendo.com>
9413 * check/Makefile.am:
9414 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9415 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9416 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9417 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9418 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9419 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9420 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9421 (bin_element_is_sink), (gst_bin_iterate_sinks),
9422 (gst_bin_iterate_all_by_interface):
9424 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9425 (gst_element_change_state), (gst_element_dispose),
9426 (gst_element_finalize), (gst_element_set_loop_function):
9428 * gst/gstiterator.c: (find_custom_fold_func):
9429 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9430 (gst_pad_collectv), (gst_pad_collect_valist),
9431 (gst_pad_template_new):
9432 * gst/gstpipeline.c: (gst_pipeline_class_init),
9433 (gst_pipeline_dispose), (gst_pipeline_set_property),
9434 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9435 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9436 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9438 * gst/schedulers/entryscheduler.c:
9439 * gst/schedulers/gstbasicscheduler.c:
9440 (gst_basic_scheduler_cothreaded_chain),
9441 (gst_basic_scheduler_chain_add_element):
9442 * testsuite/bins/interface.c: (main):
9444 Added GstSystemClock test.
9445 Implemented clock distribution code in GstBin.
9446 Implemented iterate sinks method for future use.
9447 Rearranged gstelement.h
9448 Fix GstIterator comparison bug.
9449 Moved some code to GstPipeline, mostly clocking related.
9451 2005-03-09 Wim Taymans <wim@fluendo.com>
9454 * gst/gst_private.h:
9455 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9456 (gst_bin_remove_func), (gst_bin_remove),
9457 (gst_bin_get_by_name_recurse_up):
9458 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9459 (gst_clock_id_compare_func), (gst_clock_id_wait),
9460 (gst_clock_id_wait_async), (gst_clock_init),
9461 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9463 * gst/gstinfo.c: (_gst_debug_init):
9465 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9466 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9468 Bump version number, we're now 0.9.0
9469 Add future debugging category.
9470 Fix NULL _unref() in _get_by_name_recurse_up
9474 2005-03-08 Wim Taymans <wim@fluendo.com>
9476 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9477 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9478 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9479 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9480 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9481 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9482 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9483 * gst/elements/gstidentity.c: (gst_identity_class_init):
9484 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9485 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9486 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9487 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9488 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9490 * gst/gstelement.c: (gst_element_class_init),
9491 (gst_element_base_class_init), (gst_element_init),
9492 (gst_element_get_random_pad), (gst_element_wait_state_change),
9493 (gst_element_change_state), (gst_element_dispose),
9494 (gst_element_finalize), (gst_element_set_loop_function):
9496 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9497 * gst/gstthread.c: (gst_thread_class_init),
9498 (gst_thread_release_children_locks), (gst_thread_change_state):
9499 * gst/schedulers/gstbasicscheduler.c:
9500 (gst_basic_scheduler_loopfunc_wrapper),
9501 (gst_basic_scheduler_chain_wrapper),
9502 (gst_basic_scheduler_src_wrapper),
9503 (gst_basic_scheduler_remove_element):
9504 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9505 Remove threadsafe properties. Fix elements because GObject
9506 complains when installing a property before declaring a
9507 set/get_property handler.
9508 Rearrange gstelement.h file, use STATE macros for state locks.
9509 Free mutexes in the finalize method instead of dispose.
9511 2005-03-08 Wim Taymans <wim@fluendo.com>
9513 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9514 * gst/gstthread.c: (gst_thread_release_children_locks):
9515 Added parentage check.
9516 Fix build og GstThread again.
9518 2005-03-08 Wim Taymans <wim@fluendo.com>
9520 * docs/design/part-MT-refcounting.txt:
9521 * docs/design/part-conventions.txt:
9522 * docs/design/part-gstobject.txt:
9523 * docs/design/part-relations.txt:
9524 * docs/design/part-standards.txt:
9525 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9526 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
9527 (gst_bin_get_by_name), (gst_bin_get_by_interface),
9528 (gst_bin_iterate_all_by_interface):
9531 * gst/gstelement.c: (gst_element_class_init),
9532 (gst_element_change_state), (gst_element_set_loop_function):
9534 * gst/gstiterator.c:
9535 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
9536 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
9537 (gst_object_dispatch_properties_changed), (gst_object_set_name),
9538 (gst_object_set_parent), (gst_object_unparent),
9539 (gst_object_check_uniqueness):
9541 Docs updates, clean up some headers.
9543 2005-03-07 Wim Taymans <wim@fluendo.com>
9546 * check/Makefile.am:
9547 * check/gst-libs/.cvsignore:
9548 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
9549 * check/gst/.cvsignore:
9550 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
9551 (START_TEST), (gstbus_suite), (main):
9552 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
9553 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
9554 (gst_data_suite), (main):
9555 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
9556 (add_fold_func), (gstiterator_suite), (main):
9557 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
9558 (thread_name_object), (thread_name_object_default),
9559 (gst_object_name_compare), (gst_object_suite), (main):
9560 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
9561 (gst_pad_suite), (main):
9562 * check/gstcheck.c: (gst_check_log_message_func),
9563 (gst_check_log_critical_func), (gst_check_init):
9565 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
9566 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
9569 2005-03-07 Wim Taymans <wim@fluendo.com>
9571 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9572 (gst_list_iterator_next), (gst_list_iterator_resync),
9573 (gst_list_iterator_free), (gst_iterator_new_list),
9574 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
9575 (gst_iterator_free), (gst_iterator_push), (filter_next),
9576 (filter_resync), (filter_uninit), (filter_free),
9577 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
9578 (gst_iterator_foreach), (find_custom_fold_func),
9579 (gst_iterator_find_custom):
9580 * gst/gstiterator.h:
9581 Added missing files.
9583 2005-03-07 Wim Taymans <wim@fluendo.com>
9587 * docs/design/part-MT-refcounting.txt:
9588 * docs/design/part-conventions.txt:
9589 * docs/design/part-gstobject.txt:
9590 * docs/design/part-relations.txt:
9591 * examples/mixer/mixer.c: (main):
9592 * examples/thread/thread.c: (eos), (main):
9594 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
9595 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
9596 (gst_spider_plug_from_srcpad):
9597 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
9598 (gst_spider_identity_change_state),
9599 (gst_spider_identity_sink_loop_type_finding):
9600 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
9601 * gst/elements/gstidentity.c: (gst_identity_init):
9602 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9603 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9604 * gst/elements/gsttypefindelement.c: (free_entry):
9607 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9608 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9609 (gst_bin_set_index), (gst_bin_set_element_sched),
9610 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9611 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9612 (gst_bin_iterate_elements), (iterate_child_recurse),
9613 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9614 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9615 (compare_interface), (gst_bin_get_by_interface),
9616 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9618 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9619 (gst_buffer_default_free), (gst_buffer_default_copy),
9620 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9621 (gst_buffer_create_sub):
9623 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9624 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9625 (gst_caps_unref), (gst_static_caps_get),
9626 (gst_caps_remove_and_get_structure), (gst_caps_append),
9627 (gst_caps_append_structure), (gst_caps_remove_structure),
9628 (gst_caps_copy_nth), (gst_caps_set_simple),
9629 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9630 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9631 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9632 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9633 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9634 (gst_caps_structure_figure_out_union),
9635 (gst_caps_switch_structures), (gst_caps_do_simplify),
9636 (gst_caps_replace), (gst_caps_from_string),
9637 (gst_caps_copy_conditional):
9639 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9640 (_gst_clock_id_free), (gst_clock_id_unref),
9641 (gst_clock_id_compare_func), (gst_clock_id_wait),
9642 (gst_clock_id_wait_async), (gst_clock_class_init),
9643 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9644 (gst_clock_get_time), (gst_clock_set_time_adjust),
9645 (gst_clock_set_property), (gst_clock_get_property):
9648 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9649 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9651 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9652 (gst_element_requires_clock), (gst_element_provides_clock),
9653 (gst_element_set_clock), (gst_element_clock_wait),
9654 (gst_element_wait), (gst_element_set_time_delay),
9655 (gst_element_is_indexable), (gst_element_add_pad),
9656 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9657 (pad_compare_name), (gst_element_get_static_pad),
9658 (gst_element_request_pad), (gst_element_get_request_pad),
9659 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9660 (gst_element_class_get_pad_template_list),
9661 (gst_element_class_get_pad_template), (gst_element_error_func),
9662 (gst_element_get_random_pad), (gst_element_get_event_masks),
9663 (gst_element_send_event), (gst_element_seek),
9664 (gst_element_get_query_types), (gst_element_query),
9665 (gst_element_get_formats), (gst_element_convert),
9666 (gst_element_is_locked_state), (gst_element_set_locked_state),
9667 (gst_element_sync_state_with_parent), (gst_element_change_state),
9668 (gst_element_finalize), (gst_element_yield),
9669 (gst_element_interrupt), (gst_element_set_scheduler),
9670 (gst_element_get_scheduler), (gst_element_set_loop_function):
9673 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9674 (gst_format_get_by_nick), (gst_format_get_details),
9675 (gst_format_iterate_definitions):
9677 * gst/gstindex.c: (gst_index_gtype_resolver):
9680 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9681 (gst_mem_chunk_free):
9682 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9683 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9684 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9685 (gst_object_dispatch_properties_changed),
9686 (gst_object_set_name_default), (gst_object_set_name),
9687 (gst_object_get_name), (gst_object_set_name_prefix),
9688 (gst_object_get_name_prefix), (gst_object_set_parent),
9689 (gst_object_get_parent), (gst_object_unparent),
9690 (gst_object_check_uniqueness), (gst_object_save_thyself),
9691 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9692 (gst_object_set_property), (gst_object_get_property),
9693 (gst_object_get_path_string):
9695 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9696 (gst_real_pad_init), (gst_real_pad_get_property),
9697 (gst_pad_custom_new), (gst_pad_get_direction),
9698 (gst_pad_set_active), (gst_pad_is_active),
9699 (gst_pad_set_event_function), (gst_pad_is_linked),
9700 (gst_pad_link_free), (gst_pad_link_intersect),
9701 (gst_pad_link_fixate), (gst_pad_set_caps),
9702 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9703 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9704 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9705 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9706 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9707 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9708 (gst_pad_realize), (gst_pad_get_allowed_caps),
9709 (gst_real_pad_dispose), (gst_real_pad_finalize),
9710 (gst_pad_collectv), (gst_pad_collect_valist),
9711 (gst_pad_template_dispose), (gst_pad_template_new),
9712 (gst_pad_get_internal_links):
9714 * gst/gstpipeline.c: (gst_pipeline_dispose),
9715 (gst_pipeline_change_state):
9716 * gst/gstpipeline.h:
9718 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
9719 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
9720 * gst/gstpluginfeature.h:
9721 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
9722 * gst/gstquery.c: (_gst_query_type_initialize),
9723 (gst_query_type_register), (gst_query_type_get_by_nick),
9724 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
9726 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
9727 * gst/gstscheduler.c: (gst_scheduler_add_element),
9728 (gst_scheduler_factory_create):
9729 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9730 (gst_structure_free), (gst_structure_set_name),
9731 (gst_structure_id_set_value), (gst_structure_set_value),
9732 (gst_structure_set_valist), (gst_structure_remove_field),
9733 (gst_structure_remove_fields),
9734 (gst_structure_remove_fields_valist),
9735 (gst_structure_remove_all_fields), (gst_structure_foreach),
9736 (gst_structure_map_in_place),
9737 (gst_caps_structure_fixate_field_nearest_int),
9738 (gst_caps_structure_fixate_field_nearest_double):
9739 * gst/gststructure.h:
9740 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9741 (gst_system_clock_init), (gst_system_clock_dispose),
9742 (gst_system_clock_async_thread),
9743 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
9744 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9745 * gst/gstsystemclock.h:
9746 * gst/gsttag.c: (gst_tag_list_add_value_internal),
9747 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
9748 * gst/gsttaginterface.c:
9749 * gst/gstthread.c: (gst_thread_dispose),
9750 (gst_thread_release_children_locks), (gst_thread_change_state),
9751 (gst_thread_main_loop):
9752 * gst/gsttrashstack.h:
9753 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
9755 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9756 (gst_element_request_pad), (gst_element_get_pad_from_template),
9757 (gst_element_request_compatible_pad),
9758 (gst_element_get_compatible_pad_filtered),
9759 (gst_element_get_compatible_pad), (gst_element_state_get_name),
9760 (gst_element_link_pads_filtered), (gst_element_link_filtered),
9761 (gst_element_link_many), (gst_element_link),
9762 (gst_element_link_pads), (gst_element_unlink_pads),
9763 (gst_element_unlink_many), (gst_element_unlink),
9764 (gst_pad_can_link_filtered), (gst_pad_can_link),
9765 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
9766 (gst_object_default_error), (gst_bin_add_many),
9767 (gst_bin_remove_many), (gst_element_populate_std_props),
9768 (gst_element_class_install_std_props), (gst_buffer_merge),
9769 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
9770 (link_fold_func), (gst_pad_proxy_setcaps):
9772 * gst/gstvalue.c: (gst_value_deserialize_string):
9773 * gst/parse/grammar.y:
9774 * gst/schedulers/gstbasicscheduler.c:
9775 (gst_basic_scheduler_cothreaded_chain),
9776 (gst_basic_scheduler_chain_recursive_add),
9777 (gst_basic_scheduler_pad_link):
9778 * gst/schedulers/gstoptimalscheduler.c:
9779 (get_group_schedule_function),
9780 (gst_opt_scheduler_state_transition),
9781 (gst_opt_scheduler_add_element), (element_get_reachables_func):
9782 * libs/gst/bytestream/bytestream.c:
9783 * libs/gst/dataprotocol/dataprotocol.c:
9784 (gst_dp_header_from_buffer):
9787 * tests/threadstate/threadstate2.c: (eos):
9788 * tools/gst-compprep.c: (main):
9789 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9790 (print_pad_info), (print_children_info):
9791 * tools/gst-launch.c: (idle_func), (main):
9792 * tools/gst-md5sum.c: (idle_func), (main):
9793 * tools/gst-xmlinspect.c: (print_element_info):
9794 First THREADED backport attempt, focusing on adding locks and
9795 making sure the API is threadsafe. Needs more work. More docs
9798 2005-02-24 Andy Wingo <wingo@pobox.com>
9800 * tests/bench-complexity.scm:
9801 * tests/complexity.gnuplot: New files, good for running complexity
9804 * tests/Makefile.am:
9805 * tests/complexity.c: New test, sets up N elements, at each level
9806 teeing into M streams per element. Eeeenteresting.
9808 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9809 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9810 running bench-mass_elements.scm.
9812 * tests/bench-mass_elements.scm: New script, runs mass_elements
9813 for various numbers of identities, outputting the results to a
9814 file. Requires guile 1.6. Just for testing.
9816 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9818 * gst/schedulers/fairscheduler.c:
9819 compile with debug disabled
9821 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9824 hunting season on 0.9 is now OPEN